/* RIGHT FORM */

.right-form {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 22;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    visibility: hidden;
    transition: all .3s ease;
}

.right-form.active {
    visibility: visible;
}

.right-form-bg {
    width: 60%;
    visibility: hidden;
    transition: all .3s ease;
}

.active .right-form-bg {
    visibility: visible;
    transition: all .3s ease;
}

.right-form-wrap {
    width: 40%;
    height: 100%;
    box-sizing: border-box;
    padding: 0 7vw;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFF;
    background: #323137;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    transition: all .7s ease;
    overflow-y: auto;
}

.right-form-wrapInn {
    width: 100%;
}

.active .right-form-wrap {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.rf-form-vertical {
    padding: 0 10%;
}

.rf-logo {
    max-width: 140px;
    margin: 0 auto;
    margin-bottom: 4vh;
}

.rf-logo img {
    width: 100%;
    height: auto;
}

.rf-title {
    font-weight: bold;
    font-size: 27px;
    font-size: 1.7vw;
    line-height: 1.3;
}

.rf-title.complete {
    visibility: visible;
    font-size: 22px;
    font-size: 1.3vw;
}

.rf-txt {
    font-size: .9vw;
    line-height: 1.9;
    margin: 3vh 0 4vh;
    opacity: .8;
}

.rf-agreement {
    margin-top: 4vh;
    font-size: 12px;
    font-size: .7vw;
    line-height: 1.7;
    opacity: .3;
}

.rf-agreement:hover {
    opacity: .7;
}

.rf-form-send {
    margin-top: 3vh;
}

.button-bg {
    height: 1.2vw;
}

.submitbutton {
    box-sizing: border-box;
    font-weight: 600;
    font-size: 16px;
    font-size: .85vw;
    letter-spacing: .2px;
    line-height: 0;
    text-align: center;
    white-space: nowrap;
    padding: 1.2vw 3vw;
    border: 2px solid #FFF;
    border-radius: 50px;
    outline: none;
    background: transparent;
    color: #FFF;
    cursor: pointer;
    transition: all .3s ease;
}

.submitbutton:hover {
    background: #FBD691;
    color: #000;
    border-color: #FBD691;
    box-shadow: 0px 10px 24px rgba(0, 0, 0, 0.2), 0px 6px 34px rgba(251, 214, 145, 0.45);
}

.close-form {
    position: absolute;
    top: 3vw;
    right: 3vw;
    width: 20px;
    height: 20px;
}

.rf-form-input {
    display: none;
}

.rf-form-input.visible {
    display: block;
}

.complete {
    visibility: hidden;
}

@media screen and (min-width: 1900px) {
    .submitbutton {
        font-size: 16px;
    }

    .rf-agreement {
        font-size: 12px;
    }

    .rf-txt {
        font-size: 16px;
    }

    .rf-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 1050px) {
    .submitbutton {
        font-size: 12px;
        padding: 15px 30px;
    }

    .rf-agreement {
        font-size: 10px;
    }

    .rf-txt {
        font-size: 12px;
        margin: 15px 0 20px;
    }

    .rf-title {
        font-size: 22px;
    }

    .rf-title.complete {
        font-size: 20px;
    }

    .input.darkbg,
    .input-method-txt {
        font-size: 12px;
    }

    .rf-form-input-before,
    .rf-form-input:before {
        left: 10px;
        width: 15px;
    }

    .rf-logo {
        max-width: 115px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 980px) {
    .right-form {
        overflow: auto;
    }

    .right-form-bg {
        display: none;
    }

    .right-form-wrap {
        width: 100%;
        height: 100%;
        padding: 0 20px;
    }

    .right-form-wrapInn {
        width: 100%;
    }

    .rf-title {
        font-size: 17px;
    }

    .input.darkbg,
    .input-method-txt {
        height: 50px;
        padding: 10px 35px;
        color: #fff;
    }

    .rf-form-input.valid:after {
        right: 3px;
        width: 30px;
        height: 30px;
    }

    .rf-txt {
        font-size: 11px;
    }

    .rf-form-send {
        margin-top: 15px;
        height: 35px;
    }

    .rf-form-input-before,
    .rf-form-input:before {
        left: 10px;
        width: 15px;
        height: 15px;
    }

    .input-method:after {
        right: 15px;
    }

    .input-method-dd li {
        font-size: 12px;
        padding-left: 35px;
    }

    .input-method-dd li:before {
        width: 15px;
        left: 5px;
    }

    .rf-title.complete {
        font-size: 15px;
    }
}

.complete {
    position: relative;
}

.completeicon {
    display: none;
    opacity: 0;
    transition: all .3s ease 2s;
}

.complete .completeicon {
    display: block;
    visibility: visible;
    opacity: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.rf-phone {
    font-size: 22px;
    font-weight: 600;
    margin: -10px 3.5vw 30px;
    display: inline-block;
}

.rf-phone-city {
    font-size: 13px;
    font-weight: 200;
    margin: -10px 0 0 25px;
    text-align: left;
}

@media screen and (max-width: 1300px) {
    .rf-phone {
        margin: -10px 3vw 30px;
    }
}

@media screen and (max-width: 1013px) {
    .rf-phone {
        margin: -10px 2.5vw 30px;
    }
}

@media screen and (max-width: 980px) {
    .rf-phone {
        margin: -10px 15vw 30px;
    }
}

@media screen and (max-width: 380px) {
    .rf-phone {
        margin: -10px 10vw 30px;
    }
}


/* CHECKBOX */

.input-allow {
    margin-top: 0;
    padding: 20px 0 0 1vw;
    text-align: left;
    font-size: .9vw;
    line-height: 1.4;
    display: flex;
    border-top: 2px solid #444444;
    align-items: center;
}

.input-allow-noborder {
    border-top: 0;
}

.visible.input-allow {
    display: flex;
}

.input-allow input {
    display: none;
}

.input-allow label {
    opacity: .8;
    max-width: 90%;
    padding-left: 30px;
    cursor: pointer;
}

.checkmark {
    display: block;
    height: 16px;
    width: 16px;
    min-width: 16px;
    margin: 0 10px 0 0;
    border-radius: 3px;
    background-color: #eee;
    border: 2px solid #eee;
    position: absolute;
}

.error .checkmark {
    border: 2px solid #f44336;
}

.input-allow:hover input~.checkmark {
    background-color: #eee;
}

.input-allow input:checked~.checkmark {
    background-color: #eee;
}

.input-allow input:checked~.checkmark:after {
    display: block;
}

.input-allow .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media screen and (min-width: 1900px) {
    .input-allow {
        font-size: 16px;
    }
}


@media screen and (max-width: 1050px) {
    .input-allow {
        font-size: 12px;
    }
}

.input-allow a {
    text-decoration: underline;
}