/*==========  THEME OVERRIDEs  ==========*/

.box {
  box-shadow: none;
}

body {
  background: #fafafa;
  padding-bottom: 60px;
  padding-top: 40px;
}

.copyright {
  width: 100%;
  text-align: center;
  padding-top: 0.3em;
}

.hamburger {
  display: none;
  z-index: 9999!important;
  top: 8px!important;
}

.mainNav {
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  margin: 0;
  width: 100%;
  background: white;  
  height: 40px;
  padding-top: 0.7em;
  border-bottom: 1px solid #000;
}

.mainNav ul {
  top: auto!important;
  height: auto!important;
  text-align: center!important;  
  width: auto;
  border-top: none;
  border-bottom: none;
  display: inline-block;
}

.pseudohover li {
  display: block!important;
}

#desktop-menu ul li ul {
  right: 0!important;
  left: 0!important;
  background: white;
  width: 220px!important;
  text-align: left!important;
  padding-bottom: 1em;
  top: 88%!important;
  padding-top: 15px!important;
}

#desktop-menu ul li ul li {
  padding: 0 1em;
  line-height: 1.4;
}

#desktop-menu ul li a {
  padding: 5px 10px 5px 10px;
}

#desktop-menu > ul > li > a {
  padding: 10px 18px 14px 18px;
  font-size: 13px!important;
  letter-spacing: 0.1em;  
}

.mainNav ul li ul.topicssub {
  width: 220px!important;
}


.mainNav ul li ul a {
  font-size: 12px!important;
  padding: 1em;
}

.mainNav ul li a {
  font-family: 'ProximaNova', helvetica, arial, sans-serif!important;
  font-size: 14px!important;
}
@media screen and min-width(1200px) {
  img.logo {
    margin-top: 35px;
    margin-bottom: 25px;
  }
  
}

#mobile-menu {
  display: none;
}

.mainNav {
  text-align: center;
}
.mainNav .newsletter {
  position: absolute;
  left: 0;
  display: inline-block;
  background: #faded9;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: absolute;
  left: 0;
  display: block;
  background: #faded9;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 51px;
  height: 51px;
  top: 0;
  padding: 0 20px;
  font-size: 14px!important;  
}

.mainNav .social-header {
  display: none;
  display: block;
  position: absolute;
  right: 15px;
  top: 0;  
  height: 51px;
  line-height: 51px;  
  font-size: 14px;
}

.toggle-mobile-search {
  display: none;
  position: absolute;
  right: 26px;
  top: 20px;
  font-size: 23px;
  color: black;
  display: block;  
}

.mainNav > ul > li > a.active {
  background: none;
  position: relative;
}

.mainNav > ul > li > a.active:hover {
  color: white!important;
}
.mainNav > ul > li > a.active.pseudohover:hover {
  color: white!important;
}

.mainNav >  ul > li > a.active:hover {
  color: white!important;
}

.mainNav >  ul > li > a.active:hover:before {
  background: #971b5b;
}
#desktop-menu > ul > li > a.active.pseudohover:hover: {
  color: white!important;
}
.mainNav > ul > li > a.active:before {
  content: "";
  background: #ea298b;
  display: block;
  position: absolute;
  width: 100%;
  height: 52px;
  z-index: -1;
  left: 0;
  top: -12px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

#sb_instagram a {
  width: auto;
  float: none!important;
  margin: 0;
}
.toggle-mobile-search span {
  color: black;
}

.mainNav .social-header a {
  display: inline-block;
  padding: 0 0.5em;
  font-size: 17px;
}
.mainNav .social-header a:hover span {
  color: #ec2d8b!important;
}

#desktop-menu > ul > li:hover > a.active  {
  color: white!important;
}

.mainNav .social-header span {
  color: black;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;  
}

.mainNav ul li a {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;

}

.mainNav ul li a.pseudohover,
.mainNav ul li a:hover {
  background: none!important;
  color: #ec2d8b!important;
}

#searchform-mobile {
  display: none;
}

/*==========  <DESKTOP  ==========*/
@media screen and ( max-width: 1199px ) {

  #wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  #searchform-mobile {
    display: block;
    max-width: 80%;
    margin: 0 auto;    
  }
  #searchform-mobile input {
    border-radius: 0!important;
    font-family: 'DidotLTStd', Times New Roman, Times, serif;
    text-transform: uppercase;
    padding: 18px 16px 14px;
  }

  .mm-search {
    height: 66px;
  }

  .mm-menu .mm-search input {
    background: white!important;
    height: 30px;
    line-height: 32px;

  }

  #mobile-menu .mm-navbars-bottom a {
    font-size: 17px!important;
  }

  .mm-search .mm-btn.mm-next:after { 
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;    
    content: "\f002";
    color: #ccc;
    border: none;
    transform: none;
    width: auto;
    height: 14px;
    vertical-align: middle;
    color: #818181!important;    

  }

  .mm-opened .mm-navbar {
    height: 46px!important;
  }

  .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    height: 3px!important;
  }

  .mm-navbar span {
    color: black;
  }

  .mm-hasnavbar-top-1 .mm-panels {
    top: 68px!important;
  }

  .mm-prev {
    top: 5px!important;
  }

  * {
    box-sizing: border-box;
    word-wrap: break-word;
  }

  body {
    position: relative;
    padding-bottom: 0;
  }

  .toggle-mobile-search {
    display: block;
  }

  /*==========  HEADER  ==========*/   
  .site-header {
    position: fixed;
    left: 0;
    top: 0;
    background: white;
    z-index: 99999;
    height: 65px;
    border-bottom: 1px solid black;
    text-align: center;
    width: 100%;
  }

  .mainNav ul li a.active {
    background: #e8e8e8!important;
    color: black!important;    
  }

  .mm-navbar .mm-title {
    position: relative;
    left: 5px;
    top: -4px;
  }

  /*==========  NAVIGATION  ==========*/   
  .mm-menu {
    background: white!important;
    height: calc( 100% - 65px )!important;
  }

  .mm-panels>.mm-panel>.mm-listview {
    margin: 20px auto!important;
  }

  .mm-listview .mm-next {
    right: 0!important;
    top: 0!important;
    bottom: 0!important;
    z-index: 2!important;
  }
  
  .mm-next:after {
    right: 8px!important;
  }

  .mm-navbars-top>.mm-navbar {
    background: #faded9;
    height: 64px!important;
  }

  .hamburger {
    display: block!important;
    width: 66px;
    height: 47px;
    border: 2px solid black;
    position: fixed;
    left: 0;
    top: 0;
  }

  .hamburger:hover {
    opacity: 1!important;
  }

  .hamburger:focus,
  .hamburger:active {
    outline: none;
  }

  .mainNav ul li a {
    font-size: 14px!important;
    height: 38px!important;
    text-align: left;
    padding-left: 0!important;    
  }
  .mainNav ul {
    border: none!important;
    top: auto!important;
  }
  .mainNav ul {
    width: 100%!important;
    height: auto!important;
  }
  
  .mainNav ul li {
    display: block!important;
  }
  
  .mm-navbar {
    /* border-bottom: 1px solid!important;
    border-color: inherit!important;
    text-align: center!important;
    line-height: 39px!important;
    height: 62px!important;
    padding: 0 40px!important;
    margin: 0!important;
    position: absolute!important;
    top: 0!important;
    left: 0!important;
    right: 0!important;
    text-transform: uppercase!important;
    letter-spacing: 0.1em!important;     */
  }

  .mm-navbar>* {
    padding: 20px 0!important;
  }
  

  .pseudohover {
    display: block!important;
  }
  
  .homeBanner img {
    display: block;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 2em;
    margin-bottom: 0;    
  }

  .mm-listview>li, .mm-listview>li .mm-next, .mm-listview>li .mm-next:before, .mm-listview>li:after,
  .mm-listview>li:not(.mm-divider):after {
    border-color: #c6c6c6!important;
  }  
  .mm-menu .mm-listview>li .mm-next:after {
    border-color: #c6c6c6!important;
  }
  .mm-listview>li, .mm-listview>li .mm-next, .mm-listview>li .mm-next:before, .mm-listview>li:after {
    border: none;
  }
  .mm-listview>li:not(.mm-divider):after {
    left: 0!important;
  }
  .mm-menu .mm-listview.mm-border-offset>li:after, .mm-menu .mm-listview>li.mm-border-offset:after, .mm-menu.mm-border-offset .mm-listview>li:after {
    right: 0!important;
  }

  .mm-btn {
    top: 15px!important;
  }
  
  .mm-prev {
    top: 5px!important;
  }

  .mm-navbars-bottom>.mm-navbar {
    display: flex!important;
    height: 56px!important;
  }

  .mm-menu .mm-btn:after, .mm-menu .mm-btn:before {
    color: black!important;
  }
  .mm-menu .mm-navbar a, .mm-menu .mm-navbar>* {
    color: black!important;
    text-transform: uppercase!important;
    font-size: 14px!important;
    letter-spacing: 0.1em!important;    
  }
  .mm-panels>.mm-panel>.mm-listview {
    /* margin: 0 -20px!important; */
    width: 100%!important;
  }

  /*==========  HOMEPAGE  ==========*/
    #wrapper {
      padding: 0 15px;
    }
    
    .hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
      width: 30px!important;
    }

    .contentInner, .ymalInner, .view1, .view2, .commentsBoxInner, .postInner, .seccontentInner, .recentInner, #wrapper, .homeBanner, footer .line, .logobox {
      width: 100%;
    }


    .homeBanner {
      margin-bottom: 0;
      margin-top: 4em;      
    }

    .sidebox .thumbnail {
      display: flex;
      align-items: center;
    }
    
    .logobox  {
      margin-top: 0;
      padding: 12px 2em 5px 6px;
      display: inline-block;
      width: 80%;
    }
  
    img.logo {
      width: auto;
      max-width: 155px;
      padding: 0;
      margin: 0 auto;
    }

    #mobile-menu {
      display: block;
    }

    /*==========  TEMP  ==========*/
    .mainNav {
      display: none;
    }
    
    .previewImg,
    .previewImg img {
      display: block;
      width: auto;
      max-width: 100%;
    }

    .box {
      width: 100%;
      padding: 0!important;
    }
    
    .main,
    #sidebar {
      width: 100%;
      padding: 20px;
    }
    
    p.pprev {
      height: auto;
    }
    
    .preview .authorthumb {
      float: none;
      width: 100%;
      height: auto;
      display: block;
      display: none;
    }

    .more {
      display: block;
      margin: 1.5em 0 1.5em;
    }
    
    .preview span.more a {
      margin: 1em 0;
    }

    footer {
      width: 100%;
      height: auto;
      margin-top: 0;
    }

    .newsfooter {
      height: auto;     
    }
    
    .wpapi_pagination, .wpapi_ymal_pagination, .commentPage, .guest_pagination, .contrib_pagination, .wpapi_secondary_pagination, .wpapi_preview_pagination,
    .newPag, .newPag2, .newPag3, .newPag4, .newPag5, .newPag6, .newPag7 {
      width: auto;
      height: auto;
    }
    
    .newsfooter .mc-form input.email,
    .sidebox.search input#s {
      width: 100%;
      height: 40px;      
    }
    
    .sidebox.search input#s {
      font-size: 14px;
    }
    
    .newsfooter .mc-form .inwrap,
    .sidebox.quomatic .inner,
    .sidebox,
    .sidebox.search {
      width: 100%;
    }

    .sidebox {
      margin-bottom: 2em; 
    }

    .sidebox.instagram .instainfo span.ilink {
      font-size: 12px;
    }

    .newsfooter .newstext {
      float: none;
      width: 100%;
    }
    

    .newsfooter .mc-form {
      width: 90%;
      float: none;
      margin: 0.6em auto;           
    }

    .newsfooter {
      position: static;
      margin: 1em auto 2em;
    }
    
    ul.footNavTop li a, ul.footNavBot li a {
      font-size: 12px;
    }

    .copyright {
      width: 90%;
      text-align: center;
      padding: 2em 0 1.5em;
      line-height: 1.5;      
    }

    .thumbnail {
      width: 100%;
    }
    .editorthumb {
      width: 100%;
      margin: 0;
      text-align: center;    
    }
   
    .sidebox.resm .resInfo,
    .sidebox.fave .thumbnail h2 {
      width: 100%;
      float: none;
      text-align: center;
    }
    
    .sidebox.resm .thumbnailImg, 
    .sidebox.fave .thumbnailImg   {
      text-align: center;
      width: 100%;    
      padding-bottom: 0;
    }
    
    
    .editors {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .editorthumb {
      width: 45%;
      margin-bottom: 1em;
    }

    .sidebox h3 {
      font-size: 15px;
    }

    span.all a {
      font-size: 12px;
      margin-left: 1em;      
    }
    
    .sidebox.men h3,
    .sidebox.editors h3 {
      width: 100%;
      display: flex;
      justify-content: space-between;
    }

    .sidebox.socials {
      display: flex;
      flex-wrap: wrap;      
      justify-content: space-between;
    }
    
    .sidebox.socials a {
      width: 13%;
      margin: 0;
    }
    
    .sidebox.socials img {
      display: block;
      max-width: 100%;
      height: auto;
      width: auto;
    }
    
    .sidebox.socials h3 {
      width: 100%;
    }

    .newsfooter p {
      font-size: 12px;
      padding: 0 1em;
      line-height: 1.64;      
    }


    /*==========  VIDEOS  ==========*/
    .tabs,
    .main-full {
      width: 100%;
    }
    
    a.maintab, li.tab {
      width: 100%;
      height: auto;
    }

    .main-full .thumbnail {
      float: none;
      width: 100%;
      height: auto;
      margin-bottom: 1em;
      padding: 0 20px;
    }

    .box {
      margin-top: 2em;
    }

    .searchLink {
      float: none;
      width: 100%;
      text-align: center;      
    }

    .post-type-archive-video .searchLink input#indiv {
      text-align: center;      
    }
    
    
    .thumbnailImg {
      width: 100%;
      height: auto;
      /* padding-bottom: 60%; */
    }
    

    .archive .thumbnailImg  {
      padding-bottom: 60%; 
    }
    
    .playerBox {
      width: 100%;
    }

    .player {
      position: relative;
      overflow: hidden;
      padding-bottom: 57%;
    }

    .player iframe {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }

    .thumbnailImg span.overlay.video {
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
    
    .thumbnailImg img, .thumbnailAltImg img {
      /* width: 100%; */
      height: auto;
    }

    li.tab ul,
    li.tab ul li {
      width: 100%;
    }
    
    li.tab ul {
      margin: 1em auto;
    }
    
    .tabs {
      display: flex;
      flex-wrap: wrap;
    }
    
    a.maintab, li.tab {
      bottom: auto;
      margin: 0;
    }
    
    .tabs .content-filter {
      width: 50%;
    }

    .searchLink {
      bottom: auto;
      padding: 0.5em 0.5em 0.3em;
    }

    .searchLink .submit {
      top: auto;
    }

    .main h3 span {
      width: 100%;
      bottom: auto;      
    }
    
    .searchLink input#indiv {
      width: 100%;
      text-align: center;      
    }

    .searchLink > div {
      display: flex;
      align-items: center;
    }

    .searchLink {
      display: flex;
      justify-content: center;
    }

    .searchLink .submit {
      width: 45px;
    }


     /*==========  EVENTS  ==========*/
     .main-full {
      padding: 20px;
     }
     
     .main-full .thumbnail, .sidebox.videos .thumbnail, .main-full .thumbnailAlt, .sidebox.morefaves .thumbnail, .main .thumbnail {
      float: none;
      width: 100%;
      height: auto;       
     }     

     .thumbnailAltImg {
       width: 100%;
       height: auto;
     }

     .main-full .thumbnail, .sidebox.videos .thumbnail, .main-full .thumbnailAlt, .sidebox.morefaves .thumbnail, .main .thumbnail {
        width: 100%;
        height: auto;
        float: none;
        margin: 0;
        padding: 0;
        margin-bottom: 2em;       
     }
     
     .post-type-archive-event .tabs .content-filter {
       width: 100%;
     }
     
     .post-type-archive-press .thumbnailImg img, .post-type-archive-press .thumbnailAltImg img,
     .post-type-archive-event .thumbnailImg img, .post-type-archive-event .thumbnailAltImg img {
       position: static;
     }


      /*==========  VARIOUS  ==========*/
     .sidebox.con.mainbox {
      width: 100%;
     }

     .aboutamanda img {
      width: auto;
      max-width: 100%;
      height: auto;
      min-height: auto;       
     }
     
     .signup.box {
       width: 100%;
       padding: 1em!important;
     }

     .signup.box .desc p {
      font-size: 15px;
     }

     .signup.box .mc-form,
     .signup.box .mc-form .inwrap,
     .signup.box ul {
       width: 100%;
     }
     .signup.box .mc-form input.email {
      width: 100%;
      height: 40px;       
     }

      
     /*==========  CLASSES  ==========*/
     
     .page-template-page-class #landing-page > div {
        width: 100%!important;
        margin: 1em auto!important;
     }

     .page-template-page-class #landing-page p {
        font-size: 15px;
        padding: 1em;
        line-height: 1.6;      
     }


    /*==========  SINGLE POST  ==========*/
    .post {
      padding: 20px;
      margin-bottom: 0;
    }

    .mainext {
      width: 100%;
      float: none;
    }

    .postImg {
      max-width: 100%;
      width: auto;      
    }
    
    .post .postImg img, .post p img {
      max-width: 100%;
      width: auto;
      display: block;
    }

    .post iframe {
      max-width: 100%;
    }

    .post .authormore li {
      width: 100%;
      height: auto;
      float: none;      
      margin: 2em auto;
    }

    .post .authormore .img_container_author {
      width: 100%;
      height: auto!important;      
    }

    .share {
      width: 100%;
      height: auto;
      margin: 2em auto!important;      
    }

    .post .authormore {
      height: auto!important;
    }
    
    span.overlay {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50% ,-50%);
      width: 80px;
      height: 50px;      
    }


    .thumbnailImg {

    }
}

/*==========  TABLETS LANDSCAPE  ==========*/
@media screen and (min-width: 768px) and ( max-width: 1199px ) {
  .main {
    width: 62%;
  }
  #sidebar {
    width: 35%;
    margin-left: 3%;
  }

  .main-full {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .main-full .thumbnail {
    width: 50%;
    margin: 0 0 1em;
  }

}

.logobox--temphide {
  display: none!important;
}

@media screen and (max-width: 1199px) {
  
  #wrapper .logobox{
    display: none!important;
  }

  .logobox--temphide {
    display: block!important;
    width: 100%;
    padding-left: 0;
    padding-right: 0;    
  }  

}
