/* The Modal (background) */
.modal, .modelTwo {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */

}

.modelTwo {
    top: 0;
}

.modal-content1, .modal-content2 {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    max-width: 650px;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
    top: 5%;
}

.model-flex {
    display: flex;
}

.model-flex img {
    width: 100%;
    max-width: 800px;
}

.model-product {
    align-self: center;
}

.modelbox-content1, .modelbox-content2 {
    padding: 25px 30px;
}

.model-img {
    text-align: center;
}

.model-img img {
    width: 100%;
    max-width: 520px;
}

.closeOne, .closeTwo {
    font-weight: bold;
    margin-top: -6px;
    color: #ffb700;
    margin-right: -5px;
    background: #fff;
    font-size: 16px;
    height: 27px;
    padding: 2px 7px;
    border-radius: 50%;
    cursor: pointer;
}

.decline-link, .model-accept-link {
    font-size: 16px;
    text-align: center;
    padding: 10px 15px;
    margin: 15px 0 15px 0px;
}

.decline-link {
    background: #8e2d77;
    border: 2px solid #6a2559;
}

.model-accept-link {
    background: #aca9a9;
    border: 2px solid #aca9a9;
}

.decline-link a, .model-accept-link a {
    color: #fff !important;
}

.decline-link a, .model-accept-link a {

    text-decoration: none !important;
}

.decline-link:hover {
    background: #6a2559;
}

.model-accept-link {
    background-color: #aca9a9;
}

.modelbox-content1 h3, .modelbox-content2 h3 {
    text-align: center;
    font-size: 20px !important;
    margin-bottom: 30px;
}

.model-flex-content1, .model-flex-content2 {
    display: flex;
    background: #ffb700 !important;
    padding: 15px 15px;
}

.model-heading {

    text-align: center;

}

.model-heading h4 {
    /*background: #902c7e;
      padding: 20px;
      text-align: center;*/
    color: #fff;
    line-height: 1.5;
    font-size: 20px;
}

.model-list p {
    font-size: 18px;
    color: #2d2d2f;
    font-weight: 600;
    padding-left: 20px;
    text-align: center;
}

ul.model-list-content li {
    font-size: 13px;
    line-height: 1.7;
    position: relative;
    flex-basis: 50%;
    display: inline-flex;
    margin-bottom: 6px;
}

ul.model-list-content li:before {
    content: '\2713';
    background: #ffb700;
    padding-right: 19px;
    font-size: 10px;
    font-weight: 700;
    height: 20px;
    padding: 2px 7px;
    margin-top: 5px;
    border-radius: 50%;
    color: #fff;
    position: absolute;
    top: -2px;
    left: -29px;
}

.model-list li {
    font-size: 15px;
    font-weight: 300 !important;
    padding-bottom: 5px;
    letter-spacing: 0.3px;
}

.model-list {
    padding: 15px 20px;
}

/*.model-accept-link
{
  text-align: center;
}
.model-accept-link a {
    color: #34265c !important;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;

}*/
.modelBoxLeft, .modelBoxRight {
    cursor: pointer;
}

.model-accept-link a:hover {
    color: #777f96bd !important;
    text-decoration: underline;
}

@media only screen and (max-width: 1440px) {
    .modal-content1, .modal-content2 {
        top: 3%;
    }
}

@media only screen and (max-width: 800px) {
    .modal-content2, .modal-content1 {
        max-width: 700px;
        top: 5%;
    }

    .model-heading h4 {
        padding: 5px;
        font-size: 20px;
    }
}

@media only screen and (max-width: 475px) {
    .modal-content1, .modal-content2 {
        max-width: 380px;
    }

    .model-heading h4 {
        font-size: 14px;
    }

    .model-list li {
        font-size: 12px;
        padding-bottom: 2px;
    }

    .model-accept-link a, .model-list p, .decline-link {
        font-size: 14px;
    }

    .model-accept-link a, .decline-link {
        font-size: 12px;
    }

    .model-flex {
        display: block;
    }

    .model-list p {
        text-align: center;
        margin: 10px 0px;
    }

    .closeOne, .closeTwo {
        font-size: 12px;
        height: 23px;
        margin-top: 2px;
        margin-right: -3px;
    }

    .model-img img {
        width: 100%;
        max-width: 145px;
    }

    ul.model-list-content li {
        font-size: 10px;
        margin-bottom: 2px;
    }

    ul.model-list-content li:before {

        padding-right: 19px;
        font-size: 8px;
        font-weight: 700;
        height: 13px;
        padding: 1px 4px;
        margin-top: 4px;
        top: -2px;
        left: -20px;
    }

    ul {
        margin-bottom: 1px;
    }

    .model-list {
        padding: 0;
    }

    .model-flex-content1, .model-flex-content2 {
        padding: 5px;
    }

    .decline-link, .model-accept-link {
        margin: 5px 0px;
    }

    .modelbox-content1, .modelbox-content2 {
        padding: 10px 10px;
    }
}

@media only screen and (max-width: 375px) {
    .model-content1, .modal-content2 {
        max-width: 300px;
        top: 2%;
    }

    .model-heading h4 {
        font-size: 12px;
    }

    .model-list li {
        font-size: 10px;
    }

    .model-accept-link a, .model-list p, .decline-link a {
        font-size: 11px;
    }

    .closeOne, .closeTwo {
        font-size: 10px;
        height: 20px;
    }
}