/*---- HOME ----*/
.home_slider{
	direction: ltr;
	/* height: 100%; */
    overflow: hidden;
    /* max-height: 100%; */
    z-index: 1;
    padding: 20px;
    background-color: #eee;
}

.home_slider .slider_box .slide{
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.home_slider .slider_box .info{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: right;
    padding: 20px;
    z-index: 2;
    direction: rtl;
}
.home_slider .slider_box .info .link{
    text-align: left;
}
.home_slider .slider_box .info .link a{
    margin: 20px auto 0 0;
    background-color: #fff;
    font-size: 0.9em;
    font-weight: 500;
    color: #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    display: inline-block;
    text-align: center;
}
.home_slider .slider_box .info .title{
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
.home_slider .slider_box .info .desc{
    font-size: 1em;
    line-height: 1.6em;
    margin-top: 10px;
}
.home_slider .slider_box .info .desc h2{
    margin: 0 0 10px 0;
}
.home_slider .slider_box .img{
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
}
.home_slider .slider_box .img img{
	height: 100%;
	width: 100%;
    border-radius: 5px;
}

.home_slider .owl-carousel .owl-nav button{
    width: 100px;
    height: 100px;
}
.home_slider .owl-carousel .owl-nav button.owl-prev{
    background-image: url(../uploads/slider_prev.png);
}
.home_slider .owl-carousel .owl-nav button.owl-next{
    background-image: url(../uploads/slider_next.png);
}
.p_home_slider{
    background-color: #fff;
    padding: 80px 0;
    background-image: url("../uploads/bg/pattern.png");
}
#customize{
	position: relative;
	overflow: hidden;
    padding: 150px 0 100px 0;
}
#customize .container{
    font-size: 0;
    height: 540px;
}
#customize:after {
    content: '';
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 100px;
    left: 0;
    z-index: 1;
    background-size: contain;
    background-image: url("../uploads/customize/rail.svg");
    font-size: 0;
    background-position: center;
}
#customize .container .btn {
    position: absolute;
    width: 220px;
    height: 71px;
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    top: 0;
    z-index: 3;
    cursor: pointer;
    background-color: #b11e48;
    border: none;
    padding: 0;
}
#customize .container .btn .front {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: #EF3D6F;
    transform: translateY(-4px);
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
    animation-name: btn_front;
    -webkit-animation-name: btn_front;
	animation-duration: .8s;
	-webkit-animation-duration: .8s;
	transform-origin:50% 50%;
	-webkit-transform-origin:50% 50%;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
	animation-timing-function: linear;
	-webkit-animation-timing-function: linear;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    line-height: 70px;
}
@keyframes btn_front {
    0% { -webkit-transform: translateY(-4px);}
    50% { -webkit-transform: translateY(-7px);}
    100% { -webkit-transform: translateY(-4px);}
}
#customize .container .btn:focus:not(:focus-visible) {
    outline: none;
}
#customize .desc {
    position: absolute;
    width: 100%;
    top: 20px;
    left: 50%;
    transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    max-width: 600px;
    border: 3px solid #ef3a6f;
    background-color: #fff;
    color: #706f6f;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    opacity: 0;
    transition: all .3s ease-in;
    font-size: 1.3em;
    z-index: 1;
}
#customize .desc.show{
    opacity: 1;
}
#customize .desc:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    -webkit-transform: translateX(-50%) rotate(45deg);
    -moz-transform: translateX(-50%) rotate(45deg);
    background-color: #fff;
    z-index: -1;
    border:  solid #ef3a6f;
    border-width: 0 3px 3px 0px;
    border-radius: 0 0 4px 0;
    width: 20px;
    height: 20px;
}
#customize .container .train{
    position: absolute;
    bottom: 35px;
    left: 100%;
    z-index: 2;
    transition: left 2s ease-in;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size:auto 100%;
    background-repeat:no-repeat;
}
.loaded #customize .container .train{
    background-image: url("../uploads/customize/train.png");
}
#customize .container .bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size:auto 100%;
    background-repeat:no-repeat;
}
.loaded #customize .container .bg{
    background-image: url("../uploads/customize/bg.jpg");
}

#customize .container .train.go{
    left: -150% !important;
}
#activity .sec:nth-child(1){
	background-color: #64C4B3;
    box-shadow: rgb(141 141 141 / 80%) 0 -3px 7px;
}
#activity .sec .side{
    width: 20%;
    font-size: 0;
}
#activity .sec:nth-child(1) .f_container,
#activity .sec:nth-child(3) .f_container{
    align-items: end;
} 
#activity .sec:nth-child(2){
	background-color: #FAA640;
        box-shadow: rgb(141 141 141 / 80%) 0 -3px 7px;
}
#activity .sec:nth-child(3){
	background-color: #05004c;
        box-shadow: rgb(141 141 141 / 80%) 0 -3px 7px;
}
#activity .sec .f_container{
    align-items: center;
    justify-content: space-between;
}
#activity .title{
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
#activity .desc {
    color: #eee;
    line-height: 30px;
    font-weight: 500;
    font-size: 1em;
}
#activity .info{
    width: 60%;
    padding: 100px 0 40px 0;
}
#activity .sec:nth-child(2) .info{
    padding: 100px 0;
}
#activity .info .title{
     max-width: 50%;
}
#activity .info .title h2{
    padding: 0;
    margin: 0;
    display: inline-block;
    font-weight: bold;
    font-size: 1em;
}
#activity .info a.btn{
    margin: 40px auto 0 auto;
    background-color: #EF3D6F;
    font-size: 0.9em;
    font-weight: 500;
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    display: block;
    max-width: 300px;
    text-align: center;
}




@media only screen  and (max-width: 1420px) {
    #activity .sec .f_container{
        padding: 0 20px;
    }
    #customize .container{
        height:400px;
    }

}
@media only screen  and (max-width: 1024px) {
    .home_slider .slider_box .info .title {
        font-size: 2.5em;
    }
    .home_slider .slider_box .info .desc {
        font-size: 1.2em;
        line-height: 1.6em;
        margin-top: 15px;
    }
    .home_slider .slider_box .info .link a {
        margin: 20px auto 0 0;
    }
    .home_slider {
        height: auto;
    }
    .home_slider .owl-carousel .owl-nav button{
        width: 80px;
        height: 80px;
    }
    .p_home_slider {
        padding: 50px 0;
    }
    #customize .container{
        height:350px;
    }
}

@media only screen and (max-width: 900px) {
    .home_slider .slider_box .flex:after{
        display: none;
    }
    .home_slider .slider_box .info .title {
        font-size: 1.8em;
    }
    .home_slider .slider_box .info .desc {
        font-size: 1em;
        line-height: 1.4em;
        margin-top: 10px;
    }
    .home_slider .slider_box .info .link a {
        margin: 0 auto 0 0;
     }

    .home_slider .owl-carousel .owl-nav button{
        width: 50px;
        height: 50px;
    }

    #customize .desc {
        opacity: 1;
    }
    /* #customize .container .train {
        transform: translateX(-100%) !important;
        -webkit-transform: translateX(-100%) !important;
        -moz-transform: translateX(-100%) !important;
    } */
    /* #customize .container{
        width: 140%;
        left: 20%;
        height: 200px;
    } */
    /* #customize {
        padding: 150px 0 50px 0;
    } */
    #customize .desc{
        max-width: 490px;
    }
    /* #customize .container .train {
        bottom: 15px;
    } */
    /* #customize:after{
        height: 20px;
        bottom: 50px;
    } */
    #customize .container .btn {
        width: 130px;
        height: 41px;
        top: -10px;
    }
    #customize .container .btn .front{
        font-size: 14px;
        line-height: 42px;
    }
    #activity .sec .side {
        width: 30%;
    }
    #activity .info {
        padding: 50px 0;
    }
}
@media only screen and (max-width: 768px) {
    #activity .sec:nth-child(1) .f_container, 
    #activity .sec:nth-child(3) .f_container {
        align-items: center;
    }
    .loaded #customize .container .train{
        background-image: url("../uploads/customize/train-mob.png");
    }
	#customize .container .bg{
		display: none;
	}
    #customize .container .btn {
        top: -70px;
    }
    #customize:after {
        bottom: 40px;
    }
    #customize {
        padding: 200px 0 20px 0;
    }
    #customize .container .train{
        background-size: auto 80%;
        bottom: 5px;

    }
}
@media only screen and (max-width: 551px) {
    .home_slider .slider_box .flex{
        display: block;
        height:auto;
    }
    .home_slider .slider_box .info {
        text-align: center;
    }
    .home_slider .slider_box .info .link{
        text-align: center;
    }
    .home_slider .owl-carousel .owl-nav button{
        width: 30px;
        height: 30px;
    }
    #customize .desc{
        max-width: 370px;
    }

    #customize .container .btn {
        height: 40px;
        top: -60px;
    }

    #activity .desc{
        font-size: 1.2em;
    }
    #activity .f_container {
        flex-wrap: wrap;
    }
    #activity .sec .side{
        width: 100%;
        text-align: center;
        padding-top: 40px;
    }
    #activity .sec .side img{
        max-width: 150px;
    }
    #activity .info {
        width: 100%;
        padding:40px 0 !important;
    }
    #activity .sec:nth-child(2) .f_container{
        flex-direction: column-reverse;
    }
    .product_slider .slider_container{
        /* max-width: 250px; */
        margin: 0 auto;
    }
}
@media only screen and (max-width: 414px) {

    .p_home_slider .lSSlideWrapper{
        max-width: 280px;
        margin: 0 auto;
    }
}
