/*

Theme Name: NortexPro
Theme URI: http://www.nortexlube.com/
Author: Themeco
Author URI: http://www.tech-critic.com/
Description: This is a custom theme deisgned by Tech-Critic for Nortex.
Version: 1.0.0
Template: pro

*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,800');

/* General */
html, html a {-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
body { padding-bottom: 0;overflow-x:unset;}
p { margin: 0 0 1.15em; }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{margin-top: 0;}
.x-sidebar .widget {border: 1px #222222 solid;padding: 10px;font-family: 'Open Sans', sans-serif;}
.x-sidebar .widget h6{font-family: 'Open Sans', sans-serif}
.x-sidebar .sidebar-widget-icon i {color: #ed1c24;}
.x-icon-clock-o:before {content: "\f017";}
.x-icon-phone:before {content: "\f095";}
.x-btn, .button, [type="submit"] {text-shadow: none !important;font-weight: bold;padding: .5em 3em;text-transform: uppercase;}
form {margin-bottom: 0;}
input[type="radio"], input[type="checkbox"]{margin-right: 10px;margin-left: 10px;}

/* Header CSS */
.head-contact {font-family: 'Open Sans', sans-serif;}
.head-contact label {display: inline-block;color: #666666;}
.head-contact a{color: #999999}
.x-bar-h .x-bar-container, .x-bar-h .x-mod-container {height: auto;}
.p-meta {font-weight: bold;}
.p-meta span:first-child {display: none;}

/* POP UP CSS */
.book-appointment-popup {display: none;position: absolute;top: 0;left: 0;z-index: 100000;width: 100%;height: 100%;}
.book-appointment-popup .overlay {background: rgba(0,0,0,0.75);width: 100%;height: 100%;}
.book-appointment-popup .popup {max-width: 700px;margin: 0 auto;padding: 5vw 1vw;}
.book-appointment-popup .header {background: #fff;padding: 10px 20px;}
.book-appointment-popup .header .headline {font-size: 175%;margin: 0;display: inline-block;text-transform: capitalize;line-height: 1.1;padding: 5px 0;color: #d42023;}
.book-appointment-popup .header .close-popup {display: block;float: none;text-align: right;float: right;}
.book-appointment-popup .header .close-popup i {display: block;color: #ffc500;font-size: 20px;cursor: pointer;transition: 0.3s all ease;}
.book-appointment-popup .content {background: #ffc40e;padding: 20px;}
.book-appointment-popup .content input{height: 3em;}
.book-appointment-popup .content input.wpcf7-submit{background-color: #d1232a;height: auto;padding: 10px 3em;font-weight: bold;float: right;}

/* Home CSS */
.our-services{height: 265px;}
.our-services .x-column{margin-right:2%;width:23%;float:none;display:inline-block;vertical-align: top;height: 100%;border: 1px solid #e5e5e5;border-radius: 5px;padding: 7% 2%;}
.our-services .x-column:last-child{margin-right: 0;}
.off-disc span {font-family: 'Open Sans', sans-serif;color: #d1232a;font-size: 1.5em;margin-top: 32px;margin-left: 15px;text-shadow: -2px -2px 0 #ffc40e, 2px -2px 0 #ffc40e, -2px 2px 0 #ffc40e, 2px 2px 0 #ffc40e;}
.off-disc span span {font-size: 36px;position: relative;top: -15px;margin-right: 10px;}
.hm-coupon {height:130px;border: 1px solid #e5e5e5;}
.hm-coupon .x-column {vertical-align: middle !important;}
.hm-coupon .h3 {margin-top: 30px;}
.testimonial_slider__textonly .testimonial_content{width: 95% !important;}
.testimonial_slider__textonly .testimonial_wrapper{margin-bottom: 4em !important}
.testimonial_slider__textonly .testimonial_content:before {content: "\f10d";font-family: "FontAwesome";font-style: normal;color: #666666;float: left;font-size: 28px;}
.testimonial_slider__textonly .testimonial_content span {font-family: 'Raleway', sans-serif;font-size: 1em;color: #a6a6a6;overflow: hidden;margin-top: 5px;padding-left: 15px;line-height: 1.3}
.testimonial_slider__textonly .testimonial_content_wrap{border: none !important;    box-shadow: 0em 0.1em 0.5em 0em rgba(0,0,0,0.25);}
.testimonial_slider__textonly .testimonial_content_wrap:before{display: none;}
.testimonial_slider__textonly .testimonial_by_wrap span {display: inline-block;width: 100%;letter-spacing: 0.05em;}
.testimonial_slider__textonly .testimonial_by {font-size: 12px !important;line-height: 12px !important;}
.testimonial_slider__textonly .testimonial_by span {color: #ffc500;font-weight: bold;}
.testimonial_slider__textonly .testimonial_nav .inner_nav{height: 4px !important; }
.home .testimonial_slider__textonly .testimonial_nav-fillup .inner_nav a {border: none !important;background: #666666;}
.home .testimonial_slider__textonly .testimonial_nav-fillup .inner_nav.selected a:after {background-color: #ffc40e !important;}
.hm-recent-posts > a {padding: 0;}
.hm-recent-posts .x-recent-posts-content {padding: 30px 20px 5px}
.hm-recent-posts .x-recent-posts-content h3 {text-transform: uppercase;}
.hm-recent-posts .x-recent-posts-content .x-recent-posts-date {margin: 10px 0;text-transform: uppercase;font-family: 'Open Sans', sans-serif;font-size: 10px;color: #ffc500;font-weight: bold;}
.x-recent-posts a:hover{border-color: #ffc500;}
.hm-cont-info {font-family: 'Open Sans', sans-serif;font-size: 12px;}
.hm-cont-info .x-1-2 {width: 40%;}
.hm-cont-info .x-1-3 {width: 27%;}
.hm-cont-info .x-1-6 {width: 25%;}
.hm-cont-info .x-column{height: 210px;padding-top: 3em !important;padding-left: 3% !important;}
.hm-cont-info .x-img {position: absolute;left: 15px;bottom: -50px;}
.owl-carousel .owl-item img {width: auto; margin: 0 auto}
.list-services figure {width: 100%;/*display: inline-block*/;padding: 30% 2%;background: transparent;border: 1px solid #e5e5e5;margin-right: 2%;margin-bottom:5%;border-radius: 5px;    max-height: 250px;min-height: 250px}
.list-services figure:nth-of-type(4n){margin-right: 0;}
.list-services figure .title{position: relative;display: block;margin-top: 15px}
.list-services figure .title h5{font-weight: 500;    font-size: 125%;}
.list-services [class*=" imghvr-"], .list-services [class*=" imghvr-"] figcaption, .list-services [class^=imghvr-] figcaption {background-color: #ffc40e;}
.list-services figure:hover .title{opacity: 0;}
.list-services .details-container {color: #222222;font-family: 'Open Sans', sans-serif;}
.list-services .read-more a {display: block;width: 100%;position: relative;color: #222222;box-shadow: 0em 0.15em 0.65em 0em rgba(0,0,0,0.25);background: #ffffff;    max-width: 150px;margin: 15px auto 0;padding: 12px 15px;text-align: center;}
.list-services .read-more a:hover {background: #d1232a;color: #ffffff;}
.page-id-40 .list-services .read-more a {padding: 10px 15px;}


/* Footer CSS */
.x-colophon .x-menu-inline [data-x-icon]:before{    content: "\f101";}
.x-colophon .x-menu-inline .x-anchor[class*="active"] .x-graphic-icon {color: #ffffff !important;}
footer .foot-h h1:after {border: .05em solid #ffffff5e;content: "";display: inline-block;width: 90%;position: absolute;bottom: 10px;margin-left: 10px;}
.footer-menu li a {font-family: 'Open Sans', sans-serif;font-weight: 400;position: relative;margin: 0px 0px 10px;padding: 0px 0 10px;}
.footer-menu li a:after {border-bottom: 1px solid #ffffff;content: "";width: 170px;position: absolute;bottom: 0;}
.footer-menu li:last-child a:after {content: "";border: none;}
.multi-col {column-count: 2;-webkit-columns: 2;-moz-columns: 2;list-style-position: inside;font-weight: 600;font-size: .90rem;margin-left: 0;list-style: none;}
.footer-addresses ul{list-style: none;margin-left: 0;}
.footer-addresses li {margin-bottom: 10px;padding-bottom: 10px;border-bottom: 1px solid #b7b7b7;}
.footer-addresses a {color: #e9f4e2;font-family: 'Open Sans', sans-serif;}
.footer-addresses a:hover{color: #ffc40e;}
.i4ewOd-pzNkMb-haAclf {background-color: #ffc500;}
.foot-menu li a{font-family: 'Open Sans', sans-serif;}
.foot-menu li:first-child a span{padding-top: 0 !important;}


/** Our Services **/
.show-pages .page-box-container .page-box .title {display: block;padding: 10px 0 5px;}
.show-pages .page-box-container .page-box .title h5 {margin: 0;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;text-transform: uppercase;margin-top: 14px;font-size: 15px;letter-spacing: 0px;text-align: center;}
.show-pages .page-box-container .page-box .title h5:hover{color: #ffc40e}
.show-pages .page-box-container .page-box .image-container .image-container-inner {height: 220px;background-size: cover;background-repeat: no-repeat;background-position: center center;opacity: 1;transition: all 0.25s ease-in;-webkit-transition: all 0.25s ease-in;position: relative;}
.show-pages .page-box-container .page-box:hover .image-container .image-container-inner {opacity: 0.8;transition: all 0.25s ease-in;-webkit-transition: all 0.25s ease-in;}
.show-pages .page-box-container .page-box .details-container .excerpt {padding: 5px;text-align: center;}
.show-pages .list-services .page-box-container .page-box {margin-bottom: 5%;float: left;}
.parent-pageid-40 .entry-thumb {float: left;max-width: 50%;margin-right: 2.5%;}
.parent-pageid-40 .x-main .hentry .entry-featured{margin-bottom: 0;}
.parent-pageid-40 .entry-content p{    color: #252525;line-height: 1.6;font-size: 15px;}
.parent-pageid-40 .entry-content .x-text h1, .parent-pageid-40 .entry-content .x-text h2, .parent-pageid-40 .entry-content .x-text h3, .parent-pageid-40 .entry-content .x-text h4, .parent-pageid-40 .entry-content .x-text h5, .parent-pageid-40 .entry-content .x-text h6{color: #ffc40e;margin: 20px 0 10px;    letter-spacing: 0;}


/*Sidebar CSS */
.x-sidebar .sidebar-social {padding: 0;border: none;}
.x-sidebar .sidebar-social a, .x-sidebar .sidebar-social a i {text-decoration: none;}
.sidebar-testimonials .hms-testimonial-container .testimonial{border: none;}
.sidebar-testimonials .h-widget {border: none;font-size: 22px;font-family: 'Roboto', sans-serif;letter-spacing: 0;font-weight: 500;border-bottom: 1px solid #222222;padding-bottom: 10px;margin-bottom: 0px;}
.sidebar-testimonials .hms-testimonial-container{margin-bottom:10px;}
.sidebar-testimonials .hms-testimonial-container .testimonial{border: none;padding:15px 10px 10px}
.quick-contact-form h4 {text-transform: uppercase;font-family: 'Roboto', sans-serif;font-weight: 500;text-align: center;border-bottom: 1px solid #222222;padding-bottom: 10px;padding-top: 10px;font-size: 22px;margin-bottom: 5px;}
.quick-contact-form .text-top {font-size: 12px;}
.quick-contact-form .text-top {font-size: 11px;text-align: center;margin-bottom: 20px;}
.quick-contact-form .wpcf7-submit {width: 100%;height: 3em;}
.x-social-global{display:table;width:100%;table-layout:fixed;}
.x-social-global a{display:table-cell;height:50px;vertical-align:middle;font-size:30px;background:#000;}
.x-social-global a.twitter{background:#00aced;}
.x-social-global a.facebook{background:#3b5998;}
.x-social-global a.google-plus{background:#dd4b39;}
.x-social-global a.youtube{background:#bb0000;}
.x-social-global a.linkedin{background:#007bb6;}
.x-social-global a:hover{background:#e6b604;}
.x-social-global a i{color:#fff;}
.x-social-global a.call i{color:#e6b604;}
.x-social-global a.call:hover i{color:#fff;}
.x-sidebar .phone, .x-sidebar .fax {border: none;padding: 0;position: relative;}
.x-sidebar .phone a, .x-sidebar .fax a {display:block;color: #ffffff !important;background: #ffc40e;padding: 10px 20px;font-size: 1.5em;text-decoration: none;font-weight: 600;}
.x-sidebar .phone a i, .x-sidebar .fax a i {border-right: 1px solid #ffffff;padding: 0px 15px 0px 0px;font-size: 1.75em;position: absolute;line-height: 1;top: 15px;}
.x-sidebar .fax a i{font-size: 1.5em;top: 20px;}
.x-sidebar .phone a span, .x-sidebar .fax a span {padding-left: 2.5em;font-size: 24px;letter-spacing: 1px;}
.x-sidebar .phone a:hover, .x-sidebar .fax a:hover{background-color: #ed1c24;}
.quick-contact-form{padding: 10px;}
.quick-contact-form h4 {font-size: 1.5rem;letter-spacing: 0;margin-bottom: 15px;padding-bottom: 15px;}
.quick-contact-form h5{font-size: 1.25rem;color: #fff;font-weight: 600;}
.quick-contact-form input {background: rgba(255, 255, 255, 0.23);}
.quick-contact-form input, .quick-contact-form textarea {background: rgba(255, 255, 255, 0.23) !important;}
.quick-contact-form input[type="submit"] {background: #ffffff !important;margin-top: 20px;}
.quick-contact-form input[type="submit"]:hover {color: #ffc40e;}


/* Blog CSS */
.blog article.post {width: 48.5%;display: flex;vertical-align: top;margin-bottom: 5em;align-items: center;justify-content: center;float: left;}
.blog article.post .excerpt {font-size: 15px;line-height: 1.5;}
.blog .x-main .hentry>.entry-featured{float: none;width: auto;}
.blog .x-main .hentry.has-post-thumbnail>.entry-wrap{float: none;width: 77%;padding-left: 10em;margin-left: -9em;}
.blog article.post:nth-child(2n+2) {margin-left: 2%;}
.blog article .entry-content {min-height: 165px;overflow: hidden;}
.blog .x-main .hentry{margin-top: 0;padding-top: 0;}
.blog article.post .entry-title {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;color: #ffc40e;}
.blog article .entry-title a {color: #ffc40e;}
.blog article .p-meta {font-size: 14px;margin-top: 0;margin-bottom: 10px;color: #252525;}
.blog article .more-link {display: block;color: #222222;text-decoration: underline;font-weight: 500;margin-top: 10px;}
.blog article .more-link i {margin-right: 10px;}
.blog article .more-link i:before {content: "\f0da";font-size: 20px;position: relative;top: 2px;color: #ffc40e;}
.blog article .entry-title a:hover, .blog article .more-link:hover {color: #ea1c23;}
.single-post .x-main.left .hentry .entry-featured, .entry-content {margin: 0;}
.single .entry-thumb {float: left;max-width: 50%;margin-right: 20px;margin-top: 5px;}
.single .entry-featured, .single .has-post-thumbnail .entry-featured{box-shadow: none;border: none;}



.hms-testimonial-container{margin-bottom: 3em;}
.hms-testimonial-container .testimonial {border: 2px solid #acacac;padding: 20px;margin-bottom: 10px;border-radius: 10px 10px 0px 10px;}
.hms-testimonial-container .author{font-weight: bold;text-align: right;margin-right: 20px;}
.hms-testimonial-container .author span {color: #ffc500;}

/* Contact US CSS */
.contact-pg form h4 {padding: 20px 0 10px;}
.contact-pg form .text-top {color: #222222;font-size: 12px;font-family: 'Roboto', sans-serif;}
.contact-pg h2 span {font-family: 'Roboto', sans-serif;font-weight: 500;letter-spacing: 1px;/* text-transform: uppercase; */}
.contact-pg .quick-contact-form {padding-bottom: 10px;}
.contact-pg .h-custom-headline{margin-top: 15px;font-size: 22px;}
.our-offices {font-family: 'Roboto', sans-serif;}
.our-offices h6 {font-size: 1.25em;margin-top: 20px;}
.our-offices h6:after {width: 25px;height: 2px;background: #ffc500;content: "";display: block;margin: 5px 0px;}

.our-offices span {margin: 10px 0px;display: block;}

@media screen and (max-width: 1090px){
	.blog article.post{margin-bottom: 3em;}
	.blog article.post{width: 100%;float: none;}
	.blog a.entry-thumb{height: 160px;}
	.blog article .entry-content{min-height: 90px;}
	.blog article.post:nth-child(2n+2){margin-left: 0;}
}

@media screen and (min-width: 980px) {

	.show-pages .list-services .page-box-container .page-box {
		width: 30.66666666666667%;
		margin-right: 4%;
	}

	.show-pages .list-services .page-box-container:nth-child(3n) .page-box {
		margin-right: 0;
	}

}
@media screen and (min-width: 980px) and (max-width: 1099px){
.hm-coupon h2 {font-size: 24px;}
.off-disc span span{font-size: 26px;}
}
@media screen and (min-width: 768px) and (max-width: 979px){
.hm-coupon h2 {font-size: 20px;}
.off-disc span span{font-size: 22px;}
}
@media screen and (min-width: 768px) and (max-width: 979px) {

	.show-pages .list-services .page-box-container .page-box {
		width: 48%;
		margin-right: 4%;
	}

	.show-pages .list-services .page-box-container:nth-child(2n) .page-box {
		margin-right: 0;
	}

}
@media screen and (max-width: 979px){
.our-services {height: 100%;}
.our-services .x-column{width: 48%;margin-right: 1%;height: 210px;    padding-top: 10%;margin-bottom: 2%;}
.our-services .x-column:nth-of-type(2n){margin-right: 0;}
.hm-coupon{height: auto;padding: 45px 0 25px !important;}
.hm-coupon.x-container .x-column {width: 100% !important;float: none !important;display: inline-block !important;}
.hm-cont-info .x-column{float: none;width: 100%;margin-bottom:5em;}
}
@media screen and (max-width: 767px){
.our-services .x-column{height: 150px;font-size: 10px;}
.foot-map{width: 480px;}
.contact-pg table td {width: 100%;display: block;}
.footer-addresses li{font-size: 10px}
.blog article.post{flex-direction: column;-ms-flex-direction: column;}
.blog .x-main .hentry.has-post-thumbnail>.entry-wrap{width:100%;float: none;padding: 20px;margin: 0;display: block;text-align: center;}
.blog article.post .entry-title{white-space: normal;margin-bottom: 10px;}
}
@media screen and (max-width: 420px){
.head-contact label {display: none;}

}