/* Programs & services — cards in Flickity carousel (#nav-programms) */

.programm-card {
    padding: 15px 25px 25px;
    box-shadow: rgba(67, 71, 85, 0.27) 0 0 0.25em, rgba(90, 125, 188, 0.05) 0 0.25em 1em;
    -webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
    -o-transition: all .1s ease;
    transition: all .1s ease;
    height: auto;
    float: right;
    position: relative;
    width: 344px;
    border-radius: 6px;
    background-color: #f6f6f6;
}

.gallery-cell {
    height: auto;
    width: 346px;
    margin-right: 13px;
}

.programm-card-ico {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;
}

.programm-card-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: url("/img/circle-ico.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.programm-card-name {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 50%;
    height: 80px;
    width: 80%;
    word-spacing: 0;
}

.programm-card-name h3 {
    margin: 0;
    font-size: 20px !important;
}

.programm-card-desc p {
    color: #888888;
    margin-right: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    line-height: 1.4em;
    height: 8.5em;
    font-size: 18px;
}

.programm-card-button-a {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
    color: #47bccf;
    text-decoration-line: underline;
    text-underline-offset: 6px;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .programm-card {
        width: 422px;
    }

    .gallery-cell {
        width: 424px;
    }
}

@media (max-width: 580px) {
    .programm-card {
        width: 69vw;
    }

    .gallery-cell {
        width: 70vw;
    }

    .programm-card-name {
        width: 50%;
        font-size: 16px;
        word-spacing: 9999px;
    }

    .programm-card-desc p {
        font-size: 15px;
    }

    .programm-card-button-a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .programm-card-name {
        width: 64%;
    }

    .programm-card-name h3 {
        font-size: 16px;
    }

    .programm-card-desc p {
        font-size: 14px;
    }

    .programm-card-button-a {
        font-size: 14px;
    }
}

.corusel {
    padding-left: 25px;
    padding-right: 25px;
}

#nav-programms .flickity-button.flickity-prev-next-button.previous {
    left: -34px;
}

#nav-programms .flickity-button.flickity-prev-next-button.next {
    right: -34px;
}

@media (max-width: 990px) {
    .corusel {
        padding-left: 0;
        padding-right: 0;
    }

    #nav-programms .flickity-button.flickity-prev-next-button.previous,
    #nav-programms .flickity-button.flickity-prev-next-button.next {
        display: none;
    }
}

#nav-programms .flickity-page-dots .dot {
    width: 7px;
    height: 7px;
    margin-right: 6px;
}
