/*Global css start here*/
.themedevmail-next-backdrop { top: 0; left: 0; width: 100%; height: 100%; position: fixed; -webkit-transition: all 300ms ease-in; -o-transition: all 300ms ease-in; transition: all 300ms ease-in; background-color: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; }

/*
.themedevmail-next-backdrop.is-open {
    -webkit-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    opacity: 1;
    visibility: visible;
    max-width: 100% !important;
}
*/
.themedevmail-popup-close-button { border: unset; padding: unset; margin: unset; width: 20px; height: 20px; line-height: 1; border-radius: 100%; padding: 5px; background: unset; color: #333; font-size: 9px; border: none; cursor: pointer; position: absolute; top: 0; right: 0; }

/* next-mail-section */
.next-mail-section { /*form2 css*/ /*form3 css*/ /*form4 css*/ /*form5 css*/ /*form6 css*/ /*form7 css*/ /*form8 css*/ }

.next-mail-section .next-mail-message { padding: .375rem .85rem; font-size: 13px; line-height: 1.5rem; color: #333; }

.next-mail-section .next-inner-from { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; position: relative; z-index: 99; }

.next-mail-section .next-inner-from .next-input { margin-right: 10px; margin-bottom: 0; }

.next-mail-section .next-inner-from .next-input .next-mail-label { margin-bottom: 8px; font-size: 17px; font-weight: 600; }

.next-mail-section .next-inner-from .next-input-filed { display: block; width: 100%; padding: .375rem .85rem; font-size: 15px; line-height: 1.5rem; color: #495057; background-color: #fff; background-clip: padding-box; border: 1px solid #eee; border-radius: .25rem; -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out; transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out; -o-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out; outline: none; }

.next-mail-section .next-inner-from .next-input-filed { border-radius: 5px; border: 1px solid #ddd; padding: 12px 20px; -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.07); }

.next-mail-section .next-inner-from .next-input-filed:focus { border-color: #ccc; -webkit-box-shadow: unset; box-shadow: unset; }

.next-mail-section .next-inner-from .next-mail-button { cursor: pointer; display: inline-block; font-weight: 400; text-align: center; white-space: nowrap; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid #eee; padding: .375rem 1.75rem; font-size: 13px; line-height: 1.5rem; border-radius: .25rem; -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out; -o-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out; }

.next-mail-section .next-inner-from .next-mail-button { background-color: #403e9e; -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.07); border: none; padding: 12px 20px; -webkit-transition: all .4s ease-in-out; -o-transition: all .4s ease-in-out; transition: all .4s ease-in-out; }

.next-mail-section .next-inner-from .next-mail-button .next-btn-text { color: #fff; font-size: 18px; padding-right: 10px; }

.next-mail-section .next-inner-from .next-mail-button .nx-subscribe { color: #fff; font-size: 15px; }

.next-mail-section.next-form2 .next-inner-from { display: block; padding: 20px; background: aliceblue; }

.next-mail-section.next-form2 .next-inner-from .next-mail-filed { margin-right: 0; margin-bottom: 20px; }

.next-mail-section.next-form2 .next-inner-from .next-input-filed { background-color: transparent; border: none; -webkit-box-shadow: unset; box-shadow: unset; border-bottom: 3px solid #313853; border-radius: 0; padding: 6px 20px; }

.next-mail-section.next-form2 .next-inner-from .next-mail-button { background-color: #fff; border-radius: 50px; border: 1px solid #000; padding: 15px 50px; -webkit-transition: all .3s ease; -o-transition: all .3s ease; transition: all .3s ease; }

.next-mail-section.next-form2 .next-inner-from .next-mail-button .next-btn-text { color: #333; }

.next-mail-section.next-form2 .next-inner-from .next-mail-button .nx-subscribe { color: #333; }

.next-mail-section.next-form2 .next-inner-from .next-mail-button:hover { background-color: #000; }

.next-mail-section.next-form2 .next-inner-from .next-mail-button:hover .next-btn-text { color: #fff; }

.next-mail-section.next-form2 .next-inner-from .next-mail-button:hover .nx-subscribe { color: #fff; }

.next-mail-section.next-form3 .next-inner-from { display: inline-block; width: 100%; position: relative; }

.next-mail-section.next-form3 .next-inner-from .next-mail-filed { margin: 0; }

.next-mail-section.next-form3 .next-inner-from .next-input-filed { border-radius: 30px; text-indent: 25px; padding: 16px 20px; /*&:focus{ border-color: #ff8508d6; }*/ }

.next-mail-section.next-form3 .next-inner-from .next-mail-button { position: absolute; text-align: center; bottom: 2px; right: 4px; background-color: #023c5b; width: auto; border-radius: 50px; }

.next-mail-section.next-form3 .next-inner-from .next-mail-button .nx-subscribe { padding-right: 0; line-height: 50px; font-size: 13px; }

.next-mail-section.next-form4 .next-inner-from .next-mail-filed.next-input .next-input-filed { border-radius: 5px; border: 1px solid #ef5a30; line-height: 2rem; padding: 6px 20px; }

.next-mail-section.next-form4 .next-inner-from .next-mail-filed.next-input:nth-last-child(2) .next-input-filed { border-top-right-radius: 0; border-bottom-right-radius: 0; }

.next-mail-section.next-form4 .next-inner-from .next-mail-filed.next-input { margin-right: 10px; }

.next-mail-section.next-form4 .next-inner-from .next-mail-filed.next-input:nth-last-child(2) { margin-right: 0px !important; }

.next-mail-section.next-form4 .next-inner-from .next-mail-button { background-color: #fff; border-top-left-radius: 0; border-bottom-left-radius: 0; position: relative; border: 1px solid #ef5a30; overflow: hidden; line-height: 1rem; padding: 9px 20px; height: 46px; }

.next-mail-section.next-form4 .next-inner-from .next-mail-button .next-btn-text, .next-mail-section.next-form4 .next-inner-from .next-mail-button .nx-subscribe { position: relative; z-index: 99; }

.next-mail-section.next-form4 .next-inner-from .next-mail-button:before, .next-mail-section.next-form4 .next-inner-from .next-mail-button:after { position: absolute; content: ''; width: 100%; height: 50%; background-color: #ef5a30; left: 0; top: 0; color: #fff; -webkit-transition: -webkit-transform .3s; transition: -webkit-transform .3s; -o-transition: transform .3s; transition: transform .3s; transition: transform .3s, -webkit-transform .3s; overflow: hidden; -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); -o-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); }

.next-mail-section.next-form4 .next-inner-from .next-mail-button:after { bottom: 0; left: 0; top: auto; }

.next-mail-section.next-form4 .next-inner-from .next-mail-button:hover:hover .next-btn-text { color: #333; }

.next-mail-section.next-form4 .next-inner-from .next-mail-button:hover:hover .nx-subscribe { color: #333; }

.next-mail-section.next-form4 .next-inner-from .next-mail-button:hover:before { -webkit-transform: translate3d(0, -100%, 0); transform: translate3d(0, -100%, 0); }

.next-mail-section.next-form4 .next-inner-from .next-mail-button:hover:after { -webkit-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); }

.next-mail-section.next-form4 .next-inner-from .next-mail-button .nx-subscribe { padding-right: 0; }

.next-mail-section.next-form5 .next-inner-from .next-mail-filed.next-input .next-input-filed { border-radius: 25px; border: 1px solid #8b8b8b; }

.next-mail-section.next-form5 .next-inner-from .next-mail-filed.next-input:nth-last-child(2) .next-input-filed { border-bottom-right-radius: 0; border-top-right-radius: 0; }

.next-mail-section.next-form5 .next-inner-from .next-mail-filed.next-input { margin-right: 10px; }

.next-mail-section.next-form5 .next-inner-from .next-mail-filed.next-input:nth-last-child(2) { margin-right: 0px !important; }

.next-mail-section.next-form5 .next-inner-from .next-mail-button { background-color: #8b8b8b; border-radius: 30px; border-bottom-left-radius: 0; border-top-left-radius: 0; border: 1px solid #8b8b8b; line-height: 1.4rem; overflow: hidden; position: relative; }

.next-mail-section.next-form5 .next-inner-from .next-mail-button .next-btn-text, .next-mail-section.next-form5 .next-inner-from .next-mail-button .nx-subscribe { position: relative; z-index: 99; }

.next-mail-section.next-form5 .next-inner-from .next-mail-button:before { position: absolute; content: ''; top: 0; left: 0; right: 0; bottom: 0; background-color: #000; border-radius: 100%; overflow: hidden; -webkit-transform: scale(0); -ms-transform: scale(0); transform: scale(0); -webkit-transition-property: -webkit-transform; transition-property: -webkit-transform; -o-transition-property: transform; transition-property: transform; transition-property: transform, -webkit-transform; -webkit-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-timing-function: ease-out; -o-transition-timing-function: ease-out; transition-timing-function: ease-out; }

.next-mail-section.next-form5 .next-inner-from .next-mail-button:hover:before { -webkit-transform: scale(2); -ms-transform: scale(2); transform: scale(2); }

.next-mail-section.next-form5 .next-inner-from .next-mail-button .nx-subscribe { padding-right: 0; }

.next-mail-section.next-form6 .next-inner-from .next-input-filed { border-radius: 100px; border-color: #ccc; background-color: #fff; }

.next-mail-section.next-form6 .next-inner-from .next-mail-button { background-color: #e2498a; border-radius: 100px; border: 1px solid #e2498a; padding: 12px 30px; }

.next-mail-section.next-form6 .next-inner-from .next-mail-button .next-btn-text { padding-right: 0; }

.next-mail-section.next-form6 .next-inner-from .next-mail-button:hover { background-color: #0c0c0c; border: 1px solid #000; }

.next-mail-section.next-form6 .next-inner-from .next-mail-button:hover .next-btn-text { opacity: 1; -webkit-transform: translateX(-100%); -ms-transform: translateX(-100%); transform: translateX(-100%); color: #fff; }

.next-mail-section.next-form6 .next-inner-from .next-mail-button:hover .nx-subscribe { opacity: 1; color: #fff; }

.next-mail-section.next-form7 .next-inner-from .next-input-filed { border-radius: 8px; border-color: #ccc; background-color: #fff; }

.next-mail-section.next-form7 .next-inner-from .next-mail-button { border-radius: 8px; background-color: #00ceca; color: #fff; }

.next-mail-section.next-form7 .next-inner-from .next-mail-button:hover { -webkit-animation-name: wobble-horizontal; animation-name: wobble-horizontal; -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; -webkit-animation-iteration-count: 1; animation-iteration-count: 1; }

.next-mail-section.next-form7 .next-inner-from .next-mail-button .next-btn-text { text-shadow: 6px 6px 2px rgba(0, 0, 0, 0.3); }

.next-mail-section.next-form7 .next-inner-from .next-mail-button .nx-subscribe { padding-right: 0; text-shadow: 6px 6px 2px rgba(0, 0, 0, 0.3); }

.next-mail-section.next-form8 .next-inner-from .next-input-filed { border-radius: 0; border-color: #ccc; background-color: #fff; border: none; border-color: unset; }

.next-mail-section.next-form8 .next-inner-from .next-input { margin: 0px; }

.next-mail-section.next-form8 .next-inner-from .next-submit { margin-left: -1px; }

.next-mail-section.next-form8 .next-inner-from .next-mail-button { border-radius: 0; color: #ffffff; background-color: #fe0467; -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.07); box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.07); border: none; /*background-image: linear-gradient(180deg, #0cd7f5 0%, #000000 100%); &:hover{ background-color: transparent; background-image: linear-gradient(180deg, #000000 0%, #0cd7f5 100%); }*/ }

.next-mail-section.next-form8 .next-inner-from .next-mail-button .nx-subscribe { padding-right: 0; color: #fff; }

.next-mail-section.next-form8 .next-inner-from .next-mail-button .next-btn-text { color: #fff; }

.next-mail-section.next-position_absolute { position: absolute; z-index: 9999; }

.next-mail-section.nextmail-position_fixed { position: fixed; z-index: 9999; opacity: 0; visibility: hidden; -webkit-transition: all 300ms ease-in; -o-transition: all 300ms ease-in; transition: all 300ms ease-in; padding: 30px 20px; background: #fff; -webkit-box-shadow: 0px 15px 50px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 15px 50px 0px rgba(0, 0, 0, 0.2); width: 100%; max-width: 400px; }

.next-mail-section.nextmail-position_fixed.is-open { -webkit-transition: all 300ms ease-out; -o-transition: all 300ms ease-out; transition: all 300ms ease-out; opacity: 1; visibility: visible; }

.next-mail-section.next-left_content { left: 0px; top: 0%; -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); }

.next-mail-section.next-right_content { left: auto; top: 0%; right: 0px; -webkit-transform: translateY(0%); -ms-transform: translateY(0%); transform: translateY(0%); }

.next-mail-section.next-top_content { left: 0%; top: auto; bottom: 0px; -webkit-transform: translateX(0%); -ms-transform: translateX(0%); transform: translateX(0%); }

.next-mail-section.next-bottom_content { left: auto; right: 0%; top: auto; bottom: 0px; -webkit-transform: translateX(0%); -ms-transform: translateX(0%); transform: translateX(0%); }

.next-mail-section.next-center_content { left: 50%; top: 50%; right: auto; bottom: auto; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); }

@-webkit-keyframes wobble-horizontal { 16.65% { -webkit-transform: translateX(8px); transform: translateX(8px); }
  33.3% { -webkit-transform: translateX(-6px); transform: translateX(-6px); }
  49.95% { -webkit-transform: translateX(4px); transform: translateX(4px); }
  66.6% { -webkit-transform: translateX(-2px); transform: translateX(-2px); }
  83.25% { -webkit-transform: translateX(1px); transform: translateX(1px); }
  100% { -webkit-transform: translateX(0); transform: translateX(0); } }

@keyframes wobble-horizontal { 16.65% { -webkit-transform: translateX(8px); transform: translateX(8px); }
  33.3% { -webkit-transform: translateX(-6px); transform: translateX(-6px); }
  49.95% { -webkit-transform: translateX(4px); transform: translateX(4px); }
  66.6% { -webkit-transform: translateX(-2px); transform: translateX(-2px); }
  83.25% { -webkit-transform: translateX(1px); transform: translateX(1px); }
  100% { -webkit-transform: translateX(0); transform: translateX(0); } }

:focus { outline: 0 !important; border-color: unset; }

@media (max-width: 991px) { .next-mail-section .next-inner-from .next-mail-button { padding: 12px 10px; }
  .next-mail-section .next-inner-from .next-mail-button .next-btn-text { padding-right: 4px; }
  .next-mail-section.next-form4 .next-inner-from .next-mail-button { padding: 12px 10px; } }

@media (max-width: 767px) { .next-mail-section .next-inner-from { display: block; }
  .next-mail-section .next-inner-from .next-input { margin-right: 0; margin-bottom: 10px; }
  .next-mail-section .next-inner-from .next-mail-button { width: 100%; margin-top: 5px; }
  .next-mail-section .next-inner-from .next-mail-button .next-btn-text { padding-right: 13px; }
  .next-mail-section.next-form4 .next-inner-from .next-mail-filed.next-input { margin-right: 0px; }
  .next-mail-section.next-form4 .next-inner-from .next-mail-filed.next-input .next-input-filed { border-radius: 5px !important; }
  .next-mail-section.next-form4 .next-inner-from .next-mail-button { border-radius: 5px; }
  .next-mail-section.next-form5 .next-inner-from .next-mail-filed.next-input { margin-right: 0; }
  .next-mail-section.next-form5 .next-inner-from .next-mail-filed.next-input .next-input-filed { border-radius: 25px !important; }
  .next-mail-section.next-form5 .next-inner-from .next-mail-button { border-radius: 25px; } }

@media (max-width: 480px) { .next-mail-section .next-inner-from .next-mail-button .next-btn-text { padding-right: 15px; } }
