/*  
Theme Name: AANMA
Theme URI: http://www.sixhalfdozen.com/
Version: 1.0.0
Author: 6HD
Author URI: http://www.sixhalfdozen.com/
*/

/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset, figure {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/* set img max-width */
img {
	max-width: 100%;
	height: auto;
}
/* ie 8 img max-width */
@media \0screen {
  img { width: auto;}
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	font: 15px/150% "museo",serif;
	color: #666;
	background: #FFF;
}
a {
	color: #EEA904;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
	color: #49748A;
}
p {
	margin: 20px 0;
	padding: 0;
}
#footer-buttons p, #footer-buttons-second-level p{
	margin: 5px 0;
	font-size: 12px;
}
small {
	font-size: 87%;
}
blockquote {
	font: italic 110%/130% "Times New Roman", Times, serif;
	padding: 8px 30px 15px;
}

/* LIST
================================================ */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* HEADINGS
================================================ */
h1, h2, h3, h4, h5, h6 {
	line-height: 100%;
	margin: 0;
	font-weight: bold;
}
h1 {
	font-size: 24px;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 20px;
}
h4 {
	font-size: 18px;
}
h5 {
	font-size: 16px;
}
h6 {
	font-size: 14px;
}

/* FORM
================================================ */
/* form input */
input, textarea, select, input[type=search], button {
	font-size: 100%;
	font-family: inherit;
}
input[type=text], input[type=email], input[type=password], textarea, input[type=search], select {
	background: #f3f3f3;
	border: solid 1px #ddd;
	padding: 6px 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-appearance: none;
}
input[type=text], input[type=email], input[type=search] {
	width: 94%;
}

/* text area */
textarea {
	line-height: 150%;
	width: 94%;
}

/* form input:focus */
textarea:focus, input[type=password]:focus, input[type=email]:focus, input[type=text]:focus, input[type=search]:focus, select:focus {
	outline: none;
	background: #f9f9f9;
}

/* form button */
input[type=reset], input[type=submit], button {
	background: #49748A;
	color: #fff;
	border: none;
	padding: 7px 20px;
	cursor: pointer;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/* form button:hover */
input[type=reset]:hover, input[type=submit]:hover, button:hover {
	background: #203845;
	color: #fff;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
/* main page width */
.pagewidth {
	width: 953px;
	margin: 0 auto;
	padding: 0 0 0 25px;
}

/* content */
#content {
	width: 611px;
	float: left;
	padding: 25px 0;
}

/* sidebar-menu */
#sidebar-menu {
	width: 250px;
	background: #C5C5C5;
	float: right;
	padding: 25px;
	margin: 0 0 25px 0;
	-webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;	
}
#sidebar-menu i{
	color: #FFFFFF;
}
#sidebar-menu h3{
	margin: 0 0 15px 0;
	font-weight: normal;
}
#sidebar-menu ul{
	padding: 0;
	margin: 0;
	list-style-type: none;
}
#sidebar-menu ul li{
	padding: 0;
	margin: 0;
}
#sidebar-menu a{
	color: #54778D;
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;	
}
#sidebar-menu a:hover, #sidebar-menu .current_page_item{
	color: #203845;
}

/*sidebar-menu-categories*/
#sidebar-menu-categories {
	width: 300px;
	background: #C5C5C5;
	float: right;
	padding: 25px 0;
	margin: 0 0 25px 0;
	-webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;	
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;		
}
#sidebar-menu-categories ul{
	padding: 0;
	margin: 0;
	list-style-type: none;
}
#sidebar-menu-categories ul li{
	padding: 0;
	margin: 0;
}
#sidebar-menu-categories .cat-item {
	background: #54778D;
	padding: 0;
	margin: 0 0 5px 0;
	line-height: 25px;
}

#sidebar-menu-categories .cat-item a{
	text-transform: uppercase;
	color: #FFFFFF;
	padding: 0px 25px;
	text-decoration: none;
	font-size: 14px;
}

#sidebar-menu-categories .children{
	padding: 10px 0 10px 15px;	
	display: none;
	background: #C5C5C5;
}
#sidebar-menu-categories li:hover > ul {
	display: block;
}
#sidebar-menu-categories .children .cat-item{
	background: none;
	padding: 0;
	margin: 0;
	line-height: 20px;
}

#sidebar-menu-categories .children a{
	text-transform: none;
	color: #54778D;
}
#sidebar-menu-categories .category-that-has-children{
	background: #54778D url('images/arrow-news-right.png') no-repeat 284px 8px;
}
#sidebar-menu-categories .category-that-has-children:hover{
	background: #54778D url('images/arrow-news-down.png') no-repeat 284px 8px;
}



/* sidebar */
#sidebar {
	width: 300px;
	float: right;
	padding: 25px 0;
	-webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;	
}
.page-id-4 #sidebar, .page-id-6 #sidebar, .page-id-429 #sidebar{
	background: transparent !important;
}
#sidebar .page_item_has_children .children{
	display: none;
}
#sidebar .current_page_item .children, #sidebar .current_page_ancestor .children{
	display: block;
}
#sidebar  .menu-second-level .page_item_has_children a {
	background: #49748A url('images/arrow-right.png') no-repeat 260px 15px;
	padding: 10px 25px 10px 10px;
	width: 257px;
}
#sidebar  .menu-second-level .current_page_ancestor a, #sidebar  .menu-second-level .page_item_has_children.current_page_item a {
	background: #49748A url('images/arrow-down.png') no-repeat 260px 15px;
	padding: 10px 25px 10px 10px;
	width: 257px;
}

/************************************************************************************
HEADER
*************************************************************************************/
header{
	width: 100%;
	min-width: 978px;
	background: url('images/header.png') repeat-x bottom left;
}
#header {
	position: relative;
	height: 240px;
	background: url('images/header.png') repeat-x bottom left;	
}
#header-home {
	position: relative;
	height: 435px;
	background: url('images/header.png') repeat-x bottom left;	
}
.header-top-line-repeater{
	/*background: url('images/header-top-line.png') repeat-x top left;*/
	min-width: 978px;
}
.header-top-line{
	background: #EFF2F5;
	width: 100%;
	min-width: 978px;
	height: 112px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 105;
	opacity: 0.8;
    filter: alpha(opacity=80);
	-webkit-box-shadow: 0 6px 16px -6px black;
	   -moz-box-shadow: 0 6px 16px -6px black;
	        box-shadow: 0 6px 16px -6px black;	
}
#spanish-version-home{
	display: block;
	background: #203845;
	position: fixed;
	top: 0px;
	margin: 112px 0 0 770px;
	z-index: 105;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;	
	color: #FFF;
	padding: 5px 20px;
}
#spanish-version-home:hover{
	color: #EEA904;
	text-decoration: none;
}
/************************************************************************************
HOME
*************************************************************************************/
#slideshow-home { 
    position: absolute;
	top: 1px;
	left: 0;
    width: 978px; 
    height: 425px; 
    margin: 0; 
    padding: 0; 
	z-index: 100;
}

#slideshow-home > div, #slideshow > div { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
}
#slideshow-home  .slide{
	display: block;
	width: 978px;
	height: 425px;
}

#slideshow { 
    position: absolute;
	top: 0;
	left: 0;
    width: 978px; 
    height: 231px; 
    margin: 0; 
    padding: 0; 
	z-index: 100;
}
#header-custom-image { 
    position: absolute;
	top: 0;
	left: 0;
    width: 978px; 
    height: 231px; 
    margin: 0; 
    padding: 0; 
	z-index: 100;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;	
}
.category #header-custom-image{
	background: url('images/header-image.png') no-repeat center center;
}
#slideshow  .slide{
	display: block;
	width: 978px;
	height: 425px;
}
/*prof section*/
#slideshow-home  .slide-1{
	background: url('images/splash1.jpg') no-repeat center center;
}
#slideshow-home  .slide-2{
	background: url('images/splash2.jpg') no-repeat center center;
}
#slideshow-home  .slide-3{
	background: url('images/splash3.jpg') no-repeat center center;
}
#slideshow-home  .slide-4{
	background: url('images/splash4.jpg') no-repeat center center;
}
/*splash section*/
#slideshow-home  .slide-5{
	background: url('images/splash5.jpg') no-repeat center center;
}
#slideshow-home  .slide-6{
	background: url('images/splash6.jpg') no-repeat center center;
}
#slideshow-home  .slide-7{
	background: url('images/splash7.jpg') no-repeat center center;
}
#slideshow-home  .slide-8{
	background: url('images/splash8.jpg') no-repeat center center;
}
/*pat section*/
#slideshow-home  .slide-9{
	background: url('images/splash9.jpg') no-repeat center center;
}
#slideshow-home  .slide-10{
	background: url('images/splash10.jpg') no-repeat center center;
}
#slideshow-home  .slide-11{
	background: url('images/splash11.jpg') no-repeat center center;
}
#slideshow-home  .slide-12{
	background: url('images/splash12.jpg') no-repeat center center;
}


/*slideshow - buttons*/
.slide-button{
	display: block;
	position: absolute;
	right: 0px;
	bottom: -20px;
	color: #FFF;
	font-family: "lobster",serif;
	font-size: 20px;
	height: 117px;
	width: 249px;
	padding: 69px 0 0 0;
}
.slide-button-1{
	background: url('images/button1.png') no-repeat top left;
}
.slide-button-2{
	background: url('images/button2.png') no-repeat top left;
}
.slide-button-3{
	background: url('images/button3.png') no-repeat top left;
}
.slide-button-4{
	background: url('images/button4.png') no-repeat top left;
}
.slide-button a{
	display: block;
	width: 130px;
	text-align: right;
	padding: 10px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	margin: 10px 0 10px 90px;
	font-size: 20px;
	color: #FFF;
	text-align: center;
	background: #EEA904;
	font-weight: bold;
	font-family: "lobster",serif;	
	border: 3px solid #FFF;
}
.slide-button a:hover{
	color: #203845;
	background: #49748A;
	border: 3px solid #203845;
	text-decoration: none;
}

/*home slogan*/
#home-slogan{
	position: fixed;
	top: 0;
	margin: 0 0 0 335px;
	z-index: 105;	
	width: 610px;
	color: #49748A;
	font-size: 16px;
}
#home-slogan .title{
	color: #203845;
	font-size: 20px;
	font-weight: bold;
	margin: 10px 0 0 0;
}

/*main home page*/
#content-home{
	width: 100%;
	padding: 45px 0;
	min-height: 100px;
}

.home-block{
	width: 400px;
	min-height: 200px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;	
	padding: 25px;
	color: #FFF;
}
.home-block .title{
	font-size: 25px;
	font-weight: bold;
	text-align: center;
}
.home-block .subtitle{
	color: #49748A;
	font-weight: bold;
}
.home-block  .special-button{
	display: block;
	padding: 10px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;	
	margin: 25px 0 25px 160px;
	font-size: 20px;
	color: #FFF;
	text-align: center;
	width: 60px;
	background: #49748A;	
	font-weight: bold;
	font-family: "lobster",serif;
}
.sign-up-page  .special-button{
	display: block;
	padding: 10px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;	
	margin: 25px 0 25px 120px;
	font-size: 20px;
	color: #FFF;
	text-align: center;
	width: 60px;
	background: #49748A;	
	font-weight: bold;
	font-family: "lobster",serif;
	border: 3px solid #EEA904;
}
.aan-store  .special-button{
	display: block;
	padding: 10px;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;	
	margin: 25px 0 25px 95px;
	font-size: 20px;
	color: #FFF;
	text-align: center;
	width: 80px;
	background: #49748A;	
	font-weight: bold;
	font-family: "lobster",serif;
	border: 3px solid #EEA904;
}
.home-block  .special-button:hover{
	border: 3px solid #FFF;	
	text-decoration: none;
	color: #203845;
}
.sign-up-page  .special-button:hover, .aan-store .special-button:hover{
	border: 3px solid #FFF;	
	text-decoration: none;
	color: #203845;
}
.home-block-patients .special-button{
	border: 3px solid #EEA904;
}
.home-block-professionals .special-button{
	border: 3px solid #203845;
}
.home-block-patients{
	background: #203845;
	float: left;	
}
.home-block-professionals{
	background: #EEA904;
	float: right;	
}
.link-on-home-page{
	color: #FFFFFF;
	text-decoration: underline;
}
.link-on-home-page:hover{
	color: #49748A;
	text-decoration: none;
}


/*
SPLASH
*/
#splash-base{
	width: 978px;
	position: fixed;
	z-index: 2000;	
	top: 20%;
}
#splash{
	width: 450px;
	height: auto;
	margin: 0 auto;
	padding: 25px;
	background: #FFFFFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
	box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
}




/* 
PATIENTS and PROFESSIONALS PAGES
================================================ */
/*Resource Center*/
#patient-resource-center{
	width: 903px;
	clear: both;
	margin: 25px 0 0 0;
	padding: 25px;
	background: #C5C5C5;
	-webkit-border-radius:  15px 15px 0 0;
	-moz-border-radius:  15px 15px 0 0;
	border-radius:  15px 15px 0 0;	
}
#patient-resource-center .title{
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #49748A;
	background: url('images/bg-title.png') no-repeat center center;
}


.resource-center-image-link{
	display: block;
	width: 218px;
	height: 218px;
	float: left;
	margin: 25px 40px 10px 40px;
}
.resource-center-image1-link, .popup-title-learn-allergies{
	background: url('images/button-learn-4.png') no-repeat top left;
}
.resource-center-image1-link:hover{
	background: url('images/button-learn-4.png') no-repeat bottom left;
}
.resource-center-image2-link, .popup-title-learn-asthma{
	background: url('images/button-learn-3.png') no-repeat top left;
}
.resource-center-image2-link:hover{
	background: url('images/button-learn-3.png') no-repeat bottom left;
}
.resource-center-image3-link, .popup-title-find-professional{
	background: url('images/button-learn-2.png') no-repeat top left;
}
.resource-center-image3-link:hover{
	background: url('images/button-learn-2.png') no-repeat bottom left;
}
.resource-center-image4-link{
	background: url('images/button-learn-1.png') no-repeat top left;
}
.resource-center-image4-link:hover{
	background: url('images/button-learn-1.png') no-repeat bottom left;
}
.resource-center-link{
	display: block;
	width: 120px;
	height: 120px;
	background: #49748A;
	-webkit-border-radius: 120px;
	-moz-border-radius: 120px;
	border-radius:  120px;	
	float: left;
	border: 6px solid #EEA904;
	margin: 25px 83px 0px 83px;
}

.page-id-565 .resource-center-link, .page-id-571 .resource-center-link, .page-id-575 .resource-center-link{
	margin: 25px 0 0 0;	
}
.resource-center-link a{
	display: block;
	color: #FFF;
	font-size: 16px;	
	text-align: center;	
	padding: 35px 6px;	
	font-weight: bold;
}
.resource-center-link a span{
	font-family: "lobster",serif;
}
.resource-center-link:hover{
	border: 6px solid #FFF;
}
.resource-center-link:hover a{
	text-decoration: none;
	color:#203845;
}


.hr-blue{
	width: 100%;
	clear: both;
	background: #49748A;
	border: none;
	height: 1px;
	margin: 25px 0;
}
.network-mission{
	text-align: center;
}


.image-sidebar-history{
	display: block;
	width: 292px;
	height: 108px;
	background: url('images/image-sidebar-history.png') no-repeat top left;
	position: relative;
}
.image-sidebar-history .year{
	position: absolute;
	top: 110px;	
	left: 25px;
}
.image-sidebar-history .new-year{
	position: absolute;
	top: 80px;
	left: 210px;
}


#main-image-patient-page-block, #main-image-professional-page-block{
	display: block;
	width: 611px;
	height: 108px;
	position: relative;
}
#main-image-patient-page-image{
	display: block;
	width: 480px;
	height: 224px;	
	background: url('images/image-home-patients.png') no-repeat top left;
	position: absolute;
	top: -91px;
	left: 70px;
	z-index: 104;
}
#main-image-professional-page-image{
	display: block;
	width: 480px;
	height: 224px;	
	background: url('images/image-home-professionals.png') no-repeat top left;
	position: absolute;
	top: -91px;
	left: 70px;
	z-index: 104;
}

#home-second-level-recent-news, #home-second-level-latest-publications{
	display: block;
	width: 460px;
	height: 375px;
	padding: 15px 0;
	margin: 0 25px 0 0;
	color: #FFF;
	overflow: hidden;
}
#home-second-level-latest-publications{
	margin: 0;
}
#home-second-level-recent-news{
	
}
#home-second-level-recent-news .footer-button-padding{
	padding: 0 0 0 95px;
	background: url('images/image-default-recent-news.png') no-repeat top left;	
	position: relative;
}
.footer-button-padding{
	padding: 0 0 0 95px;
}
.additional-margin{
	margin: 0 0  40px 0;
}
#home-second-level-recent-news a:hover, #home-second-level-latest-publications a:hover{
	color: #FFF;
}
.small-block-publication{
	display: block;
	width: 220px;
}
.image-publication{
	display: block;
	width: 109px;
	height: 126px;
	margin: 33px 0;
	overflow: hidden;
}
.image-publication-news{
	background: url('images/image-e-news.png') no-repeat center center;
}
.image-publication-today{
	background: url('images/image-today.png') no-repeat center center;
}
/* 
DONATE PAGE
================================================ */
#crm-container.crm-public input[type="text"], #crm-container.crm-public input[type="password"] {
font-size: 15px;
padding:5px !important;
border-radius: 5px !important;
vertical-align: middle;
min-width: 390px !important;
}
#crm-container.crm-public select {
font-size: 15px;
padding:5px !important;
border-radius: 5px !important;
vertical-align: middle;
/*min-width: 450px !important;*/
}
 #_qf_Main_upload-bottom, #_qf_Confirm_next-bottom, #_qf_Confirm_back-bottom {
	background: #49748A !important;	
	text-shadow: none !important;
	font-weight: bold !important;
	font-size: 20px !important;
	font-family: "museo",serif !important;
	font-weight: normal !important;
	margin-right: 6px;
	padding: 5px 10px!important;
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
	text-decoration: none;
	cursor: pointer;
	border: 3px solid #203845 !important;	
	color: #FFF;
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;		
}
 #_qf_Main_upload-bottom:hover, #_qf_Confirm_next-bottom:hover, #_qf_Confirm_back-bottom:hover{
	border: 3px solid #EEA904 !important;	
	color: #203845 !important;	
 }
.crm-container a.button, .crm-container a.button:link, .crm-container a.button:visited, .crm-container input.form-submit, .crm-container .crm-button, #crm-container input[type=button], #crm-container input.form-submit-inline, #crm-container .crm-button {
text-shadow: none !important;
background: none !important;
font-size: 12px;
font-weight: normal;
margin-right: 6px;
padding: 2px 6px;
text-decoration: none;
cursor: pointer;
border: none !important;
}
/* 
SITE LOGO
================================================ */
#site-logo {
	position: fixed;
	top: 0;
	margin: 0 0 0 -25px;
	display: block;	
	background: url('images/logo.png') no-repeat top left;
	width: 362px;
	height: 224px;
	z-index: 110;
}
#site-logo  {
	text-decoration: none;
}
#site-logo:hover {
	text-decoration: none;
}

/* 
SEARCH FORM
================================================ */
#search-block{
	position: fixed;
	margin: 0 0 0 767px;
	top: 0;
	width: auto;
	z-index: 110;
	background: #FFF;
	text-align: center;
	padding: 8px;
	font-size: 12px;
	-webkit-border-radius: 0 0 15px 15px;
	-moz-border-radius: 0 0 15px 15px;
	border-radius: 0 0 15px 15px;
}
#search-block a{
	text-decoration: none;
	color: #49748A;
	font-weight: bold;
}
#search-block a:hover{
	text-decoration: none;
	color: #203845;
}
#searchform input[type=text] {
	width: 150px;
	color: #49748A;
	background: #6d9bb2  url(images/search.png) no-repeat right center;
	border: none;
	padding: 3px 15px 3px 5px;
	-webkit-border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
}
#searchform input[type=text]:focus {
	color: #FFF;
}
#header-top-block{
	position: fixed;
	margin: 0 0 0 540px;
	top: 0;
	width: auto;
	z-index: 110;
	text-align: center;
	padding: 8px;
	font-size: 12px;	
}
#header-top-block a{
	text-decoration: none;
	color: #49748A;
	font-weight: bold;
}
#header-top-block a:hover{
	text-decoration: none;
	color: #203845;
}

/* 
MAIN NAVIGATION
================================================ */
#main-nav {
	margin: 80px 0 0 328px;
	padding: 0;
	position: fixed;
	z-index: 115;
	min-width: 500px;
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}

/* main level link */
#main-nav a {
	display: block;
	padding: 5px 10px;
	margin: 0 5px 0 0;
	text-decoration: none;
	-webkit-border-radius: 5px 5px 0px 0px;
	-moz-border-radius:  5px 5px 0px 0px;
	border-radius:  5px 5px 0px 0px;
	color: #49748A;
}
/* main level link :hover */
#main-nav a:hover {
	background: #FFF;
}

/* current link */
#main-nav .current_page_item a, #main-nav .current-menu-item a {

}
/* current link :hover */

}


/* sub-levels link */
#main-nav ul a, #main-nav .current_page_item ul a, #main-nav ul .current_page_item a, #main-nav .current-menu-item ul a, #main-nav ul .current-menu-item a, #main-nav li:hover > ul a  {
	color: #666;
	font-size: 100%;
	line-height: 140%;
	font-weight: normal;
	text-transform: none;
	padding: 6px 6px 6px 15px;
	margin: 0;
	display: block;
	width: 180px;
	background: none;
	border: none;
	text-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
/* sub-levels link :hover */
#main-nav ul a:hover, #main-nav .current_page_item ul a:hover, #main-nav ul .current_page_item a:hover, #main-nav .current-menu-item ul a:hover, #main-nav ul .current-menu-item a:hover, #main-nav li:hover > ul a:hover {
	color: #EEA904;
}

/* dropdown ul */
.main-menu-second-level {
	display: none;
	margin: 0;
	padding: 15px 0;
	list-style: none;
	position: absolute;
	background: #fff;
	z-index: 110;
	
	width: 350px;
	-webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;
}
.main-menu-parent-page-link:nth-child(4) .main-menu-second-level{
	margin-left: -262px;
}
.main-menu-parent-page-link:nth-child(5) .main-menu-second-level{
	margin-left: -267px;
}
.main-menu-parent-page-link:nth-child(6) .main-menu-second-level{
	margin-left: -292px;
}
.main-menu-parent-page-link:nth-child(7) .main-menu-second-level{
	margin-left: -259px;
}
.main-menu-second-level-with-links .page_item{
	margin-bottom: 2px!important;
}
#main-nav ul li, .main-menu-second-level-with-links {
	background: none;
	padding: 0;
	margin: 0;
	float: left;
	width: 160px;
}
.quick-links{
	float: right;
	width: 165px;	
	padding: 0 15px 0 0;
	font-size: 13px;
	font-weight: bold;
}
.quick-links a{
	padding: 0!important;
	text-decoration: underline!important;
	font-weight: bold;	
}
.quick-links a:hover{
	text-decoration: none!important;
	color: #EEA904!important;
}
.quick-links-block{
	padding: 0 0 0 30px;
	line-height: 15px;
	margin: 0 0 15px 0;
}
.quick-links-block-first{
	background: url('images/quick-link1.png') no-repeat top left;
	min-height: 24px;
}
.quick-links-block-second{
	background: url('images/quick-link2.png') no-repeat top left;
	min-height: 39px;
}
/* show dropdown ul */
.main-menu-parent-page-link:hover > .main-menu-second-level  {
	display: block;
}
.main-menu-second-level .children{
	padding: 0 0 0 15px;
	margin: 0;
}
.main-menu-second-level-with-links a{
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
	line-height: 13px;
	padding: 2px 15px !important;
	margin: 0;
}

.main-menu-second-level .children a{
	text-transform: none;
	font-weight: normal;
}
/************************************************************************************
submenu
*************************************************************************************/


.menu-second-level, .menu-second-level .children{
	list-style-type:none;
	margin: 0;
}
.menu-second-level li{
	margin: 0 0 10px 0;
}

.menu-second-level li a{
	background: #49748A;
	padding: 10px;	
	color: #FFF;
	width: 272px;
	display: block;
	font-size: 100%;
}
.menu-second-level li a:hover, .menu-second-level .current_page_item a{
	text-decoration: none;
	background: #203845;
}
.menu-second-level .page_item_has_children .children a{
	background: transparent !important;
	padding: 0 0 0 25px !important;
	width: 241px !important;
	color: #5E809B;
	line-height: 95% !important;
}
.menu-second-level .page_item_has_children div a:hover, .menu-second-level .children .current_page_item a, .menu-second-level .page_item_has_children li a:hover{
	color: #0C2640;
}
.menu-second-level .page_item_has_children li:first-child{
	margin: 10px 0 10px 0;
}
.menu-second-level .page_item_has_children li {
	margin: 0 0 10px 0;
}
.menu-second-level .page_item_has_children li:last-child {
	margin: 10px 0;
}

/************************************************************************************
PAGE
*************************************************************************************/
/* page title */
.page-title {
	margin: 0  0 25px 0;
	padding: 0 ;
	color: #EEA904; 
}
#content-area-image{
	display: block;
	width: 611px;
	height: 240px;
	 -webkit-background-size: 100%;   
	 -moz-background-size: 100%;  
	 -o-background-size: 100%;  
	 background-size: 100%;	
	 border-bottom: 1px solid #49748A;
	 margin: 0 0 25px 0;
}
#sidebar-area-image{
	display: block;
	width: 292px;
	height: 240px;
	 -webkit-background-size: 100%;   
	 -moz-background-size: 100%;  
	 -o-background-size: 100%;  
	 background-size: 100%;	
	 border-bottom: 1px solid #49748A;
	 margin: 0 0 25px 0;
}
#sidebar-area-content{
	text-align: left;
	/*font-weight: bold;*/
	padding: 0 0 40px 0;
	/*background: url('images/quotes.png') no-repeat top left;*/
}
/************************************************************************************
POST
*************************************************************************************/
.post {
	margin-bottom: 25px;
}

/* post content */
.post-content {
	min-width: 120px;
}

/* post title */
.post-title {
	font-size: 20px;
	margin: 0x;
	padding: 0;
	color: #EEA904; 	
}
.post-title a {
}

/* post image */
.post-image {
	margin: 0 0 5px;
}
.post-image.left {
	float: left;
	margin-right: 15px;
}
.post-image.right {
	float: right;
	margin-left: 15px;
}

/* lightbox zoom image */
.post-image .lightbox {
	position: relative;
	display: inline-block;
	zoom:1;
	*display:inline;
	max-width: 100%;
}
.post-image .lightbox .zoom {
	width: 40px;
	height: 40px;
	background: url(images/icon-zoom.png) no-repeat center center;
	margin: -20px 0 0 -20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
}
.post-image .lightbox:hover .zoom {
	background-color: #000;
}

/* post meta */
.post-meta {
	margin: 0 0 7px;
}
.post-meta .post-author {
	background: url(images/post-author.png) no-repeat 0 2px;
	padding: 2px 0 2px 16px;
	margin-right: 7px;
}
.post-meta .post-category {
	background: url(images/post-category.png) no-repeat 0 2px;
	padding: 2px 0 2px 16px;
	margin-right: 7px;
}
.post-meta .post-tag {
	background: url(images/post-tag.png) no-repeat 0 3px;
	padding: 2px 0 2px 16px;
	margin-right: 7px;
}
.post-meta .post-comment a {
	background: url(images/post-comment.png) no-repeat 0 3px;
	padding: 2px 0 2px 16px;
}

/************************************************************************************
POST VIDEO (css for fluid video)
*************************************************************************************/
.post-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 15px;
}
.post-video iframe,  
.post-video object,  
.post-video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/************************************************************************************
PAGE NAVIGATION
*************************************************************************************/
.pagenav {
	clear: both;
	padding-bottom: 20px;
	text-align: right;
}
.pagenav a, .pagenav span {
	line-height: 100%;
	padding: 6px 0 0;
	margin: 0 2px;
	vertical-align: middle;
	display: inline-block;
	zoom:1;
	*display:inline;
	min-width: 24px;
	min-height: 18px;
	text-align: center;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
}
.pagenav a {
	background: #EEA904;
	color: #fff;
	text-decoration: none;
}
.pagenav a:hover {
	background-color: #54778D;
}
.pagenav .current {
	text-decoration: none;
}

/************************************************************************************
POST NAVIGATION
*************************************************************************************/
.post-nav {
	margin: 0 0 30px;
	padding: 15px 0;
	clear: both;
}
.post-nav span {
	width: 47%;
	position: relative;
}
.post-nav a {
	text-decoration: none;
	display: block;
}
.post-nav a:hover {
	text-decoration: none;
}
.post-nav .prev {
	float: left;
}
.post-nav .next {
	float: right;
	text-align: right;
}

/* post nav arrow */
.post-nav span span {
	background: #EEA904;
	color: #fff;
	font: normal 20px/100% "Times New Roman", Times, serif;
	display: block;
	width: auto;
	float: left;
	width: 32px;
	height: 28px;
	padding: 4px 0 0;
	text-align: center;
	margin: -8px 10px 17px 0;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
}
.post-nav .next span {
	float: right;
	margin-left: 10px;
	margin-right: 0;
}
.post-nav a:hover span {
	background: #54778D ;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
.widget {
    margin: 0 0 30px;
    word-wrap: break-word;
}
.widgettitle {
    margin: 0 0 10px;
    padding: 0;    
    font-size: 120%;
}
.widget ul {
    margin: 0;
    padding: 0;
}
.widget li {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    clear: both;
    border-top: solid 1px #ddd;
}
.widget ul ul {
    margin: 6px 0 -6px 0px;
    padding: 0;
    border-top: none;
}
.widget ul ul li {
    margin: 0;
    padding-left: 10px;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer-main-level{
	background: url('images/bg-footer-repeater.png') repeat-x top left;
	min-width: 978px;
	line-height: 130%;
}
#footer-main-level-second-level{
	background: url('images/bg-footer-repeater2.png') repeat-x top left;
	min-width: 978px;
	line-height: 130%;
}
#footer-buttons{
	clear: both;
	background: url('images/bg-footer.png') no-repeat top left;	
	display: block;
	height: 204px;
	font-size: 15px;
}
#footer-buttons-second-level{
	clear: both;
	background: url('images/bg-footer2.png') no-repeat top left;	
	display: block;
	height: 602px;
	font-size: 15px;
}
.footer-button {
	display: block;
	width: 300px;
	height: 160px;
	padding: 15px 0;
	margin: 0 25px 0 0;
	color: #FFF;
	float: left;
}
.footer-button:last-child{
	margin: 0;
}
.footer-button a:hover{
	color: #FFF;
}
.footer-button-one{
	background: url(images/footer-button-one.png) no-repeat 0px 5px;
}
.footer-button-two{
	background: url(images/footer-button-two.png) no-repeat 0px 5px;
}.footer-button-three{
	background: url(images/footer-button-three.png) no-repeat 0px 5px;
}

.footer-button-title{
	font-size: 18px;
	font-weight: bold;
}





#footer {
	padding: 30px 0;

}

#footer-social-buttons{
	margin: 0 0 0 410px;
	display: block;
	height: 36px;
}
.footer-social-button{
	display: block;
	width: 36px;
	height: 36px;
	float: left;
	margin: 0px 10px 15px 0;
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;	
}
.footer-social-button:hover{
	transform: rotate(90deg);
	-webkit-transform: rotate(360deg);
}
.fb{
	background: url('images/fb.png') no-repeat top left;
}
.tw{
	background: url('images/tw.png') no-repeat top left;
}
.in{
	background: url('images/in.png') no-repeat top left;
}

/* footer text */
.footer-text {
	font-size: 90%;
	clear: both;
	color: #EEA904;
	text-align: center;
}

.footer-text  a{
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;	
}
/*footer-menu*/
#footer-menu{
	clear: both;
	list-style-type: none;
	margin: 0 0 0 255px; 
	line-height: 100%;
}
#footer-menu li{
	float: left;
	margin: 0 15px 0 0;
	padding: 5px 0 10px 0;
}
#footer-menu a{
	font-weight: bold;
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;		
}


/*patients and professionals pages*/



/************************************************************************************
WORDPRESS POST FORMATTING
*************************************************************************************/
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
	margin-bottom: 15px;
}
.alignleft {
	float: left;
	margin-right: 30px;
}
.alignright {
	float: right;
	margin-left: 30px;
}
.aligncenter {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	text-align: center;
	margin-bottom: 15px;
	max-width: 100%;
}
.wp-caption-text {
	font-style: italic;
	font-size: 95%;
	line-height: 120%;
	margin: 6px 0;
}

/************************************************************************************
GALLERY
*************************************************************************************/
#body .gallery {
	margin: 5px 0 20px 0;
}
#body .gallery img {
	border: none;
}

/* gallery item */
#body .gallery dl {
	margin: 0 8px 8px 0;
	display: inline-block;
	vertical-align: top;
	zoom:1;
	*display:inline;
	width: auto;
	float: none;
	text-align: center;
}

/* gallery caption */
#body .gallery dd {
	width: 140px;
	line-height: 120%;
	font-size: 90%;
	text-align: center;
	margin: 5px 0 0;
}

/* get rid of br tag */
.gallery br {
	display:none;
}

/************************************************************************************
CLEAR & ALIGNMENT
*************************************************************************************/
p:last-child{
	margin: 0;
}
.blue-color{
	color: #49748A;
}
.yellow-color{
	color: #EEA904;
}
.white-color{
	color: #FFF;
}
.transition{
	-webkit-transition: All 0.5s ease;
	-moz-transition: All 0.5s ease;
	-o-transition: All 0.5s ease;
	-ms-transition: All 0.5s ease;
	transition: All 0.5s ease;	
}
#content hr{
	border: none;
	height: 1px;
	background: #666;
}hr{
	border: none;
	height: 1px;
	background: #FFF;
}
.clear {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.textleft {
	text-align: left;
}
.textright {
	text-align: right;
}
.textcenter {
	text-align: center;
}

/* clearfix */
.clearfix:after, .widget li:after, #body:after, #footer:after, footer:after, .pagenav:after, #main-nav:after, .menu:after, .gallery:after, #content:after
{ visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: inline-block; }
/* clearfix for ie7 */
.clearfix, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: block; zoom: 1; }


/************************************************************************************
LEARN PAGES
*************************************************************************************/
.fancybox-skin{
	background: transparent !important;
	padding: 0px !important;
}
.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: none!important; 
	-moz-box-shadow: none!important;
	box-shadow: none!important; 
}
.page-id-571.fancybox-close, .page-id-565.fancybox-close, .page-id-575.fancybox-close {
	top: 45px!important;
	/*right: 0px!important;*/
}

