section.portfolio {
    background: #f3f7fd;
    padding: 40px 0;
}

@media (max-width: 768px){
    section.portfolio {
        padding: 30px 0;
    }
}

section.portfolio.portfolio-light {
    background: transparent;
}


section.portfolio .portfolio-title.head,
section.portfolio h1.head {
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #707378;
    padding: 0 0 25px;
    margin: 0;
}

#portfolio-carousel {
    padding: 0 80px;
}

.portfolio-carousel-block {
    padding: 0 5px;
}

.portfolio-carousel-block:focus {
    outline: none;
}

.portfolio-carousel-block .img-container {
    width: 100%;
    max-width: 190px;
    height: 240px;
    background-color: #d8d8d8;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.portfolio-carousel-block .img-container img{
    width: auto;
    height: 100%;
}

.portfolio-carousel-block .carousel-text {
    text-align: center;
    margin: 15px 0 15px;
}

.portfolio-carousel-block span {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    color: rgba(0, 0, 0, 0.85);
}

.portfolio-carousel-block {
    margin-right: 0;
}

.slick-arrow {
    font-size: 0;
    color: transparent;
    width: 21px;
    height: 61px;
    outline: none;
    border: none;
    background: transparent;
    position: absolute;
    top: 120px;
}

.slick-arrow:focus {
    outline: none;
}

.slick-prev {
    background-image: url(../../images/arrow.png);
    transform: rotate(180deg);
    left: 45px;
    top: 50%;
    margin-top: -30px;
    z-index: 999;
}

.slick-next {
    background-image: url(../../images/arrow.png);
    right: 45px;
    top: 50%;
    margin-top: -30px;
    z-index: 999;
}

.portfolio-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.portfolio-item:focus {
    outline: none;
}

.slick-dots {
    margin: 15px 0 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

.slick-dots li {
    display: inline-block;
    padding: 0 8px;
    line-height: 12px;
}

.slick-dots li button {
    border: none;
    outline: none;
    color: transparent;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    width: 12px;
    height: 12px;
    line-height: 12px;
    opacity: 0.6;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.slick-dots li.slick-active button{
    opacity: 1;
}

@media (max-width: 1199px) {
    #portfolio-carousel {
        padding: 0 50px;
    }

    .slick-prev {
        left: 10px;
    }

    .slick-next {
        right: 10px;
    }
}

@media (max-width: 991px) {
    section.portfolio {
        padding: 32px 0 33px;
    }
    section.portfolio h1.head {
        padding: 0 0 20px;
    }
    section.portfolio .container{
        max-width: unset;
        width: 100%;
    }
}

@media (max-width: 767px) {
    section.portfolio {
        padding: 30px 0 29px;
    }
    section.portfolio h1.head {
        padding: 0 0 20px;
    }
    #portfolio-carousel {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    #portfolio-carousel {
        padding: 0;
    }
}
