#layerslider { max-width: 100% !important; position: relative; }

#layerslider .ls-content { left: 11% !important; }

#layerslider .text-box { color: var(--color-font-secondary); left: 13%; }
#layerslider .text-box h2 {
    font-weight: bolder;
    font-size: 3.35rem;
    line-height: 56px;
    /* background-color: #00437abd; */
    padding: 20px 0px;
    border-radius: 23px;
    width: 100%;
    color: #ffffff;
    margin-top: -60px;
}
#layerslider .text-box .btn_theme_tertiary,
#layerslider .text-box .btn_theme_secondary {
    font-size: 1.15rem;
    font-weight: 500;
    padding: 10px 30px !important;
    margin-top: 1rem !important;
    border-radius: 90px!important;
    background-color: #03335acf!important;
    color: #fff!important;
    border: 2px solid #ffffff;
    transition: 0.4s;
    margin-left: 5px;
}

#layerslider .text-box .btn_theme_tertiary:hover,
#layerslider .text-box .btn_theme_secondary:hover {
    transition: 0.3s;
    background-color: #3a3a3a!important;
    color: #fff!important;    
}

#layerslider .ls-slide .ls-l {
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 100% !important;
}




@media (max-width: 1299px) {
    #layerslider .ls-content { left: 9% !important; }
}
@media (max-width: 991px) {
    #layerslider .text-box h2 { font-weight: bolder; font-size: 2.5rem; }
    #layerslider .ls-content { left: 9% !important; top: 10% !important; }
    #layerslider .text-box .btn_theme_tertiary,
    #layerslider .text-box .btn_theme_secondary { margin-top: 3rem !important; }
}
@media (max-width: 768px) {
    #layerslider .text-box h2 {
    font-weight: bolder;
    font-size: 2rem;
    line-height: 42px;
    margin-top: -36%;
}
    #layerslider .ls-content { left: 6% !important; top: 20% !important; }
    #layerslider .text-box .btn_theme_tertiary, #layerslider .text-box .btn_theme_secondary {
    margin-top: 1rem !important;
    display: block;
    margin-bottom: 1px;
}
}
@media (max-width: 649px) {
    #layerslider .text-box h2 { font-weight: bolder; font-size: 2rem; }
    #layerslider .ls-content { left: 5% !important; top: 30% !important; }
    #layerslider .text-box .btn_theme_tertiary,
    #layerslider .text-box .btn_theme_secondary { display: none; }
}
@media (max-width: 499px) {
    header .header-nav {
        padding: 8px 0!important;
    }
    #layerslider .text-box h2 {
    font-size: 17px!important;
    line-height: 18px!important;
    width: 100%;
    font-weight: bolder;
    margin-top: -91px!important;
}
    .msg_flashdata .alert, .msg_status .alert{display: none;}
    #layerslider {
    background-position: center!important;
    background-repeat: no-repeat!important;
    background-attachment: inherit!important;
    background-size: cover!important;
    height: 290px!important;
}
}