@media (max-width: 575.98px) {
    .cg__container:not(:first-child) {
        margin-top: 20px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .cg__container:not(:first-child) {
        margin-top: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cg__container:not(:first-child) {
        margin-top: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cg__container:not(:first-child) {
        margin-top: 40px;
    }
}

@media (min-width: 1200px) {
    .cg__container:not(:first-child) {
        margin-top: 40px;
    }
}

@media (max-width: 575.98px) {
    .cg__container:not(:last-child) {
        margin-bottom: 20px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .cg__container:not(:last-child) {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cg__container:not(:last-child) {
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cg__container:not(:last-child) {
        margin-bottom: 40px;
    }
}

@media (min-width: 1200px) {
    .cg__container:not(:last-child) {
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .cg__editor:not(:first-child) {
        margin-top: 40px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .cg__editor:not(:first-child) {
        margin-top: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cg__editor:not(:first-child) {
        margin-top: 40px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cg__editor:not(:first-child) {
        margin-top: 60px;
    }
}

@media (min-width: 1200px) {
    .cg__editor:not(:first-child) {
        margin-top: 60px;
    }
}

@media (max-width: 575.98px) {
    .cg__editor:not(:last-child) {
        margin-bottom: 40px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .cg__editor:not(:last-child) {
        margin-bottom: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cg__editor:not(:last-child) {
        margin-bottom: 40px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cg__editor:not(:last-child) {
        margin-bottom: 60px;
    }
}

@media (min-width: 1200px) {
    .cg__editor:not(:last-child) {
        margin-bottom: 60px;
    }
}

.cg-slideshow__slides:not(:last-child) {
    margin-bottom: 20px;
}

.cg-slideshow__dots ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.cg-slideshow__dots li {
    padding: 5px;
    line-height: 0;
}

.cg-slideshow__dots li button:hover,
.cg-slideshow__dots li button:focus,
.cg-slideshow__dots li.slick-active button {
    border-color: #1f1f21;
}

.cg-slideshow__dots button,
.cg-slideshow__dots input {
    border: 4px solid #eee;
    background-color: transparent;
    outline: none;
    font-size: 0;
    line-height: 0;
    padding: 0;
    width: 16px;
    height: 16px;
    -webkit-transition: border-color 200ms ease-in-out;
    -o-transition: border-color 200ms ease-in-out;
    transition: border-color 200ms ease-in-out;
}

.cg-slideshow__numbers {
    font-weight: 800;
    font-size: 1.25rem;
    color: #1f1f21;
}

.cg-thumbnail {
    position: relative;
    display: block;
    -webkit-transition: background-color 300ms ease-in-out;
    -o-transition: background-color 300ms ease-in-out;
    transition: background-color 300ms ease-in-out;
}

.cg-thumbnail__item {
    position: relative;
    display: block;
    overflow: hidden;
}

.cg-thumbnail__item.-overlay:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(31, 31, 33, 0.4);
    -webkit-transition: opacity 300ms ease-in-out;
    -o-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
    z-index: 1;
}

.cg-thumbnail__item.-overlay:after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 22px;
    opacity: 0;
    -webkit-transition: opacity 300ms ease-in-out;
    -o-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out;
    z-index: 2;
}

.cg-thumbnail__img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-transition: -webkit-transform 300ms ease-in-out;
    transition: -webkit-transform 300ms ease-in-out;
    -o-transition: transform 300ms ease-in-out;
    transition: transform 300ms ease-in-out;
    transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;
    z-index: 0;
}

.cg-thumbnail:hover .cg-thumbnail__item.-overlay:before,
.cg-thumbnail:hover .cg-thumbnail__item.-overlay:after,
.cg-thumbnail:focus .cg-thumbnail__item.-overlay:before,
.cg-thumbnail:focus .cg-thumbnail__item.-overlay:after {
    opacity: 1;
}

.cg-thumbnail:hover .cg-thumbnail__img,
.cg-thumbnail:focus .cg-thumbnail__img {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.cg-thumbnail:hover.-hover-bg-light,
.cg-thumbnail:focus.-hover-bg-light {
    background-color: #f2f2f2;
}
