/*
responsive

3 Column 1200 
2 Column 795
1 Column 386



iphone 4        320 x 372
iPhone 5        320 x 460
iPhone 6        375 x 559
iPhone 6 Plus   414 x 628

YT Embed Sizes:
1160 653
770 433
375 201

*/


/* 2 Column 795 */
@media screen and (max-width:1195px){
  .lightbg .lightbox{
    max-width: 770px;
  }
  .lightbg .next {
      right: calc(50vw - 385px);
  }
  .lightbg .prev {
      left: calc(50vw - 385px);
  }
  .close, .close:active, .close:hover, .close:visited {
      right: calc(50vw - 385px);
  }
  .imgbox.imgboxpress {
      grid-template-columns: repeat(2, 1fr);
  }
  /*
  .ytemb{
    width: 770px!important;
    height: 433px!important;
  }*/
  .main-frame {
    width: 770px;
  }

  .post-content {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }

.post-content.imgCol{
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}
  .footer,a#totop {
    width: 750px;

  }
  .footer-left {
    width: 25%;
  }

  .footer-center {
    width: 100%;
  }

  .footer-right {
      width: 50%;
  }

}


  
/* 1 Column 386 */
@media screen and (max-width:805px){


  .lightbg .lightbox{
    max-width: 375px;
  }
  .imgbox.imgboxpress {
      grid-template-columns: repeat(1, 1fr);
  }

  .lightbg .next {
      right: calc(50vw - 188px);
  }
  .lightbg .prev {
      left: calc(50vw - 188px);
  }

  .close, .close:active, .close:hover, .close:visited {
    right: 10px;
    right: calc(50vw - 188px);
    top: 10px;
    width: 30px;
    height: 30px;
  }
  form.o-form {
    margin-top: 50px;
    width: 375px;
    padding: 0;
  }
  .search_results {
      width: calc(100% - 20px);
  }

  .search_overlay .info .title {
      font-size: 19px;
  }

  .search_overlay .info * {
      font-size: 12px;
  }
  .ytemb{
    width: 375px!important;
    height: 201px!important;
  }
  .main-frame {
    width: 375px;
  }

  .post-content {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    padding: 0px 5px;
  }

  #footer-menu li {
        padding-left: 0px;
        padding-right: 0;
  }
  #pojo-a11y-toolbar.pojo-a11y-toolbar-left.pojo-a11y-toolbar-open {
    bottom: 88px!important;
}
  a#totop{
    width: 375px;
    bottom: 39px;
  }
  /* FOOTER */
   .footer {
    width: 375px;
    padding-top: 2px;
    padding-bottom: 0px;
    display: block;
    grid-auto-flow: column;
    padding: 0;
    line-height: 40px;
  }
  .footer #menu-footer-menu {
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
  }

  .footer-left{
    float: none;
    width: auto;
    display: inline;
  }
  
  .footer-center {
    width: 100%;
    text-align: right;
    /*display: flex;*/
  }

  .footer-right {
      display: block;
  }

  .main-frame {
      width: 375px;
      /*padding: 0 5px;*/
  }
  img.header-logo {
      width: 375px;
      height: inherit;
  }

  section.content {
    padding-bottom: 60px;
}

.grid-container {
    padding-bottom: 8px;
}
/* button wo background */
  #side-menu > ul > li >a {
    background: none;
    color: #e1363f;
    padding-top: 7px;
    font-size: 16px;
    line-height: 30px;
    padding-bottom: 6px;
    padding-left: 0px;
    /* padding-right: 9px; */
}
.imgCol.imgbox {
    float: none;
    width: 375px;
    margin-right: 0px;
}
.post > .imgbox img, .imgbox .wp-video, .imgbox .mejs-container, .imgbox .ytemb {
  padding: 5px 0px;
  margin-left: 0px;
  margin-right: 0px;
}

/* MOBILE MENU */
ul.sub-menu.menu-odd.menu-depth-1 {
    position: absolute;
    right: 0px;
    background-color: rgba(255,255,255,0.9);
    width: 375px;
    height: 215px;
    vertical-align: middle;
    text-align: end;
    padding-right: 7px;
}

/*#side-menu > ul > li> ul > li {
    display: inline-grid;
    padding: 0 5px;
    line-height: 30px;
}*/
#side-menu > ul > li> ul > li {
    /* display: inline-grid; */
    padding: 0 0px;
    line-height: 22px;
}
.sub-sub-menu {
    margin-right: 10px;
}
.header-menu {
    line-height: 30px;
    line-height: 30px;
    font-size: 36px;
}
#side-menu >  ul > li > a {
  display: block;
  color: #bababa!important;
}
.header #msearch {
    margin: 0;
    display: inline-block;
    float: right;
    padding: 0;
    position: absolute;
    right: 180px;
    cursor: pointer;
    height: 15px;
    width: 24px;
    top: 12px;
}
.header input[type="submit"] {
    margin-right: 0;
    height: 18px;
    background-size: contain;
    text-indent: -10000px;
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}
}


