/**
 * Theme Name: Delba J. Pena 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 {font-family:Arial, Tahoma, Helvetica, sans-serif; color:#2a2a2a; font-size:15px; line-height:30px}

h1, h2, h3, h4, h5, h6 { margin:60px 0 40px; padding:0; color:#2a2a2a; font-weight:normal; text-transform:none}

	H1{font-size:46px;line-height:56px; /*color:#222 */}
	H2{font-size:38px;line-height:48px; /*color:#a9976e */}
	H3{font-size:28px;line-height:38px; text-transform: uppercase; margin-bottom: 20px!important}
	H4{font-size:24px;line-height:34px; margin-bottom: 20px!important}
	H5{font-size:22px;line-height:32px; color:#a9976e}
	H6{font-size:20px;line-height:30px}
	
	.topheader {margin:0 0 60px;}
	.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:#a2894f; text-decoration:none}
	a:hover {color:#2a2a2a; 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}


p, .rowlikep {margin:0 0 40px}

/* Block Quote styling */
blockquote {border-left:10px solid #a9976e;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:#a9976e;}

	.home #main,.home #hpdoc{display:none}
	.comments-link{display:none!important;}
	#respond{display:none;}
	.author{display:none!important;}






/* -- 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:#c6b795; color:#FFF; padding:15px 20px; text-decoration:none; border:0; border-radius:0; cursor:pointer; text-transform:uppercase;}
	.btn.btnc:hover {background:#a9976e; color:#FFF; text-decoration:none}
	

/* 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 #a9976e}
.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:#a9976e;}
.nav-tabs.tabsc >.active >a,
.nav-tabs.tabsc >li >a:focus,
.nav-tabs.tabsc >li >a:hover {background:#a9976e; color:#FFF}
.tab-content.tabsc {	background:#EFEFEF; padding:20px}

/* Table Styling */	
.table.tablec tr th  {background:#a9976e; 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}
	

.wrapper {float:left;width:100%}

.btnline_right {position:relative;z-index:0; margin:-35px 0 20px;width:63%;margin-left:38%;overflow:hidden;border-color:#c6b795;}
.btnline_left {position:relative;z-index:0;margin:-27px 0 -105px;width:57%;margin-left:0;overflow:hidden;border-color:#c6b795;}

@media screen and (max-width:1280px){
	.btnline_right {width:58%;margin:-30px 0 20px 43%}
}
@media screen and (max-width:1200px){
	.btnline_right {width:48%;margin:-30px 0 20px 50%}
}
@media screen and (max-width:992px){
	.btnline_right {margin:-30px 0 40px 50%}
}
@media screen and (max-width:768px){
	.btnline_right {display:none;}
}


.pdf a{background:url(images/structure/pdf.png)no-repeat; padding:0 30px 10px;}
.pdf li{list-style:none;}
ul.pdf {padding: 0!important}

.nobullets {list-style:none outside; padding-left:0; text-transform: uppercase; font-size: 18px; line-height: 30px}

#main h3 {border-left: 10px solid #a9976e ;padding: 0 20px;}
#main .main_aside h3 {border: none!important ;padding: 0 5px!important;}
#main .main_aside .nobullets {padding-left: 15px!important; margin-top: 5px!important}


/* = Topbar
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#topbar {background:#c6b795; padding:8px;text-transform:uppercase}

#topbar address {margin:0;background:url(images/structure/location_icon.png) left no-repeat;padding:10px 0 10px 55px}
#topbar address>a {color:#2a2a2a;font-size:12px;letter-spacing:2px}
	#topbar address>a:hover {color:#837a64}

#topbar hr.top {border-color:#d8cbae;width:130%;margin:23px auto 0 -43px}

#topbar .tel {font-size:21px;color:#2a2a2a;background:url(images/structure/phone_icon.png) left no-repeat;padding:10px 0 10px 55px;vertical-align:-webkit-baseline-middle}
	#topbar .tel:hover {color:#837a64}

@media screen and (max-width:1280px){
	#topbar address>a {letter-spacing:1px}
}
@media screen and (max-width:1200px){
	#topbar hr.top {width:136%;margin:23px auto 0 -60px}
}
@media screen and (max-width:992px){
	#topbar hr.top {width:208%;margin:24px auto 0 -35px}
}
@media screen and (max-width:767px){
	#topbar address, #topbar .tel {background:0;padding-left:0}
	#topbar address {border-bottom:1px solid #d8cbae}
	#topbar .tel {display:block;margin:0 0 -6px}
}

#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}
}

#topbar .am-social-svg {margin-top:5px!important}

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

#header {background:rgba(255,255,255,0.9);position:relative;z-index:10;border-bottom:1px solid #c6b795}
.home #header {border:0}

#header #logo img {max-width:100%;padding:46px 0}
#header .topright {padding:20px 0}


@media screen and (max-width:992px){
	#header .topright {padding:0}
}

/* = Main Navigation 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#navigation {background:#fff; border-bottom:0; overflow: visible}

	/* Dropdown Style */
	#mainmenu{margin:0; float:left;}
		
	#mainmenu_med {float:right}
		
	#mainmenu>li>a, #mainmenu_med>li>a{font-size:15px;line-height:15px;padding:20px 24px;
	color:#3f3e3d;text-transform: capitalize; font-weight:400;
	/* background:url(images/structure/nav_divider.jpg) center right no-repeat; */}

	#mainmenu>li.first>a, #mainmenu>li:first-child>a, #mainmenu_med>li.first>a, #mainmenu_med>li:first-child>a{padding-left:0}
	#mainmenu>li.last>a, #mainmenu>li:last-child>a, #mainmenu_med>li.last>a, #mainmenu_med>li:last-child>a{background:0; padding-right:0}
	#mainmenu>li:hover>a, #mainmenu_med>li:hover>a{color:#c6b795}

	#mainmenu>li.first, #mainmenu_med>li.first {margin-left: 0;}
	#mainmenu>li.last, #mainmenu_med>li.last {margin-right: 0;}

	/* #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, #mainmenu_med ul{width:200px;margin-top:0}
	#mainmenu li li a, #mainmenu_med li li a{color:#fff;font-size:14px;padding:10px 24px;margin:0;background:#c6b795}
	#mainmenu li ul a:hover, #mainmenu_med li ul a:hover{color:#FFF;background:#a9976e}
	#mainmenu > li > ul.sub-menu{margin-top:0; margin-left: 20px;}
	#mainmenu li.first > ul.sub-menu{margin-left: 0;}

	#mainmenu_med > li > ul.sub-menu{margin-top:0; margin-left: 13px;}
	#mainmenu_med li.first > ul.sub-menu{margin-left: 0;}

@media screen and (min-width:768px){
	#mainmenu {display:none!important}
}
@media screen and (max-width:768px){
	#mainmenu_med {display:none!important}
	#mainmenu {display:block!important}
}



	/* 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:#3f3e3d; 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 #3f3e3d;
								/*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:#3f3e3d; padding-left:20px}		
		#mainmenu_accordion>li>ul>li a:hover {color:#c6b795;}
		
		#mainmenu_accordion>li>ul>li li a { background:#c6b795;color:#fff; padding:0 0 0 40px;}	
			#mainmenu_accordion>li>ul>li li a:hover { background:#a9976e;color:#fff;}	
		#mainmenu_accordion>li>ul>li li li a {background:#c6b795;color:#fff; padding:0 0 0 50px;}
			#mainmenu_accordion>li>ul>li li li a:hover { background:#a9976e;color:#fff;}
		#mainmenu_accordion>li>ul>li li li li a {background:#c6b795;color:#fff; padding:0 0 0 60px;}	
			#mainmenu_accordion>li>ul>li li li li a:hover { background:#a9976e;color:#fff;}	

		/* 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_med>li>a{padding:20px 11px}	
}
@media screen and (max-width:992px){
	#navigation {border-top:1px solid #c6b795}
}



/* = Banner/Graphic - Carousel
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#graphic {background:0;top:-145px;margin-bottom:-145px;float:left;width:100%}
#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:#a9976e}
@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:67%; right:0; left:0; bottom:0; text-align:left; padding:0; max-width:1240px; display:block; margin:0 auto;}
.carousel-caption > * {color:#fff; text-shadow:none;}
.carousel-caption .title {color:#fff; font-size:102px; line-height:75px; margin:0 0 20px 0; text-transform:none;}
.carousel-caption p {font-size:24px; line-height:28px; margin:0;text-transform:uppercase}
.carousel-caption .caption {background:url(images/structure/diamond_trail.png) top left no-repeat;padding:0 0 0 95px}


@media screen and (max-width:2300px){
	.carousel-caption .title {font-size:95px;}
}
@media screen and (max-width:2200px){
	.carousel-caption .title {font-size:90px;}
}
@media screen and (max-width:2100px){
	.carousel-caption .title {font-size:85px;}
}
@media screen and (max-width:2000px){
	.carousel-caption .title {font-size:80px;}
}
@media screen and (max-width:1900px){
	.carousel-caption .title {font-size:75px;line-height:70px}
}
@media screen and (max-width:1800px){
	.carousel-caption .title {font-size:70px;line-height:65px}
}
@media screen and (max-width:1680px){
	.carousel-caption .title {font-size:65px;line-height:60px}
}
@media screen and (max-width:1500px){
	.carousel-caption .title {font-size:60px;line-height:55px}
}
@media screen and (max-width:1380px){
	.carousel-caption .title {font-size:55px;line-height:50px}
}
@media screen and (max-width:1279px){
	#graphic {top:-140px;margin-bottom:-140px}
	.carousel-caption {max-width:1120px}
	.carousel-caption .title {font-size:50px;line-height:55px}
}
@media screen and (max-width:1200px){
	#graphic {top:-131px;margin-bottom:-131px}
	.carousel-caption {max-width:920px}
	.carousel-caption .title {font-size:45px;line-height:50px}
}
@media screen and (max-width: 992px) {
	#graphic {top:initial;margin:0}
	.carousel-caption {position:relative; text-align:center; padding:20px 20px 40px;}
	.carousel-caption .title {font-size:40px; line-height:45px;}
	.carousel-caption p {font-size:20px; line-height:24px;}
	.carousel-caption .caption {background:0;padding:0}
}



/* -- INDICATORS -- */
.carousel-indicators li {border:1px solid #fff; background:#fff;}
.carousel-indicators li.active {border:1px solid #c6b795; background:#c6b795;}
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);
    }
}


/* = Highlights
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#highlights {background:url(images/structure/highlights_bkg-new.png) repeat-x;padding:50px 0 0}

#highlights .hl {width:100%}

#highlights span {display:block;background:rgba(255,255,255,0.8);color:#000000;text-transform:capitalize;font-size:20px;margin:-110px 0 0;padding:25px 0;position:relative;border-bottom:1px solid #c6b795}
#highlights .hl_holder:hover span {background:rgba(198,183,149,0.8);color:#fff}

#highlights .diamond {margin:-95px auto 0;position:relative}

@media screen and (max-width:1200px){
	#highlights {background-size:contain}
}
@media screen and (max-width:992px){
	#highlights .hl {width:initial}
	#highlights span {width:309px;margin:-110px auto 0}
}
@media screen and (max-width:768px){
	#highlights {background-size:cover}
}

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


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

#main {background: #f2f1ed; padding:60px 0;}
.home #main {padding:40px 0 90px}

.home #main h1.topheader {font-size:36px;margin:-5px 0 40px}

.home #main .nolftpad {padding-left:0}
.home #main .norgtpad {padding-right:0}

.home #main p {margin:0 0 20px}
.home #main .btn.btnc {margin-top:40px;padding:20px 56px}


@media screen and (max-width:1500px){
	.home #main h1.topheader {font-size:34px;line-height:34px}
}
@media screen and (max-width:1315px){
	.home #main .nolftpad, .home #main .norgtpad {padding:0 25px}
}
@media screen and (max-width:1280px){
	.home #main h1.topheader {font-size:32px;line-height:32px}
}
@media screen and (max-width:1200px){
	.home #main h1.topheader {font-size:30px;line-height:30px}
}
@media screen and (max-width:992px){
	.home #main h1.topheader {font-size:28px;line-height:28px}
}
@media screen and (max-width:768px){
	#main {padding:50px 0}
	.home #main h1.topheader {font-size:26px;line-height:26px;margin:0 0 40px}
}

/* Hide the breadcrumbs on the homepage */
.home #main #breadcrumbs {display:none;}
#main #breadcrumbs {color:#c6b795; margin-bottom: 5px!important}
#main #breadcrumbs a {color:#000}

	
.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}


/* = Doctor 
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#hpdoc {background:#f2f1ed; padding:90px 0;}

#hpdoc h2.topheader {font-size:36px;margin:-5px 0 27px}

#hpdoc .nolftpad {padding-left:0}
#hpdoc .norgtpad {padding-right:0}

#hpdoc p {margin:0 0 20px}
#hpdoc .btn.btnc {margin-top:40px;padding:20px 97px}

#hpdoc .btnline_right {width:58%;margin-left:43%}


@media screen and (max-width:1500px){
	#hpdoc h2.topheader {font-size:34px;line-height:34px}
}
@media screen and (max-width:1315px){
	#hpdoc .nolftpad, #hpdoc .norgtpad {padding:0 25px}
}
@media screen and (max-width:1280px){
	#hpdoc h2.topheader {font-size:32px;line-height:32px}
}
@media screen and (max-width:1200px){
	#hpdoc h2.topheader {font-size:30px;line-height:30px}
	#hpdoc .btnline_right {width:52%;margin-left:49%}
}
@media screen and (max-width:992px){
	#hpdoc h2.topheader {font-size:28px;line-height:28px}
	.btnline_right {margin:-30px 0 40px 50%}
}
@media screen and (max-width:768px){
	#hpdoc {padding:50px 0}
	#hpdoc h2.topheader {font-size:26px;line-height:26px;margin:0 0 40px}
}


/* = Testimonials
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#testimonials {padding:90px 0;color:#2a2a2a}

#testimonials h2.topheader {font-size:36px;}

#testimonials .tml {margin:0;padding:0}
#testimonials .tml li {list-style:none;background:url(images/structure/diamond.png) left top no-repeat; padding:0 40px 23px;font-style:italic}

#testimonials .gold {color:#c6b795;font-weight:bold;font-style:normal}

#testimonials hr.line {border-color:#c6b795;width:115%;margin:23px auto 0 -43px}

#testimonials .stars {vertical-align:-webkit-baseline-middle}


@media screen and (max-width:1500px){
	#testimonials h2.topheader {font-size:34px;line-height:34px}
}
@media screen and (max-width:1280px){
	#testimonials h2.topheader {font-size:32px;line-height:32px}
}
@media screen and (max-width:1200px){
	#testimonials h2.topheader {font-size:30px;line-height:30px}
	#testimonials .stars {vertical-align:middle}
	#testimonials hr.line {width:159%;margin:18px auto 0 -82px}
}
@media screen and (max-width:992px){
	#testimonials h2.topheader {font-size:28px;line-height:28px}
	#testimonials hr.line {width:172%;margin:18px auto 0 -75px}
}
@media screen and (max-width:768px){
	#testimonials {padding:50px 0}
	#testimonials h2.topheader {font-size:26px;line-height:26px;margin:0;padding-bottom:20px;border-bottom:1px solid #c6b795}
	#testimonials .stars {padding:20px 0 40px}
}



/* = Quick Contact
-------------------------------------------------------------------------------------------------------------------- 
** Advice Media ** */
#quickcontact {padding:90px 0; color:#FFF}
#quickcontact h2.topheader { color :#FFF }
#quickcontact h2.appt {margin:0 0 70px} 

/* Quick Contact Gravity Forms Overwrites*/
#quickcontact .form-control {background:#fff; height:auto; padding:15px 15px!important; box-shadow:none;}
.ie #quickcontact .form-control {padding:17px 15px!important;}

/*-- removes blue border glow on focus on inputs --*/
#quickcontact  .form-control:focus {
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
   -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/*-- changes color of placeholder --*/
#quickcontact .gform_wrapper .ginput_container input::-webkit-input-placeholder, #quickcontact .gform_wrapper .ginput_container textarea::-webkit-input-placeholder {
  color: #000000;font-size:12px
}
#quickcontact .gform_wrapper .ginput_container input:-moz-placeholder, #quickcontact .gform_wrapper .ginput_container textarea:-moz-placeholder { /* Firefox 18- */
  color: #000000;font-size:12px
}
#quickcontact .gform_wrapper .ginput_container input::-moz-placeholder, #quickcontact .gform_wrapper .ginput_container textarea::-moz-placeholder {  /* Firefox 19+ */
  color: #000000;font-size:12px
}
#quickcontact .gform_wrapper .ginput_container input:-ms-input-placeholder, #quickcontact .gform_wrapper .ginput_container textarea:-ms-input-placeholder {
  color: #000000;font-size:12px
}
#quickcontact .gform_wrapper ul li.gfield {margin-top:10px}
#quickcontact .gform2col .gform_wrapper .textarea_wrapper {margin-top:-183px}
#quickcontact .gform2col .gform_wrapper .gfield {width:50.5%}
#quickcontact .btn.btnc {padding:20px 85px;}


#quickcontact p {display:inline-block;margin:0}
#quickcontact address {display:inline-block;margin:0}
#quickcontact address>a {color:#fff}
	#quickcontact address>a:hover {color:#c6b795}

#quickcontact .hours {display:inline-table;padding:0 0 0 5px;margin:0 0 20px;}
#quickcontact .hours li {margin:-5px 0}
#quickcontact li {list-style:none;}
	
#quickcontact .tel {color:#fff}
	#quickcontact .tel:hover {color:#c6b795}
	
	
@media screen and (max-width:1500px){
	#quickcontact h2.topheader {font-size:34px;line-height:34px}
}
@media screen and (max-width:1280px){
	#quickcontact h2.topheader {font-size:32px;line-height:32px}
}
@media screen and (max-width:1200px){
	#quickcontact h2.topheader {font-size:30px;line-height:30px}
	#quickcontact hr.btnline_left {width:47%;}
}
@media screen and (max-width:992px){
	#quickcontact h2.topheader {font-size:28px;line-height:28px}
	#quickcontact hr.btnline_left {width:53%;margin:-27px 0 35px}
}
@media screen and (max-width:768px){
	#quickcontact {padding:50px 0}
	#quickcontact h2.topheader {font-size:26px;line-height:26px;margin:0 0 40px}
	#quickcontact hr.btnline_left {display:none}
}
@media screen and (max-width:640px){
	#quickcontact .gform2col .gform_wrapper .gfield {width:49%}
	#quickcontact .gform2col .gform_wrapper .textarea_wrapper {margin-top:-210px;}
	#quickcontact .btn.btnc {margin:0}
}
@media screen and (max-width:560px){
	#quickcontact .gform2col .gform_wrapper .textarea_wrapper {margin:0}
	#quickcontact .gform2col .gform_wrapper .gfield {width:100%}
}

/* = 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:70px 0; font-size:13px; line-height:26px; color:#979392;}

#bottom1 a {color:#747474;}
#bottom1 a:hover {color:#c6b795}
	
#bottom1 h3 {margin:0 0 20px; padding:0; font-size:22px; text-transform:capitalize; color:#c6b795}	
#bottom1 ul {list-style:none outside; margin:0; padding:0;}
#bottom1 .borders ul{float:left;width:33.3%}

#bottom1 .borders {border-right:1px solid #f2f1ed;border-left:1px solid #f2f1ed;padding:0 0 0 45px}
#bottom1 .lastgroup {padding:0 0 0 45px}


@media screen and (max-width:992px){
	#bottom1 .borders {border:0;padding:0 25px}
	#bottom1 .lastgroup {padding:0 25px}
	#bottom1 .borders ul{float:none;width:100%}
}
@media screen and (max-width:768px){
	#bottom1 {padding:60px 0}
}

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

#footer {background:#c6b795; padding:20px 0; color:#fff; font-size:13px;}
	#footer a {color:#FFF}
	#footer a:hover {color:#837a64}

#footer ul {margin-bottom:0}



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

.backtotop.styled {	
	position:fixed;bottom:20px;right:20px;width:55px;height:55px; 
	color:#FFF;font-weight:bold; font-size:30px;line-height:50px;
	display:none; text-align:center;background-color:#d8cbae; border:1px solid #d8cbae;
	-webkit-border-radius: 15px;-moz-border-radius: 15px;border-radius: 15px;
	/* 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:#e5e7e8;
	width:100%!important;padding: 6px 12px!important;text-indent: 0!important;
	border-radius:0 !important; border-width:0 !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:173px}
.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:200px}
	.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 }	
}

.page-id-4 #main .form-control {background-color: #FFF!important; border-radius: 3px; border: 1px solid #a9976e!important;}

.main_aside .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-color: #FFF!important; border-radius: 3px; border: 1px solid #a9976e!important}

/* = 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:18px;}
.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:100px; 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} 


@media screen and (max-width: 990px) {
    .directions_form .saddr{width:60%;}
	.directions_form .dbtn {width:30%;}
}

@media screen and (max-width: 768px) {
	.directions_form .saddr{width:100%;}
	.directions_form .dbtn {width:100%;}
}


/* = 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;	
}

/* Side Bar */
.sb-title { margin: -40px 10px 0!important; color:#FFF!important; font-size: 20px!important;}		
.main_aside .mess {font-size:28px;line-height:38px;border-left: 10px solid #a9976e ;padding: 0 20px;}




.am-sticky-toprow .am-sticky-right-info {font-size:13px}

/* -- Call-to-action  -- */
.row.cta {border-top:2px solid #a9976e;padding-top:60px;margin-top:50px}

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

a.cta:hover {
    color: #2a2a2a;
}

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