/**
 * @author Nir Goldman
 * @package NewsletterPopup
 */

.ontop {
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(51, 51, 51, 0.4);
    color: #aaaaaa;
    -moz-transform: all 3s ease-in-out 0s;
    -webkit-transform: all 3s ease-in-out 0s;
    transition: all 3s ease-in-out 0s;
}

.popupWrapper {
    background: url(../images/NewsletterPopup-bg.jpg) no-repeat left top;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 12px #666666;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    left: 50%;
    max-height: 90%;
    max-width: 600px;
    overflow-y: auto;
    padding: 0;
    position: fixed;
    text-align: center;
    top: 50%;
    width: 90%;
    z-index: 5001;
    background-color: transparent !important;
}

#nesletterpopup {
    position: static;
    z-index: 5000;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    margin-bottom: 0 !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
}

#nesletterpopup .content {
    margin-left: 0;
    margin-top: 40px;
    width: 100%;
}

#nesletterpopup .title {
    background: none;
    text-align: center;
    box-sizing: border-box;
    color: #000000;
    display: block;
    padding: 2px 10px;
}

#nesletterpopup .title>strong {
    font-weight: normal;
    font-size: 23px;
}

#nesletterpopup>.title>a {
    background-color: white;
    border-radius: 10px;
    color: black;
    line-height: 1;
    padding: 2px 5px;
    position: absolute;
    right: 10px;
    text-decoration: none;
}

#popup_newsltr .qd-popup {
    padding: 50px 10px;
    text-align: center;
    width: 100%;
    font-weight: normal;
}

.joinour {
    background: url(../images/common-hd-bg.png) no-repeat bottom center;
    padding-bottom:23px;
    color: #010101;
    display: inline-block;
    font-size: 24px;
    text-transform: uppercase;
    width: 100%;
}

.joinour span {
    color: #010101;
    display: inline-block;
    font-family: 'Georgia';
    font-size: 36px;
    line-height: 36px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
}

.offer-text {
    color: #333333;
    display: inline-block;
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 12px;
    width: 100%;
}

.qd-popup hr {
    border-color: #333;
    margin: 15px auto 20px;
    width: 185px;
}

.qd-offer {
    color: #429def;
    display: inline-block;
    font-size: 24px;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 23px;
    font-family: 'pt_sansbold';
}

.qd-offer span {
    color: #429def;
    display: inline-block;
    font-size: 60px;
    line-height: 60px;
    text-transform: uppercase;
    width: 100%;
}

.qd-popup button {
    margin-top: 15px;
    width: 100%;
}

.qd-popup form {
    margin: 0 auto;
    max-width: 456px;
}

body .qd-popup form input {
    text-align: center;
}

body .block.newsletter .qd-popup .actions {
    clear: both;
    vertical-align: top;
    width: 100% !important;
    display: inherit;
}

body .qd-popup form input,
body .qd-popup .action.primary {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

body .qd-popup form input {
    border: 1px solid #dbdbd9;
    font-family: 'pt_sansregular';
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    padding: 0 9px 0 !important;
    width: 100%;
    color: #000000;
}

.block.newsletter .field .control:before {
    margin: 5px 0px 0px 13px !important;
    display: none !important;
}

body .qd-popup .action.primary {
    background: #111 none repeat scroll 0 0 !important;
    border: 1px solid #111 !important;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px !important;
    font-weight: normal;
    line-height: 16px !important;
    padding: 11px 20px !important;
    text-transform: uppercase;
    vertical-align: middle;
}


/*body .action.primary:hover {
 background:#ec008c none repeat scroll 0 0 !important;
  border:1px solid #ec008c !important;
}*/

.qd-popup .close {
    color: #333;
    font-size: 16px;
    height: 50px;
    line-height: 50px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
}

@media (max-width:767px) {
    .qd-popup .joinour {
        font-size: 18px;
    }
    .qd-popup .joinour span {
        font-size: 24px;
    }
    .qd-popup hr {
        margin: 10px auto 15px;
    }
    .qd-popup .offer-text {
        font-size: 14px;
    }
    .qd-popup .qd-offer span {
        font-size: 50px;
        line-height: 39px;
    }
    .qd-popup .qd-offer {
        font-size: 18px;
    }
}