/**
 * Theme Name: Fred Silfen MD Custom Theme
 * Theme URI: http://mednet-tech.com
 * Author: MedNet Technologies
 * Author URI: http://mednet-tech.com
 * Description: Custom HTML5 Pruduction Wordpress Theme Using thmpltfrmwrk
 * Template: thmpltfrmwrk 
 * Version: 1 
 */



/* = Formatting
-------------------------------------------------------------------------------------------------------------------- 
Global Styling For All Elements throughout the site 
** Advice Media ** */

html {background:#ffffff;}

body {background:font-family:Arial, Tahoma, Helvetica, sans-serif; color:#383838; font-size:18px; line-height:30px}

h1, h2, h3, h4, h5, h6 { margin:60px 0 70px; padding:0; color:#383838; font-weight:normal; text-transform:capitalize}

.inside #main h2{color:#5ea5ca;margin-bottom: 50px;}
.inside h3{color:#bfb097;margin-bottom:25px;margin-top: 34px;}


	H1{font-size:48px;line-height:56px; /*color:#222 */}
	H2{font-size:36px;line-height:36px; /*color:#ee5831 */}
	H3{font-size:26px;line-height:30px}
	H4{font-size:26px;line-height:36px}
	H5{font-size:24px;line-height:34px; color:#e9104b}
	H6{font-size:22px;line-height:32px}
	
	.topheader {margin:0 0 26px;}
	.home h2.topheader {font-size:36px; line-height:38px;}

	
	@media screen and (max-width: 768px) {
		
		H1,H2,H3,H4,H5,H6{margin:40px 0 10px;}
		H1{font-size:26px;line-height:34px}
		H2{font-size:24px;line-height:30px}
		H3{font-size:22px;line-height:28px}
		H4{font-size:20px;line-height:26px}
		H5{font-size:18px;line-height:24px}
		H6{font-size:16px;line-height:22px}
		.topheader {margin:0px 0 30px 0;}		
		.home h2.topheader {font-size:26px; line-height:26px;}
		
	}
	
ul, ol{ padding:0 0 0 16px; margin:0 0 40px; list-style:outside;}
	ul.indent, ol.indent { padding-left:30px}

	/* Fontawesome Icon Support */
	ul.faul, ol.faul { list-style:none;}
	.faul li {font-family:FontAwesome;position:relative}
	.faul li:before { left:-18px;font-size:11px;position: absolute; color:#DE0846}	


a {color:#c5ae85; text-decoration:none}
	a:hover {color:#5ea5ca; text-decoration:none}

	/* take off the dotted outline on this elements */
	a:hover, a:active, a:focus, object, embed {
	  outline: 0; text-decoration:none;
	}


hr {text-align: center;border:0;clear:both;margin:40px auto;border-top:1px solid #777;color:#DE0846}
	hr.clear { border: 0 none;height: 1px;margin: 0; clear:both}
	hr.spacer {border: 0 none;height: 40px;margin: 0}
	hr.spacer.short {height: 20px}	
	hr.centered {max-width:400px}
	hr.left {max-width:150px; margin-left:0}


	/* all headers followed by an HR get their margins redone */ 
	hr + .htag {margin-top: 40px; }

	hr[class*="fa-"]::before {
    display: inline-block;font-family:FontAwesome;position:relative;padding:0 10px;top:-14px;background:#FFF;font-size:18px}

/* fancy lines before/after an element */
.linetop::before{content:' ';display:block;margin:0 0 20px;max-width:150px;border-top:1px solid #777}	
.linebottom::after{content:' ';display:block;max-width:150px;border-top:1px solid #777}

.home p{line-height: 36px;}
p, .rowlikep {margin:0 0 40px}

/* Block Quote styling */
blockquote {border-left:10px solid #ee5831;padding:0 32px; margin:0 0 40px}

	blockquote cite {display:block; margin:20px 0 0; color:#db1249; font-style:normal}

	blockquote.large {font-size:60px; line-height:60px}
	blockquote.large cite {font-size:18px; line-height:18px}

	/* enable styled quote */	
	blockquote.quoted {border:0;position:relative; padding:0 0 0 70px} 
	blockquote.quoted::before {display:block;content:open-quote;position:absolute;font-size:160px;left:0;top:30px;color:#ee5831;}

#mainmenu_accordion>li>ul>li li a {height:auto;}
#mainmenu li li a{line-height:24px;}
.am-sticky-accordion>li>ul>li a {height:auto;}
.am-sticky-mainmenu li li a{line-height:24px;padding:8px 16px;}
@media screen and (max-width: 669px){
.directions_form .dbtn, .directions_form .saddr{width:100%!important;}	
}
.page-id-4 #field_1_8{font-size: 13px;line-height: 22px;}
.comments-link{display:none!important;}
#respond{display:none;}
.author{display:none!important;}

.page-id-4 ul.mnlocation_list{list-style:none;padding:0;}
.page-id-4 ul.mnlocation_list h3{font-size:26px;margin:30px 0;}
#contact-title {font-size:32px; font-weight:500; letter-spacing:4px; color:#1e8dce; margin-top:62px; margin-bottom:30px;}

/* -- Call-to-action  -- */
.row.cta {border-top:1px solid #ddd;padding-top:100px;margin-top:50px}

a.cta{color:#5ea5ca;display:block;font-size:18px;line-height:36px;transition-duration: 0.3s;}
a.cta .glyphicon{color:	#5ea5ca;font-size:64px;margin-right:20px;display:block;float:left}
a.cta strong {display:block;font-size:24px}

a.cta:hover {
    color: #bfb097;
}

@media screen and (max-width: 990px) {
	a.cta {padding-bottom:25px;margin-bottom:25px;border-bottom:1px solid #ddd;}
}

.withborder {border-bottom: 1px solid #bfb097; padding: 10px 0 15px; margin-bottom: 35px;}

.main_section p a{color:#9e8353;text-decoration:underline;}
.main_section p a:hover{color:#5ea5ca;}

@media screen and (max-width:1199px){
	.am-sticky-right-info{width:70%!important;float:right;}
}

.home #highlights ul li a{color:#000000;}
.home #highlights ul li a:hover{color:#5ea5ca;}


@media screen and (max-width:299px){
	.home .whitebkg{height:auto!important}
}


.bordered-list{border-left:11px solid #bfb097;padding:30px 45px;background:#f7f7f7;color:#000000;width:100%;font-weight:300;}	
.bordered-list li{margin-top:7px;}
.bordered-list a{color:#5ea5ca;}
.bordered-list a:hover{color:#bfb097;}

/* -- Formatting classes -- */
.row.flushcolumns > * { padding:0}	
.img-thumbnail { background-color: #f7f7f7; border: 2px solid #333; border-radius:1px}


/* Buttons  */
.btn.btnc, .btn.btnc::before {background:#5ea5ca; color:#FFF; padding:15px 20px; text-decoration:none; border:0; border-radius:0; cursor:pointer; text-transform:uppercase;font-size:18px;letter-spacing:1px;word-wrap: break-word;white-space: normal;}
	.btn.btnc:hover {background:#c5ae85; color:#433f38; text-decoration:none}

.btn.btnc.gold {background:#c5ae85; color:#433f38;font-weight:500}
	.btn.btnc.gold:hover {background:#e8cea1}
	

/* Misc accents */
.left-border { border-left: 1px solid #d2d2d2;}
.emphasisbox { padding:40px;background:#efefef}
.emphasisbox .htag {color:#db1249}


/* accordion styling */
.tpf-ac-trigger {cursor:pointer; position:relative; padding-left:25px; margin:0 0 20px}
.tpf-ac-trigger::before {   
    position: absolute;
    top:35%;left:0;
    content: "";display: block;
    width: 0.4em; height: 0.4em;
    transform: rotate(45deg);	
    border-right: 0.2em solid #DE0846;
    border-top: 0.2em solid #DE0846;
	}
	
.tpf-ac-trigger.tpf-active::before {transform: rotate(135deg)}


/* Tabs Styling */
.nav-tabs.tabsc {border-bottom:2px solid #ee5831}
.nav-tabs.tabsc a { padding: 10px 20px;border-radius:0; background:#2d2b2a; color:#FFF }
.nav-tabs.tabsc .dropdown-menu {background:#2d2b2a}
.nav-tabs.tabsc .dropdown-menu .divider {background:#ee5831;}
.nav-tabs.tabsc >.active >a,
.nav-tabs.tabsc >li >a:focus,
.nav-tabs.tabsc >li >a:hover {background:#ee5831; color:#FFF}
.tab-content.tabsc {	background:#EFEFEF; padding:20px}

/* Table Styling */	
.table.tablec tr th  {background:#ee5831; color:#FFF}
.table.tablec tr th:nth-of-type(even) {background:#eb2842}
.table.tablec tr:nth-of-type(odd) {background-color: #efefef}
.table.tablec tr:nth-of-type(odd) td:nth-of-type(even) {background-color: #e7e7e7}
.table.tablec tr:nth-of-type(even) {background-color: #f9f9f9}
.table.tablec tr:nth-of-type(even) td:nth-of-type(even) {background-color: #f0f0f0}
	
/* = Sticky
--------------------------------------------------------------------------------------------------------------------
** Advice Media ** */
#am-sticky-header .am-sticky-toprow{border-bottom: 1px solid #d9d9d9;}
#am-sticky-header .am-sticky-toprow .am-sticky-right-info{font-size: 16px;}
#am-sticky-header .am-sticky-mainmenu > li > a{font-size: 17px;}
#am-sticky-header .am-sticky-mainrow .am-sticky-logo-img{max-height: 80px;}

#am-sticky-side-panel .am-sticky-accordion > li > a{height: auto; line-height: 20px; padding: 20px 0;}
#am-sticky-side-panel .am-sticky-accordion li li a{color: #000000; background: #FFF;}
#am-sticky-side-panel .am-sticky-accordion li li a:hover{color: #000000; background: #FFF;}

@media screen and (max-width: 992px) {
	#am-sticky-header .am-sticky-toprow .am-sticky-right-info{font-size: 12px;}
	#am-sticky-side-panel .sticky-side-panel-logo{text-align: center; margin-bottom: 20px;}
}

@media screen and (max-width: 768px) {
	#am-sticky-header .am-sticky-mainrow .am-sticky-logo-img{max-height: 60px;}
}

/* = Topbar
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#topbar {background:#eaf2f9; padding:10px;}
#topbar .addresses { font-size:18px; text-transform:uppercase; text-align:right;color:#000; margin:0}
#topbar .addresses li {padding-left:20px}
#topbar .addresses .tel { font-weight:bold; color:#4c85c5}
#topbar .addresses .bottom { font-size:14px}

@media screen and (max-width: 780px) {
	#topbar .addresses {text-align:center}
	#topbar .addresses { font-size:14px;}
	#topbar .addresses .bottom { display:none}
}


/* = Header
-------------------------------------------------------------------------------------------------------------------- 
Elements in the structure/header.php file  
** Advice Media ** */

#header #logo img {max-width:100%;padding:65px 0 0}
#header .topright {padding:40px 0 23px}

#header .tel {font-size:36px}
#header address, #header address>a {color:#464646;font-size:20px;margin-bottom:0}
	#header address>a:hover {color:#c5ae85}
	
@media screen and (max-width:1200px){
	#header .tel {font-size:34px}
}
@media screen and (max-width:992px){
	#header address, #header address>a {font-size:18px}
	#header .tel {font-size:32px}
}
@media screen and (max-width:768px){
	#header #logo img {max-width:70%;padding:35px 0 0}
	#header .topright {padding:30px 0 25px}
}
@media screen and (max-width:400px){
	#header #logo img {max-width:100%}
}

/* = Main Navigation 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#navigation {background:0; border-bottom:0; overflow: visible;border-top:1px solid #d9d9d9}

	/* Dropdown Style */
	#mainmenu{margin:0; float:left;}
		
	#mainmenu>li>a{font-size:18px;line-height:18px;padding:23px 51px;
				color:#383838;text-transform: uppercase; font-weight:500;
			/*	 background:url(images/structure/nav_divider.jpg) center right no-repeat; */}
	
	#mainmenu>li.first>a, #mainmenu>li:first-child>a{padding-left:0}
	#mainmenu>li.last>a, #mainmenu>li:last-child>a{background:0; padding-right:0}
	#mainmenu>li:hover>a{color:#c5ae85; text-decoration:none}
	
	/* #mainmenu>li:hover {background:url(images/structure/nav_underscore.png) center top}*/	
	/* #mainmenu>li.has-submenu {background:url(images/structure/nav_sub_menu_arrow.jpg) center 45px no-repeat;} */
	
		/* Sub-Menu*/
		#mainmenu ul{width:200px;margin-top:0}
		#mainmenu li li a{color:#fff;font-size:14px;padding:8px 16px;margin:0;background:#5ea5ca}
		#mainmenu li ul a:hover{color:#433f38;background:#c5ae85}
		#mainmenu > li > ul.sub-menu{margin-top:0; margin-left: 26px;}
		#mainmenu li.first > ul.sub-menu{margin-left: 0;}


	/* Accordion Style */
	#mainmenu_accordion, #mainmenu_accordion ul {list-style:none outside;  margin: 0;  padding: 0;   overflow:hidden;}
	#mainmenu_accordion>li>a {
	 margin:0; cursor: pointer; height:60px; line-height:60px;
	 font-size:18px; color:#4b464a; display:block;  padding:0;
	 background:0;border:0;}

	#mainmenu_accordion>li>ul {padding: 0; margin:0 0 40px; /*border-top:1px solid #54583A;*/}
	
	#mainmenu_accordion ul li a{display:block; text-decoration:none; font-weight:normal; border-bottom:1px solid #4b464a;
								/*height:40px; line-height:40px;*/ height:auto; line-height:16px; padding-top:10px!important; padding-bottom:10px!important;}
	#mainmenu_accordion ul li a:hover {text-decoration:none; }	
	
		/* Mobile Submenu */
		#mainmenu_accordion>li>ul>li a {background:0; color:#4b464a; padding-left:20px}		
		#mainmenu_accordion>li>ul>li a:hover {color:#616161;}
		
		#mainmenu_accordion>li>ul>li li a { background:#fff; padding:0 0 0 40px;}		
		#mainmenu_accordion>li>ul>li li li a {background:#fff; padding:0 0 0 50px;}
		#mainmenu_accordion>li>ul>li li li li a {background:#fff; padding:0 0 0 60px;}		

		/* If a menu item has an dropdown */
		#mainmenu_accordion .menu-item-has-children>a:after{
		  content:"\e252";  font-family:"Glyphicons Halflings";
		  margin:0 10px 0 0; display:inline-block; float:right; font-size:10px;}

@media screen and (max-width: 1280px) {
	#mainmenu>li>a{padding:23px 40px}	
	#mainmenu>li.last>a, #mainmenu>li:last-child>a{margin-left:5px}
	#mainmenu > li > ul.sub-menu{margin-left: 12px;}
}
@media screen and (max-width:1200px){
	#mainmenu>li>a{padding: 23px 20px;}
	#mainmenu > li > ul.sub-menu{margin-left: -6px;}
}




/* = Banner/Graphic - Carousel
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#graphic {background:0;}
#graphic .container {padding:0;}
.carousel-inner {width:100%; margin:0 auto;}

.carousel-inner > .item > img.fullwidthimg {width:100%; height:auto}
.carousel-inner > .item > .constrained { height:420px; background-size:cover!important;}
.carousel-inner > .item {background:0}
.carousel-inner>.item>img {margin:0 auto}
@media screen and (max-width: 768px) {
	.carousel-inner>.item>img {max-width:135%;}
}

/*Img was floating left causing issues with caption box*/
#graphic .wp-post-image {float:none;}



/* -- CAPTION -- */
.carousel-caption {width:100%; top:44%; right:0; left:0; bottom:0; text-align:left; padding:0; max-width:1215px; display:block; margin:0 auto;}
.carousel-caption > * {color:#383838; text-shadow:none;}
.carousel-caption .title {color:#383838; font-size:72px; line-height:45px; margin:0 0 32px 0; text-transform:capitalize;}
.carousel-caption p {font-size:24px; line-height:28px; margin:0;text-transform:uppercase}

@media screen and (max-width:2100px){
	.carousel-caption .title {font-size:70px;}
}
@media screen and (max-width:2000px){
	.carousel-caption .title {font-size:65px;}
}
@media screen and (max-width:1800px){
	.carousel-caption .title {font-size:60px;}
}
@media screen and (max-width:1680px){
	.carousel-caption .title {font-size:55px;margin:0 0 26px 0}
}
@media screen and (max-width:1500px){
	.carousel-caption .title {font-size:50px;margin:0 0 19px 0}
}
@media screen and (max-width:1380px){
	.carousel-caption .title {font-size:45px;line-height:38px}
}
@media screen and (max-width:1280px){
	.carousel-caption .title {font-size:40px;}
	.carousel-caption {max-width:1115px}
}
@media screen and (max-width:1200px){
	.carousel-caption .title {font-size:35px;}
	.carousel-caption {max-width:920px}
}
@media screen and (max-width: 992px) {
	.carousel-caption {position:relative; text-align:center; padding:40px 20px;}
	.carousel-caption .title {font-size:30px; line-height:30px;}
	.carousel-caption p {font-size:16px; line-height:24px;}
	.carousel-inner > .item {background:#dddddd}
	.carousel-caption .btn.btnc {margin:20px 0}
}
@media screen and (max-width: 768px) {
	.carousel-caption .title {font-size:28px; line-height:32px;}
	.carousel-caption p {font-size:14px; line-height:24px;}
}



/* -- INDICATORS -- */
.carousel-indicators li {border:1px solid #c6c6c6; background:#c6c6c6;}
.carousel-indicators li.active {border:1px solid #5ea5ca; background:#5ea5ca;}
ol.carousel-indicators {margin-bottom:0;}


/* -- LEFT/RIGHT FADE -- */
/*  Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x) */
.carousel-fade .carousel-inner .item {
	opacity: 0;  transition-property: opacity;  transition-duration: .75s;
}
.carousel-fade .carousel-inner .active {
	opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
	left: 0;  opacity: 0;  z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
	opacity: 1;
}
.carousel-fade .carousel-control {
 	z-index: 100;
}


/*
  WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
    }
}





/* = Main Section 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */

#main {background: #fff; padding:90px 0 60px 0;}

.home #main h1.topheader {font-size:48px;margin:0 0 35px}

.home #main .gold {color:#9e8353;text-decoration:underline}
.home #main .btn.btnc {padding:15px 25px}


@media screen and (max-width:1500px){
	.home #main h1.topheader {font-size:45px}
}
@media screen and (max-width:1280px){
	.home #main h1.topheader {font-size:40px;margin:0 0 20px}
}
@media screen and (max-width:1200px){
	.home #main h1.topheader {font-size:35px}
}
@media screen and (max-width:992px){
	.home #main h1.topheader {font-size:30px}
}
@media screen and (max-width:768px){
	#main {padding:50px 0}
	.home #main h1.topheader {font-size:26px}
	.home #main .btn.btnc {white-space:normal}
}

/* Hide the breadcrumbs on the homepage */
.home #main #breadcrumbs {display:none;}
#main #breadcrumbs {color: #000000;margin-bottom: 10px;}

	
.nosidebar #main .main_section {width:100%;}

.main_aside .first {margin-top:0}
.main_aside .first .htag {margin:0 0 60px}

/* Adjust addthis tool box when after the H1 header */
/*h1.topheader + .addthis_toolbox {margin:-45px 0 60px}*/



/* = Highlights
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#highlights {padding:60px 0 90px 0}

#highlights h2.topheader {font-size:48px;margin:0 0 40px}

#highlights ul {padding:0}
#highlights li {list-style:none;background:url(images/structure/services-list_bkg.png) left no-repeat;padding:4px 0 4px 20px}

#highlights li {font-weight:500;text-transform:uppercase;color:#383838;letter-spacing:1px}
	#highlights li a:hover {color:#9e8353}
	
#highlights .btn.btnc {margin-top:15px}


@media screen and (max-width:1500px){
	#highlights h2.topheader {font-size:45px}
}
@media screen and (max-width:1280px){
	#highlights h2.topheader {font-size:40px;margin:0 0 20px}
	#highlights li a {font-size:17px;letter-spacing:0.5px}
	#highlights .btn.btnc {margin-top:-15px}
}
@media screen and (max-width:1200px){
	#highlights h2.topheader {font-size:35px}
	#highlights li a {font-size:16px}
}
@media screen and (max-width:992px){
	#highlights h2.topheader {font-size:30px}
}
@media screen and (max-width:768px){
	#highlights {padding:0 0 50px}
	#highlights h2.topheader {font-size:26px}
	#highlights .btn.btnc {white-space:normal}
	#highlights li {background:url(images/structure/services-list_bkg.png) left top no-repeat;padding:0 0 20px 20px;line-height:15px}
	#highlights li a {letter-spacing:0}
}


.highlight { display:block;text-align:center;padding:20px;min-height:90px;background:#db1249;color:#FFF;font-size:25px;}
.highlight {
	background: #ee5831;
	background: -moz-linear-gradient(left, #ee5831 0%, #db1249 100%);
	background: -webkit-linear-gradient(left, #ee5831 0%,#db1249 100%);
	background: linear-gradient(to right, #ee5831 0%,#db1249 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee5831', endColorstr='#db1249',GradientType=1 );
}
.highlight a {color:#FFF}



/* = Doctor 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#hpdoc {padding:120px 0;line-height:34px}

#hpdoc h2.topheader {font-size:48px;margin:0 0 40px}
#hpdoc h2>span {text-transform:uppercase;font-size:24px;font-weight:500}

#hpdoc .btn.btnc {padding:15px 30px}

@media screen and (max-width:1500px){
	#hpdoc h2.topheader {font-size:45px}
}
@media screen and (max-width:1280px){
	#hpdoc h2.topheader {font-size:40px;margin:0 0 20px}
}
@media screen and (max-width:1200px){
	#hpdoc {line-height:32px}
	#hpdoc h2.topheader {font-size:35px}
	#hpdoc h2>span {font-size:22px}
}
@media screen and (max-width:992px){
	#hpdoc {padding:90px 0}
	#hpdoc h2.topheader {font-size:30px}
	#hpdoc h2>span {font-size:20px}
}
@media screen and (max-width:768px){
	#hpdoc {padding:50px 0}
	#hpdoc h2.topheader {font-size:26px}
	#hpdoc .btn.btnc {white-space:normal}
}


/* = Affiliations
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#affiliations {padding:119px 0}

#affiliations .aff-txt {text-transform:uppercase;display:block;line-height:25px;font-weight:500;margin-top:5px}


@media screen and (max-width:1200px){
	#affiliations .aff-txt {font-size:17px} 
}
@media screen and (max-width:768px){
	#affiliations {padding:50px 0}
}


/* = Testimonials
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#testimonials {padding:62px 0 120px 0}

#testimonials img {position:relative;margin-top:-236px}
#testimonials .am-testimonial-holder {margin-top:52px;font-size:22px;line-height:35px}
#testimonials .btn.btnc {margin-top:40px}

@media screen and (max-width:1200px){
	#testimonials img {margin-top:-250px}
	#testimonials .am-testimonial-holder {font-size:20px}
}
@media screen and (max-width:992px){
	#testimonials .am-testimonial-holder {margin:0}
	#testimonials img {margin:0}
}
@media screen and (max-width:768px){
	#testimonials {padding:50px 0}
	#testimonials .btn.btnc {white-space:normal}
}


/* = Blog
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#blog {padding:90px 0}

#blog .header-block {border-bottom:4px solid #dddddd}
#blog h2.topheader {font-size:24px;text-transform:uppercase;font-weight:500;display:inline-block;margin:0 0 40px}
#blog .archive-link {display:inline-block;float:right}
#blog .archive-link a {color:#9e8353}
	#blog .archive-link a:hover {color:#5ea5ca}

#blog h3.title {font-size:36px;margin:40px 0 35px}
#blog h3.title>a {color:#383838}
	#blog h3.title>a:hover {color:#9e8353}

#blog .tpf-excerpt {font-weight:500}
#blog .more {display:block;margin-top:20px}


@media screen and (max-width:1280px){
	#blog h3.title {font-size:34px}
}
@media screen and (max-width:1200px){
	#blog h3.title {font-size:30px}
}
@media screen and (max-width:992px){
	#blog h3.title {font-size:30px}
}
@media screen and (max-width:768px){
	#blog {padding:50px 0}
	#blog h3.title {font-size:26px}
	#blog .archive-link {display:block;float:none;margin:0 0 40px}
	#blog h2.topheader {margin:0 0 15px}
}


/* = Appointment
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#appointment {padding:90px 0;text-transform:uppercase;background:#f6f6f6;font-size:28px}

#appointment .tel {font-size:36px;color:#c2aa7e;background:url(images/structure/tel-icon.png) left no-repeat;padding:2px 0 2px 65px;margin:0 0 0 15px}
	#appointment .tel:hover {color:#5ea5ca}
	

@media screen and (max-width:1200px){
	#appointment {font-size:26px;line-height:45px}
	#appointment .tel {font-size:34px;padding:4px 0 4px 65px;}
}
@media screen and (max-width:992px){
	#appointment {font-size:24px}
	#appointment .tel {font-size:32px;padding:5px 0 5px 65px}
}
@media screen and (max-width:768px){
	#appointment {padding:50px 0}
	#appointment {font-size:22px;line-height:32px}
	#appointment .tel {background:0;padding:0; margin-top: 20px; display:block;}
}


/* = Location
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#location {padding:120px 0}

#location .whitebkg {background:#fff;padding:97px 45px; height: 378px;}
#location h2.topheader {font-size:48px;margin:0 0 35px;color:#5ea5ca}
#location p {margin:0}
#location .mapimg{height: 378px; background-repeat: no-repeat !important; background-size: cover !important;}
#location .orgname {font-size:15px}
#location address a {color:#c2aa7e}
	#location address a:hover {color:#5ea5ca}

#location .row{margin: 0;}
#location img {width:100%}


@media screen and (max-width:1500px){
	#location h2.topheader {font-size:45px}
}
@media screen and (max-width: 1280px) {
	#location h2.topheader {font-size:40px;}
	#location .whitebkg {padding: 80px 45px; height: 345px;}
	#location .mapimg{height: 345px;}
}
@media screen and (max-width:1200px){
	#location .whitebkg {padding: 37px 45px; height: 283px;}
	#location .mapimg{height: 283px;}
	#location h2.topheader {font-size:35px}
}
@media screen and (max-width:992px){
	#location .whitebkg, #location .mapimg, #location img{max-width: 326px; margin: 0 auto;}
	#location h2.topheader {font-size:30px;margin:0 0 10px}
}
@media screen and (max-width:768px){
	#location h2.topheader {font-size:26px}
}


/* = Quick Contact
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#quickcontact { padding:90px 0; color:#FFF}
#quickcontact h1, #quickcontact h2, #quickcontact h3, 
#quickcontact h4, #quickcontact h5,  #quickcontact h6 { color :#FFF } 


/* = Bottom Section|s 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */

#bottomlocations {background:#FFF; padding:90px 0; font-size:16px}
	#bottomlocations  strong {color:#4c85c5; font-size:24px; font-weight:normal}
	#bottomlocations .mapimg {height:185px; margin:0}
	#bottomlocations img {display:block}
	#bottomlocations .flushcolumns {line-height:10px; margin:0 0 30px}

#associations {padding:40px 0; background:#F3F3F3}


#bottom1 {background:#ffffff; padding:60px 0; font-size:14px; line-height:26px; color:#979392;}

#bottom1 a {color:#979392; font-weight:600;}
#bottom1 a:hover {color:#9c600e}
	
#bottom1 h3 {margin:0 0 20px; padding:0; font-size:20px; text-transform:uppercase; color:#9f9d9d}	
#bottom1 ul {list-style:none outside; margin:0; padding:0;}





/* = Footer Section 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */

#footer {background:#ac8e59; padding:112px 0 98px 0; color:#FFF; font-size:16px;}
	#footer a {color:#FFF}
	#footer a:hover {color:#cfc5b3}

	#footer ul {margin-bottom:10px;text-align: center;}
#footer #footermenu li{padding: 0 54px;}
#footer #footermenu li.first{padding-left: 0}
#footer #footermenu li.last{padding-right: 0}
#footer hr{border-top: 4px solid #c5b69b;}
#footer .footer_text{color: #cfc5b3; float: left;}
#footer .sitemap_terms {float: right;}

@media screen and (max-width: 1280px) {
	#footer #footermenu li{padding: 0 44px;}
}
@media screen and (max-width:1200px){
	#footer #footermenu li{padding: 0 27px;}
	#footer .footer_text, #footer .sitemap_terms{float: none;}
	#footer .sitemap_terms{margin-top: 20px;}
}
@media screen and (max-width:992px){
	#footer{line-height: 35px; padding: 50px 0;}
}

/* = Back to top 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */

.backtotop.styled { opacity:0.8;
	position:fixed;bottom:20px;right:20px;width:55px;height:55px; 
background-color:#bfb097; border:1px solid #bfb097;
border-radius: 5px;bottom: 20px;color: #fff;
   font-size: 20px;font-weight: bold;height: 55px;line-height: 55px;position: fixed;
   right: 20px;text-align: center;width: 55px;
/* text-indent:-9999px;background: url('icon_top.png') no-repeat;*/ 
}




/* = Forms 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */

/* Gravity Forms */

.gform_wrapper .gform_heading,
.gform_wrapper .top_label .gfield_label, .gform_wrapper label {display:none!important}

.gform_wrapper .ginput_container input.form-control, 
.gform_wrapper .ginput_complex .ginput_full input.form-control,
.gform_wrapper .ginput_container textarea.form-control,
.gform_wrapper .ginput_container select.form-control {
	background:#f7f7f7;
	width:100%!important;padding: 6px 12px!important;text-indent: 0!important;
	border-radius:0 !important; border-width:0 !important;	
} 

.gform_body ::-webkit-input-placeholder {color:#000000!important;}
.gform_body :-moz-placeholder {/* Firefox 18- */ color:#000000!important;}
.gform_body ::-moz-placeholder {/* Firefox 19+ */ color:#000000!important;}
.gform_body :-ms-input-placeholder {color:#000000!important;}
.form-control{color:#000000!important;}

.gfield.disclaimer {font-size:12px; font-style:italic}
.gform_wrapper .gform_footer { padding:0!important; text-align:right}
.gform_footer input[type=submit] {/*width:100%;*/}

/* Long contact form address */
.gform_wrapper .ginput_complex .ginput_left, 
.gform_wrapper .ginput_complex .ginput_right {
	width:49%!important; min-height:1px!important;
}

.gform_wrapper div.ginput_container,
.gform_wrapper .address_line_2, 
.gform_wrapper .ginput_complex > span {margin-top:10px!important;}

.gform_wrapper .address_line_2 {display:block}

/* Double column layout for short contact */
.gform2col .gform_wrapper .gfield { width:49.5% }
.gform2col ul li {margin-bottom:0;}
.gform2col .gform_wrapper .ginput_container input.form-control {height:50px;}
.gform2col .gform_wrapper .textarea_wrapper { float:right; margin-top:-210px} 
.gform2col .gform_wrapper .textarea_wrapper textarea {max-height:200px}
.gform2col .gform_button {/* display:block!important;*/max-width:300px;  margin:0 auto; float:none}
@media screen and (max-width: 640px) {
	.gform2col .gform_wrapper .textarea_wrapper {margin-top:-228px;} 
	.gform2col .gform_wrapper .textarea_wrapper textarea {max-height:218px}
	.ie .gform2col .gform_wrapper .textarea_wrapper {margin-top:-210px;}
	.ie .gform2col .gform_wrapper .textarea_wrapper textarea {max-height:200px}
}
@media (max-width: 560px) {	
	.gform2col .gform_wrapper .gfield { width:100%}
	.gform2col .gform_wrapper .textarea_wrapper { width:100%; margin-top:0;float:left }
	.ie .gform2col .gform_wrapper .textarea_wrapper { width:100%; margin-top:0;float:left }	
}


/* = Blog Section 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */

.blog.home #main article,
.category #main article,
.archive  #main article {
	background:#FFF; border-radius:3px; border:1px solid #ccc; padding:30px
}

.topheader.resultheader  {margin:0 0 10px;font-size: 28px;}
.result_data { display:block; list-style: none outside; padding:10px 0 0 ; clear:both;}
.result_data li { display: inline; padding:0 10px 0 0; color:#888}
.wp-post-image {float:left; margin:0 25px 0 0}



.pagination {display:block; float:left; width:100%; padding:10px 0;  margin-top:10px;text-align:left; line-height:45px}
.pagination>*{ padding:8px; border:1px solid #ccc;  }
.pagination .current {background:#dfdfdf}
.pagination a[rel=prev] {float:left}	
.pagination a[rel=next] {float:right}



/* = Maps Google Map API & InfoWindow Styles
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
.mapcanvas {float:left; width:99%; height:500px; margin: 0 0 20px; border:0 double #ccc}
.iwindow {line-height:18px;width:250px}
.iwindow hr { border:0;margin:10px 0; background:0; border-top:1px solid #ddd; width:100%; clear:both }
.iwindow a {font-size:12px}
.iwindow.hasimg {width:350px}
.iwindow.hasimg hr {float:left;}
.hasimg.hasimg .infoimg {float:left;max-width:100px;margin:0 10px 0 0}

.mapimg{ display:block; height:240px; width:auto; }

/* -- Directions form - active only on single locations -- */
.directions_form {float:left;display:block;border:1px solid #ddd; width:100%}
.directions_form>div {display:block;padding:10px; overflow:hidden}
.directions_form .saddr{float:left; width:75%; padding:10px}
.directions_form strong {display:block}
.directions_form .dbtn {float:right; width:18%; border:0; padding:10px;}

/* -- map_info styles/ Bubble -- */
.map_info {clear:none!important;overflow:hidden; line-height:18px; float:left; cursor:pointer}
.map_info {width:32%;margin:0 1% 10px 0}
.map_info .org, .map_info .line1, .map_info .line2, .map_info .csz, .map_info .tel, .map_info .fax, .map_info .extra {display:block;}
.map_info .full_address {display:block;padding-bottom:10px} 



/* = Bootstrap overwrites
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */

/* change the gutter widths to 25px. Essentially making them 50px in between columns  */ 
.row {
    margin-left: -25px;
    margin-right: -25px;
}
.col-xs-25, .col-md-25, .col-lg-25,
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 25px;
    padding-right: 25px;
}

.container, .fwpadded  { padding-left:25px; padding-right:25px}


/* Change the width of the container for med screens*/
@media (min-width: 1280px) {
  .container {
    width: 1280px;
  }
}


/* = Framework overwrites
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */

[class*="qcol-"] { 
    -webkit-column-gap: 50px; /* Chrome, Safari, Opera */
    -moz-column-gap: 50px; /* Firefox */
    column-gap: 50px;	
}

	
