[id*="custom-html"]{padding:0 !important; position:relative;}
.line-break {display: block;}
.text-show{display:block !important;}
.text-dark{color: #404040 !important;}
a.text-dark:before{background-color: #404040 !important;}
.text-normal{font-weight: normal !important;}
.small-font {font-size: 15px;}
[id*="hero"]{padding: 0 !important;}
[id*="hero"] .row{min-height: 500px; align-items: center;}
[id*="hero"] .row .col-md-5, [id*="auto-frame"] .row .col-md-5{width: 100%;}
#top-hero h1, [id*="hero"] h2, [id*="auto-frame"] h2{display: none;}
[id*="auto-frame"] ul, [id*="auto-frame"] ul li{list-style-type:disc !important; margin-left: 10px !important;}
.m-block{display: none;}

/* Navigation Bar */
.navScrolled {position: fixed !important;top: 0;z-index: 1000;}
nav.second-nav {background-color: #000; width: 100%; overflow: hidden; padding: 14px 0; position:relative;}
nav.second-nav ul {width: max-content; margin:0 auto; text-align: center;}
nav.second-nav ul li {display: inline-block;padding: 0 5px;}
nav.second-nav ul li a {color: #fff; border-radius: 7px; padding: 5px 25px; display: inline-block; font-weight:normal;}
nav.second-nav ul li a:hover:before, .second-nav ul li a:before {text-decoration: none; height: 0 !important;}
nav.second-nav ul li.active a, nav.second-nav ul li a:hover {background-color: #fff;color:#000; border-radius: 50px; font-weight:500;text-decoration: none; }
nav.second-nav ul li.active a.border-adjusted, nav.second-nav ul li a.border-adjusted:hover {color: #000 !important;}
nav.second-nav ul li a.border-adjusted {color: #fff !important;}
@media screen and (max-width: 992px) {
	nav.second-nav {overflow-x: scroll;}
}

/* AMB */
#overview .col-sm-12 > div h3, #video .col-sm-12 > div h3, #related .col-sm-12 > div h3, #contact-us .col-sm-12 > div h3, #testkit .col-sm-12 > div h3, #contact-us .col-sm-12 > div h3, #featured-products h3 {
  display: none;
}
#video { background: linear-gradient(to bottom, #EFEFEF 50%, #FFFFFF 50%); }
#video a:hover::before{background-color: transparent !important;}
#case-story h2 { display: none; }
#devices-5g-auto-frame img {position: absolute; top: 0; right: 20%; z-index: 0;}
/* /AMB */

#top-hero{position: relative;}
.top-banner {position: absolute; width: 100%; height: 500px; top: 0; left: 0;}
.top-banner img{object-fit: cover; width: 100%; height: 500px;}
.banner-text {position: relative; z-index: 1;}
#testkit {padding-bottom: 0 !important;}
#related {padding: 0 !important;}

#devices-5g-auto-frame {position: relative; height: 600px;}
#devices-5g-auto-frame a{border-bottom: 1px solid #fff;}
.feature-text {position: relative; z-index: 1;}
.position-bottom-right {position: absolute; bottom: 0; right: 15%; z-index: 0;}
.product-box {min-height: 385px; border: 1px solid #ccc; padding: 10px;}

/*Video pop-up*/
.wifi7-video-btn, .esg-video-btn {color: #00b2ff; cursor: pointer;}
.wifi7-video-btn i, .esg-video-btn i{vertical-align: middle; margin-right: 5px;}
#wifi7-video .close, #esg-video .close{position: absolute;border: 0;outline: none;cursor: pointer;background: none;font-size: 50px;z-index: 1;top: 0;right: 1%;color: #fff;opacity: 1;margin: 0;padding: 0;}
.esg-video-btn-eu {position: relative; width: fit-content; cursor: pointer;}
.show {display: flex !important;}
.popup {display: none;width: 100%;height: 100vh;background-color: rgba(0, 0, 0, 0.9);justify-content: center;align-items: center;position: fixed;top: 0;left: 0;z-index: 1050;}
.popup .wifi7-video, .popup .esg-video{margin: 0 auto; width:71vw; height:40vw; text-align:center;max-height: calc(100vh - 60px);}
.product-router-section h6{font-size: 0.88rem; margin:0;}
.btn-info .material-icons-round {transform: rotate(0deg); transition: all 0.6s; vertical-align: middle;}
.btn-info .material-icons-round.active {transform: rotate(180deg);}

@media (max-width: 1600px) {
	#devices-5g-auto-frame img { right: 0; }
}

@media (max-width: 700px) {

/* AMB */
    .m-block, .m-block picture{display: block !important;}
    .l-block{display: none;}
    .top-banner img {object-position: right;}
    .product-router-box {margin-bottom: 1rem;}
    .product-img-box {width: 50%; margin: auto;}
    #devices-5g-auto-frame img { position: relative; margin: 0 auto; display: block; right: unset; }
    #devices-5g-auto-frame {padding: 0 !important; overflow: hidden; min-height: 600px !important; height: auto;}
    #devices-5g-auto-frame h3 {margin-top: 2rem;}
}