.newsletter {background-color: #f5f9f9; padding: 10px; color: #222222; text-align: center; font-size: 14px;}
.newsletter .heading {text-transform: uppercase;}
.newsletter input[type=text], .newsletter input[type=email]  {border-color: #e5e5e4; padding: 0 10px; height: 40px; box-sizing: border-box; font-size: 14px; color: #222; outline: none; border: 1px solid #d8dadb; width: 100%; margin-bottom: 20px;}
.newsletter input[type=text].has-error, .newsletter input[type=email].has-error{border: 2px solid #eeaaa9 ;}
.newsletter button {background-color: #308892; border: none; color: #fff; cursor: pointer; font-size: 13px; height: 40px; padding: 0; text-transform: uppercase; letter-spacing: .5px; width: 100%;}
.message-container .newletter-error{background: #f05a5c;border: 1px solid #ec5b62; color: #ffffff; text-align: left;margin-bottom: 10px;padding:10px;font-size: 12px;border-radius: 4px;display: block;}
body.rtl .message-container .newletter-error {font-family:Arabic-DroidKufi;text-align: right;}
.message-container .success-message{ background:#3bd092;border:1px solid #35af7c;color: #ffffff;text-align: left;margin-bottom: 10px;padding: 10px;font-size: 12px;border-radius: 4px;display: block;}
body.rtl .message-container .success-message{font-family:Arabic-DroidKufi;text-align: right;}
.newsletter button.processing { background-color:#18bfd2;}
/* Popup box BEGIN */

.newsletter-form-popup{
    background:rgba(0,0,0,.4);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
}
.news_letter_form.fixed{
    position: fixed;
    top: 295px;
}
.newsletter-form-popup .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.newsletter-form-popup > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 551px;
    min-height: 100px;
    vertical-align: middle;
    width: 60%;
    position: relative;
    border-radius: 8px;
    padding: 15px 5%;
}
.newsletter-popup-close-btn {
    background-color: #fff;
    border: 3px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 25px;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.newsletter-popup-close-btn:hover {
    background-color: #ccc;
}
.trigger_popup_fricc {
    cursor: pointer;
    font-size: 20px;
    margin: 20px;
    display: inline-block;
    font-weight: bold;
}
/* Popup box BEGIN */

/* Get in touch form */
.get-in-touch-modal.modal {
    padding: 20px;
}

.get-in-touch-form .info-block {
    margin-top: 20px;
}

.get-in-touch-form .info-block.displayNone {
    display: none;
}

.get-in-touch-form .block-form-wrapper {
    margin-bottom: 10px;
}


.get-in-touch-form .info-block .title, .get-in-touch-form .info-block .instruction {
    font-size: 20px;
    text-align: center;
}

.get-in-touch-form .info-block .title {
    font-weight: 700;
    margin: 0;
}

.get-in-touch-form .info-block .instruction {
    margin: 16px 0 24px;
}

.get-in-touch-form .text-field-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.get-in-touch-form input[type="text"], .get-in-touch-form input[type="email"], .get-in-touch-form input[type="number"],  .get-in-touch-form textarea {
    outline: none;
    border-radius: 8px;
    border: 1px solid #DBDBDB;
    padding: 12px 16px;
    height: 100%;
    width: 100%;
    font-size: 16px;
    background: transparent;
}

.get-in-touch-form label {
    position: absolute;
    top: 10px;
    display: flex;
    left: 16px;
    transition: 0.3s ease-in;
    color: #767676;
    font-size: 14px;
    font-weight: 400;
    z-index: -1;
}

body.rtl .get-in-touch-form label {
    right: 16px;
    left: initial;
}

.get-in-touch-form input:focus ~ label, .get-in-touch-form textarea:focus ~ label, .get-in-touch-form input:valid ~ label, .get-in-touch-form textarea:valid ~ label,  .get-in-touch-form label.up{
    padding: 2px 10px;
    background-color: inherit;
    background-color: white;
    font-size: 12px;
    top: -14px;
    left: 15px;
    z-index: 1;
}

body.rtl .get-in-touch-form input:focus ~ label, body.rtl .get-in-touch-form textarea:focus ~ label, body.rtl .get-in-touch-form input:valid ~ label, body.rtl .get-in-touch-form textarea:valid ~ label,  body.rtl .get-in-touch-form label.up{
    right: 15px;
    left: initial;
}

.get-in-touch-form input[type="button"] {
    height: 48px;
    border-radius: 8px;
    width: 100%;
    background-color: #28b16d;
    border: 1px solid #28b16d;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    margin-top: -10px;
}

.get-in-touch-form input[type="button"]:active {
    background-color: #00865D;
}

.get-in-touch-form .text-field-wrapper {
    position: relative;
}

.get-in-touch-form .message-wrapper {
    height: 20px;
    text-align: right;
    position: absolute;
    top: -20px;
    right: 0;
}

body.rtl .get-in-touch-form .message-wrapper {
    text-align: left;
    left: 0;
    right: initial;
}

.get-in-touch-form .message-wrapper .error {
    font-size: 11px;
    color: #BB2327;
    display: none;
    line-height: 20px;
}

.get-in-touch-form .error_msg .error {
    display: block;
}

.get-in-touch-form .error_msg input[type="text"],.get-in-touch-form .error_msg input[type="number"], .get-in-touch-form .error_msg input[type="email"], .get-in-touch-form .error_msg textarea {
    border: 1px solid #BB2327;
}

.get-in-touch-form .block-form-wrapper.displayNone {
    display: none;
}

.get-in-touch-form .block-form-message {
    text-align: center;
    display: none;
    align-content: center;
    margin: 80px auto;
}

.get-in-touch-form .block-form-message.visible {
    display: grid;
}

.get-in-touch-form .block-form-message .img-wrapper {
    margin: 0 auto 32px;
}

.get-in-touch-form .block-form-message img {
    margin-left: -80px;
    max-width: 200px;
    width: 200px;
}

.get-in-touch-form .block-form-message .message-title {
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: #222222;
}

.get-in-touch-form .block-form-message .message-sub-title {
    font-size: 20px;
    line-height: 24px;
    color: #222222;
    margin-top: 16px;
}

@media screen and (max-width: 670px) {
    .get-in-touch-form input:focus ~ label, .get-in-touch-form textarea:focus ~ label, .get-in-touch-form input:valid ~ label, .get-in-touch-form textarea:valid ~ label,  .get-in-touch-form label.up{
        padding: 2px 4px;
        left: 8px;
    }

    .get-in-touch-form .error_msg input[type="number"]:focus ~ label, .get-in-touch-form .error_msg input[type="number"]:valid ~ label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 60px;
        display: block;
    }

    body.rtl .get-in-touch-form .error_msg input[type="number"]:focus ~ label, body.rtl .get-in-touch-form .error_msg input[type="number"]:valid ~ label {
        width: 90px;
    }
}