/*--------------------------------------------------------
# Author: Nenad Jelovac
# Author URI: http://css-guy.com
--------------------------------------------------------*/


/*------------------------------------------------------*/
/* =HTML ELEMENTS										*/
/*------------------------------------------------------*/
html {
	background: #184399;
}

body {
	background: #fff url(images/bg-gradient.png) top center;
	border-top: 5px solid #8ba1cc;
	color: #6a6a6a;
	font-family: arial, "helvetica neue", helvetica, sans-serif;
	font-size: 12px;
	line-height: 22px;

}

/* SAFARI FIX (if the fix is needed. You can apply it for any element, or for all - on 'body')
body { -webkit-text-stroke:1px transparent; }
@media only screen and (max-device-width:480px) { body {-webkit-text-stroke:0 black;}}
*/

h2 {
	color: #13357a;
	font-family: 'ProximaNovaLight', sans-serif;
	font-size: 22px;
	line-height: 26px;
	margin-bottom: 10px;
	text-transform: capitalize;
}

img + h2 {
	padding-top: 10px;
}

h3 {
	color: #184499;
	font-family: 'ProximaNovaLight', sans-serif;
	font-size: 17px;
	line-height: 24px;
	margin-bottom: 0px;
	text-transform: uppercase;
}

h2 + h3 {
	padding-top: 10px;
}

p + h3 {
	padding-top: 5px;
}

a {
	color: #48add7;
	outline: none; /* removing outline in Mozilla */
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* SETTING FORM ELEMENTS */
button,
textarea,
input[type="text"],
input[type="submit"] {
	font-family: arial, "helvetica neue", helvetica, sans-serif;
	font-size: 12px;
}


button:hover,
input.submit:hover, /* class .submit (if developing for IE6) */
input[type="submit"]:hover {
	cursor: pointer;
}

textarea {
	margin-bottom: 0;
	overflow: auto;
}

/* removing odd button padding/margin in Mozilla */
button::-moz-focus-inner, 
input[type="submit"]::-moz-focus-inner { 
    border: 0;
    padding: 0;
}

/*------------------------------------------------------*/
/* =CUSTOM FONTS										*/
/*------------------------------------------------------*/

@font-face {
	font-family: 'ProximaNovaLight';
	src: url('fonts/proximanova-light-webfont.eot');
	src: local(' '), url('fonts/proximanova-light-webfont.woff') format('woff'), url('fonts/proximanova-light-webfont.ttf') format('truetype'), url('fonts/proximanova-light-webfont.svg#webfontlv9d5m5L') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'HelveticaCEBold';
	src: url('fonts/helvetica_ce_bold-webfont.eot');
	src: local(' '), url('fonts/helvetica_ce_bold-webfont.woff') format('woff'), url('fonts/helvetica_ce_bold-webfont.ttf') format('truetype'), url('fonts/helvetica_ce_bold-webfont.svg#webfontuRCFzCao') format('svg');
	font-weight: normal;
	font-style: normal;
}

/*

SETTING UP FONT

	font-family: 'ProximaNovaLight', sans-serif;
	font-family: 'HelveticaCEBold', sans-serif;

*/

/*------------------------------------------------------*/
/* =FLOAT CLASSES										*/
/*------------------------------------------------------*/

/* clears the float  */
.floatClear {
	overflow: hidden;
}

/* usually for <br /> tag to clear the float (in cases where class .floatClear is not applicable) */
.clear {
	clear: both;
	line-height: 0;
}

/* classes for images */
img.left {
	float: left;
	margin: 8px 10px 10px 0;
}

/*------------------------------------------------------*/
/* =LAYOUT												*/
/*------------------------------------------------------*/

/*----------------------------------*/
/* =WRAPPER							*/
#wrapper {
	margin: 0 auto;
	min-height: 340px;
	padding-top: 115px;
	width: 936px;
	position: relative;
}

#wrapper > * {
	position: relative;
	z-index: 100;
}

#wrapperBg {
	background: url(images/wrapper-bg.png) no-repeat;
	height: 449px;
	width: 1027px;
	position: absolute;
	top: 0;
	right: -157px;
	z-index: 0;
}

/*----------------------------------*/
/* =LOGO							*/
#wrapper #logo {
	position: absolute;
	top: 6px;
	left: 0;
}

#wrapper .contactInfo {
	color: #5473b0;
	font-family: 'ProximaNovaLight', sans-serif;
	font-size: 21px;
	line-height: 28px;
	text-align: right;
	position: absolute;
	right: 0;
	top: 17px;
}

/*----------------------------------*/
/* =MENU							*/
#menu {
	background: #184399;
	border-top: 3px solid #8ba1cc;
	height: 47px;
	line-height: 47px;
	position: relative;
	z-index: 200; /* modified */
}

#menu li {
	float: left;
	margin-right: 10px; /* new */
	position: relative;
}

#menu a {
	color: #fff;
	display: block;
	font-family: 'HelveticaCEBold', sans-serif;
	font-size: 11px;
	padding: 0 14px;
	text-transform: uppercase;
}

#menu a:hover {
	background: #8ba1cc;
	text-decoration: none;
}

#menu ul{
	list-style: none;	/* new */
	position: absolute;	/* new */
	left: -9999px;	/* new */
}

#menu ul li{
	padding-top: 1px;	/* new */
	float: none;	/* new */
	margin-right: 0px;	/* new */
}

#menu ul a{
	white-space: nowrap;	/* new */
}

#menu > li.active > a {
	background: #8ba1cc;
}

#menu li:hover ul{
	left:0;	/* new */
	background: #184399;	/* new */
}

#menu li span {
	background: #184399;
	display: none;
	width: 100%;
	position: absolute;
}

#menu li:hover span {
	display: block;
}

/*----------------------------------*/
/* =CONTENT							*/
#content {
	background: url(images/content.jpg) repeat-y 100% 0;
	padding: 10px 0;
	position: relative;	/* doesn't help */
}

/* SLIDESHOW */
#slideshowHolder {
	border-bottom: 3px solid #8ba1cc;
	margin-bottom: 10px;
	min-height: 200px;
	padding-bottom: 5px;
	width: 936px;
	position: relative;
}

#slideshowHolder img {
	vertical-align: top;
}

/* slideshow navigation */
#slideshowHolder #slideshowNav {	
	background: url(images/slideshow-nav.png);
	height: 17px;
	padding: 10px 0px;
	position: absolute;
	bottom: 19px;
	right: 8px;
	z-index: 150;
}

#slideshowHolder #slideshowNav a { 
	background: url(images/slideshow-nav-link.png) no-repeat 100% 0;
	display: inline-block;
	height: 26px;	
	margin: 0 2px;
	width:  26px;
}

#slideshowHolder #slideshowNav a.activeSlide { 
	background: url(images/slideshow-nav-link.png) no-repeat;
}

/* MAIN */
.main {
	float: left;
	width: 620px;
}

.main p {
	margin-bottom: 15px;
}

.main p.note {
	background: #fff;
	color: #184499;
	font-family: 'ProximaNovaLight', sans-serif;
	font-size: 21px;
	line-height: 28px;
	padding: 10px 15px;
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.main p strong {
	color: #5a5a5a;
	font-weight: bold;
}

.main p sup {
	color: #184499;
	font-size: 10px;
	position: relative;
	top: -4px;
}

.main img {
	background: #fff;
	padding: 4px;
	-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.main img.moto {
	background: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* images holder */
.main .imageHolder > li {
	margin-bottom: 10px;
	min-height: 170px;
	padding: 5px 0 0 175px;
}

.main .imageHolder img {
	float: left;
	margin: 0 -175px;
}

.main .imageHolder p {
	padding-top: 15px;
}

.main .imageHolder li ul {
	padding-top: 5px;
}

.main .imageHolder li li {
	background: url(images/list-square.jpg) no-repeat 0 50%;
	margin-left: 10px;
	padding-left: 15px;
}

/* main ordered list */
.main ol {
	font-size: 10px;
	line-height: 18px;
	padding: 0 0 10px 20px;
}

.main ol li {
	list-style-type: decimal;
	margin-bottom: 3px;
}

/* contact form */
.main .address {
	float: left;
	margin: 20px 0 0 25px;
}

.main form {
	float: left;
	margin: 20px 0;
	width: 370px;
}

.main form li {
	margin-bottom: 15px;
	overflow: hidden;
	width: 370px;
}

.main input[type="text"],
.main input[type="password"],
.main textarea {
	background: #fff;
	border: 2px solid #88d9ea;
	color: #9f9f9f;
	padding: 6px 7px;
	width: 241px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

.main input[type="text"]:focus,
.main input[type="password"]:focus,
.main textarea:focus {
	border-color: #8ba1cc;
}

.main textarea {
	height: 80px;
	width: 346px;
}

.main input[type="text"].err {
	border-color: #de7a7a;
}

.main button {
	background: #8ba1cc;
	border: none;
	color: #fff;
	float: right;
	font-family: 'HelveticaCEBold', sans-serif;
	font-size: 12px;
	height: 33px;
	line-height: 33px;
	margin-right: 4px;
	text-align: center;
	text-transform: uppercase;
	width: 94px;
}

.main button:hover {
	background: #184399;
}

.main p#thankyouMail {
	color: #184499;
	font-family: 'ProximaNovaLight', sans-serif;
	font-size: 17px;
	line-height: 28px;
	padding: 5px 0;
}


/* ASIDE */
.aside {
	float: right;
	padding: 10px 20px;
	width: 260px;
}

.aside p {
	margin-bottom: 5px;
}

.aside p + p {
	margin-bottom: 20px;
}

.aside p span {
	display: block;
	font-style: italic;
	font-weight: bold;
	text-align: right;
}

.aside p a {
	text-decoration: underline;
}

.aside p a:hover {
	text-decoration: none;
}

/* book appointment form */
.aside form {
	background: #184399;
	margin-bottom: 20px;
	padding: 10px 20px;
}

.aside form h2 {
	color: #fff;
}

.aside form fieldset > ul > li {
	margin-bottom: 10px;
}

.aside input[type="text"],
.aside textarea {
	background-image: -moz-linear-gradient(top, #fefefe, #e1e1e1); /* FF3.6 */
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #fefefe),color-stop(1, #e1e1e1)); /* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#e1e1e1'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#e1e1e1')"; /* IE8 */
	border: none;
	color: #9f9f9f;
	padding: 6px 7px;
	width: 201px;
}

.aside textarea {
	height: 80px;
}

.aside input[type="text"].err {
	outline: 2px solid #de7a7a;
}

.aside button {
	background-image: -moz-linear-gradient(top, #fefefe, #e1e1e1); /* FF3.6 */
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #fefefe),color-stop(1, #e1e1e1)); /* Saf4+, Chrome */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#e1e1e1'); /* IE6,IE7 */
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fefefe', EndColorStr='#e1e1e1')"; /* IE8 */	
	border: none;
	color: #606060;
	float: right;
	font-family: 'ProximaNovaLight', sans-serif;
	font-size: 16px;
	height: 33px;
	line-height: 33px;
	margin-right: 4px;
	text-align: center;
	text-transform: uppercase;
	width: 94px;
}

.aside button:hover {
	color: #333;
}

/* thank you message */
.aside #thankyou {
	background: #6e6e6e;
	color: #fff;
	margin-bottom: 20px;
	padding: 10px 20px;
}


/* video section */
.aside .video {
	margin-bottom: 10px;
}

/* THANK YOU PAGE */
#thankYou {
	padding: 25px 0;
	text-align: center;
}

#thankYou p {
	color: #184499;
	font-family: 'ProximaNovaLight', sans-serif;
	font-size: 17px;
	line-height: 24px;
	margin-bottom: 10px;
	text-transform: uppercase;	
}

/* LOGIN */
#content.login {
	background: none;
	margin: 20px auto;
	width: 500px;
}

#content.login h2 {
	margin-bottom: 20px;
}

/* APPOINTMENTS */
#content.appointments {
	background: none;
	margin: 20px auto;
	width: 100%;
}

#content.appointments h2 {
	margin-bottom: 30px;
}

.appointments p.logOut {
	font-weight: bold;
	margin-bottom: 20px;
	text-align: right;
}

.appointments p.logOut a {
	background: #8ba1cc;
	border: none;
	color: #fff;
	display: inline-block;
	font-family: 'HelveticaCEBold', sans-serif;
	font-size: 12px;
	height: 33px;
	line-height: 33px;
	margin-right: 4px;
	text-align: center;
	text-transform: uppercase;
	width: 94px;
}

.appointments p.logOut a:hover {
	background: #184399;
	text-decoration: none;
}

.appointments table {
	border-bottom:1px solid #ddd;
	width: 100%;
}

.appointments td,
.appointments th {
	padding: 7px 10px;
	text-align: center;
}

.appointments th {
	padding: 10px;
}

.appointments th {
	background: #8ba1cc;
	border-left:1px solid #8ba1cc;
	color: #fff;
	font-size: 14px;
}

.appointments td {
	background: #fff;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.appointments tr:nth-child(2n+1) td {
	background: #edfbff;
}

.appointments tr:hover td {
	color: #333;
	cursor: text;
}

/* SITEMAP */
.sitemap li {
	font-size: 14px;
	margin-bottom: 3px;
	text-transform: capitalize;
}

/*----------------------------------*/
/* =FOOTER							*/
#footer {
	background: #184399;
	border-top: 5px solid #8ba1cc;
	color: #fff;
	font-family: 'ProximaNovaLight', sans-serif;
	font-size: 13px;
	padding: 20px 0;
	text-align: center;
}

#footer a {
	color: #fff;
}

#footer ul {
	padding-bottom: 10px;
}

#footer li {
	border-left: 1px solid #fff;
	display: inline;
	padding: 0 5px;
	text-transform: capitalize;
}

#footer li {
	border-left: 1px solid #fff;
	display: inline;
	padding: 0 5px;
	text-transform: capitalize;
}

#footer li:first-child {
	border: none;
}

#footer p {
	padding-bottom: 10px;
}

#footer p span {
	font-size: 16px;
	padding: 0 6px;
	vertical-align: middle;
}
