@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat&display=swap');

/* top line start */
.content-hook-home-top-line {
    background-color: #000;
    color: #fff;
    position: absolute;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 500;
    top: 0;
    width: 100%;
    max-width: 2560px;
}

.content-hook-home-top-line .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-hook-home-top-line ul {
    display: flex;
    margin: 0;
    padding: 5px 0;
}

.content-hook-home-top-line-text {
    gap: 30px;
}

.content-hook-icon-ok {
    position: relative;
    padding-left: 18px;
}

.content-hook-icon-ok::before {
    content: '';
    background-image: url('../img/svg/Ok_icon.svg');
    position: absolute;
    display: inline-block;
    width: 15px;
    height: 15px;
    left: 0;
    top: -1px;
}

.content-hook-home-top-line-logo {
    justify-content: flex-end;
    gap: 1px;
    margin-left: auto !important;
}

@media (max-width: 1199px) {
    .content-hook-home-top-line-text {
        margin-right: 10px !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    #index #header {
        margin-top: 50px;
    }
}

@media (max-width: 991px) {
    .content-hook-home-top-line {
        font-size: 10px;
    }

    .content-hook-home-top-line .container,
    .content-hook-home-top-line-text {
        justify-content: center;
    }

    .content-hook-home-top-line-text {
        visibility: hidden;
    }

    .content-hook-icon-ok.curent {
        display: inline-block !important;
    }
}

.announcement-bar .flickity-slider {
    transform: none !important;
}

.announcement-bar__outer-wrapper {
    order: -1;
}

.flickity-enabled .announcement-bar__item {
    width: 100%;
    align-items: center;
    justify-content: space-around;
    white-space: nowrap;
    text-align: center;
    overflow-x: scroll;
    pointer-events: none;
    left: 0 !important;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    -ms-overflow-style: none;
    scrollbar-width: none
}

.announcement-bar__item.is-selected {
    opacity: 1;
    pointer-events: all;
}

.flickity-enabled .announcement-bar__item {
    display: block;
}

.announcement-bar__item:first-of-type {
    display: block;
}

.announcement-bar__item::-webkit-scrollbar {
    display: none;
}

@-webkit-keyframes inFromBottom {
    from {
        transform: translateY(calc(4px * 10));
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes inFromBottom {
    from {
        transform: translateY(calc(4px * 10));
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

.is-active .announcement-bar__content {
    -webkit-animation: 0.5s ease-in-out inFromBottom;
    animation: 0.5s ease-in-out inFromBottom;
}

.content-hook-home-top-line-text.flickity-enabled {
    display: block;
    width: 100%;
}

.content-hook-home-top-line-text .flickity-cell {
    transform: none !important;
}

@media (max-width: 991px) {
    .announcement-bar__item {
        display: none;
    }

    .flickity-viewport {
        height: 20px !important;
    }

    .flickity-slider {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
/* top line end */



/* two banners start */
.home-two-banners {
    color: #fff;
    display: flex;
    gap: 16px;
}

.home-two-banners>.col-xs-6 {
    border-radius: 1rem;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

/* .home-two-banners-one {
    background-image: linear-gradient(360deg, #0a0a0a, #444444);
} */

.home-two-banners-one-image,
.home-two-banners-two-image {
    max-width: 100%;
    height: auto;
}

.home-two-banners-one-image {
    padding-top: 5px;
    padding-bottom: 5px;
}

.home-two-banners-two-image {
    padding-top: 10px;
}

/* .home-two-banners-two {
    background-image: linear-gradient(270deg, #5567aa, #9da7ce);
} */

.home-two-banners-link {
    padding-bottom: 2px;
    font-size: 14px;
    line-height: 0px;
    font-weight: bold;
    text-decoration: underline;
}

.home-two-banners-one .home-two-banners-link {
    color: #d70000;
}

.home-two-banners-one .home-two-banners-link:hover {
    color: #d70000;
    opacity: .5;
    text-decoration: underline;
}

.home-two-banners-two .home-two-banners-link:hover {
    color: #000;
    opacity: .5;
    text-decoration: underline;
}

.home-two-banners-text {
    padding: 10px 15px;
    font-size: 17px;
}

.home-two-banners-two .home-two-banners-img {
    margin-top: auto;
}

@media (min-width: 768px) and (max-width: 991px) {
    .home-two-banners-text {
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between;
        height: 100%;
    }

    .home-two-banners-link {
        line-height: 1;
    }
}

@media (max-width: 767px) {
    .home-two-banners >.col-xs-6 {
        flex-flow: column;
        padding: 15px 5px 0;
    }

    .home-two-banners-img,
    .home-two-banners-text {
        padding: 0;
    }

    .home-two-banners-img {
        order: 2;
    }

    .home-two-banners-text {
        order: 1;
    }
}

@media (max-width: 400px) {
    .home-two-banners-text {
        font-size: 15px;
    }
}
/* two banners end */



/* slider start */
.an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .owl-item .an_homeslider-item .sliderrow img.logo{
    height: 50px;
}

.slidertext {
    display: flex;
    flex-direction: column;
}

.slidertext .supports {
    display: flex;
    justify-content: left;
    margin: 30px 0;
}

body .an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .supports .item img {
    height: 39px;
    margin-right: 10px;
}

.slidertext h1 {
    font-size: 30px;
    font-weight: 300;
    color: rgb(0, 0, 0);
    line-height: 1.2;
    text-align: left;
    margin: 0;
}

.button {
    line-height: 0px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

.buynow {
    color: #ffffff !important;

    width: 92px;
    background: #5668ab;
    border-radius: 15px;
    cursor: pointer;
}

.openers {
    color: #5668ab !important;
    text-decoration: underline !important;
    margin-right: 25px;
    cursor: pointer;
    font-size: 14px;
}

.sliderrow.image {
    position: absolute;
    left: 63%;
    height: 75%;
    top: 0;
    bottom: 0;
    margin: auto;
}

.sliderrow.image img {
    max-height: 100%;
}

body .an_homeslider .owl-dots .owl-dot span{
    border-radius: 10px;
}
body .an_homeslider .owl-dots .owl-dot.active span, .an_homeslider .owl-dots .owl-dot:hover span{
    background: #5668ab;
}
.an_homeslider .owl-dots .owl-dot span {
    background: #eeeeee;
}

.sliderrow.image.fullheight {
    height: 100%;
    left: 50%;
    
}

.an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .owl-item .an_homeslider-item .sliderrow.image.fullheight img{
    height: 100%;
    max-width: unset;
    
}

@media (max-width: 991px) {
    .slidertext .supports {
        margin: 15px 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .slidertext {
        width: 100%;
    }

    .slidertext .supports {
        margin: 10px 0;
    }

    .sliderrow,
    .sliderrow.image {
        margin-left: 10%;
    }

    .slidertext h1 {
        font-size: 25px;
    }

    /* .sliderrow:not(.image) {
        max-height: 20px;
    } */

    body .an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .supports .item img {
        height: 30px;
    }
}

@media (max-width: 767px) {
    .an_homeslider.an_homeslider-responsive .an_homeslider-desc>.container {
        justify-content: end;
    }

    .an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .owl-item .an_homeslider-item .sliderrow img.logo {
        height: 40px;
    }

    .slidertext h1 {
        font-size: 20px;
        margin: 15px 0;
    }

    /* .an_homeslider.an_homeslider-responsive .owl-dots{
        display: none;
    } */
    .slidertext {
        align-items: center;
        width: 100%;
        padding-bottom: 25px;
    }

    .slidertext .supports {
        width: 100%;
        justify-content: center;
        gap: 5px;
    }
}

@media (max-width: 400px) {
    .slidertext .supports,
    .slidertext h1 {
        margin: 10px 0;
    }

    body .an_homeslider.owl-carousel.owl-drag.an_homeslider-responsive .supports .item.assistant img {
        height: 40px;
    }
}
/* slider end */



/* Quad blocks start */
#quadBlocks {
    width: 100%;
    display: grid;
    gap: 16px;
    grid-template:
        "a a b c"1fr "a a d e"1fr/ 1fr 1fr 1fr 1fr;
    margin-top: 20px;
}

.quad_item {
    width: 100%;
    height: 255px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(160deg, #ffffff, #f4f4f4);
    border-radius: 1rem;
    padding: 5px 5px 0px 5px;

    overflow: hidden;
}

.quad_item .cat_name,
.content-hook__uper {
    font-size: 12px;
    text-transform: uppercase;
}

.quad_item h3 {
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    min-height: 44px;
}

.quad_item .openers {
    margin-right: unset;
}

.main {
    grid-area: a;
    height: 100%;
}

.sensors {
    grid-area: b;
}

.plugins {
    grid-area: c;
}

.accesories {
    grid-area: d;
}

.surveillance {
    grid-area: e;
}

.quad_item.main img {
    height: 300px;
    width: auto;
    object-fit: contain;
}

.quad_item img {
    width: 100px;
}

.quad_item .h-mob.text-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.quad_item .h-mob.text-items div{
    padding: 4px 0px;
}

.quad_item .h-mob.text-items div h3 {
    min-height: unset;
}

#xzxQuadImg{
    display: flex; justify-content: center;
}
#xzxQuadImg img{
    width: 90%;
}

@media (max-width: 767px) {
    #quadBlocks {
        grid-template: auto / repeat(2, 1fr);
    }

    .quad_item {
        grid-area: unset;
    }

    .quad_item.main {
        height: 255px;
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 1;
        flex-direction: row;
        justify-content: center;
    }

    .h-mob {
        margin-left: 8px;
    }

    .quad_item .h-mob.text-items {
        width: 50%;
    }

    .main_img_wrapper {
        width: 50%;
        margin-right: 8px;
    }

    .quad_item.main img {
        width: 100%;
        height: 100%;
    }

    .quad_item h3 {
        min-height: 60px;
    }

}

@media (max-width: 400px) {
    .quad_item h3 {
        font-size: 15px;
    }
}

.an_homeproducts-title {
    font-size: 30px;
}

.home-featured {
    padding: 50px 2%;
}
/* Quad blocks start */



/* Featured block start */
#featured_blocks {
    height: 30px;
    overflow-y: hidden;
    padding: 0px 30px;
}

#featured_blocks .flickity-cell {
    padding-right: 20px;
}

#featured_blocks .flickity-prev-next-button.previous {
    left: 0 !important;
}

#featured_blocks .flickity-prev-next-button.next {
    right: 0 !important;
}

#featured_blocks .flickity-button:focus {
    box-shadow: none !important;
}

#featured_blocks .flickity-prev-next-button {
    height: 30px !important;
    color: darkgray !important;
}

#featured_blocks .flickity-prev-next-button:hover {
    color:#000 !important;
}
/* Featured block end */



/* Top Trending block start */

@media (max-width: 500px) {
    .an_homeproducts-tab {
        margin: 5px 5px!important;
        min-width: 100px;
    }
}

/* Top Trending block end */

/* dev styles */

/* @media (min-width: 992px){
    body #mobile_top_menu_wrapper .amenu-item .amenu-link,
    body #amegamenu.fixed-menu #mobile_top_menu_wrapper .amenu-item .amenu-link
    {
        padding: 25px 0px 24px 0px!important;
        font-weight: 500;
    }

    body #mobile_top_menu_wrapper .mobile_item_wrapper {
        padding: 0 29px;
    }
    body .header-options .dropdown-menu{
        width: 280px;
        padding: 0px;
        text-transform: unset;
    }

   
    #amegamenu.fixed-menu #mobile_top_menu_wrapper .anav-top {
        float: unset;
        padding-top: unset;
        width: unset;
        justify-content: unset;
        display: block;
    }

    #header #_desktop_logo #mobile_top_menu_wrapper a{
        justify-content: unset;
    }

    #header #_desktop_logo #mobile_top_menu_wrapper img {
        height: unset;
    } */


    /* #header .menu-button{
        display: none;
    } */
    /* .menu-button[aria-expanded="true"] {
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }
    
    .menu-button[aria-expanded="false"] {
        opacity: 1;
        transition: opacity 0.2s ease-in-out;
    } */
/* } */