:root {
  --base-aa: antialiased;
  --main-color: #041E42;
  --nav-hover-color: #041E42;
  --nav-blip-hover-color: #041E42;
}

/*
Theme Name: CheerUp Child

Description: A child theme of CheerUp
Author: ThemeSphere

Template: cheerup
Version: 8.1
*/

.main-head.compact .posts-ticker .heading {
  display: inline-block;
  margin-right: 16px;
  padding: 0 6px;
  background: #F4842D;
  color: #000;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  align-self: center;
  -webkit-font-smoothing: antialiased;
}


.main-footer.classic {
    background: #555555;
}

/* - assign nested UL styles -*/

.post-content li > ul {
	padding-left: 30px;
	list-style-type: circle;
}

/* — Fix In-Content Text/Image Ad Spacing and Treatment — */

.in-content-txt_ad {
max-width: 90%;
padding: 10px;
font-weight: bold;
font-style: italic;
}

.the-post .adsanity-random {
	margin: 0 auto 20px;
}


.the-post .adsanity-random.in-content {
background: #eee;
border: 1px solid #000;
}


/* — /Adsanity header ad bottom space— */
@media only screen and (max-width: 760px)  {
.adsanity-728x90{
height: auto !important;
}
.post-content aside.adsanity-random{
margin-bottom: 20px;
}
}



/* — /Fix In-Content Text/Image Ad Spacing and Treatment — */

/* ---- Formstack Newsletter Widget Styles ---- */

.carousel-slider .category {
    display: none;
}


/* ---- Public Web (PW) Copyright Styles ---- */

.pw_copyright {
padding: 20px 40px;
color: #ffffff;
background: #555555;
font-size: 12px;
}

.pw_copyright p {
line-height: 1.4em;
}

.pw_copyright p a:link, .pw_copyright p a:visited  {
color: #d5f1e3;
}

.pw_copyright ul {
margin: 0 0 40px 0;
}

.pw_copyright ul li {
display: inline-block;
margin: 0 35px 0 0;
text-transform: uppercase;
vertical-align: top;
text-align: center;
letter-spacing: .2em;
font-size: .9em;
}

.pw_copyright ul li a span {
opacity: .5;
}




/* ---- Public Web (PW) Header Styles ---- */

.pw_buttons {
  width: 50vw;
  display: inline-block;
  margin: 5px 0;
}

.pw_buttons ul li {
  display: inline;
}

.pw_buttons ul li a {
  /*display: inline-block;*/
  color: #fff;
  padding: .5em 1.25em;
  margin: 3px;
  text-transform: uppercase;
  background-color: #00ffff;
  color: #000;
  font-size: .75em;
}

.pw_buttons ul li a:hover {
  background-color: #f90;
}

/* correct height and social icon alignment */
.top-bar-content {
  height: auto;
}

.top-bar-b .social-icons {
  margin: 5px 0 0 0;
}


/* fix elements to top of page */

.top-bar.dark {
position: fixed;
width: 100%;
z-index: 10;
}

.main-head.compact .inner {
position: fixed;
overflow: visible;
background: #fff;
margin: 47px 0 0 0;
z-index: 9;
}

.widget-a-wrap {
/*position: absolute;*/
margin: 136px 0 0 0;
width: 100%;
z-index: 8;
}
.archive-head.ts-contain{
  display: none
}

.breadcrumbs {
  margin: 270px 0 0 0;
}

.main {
  margin: 15px auto 80px;
}

.archive .main, .search .main {
  margin: 15px auto 0;
}
.main-footer li .textwidget img.alignnone{
  width: auto !important;
}
@media only screen and (max-width: 1366px) and (min-width: 1024px){
  .navigation.inline .menu > li > a{
    padding: 0px 6px;
    font-size: 12px;
  } 
}
@media only screen and (max-width: 1023px) and (min-width: 941px){
  .navigation.inline .menu > li > a{
    padding: 0px 6px;
    font-size: 10px;
  } 
}
@media only screen and (max-width: 600px)  {
    .main-head.compact .inner > .wrap{
    width: 100% !important;
  }
}



/* nav height fixes */

.main-head .inner {
  max-height: var(--head-inner-height, initial);
  line-height: 1;
 }
 .top-bar-content {
    height: 47px;
 }
 .navigation .menu > li > a {
    padding: var(--nav-items-space);
  }
 .mobile-nav {
    margin-top: 4px;
    font-size: 30px;
 }

 /* public web style nav */

  .pw_buttons {
       width: auto !important;
       margin: 5px 10px 0 0;
  }
 .pw_text {
       display: inline-block;
       margin: 0 10px 0 0;
       width: auto;
 }
 .pw_text ul {
       display: flex;
       flex-flow: row nowrap;
 }
 .pw_text ul li {
       padding: 0 20px;
       position: relative;
 }
 .pw_text ul li + li::after {
   content: "";
   background-color: rgba(79,87,162,1);
   width: 1px;
   height: 70%;
   position: absolute;
   left: 0;
   top: 0;
   bottom: 0;
   margin: auto;
 }
 .pw_text ul li a {
       color: #fff;
       text-decoration: none;
       font-size: .75em;
 }
 .custom_search {
    position: relative;
    display: inline-block;
 }
 .nav-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
 }
 .nav-search-input {
       font-size: .75em;
       width: 200px;
       color: #555;
 }
 .nav-search-input:focus {
       color: #000;
 }
 .nav-search-button {
       position: absolute;
       right: -10px;
       top: 0;
       background: none;
       color: #e35205;
 }

/* switch to mobile menu */
 @media (max-width: 940px) {
       .pw_text, .custom_search {
            display: none;
       }
 }

/* off canvas additions  */
/* switch to mobile menu */
@media (max-width: 940px) {
     .mobile-menu .custom_search {
          display: block;
     }
     .mobile-menu .nav-search-input {
      font-size: 1rem;
      width: 100%;
     }
     .mobile-menu.active ul.mobile-menu-contacts {
          display: flex;
          justify-content: center;
          align-items: center;
          max-height: none;
          opacity: 1;
          border: none;
     }
     .mobile-menu .mobile-menu-contacts li {
          flex: 1 auto;
          padding: 0;
          display: flex;
          justify-content: 1 auto;
     }
     .mobile-menu .mobile-menu-contacts li a {
          border: none;
          padding: 14px;
          flex: 1 auto;
     }
}

.top-bar-content .wrap {
  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;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.search-social-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.search-social-wrap .custom_search {
  margin-right: 10px;
  padding-right: 20px;
}


.search-social-wrap .custom_search::after {
  content: "";
  background-color: rgba(79,87,162,1);
  width: 1px;
  height: 80%;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.custom_search .nav-search {
  position: relative;
}

@media (max-width: 940px) {
  .top-bar-b .actions {
    margin-right: 10px;
    margin-top: 4px;
  }

  .top-bar-content .wrap {
    width: 100% !important;
  }
}
.menu-primary-apu-container ul#menu-primary-apu li.nav-icons{
  display: none;
}



.menu-primary-apu-container ul#menu-primary-apu li.podcast-manu > a {
  position: relative;
  padding-right: 40px;
}
.menu-primary-apu-container ul#menu-primary-apu li.podcast-manu > a::before {
  content: "";
  background-image: url(logos/microphone.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: 0 0;
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  width: 10px;
  height: 15px;
  z-index: 1;
}
.menu-primary-apu-container ul#menu-primary-apu li.podcast-manu > a::after {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.menu-primary-apu-container ul#menu-primary-apu > li:nth-last-child(2) > ul.sub-menu {
  right: 0;
}
@media (min-width: 941px) and (max-width: 1099px) {
  .main-head.compact .title {
    min-width: auto;
    padding-right: 20px;
    max-width: 170px;
  }
}
@media (min-width: 1366px) and (max-width: 1415px) {
  .navigation .menu > li > a {
    padding: 15px 10px;
  }
}
@media (min-width: 941px) and (max-width: 1110px) {
  .main-head.compact .title {
    min-width: auto;
    padding-right: 20px;
    max-width: 170px;
  }
}
.d-none{
  display: none;
}

@media only screen and (max-width: 600px) {
  .xs-none{
    display: none;
  }
  .xs-block{
    display: block;
  }
}

a.short-hand{
  text-transform: uppercase;
}

/**************************
 * Redesign APU
***************************/
.apu .top-bar.dark {
  --topbar-dark-bg: #000000;
}
.apu .pw_buttons ul li a{
  background-color: #00ffff;
}
.apu .main-head .search-submit, 
.apu .main-head .search-link .tsi{
  color: #00ffff !important;
}
.apu .navigation .menu > li:hover > a,
.apu .navigation .menu > .current-menu-item > a, 
.apu .navigation .has-parent-state .current-menu-parent > a, 
.apu .navigation .has-parent-state .current-menu-ancestor > a,
.apu .navigation .menu li li:hover > a, 
.apu .navigation .menu li li.current-menu-item > a,
.navigation li:hover > a:after{
  color: #00ffff;
}
.apu .post-meta-c .post-author > a,
.apu .post-meta .post-cat > a, 
.apu .textwidget a,
.apu .agree-txt a,
.apu .post-content a{
 color: #000;
}
.apu .post-meta-c .post-author > a:hover,
.apu .post-meta .post-cat > a:hover, 
.apu .textwidget a:hover,
.apu .agree-txt a:hover,
.apu .post-content a:hover{
  text-decoration: underline;
  text-decoration-color: #00ffff;
}

.apu .nav-search-button{
    padding: 8.5px 8px;
    top: 5px;
    right: 0px;
    height: 11px;
}
.apu .carousel-slider .category,
.apu .cat-label a, 
.apu .post-meta .cat-labels .category,
.apu .post-thumb:hover .cat-label a{
  color:#000;
  background-color: #00ffff;
}
.apu .main-footer .upper-footer{
  background-color:#000000;
}
.apu input[type=submit], .apu button, .apu input[type=button], .apu .button{
  color:#000;
  background: #00ffff;
}
.apu .sidebar .widget-title{
  background-color: #ffff00;
  color: #000;
}
.apu .main-pagination.number .current{
  color: #00ffff; 
}