/* Template List Table*/
.post-type-academyea-template #academyea-template-tabs-wrapper{
    margin-bottom: 20px;
    padding-top: 20px;
}

.academyea-menu-area{
    float: left;
}

/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1198px) {
    div#academyea-template-tabs-wrapper {
        display: flex;
        flex-flow: row wrap;
    }
    .academyea-menu-area {
        float: left;
        order: 2;
    }
}

/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
    .academyea-menu-area {
        float: left;
        order: 2;
    }
}

/* small mobile :320px. */
@media (max-width: 767px) {
    .academyea-menu-area {
        float: left;
        order: 2;
    }
}

/**
*  Template status switcher
*/
.post-type-academyea-template .column-setdefault{
    vertical-align: middle;
}
.academyea-default-tmp-status-switch span span {
    display: none;
} 
.academyea-default-tmp-status-switch {
    display: inline-block;
    height: 18px;
    position: relative;
    overflow: visible;
    padding: 0;
    cursor: pointer;
    width: 40px
}
.academyea-default-tmp-status-switch * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.academyea-default-tmp-status-switch label,
.academyea-default-tmp-status-switch > span {
    line-height: 20px;
    height: 20px;
    vertical-align: middle;
}
.academyea-default-tmp-status-switch input:focus ~ a,
.academyea-default-tmp-status-switch input:focus + label {
    outline: none;
}
.academyea-default-tmp-status-switch label {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
}
.academyea-default-tmp-status-switch input {
    position: absolute;
    opacity: 0;
    z-index: 5;
}
.academyea-default-tmp-status-switch > span {
    position: absolute;
    left: -50px;
    width: 100%;
    margin: 0;
    padding-right: 50px;
    text-align: left;
    white-space: nowrap;
}
.academyea-default-tmp-status-switch > span span {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: block;
    width: 50%;
    margin-left: 50px;
    text-align: left;
    font-size: 0.9em;
    width: 100%;
    left: 15%;
    top: -1px;
    opacity: 0;
}
.academyea-default-tmp-status-switch a {
    position: absolute;
    right: 50%;
    z-index: 4;
    display: block;
    height: 100%;
    padding: 0;
    left: 2px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #CCC;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.academyea-default-tmp-status-switch > span span:first-of-type {
    color: #ccc;
    opacity: 1;
    left: 45%;
}
.academyea-default-tmp-status-switch > span:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50px;
    top: -2px;
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 30px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.academyea-default-tmp-status-switch input:checked ~ a {
    border-color: #fff;
    left: 100%;
    margin-left: -8px;
}
.academyea-default-tmp-status-switch input:checked ~ span:before {
    border-color: #0097D1;
    box-shadow: inset 0 0 0 30px #0097D1;
}
.academyea-default-tmp-status-switch input:checked ~ span span:first-of-type {
    opacity: 0;
}
.academyea-default-tmp-status-switch input:checked ~ span span:last-of-type {
    opacity: 1;
    color: #fff;
}

.academyea-default-tmp-status-switch.academyea-loading a:after {
    content: "";
    border: 2px solid transparent;
    border-radius: 100%;
    width: 80%;
    height: 80%;
    left: 0;
    position: absolute;
    top: 0;
    border-left-color:#ccc;
    animation: statusload 1800ms ease-in-out 5 forwards;
}
@keyframes statusload {
    to {
      transform: rotate(1turn);
    }
}
/*  End Toggle Switch  */

/* Popup Style */
body.post-type-academyea-template.open-editor{
    overflow-y: hidden;
}
.academyea-body-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
}
.open-editor .academyea-body-overlay{
    opacity: 1;
    visibility: visible;
}

.academyea-template-edit-popup-area {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    visibility: hidden;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.8);
}
.open-editor .academyea-template-edit-popup-area {
    visibility: visible;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
.academyea-template-edit-popup{
    position: relative;
    z-index: 9;
    width: 100%;
    max-width: 550px;
    border-radius: 5px;
    background-color: #FFFFFF;
    padding: 25px;
}

.academyea-template-edit-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 18px 50px;
    border-bottom: 1px solid #dfe7f1;
}
@media only screen and (max-width: 767px) {
    .academyea-template-edit-header {
      padding: 18px 30px;
    }
}

.academyea-template-edit-setting-title {
    margin: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 23px;
    color: #556068;
    line-height: 1.5;
    font-weight: 500;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}
.academyea-template-edit-setting-image {
    height: 40px;
    width: 40px;
    line-height: 40px;
    background-color: #eaf3ff;
    text-align: center;
    border-radius: 100%;
    margin-right: 10px;
    color: #2d84fb;
}
.academyea-template-edit-cross {
    cursor: pointer;
    color: #999999;
    transition: 0.4s;
    font-size: 20px;
}

.academyea-template-edit-cross:hover{
    color: rgb(255, 0, 0);
}

.academyea-help-tip {
    color: #666;
    display: inline-block;
    height: 16px;
    line-height: 16px;
    position: relative;
    width: 16px;
    font-size: 20px;
    top: 1px;
}
.academyea-help-tip::after {
    font-family: Dashicons;
    font-weight: 400;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    text-indent: 0px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    content: "";
    cursor: help;
    font-variant: normal;
    margin: 0px;
}
span.academyea-help-text {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: -53px;
    line-height: 14px;
    background: #7B68EE;
    color: #fff;
    padding: 5px 5px;
    font-size: 11px;
    font-weight: 400;
    text-align: center;
    border-radius: 3px;
    left: 50%;
    transition: 0.4s;
    width: 200px;
    margin-left: -100px;
}
.academyea-help-tip:hover span.academyea-help-text{
    opacity: 1;
    visibility: visible;
}
  
.academyea-template-edit-body {
    padding: 15px 50px;
}
@media only screen and (max-width: 767px) {
    .academyea-template-edit-body {
      padding: 15px 30px;
    }
}
.academyea-template-edit-field {
    margin-bottom: 20px;
}
.academyea-template-edit-label {
    font-size: 20px;
    display: block;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 400;
}
.academyea-template-edit-input {
    border: 1px solid #d3dbe7 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 20px !important;
    border-radius: 5px !important;
    background-color: #f8fbff !important;
    font-size: 15px !important;
    color: #656565 !important;
    min-height: inherit !important;
    line-height: inherit !important;
}
.academyea-template-edit-input:focus {
    border: 1px solid #d3dbe7 !important;
    outline: none !important;
}
.academyea-template-edit-input::-webkit-input-placeholder {
    color: #656565 !important;
}
.academyea-template-edit-input::-moz-placeholder {
    color: #656565 !important;
}
.academyea-template-edit-input:-ms-input-placeholder {
    color: #656565 !important;
}
.academyea-template-edit-input::-ms-input-placeholder {
    color: #656565 !important;
}
.academyea-template-edit-input::placeholder {
    color: #656565 !important;
}
  
.academyea-template-edit-set-default-field {
    font-size: 16px;
    font-weight: 500;
}
.academyea-template-edit-bottom-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
.academyea-template-edit-set-checkbox .academyea-template-edit-set-checkbox-input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}
.academyea-template-edit-set-checkbox .academyea-template-edit-set-checkbox-input:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 5px;
    width: 3px;
    height: 6px;
    border: solid #2a91f8;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}
.academyea-template-edit-set-checkbox .academyea-template-edit-set-checkbox-lable {
    position: relative;
    cursor: pointer;
}
.academyea-template-edit-set-checkbox .academyea-template-edit-set-checkbox-lable:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #d3dbe7;
    padding: 6px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 8px;
    border-radius: 3px;
    top: -2px;
}
.academyea-template-edit-set-design {
    cursor: pointer;
}
.academyea-template-edit-eye-icon {
    border: 1px solid #d3dbe7;
    border-radius: 3px;
    height: 16px;
    width: 18px;
    line-height: 16px;
    display: inline-block;
    text-align: center;
    margin-left: 6px;
    font-size: 14px;
    color: #2d84fb;
}
.academyea-template-edit-set-design.active .academyea-template-edit-eye-icon {
    background-color: #2d84fb;
    border: 1px solid #2d84fb;
    color: #FFFFFF;
}
.academyea-template-edit-footer {
    padding: 15px 50px;
}
@media only screen and (max-width: 767px) {
    .academyea-template-edit-footer {
      padding: 15px 30px;
    }
}
.academyea-template-button-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-left: -5px;
    margin-right: -5px;
}
.academyea-template-button-item {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -webkit-flex-basis: 0;
        -ms-flex-preferred-size: 0;
            flex-basis: 0;
    margin: 0 5px;
    margin-bottom: 20px;
}
.academyea-template-button-item button {
    height: 48px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    text-align: center;
    display: block;
    width: 100%;
    cursor: pointer;
    color: #fff;
    border-radius: 8px !important;
    border: none !important;
    transition: 0.4s;
} 
.academyea-template-button-item button.academyea-tmp-elementor {
    padding: 10px 15px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #FFFFFF;
    background-color: #7B68EE;
    border-color: #7B68EE;
}
.academyea-template-button-item button.academyea-tmp-elementor:hover{
    background-color: #19934e;
}
.academyea-template-button-item button.academyea-tmp-gutenberg {
    background-color: #2d84fb;
}
.academyea-template-button-item button.academyea-tmp-gutenberg:hover {
    background-color: #146ce5;
}
.academyea-template-button-item button.academyea-tmp-save {
    background-color: #25b865 !important;
    padding: 10px 15px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #FFFFFF;
    border-color: #25b865;
}
.academyea-template-button-item button.academyea-tmp-save:not(.disabled):hover{
    background-color: #19934e !important;
}

/* Loader */
.academyea-template-loading{
    position: relative;
}
.academyea-template-loading::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 95%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.01);
}
.academyea-template-loading::before {
    position: absolute;
    content: "";
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: academyealoaderspin 2s linear infinite;
    top: 50%;
    margin: 0 auto;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}
@keyframes academyealoaderspin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}