/*
Theme Name: Optimizer PRO Madison Logic Child
Template: optimizer_pro

CSS Customizations for Madison Logic
*/

/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'),
       url('css/open-sans-v15-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('css/open-sans-v15-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-300italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'),
       url('css/open-sans-v15-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('css/open-sans-v15-latin-300italic.woff') format('woff'); /* Modern Browsers */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('css/open-sans-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('css/open-sans-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: local('Open Sans Italic'), local('OpenSans-Italic'),
       url('css/open-sans-v15-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('css/open-sans-v15-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('css/open-sans-v15-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('css/open-sans-v15-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('css/open-sans-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('css/open-sans-v15-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-800 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
       url('css/open-sans-v15-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('css/open-sans-v15-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body {
	-webkit-font-smoothing: antialiased;
	font-size: 18px !important;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.6em;
}

sup, sub {
  vertical-align: baseline;
  position: relative;
  line-height: normal;
  top: -1.4em;
  font-size: .4em;
}
sub { 
  top: 1.4em; 
}

strong, b {
	font-weight: 600;
}

/** Header **/
span.desc {
   display: none;
}

#topmenu > div > ul > li:last-child a { /* a[href="http://go.madisonlogic.com/WF-2017-Demo-Request_Request-Demo.html"] */
	display: inline-block;
    color: #fff;
    background: #DD7D26;
    font-weight: 700;
    padding-top: 12px;
    padding-bottom: 12px;
}
#topmenu  > div > ul > li.menu_hover:last-child a {
	color: #fff;
	border: none !important;
	opacity: 0.8;
	padding-top: 12px;
    padding-bottom: 12px;
}

#topmenu  ul.menu > li:last-child:hover:after {
	background: transparent;
}

#topmenu ul li ul {
	width: 240px;	
}

#topmenu ul#menu-top-client-menu li ul {
	right: 0;
}

#topmenu ul#menu-main-nav li:first-child > ul {
	width: 400px;
}

#topmenu ul li ul li {
	text-align: left;
}

#topmenu ul li ul:not(.mega-sub-menu) {
    background: rgba(0, 0, 0, 0.9)!important;
}

#topmenu ul li ul li a:hover {
	background-color: transparent;
	color: #DD7D26 !important;
}

#topmenu ul li ul li ul {
	position: relative;
	left: auto;
	right: auto;
	margin-top: 0;
	width: 100%;
	display: block;
    /*opacity: 0.8;*/
    animation: none !important;
}
#topmenu ul li ul li ul  ul:not(.mega-sub-menu) {
	background: transparent !important;
}
#topmenu ul li ul li ul li a {
	padding-left: 15%;
    width: 75%;
}

.headsearch_on .header_s.head_search {
	position: relative;
}

.header_s.head_search form {
	top: 44px;
    right: 0px;
}

#topmenu {
    margin-top: 20px;
}


#topmenu ul li.menu_hover a {
	
}

#topbar_client_menu {
	float: right;
}

.snapright {
	float: right;
}

.headsearch_on .header_s.head_search {
    margin-top: 15px;
     padding-left: 18px;
}

.head_search input {
    border-radius: 0;
    border: solid 1px #333;
}

.sidr ul li span {
	padding: 25px 20px;
}

/* Slideshow text */
.stat_content_inner {
	padding: 0 0 72px 0;
}

.stat_content_inner .static_slide_conwrap {
	width: 60%;
}
.stat_content_inner h1 {
	font-size: 64px;
	font-weight: 300;
	line-height: 1.125;
	margin: 0;
}
.stat_content_inner p {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
	margin: 12px 0 0 0;
}

.stat_content_inner .cta_buttons {
	text-transform: uppercase;
}

.cta_buttons a {
	padding: 5px 30px;
}

.cta_buttons a.static_cta1.cta_square:hover,
.cta_buttons a.static_cta1.cta_square:active {
	background: #DD7D26 !important;
}

.cta_buttons a.static_cta1.cta_square {
	background: transparent !important;
	border: 2px solid #DD7D26;
}

.cta_buttons a.lts_button:hover {
	opacity: 1;
}

/*Homepage textbars */
.frontpage_sidebar .text_block h1 {
	font-size: 30px;
	font-weight: 300;
}

/* Client logos */
.ast_clientlogos .homeposts_title {
	margin-top: 0;
}

.clients_logo_nav {
	margin: 0;
	padding: 0 50px;
}

.clients_logo_nav.clients_nav_on .center {
	padding: 0;
}

.clients_logo_nav.clients_nav_on .buttons svg polyline {
	stroke: #DD7D26;
}

.clients_logo ul li {
    vertical-align: middle;
}

.client_logoimg {
	margin: 15px 20px;
    filter: url('css/filters.svg#grayscale'); /* Firefox 3.5+ */
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(1); /* Webkit Nightlies, Google Chrome Canary and Microsoft Edge*/
}

/* Homepage testimonials */
.home_testi .looper ul {
	text-align: left;
}

.testi_content {
	font-size: 30px;
	font-style: 400;
	font-weight: 100;
	line-height: 1.25;
	opacity: 1 !important;
}

#optimizer_front_testimonials-7 .testi_content,
#optimizer_front_testimonials-7 .testi_author a,
#optimizer_front_testimonials-7 .testi_occu {
	opacity: 1;
}

img.testi_avatar {
	width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    margin: 10px 20px 0px 0;
    float: left;
}

.testi_author {
	font-weight: 400;
	margin: 10px 0 0 0;
	text-transform: uppercase;
}
.testi_author a,
.testi_author a:link, 
.testi_author a:visited {
	color: #fff !important;
	font-size: 30px;
	font-weight: normal;
}

.testi_occu {
	color: #DD7D26 !important;
	font-size: 20px;
	font-weight: normal;
	text-transform: uppercase;
}

.home_testi_inner nav {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 9;
}

.looper-nav > li {
	display: block;
	font-size: 16px;	
}

.looper-nav > li a {
    color: #808080;
}

.looper-nav > li.active a,
.looper-nav > li.active a:hover {
    color: #808080;
}

.looper-nav li.active span {
	opacity: 0.7;
}

.looper-nav.has_bg li.active a span {
    background: #808080;
}

/* Homepage Blocks */
h2.block_header {
	font-size: 36px;
	font-weight: 100;
}

.midrow_block {
	padding: 1% 3% 3% 3%;
}

.block_content h3 {
	font-size: 30px;
	font-weight: 300;
	margin: 0;
	text-transform: none !important;
	line-height: 1.2;
    padding-bottom: 10px;
}

.block_content p {
	font-size: 18px; /* 16px; */
	line-height: 1.5;
	margin: 0;
}

.block_content a {
	font-weight: 700;
	color:  #DD7D26 !important;
}
.block_content a:after {
	content: '\00a0\00BB';
}
.block_content a:hover {
	text-decoration: underline;
}

/* Demo request link & CTA's */

.home_action_button {
	border: solid white 2px !important;
	border-radius: 0 !important;
	display: inline-block;
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .05em;
    transition: all;
}

.home_action_button:hover {
	opacity: 1 !important;
}

.home_action_button:hover {
	color: #fff !important;
	background-color: rgba(255,255,255,0.2) !important;
}

/** Page styles **/
.optimizer_front_cta .home_action {
	background-position: right center;
	/*text-shadow: 0px 0px 10px rgba(0,0,0,0.85);*/
}

.page_head .pagetitle_wrap {
	margin: 60px auto;	
}

.page_head h1 {
	text-transform: none;
}

.page .page_head .postitle,
.page .single_post .postitle,
.archive .single_post .postitle {
	font-size: 60px;
	font-weight: 200;
	line-height: 1;
}

.home_action h1 {
	font-size: 60px;
	line-height: 1.125;
	font-weight: 300;
}
.home_action h2 {
	font-size: 48px;
	line-height: 1.125;
	font-weight: 300;
}
.home_action h3 {
	font-size: 36px;
	line-height: 1.125;
	font-weight: 300;
}


@media screen and (max-width: 960px) {
	div:not(#optimizer_front_cta-38):not(#optimizer_front_cta-40) .home_action_button_wrap {
	    margin-top: 0!important;
	    margin-bottom: 0!important;
	}
}

div:not(#optimizer_front_cta-38):not(#optimizer_front_cta-40) > div > div > div > .home_action_left {
	display: inline-block !important;
    width: auto !important;
    float: none !important;
    text-align: center !important;
}
div:not(#optimizer_front_cta-38):not(#optimizer_front_cta-40) > div > div > div > .home_action_right {
    right: auto !important;
    display: inline-block !important;
    float: none !important;
    margin-bottom: -12px;
}


.page_head .pagetitle_wrap {
 /*   margin: 3% auto;*/
}

.page .page_head.has_header_img  .postitle {
	color: #fff;
}

.page .page_head .postitle {
	font-size: 60px !important;
    line-height: 1;
    font-weight: 300;
    text-transform: none !important;
    margin: 0.67em 0 !important;
}

.text_block_content a,
.text_block_content a:hover,
.text_block_content a:active,
.text_block_content a:visited {
	color: #DD7D26 !important;
	font-weight: 700;
}

.text_block_content a:hover,
.text_block_content a:active {
	text-decoration: underline;
}

.text_block_wrap {
	font-size: 18px; /* 16px; */
    line-height: 1.6;
}

.text_block_wrap .valignm {max-width: 750px;}

.text_block_content h1 {
	font-size: 36px;
	font-weight: 300;
}

.text_block_content h2 {
	font-size: 30px;
	font-weight: 300;
}

.text_block_content h3 {
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3
}

.text_block_content h4 {
	font-size: 24px;
	font-weight: 300;
}
.text_block_content h4 strong {

}
.text_block_content h5 {
	font-size: 20px;
	font-weight: 600;
}

.colclear {
	height: 2em;
}

.page_head img {
    min-height: fit-content !important;
}

.page_head.has_header_img {
	height: 260px;
}

.thn_post_wrap iframe {
	max-width: 100%;
}

.shortcol {
	position: relative;
}
.valignm {
	display: block;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform:  translate(-50%, -50%);
  transform:  translate(-50%, -50%);
}
.valignm > * {
	max-width: 100%;
}
@media screen and (max-width: 480px) {
	.valignm {
	    position: relative;
	    top: auto;
	    left: auto;
	    transform: none;
	    width: auto;
	}
}

/* Success stories */
#post-4584 .lts_layout2 .listing-item h2 a:hover {
	color: inherit;
	text-decoration: underline;
}

/* Why Madison Logic page text exceptions */
.page-id-5418 .text_block_content p,
.page-id-5418 .home_action p {
	font-size: 18px;
	line-height: 27px;
}

.page-id-5418 .home_action p {
	margin: 0;
}

.page-id-5418 .text_block_content p strong {
	color: #DD7D26;
	font-size: 30px;
	font-weight: 400;
	line-height: 27px
}

.page-id-5418 .cta_button_center .home_action_button:hover {
	background: #DD7D26 !important;
	opacity: .7 !important;
}

.page-id-5418 #optimizer_front_cta-38 .button_flat,
.page-id-5418 #optimizer_front_cta-40 .button_flat {
    color: #dd7d26;
    background-color: #fff;
    border: #dd7d26 solid 2px !important;
}
.page-id-5418 #optimizer_front_cta-38 .button_flat a,
.page-id-5418 #optimizer_front_cta-40 .button_flat a {
	color: #dd7d26;
}

.page-id-5418 #optimizer_front_cta-38 .button_flat:hover,
.page-id-5418 #optimizer_front_cta-40 .button_flat:hover {
	color: #fff !important;
    background-color: #dd7d26 !important;
}
.page-id-5418 #optimizer_front_cta-38 .button_flat a:hover,
.page-id-5418 #optimizer_front_cta-40 .button_flat a:hover {
	color: #fff !important;
}


/** Full-bleed edits **/
.text_block .center {
    width: 85% !important;
}


/** Footer Widgets **/
#footer .widgets {
	padding: 10px 0 0 0;
}

#footer .widgets li.widget:first-child {
    width: 28% !important;
    margin-right: 3%;
}
#footer .widgets .widget:first-child:nth-last-child(5),
#footer .widgets .widget:first-child:nth-last-child(5) ~ .widget {
	width: 15%;
}

#footer .widgets li.widget a:hover, 
#footer .widgets li.widget a:active,
#copyright a:hover,
#copyright a:active {
	text-decoration: underline;
}

#footer .widgets .widgettitle {
	line-height: 1;
	margin-top: 1.25em;
    margin-bottom: 0;
    min-height: 2.5em;
}

#footer .widgets .widget ul li:first-child {
	padding-top: 0;
}

#copyright a,
#copyright {
    color: #ACACAC;
}

.copytext {
	font-size: 12px;
	line-height: 1;
	margin: 0 20px 0 0;
	padding: 40px 0;
	text-transform: uppercase;
}
.copytext p {
	margin: 0;
}
#copyright .copytext {
	width: auto !important;	
}

.foot_right_wrap {
	color: #ACACAC;
	font-size: 12px;
	float: left;
    padding: 0;
    line-height: 1;
	text-transform: uppercase;
}

#footer_menu {
	margin: 40px 0;
}

#footer_menu ul li {
	padding: 0px 5px;
}

/** Small screen styles, up to iPad portrait **/
@media only screen and (max-width: 768px)  {
	
	body .stat_content_inner .center {
		width: 100% !important;
	}
	
	#stat_img.stat_has_img {
		min-height: 300px;
	}
	
	.stat_content_inner h1,
	.home_action h1,
	.page .page_head .postitle {
		font-size: 32px;
	}
	
	.home_action h2 {
	    font-size: 28px;
	}
	
	.home_action h3 {
    	font-size: 24px;
	}
	
	.stat_content_inner p {
		font-size: 20px;
	}
	
	.stat_content_left .stat_content_inner .center {
		margin-left: 0;
	}
	
	.frontpage_sidebar .text_block h1 {
		font-size: 20px;
	}
	
	.ast_clientlogos .homeposts_title {
		margin: 0;
	}
	
	.clients_logo_nav {
		margin: 0;
		padding: 0 20px 10px;
	}
	
	.clients_logo_nav .next {
		right: -30px;
	}
	
	.clients_logo_nav.clients_nav_on .center {
		padding: 10px;
	}
	
	.home_testi_inner {
		padding: 0;
	}
	
	.testi_content {
		font-size: 20px;
	}
	
	.testi_author a,
	.testi_author a:link,
	.testi_author a:visited {
		font-size: 20px;
	}
	
	.testi_occu {
		font-size: 15px;
	}
	
	h2.block_header {
		font-size: 24px;
	}
	
	
	.block_content h3 {
		font-size: 20px;
	}
	
	.text_block_content h3 {
	    font-size: 18px;
	}
	
	.text_block_content h1 {
		font-size: 30px;
	}
	
	.text_block_content h2 {
		font-size: 24px;
	}
	
	.text_block_content h3 {
		font-size: 24px;
	}
	
	.text_block_content h4 {
		font-size: 18px;
	}
	
	.text_block_content h5 {
		font-size: 16px;
	}
	
	.colclear {
		height: 1.2em;
	}
	
	/* Why Madison Logic page text exceptions */
.page-id-5418 .text_block_content p,
.page-id-5418 .home_action p {
	font-size: 14px;
	line-height: 22px;
}

.page-id-5418 .text_block_content p strong {
	color: #DD7D26;
	font-size: 24px;
	font-weight: 400;
	line-height: 22px
}
	
	
}/** eo max-width: 768px **/

/** ipad / small desktops  **/
@media only screen and (max-width: 1152px) {
	
	.page_head.has_header_img {
		height: 140px;
	}
	
	.page .page_head .postitle {
	    font-size: 32px !important;
	}
	
	.page_head .pagetitle_wrap {
	    margin: 32px auto;
	}
	
	.clients_logo_nav {
		margin: 10px 0 0;
	}
	
	.clients_logo_nav.clients_nav_on .center {
		padding: 20px;
	}
	
	#footer .widgets li.widget:first-child {
		width: 98% !important;
	}
	
	
}/** eo max-width: 1152px **/

@media screen and (max-width: 480px) {
	#footer .widgets .widget {
	    width: 98%!important;
	}
	#footer .widgets .widget:not(:first-child) .widget_wrap {
		 width: 85%;
	    margin: 0 auto;
	}
}
@media screen and (min-width: 480px) and  (max-width: 1152px) {
	#footer .widgets .widget {
		width: 47% !important;
	}
}


/** Larger than iPad portrait, eg tablets & medium desktops **/
@media only screen and (max-width: 1365px) {
	
	
	.stat_content_inner .static_slide_conwrap {
		width: 100% !important;
	}
	
}/** eo max-width: 1365px **/

/** medium desktops **/
@media only screen and (max-width: 1600px) {
	
	.stat_content_inner .static_slide_conwrap {
		width: 80%;
	}
	
	.frontpage_sidebar .text_block h1 {
	    font-size: 28px;
	}
	
}/** eo max-width: 1600px **/

/** medium/large... desktops **/
@media only screen and (min-width: 1601px and max-width: 1920px) {
	
	.stat_content_inner .static_slide_conwrap {
		width: 70%;
	}
	
}/** eo max-width: 1920px **/

/** hamburger search **/
@media screen and (max-width: 960px) {
	body .headsearch_on .header_s.head_search.head_s_on form {
	    width: 100% !important;
	}
}
@media screen and (min-width: 961px) {
	body.is-ios #simple-menu {
		display: none !important;
	}
}
	
