/* TB-newsletter-popup Start */

#TB-newsletter-popup #boxes {
    background-color: #222;
    bottom: 0;
    left: 0;
    margin: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    height: 500px;
    max-width: 1000px;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -khtml-border-radius: 0;
    border-radius: 0;
}

#TB-newsletter-popup .newslatterpopup-content {
    width: 88%;
    margin: 0 auto;
}

#TB-newsletter-popup #notification .warning {
    background: #f8d7da;
    padding: 12px;
    color: #842029;
    margin: 0 0 15px 0;
    border: 1px solid #f5c2c7;
}

#TB-newsletter-popup #notification .success {
    background: #d1e7dd;
    padding: 12px;
    color: #0f5132;
    margin: 0 0 15px 0;
    border: 1px solid #badbcc;
}

#TB-newsletter-popup #popup2 {
    margin: auto;
    position: absolute;
    right: 0;
    text-align: center;
    cursor: pointer;
    top: 0;
    width: auto;
    height: 30px;
    width: 30px;
    transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
    z-index: 1;
    background: #000;
}

#TB-newsletter-popup #popup2 span {
    display: inline-block;
}

#TB-newsletter-popup #popup2 .b-close i {
    color: #fff;
    line-height: 30px;
    transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
    display: block;
    font-size: 20px;
}

#TB-newsletter-popup #popup2:hover .b-close i {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

#TB-newsletter-popup .newslatter-img {
    background: #ffffff url("../images/newsletter-img.jpg") no-repeat scroll 0 center;
    padding: 0;
    height: 500px;
    width: 500px;
    order: 2;
}

#TB-newsletter-popup .box {
    text-align: center;
}

#TB-newsletter-popup #dialog {
    display: flex;
    align-items: center;
}

#TB-newsletter-popup #boxes .newletter-title h2 {
    color: #fff;
    font: 600 36px/38px 'Oxanium', sans-serif;
    margin: 0;
}

#TB-newsletter-popup .newslatterpopup-content>span {
    margin: 10px 0 20px 0;
    font: 400 17px/26px 'Gemunu Libre', helvetica, sans-serif;
    color: #fff;
    display: block;
}

#TB-newsletter-popup #boxes #newleter_form_subscribe #subscribe_pemail {
    border: 1px solid #444;
    padding: 12px 20px;
    color: #fff;
    background: #111;
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: 0.5px;
    font: 400 17px/19px 'Gemunu Libre', helvetica, sans-serif;
    box-shadow: none;
    outline: none;
    display: block;
    width: 100%;
}

#TB-newsletter-popup .popup-button {
    text-align: left;
    vertical-align: top;
    cursor: pointer;
    margin: 0 0 20px;
}

#TB-newsletter-popup .popup-button {
    text-align: center;
}

#TB-newsletter-popup .popup-button .button.btn.btn-primary {
    font: 500 20px/22px 'Gemunu Libre', helvetica, sans-serif;
    color: #111;
    padding: 14px 34px;
    background: #fff;
    margin: 0;
    transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
    display: inline-block;
    text-decoration: none;
    position: relative;
    z-index: 1;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -khtml-border-radius: 0;
    border-radius: 0;
}

#TB-newsletter-popup .popup-button .button.btn.btn-primary:hover {
    color: #111;
}

#TB-newsletter-popup .popup-button .button.btn.btn-primary::before {
    background: #facc33;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0;
    width: 100%;
    opacity: 0;
    -moz-opacity: 0;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
    z-index: -1;
    right: 0;
    transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
}

#TB-newsletter-popup .popup-button .button.btn.btn-primary:hover::before,
#TB-newsletter-popup .popup-button .button.btn.btn-primary:active::before,
#TB-newsletter-popup .popup-button .button.btn.btn-primary:focus::before {
    opacity: 1;
    -moz-opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    height: 100%;
}

#TB-newsletter-popup #boxes .newleter-content label {
    color: #d7d7d7;
    font: 500 17px/24px 'Gemunu Libre', helvetica, sans-serif;
    cursor: pointer;
    transition: all 400ms ease-in-out;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
}

#TB-newsletter-popup #boxes .newleter-content label:hover {
    color: #fff;
}

@media (max-width: 991px) {
    #TB-newsletter-popup #dialog {
        display: block;
    }
    #TB-newsletter-popup #boxes {
        bottom: 0;
        overflow-y: auto;
        left: 0;
        top: 0;
        margin: 75px auto;
        right: 0;
        position: fixed;
        z-index: 9;
        overflow-x: hidden;
        height: auto;
    }
    #TB-newsletter-popup .box {
        padding: 20px;
    }
    #TB-newsletter-popup #boxes {
        max-width: 500px;
    }
    #TB-newsletter-popup .newslatter-img {
        background-position: top center;
        width: auto;
    }
    #TB-newsletter-popup #popup2 {
        height: 30px;
        width: 30px;
        z-index: 1;
        right: 0;
        top: 0;
        background: #111;
    }
}

@media (max-width: 543px) {
    #TB-newsletter-popup #boxes {
        max-width: 300px;
    }
    #TB-newsletter-popup #boxes .newletter-title h2 {
        font-size: 26px;
        line-height: 28px;
        margin: 0 0 15px;
    }
    #TB-newsletter-popup .newslatterpopup-content {
        width: 100%;
    }
    #TB-newsletter-popup #boxes .newleter-content label {
        font-size: 12px;
    }
}

/* TB-newsletter-popup End*/

/* TB-newsletter-subscribe Start*/

#TB-newletter-subscribe .newletter-title h2 {
    font: 700 35px/45px 'Oxanium', sans-serif;
    color: #fff;
    position: relative;
    margin: 0 0 10px 0;
    letter-spacing: 0.50px;
    /* padding: 50px 0 0; */
}

/* #TB-newletter-subscribe .newletter-title h2::after {
	content: "\ec67";
	font-family: "IcoFont";
	font-size: 40px;
	line-height: 50px;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: auto;
	margin: auto;
	width: 45px;
	height: 45px;
	text-align: center;
} */

#TB-newletter-subscribe .newletter-title .newletter-desc {
    font: 400 20px/22px "Gemunu Libre", Helvetica, sans-serif;
    color: #fff;
    margin: 0 0 20px 0;
    display: block;
    /* display: none; */
}

#TB-newletter-subscribe #notification-normal {
    position: static;
    bottom: 20px;
    top: auto;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}

#TB-newletter-subscribe #notification-normal .warning {
    background: #f8d7da;
    padding: 9px;
    color: #842029;
    border: 1px solid #f5c2c7;
    margin: 20px 0 0 0;
    font-size: 16px;
    line-height: 18px;
}

#TB-newletter-subscribe #notification-normal .success {
    background: #d1e7dd;
    padding: 9px;
    color: #0f5132;
    border: 1px solid #badbcc;
    margin: 20px 0 0 0;
    font-size: 16px;
    line-height: 18px;
}

#TB-newletter-subscribe #form_subscribe .btn {
    position: absolute;
    right: 0;
    top: 0;
    /* color: #fff; */
    border-radius: 0;
}

#dialog-normal {
    padding: 110px 0;
    border: 2px solid #fff;
}

#TB-newletter-subscribe .box {
    margin: 0 auto;
    position: relative;
    /* padding: 0 110px 0 15px; */
    width: 45%;
    text-align: center;
}

#TB-newletter-subscribe .newleter-content>label {
    display: none;
}

#TB-newletter-subscribe #form_subscribe {
    position: relative;
}

#TB-newletter-subscribe #form_subscribe #subscribe .btn-primary {
    color: #111;
    background-color: #facc33;
    clip-path: none;
    padding: 11px 30px;
}

#TB-newletter-subscribe #form_subscribe #subscribe .btn-primary::before,
#TB-newletter-subscribe #form_subscribe #subscribe .btn-primary:hover,
#TB-newletter-subscribe #form_subscribe #subscribe .btn-primary:active,
#TB-newletter-subscribe #form_subscribe #subscribe .btn-primary:focus {
    background: #353535;
    color: #fff;
    border-radius: 0;
    clip-path: none;
}

#TB-newletter-subscribe #form_subscribe #subscribe_email {
    color: #111;
    padding: 10px 140px 10px 15px;
    font: 500 16px/18px "Gemunu Libre", Helvetica, sans-serif;
    border: 1px solid #fff;
    height: 44px;
    outline: none;
    letter-spacing: 0.50px;
    width: 100%;
    margin: 0;
    /* text-align: center; */
}

#TB-newletter-subscribe #form_subscribe .btn i {
    display: none;
}

@media (max-width: 1399px) {
    #dialog-normal {
        padding: 80px 0;
    }
}

@media (max-width: 1299px) {
    #TB-newletter-subscribe .newletter-title .newletter-desc {
        font-size: 19px;
        line-height: 21px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #TB-newsletter-popup .newslatter-img {
        width: 450px;
    }
    #TB-newsletter-popup #boxes {
        max-width: 900px;
    }
}

@media (max-width: 1199px) {
    #TB-newletter-subscribe .box {
        padding: 0 15px;
        width: 65%;
    }
    #TB-newletter-subscribe .newletter-title h2 {
        font-size: 29px;
        line-height: 36px;
    }
    #dialog-normal {
        padding: 40px 0;
    }
}

@media (max-width: 991px) {
    #TB-newletter-subscribe .newletter-title .newletter-desc {
        margin: 0 0 20px 0;
    }
    #TB-newletter-subscribe #notification-normal {
        position: static;
        margin: 10px 0 0 0;
        padding: 0;
    }
    #dialog-normal {
        padding: 26px 0;
    }
    #TB-newletter-subscribe .newletter-title h2 {
        font-size: 23px;
        line-height: 25px;
    }
}

@media (max-width: 767px) {
    #TB-newletter-subscribe .newletter-title .newletter-desc {
        margin: 0 0 15px 0;
        font-size: 18px;
        line-height: 20px;
    }
    #footer-top {
        text-align: center;
    }
    #TB-newletter-subscribe .box {
        width: 100%;
    }
    #TB-newletter-subscribe .newletter-title h2 {
        font-size: 33px;
        line-height: 35px;
    }
    #dialog-normal {
        padding: 45px 0;
    }
    #TB-newletter-subscribe {
        padding: 0;
    }
    .tb-newletter-subscribe-image {
        margin: 0 0 20px 0;
    }
}

@media (max-width: 575px) {
    #TB-newletter-subscribe .newletter-title h2 {
        font-size: 31px;
        line-height: 33px;
    }
}

@media (max-width: 480px) {
    #TB-newletter-subscribe .newletter-title h2 {
        font-size: 18px;
        line-height: 20px;
        margin: 0 0 10px 0;
    }
    #TB-newletter-subscribe #form_subscribe #subscribe .btn-primary {
        padding: 0;
    }
    #TB-newletter-subscribe .newletter-title .newletter-desc {
        font-size: 15px;
        line-height: 17px;
    }
    #dialog-normal {
        padding: 25px 0;
    }
    #TB-newletter-subscribe #form_subscribe .btn span {
        display: none;
    }
    #TB-newletter-subscribe #form_subscribe .btn {
        width: 44px;
        padding: 0;
    }
    #TB-newletter-subscribe #form_subscribe #subscribe_email {
        padding: 12px 45px 12px 15px;
    }
    #TB-newletter-subscribe #form_subscribe .btn i {
        display: inline-block;
        line-height: 44px;
        font-size: 20px;
    }
}

/* TB-newsletter-subscribe  End*/