#layerslider {
    max-width: 100% !important;
    position: relative;
    background: linear-gradient(to top, #1b1b1b, #aa8f256b, #1b1b1b), url(../img/slide.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin-top: -73px;
    height: 850px;
}

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

#layerslider .text-box h2 {
    font-weight: 600;
    font-size: 2.8rem;
    color: #FFF;
    text-align: center;
    margin: 0 auto;
    line-height: 51px;
    text-shadow: 0px 1px 3px #070b1e73;
    padding-top: 6rem;
}

#layerslider .text-box p {
    color: var(--color-font-light);
    font-size: 1.2rem;
    margin: 14px auto;
    background-color: var(--color-secondary);
    border-radius: 90px;
    padding: 5px;
    max-width: 480px;
    display: block;
}

#layerslider .text-box{
    width: 60%;
    margin: 120px 0 0px 120px;
    text-align: center;
    float: none;
}

#layerslider .text-box .btn_theme_secondary,
#layerslider .text-box .btn_theme_tertiary {
    font-weight: 500;
    padding: 6px 25px !important;
    display: inline-flex;
    max-width: 50%;
    background-color: var(--color-font-light);
    margin: 0 10px 14px 10px;
    border-radius: 90px !important;
    color: var(--color-font-dark)!important;
    transition: 0.5s;
    border: 2px solid var(--color-font-light);
}

#layerslider .text-box .btn_theme_secondary:hover,
#layerslider .text-box .btn_theme_tertiary:hover {
    transform: scale(1.1);
    transition: 0.3s;
    border: 2px solid var(--color-secondary)!important;
    background-color: #fff!important;
}

#layerslider .text-box .btn_theme_tertiary {
    padding: 8px 20px !important;
    margin-top: 1rem !important;
}

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

#layerslider .text-box a img{
	width: 108px;
    height: 90px;
}

#layerslider .text-box a{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}




@media (max-width: 1299px) {
    #layerslider .ls-content {
        left: 9% !important;
    }
}

@media (max-width: 991px) {
    
    #layerslider .ls-content {
        left: 9% !important;
        top: 10% !important;
    }

    #layerslider .text-box h2 {
        font-weight: bolder;
        font-size: 1.5rem;
        line-height: 33px;
        margin-top: 110px;
        width: 50%;
        display: inline-block;
    }
    #layerslider .text-box .btn_theme_tertiary, #layerslider .text-box .btn_theme_secondary {
        margin: 1rem 0.6rem 0 0 !important;
        display: block;
    }
}

@media (max-width: 768px) {
    #layerslider .text-box .btn_theme_tertiary,
    #layerslider .text-box .btn_theme_secondary {
        display: none;
    }
}

@media (max-width: 649px) {
    #layerslider .text-box h2 {
        font-weight: bolder;
        font-size: 1.8rem;
        line-height: 30px;
        margin-top: -3rem;
    }

    #layerslider .text-box .btn_theme_tertiary,
    #layerslider .text-box .btn_theme_secondary {
        display: none;
    }
}

@media (max-width: 499px) {
	
	#layerslider .text-box h2 {
        font-weight: bolder;
        font-size: 22px;
        line-height: 24px;
        margin-top: 0rem;
        width: 100%;
    }

	#layerslider .text-box p {
	display:none;
	}

	#layerslider .text-box {
	width: 90%;
	margin: 0 auto 10px -10px;
	text-align: center;
	float: none;
	}

	#layerslider {
	max-width: 100% !important;
	position: relative;
	background-position: initial;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	margin-top: -90px;
	height: 290px;
	}

	#layerslider {
	background-attachment: inherit !important;
	margin-top: 0px !important;
	}


}