/*Theme Switch design*/
.theme-switch-overlay.overlay {
    position: fixed;
    background: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}
body.overlay {
    overflow: hidden;
}
.theme-change {
    display: flex;
    margin: 0 0 0 6px !important;
    z-index: 111 !important;
    position: relative;
    width: 25px;
}
.theme-change .standard-flex-wrp {
    background-color: #fff;
    padding: 20px;
    transition: 1s;
    display: none;
    position: absolute;
    width: 700px;
    top: 49px;
    z-index: 111;
}
.standard-flex .in-active {
    box-shadow: 0 0 10px #dadada;
}
.standard-flex .active {
    box-shadow: 0 0 10px #62c65b;
}
.standard-flex .in-active .active-inactive, .standard-flex .active .active-inactive  {
    float: right;
    display: block !important;
    font-size: 0 !important;
    z-index: 111 !important;
    padding: 8px 21px !important;
    cursor: pointer;
}
.standard-flex .in-active .active-inactive {
    background: url(../asset/inactive.png) no-repeat right;
    background-size: 37px;
}
.standard-flex .active .active-inactive {
    background: url(../asset/active.png) no-repeat right;
    background-size: 37px;
}
@media (max-width: 991px) {
    .theme-change .standard-flex-wrp {
        width: 97%;
        position: fixed;
        left: 0;
        margin: 5px;
    }
}
.theme-change .standard-flex-wrp h3 {
    text-align: center;
    display: block;
    width: 100%;
    margin: 0 0 20px;
}
.theme-change .standard-flex-wrp .standard-flex {
    display: flex;
    flex-wrap: wrap;
}
.theme-change .standard-flex-wrp .standard,
.theme-change .standard-flex-wrp .flex {
    width: 47%;
    margin: auto;
}
@media (max-width: 767px) {
    .theme-change .standard-flex-wrp .standard,
    .theme-change .standard-flex-wrp .flex {
        width: 100%;
        margin: 0 auto 20px !important;
    }
}
.theme-change .standard-flex-wrp .standard .ttl a,
.theme-change .standard-flex-wrp .flex .ttl a {
    padding: 8px;
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    pointer-events: none;
}
.theme-change .standard-flex-wrp .standard .image img, .theme-change .standard-flex-wrp .flex .image img {
    border-bottom: 1px solid #d0d0d0;
}

/*Form Action button*/
.standard-flex .action {
    text-align: center;
    display: block;
    width: 100%;
    margin: 30px 0 0;
}
@media screen and (max-width: 991px) {
    .standard-flex .action {
     margin: 10px 0 0;
    }
}
.standard-flex .action a {
    background: #4ea449;
    color: #fff;
    padding: 6px 15px;
    border-radius: 5px;
}
.standard-flex .radio {
    cursor: pointer;
}
.standard-flex .action a {
    display: none;
}
.standard-flex .flex.active + .action a.flex-link {
    display: inline-block;
}
.standard-flex .standard.active + .flex + .action a.standard-link {
    display: inline-block;
}
.standard-flex-wrp div.close {
    right: 30px;
    top: 22px;
    opacity: 1;
    color: #444;
    font-weight: 500;
    background: none;
}
.standard-flex .action {
    display: none;
}
.flex-current .action p, .flex-current .standard-flex .flex.active + .action a.flex-link,
.standard-current .action p,
.standard-current .standard-flex .standard.active + .flex + .action a.standard-link {
    display: none;
}

.flex-current .standard-flex .flex.active + .action p.flex-desc,
.standard-current .standard-flex .standard.active + .flex + .action p.standard-desc {
    display: block;
}
.standard-flex .action p {
    background-color: #e1faea;
    color: #407f56;
    font-weight: bold;
    padding: 4px;
    width: 50%;
    margin: auto;
    border: 1px solid #9fdeb5;
    border-radius: 5px;
    font-family: Arial,Helvetica,sans-serif;
}
@media screen and (max-width: 991px) {
    .standard-flex .action p {
        margin-top: 20px;
    }
}
@media screen and (max-width: 767px) {
    .standard-flex .action p {
        margin-top: 0;
        width: 100%;
    }
    .theme-change .standard-flex-wrp h3 {
        font-size: 17px;
        padding-right: 20px;
    }
    .standard-flex-wrp div.close {
        top: 18px;
        right: 20px;
    }
    .popup-confirmation .modal-header {
        padding-right: 15px;
    }
    .popup-confirmation .modal-header h4 {
        font-size: 17px;
    }
}

.popup-confirmation .modal-footer {
    display: none !important;
}
.popup-confirmation .modal-content .form-actions button {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 10px !important;
    display: inline-block !important;
    font-weight: bold;
    margin-left: 20px;
    margin-right: 0;
}
.popup-confirmation .modal-content .form-actions {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    text-align: right;
    border-top: 1px solid #e5e5e5;
    padding: 15px;
    flex-direction: row-reverse;
    display: flex;
    align-items: center;
}
.popup-confirmation .modal-content .form-actions a {
    font-weight: bold;
}
.popup-confirmation .modal-content .confirmation {
    padding-bottom: 75px;
}
/*Ap news tag css*/
.apnews.tag {
  background-color: rgba(0, 0, 0, 0.08);
  color: #111;
  text-transform: uppercase;
  line-height: 3em;
  display: inline;
  padding: .2em 0.8em .3em 0.6em;
  font-size: 75%;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0 10px 10px 0; }

.apnews.tag + h2 {
    margin-top: 10px;
}

/*Popup confirmation*/
.popup-confirmation .modal-content {
    font-family: "Quicksand",sans-serif;
    font-weight: 500;
    border: none !important;
    border-radius: 0;
    position: relative;
}
.popup-confirmation .modal-content .confirmation {
    background: url(/modules/custom/custom_theme_switch/asset/popup_icon.png) no-repeat;
    padding-left: 105px;
    background-size: 90px;
}
@media screen and (max-width: 567px) {
    .popup-confirmation .modal-content .confirmation {
        padding-left: 60px;
        background-size: 50px;
    }
}
.popup-confirmation  .modal-header {
    font-size: 21px;
    text-align: center;
}
.popup-confirmation .modal-footer .modal-buttons button {
    margin-left: 5px;
    font-weight: bold !important;
}
.standard-flex span.ajax-throbber {
    margin-left: 8px;
    margin-right: 0;
}
p.loading {
    text-align: left;
    width: 100%;
    padding: 0;
    background: url(/modules/custom/custom_theme_switch/asset/loader.gif) no-repeat left center;
    padding-left: 19px;
    background-size: 14px;
    display: block;
}
/* Admin toolbar hide issue under menu name tools */
@media screen and (min-width: 1150px) and (max-width: 1350px) {
     .toolbar-menu-administration ul li:last-child ul li ul {
        position: absolute;
        right: 100%;
    }
    .toolbar-menu-administration ul li:last-child ul {
        width: 120px !important;
    }
}
