/* newsletter popup */

.b-close {
    display: block;
    position: relative;
    z-index: 1;
    height: 25px;
    width: 25px;
    top: -6px;
}

.ttpopupclose {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    cursor: url("images/pop.png"), pointer;
}

.b-close:before {
    background: rgba(0, 0, 0, 0) url("images/sprite.png") no-repeat scroll -14px -324px;
    content: "";
    height: 25px;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
    transition: all 0.5s ease-in-out 0ms;
    -webkit-transition: all 0.5s ease-in-out 0ms;
    -moz-transition: all 0.5s ease-in-out 0ms;
    -o-transition: all 0.5s ease-in-out 0ms;
    -ms-transition: all 0.5s ease-in-out 0ms;
    width: 25px;
    z-index: 1;
}

#popup2:hover .b-close:before {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}

.b-close span {
    display: none;
}

.newletter-popup {
    background: #ffffff;
    background-attachment: scroll;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    -webkit-background-position: center bottom;
    -moz-background-position: center bottom;
    -o-background-position: center bottom;
    -webkit-background-repeat: no-repeat;
    -moz-background-repeat: no-repeat;
    -o-background-repeat: no-repeat;
    background-repeat: no-repeat;
    top: 50% !important;
    margin-top: -220px;
    position: fixed !important;
    text-align: center;
    display: none;
    height: auto;
    width: 600px;
}

.newslatter-img {
    background: #ffffff url("images/newsletter.jpg") no-repeat scroll center bottom / contain;
    height: 470px;
    padding: 0;
}

.newletter-popup #boxes {
    background-color: #ffffff;
    bottom: 0;
    left: 0;
    margin: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    float: left;
    width: 600px;
    height: 470px;
}

.newletter-popup .box {
    margin: 12% 0 0;
}

.newletter-popup #boxes .newletter-title h2 {
    color: #000000;
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
    margin: 0 0 5px;
    padding: 0 0 10px;
    position: relative;
    text-transform: capitalize;
}

.newletter-popup #boxes .newletter-title h2::after {
    background: #cccccc;
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 110px;
}

.newletter-popup #boxes .newletter-title h2::before {
    background: #dd2941;
    bottom: -1px;
    content: "";
    height: 3px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 60px;
    z-index: 1;
}

.newletter-popup .newletter-title {
    float: left;
    position: relative;
    width: 100%;
}

.newletter-popup .newletter-title::before {
    background: rgba(0, 0, 0, 0) url("images/sprite.png") repeat scroll -23px -632px;
    content: "";
    display: inline-block;
    float: none;
    height: 55px;
    vertical-align: top;
    width: 65px;
}

.newletter-popup .newleter-content {
    float: left;
    width: 100%;
}

#boxes .box-content label {
    font-weight: 400;
    font-size: 13px;
    margin: 0;
    cursor: pointer;
}

#boxes .box-content label:hover {
    color: #000000;
}

#boxes #frm_subscribe .required {
    color: #f00;
    padding-right: 5px;
}

#boxes #frm_subscribe #subscribe_pemail {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    height: 40px;
    margin: 15px 0 20px;
    padding: 0 10px;
    text-align: center;
    width: 95%;
}

#boxes .box-content .subscribe-bottom {
    margin-top: 25px;
}

#boxes .box-content .subscribe-bottom #newsletter_popup_dont_show_again {
    display: inline-block;
    margin: 0;
    vertical-align: top;
}

#boxes #frm_subscribe #notification {
    color: #f00;
}

#subscribe_popup #notification>div {
    margin: 10px 0 0;
}

#boxes #frm_subscribe #notification .success {
    color: #4caf50;
}

#popup2 {
    cursor: pointer;
    line-height: 24px;
    position: absolute;
    right: 5px;
    text-align: center;
    top: 5px;
}

.popup-button {
    display: inline-block;
    float: none;
    text-align: center;
    vertical-align: top;
    width: 100%;
}


/* newsllter */

#dialog-normal .newletter-title {
    float: left;
    width: 100%;
}

#dialog-normal .newletter-title h2 {
    color: #ffffff;
    font: 500 18px/22px "Montserrat", Helvetica, sans-serif;
    margin: 0 0 20px;
    padding: 0 0 0 30px;
    position: relative;
    text-align: left;
    text-transform: capitalize;
}

#dialog-normal .newletter-title .tt-title::before {
    content: "\f0e0";
    color: #ffffff;
    font-size: 18px;
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    right: auto;
    margin: 0 auto;
    top: 0;
    text-align: center;
    height: 30px;
    width: 30px;
}

.newletter-subscribe .newletter-container .newsletter-desc {
    color: #ffffff;
    display: inline-block;
    float: none;
    font: italic 400 20px/24px "Playfair Display", Helvetica, sans-serif;
    margin: 10px 0 0;
    text-align: center;
    vertical-align: top;
    display: none;
}

#dialog-normal .newleter-content {
    float: left;
    max-width: 650px;
    margin: 20px 0 0;
    position: relative;
    width: 100%;
}

#form_subscribe {
    float: left;
    position: relative;
    text-align: center;
    width: 100%;
}

.newletter-subscribe {
    float: left;
    width: 100%;
}

.newletter-subscribe .box {
    float: left;
    width: 100%;
}

#subscribe_email {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ffffff;
    display: block;
    padding: 0 130px 0 15px;
    height: 40px;
    width: 100%;
    float: left;
    margin: 0;
}

#subscribe_email::-webkit-input-placeholder {
    color: #ffffff;
}

#subscribe_email::-moz-placeholder {
    color: #ffffff;
}

#subscribe_email:-ms-input-placeholder {
    color: #ffffff;
}

#subscribe_email:-moz-placeholder {
    color: #ffffff;
}

#subscribe .btn {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    line-height: 28px;
    padding: 6px 20px;
    position: absolute;
    right: 0;
    text-transform: capitalize;
    top: -5px;
    color: #fff!important;
}

#subscribe .btn:hover {
    background: #dd2941;
    border-color: #dd2941;
    color: #ffffff;
}

.newletter-subscribe .button i {
    display: none;
}

#notification-normal {
    bottom: -50px;
    float: left;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 100%;
    z-index: 1;
}

#notification-normal div {
    background: #dff0d8;
    color: #3c763d;
    font-size: 13px;
    padding: 10px 15px;
}

#notification-normal div.warning {
    background: #f2dede;
    color: #a94442;
}

@media(max-width:1199px) {
    #dialog-normal .newletter-title h2 {
        font-size: 16px;
    }
}

@media (max-width:991px) {
    .newletter-subscribe {
        margin: 15px 0 0;
    }
    #dialog-normal .newleter-content {
        margin: 0;
    }
}

@media(max-width:600px) {
    .newletter-popup {
        width: 300px;
        margin: 0 auto;
        height: 100%;
        overflow-y: auto;
        top: 2% !important;
        left: 0 !important;
        right: 0;
    }
    .newslatter-img {
        width: 100%;
    }
    .newletter-popup .box {
        margin: 4% 0;
        width: 100%;
    }
    .newletter-popup #boxes {
        width: 300px;
        margin: 0 auto;
        height: 100%;
        overflow-y: auto;
        top: 2% !important;
    }
}

@media(max-width:480px) {
    .newletter-popup {
        width: 300px;
        height: 100%;
        overflow-y: auto;
    }
    .newslatter-img {
        width: 100%;
    }
    .newletter-popup .box {
        width: 100%;
        padding: 4% 0 10%;
    }
    .newletter-popup #boxes .newletter-title h2 {
        font-size: 22px;
        line-height: 24px;
    }
    #boxes #frm_subscribe #subscribe_pemail {
        width: 80%;
    }
    .newletter-subscribe .newletter-container .newsletter-desc {
        font-size: 16px;
        line-height: 20px;
    }
    #subscribe .btn {
        padding: 11px;
    }
    .newletter-subscribe .button>span {
        display: none;
    }
    .newletter-subscribe .button>i {
        display: block;
        font-size: 18px;
        color: #fff;
    }
    .newletter-subscribe .button:hover>i {
        color: #ffffff;
    }
    #subscribe_email {
        padding: 0 50px 0 10px;
    }
}