.ui-state-active {
    background-color: white !important;
}
.ui-state-default {
    /*background: #a7c8e0 !important;*/
}
.ui-widget-header {
    background: #00baff !important;
    border:0 !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
    margin-top: -5px !important;
    border-radius: 0 !important;
}
.btn-primary:hover {
    /*background-color:dodgerblue !important;*/
}

.lost-password > a {
    text-decoration:none !important;
}
.lost-password > a:hover {
    text-decoration:underline;
    background-color:white !important;
}

.center{
    text-align: center;
}

.telegram_membership_mobigw_payment_link:hover {

}

.telegram_membership_more_link > .dashicons {
    vertical-align: middle;
    display: inline;
    font-size: inherit;
}

#mobigwform:not(.hidden) {
    border-style: solid;
    border-width: 3px;
    border-color: #00baff;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    padding: 10px;
    display: block;
}

.telegram_radio {
    display: none;
}
.telegram_radio_fullwidth{
    width: 100% !important;
}
.smallh4{
    font-size: 18px;
}

#payment_radio_form{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-style: solid;
    border-width: 3px;
    border-color: #00baff;
    border-radius: 10px;
    margin-bottom: 10px;
    /*width: 400px;/* Match the everypay iframe */
    width: 100%;
}

label + input[type=radio] + label {
    border-left: solid 3px #00baff;
}

.telegram_radio + label {
    padding: 7px;
    display: inline-block;
    width: 50%;
    text-align: center;
    letter-spacing: -0.3px;
}

.telegram_radio:checked + label {
    background: #00baff;
    color: #fff;
}

#telegram_membership_back{
    display: inline-block;
    float: left;
}

#confirmation_status{
    font-size: 1.6875em;
}

#confirmation_status:not([style*="display: none"]) ~ iframe {
    display: none;
}

.loader {
    display: inline-block;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #00baff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    -webkit-animation: spin 2s linear infinite;
            animation: spin 2s linear infinite;
}
.loader-failed {
    display: inline-block;
    border: 8px solid #ff0000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}
.loader-success {
    display: inline-block;
    border: 8px solid #00ff00;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.telegram_form_button,
.btn-primary.telegram_form_button {
    background-color: #00baff;
    color: #fff;
    border: none;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    font-size: 16px;
    -webkit-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    -webkit-transition-property: color, background-color;
    -o-transition-property: color, background-color;
    transition-property: color, background-color;
    cursor: pointer;
    padding: 0.76rem 1rem;
}

.telegram_membership_more_link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: #00baff;
    text-decoration: none !important;
    font-weight: bold;
    padding: 10px 10px;
    color: #fff !important;
    font-size: 17px;
    width: 32%;
    margin-bottom: 10px;
    margin-top: 10px;
    vertical-align: top;
    text-align: center;
}

.everypay-cancelbutton{
    text-align: center;
    height: 1em;
    padding: 0.7em;
    font-size: 0.8em !important;
}

.everypay-cancelbutton[class*="btn-"] {
    height: auto;
}

#telegram_membership_receive_newsletter,
.telegram_membership_everypay_payment_link {
    width: auto;
}

#telegram_membership_more_select,
.telegram_membership_more_select{
    float: left;
    text-align: center;
    width: 100%;
}

.telegram_membership_more{
    width: 100%;
    text-align: justify-all;
}

@media only screen and (max-width: 719px) {
    .telegram_membership_more_link{
        display: block;
        width: 100%;
    }
    #telegram_membership_heighthack > a {
        display: inline-block !important;
        width: 100% !important;
    }
    #telegram_membership_heighthack{
        display: block;
        width: 100%;
        border-spacing: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

.telegram_membership_more_link_line1 {
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1.2;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .telegram_membership_more_link_line1 {
        line-height: 1.2;
    }
}
.telegram_membership_more_link_line2 {
    font-size: 1.1em;
    font-weight: normal;
    line-height: 1;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .telegram_membership_more_link_line2 {
        line-height: 1.2;
    }
    .telegram_membership_more_link_line2 + * {
        margin-top: 20px;
    }
}

.telegram_membership_more_link_line3{
    font-weight: lighter;
    font-size: 0.9em;
}

.telegram_membership_more h4 {
    font-weight: bold;
}
.telegram_membership_more_link:hover {
    background-color: #000;
}
.submenu {
    display: none;
    width: 100%;
    background: #000;
}
.submenu li {
    width: 100%;
}
.dropdown {
    position: relative;
}
.dropdown:hover .submenu{
    position: absolute;
    display: block !important;
}
.form-control {
    line-height: 1;
    font-size: 20px;
    width: 100%;
}
.form-group {
    margin-top:15px;
}
.telegram-membership-registration-form input{
    padding: 0.36rem 0.66rem;
}
.my-telegram-form input{
    padding: 0.36rem 0.66rem;
}
.telegram-membership-registration-form{
    padding: 10px 0;
}
.registerloginformtable{
    margin-top: 15px !important;
}
table.registerloginformtable td:first-child {
    width: 20px;
    padding-left: 0;
    padding-right: 0;
}
.articlecontent table.registerloginformtable td,
table.registerloginformtable td {
    padding-top: 0;
    padding-bottom: 0;
}
table.registerloginformtable input {
    padding: 0;
    margin: 0;
}
table.registerloginformtable label {
    font-size: inherit !important;
}

.registerloginformtable tr:nth-child(even){
    background: #fff !important;
}
.registerloginformtable tr:nth-child(odd){
    background: #fff !important;
}
.my-telegram-form table tr:nth-child(even){
    background: #fff !important;
}
.my-telegram-form table tr:nth-child(odd){
    background: #fff !important;
}
.registraion-form > div:not([class]),
.registraion-form > div:not([class]) + .telegram_form_button {
    margin-top: 15px;
}
.registraion-form > div:not([class]) + div:not([class]) {
    margin-top: 5px;
}


.help-block {
    font-size: 16px;
}
.ui-tabs-anchor {
    font-size: 18px;
    padding-bottom: 13px !important;
    padding-top: 14px !important;
}
#tabs-2 > table > tbody > tr > th {
    font-size:19px;
    text-align: center;
}
#tabs-2 > table > tbody > tr > td {
    text-align: center;
    font-size: 20px;
}
.form-horizontal > .btn-primary {
    font-size:16px;
}
.ui-tabs-nav > li {
    line-height:1;
}
.form-horizontal > table > tbody > tr > td > label {
    font-size: 19px;
}
.form-horizontal > table > tbody > tr > td > input {
    font-size: 16px;
}

@-webkit-keyframes expand {
    from {
        -webkit-transform: scale(0);
                transform: scale(0);
        opacity: 0;
    }
}

@keyframes expand {
    from {
        -webkit-transform: scale(0);
                transform: scale(0);
        opacity: 0;
    }
}

.alert-danger{
    background-color: #d9534f;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
}

#everypayforms {
    -webkit-animation: expand .3s ease-in-out;
            animation: expand .3s ease-in-out;
}

.hidden {
    display: none;
}

.button-danger {
    background-color: #d9534f;
}

.button-inline {
    display: inline;
    line-height: 0;
}

.inline {
    display: inline;
}

.fullwidth {
    width: 100%;
}

.indicator {
    display: none;
}

.btn-primary:disabled {
    background-color: #aaa;
}

.btn-primary:hover {
    background-color: #ccc;
}

.blur_content {
    line-height: 1.8em;
    /* height: 5.4em; */
    height: 3.6em;
    overflow: hidden;
    position: relative;
}

.blur_content > p {
    display: inline;
}

.blur_content_blur {
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: -o-linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
    background-image: -webkit-gradient( linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 1)) );
    background-image: linear-gradient( rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100% );
}

#telegram_membership_heighthack{
    display: table;
    table-layout: fixed;
    border-spacing: 5px;
    border-collapse: separate;
    padding-left: 50px;
    padding-right: 50px;
}

#telegram_membership_heighthack > a {
    width: 1%;
    display: table-cell;
}
.wrappre{
    white-space: pre-wrap;
}

#telegram_membership_more_select,
.telegram_membership_more_select {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    float: none;
}
#telegram_membership_more_select .telegram_membership_more_link:not(.button),
.telegram_membership_more_select .telegram_membership_more_link:not(.button) {
    background: #f9f9f9;
    color: #000 !important;
    border: 1px solid #00baff;
    border-radius: 30px;
    min-height: 300px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 25px;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #telegram_membership_more_select .telegram_membership_more_link:not(.button),
    .telegram_membership_more_select .telegram_membership_more_link:not(.button) {
        min-height: initial;
        height: 300px;
    }
}
@media (max-width: 960px) {
    #telegram_membership_more_select .telegram_membership_more_link:not(.button),
    .telegram_membership_more_select .telegram_membership_more_link:not(.button) {
        min-height: 220px;
        padding: 15px;
    }
}
@media (max-width: 450px) {
    #telegram_membership_more_select .telegram_membership_more_link:not(.button),
    .telegram_membership_more_select .telegram_membership_more_link:not(.button) {
        min-height: 190px;
    }
}
.telegram_membership_more_link.button {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
.telegram_membership_more_link .button {
    line-height: 42px;
    width: 100%;
    padding: 0;
}
@media (max-width: 450px) {
    .telegram_membership_more_link .button {
        line-height: 32px;
        height: 32px;
        font-size: 14px;
    }
}
.telegram_membership_more_link_line1 {
    width: 100%;
}
@media (max-width: 960px) {
    .telegram_membership_more_link_line1 {
        font-size: 1.1em;
    }
}
@media (max-width: 450px) {
    .telegram_membership_more_link_line1 {
        font-size: .9em;
        line-height: 1.2;
    }
}
.telegram_membership_more_link_line2 {
    font-size: 48px;
}
@media (max-width: 960px) {
    .telegram_membership_more_link_line2 {
        font-size: 38px;
    }
}
@media (max-width: 450px) {
    .telegram_membership_more_link_line2 {
        font-size: 32px;
    }
}
.telegram_membership_more_link_line2 span {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #404040;
    margin-top: 15px;
}
@media (max-width: 960px) {
    .telegram_membership_more_link_line2 span {
        font-size: 12px;
        margin-top: 10px;
    }
}
@media (max-width: 450px) {
    .telegram_membership_more_link_line2 span {
        font-size: 10px;
        margin-top: 5px;
    }
}
.sub-wrap {
    width: 33.33%;
    padding: 0 15px;
}
@media (max-width: 768px)  {
    .sub-wrap {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .sub-wrap {
        padding: 0 8px;
    }
}
.articlecontent .sub-wrap {
    width: 25%;
}
@media (max-width: 1367px)  {
    .articlecontent .sub-wrap {
        width: 50%;
    }
}
@media (max-width: 900px)  {
    .articlecontent .sub-wrap {
        width: 50%;
    }
}
@media (max-width: 360px)  {
    .articlecontent .sub-wrap {
        width: 100%;
    }
}
.telegram_membership_more .telegram_membership_more_select {
    width: auto;
    margin-left: -15px;
    margin-right: -15px;
}
@media (max-width: 767px) {
    .telegram_membership_more .telegram_membership_more_select {
        margin-left: -8px;
        margin-right: -8px;
    }
}
.has-three .sub-wrap,
.modal-content .has-three .sub-wrap {
    width: 33.33%;
}
@media (max-width: 1150px) {
    .has-three .sub-wrap,
    .modal-content .has-three .sub-wrap {
        width: 50%;
    }
    .has-three .sub-wrap.viewmore {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
}
@media (max-width: 360px) {
    .has-three .sub-wrap,
    .modal-content .has-three .sub-wrap {
        width: 100%;
    }
}
.telegram_toggle * + label,
.telegram_toggle label,
.telegram_toggle label[for] {
    margin: 0;
}
.telegram_membership_more_link .link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    cursor: pointer;
}
#payment_radio_form {
    margin-bottom: 0;
}
#payment_radio_form + *,
.telegram-package-message + #paymentform,
* + .telegram_membership_mobigw_payment_link.telegram_membership_more_link {
    margin-top: 24px;
}
iframe:not([src*="youtube"]):not([src*="vimeo"]) {
    width: 100%;
    /* height: 36.25vw; */
    height: 695px;
}
.telegram_membership_showarticle {
    pointer-events: none;
}
#everypayform,
#everypay-panklink-form,
#mobigwform {
    display: none;
}
* + .telegram_membership_everypay_payment_link,
* + .telegram_membership_everypay_payment_link.telegram_membership_more_link,
#paymentform #confirmation_status {
    margin-top: 32px;
}
#confirmation_status {
    display: inline-block;
}
.everypay-banklink-logo {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: #fff;
    margin-right: 8px;
}
.payment-method-input,
.paymentconditioncheck {
    margin: 0;
    margin-right: 8px;
}
.paymentconditioncheck {
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
}
#everypay-banklink-form .form-check,
#everypay-banklink-form .form-check-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
#everypay-banklink-form .form-check-label {
    margin: 0;
}
.telegram_membership_more_top,
.telegram_membership_more_bottom {
    display: block;
    width: 100%;
}
.telegram_membership_more_top {
    -ms-flex-item-align: start;
        align-self: flex-start;
}
.telegram_membership_more_bottom {
    -ms-flex-item-align: end;
        align-self: flex-end;
}
* + .telegram_membership_more_bottom {
    margin-top: 32px;
}
.telegram_membership_more_link * + .link {
    margin-top: 16px;
}
* + .telegram_membership_more_link_line2 {
    margin-top: 12px;
}
.single-post .telegram_membership_more_link_line1 {
    font-size: 1.2em;
}
.single-post .telegram_membership_more_link .link {
    font-size: 14px;
}
@media (max-width: 480px) {
    .single-post .telegram_membership_more_link .link {
        font-size: 11px;
    }
}
#everypay-banklink-form > .alert {
    margin-bottom: 0;
    margin-top: 32px;
}
@media (max-width: 480px) {
    .telegram_membership_more_link .link {
        font-size: 11px;
    }
}
@media (max-width: 450px) {
    .telegram_radio + label {
        font-size: 12px;
    }
    .everypay-banklink-logo img {
        max-width: 75px;
    }
}
