﻿.sp-slideshow {
    position: relative;
    width: 100%;
    height:100%;
    min-width: 260px;
}
.sp-divslide {
    height: calc(100% - 150px) !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.sp-content {
    background: transparent;
    /*background: url(../Css/Svg/TuTao.svg) top left;*/
    /*  background-size: auto;
    background-repeat: repeat;*/
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sp-parallax-bg {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sp-slideshow input {
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 9px;
    height: 9px;
    z-index: 1001;
    cursor: pointer;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  /*  opacity: 0;*/
}

    .sp-slideshow input + label {
        position: absolute;
        bottom: 15px;
        /*  left: 50%;*/
        width: 10px;
        height: 10px;
        display: block;
        z-index: 1000;
        border: 5px solid #fff;
        border: 5px solid rgba(255,255,255,0.9);
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        -webkit-transition: all linear 0.5s;
        -moz-transition: all linear 0.5s;
        -o-transition: all linear 0.5s;
        -ms-transition: all linear 0.5s;
        transition: all linear 0.5s;
    }

    .sp-slideshow input:checked + label {
        background-color: #fff;
        background-color: rgba(255,255,255,0.9);
    }

.sp-selector-1, .button-label-1 {
    margin-left: -36px;
}

.sp-selector-2, .button-label-2 {
    margin-left: -18px;
}

.sp-selector-4, .button-label-4 {
    margin-left: 18px;
}

.sp-selector-5, .button-label-5 {
    margin-left: 36px;
}

.sp-arrow {
    position: absolute;
    top: 50%;
    margin-top: -19px;
    display: none;
    opacity: 0.8;
    cursor: pointer;
    z-index: 1000;
    -webkit-transition: opacity linear 0.3s;
    -moz-transition: opacity linear 0.3s;
    -o-transition: opacity linear 0.3s;
    -ms-transition: opacity linear 0.3s;
    transition: opacity linear 0.3s;
    text-shadow: 1px 0px 4px black;
    font-family: FontAwesome;
    font-size: 35px;
    color: white;
}

    .sp-arrow:hover {
        opacity: 1;
    }

    .sp-arrow:active {
        margin-top: -18px;
    }

.sp-selector-1:checked ~ .sp-arrow.sp-a2,
.sp-selector-2:checked ~ .sp-arrow.sp-a3,
.sp-selector-3:checked ~ .sp-arrow.sp-a4,
.sp-selector-4:checked ~ .sp-arrow.sp-a5 {
    right: 15px;
    display: block;
}
    .sp-selector-1:checked ~ .sp-arrow.sp-a2:before,
    .sp-selector-2:checked ~ .sp-arrow.sp-a3:before,
    .sp-selector-3:checked ~ .sp-arrow.sp-a4:before,
    .sp-selector-4:checked ~ .sp-arrow.sp-a5:before {
        content: '\f054'
    }

.sp-selector-2:checked ~ .sp-arrow.sp-a1,
.sp-selector-3:checked ~ .sp-arrow.sp-a2,
.sp-selector-4:checked ~ .sp-arrow.sp-a3,
.sp-selector-5:checked ~ .sp-arrow.sp-a4 {
    left: 15px!important;
    display: block;
}
    .sp-selector-2:checked ~ .sp-arrow.sp-a1:before,
    .sp-selector-3:checked ~ .sp-arrow.sp-a2:before,
    .sp-selector-4:checked ~ .sp-arrow.sp-a3:before,
    .sp-selector-5:checked ~ .sp-arrow.sp-a4:before {
        content: '\f053';
    }


.sp-slideshow input:checked ~ .sp-content {
    -webkit-transition: all linear 0.5s;
    -moz-transition: all linear 0.5s;
    -o-transition: all linear 0.5s;
    -ms-transition: all linear 0.5s;
    transition: all linear 0.5s;
}

    .sp-slideshow input:checked ~ .sp-content .sp-parallax-bg {
        -webkit-transition: all linear 0.5s;
        -moz-transition: all linear 0.5s;
        -o-transition: all linear 0.5s;
        -ms-transition: all linear 0.5s;
        transition: all linear 0.5s;
    }

input.sp-selector-1:checked ~ .sp-content {
    background-position: 0 0;
    background: transparent;
}

input.sp-selector-2:checked ~ .sp-content {
    background-position: -100px 0;
    background: transparent;
}

input.sp-selector-3:checked ~ .sp-content {
    background-position: -200px 0;
    background: transparent;
}

input.sp-selector-4:checked ~ .sp-content {
    background-position: -300px 0;
    background: transparent;
}

input.sp-selector-5:checked ~ .sp-content {
    background-position: -400px 0;
    background: transparent;
}

input.sp-selector-1:checked ~ .sp-content .sp-parallax-bg {
    background-position: 0 0;
}

input.sp-selector-2:checked ~ .sp-content .sp-parallax-bg {
    background-position: -200px 0;
}

input.sp-selector-3:checked ~ .sp-content .sp-parallax-bg {
    background-position: -400px 0;
}

input.sp-selector-4:checked ~ .sp-content .sp-parallax-bg {
    background-position: -600px 0;
}

input.sp-selector-5:checked ~ .sp-content .sp-parallax-bg {
    background-position: -800px 0;
}

.sp-slider {
    position: relative;
    left: 0;
    width: 500%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    opacity:1;
    -webkit-transition: all ease 1s;
    -moz-transition: all ease 1s;
    -o-transition: all ease 1s;
    -ms-transition: all ease 1s;
    transition: all ease 1s;
}

    .sp-slider > li {
        color: #fff;
        width: 20%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
        height: 100%;
        padding: 15px 15px 40px 15px;
        float: left;
        text-align: center;
        opacity: 0;
        transition: opacity ease-in 0.7s;
        animation: opaslide ease-in 0.7s;
    }

        .sp-slider > li div {
            max-height: 100%;
            max-width: 100%;
        }

@keyframes opaslide{
    0%{opacity:0;}
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
input.sp-selector-1:checked ~ .sp-content .sp-slider {
    left: 0;
}

input.sp-selector-2:checked ~ .sp-content .sp-slider {
    left: -100%;
}

input.sp-selector-3:checked ~ .sp-content .sp-slider {
    left: -200%;
}

input.sp-selector-4:checked ~ .sp-content .sp-slider {
    left: -300%;
}

input.sp-selector-5:checked ~ .sp-content .sp-slider {
    left: -400%;
}

    input.sp-selector-1:checked ~ .sp-content .sp-slider > li:first-child,
    input.sp-selector-2:checked ~ .sp-content .sp-slider > li:nth-child(2),
    input.sp-selector-3:checked ~ .sp-content .sp-slider > li:nth-child(3),
    input.sp-selector-4:checked ~ .sp-content .sp-slider > li:nth-child(4),
    input.sp-selector-5:checked ~ .sp-content .sp-slider > li:nth-child(5) {
        opacity: 1;
    }

@media screen and (max-width: 840px) {
    .sp-slideshow {
        height: 345px;
    }
}

@media screen and (max-width: 680px) {
    .sp-slideshow {
        height: 285px;
    }
}

@media screen and (max-width: 560px) {
    .sp-slideshow {
        height: 235px;
    }
}

@media screen and (max-width: 320px) {
    .sp-slideshow {
        height: 158px;
    }
}

.modal-body p {
    text-align: justify;
}

.modal-header {
    background-color: aliceblue;
}

.modal-backdrop.show {
    opacity: 0.15 !important;
}

.modal::backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.15);
}

.div-btn-4 {
    display: grid;
    grid-template-columns: 40px 50px auto 20px max-content;
    grid-template-rows: 100%;
    align-items: center;
}

/*.tablink {
    float: left;
    border-style: solid;
    border-width: 1px 1px 0px 1px;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 90;
    outline: none !important;
}*/

.tvcenter {
    position: absolute;
    display: flex;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    border: 1px solid #0e9491;
    border-radius: 15px;
    align-items: center;
    background-color: white;
    padding: 15px;
    -moz-box-shadow: inset 0 0 3px #000000;
    -webkit-box-shadow: inset 0 0 3px #000000;
    box-shadow: 1px 2px 3px 3px rgba(0,0,0,0.2);
}

.btn-dangnhap {
    max-width: 95%;
    white-space: nowrap;
    font-size: calc(1vh + 1vmin);
    padding: 15px 5vmin;
}


.nav-background {
    background-color: white;
}

.tvinputgroup {
    display: grid;
    grid-template-columns: 80px calc(100% - 80px);
}

#div-login1 .select2-container .select2-selection--single {
    /*   height: 100% !important;*/
    border-radius: 0px 4px 4px 0px !important;
    border: 1px solid #dee2e6;
}

#div-login1 .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 35px;
}

#mdDangKyTruong .select2-container .select2-selection--single {
   /* height: 100% !important;*/
    border-radius: 0px 4px 4px 0px !important;
}


.tvhslide {
    font-size: 4vmin;
    font-weight:600;
}

.tvcslide {
    font-size: 3vmin;
}

.tvlable-center {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    white-space: nowrap;
    place-content: center;
}

.tvlable-center:hover {
    color: darkgreen;
}

.btn-login-choose {
    white-space: normal;
    margin: 0.5rem;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    color: #fff;
    border-radius: 0.3rem;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    border: none;
    background-size: 300% 100%;
    background-image: linear-gradient(to right, #48c2f5, #1ccde9, #2789ab, #17a2b8);
    box-shadow: 0 1px 5px 0 #17a2b8;
}

    .btn-login-choose:hover {
        background-position: 100% 0;
        moz-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        -webkit-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }
.btn-login-choose:focus {
    outline: none;
}
.btn-hover.color-1 {
    background-image: linear-gradient(to right, #25aae1, #40e495, #30dd8a, #2bb673);
    box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);
}

.loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
    border-top: 5px solid #EE4E4E;
    border-right: 5px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

    .loader::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border-left: 5px solid #028391;
        border-bottom: 5px solid transparent;
        animation: rotation 0.5s linear infinite reverse;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
} 