.wrapper-content {
    padding: 2.08vw 0 0;
}
.wrapper-content .types {
    text-align: center;
}
.types-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}
.types-image .item {
    position: relative;
    margin: 11px;
    max-width: 270px;
    max-height: 270px;
    display: block;
    width: calc(100% / 4 - 22px);
}
.item-name {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fefefe;
    font-size: calc(14px + 0.313vw);
    font-weight: 300;
    bottom: 40px;
    width: 100%;
    padding: 10px 0;
    text-transform:  uppercase;
    line-height: normal;
    transition: all .3s;
    text-align: center;
}

.wrapper-content .description {
    margin: -11px 0 0;
    padding: 6.24vw 0 5.98vw;
    background: url("/wp-content/themes/SCT/images/1.png") no-repeat right top;
    background-size: cover;
}

.wrapper-content .colors {
    text-align: center;
}
.wrapper-content .colors .colors-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.wrapper-content .colors .colors-image .item {
    position: relative;
    margin: 15px 4px;
    max-width: 187px;
    max-height: 187px;
    border: 1px solid #5f5f5f;
    display: block;
    width: calc(100% / 6 - 10px);
}
.wrapper-content .colors .colors-image .item .item-name {
    position: absolute;
    display: block;
    background: rgba(0, 0, 0, 0.6);
    color: #fefefe;
    font-size: calc(14px + 0.313vw);
    font-weight: 300;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
}

.wrapper-content .components {
    text-align: center;
    padding: 6.24vw 0;
}
.wrapper-content .components .title {
    color: #ffffff;
}
.wrapper-content .components .components-image {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}
.wrapper-content .components .components-image .item {
    position: relative;
    margin: 5px 11px;
    max-width: 270px;
    max-height: 270px;
    display: block;
    width: calc(100% / 4 - 22px);
}
.wrapper-content .components .components-image .item-name {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fefefe;
    font-size: calc(14px + 0.313vw);
    font-weight: 300;
    bottom: 40px;
    width: 100%;
    height: 62px;
}

.wrapper-content .functions {
    background: url("/wp-content/themes/SCT/images/2.png") no-repeat right top;
    background-size: cover;
    padding: 9.36vw 0;
}
.wrapper-content .functions .elements {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.wrapper-content .functions .elements .item {
    position: relative;
    display: block;
    background: #000000;
    color: #ffffff;
    border: 1px solid #009fe3;
    padding: 10px 5px;
    margin-left: 6.76vw;
    width: 11.96vw;
    min-width: 150px;
    text-align: center;
    font-size: calc(14px + 0.42vw);
    font-weight: 300;
    text-transform: uppercase;
}
.wrapper-content .functions .elements .item:hover {
    background: #009fe3;
}
.wrapper-content .functions .elements .item::before {
    content: "";
    display: block;
    position: absolute;
    width: 5.2vw;
    height: 5.2vw;
    left: calc(-5.2vw - 1.56vw);
    top: calc(50% - (5.2vw / 2));
}
.wrapper-content .functions .elements .item:first-child::before {
    content: "";
    background: url("/wp-content/themes/SCT/images/4.png") no-repeat center;
    background-size: cover;
}
.wrapper-content .functions .elements .item:last-child::before {
    content: "";
    background: url("/wp-content/themes/SCT/images/5.png") no-repeat center;
    background-size: cover;
}

.wrapper-content .advantages .title{
    text-align: center;
}
.wrapper-content .advantages .block {
    margin: 1.664vw 0;
}
.wrapper-content .advantages .info ul {
    list-style: none;
    margin: 1.664vw 0 1.664vw 2.34vw;
    font-weight: 300;
    font-size: calc(14px + 0.42vw);
}

.wrapper-content .form {
    background: url("/wp-content/themes/SCT/images/6.png") no-repeat right top;
    background-size: cover;
    width: 100%;
    margin-top: -5vw;
    padding: calc(20px + 4.5vw) 0;
}

.wrapper-content .cartochka {
    padding-top: 2.08vw;
}
.wrapper-content .cartochka .title {
    text-align: center;
}
.wrapper-content .cartochka .material {
    display: flex;
    flex-wrap:  wrap;
    margin-bottom: 30px;
}
.wrapper-content .cartochka .material .item-image {
    width: 41%;
    height: auto;
    margin-right: 1.56vw;
}
.wrapper-content .cartochka .material .item-description {
    flex: 1 1 0;
}
.wrapper-content .cartochka .material .item-description .caption {
    background: #009fe3;
    color: #fefefe;
    font-size: calc(14px + 0.625vw);
    padding: 0.676vw 0 0.676vw 1.04vw;
}
.wrapper-content .cartochka .material .item-description .row {
    display: flex;
    font-size: calc(14px + 0.415vw);
    font-weight: 300;
    border-top: 1px solid #009fe3;
}
.wrapper-content .cartochka .material .item-description .column {
    width: 50%;
    padding: 0.676vw 0 0.676vw 1.04vw;
}

.cartochka {
/*    display: none;  */
}

.colors-image2 > .item {
    float: left;
    width: 24%;
    margin-right: 1%;
    margin-bottom: 15px;
}

.colors-image2 > .item a {
    max-height: 140px !important;
    height: 140px !important;
    min-height: 140px !important;
    background: #ffffff;
    display: block;
    overflow: hidden;
}

.colors-image2 > .item a img {
    width: 100%;
}

.colors-image2 > .item > p {
    min-height: 50px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
    vertical-align: middle;
    display: flex;
  justify-content: center;
  align-items: center; 
}

.ngg-galleryoverview.ngg-template-caption {
    text-align: center;
    justify-content: center;
    align-items: center; 
}

@media screen and (min-width: 1235px) {
.ngg-galleryoverview {
    margin: 10px auto !important;
    overflow: hidden;
    width: 1050px !important;
}
}

.wrapper-content .colors {
    padding-top: 30px;
}


/* Media CSS  */

@media screen and (max-width: 1235px) {
    .wrapper-content .components {
        margin: 0;
        background: none;
    }
    .wrapper-content .components .title {
        color: #000000;
    }
}
@media screen and (max-width: 890px) {
    .wrapper-content .description {
        margin: 0;
        background: none;
    }
}
@media screen and (max-width: 700px) {
    .wrapper-content .cartochka .material {
        display: flex;
        flex-direction: column;
    }
    .wrapper-content .cartochka .material .item-image {
        width: 50%;
        align-self: center;
        height: auto;
    }
    .wrapper-content .cartochka .material .item-description {
        margin-left: 0;
        margin-top: 2vw;
        width: 100%
    }
}
@media screen and (max-width: 480px){
    .title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    .text {
        font-size: 18px;
        text-indent: 10px;
    }

    .wrapper-content {
        padding: 15px 0 0;
    }
    .wrapper-content .types {
        text-align: center;
    }
    .types-image .item {
        margin: 8px 0;
    }
    .item-name {
        font-size: 20px;
    }

    .wrapper-content .colors .colors-image .item {
        margin: 10px 10px;
    }
    .wrapper-content .colors .colors-image .item .item-name {
        font-size: 18px;
        padding: 12px 0;
    }

    .wrapper-content .components {
        padding: 35px 0 45px;
    }
    .wrapper-content .components .components-image .item {
        margin: 7px 0;
    }
    .wrapper-content .components .components-image .item-name {
        font-size: 20px;
    }

    .wrapper-content .functions {
        background: none;
        padding: 0 25px;
        margin-top: 0;
    }
    .wrapper-content .functions .elements {
        flex-direction:  column;
        align-items:  center;
    }
    .wrapper-content .functions .elements .item {
        margin: 16px 0 16px 70px;
        font-size: 16px;
        padding: 7px 5px;
    }
    .wrapper-content .functions .elements .item::before {
        content: "";
        display: block;
        width: 60px;
        height: 60px;
        left: calc(-60px - 10px);
        top: calc(50% - (60px / 2));
    }
    .wrapper-content .functions .elements .item:first-child::before {
        content: "";
        background: url("/wp-content/themes/SCT/images/4.png") no-repeat center;
        background-size: cover;
    }
    .wrapper-content .functions .elements .item:last-child::before {
        content: "";
        background: url("/wp-content/themes/SCT/images/5.png") no-repeat center;
        background-size: cover;
    }

    .wrapper-content .advantages .block {
        margin: 15px 0;
    }
    .wrapper-content .advantages .info ul {
        margin: 15px 0 15px 30px;
        font-size: 18px;
    }

    .wrapper-content .cartochka {
        padding-top: 13px;
    }
    .wrapper-content .cartochka .material .item-image {
        width: 77%;
    }
    .wrapper-content .cartochka .material .item-description {
        margin-top: 9px;
    }
    .wrapper-content .cartochka .material .item-description .caption {
        padding: 5px 0 5px 7px;
    }
    .wrapper-content .cartochka .material .item-description .column {
        padding: 5px 0 5px 7px;
    }

    .wrapper-content .form {
        background: darkgreen;
        margin-top: 0;
    }
}