.slider {
    height: 100%;
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    /* -webkit-box-pack: center;
    -webkit-justify-content: center; */
    /* -ms-flex-pack: center;
    justify-content: center; */
    height: 159px;
    width: 100%;
}

.slider__nav {
    margin: 1rem 5px;
    border-radius: 50%;
    z-index: 10;
    outline: 6px solid #9e9e9e;
    outline-offset: -6px;
    box-shadow: 0 0 0 0 #4fd8af;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 12px;
    height: 12px;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.slider__nav:checked {
    -webkit-animation: check 0.4s linear forwards;
    animation: check 0.4s linear forwards;
    outline: 6px solid #9e9e9e;
}

.slider__nav:checked:nth-of-type(1)~.slider__inner {
    left: 0%;
}

.slider__nav:checked:nth-of-type(2)~.slider__inner {
    left: -100%;
}

.slider__nav:checked:nth-of-type(3)~.slider__inner {
    left: -200%;
}

.slider__nav:checked:nth-of-type(4)~.slider__inner {
    left: -300%;
}

.slider__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 100%;
    -webkit-transition: left 0.4s;
    transition: left 0.4s;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}


/* .slider__contents {
    height: 100%;
    padding: 2rem;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
} */

.slider__image {
    font-size: 2.7rem;
    color: #2196F3;
}

.slider__caption {
    font-weight: 500;
    margin: 2rem 0 1rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.slider__txt {
    color: #999;
    margin-bottom: 3rem;
    max-width: 300px;
}

input[type=checkbox],
input[type=radio] {
    position: inherit;
    left: 40%;
    right: 39%;
    /* width: 50%; */
}

.cover_next-event .content.tex-w1 {
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 50px;
    font-size: 16px;
}

.cover_next-event .head-2 {
    overflow: hidden;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 43px;
}

@-webkit-keyframes check {
    50% {
        outline-color: #0974aa;
        box-shadow: 0 0 0 12px #0974aa, 0 0 0 36px rgba(51, 51, 51, 0.2);
    }
    100% {
        outline-color: #0974aa;
        box-shadow: 0 0 0 0 #0974aa, 0 0 0 0 rgba(51, 51, 51, 0);
    }
}

@keyframes check {
    50% {
        outline-color: #0974aa;
        box-shadow: 0 0 0 12px #0975aa, 0 0 0 36px rgb(51 51 51 / 20%);
    }
    100% {
        outline-color: #0975aa;
        box-shadow: 0 0 0 0 #0775ab, 0 0 0 0 rgb(51 51 51 / 0%);
    }
}

@media screen and (max-width:991px) {
    .slider {
        height: 235px;
        width: 100%;
    }
    /* input[type=checkbox],
    input[type=radio] {
        position: inherit;
        left: 35%;
        right: 39%;
      
        bottom: 31px;
    } */
    .cover_next-event .content.tex-w1 {
        font-size: 14px;
    }
    input[type=checkbox],
    input[type=radio] {
        position: inherit;
        left: 43%;
        right: 40%;
        bottom: 79px;
    }
}

@media screen and (max-width:767px) {
    /* input[type=checkbox],
    input[type=radio] {
        position: inherit;
        left: 40%;
        right: 0;
        bottom: 35px;
    } */
    input[type=checkbox],
    input[type=radio] {
        position: inherit;
        left: 45%;
        right: 0;
        bottom: 75px;
    }
}

@media screen and (max-width:515px) {
    .slider {
        height: 250px;
        width: 100%;
    }
    input[type=checkbox],
    input[type=radio] {
        position: inherit;
        left: 44%;
        right: 0;
        /* width: 50%; */
        bottom: 93px;
    }
}

@media screen and (max-width:375px) {
    input[type="checkbox"],
    input[type="radio"] {
        position: inherit;
        left: 40%;
        right: 0px;
        bottom: 93px;
    }
}