#ea-tables .fade {
    opacity: 1.0 !important;
}
.tab-content>.tab-pane {
    display: none;
}
.tab-content>.active {
    display: block;
}
#ea-tables ul#myTab li::before {
    display: none;
}
.prices_container {
    max-width: 1110px;
    margin: 0 auto;
}

.price-tab {
    margin-top: 30px;
}

.prices_container table {
    border-radius: 40px;
    border: 8px solid #F8F9FD;
    overflow: hidden;
}

.pricing-table-wrap {
    margin: 20px 0
}

.pricing-table-wrap h2 {
    text-align: center;
    color: #37474f
}

.select-currency-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.select-currency-wrap .select-title {
    color: #37474f;
    font-size: 16px;
    margin-right: 10px;
    min-width: fit-content;
}

.select-currency-wrap .select-currency-inpt-wrap select {
    color: #232340;
    background-image: none;
    background-size: 9px 5px;
    background-repeat: no-repeat;
    background-position-x: -webkit-calc(100% - 10px);
    background-position-x: calc(100% - 10px);
    background-position-y: 50%;
    outline: 0;
    border: none;
}

ul.pricing-table-tab-control {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    padding: 0
}

.prices_table_head {
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

ul.pricing-table-tab-control li {
    text-transform: uppercase;
    display: inline-block;
    list-style-type: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    line-height: 24px;
    color: #64607D;
    font-size: 14px;
    padding: 4px 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

ul.pricing-table-tab-control li:not(.active) {
    border: solid 1px #DFE4F1;
    cursor: pointer;
    border-radius: 24px;
}

ul.pricing-table-tab-control li.active {
    border: none;
    border-bottom: none;
    border-radius: 90px;
    color: #fff;
    cursor: default;
    background-color: #A7A2DC;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease
}

.price-tab .tg {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    text-align: center;
    color: #37474f;
    position: absolute;
    z-index: -1;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0)
}

.price-tab .tg.active {
    position: relative;
    z-index: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none
}



.price-tab .tg tr {
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    background-color: #fff;
    position: relative;
}
.price-tab span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 42px;
    position: relative;
    z-index: 2;
}

.price_table_line span {
    background-color: #F8F9FD;

}


.price-tab .tg tr td,
.price-tab .tg tr th {
    padding: 0;
}

.price-tab .tg tr .tg-head {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #232340;
    padding: 20px 0;
}
.price-tab .tg tr.page_count_table .tg-price-count {
    font-size: 14px;
}
.price-tab .tg tr.page_count_table .tg-price-count, .price-tab .tg tr .tg-column-title, .price-tab .tg tr .tg-head {
    cursor: context-menu;
}
.page_count_table .tg-price-count {
    font-size: 14px;
    line-height: 20px;
    color: #757095;
}
.price-tab .tg tr.page_count_table .tg-price-count:hover {
    font-size: 14px;
    line-height: 20px;
    color: #757095;
}
.price-tab .tg tr.page_count_table .tg-price-count span::after, .price-tab .tg tr.page_count_table .tg-price-count span::before{
    display: none;
}
.price-tab .tg tr.page_count_table .tg-price-count:hover span {
    padding: 0;
}
.page_count_table {
    position: relative;
}
.page_count_table::after, .tg-header::after {
    content: " ";
    width: auto;
    height: 1px;
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    background: #DFE4F1;
}
.tg-header::after {
    top: auto;
    bottom: 0;
}

.price-tab .tg tr .tg-column-title {
    font-size: 14px;
    background-color: #A7A2DC;
    font-weight: 600;
    line-height: 20px;
}
.price-tab .tg tr .tg-column-title.price_table_line span {
    background-color: transparent;
}
.price-tab .tg tr .tg-column-title.price_table_line span::after {
    content: " ";
    width: 100%;
    height: 100%;
    background: #F8F9FD;
    position: absolute;
    top: 0;
    left: 20px;
    z-index: -1;
    border-radius: 16px 0 0 16px;
}
.price_head_color {
    background-color: #A7A2DC;
}

.line_table_color {
    z-index: -1;
}

.price-tab .tg tr .tg-price-count {
    font-size: 16px;
    position: relative;
    height: 42px;
    z-index: 2;
    transition: all 0.3s;
    cursor: pointer;
}


.price-tab .tg tr .tg-price-count span::after {
    content: " ";
    height: 120%;
    width: 100px;
    background: #A7A2DC;
    display: block;
    position: absolute;
    top: -5px;
    border-radius: 16px;
    z-index: -1;
    left: calc(50% - 50px);
    opacity: 0;
    transition: all 0.3s;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: #DFE4F1;
}
.price-tab .tg tr .tg-price-count span::before {
    content: "Order now";
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    position: absolute;
    opacity: 0;
    transition: all 0.3s;
    bottom: 2px;
}



.price-tab .tg tr .tg-price-count:hover span::after, .price-tab .tg tr .tg-price-count:hover span::before {
    opacity: 1;
}

.price-tab .tg tr .tg-price-count:hover {
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: #DFE4F1;

}
.price-tab .tg tr .tg-price-count:hover span {
    padding-bottom: 20px;
}

@media screen and (max-width: 576px) {

    ul.pricing-table-tab-control li,
    .price-tab .tg tr .tg-head {
        font-size: 7px;
    }

    .price-tab .tg tr .tg-column-title {
        font-size: 9px;
    }

    .price-tab .tg tr .tg-price-count {
        font-size: 10px;
    }

    .list_inline li {
        width: 100%;
    }
}

.price-table-calc {
    margin-bottom: 60px;
}
.price-table-calc #myTab li:not(.active) {
    border: solid 1px #DFE4F1;
    cursor: pointer;
    border-radius: 24px;
}
.price-table-calc #myTab li.active {
    border: none;
    border-bottom: none;
    border-radius: 90px;
    color: #fff;
    cursor: default;
    background-color: #A7A2DC;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease
}

ul#myTab {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    padding: 0
}

ul#myTab li {
    text-transform: uppercase;
    display: inline-block;
    list-style-type: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    line-height: 24px;
    color: #64607D;
    font-size: 14px;
    padding: 4px 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.currency_select {
    border: none;
    outline: 0;
}

#myTabContent .tab-pane .table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    text-align: center;
    color: #37474f;
    position: absolute;
    z-index: -1;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    border-radius: 40px;
    border: 8px solid #F8F9FD;
    overflow: hidden;
}
#myTabContent .tab-pane.active .table {
    position: relative;
    z-index: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

#myTabContent {
    margin-top: 30px;
}

.price-tab .tg tr .tg-column-title {
    font-size: 14px;
    background-color: #A7A2DC;
    font-weight: 600;
    line-height: 20px;
}
#myTabContent .table tr .price_td, #myTabContent .tg-price-count {
    font-size: 16px;
    position: relative;
    height: 42px;
    z-index: 2;
    transition: all 0.3s;
    padding: 0;
}
#myTabContent .tg-price-count:hover span {
    padding-bottom: 20px;
}

#myTabContent .tg-price-count:hover {
    font-size: 12px !important;
    line-height: 20px;
    text-align: center;
    color: #DFE4F1;
}

#myTabContent .table tr .tg-column-title {
    font-size: 14px;
    background-color: #A7A2DC;
    font-weight: 600;
    line-height: 20px;
    cursor: context-menu !important;
}
#myTabContent .table tr .tg-column-title span, .page_count_table span{
    cursor: context-menu !important;
}

#myTabContent .table tr .tg-head {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #232340;
    padding: 20px 0;
    cursor: context-menu;
}

.page_count_table::after, .tg-header::after {
    content: " ";
    width: auto;
    height: 1px;
    display: block;
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    background: #DFE4F1;
}
.tg-header::after {
    top: auto;
    bottom: 0;
}
.page_count_table {
    position: relative;
}
#myTabContent .table tr {
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    background-color: #fff;
    position: relative;
}
.page_count_table .tg-price-count1 {
    font-size: 14px !important;
    line-height: 20px;
    color: #757095;
    cursor: context-menu !important;
}

#myTabContent .table tr .tg-column-title.price_table_line span::after, #myTabContent .table .last_price_item::after {
    content: " ";
    width: 100%;
    height: 100%;
    background: #F8F9FD;
    position: absolute;
    top: 0;
    left: 20px;
    z-index: -1;
    border-radius: 16px 0 0 16px;
}

#myTabContent .table .last_price_item::after {
    border-radius: 0 16px 16px 0;
    left: auto;
    right: 20px;
}

#myTabContent .table tr .tg-price-count span::before {
    content: "Order now";
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    position: absolute;
    opacity: 0;
    transition: all 0.3s;
    bottom: 2px;
    cursor: pointer;
}
#myTabContent .table tr .tg-price-count span::after {
    content: " ";
    height: 120%;
    width: 100px;
    background: #A7A2DC;
    display: block;
    position: absolute;
    top: -5px;
    border-radius: 16px;
    z-index: -1;
    left: calc(50% - 50px);
    opacity: 0;
    transition: all 0.3s;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: #DFE4F1;
    cursor: pointer;
}

#myTabContent .table tr .tg-price-count:hover span::after, #myTabContent .table tr .tg-price-count:hover span::before {
    opacity: 1;
}

.price_table_line span {
    background-color: #F8F9FD;
}
#myTabContent span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 42px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}
#myTabContent .table tr .tg-column-title.price_table_line span, #myTabContent .table tr .last_price_item span {
    background-color: transparent;
}
#myTabContent .table tr .tg-price-count:active span::after, .price-tab .tg tr .tg-price-count:focus-visible span::after{
    background: #4F46BA;
}

.price-table-calc-mob {
    display: none;
}

@media screen and (max-width: 1199px) {
    .prices_table_head {
        flex-direction: column-reverse;
        padding: 0;
    }
.prices_table_head .select-box {
    text-align: right;
    margin-bottom: 28px;
}
    ul#myTab {
        justify-content: center;
    }

}

@media screen and (max-width: 991px) {
    ul#myTab li {
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media screen and (max-width: 767px) {
    .price-table-calc {
        display: none;
    }
    .price-table-calc-mob {
        display: block;
    }
}

@media (max-width: 767px) {

    .fade {
        opacity: 0;
        transition: opacity .15s linear;
    }
    .fade.show {
        opacity: 1;
    }
    .tab-content>.tab-pane {
        display: none;
    }
    .tab-content>.active {
        display: block;
    }
    .price-custom-select {
        animation: 2s ease 0s normal forwards 1 fadein;
    }
    .custom-select-form {
        cursor: pointer
    }
    .custom-select-block {
        -webkit-appearance: button;
        -moz-appearance: button;
        -webkit-user-select: none;
        -moz-user-select: none;
        -webkit-padding-end: 20px;
        -moz-padding-end: 20px;
        -webkit-padding-start: 15px;
        -moz-padding-start: 15px;
       box-sizing: border-box;
        border-radius: 5px;
        border: 1px solid #aaa;
        font-family: Gotham Pro !important;
        font-style: normal;
        line-height: normal;
        font-size: 14px;
        color: #333;
        margin: 0;
        overflow: hidden;
        padding-top: 17px;
        padding-bottom: 17px;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 500;
        width: 100%
    }

    #prices-select.custom-select-block {
        color: #fff;
        text-align: center;
        text-align-last: center;
       border-radius: 10px
    }
    .select2-container.select2-container--mobile-main-menu {
        color: #fff;
        border-radius: 10px;
        text-align: center;
        margin-bottom: 30px;

    }

    .select2-container.select2-container--mobile-main-menu .select2-selection--single {
        height: 50px;
        border-radius: 10px
    }
    .select2-container.select2-container--mobile-main-menu .select2-results__option {
        text-align: left;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-user-select: none;
        width: 100%;
        color: #3b3b3b;
        padding: 17px 13px !important
    }

    .select2-container.select2-container--mobile-main-menu .select2-results__option--highlighted {
        background-color: #f5f9fc
    }

    .select2-container.select2-container--mobile-main-menu .select2-selection--single .select2-selection__rendered {
        border: none;
        box-sizing: border-box;
        border-radius: 10px;
        height: 50px;
        line-height: 50px;
        padding-right: 15px;
        padding-left: 15px;
        color: #232340
    }
     .select2-container.select2-container--mobile-main-menu .select2-selection--single .select2-selection__rendered {
        background: url(/wp-content/themes/writemyessaytodaynew/assets/img/select-arrow-d.svg) right 20px center no-repeat;
    }
    .select2-container .select2-selection--single .select2-selection__rendered {
        color: #333;
        background: #fff;
        border: 1px solid #e5e5e5;
        box-sizing: border-box;
        border-radius: 5px;
        height: 50px;
        line-height: 50px;
        padding-right: 15px;
        padding-left: 15px
    }
    .select2-container .select2-dropdown {
        border: 1px solid #DFE4F1;
    }
    .select2-container.select2-container--mobile-main-menu .select2-selection--single .select2-selection__rendered {
        border: 1px solid #DFE4F1;
        box-sizing: border-box;
        border-radius: 10px;
        height: 50px;
        line-height: 50px;
        padding-right: 15px;
        padding-left: 15px;
       color: #232340;
    }
    .d-none {
        display: none !important;
    }

    #price-table-content .label-prices{
        margin-bottom: 0;
    }
    #price-table-content .prices-deadline {
        display: flex;
        justify-content: space-between;
    }
    #price-table-content .prices-deadline .block-select-wrapper {
        width: 48%;
        flex-basis: 48%;
    }
    #price-table-content .price-item-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    #price-table-content .price-item-container .price-item-col .price-item-title{
        font-weight: 700;
        font-size: 22px;
        line-height: 30px;
        color: #232340;
    }

    #price-table-content .price-item-container .price-item-col .price-item-cost{
        font-weight: 500;
        font-size: 20px;
        line-height: 30px;
        color: #4F46BA;
        margin-bottom: 14px;
    }
    #price-table-content .price-item-container .price-item-col .btn_for_post {
        display: flex;
        justify-content: center;
    }
    #price-table-content .price-item-container .price-item-col .under-title {
        color: #64607D;
    }
    #price-table-content .price-item-container .price-item-col .btn_for_post a{
        background: #4F46BA;
        border-radius: 10px;
        font-weight: 600;
        font-size: 14px;
        line-height: 14px;
        text-align: center;
        color: #FFFFFF;
        padding: 15px 80px;
        margin-top: 28px;
    }
    #price-table-content .price-item-container .price-item-col{
        margin-bottom: 40px;
        margin-top: 20px;
        position: relative;
    }
    #price-table-content .price-item-container .price-item-col:after{
        content: " ";
        position: absolute;
        width: calc(100% + 40px);
        height: calc(100% + 40px);
        top: -20px;
        left: -20px;
        background: #DFE4F1;
        border-radius: 30px;
        z-index: -1;
    }
    #price-table-content .price-item-container .price-item-col .price-item {
        padding: 30px;
        background: #FFFFFF;
        border: 1px dashed #A7A2DC;
        border-radius: 30px;
    }

}
