/*
Theme Name: Total Child
Theme URI: http://totalwptheme.com
Description: Total WordPress theme example child theme.
Author: AJ Clarke
Author URI: http://totalwptheme.com
Template: Total
Version: 1.1
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

html #top-bar-wrap {
    border-color: #eee;
}
@media only screen and (max-width: 850px) {
    html #top-bar-social.top-bar-left, #top-bar-social.top-bar-right {
        position: static;
        left: auto;
        right: auto;
        float: none;
        text-align: center;
        height: auto;
        line-height: 1.5em;
        margin-top: 0;
    }
    html #top-bar-content {
        float: none;
        text-align: center;
    }
    html #top-bar-social a {
        margin-top: 10px;
        display: inline-block;
        float: none;
    }
}
html .page-header.background-image-page-header .page-subheading {
    line-height: 1.2;
}
html #site-header-inner {
    padding-top: 15px;
    padding-bottom: 15px;
}
.is-sticky #site-header {
    border-bottom: 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.is-sticky #site-logo img {
    max-width: 180px;
}
.is-sticky #site-header-inner {
    padding: 10px 0 !important;
}
.page-id-247 #site-header.overlay-header {
    background: url(img/header-shade.png) 0 0 repeat-x;
}
html .navbar-style-one .dropdown-menu > li > a {
    height: 55px;
    line-height: 55px;
    padding: 0 3px;
    border-bottom: 6px solid transparent;
}
html .navbar-style-one .dropdown-menu > li > a > span.link-inner {
    padding: 0.5em 9px;
}
#site-navigation .dropdown-menu > li > a:hover {
    border-bottom-color: #aaaaaa;
}
#site-navigation .dropdown-menu > .current-menu-item > a {
    border-bottom-color: #5470b6;
}
#site-navigation .dropdown-menu ul a {
    padding: 12px 20px;
}

#site-navigation .dropdown-menu >.current-menu-item >a, #site-navigation .dropdown-menu >.current-menu-parent >a, #site-navigation .dropdown-menu >.current-menu-item >a:hover, #site-navigation .dropdown-menu >.current-menu-parent >a:hover {
    background-color: #6e6f71;
}

#site-navigation .dropdown-menu > .current-menu-item > a {
    border-bottom-color: #FA9838;
}

#top-bar-content .sep {
    margin: 0 10px;
}
.top-phone {
    display: inline-block;
}
.top-phone a {
    color: #faa939 !important;
    font-size: 16px;
    font-weight: 900;
}
.request-btn {
    background: #6e6f71;
    border-bottom: 2px solid rgb(51, 51, 51);
    color: #fff !important;
    font-weight: bold;
    padding: 5px 15px;
}
.request-btn:hover {
    text-decoration: none;
    padding: 5px 15px 2px;
    background: #faa939;
    border-bottom: 5px solid rgb(51, 51, 51);
}
#top-bar-social a {
    background: #fff;
    color: #999;
    border: 1px solid #ddd;
    font-size: 14px;
}
#top-bar-social a:hover {
    border-color: #aaa;
}
#top-bar-social a.wpex-social-btn {
    height: 27px;
    line-height: 27px;
    width: 27px;
}

/* PAGE TITLE*/

html .centered-page-header .page-subheading {
    margin: 10px 0;
    color: #f7f7f7;
    font-size: 1.2em;
}

.rev_slider .slotholder > .tp-bgimg {
    position: relative;
}
.rev_slider .slotholder > .tp-bgimg:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 100%;

    background: rgba(35,45,70,.55);

    content: "";
}
.rev_slider li[data-index="rs-3"] .slotholder > .tp-bgimg:after,
.rev_slider li[data-index="rs-4"] .slotholder > .tp-bgimg:after {
    background: rgba(0,0,0,.5) !important;
}
.slider-first-title {
    letter-spacing: 4px;
}

.theme-title-h1,
.theme-title-h2 {
    font-weight: 300;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.uppercase {
    text-transform: uppercase;
}

.separator-dot .vc_sep_holder_l:before {
    content: "";

    display: block;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;

    position: absolute;
    left: 50%;
    margin-left: -9px;
    top: -6.5px;
    z-index: 1;
}
.separator-dot .vc_sep_holder_l:after {
    content: "";

    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;

    position: absolute;
    left: 50%;
    margin-left: -3px;
    top: 0;
    z-index: 2;
}
html .vc_separator.vc_sep_color_orange .vc_sep_line {
    border-color: #DB5F46;
}

.separator-dot.vc_sep_color_orange .vc_sep_holder_l:before {
    border: 3px solid #db5f46;
}
.separator-dot.vc_sep_color_orange .vc_sep_holder_l:after {
    background: #db5f46;
}
.separator-dot.vc_sep_color_grey .vc_sep_holder_l:before {
    border: 3px solid #EBEBEB;
}
.separator-dot.vc_sep_color_grey .vc_sep_holder_l:after {
    background: #EBEBEB;
}

.inline-buttons {
    text-align: center;
}
.inline-buttons .theme-button-wrap {
    display: inline-block;
}

.custom-teaser-box-media > div {
    padding: 0 !important;
}

.request-btn-middle .theme-button-wrap {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#text-3 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html .footer-widget .widget-title {
    margin-top: 0;
    margin-bottom: 10px;
}

html .footer-box.span_1_of_3 {
    padding-left: 40px !important;
    padding-right: 40px !important;
}
@media (max-width: 958px) {
    html .footer-box.span_1_of_3 {
        padding-left: 15px !important;
        padding-right: 25px !important;
    }
}

html .wpex-widget-recent-posts-li {
    padding-top: 10px;
    padding-bottom: 10px;
}
html .wpex-widget-recent-posts-li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

@media (max-width: 1200px) {
    .footer-copy-text {
         display: block;
         text-align: center;
    }
    #footer-bottom #footer-bottom-menu {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        margin: 0;
        text-align: center;
        height: auto;
        line-height: inherit;
    } 
    #footer-bottom #footer-bottom-menu ul li {
        float: none;
        display: inline-block;
        height: auto;
        line-height: inherit;
        margin-top: 10px;
    }
}

/* ============== REQUEST FORM ================= */
.wpcf7 .wpcf7-not-valid {
    border: 2px solid red !important;
}
.wpcf7-validation-errors {
    margin-top: 20px;
}

html input.error {
    border: 3px solid red !important;
}
.request-form-col {
    display: block;
    width: 23%;
    margin: 0 1%;
    float: left;
}
.request-form-col input {
    width: 100%;
    border: 3px solid #ffffff!important;
    font-size: 20px;
    color: #222222;
}
.request-form-msg {
    display: block;
    width: 98%;
    float: left;
    margin: 20px 1% 0;
}
.request-form-msg textarea {
    width: 100%;
    max-height: 100px;
    border: 3px solid #ffffff!important;
    font-size: 20px;
    color: #222222;
}
.request-form-btn {
    display: block;
    width: 98%;
    margin: 20px 1% 0;
    float: left;
}
.request-form-btn input[type="submit"] {
    border: 3px solid #222222;
    background-color: #222222;
    padding: 8px 50px;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    margin: 0 auto;
    display: block;
    color: #fff;
}
.request-form-btn input[type="submit"]:hover {
    color: #fff;
    border: 3px solid #fff;
    background-color: #6e6f71;
}
.request-form-col input:hover,
.request-form-col input:focus,
.request-form-msg textarea:hover,
.request-form-msg textarea:focus {
    border: 3px solid #6e6f71 !important;
    outline:none;
}
@media (max-width: 991px) {
    .request-form-col {
        width: 48%;
        margin: 0 1% 20px;
    }
    .request-form-msg {
        margin: 0 1%;
    }
}
@media (max-width: 767px) {
    .request-form-col {
        width: 98%;
    }
}
.vcex-blog-entry-details {
    border: 0 !important;
}
@media (max-width: 485px) {
    .top-text {
        display: none;
    }
}
@media (max-width: 365px) {
    .request-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    .top-phone a {
        font-size: 14px;
    }
}
.theme-button.outline {
    border-color: #faa939 !important;
}
#footer a:hover,
#footer-bottom a:hover {
    color: #faa939 !important;
}


/* SIDEBAR FORM */

.sidebar-form, .sidebar-form--events {
    border: 1px solid #676767;
    padding-bottom: 30px;
}

.sidebar-form--events {
    width: 80%;
    margin: 0 0 30px;
}
@media (max-width: 767px) {
    .sidebar-form--events {
        width: 100%;
    }
}
.sidebar-form--head {
    display: block;
    background: #676767;
    text-align: center;
    padding: 15px;
    margin: -1px -1px;
    font-size: 18px;
    line-height: 24px;
    color: #fff;
}
.sidebar-form--field {
    width: 90%;
    margin: 0 5% 20px;
}
.sidebar-form--field input[type="text"], .sidebar-form--field input[type="email"], .sidebar-form--field textarea {
    width: 100%;
}
.sidebar-form--field textarea {
    height: 80px;
}
.sidebar-form--field input[type="text"], .sidebar-form--field input[type="email"], .sidebar-form--field select {
    height: 38px;
}
.sidebar-form--field input[type="text"], .sidebar-form--field input[type="email"], .sidebar-form--field select, .sidebar-form--field textarea {
    display: block;
    font-size: 16px;
    color: #6e6f72;
    margin-bottom: 15px;
    padding: 0 10px;
    outline: none !important;
    border: 1px solid #bbb;
    transition: all .3s;
    background: #fff;
}
.sidebar-form--field input[type="text"]:focus, .sidebar-form--field input[type="email"]:focus {
    border: 1px solid #676767;
}
.sidebar-form--field input[type="submit"] {
    display: block;
    width: 100%;
    color: #fff;
    background: #FAAA38;
    text-align: center;
    padding: 0 10px;
    font-size: 18px;
    line-height: 40px;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    outline: none !important;
    cursor: pointer;
    transition: all .3s;
}
.sidebar-form--field input[type="submit"]:hover {
    background: #676767;
}
.sidebar-form--field .chekbox-form {
    color: #bbb;
}
.sidebar-form--field.contact-chkbx .chekbox-form {
    color: #fff;
}
@media (max-width: 767px) {
    .mobile-mrg {
        margin-bottom: 30px;
    }
}

html h2, html h3 {margin-top: 0;}

.news-single--item .vcex-blog-entry-inner {
    /*padding: 20px !important;*/
    border-radius: 0;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,.1);
    box-shadow: 0 0 5px rgba(0,0,0,.1);
}
.news-single--item .vcex-blog-entry-inner .vcex-blog-entry-readmore-wrap a:hover {
    background-color: #6e6f71;
}


/* ============== CONTACT FORM ================= */

.contact-form-col {
    display: block;
    width: 30%;
    margin: 0 1%;
    float: left;
}
.contact-form-col:nth-child(1) {
    margin-left: 3%;
}
.contact-form-col.second-row {
    width: 46%;
    margin: 20px 1% 0;
}
.contact-form-col.second-row:nth-child(1) {
    margin-left: 3%;
}
.contact-form-col input {
    width: 100%;
    border: 3px solid #ffffff!important;
    font-size: 20px;
    color: #222222;
}
.contact-form-msg {
    display: block;
    width: 94%;
    float: left;
    margin: 20px auto 0;
    margin-left: 3%;
}
.contact-form-msg textarea {
    width: 100%;
    max-height: 100px;
    border: 3px solid #ffffff!important;
    font-size: 20px;
    color: #222222;
}
.contact-form-btn {
    display: block;
    width: 98%;
    margin: 20px 1% 0;
    float: left;
}
.contact-form-btn input[type="submit"] {
    border: 3px solid #222222;
    background-color: #222222;
    padding: 8px 50px;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    margin: 0 auto;
    display: block;
    color: #fff;
}
.contact-form-btn input[type="submit"]:hover {
    color: #fff;
    border: 3px solid #fff;
    background-color: #6e6f71;
}
.contact-form-col input:hover,
.contact-form-col input:focus,
.contact-form-msg textarea:hover,
.contact-form-msg textarea:focus {
    border: 3px solid #6e6f71 !important;
    outline:none;
}
@media (max-width: 991px) {
    .contact-form-col {
        width: 48%;
        margin: 0 1% 20px;
    }
    .contact-form-col:nth-child(1) {
        margin-left: 1%;
    }
    .contact-form-col.second-row {
        width: 48%;
        margin: 0 1% 20px;
    }
    .contact-form-col.second-row:nth-child(1) {
        margin-left: 1%;
    }
    .contact-form-msg {
        width: 98%;
        margin: 0 1%;
    }
}
@media (max-width: 767px) {
    .contact-form-col {
        width: 98%;
        margin: 0 1% 20px;
    }
    .contact-form-col.second-row {
        width: 98%;
    }
}

@media (max-width: 365px) {
    .contact-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}


/* LIST */

html ul.custom-list {
    list-style-image: url(http://solarflexrack.com/wp-content/uploads/2017/06/checked.png) !important;
}
html ul.custom-list li {
    padding-left: 10px !important;
    margin-bottom: 15px !important;
}


/* Display none */

.display-none {
    display: none;
}

.sf-menu li.search-toggle-li {
    display: none;
}

/* TOP bar search */

#top-bar-social .search-toggle-li {
    display: inline;
}
#top-bar-social a.site-search-toggle {
    border: 0;
    background: none;
    color: #555;
    font-size: 20px;
    padding-right: 20px !important;
}

/* RIGHT absolute BTNs*/

.floating-button {
    position: fixed;
    top: 158px;
    right: 0px;
    z-index: 9999;
}
.floating-button.btn-2 {
    top: 206px;
}

@media (max-width: 850px) {
    .floating-button {
        top: 210px;
    }
    .floating-button.btn-2 {
        top: 260px;
    }
}

.floating-button a {
    display: inline-block;
    padding: 10px 15px 10px 20px;
    border-radius: 4px 0 0 4px;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    background: #faa939;
    transition: all .3s;
}
.floating-button.btn-2 a {
    background: #6e6f71;
}
.floating-button a:hover {
    background: #eee;
    text-decoration: none;
    color: #333 !important;
}
@media (max-width: 767px) {
    .floating-button {
        display: none;
    } 
}

/* MIALCHIMP popUp */

.popup h2 {
	color: #333;
	text-align: center;
	margin-bottom: 15px;
	font-size: 30px;
}

.overlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9999;
	visibility: hidden;
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;
	position: fixed;
	cursor: default;
	-webkit-transition: all 0.6s;
	-moz-transition: all 0.6s;
	-ms-transition: all 0.6s;
	-o-transition: all 0.6s;
	transition: all 0.6s;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}

.popup {
	top: 0;
	right: 0;
	left: 50%;
	font-size: 16px;
	z-index: 10000;
	margin: 0 auto;
	width: 100%;
	min-width: 320px;
	max-width: 820px;
	position: fixed;
	padding: 15px;
	border: 1px solid #383838;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-ms-border-radius: 0;
	border-radius: 0;
	background-color: #FFFFFF;
	-webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	-moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	-ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	-o-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
	-webkit-transform: translate(-50%, -150%);
	-ms-transform: translate(-50%, -150%);
	-o-transform: translate(-50%, -150%);
	transform: translate(-50%, -150%);
	-webkit-transition: transform 0.6s ease-out;
	-moz-transition: transform 0.6s ease-out;
	-ms-transition: transform 0.6s ease-out;
	-o-transition: transform 0.6s ease-out;
	transition: transform 0.6s ease-out;
}
.popup input[type="email"] {
        width: 100%;
}
.popup input[type="submit"] {
        margin: 0 auto;
        text-align: center;
        display: block;
}
.overlay:target+.popup {
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.close {
	position: absolute;
	padding: 0;
	top: -10px;
	right: -10px;
	width: 22px;
	height: 22px;
	border: 2px solid #ccc;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	background-color: rgba(61, 61, 61, 0.8);
	-webkit-box-shadow: 0px 0px 10px #000;
	-moz-box-shadow: 0px 0px 10px #000;
	box-shadow: 0px 0px 10px #000;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	line-height: 20px;
	-webkit-transition: background-color ease .7s;
	-moz-transition:  background-color ease .7s;
	-ms-transition:  background-color ease .7s;
	-o-transition:  background-color ease .7s;
	transition: background-color ease .7s;
}
.close:before {
	color: rgba(255, 255, 255, 0.9);
	content: '\2715';
	text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
	font-size: 12px;
 
}

.close:hover {
	background-color: #5470b6;
}
.popup p {
	margin: 0;
	padding: 10px;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.popup {
		width: 95%;
	}
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
	.popup {
		width:85%;
	}
}

.wpcf7 form div.visible-only-if-invalid {
    display: none;
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #398f14;
    text-align: center;
}

.wpcf7 form.sent div.visible-only-if-invalid {
    display: none;
}
html .single-post .page-header {
    padding-top: 170px;
    padding-bottom: 170px;
    background-image: url(http://solarflexrack.com/wp-content/uploads/2017/01/Solar_FlexRack_Solar_News.jpb_.jpg) !important;
    background-position: 50% 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
@media (max-width: 767px) {
    html .single-post .page-header {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
#visible-only-if-ok {
    display: none;
    padding: 1em 1.2em;
    background: #edfdd3;
    border: 1px solid #c4dba0;
    text-align: center;
    color: #657e3c;
    font-weight: normal;
}
#wpcf7-f562-p563-o1.wpcf7 .wpcf7-mail-sent-ok,
#wpcf7-f2074-p2072-o1.wpcf7 .wpcf7-mail-sent-ok,
#wpcf7-f3022-p551-o1.wpcf7 .wpcf7-mail-sent-ok,
#wpcf7-f3025-p555-o1.wpcf7 .wpcf7-mail-sent-ok,
#wpcf7-f3020-p540-o1.wpcf7 .wpcf7-mail-sent-ok,
#wpcf7-f568-p567-o1.wpcf7 .wpcf7-mail-sent-ok,
#wpcf7-f572-p571-o1.wpcf7 .wpcf7-mail-sent-ok {
    display: none !important;
}

.popup .ctct-form-wrapper .ctct-form-field {
    margin: 0;
}
.popup input[type="submit"] {
    font-size: 24px;
    padding: 10px 15px;
    height: auto;
    background: #faa939;
    transition: all .3s;
}
.popup input[type="submit"]:hover {
    background: #6e6f71;
}
.popup input[type="email"] {
    background: #f3f3f3;
    color: #000;
    font-size: 16px;
    outline: none;
    border: 1px solid #ddd;
}
.popup input[type="email"]:focus {
    border: 1px solid #333;    
}
.popup .ctct-disclosure {
    line-height: 1;
}
.popup .ctct-disclosure sub {
    font-size: 11px;
    line-height: 1.2;
}
.popup hr {
    margin: 20px 0;
}


/* contact forms */

.imst-manual .contact-form-col {
	margin-bottom: 40px;
}
.entry h4.chekboxes-header {
	text-align: center;
    font-size: 30px;
    color: #fff;
    margin: 10px 0 !important;
}
.contact-chekboxes .chkbx-center {
	text-align: center !important;
    display: block !important;
	font-size: 18px !important;
}

@media (max-width: 991px) {
	.imst-manual .contact-form-col {
		float: none;
		width: 90%;
		margin-left: 5%;
	}
}


/*banner for categories 19 apr 2018*/
.category-56 .page-header.wpex-supports-mods {
    background-image: url(http://solarflexrack.com/wp-content/uploads/2018/04/Solar-FlexRack-Tracking-Racking-Blog-Header-71843.jpg) !important;
	    background-position: 0 15%;
}

.category-198 .page-header.wpex-supports-mods {
    background-image: url(http://solarflexrack.com/wp-content/uploads/2018/04/Solar-FlexRack-News-Header-48250.jpg) !important;
	    background-position: 0 15%;
}

.category-1 .page-header.wpex-supports-mods {
    background-image: url(http://solarflexrack.com/wp-content/uploads/2018/04/Solar-Article-Header-22653.jpg) !important;
	    background-position: 0 15%;
}

html .post-in-category-solar-tracker-and-racking-blog.single-post .page-header {
	background-image: url(http://solarflexrack.com/wp-content/uploads/2018/04/Solar-FlexRack-Tracking-Racking-Blog-Header-71843.jpg) !important;
}


html .post-in-category-news.single-post .page-header {
	background-image: url(http://solarflexrack.com/wp-content/uploads/2018/04/Solar-FlexRack-News-Header-48250.jpg) !important;
}

html .post-in-category-solar-articles.single-post .page-header {
	background-image: url(http://solarflexrack.com/wp-content/uploads/2018/04/Solar-Article-Header-22653.jpg) !important;
}
