/*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: 2px 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;
    /*@media (max-width: 671px) {
        width: 400px;
    }
    @media (max-width: 567px) {
        width: 300px;
    }*/
}
.standard-flex .in-active {
    box-shadow: 0 0 10px #dadada;
}
.standard-flex .active {
    box-shadow: 0 0 10px #62c65b;
    pointer-events: none;
}
.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 9px;
}
@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;
}
.theme-change .standard-flex-wrp .standard .image img, .theme-change .standard-flex-wrp .flex .image img {
    border-bottom: 1px solid #d0d0d0;
}

/*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;
}
