/*   
Theme Name: AFMA Website
Description: AFMA Website - The Association of Family Medicine Administration
Author: Admin
*/

/*** Reset ***/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td { background: transparent; border: none; font-size: 100%; margin: 0; outline: 0; padding: 0; vertical-align: baseline; text-decoration:none; }
ol,ul { list-style: none; }
blockquote,q { quotes: none; }
blockquote:before,blockquote:after,q:before,q:after { content: ''; content: none; }
:focus { outline: 0; }
img { vertical-align: bottom; max-width: 100%; height: auto; width: auto\9; /* ie8 */}
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }
*{ padding:0 0 0 0; margin:0 0 0 0; }
html, body { height: 100%;}

/*** General Settings ***/
body { background:#fff;
	color:#535456;
	font-family: 'open_sansregular';
	font-size:14px;
}
h1,h2,h3,h4,h5,h6 { font-weight: normal; margin-bottom: 10px; }
p { margin: 0 0 10px 0; }
element { cursor: pointer; }

/*** CSS IDs ***/
#top { position:relative; z-index:9999}
#upper-banner-area { background:url(images/bannerbg.jpg);}
#upper-banner-area .container { width: auto}
#left-top,
#right-top { width:50%;height:100%;}
#sitename-info { width:455px; margin:10% 5% 0 0}
#logo { margin:0 0 5% 0}
#logoname {}
#logoname h1 { margin:0 0 5% 0}
#logoname a { color:#0f4878; font-size:25px; font-family: 'merriweatherregular';}
#logodesc { font-size:17px; color:#141414}

#navbar { background:#535456; border-bottom:4px solid #1d81c5}
#pagenav {}
#pagenav ul li { 
display:block; float:left; background:url(images/navline.png) repeat-y scroll 100% 0; padding:0 0 0 1px}
  ul#desknav{
  display:inline-block;
  background:url(images/navline.png) repeat-y scroll 0 0;
  }
#pagenav ul li a { display:block; color:#fff; font-size:15px; text-shadow: 0 1px 2px #464749; font-family: 'merriweather_sansbold'; padding: 18px;}
#pagenav ul li:hover a,
#pagenav ul li.current_page_item a,
#pagenav ul li.current_page_ancestor a{ background:url(images/navline.png) repeat-y scroll 0 0 #8cb633;}

#pagenav ul li ul { position:absolute;
	background:#1d81c5;
	min-width:150px;
	display:none;
}
#pagenav ul li:hover > ul { display:block}
#pagenav ul li ul li { float:none; background:#93c626; padding:0; border-bottom:1px solid #1d81c5}
#pagenav ul li ul li a,
#pagenav ul li:hover ul li a,
#pagenav ul li.current_page_item ul li a,
#pagenav ul li.current_page_ancestor ul li a { background:0; font-family: 'merriweather_sansregular'; font-size:14px; padding:7px 18px}
#pagenav ul li > ul li:hover > a,
#pagenav ul li > ul li.current_page_item > a { background:#1d81c5;}

#content-area { padding:3% 0}
.home #content-area { background:url(images/wave.jpg) repeat-x scroll 0 50% #0e66b6; min-height:500px; padding:0;}

#page-title { color:#535456; font-size:24px; font-family: 'merriweatherbold'; margin:0 0 20px 0}

#hp-widgets { padding:90px 0 60px 0;width:960px; }
#ourvalue { width:290px; min-height:450px; position:relative; float:left; background:#fff;}
#ourvalue h2 { background:#4967a6; 
	padding:10px 15px; 
	font-family: 'merriweather_sansregular'; 
	font-size:18px; 
	text-transform:uppercase; 
	color:#fff; 
	text-shadow: 0 1px 2px #464749;
}
#ourvalue .entry { padding:0 15px; text-align:center; color:#1d81c5; font-size:16px; line-height:1.4em;}
#ourvalue .entry a.learnmore { position:absolute; bottom:15px; right:15px; color:#1d81c5;}
#ourvalue .entry a.learnmore:hover { text-decoration:underline}

#fbbox { width:290px; min-height:450px; float:left; background:#fff; margin:0 0 0 65px;}
#fbbox li { display:inline-block; 
	width: 100%;
	border:0; 
	margin:0; 
	padding:0 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
#fbbox h4 { float:right; width:75%; margin:0; font-size:12px; font-weight:bold; font-family:tahoma; line-height:1.5em}
#fbbox h4 a { color:#3b5998;}
#fbbox .facebook_page-avatar { float:left; margin:0; padding:0}
#fbhead { background:#4967a6; margin:0 0 10px 0; padding:10px 15px}

#xlinks { width:247px; float:right;}
#xlinks .widget { margin:0 0 15px 0}

#left-col { width:650px;}
#right-col { width:260px;}

#board-member-lists {}
#board-member-lists .member-list { border:1px solid #dadada; margin: 0 0 30px 0;}
#board-member-lists .member-thumb,
#board-member-lists .member-thumb img { width:139px;}
#board-member-lists .member-infos { width:480px; padding:10px 10px 0 0; font-size:13px}
#board-member-lists .member-infos h2 { color:#535456; font-family: 'merriweatherbold'; font-size:17px}
#board-member-lists .member-infos h2 span { color:#1f84c7; font-size:16px}
#board-member-lists .member-infos .member-address { background:url(images/mailing-icon.png) no-repeat scroll 0 4px; padding:0 0 0 23px; margin:0 0 15px 0; line-height:1.6em}
#board-member-lists .member-infos .contact-infos {}
#board-member-lists .member-infos .contact-infos ul li { display:block; float:left; margin: 0 15px 0 0;}
#board-member-lists .member-infos .contact-infos ul li.phone {  background:url(images/support-icon.png) no-repeat scroll 3px 3px; padding:0 0 0 20px}
#board-member-lists .member-infos .contact-infos ul li.fax {  background:url(images/fax-icon.png) no-repeat scroll 0 3px; padding:0 0 0 25px}
#board-member-lists .member-infos .contact-infos ul li.mail {  background:url(images/mail-icon.png) no-repeat scroll 0 5px; padding:0 0 0 20px}
#board-member-lists .member-infos .contact-infos ul li.mail a { color:#1f84c7}
#board-member-lists .member-infos .contact-infos ul li.mail a:hover { text-decoration:underline}

#sidebar-menu { background:#f2f1f1; margin:0 0 25px 0; font-size:12px; font-family: 'merriweatherbold'; border:1px solid #dadada}
#sidebar-menu h2 { padding:8px 10px; color:#1d81c5; margin:0}
#sidebar-menu ul li { display:block; padding:8px 10px; border-top:1px solid #dadada}
#sidebar-menu ul li a { display:block; color:#626262}
#sidebar-menu ul li:hover,
#sidebar-menu ul li.current_page_item { background:#dedbdb}
#sidebar-menu ul li.current_page_item a { background: url(images/sidenav-ar.png) no-repeat scroll 0 0;
	position: relative;
	margin-left: -19px;
	display: block;
	padding-left: 19px;
}

#quick-contact-widgets { background:#f2f1f1; border:1px solid #dadada; border-bottom:0}
#quick-contact-widgets h2 { color:#626262; font-size:16px; font-family: 'merriweatherbold'; padding:15px 15px 0 15px; margin:0 0 5px 0}
#quick-contact-widgets .inwidget { border-bottom:1px solid #dadada; padding:15px 15px 10px 15px;}
#quick-contact-widgets .inwidget h3 { color:#626262; font-family: 'merriweatherbold'; font-size:13px; padding:0 0 0 20px}
#quick-contact-widgets .inwidget a { color:#1f84c7}
#quick-contact-widgets .inwidget.support h3 { background:url(images/support-icon.png) no-repeat scroll 0 20%;}
#quick-contact-widgets .inwidget.mailing-add h3 { background:url(images/mailing-icon.png) no-repeat scroll 0 10%;}
#quick-contact-widgets .inwidget.fax h3 { background:url(images/fax-icon.png) no-repeat scroll 0 10%;}
#quick-contact-widgets .inwidget.office-hours h3 { background:url(images/office-hour-icon.png) no-repeat scroll 0 10%;}

#footer { background:#353535; font-size:12px; color:#fff; padding:10px 0;}
#copy {}
#footermenus {}
#footermenus ul li { display:block; float:left; padding:0 0 0 15px}
#footermenus ul li a { display:block; color:#fff;}
#footermenus ul li a:hover { text-decoration:underline}


/*** CSS Classes ***/
* html .clearfix { height: 1%; }
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: "."; clear: both; height: 0; }
.clear { clear: both; }
.clearpad { padding:10px 0}

.fl { float: left; }
.fr { float: right; }
.txt-left { text-align: left; }
.txt-right { text-align: right; }
.txt-center { text-align: center; }

#top .container { margin:0 auto; position:relative;}
#navbar .container, #content-area .container { margin:0 auto; width:960px !important; position:relative;}

/* Image Alignment */
img.alignright {float:right; margin:0 0 0 2em;}
img.alignleft {float:left; margin:0 2em 0 0;}
img.aligncenter {display: block; margin-left: auto; margin-right: auto;}
a img.alignright {float:right; margin:0 0 0 2em;}
a img.alignleft {float:left; margin:0 2em 0 0;}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto;}

.txt,
.txtarea {width:100%;
	border:0;
	color:#ababab;
	background:#62686b; 
	display:block;
	padding:12px 15px;
	font-size:17px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	-ms-border-radius:15px;
	-o-border-radius:15px;
	border-radius:15px;
	resize:none;
}

.submit-button { width:20%;
	background:#fd2928;
	display:inline-block;
	border:0;
	color:#fff;
	font-size:23px;
	padding:10px 5px 8px 5px;
	cursor:pointer;
	font-family: "MyriadPro-Regular", Myriad Pro;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	-ms-border-radius:15px;
	-o-border-radius:15px;
	border-radius:15px;
}
.submit-button:hover { background:#ff0403}

.entry { line-height:1.7em; text-align: left}
.entry a { color:#1d81c5}
.entry a:hover { text-decoration:underline;}
.entry h2 { color:#535456; font-size:17px; font-family: 'merriweatherbold'; margin:25px 0 10px 0; border-bottom: 1px solid #eee; padding: 0 0 2px 0;}
.entry h3 { color:#535456; font-size:14px; font-family: 'merriweatherbold'; margin:0}
.entry ul { list-style:disc; padding:0 0 5px 20px}

textarea.wpcf7-form-control,input.wpcf7-form-control {
padding: 4px 5px;
border-radius: 3px;
}
input.wpcf7-form-control.wpcf7-submit {
padding: 5px 12px;
font-size: 1em;
}
div#bluzeus {
float: right;
padding-top: 5px;
padding-right: 24px;
background: url(images/lightning_small.png) no-repeat 138px 18px;
}
div#bluzeus p > a {
color: gray;
font-size: 13px;
text-shadow: 2px 0 2px rgba(0,0,0,.8);
}
div#bluzeus small {
display: block;
font-size: 9.5px;
}
div#footer-nav {
padding-bottom: 8px;
border-bottom: 1px solid rgba(102,102,102,.7);
}

.upme-login-forgot-link, .upme-user_pass, .upme-user_pass_confirm {display:none !important;}
.woocommerce div.product .product_title {
	font-size: 20px;
    font-weight: 600;
    line-height: normal;
}

#desknav li ul li {
	position: relative;
}
#desknav li ul li > ul {
	display: none;
	right: 0px;
    left: -100%;
	top: 0;
}
#desknav li ul li > ul li {
	background: #93c626;
	border-bottom: 1px solid #1d81c5;
}