@media (max-width:768px){
header{-webkit-transition:all .5s ease 0s;-o-transition:all .5s ease 0s;transition:all .5s ease 0s;}
header.white-bg, header.white-bg .slide-menu{background:rgba(255,255,255,1)!important;}
.slide-menu{background:none!important;}
}
@media (min-width:992px){
    header{padding:2rem 0; }
    /*header.shrink-logo{padding:1rem 0;}
    header.shrink-logo .navbar-brand img{max-width:80%;}*/ 
/*.mega-nav-overlay{background-image:url(../images/mega-menu-bg.png); background-position:bottom center; background-repeat:repeat-x;}*/

}
@media (min-width:1601px) {
    .rev_slider_wrapper .tp-caption .caption-bx h2{font-size:28pt!important;}
}

@media (min-width:1024px) and (max-width:1280px) {
.tp-parallax-wrap:last-child .tp-loop-wrap,
.tp-parallax-wrap:last-child .tp-mask-wrap{right:0!important; max-width:300px; width:100%;}
}
@media (min-width: 960px) and (max-width: 1390px){ 
.rev_slider_wrapper .tp-caption .caption-bx p,
.rev_slider_wrapper .tp-caption .caption-bx h2{line-height:1.5!important;}
}
@media (min-width: 768px) and (max-width:1200px) {
.tp-parallax-wrap:last-child .tp-loop-wrap, .tp-parallax-wrap:last-child .tp-mask-wrap{max-width:60%;}
.rev_slider_wrapper .tp-caption .caption-bx h2{font-weight:800; font-size:16pt!important; line-height:normal!important; margin-bottom:20px; }
.rev_slider_wrapper .tp-caption .caption-bx p{font-weight:400; font-size:12pt!important;line-height:normal!important; margin-bottom:30px; }
}
.rev_slider_wrapper .tp-caption{}
.rev_slider_wrapper .tp-caption .caption-bx{position:relative; color:#FFF;  margin-left:0;}
.rev_slider_wrapper .tp-caption .caption-bx h2{color:#FFF!important; font-size:34pt;line-height:1.3!important;}
.rev_slider_wrapper .tp-caption .caption-bx .btn-more{font-size:11pt!important;}
.rev_slider_wrapper .tp-caption .caption-bx .btn-more:hover{background:#d4140a!important; color:#FFF!important; }
@media (min-width: 769px) {
.rev_slider_wrapper .tp-caption .caption-bx .btn-more{padding:11px 30px!important;}
}
@media (max-width: 767px) {
.tp-parallax-wrap:last-child{width:95%!important;}
.tp-parallax-wrap{}    
.tp-parallax-wrap:last-child .tp-loop-wrap,
.tp-parallax-wrap:last-child .tp-mask-wrap{right:0!important; max-width:60%; width:100%;}
.rev_slider_wrapper .tp-caption .caption-bx{max-width:100%!important;}
.rev_slider_wrapper .tp-caption .caption-bx h2{font-size:10pt!important; font-weight:normal;}
.rev_slider_wrapper .tp-caption .caption-bx p{display:none;}
.tp-shape{border-radius:15px 0 0 15px!important; max-width:55%!important;}
.testimonials-bx .qote1{max-width:40px;top:0!important; left:10px!important;}
.testimonials-bx .qote2{max-width:40px;bottom:0!important; right:10px!important;}
}



.home-product-range a{text-decoration:none; background:#fff; color:inherit}
.home-product-range a:hover{border-color:#d40f14!important}

ul.news-slider{padding:0; margin:0;}
ul.news-slider li{margin-top:0; display:block;}
ul.news-slider li a{text-decoration:none;}
ul.news-slider li a:hover{border-color:#d40f14!important;}

.news-image{position:relative;overflow:hidden;margin-top:-2px;}
.news-image:before{content:''; background:#d40f14; opacity:0; position:absolute; top:0; left:0; width:100%; height:100%;}
ul.news-slider li a:hover .news-image:before{opacity:.6;}
.news-image:before, .news-image:after{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;}
.news-image:after{-webkit-transform:scale(0);-ms-transform:scale(0);-moz-transform:scale(0);transform:scale(0);content:'\f03e'; font-family:FontAwesome;position:absolute; text-align:center; width:50px; height:50px; line-height:50px; font-size:16pt; top:calc(50% - 25px); background:#FFF; color:#d40f14; border-radius:100px; left:calc(50% - 25px);  }
ul.news-slider li a:hover .news-image:after{-webkit-transform:scale(1.02);-ms-transform:scale(1.02);-moz-transform:scale(1.02);transform:scale(1.02);}

.home-news-panel .slick-arrow.slick-disabled{opacity:0!important; display:none!important;}
.home-news-panel .slick-dots{position:relative; top:-65px;}

@media(max-width:767px) {
.news-slider .slick-arrow:first-child {left: calc(10px);}
.news-slider .slick-arrow:last-child {left: calc(50px);}
}
.home-news-panel .slick-arrow{position:absolute;font-weight:bold; display:table!important; margin:0 auto; bottom:15px; min-width:100px; cursor:pointer;z-index:1; left:0; right:0; }
.home-news-panel .slick-arrow:hover{background:#d40f14;}
.home-news-panel .slick-arrow .fa{ display:inline-block; vertical-align:middle; position:relative; top:-2px;}
/*.home-news-panel .slick-arrow:first-child{left:10px;}
.home-news-panel .slick-list + .slick-arrow{right:10px;}*/
@media(max-width:768px) {
.home-news-panel .slick-arrow{top:-50px;}
.home-news-panel .slick-arrow:first-child{right:auto;left:0px;}
.home-news-panel .slick-arrow:last-child{right:0px; left:auto;}
.home-news-panel, ul.news-slider{margin:0!important;}
}
@media(max-width:640px) {
.home-news-panel .slick-arrow:first-child{right:auto;left:0px;}
.home-news-panel .slick-arrow:last-child{right:0px; left:auto;}
}
.news-img{position:relative;}
.news-img img{margin-top:-1px!important; overflow:hidden;}
/*.news-text{min-height:113px;}*/

.home-membership-logo-panle{margin-bottom: -3rem;position: relative;z-index: 9;}
.membership-logos > div{border-right:1px dotted #ddd;}
.membership-logos > div:last-child{border:0;}

@media(max-width:640px) {
.membership-logos > div{max-width:25%; margin-bottom:15px;}
}
@media(min-width:1281px) {
.brands-grid .col-6 > a h5{font-size:13pt;}
}

@media(min-width:768px) and (max-width:1280px) {
.brands-grid .col-6 > a h5{font-size:1rem!important;}
}

.brands-panel {background:#f3f3f3;}
.brands-grid .col-6 {padding:10px;}
.brands-grid .col-6 > a { border-radius:15px; padding:10px 15px;border:10px solid #efefef; color:#d40f14; margin:0; background:#f3f3f3;min-height:150px;height:100%;display:flex;align-items:center;justify-content:center; position:relative; text-decoration:none;}
.brands-grid .col-6 .circle{ opacity:0;visibility:hidden;width:34px;height:34px;line-height:30px;border-radius: 100%;border:2px solid #fff;position:absolute;background: #d71921;text-align: center;color: #fff;font-size:1.5rem;left:0;right:0;margin:0 auto; bottom:-20px; font-weight: bold;transition: all ease-in 0.2s;}

.brands-grid .col-6 > a:hover{background:#d40f14; color:#fff;}
.brands-grid .col-6 a:hover .circle {background:#d40f14;color: #fff;opacity:1;visibility:visible;-webkit-transform:translateY(-5px);transform:translateY(-5px);}
.brands-grid .col-6 img{max-height:48px; -webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;}
.about-brands-grid .col-6 img{max-height:70px;}
.default-brands-grid .col-6 img{max-height:60px;width:auto;margin:0 auto;}
.default-brands-grid .col-6 a{border:1px solid rgba(0,0,0,0.15);text-align:center;padding:15px;margin-bottom:30px;}
.default-brands-grid .col-6 a:hover{border-color:#17479e;}
.brands-grid .col-6 a:hover img{-webkit-transform:translateY(-15px);transform:translateY(-15px);}
.brands-grid .col-6 > a:hover{border-color:#d40f14;}

.frame-pic-container{position:relative;list-style:none;padding:0;margin:6px 6px 6px 0px;}
.frame-pic-container li {padding:0px;position:relative;}
.frame-pic-container li > div{position:absolute;top:0;left:0;}
.frame-pic-container li:not(:first-child) > div{opacity:0;visibility:hidden;}
.frame-pic-container li.active > div{visibility:visible;opacity:1; overflow:hidden;}
.frame-pic-container li > div{background-color:#fff;text-align:center;transition:all .2s ease-in-out}
.frame-pic-container li > div p{margin:10px 0;font-size:1.2rem;}
 
@media(max-width:1440px) {
    .brands-grid .col-6 > a {min-height:113px;} 
   
}
@media(max-width:1366.98px) {
    .brands-grid .col-6 > a {min-height:135px;} 
   
}
@media(max-width:1200px) {
    .brands-grid .col-6 > a {min-height:78px;} 
     .brands-grid .circle {   display:none;}
    .brands-grid .col-6 a:hover img{-webkit-transform:none;transform:none;}
}

.paralaxbg{background-position-x:center; background-repeat:no-repeat; margin:0 auto; max-width:1920px;}
.about-panle .curve-bottom-right:after{height:100%;}
.about-panle .curve-bottom-right:before{background: #f8f9fa; width:400px; right:2px; height:100%; border-radius:0 0 300px 0!important; }


.clients-inner{ width:100%; padding:0px; margin:0px;}
.clients-inner > div > div > span{display:table; margin:0 auto; width:auto;  text-align:center !important; padding:0px; white-space:normal;box-shadow:rgba(0,0,0,.05) 0px 0px 15px 0px;}



.counter-list-hm{ width:100% !important; list-style:none;}
.counter-list-hm li{padding:0px 20px;  position:relative;}
.counter-list-hm li:before{content:""; position:absolute; top:0px; height:100%; right:0px; background:#bd0207; width:1px;}
.counter-list-hm li:last-child:before{display:none}
.counter-list-hm .count{font-size:3rem; font-weight:bold;color:#FFF; line-height:normal;}
.counter-list-hm h4{font-size:1.2rem; margin:0; line-height:normal; font-weight:normal !important; color:#FFF}
.counter-list-hm .loading-img-sm{display:table; margin:0 auto;}

@media (max-width:960px) {
.counter-list-hm li{padding:0 5px!important;}
.counter-list-hm h4{font-size:inherit !important;}
.counter-list-hm .count{font-size:2rem!important;}
}


@media (max-width:767px) {
.counter-list-hm li{display:inline-block; text-align:center; width:48%; vertical-align:top; border:0;}
.counter-list-hm li:before{display:none;}
.counter-list-hm .count{font-size:2rem;}
}


.rev_slider_wrapper{left:0!important;}
.tp-parallax-wrap{max-width:1400px!important; width:90%!important;  margin:0 auto!important;}
.tp-parallax-wrap:last-child .tp-loop-wrap,
.tp-parallax-wrap:last-child .tp-mask-wrap{ width:100%;}

/*.tp-revslider-mainul li:after{content:''; position:absolute; bottom:0; left:0; width:100%; height:500px;background: rgb(0,0,0);
background: linear-gradient(0deg, rgba(0,0,0,0.8239670868347339) 0%, rgba(255,255,255,0) 59%);}*/

.visual-panel {overflow: hidden;background-color: #efefef; position:relative; z-index:9;}
.visual-panel .tp-banner-container{width: 100%;max-width: 1920px;position: relative;padding: 0;margin: 0 auto;z-index:1;}
.visual-panel .tp-banner-container .slotholder:before{content:''; position:absolute; left:0%; bottom:-1px; width:100%; height:167px; background:url(../images/slider-bg.png) no-repeat bottom center;background-size:100% auto; z-index:9999;}




.visual-panel mark{padding:0 5px; margin:0 0 15px; display:block; line-height:2; text-indent:0;}
.tp-caption .btn-more .btn{font-weight:bold!important;}

@media (min-width:768px) {
.home-parallax-panel{width: 100%;max-width: 1920px;position: relative;padding: 0;margin: 0 auto;z-index:1;}
.home-parallax-panel:before{content:''; position:absolute; left:0%; top:0%; width:100%; height:30%; background:url(../images/slider-bg-top.png) no-repeat top center;background-size:100% auto; z-index:9999;}
.home-parallax-panel:after{content:''; position:absolute; left:0%; bottom:-1px; width:100%; height:30%; background:url(../images/slider-bg.png) no-repeat bottom center;background-size:100% auto; z-index:9999;}
.paralaxbg{background-image: url(../images/bg-home-panel.jpg)}
}

@media (min-width:768px) and (max-width:1023px) {
.paralaxbg{background-attachment: inherit !important; background-size:cover;  background-color:#333!important;}
}


@media (max-width:768px) {
.mobile-visual-slider .banner-arrow{position:absolute; top:calc(50% - 50px); font-size:23pt; color:#FFF; z-index:9;}
.mobile-visual-slider .banner-arrow.left-arrow{left:10px;}
.mobile-visual-slider .banner-arrow.right-arrow{right:10px;}
.mobile-visual-slider .slick-dots{position:relative; top:-10px;}
.mobile-visual-slider .slick-dots li{width:6px; height:6px;}
}