.color-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999999;
    padding: 50px 20px;
    overflow: auto;
}
.color-modal .modal-box {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.color-modal .close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 17px;
    height: 17px;
    padding: 5px;
    background: url("/wp-content/themes/myperfectresume/img/close-btn.svg") no-repeat center;
    background-size: contain;
    border: none;
    cursor: pointer;
    z-index: 1;
}
.color-modal .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #cad5e2;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: "Nunito", sans-serif;
}
.color-modal .l-arrow {
    left: -75px;
}
.color-modal .r-arrow {
    right: -75px;
}
.color-modal .arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg viewBox='0 0 448 512' fill='%23002d6b' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    width: 21px;
    height: 21px;
}
.color-modal .l-arrow::after {
    transform: translate(-50%, -50%) rotate(180deg);
}
.color-modal .previous-btn, .color-modal .next-btn {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: -85%;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    z-index: 1;
    transition: opacity 0.3s;
    font-size: 1.2rem;
    line-height: 1.4rem;
}
.color-modal .l-arrow:hover .previous-btn, .color-modal .l-arrow:focus .previous-btn,
.color-modal .r-arrow:hover .next-btn, .color-modal .r-arrow:focus .next-btn {
    opacity: 1;
    visibility: visible;
}
.color-modal .slides-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}
.color-modal .slides {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    overflow: visible;
}
.color-modal .items {
    display: flex;
    background: #fff;
    border-radius: 24px;
    transition: all .3s ease;
    flex-shrink: 0;
    width: 100%;
    visibility: hidden;
    align-items: center;
}
.color-modal .items.active {
    transition: none;
    visibility: visible;
}
.color-modal .eq-col {
    padding: 40px;
}
.color-modal .eq-col:first-child {
    width: 45.5%;
    color: #092347;
}
.color-modal .eq-col h3 {
    font-size: 3.2rem;
    line-height: 3.8rem;
    margin: 0 0 40px;
}
.color-modal .cta-wrap {
    margin-bottom: 40px;
}
.color-modal .modal-clr {
    margin-top: 48px;
    padding-bottom: 32px;
}
.color-modal .modal-clr p {
    font-size: 1.4rem;
    line-height: 1.6rem;
    margin-bottom: 8px;
}
.color-modal .list-clr {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}
.color-modal .clr {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}
.color-modal .default {
    border: 1.4px solid #ccc6bf;
}
.color-modal .default::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 2px;
    height: 13px;
    background: #ccc6bf;
}
.color-modal .grey {
    background: #7d7d7d;
}
.color-modal .ox-blue {
    background: #102a73;
}
.color-modal .oly-blue {
    background: #2b98de;
}
.color-modal .turquoise {
    background: #00bca3;
}
.color-modal .green {
    background: #075700;
}
.color-modal .red {
    background: #9b3016;
}
.color-modal .rose {
    background: #f98c79;
}
.color-modal .yellow {
    background: #facd05;
}
.color-modal h4 {
    font-family: "Domine", sans-serif;
    margin: 0 0 16px;
    padding-top: 32px;
    border-top: 1px solid #cad5e2;
}
.color-modal .eq-col > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.color-modal .eq-col > ul li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 36px;
}
.color-modal .eq-col > ul li:last-child {
    margin-bottom: 0;
}
.color-modal .eq-col > ul li img {
    position: absolute;
    left: 0;
    top: 0;
}
.color-modal .eq-col:last-child {
    width: 54.5%;
    background: #d3e9ed;
    border-radius: 0 24px 24px 0;
    padding: 60px 40px;
    height: 100%;
    display: flex;
    align-items: center;
}
.color-modal .eq-col:last-child img {
    background: #fff;
    display: block;
    margin: 0 auto;
    width: 100%;
}
/* Color Dropdown */
.color-modal .list-clr li::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    border: 2px solid transparent;
}
.color-modal .list-clr li.active::after {
    border-color: #02818c;
}
.color-modal .sub-clr {
    list-style-type: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 34px;
    left: 0;
}
.color-modal .list-clr > li:hover > .sub-clr {
    opacity: 1;
    visibility: visible;
}
.color-modal .grey1 {
    background: #34383c;
}
.color-modal .grey2 {
    background: #e4e2de;
}
.color-modal .ox1 {
    background: #a3b8de;
}
.color-modal .ox2 {
    background: #394d6b;
}
.color-modal .oly1 {
    background: #094d73;
}
.color-modal .oly2 {
    background: #8Ac3f5;
}
.color-modal .tur1 {
    background: #016b5d;
}
.color-modal .tur2 {
    background: #b5e8e2;
}
.color-modal .green1 {
    background: #b7d1ad;
}
.color-modal .green2 {
    background: #789c30;
}
.color-modal .red1 {
    background: #e37929;
}
.color-modal .red2 {
    background: #c46531;
}
.color-modal .rose1 {
    background: #8c3c4b;
}
.color-modal .rose2 {
    background: #f7bfb5;
}
.color-modal .ylw1 {
    background: #cd8b00;
}
.color-modal .ylw2 {
    background: #c4b08f;
}
.color-modal .sub-clr::before {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: calc(100% + 31px);
    box-shadow: 0px 3px 5px 0px #00000033;
    border-radius: 8px;
    padding: 7px 4px;
    background: linear-gradient(to top, #fff 0px, #fff 50px, transparent 50px);
}
.color-modal .sub-clr > li:not(:last-child) {
    margin-bottom: 10px;
}
.color-modal .cta-wrap .btn {
    margin: 0;
}
/* Two Images */
.two-img .eq-col:last-child {
    padding-bottom: 126px;
    position: relative;
}
.color-modal .img-wrap img:nth-child(2) {
    display: none;
}
.color-modal .img-thumb {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 136px;
    height: 78px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.color-modal .eq-col:last-child .img-thumb img {
    width: auto;
    display: inline-block;
    background: transparent;
    max-width: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 1px;
    background: #fff;
}
.color-modal .eq-col:last-child .img-thumb img.active {
    border-color: #efc778;
}
@media all and (min-width: 1200px) {
    .color-modal .cta-wrap .btn:hover {
        box-shadow: 0 8px 0 #015e66;
        transition-duration: 0.2s;
        transform: translateY(-7px);
    }
    .color-modal .arrow:hover {
        background: #002d6b;
    }
    .color-modal .arrow:hover::after {
            background: url("data:image/svg+xml,%3C%3Fxml version='1.0' %3F%3E%3Csvg viewBox='0 0 448 512' fill='%23ffffff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z'/%3E%3C/svg%3E") no-repeat center;
    }
}
@media all and (max-width: 767px) {
    .color-modal {
        padding: 64px 16px;
    }
    .color-modal .close-btn {
        top: -40px;
        right: 0;
        width: 32px;
        height: 32px;
        background-color: #fff;
        border-radius: 50%;
        padding: 0;
        background-size: 10px;
    }
    .color-modal .items {
        flex-direction: column-reverse;
        border-radius: 16px;
    }
    .color-modal .eq-col:first-child, .color-modal .eq-col:last-child {
        width: 100%;
    }
    .color-modal .eq-col:last-child {
        border-radius: 16px 16px 0 0;
        padding: 24px;
    }
    .color-modal .eq-col:first-child {
        padding: 24px;
    }
    .color-modal .eq-col h3 {
        font-size: 2.2rem;
        line-height: 2.6rem;
        margin: 0 0 24px;
    }
    .color-modal .cta-wrap {
        margin-bottom: 24px;
    }
    .color-modal .cta-wrap .btn {
        width: 100%;
    }
    .color-modal h4 {
        padding-top: 24px;
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
    .color-modal .clr {
        width: 22px;
        height: 22px;
    }
    .color-modal .modal-clr {
        margin-top: 24px;
        padding-bottom: 24px;
    }
    .color-modal .modal-clr p {
        margin-bottom: 16px;
    }
    .color-modal .list-clr {
        gap: 10px;
    }
    .two-img .eq-col:last-child {
        padding-bottom: 98px;
    }
    .color-modal .img-thumb {
        width: 112px;
        height: 62px;
        bottom: 24px;
    }
    .color-modal .eq-col:last-child .img-thumb img {
        max-width: 48px;
    }
    .color-modal .arrow-wrap {
        display: none;
    }
}