 /*
 Theme Name:   Public journal Child
 Theme URI:    http://public-tst.syr.edu
 Author:       Brian Lonsway
 Template:     publicjournal
 Version:      1.0.0
*/

@import url("../publicjournal/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

/* Focus style provided for assistive devices */
a:focus,
:focus {
  outline: 2px dotted black;
  outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
  position:absolute !important;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

  

#primary {
  position: absolute;
  left: 360px;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  padding: 0;
  margin: 0;
}
#content {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 4em;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}
#primary.has-galley #content {
  padding: 0;
}
#content > iframe {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  border: 0 none;
  background: #FFFFFF;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}
  
  

body.home #branding {
  border-width: 8px 0px 8px 0px;
  border-color: #cfce4c;
  border-style: solid;
  box-shadow: 5px 10px 8px #555;

}


#site-title-after,
#site-title-left,
#site-title-right {
  background: #FFF;
}
#site-title-left,
#site-title-right {
  width: 5%;
}

   
#site-title-after {
  vertical-align: bottom;
  text-indent: 10px;
  padding-bottom: 20px;
  padding-left: 20px;
  font-size: 1.5em;
  font-weight: 1000;

}

#site-title-after-issueName {
  font-size: 150%;
}

#site-title-after-issueNumber {
  font-size: 95%;
}
  


/* Cover menu styles  */

#home-nav {
  position: absolute;
  right: 0;
  top: 10%;                                      //  position of home page menu from top of window
}

#home-nav #access li {
  float: none;
  border: 1px;
  border-style: solid;
  border-color:#000;
  background-color: #cfce4c;                    // background color of home page menu in HEX
  //background-color: rgba( 50, 212, 212, 0.94 );    //  background color of home page menu in RGBA
  margin: 24px;
  width: 400px;
  font-size: 1.1em;
  color: black;
  box-shadow: 5px 10px 8px #555;
}

#home-nav #access li:hover {
  background-color: #fffff6;   // home page menu list item hover color
}

#home-nav #access li a {
  padding: 12px;
  padding-left: 20px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  color: #000;                                 //    home page menu text color
  font-family: "Futura W01 Medium", Verdana, sans-serif;
  font-size: 1em;
  display: block;
  text-decoration: none;
  line-height: 1em;
  -webkit-transition: color 0.25s;
  -moz-transition: color 0.25s;
  -o-transition: color 0.25s;
  transition: color 0.25s;
}
  
  
#home-nav #access li a:hover {
  color:#000; //    home page menu text hover color
}

  
  
#access {
  float: left;
}

#access .menu-wrapper {
  float: left;
}

/*Default interior menus.*/
#menu-wrapper-normal {
  display: block;
}
#menu-wrapper-mobile {
  display: none;
}

#access .menu {
  float: left;
}
#access ul {
  float: left;
}
#access ul,
#access li {
  margin: 0;
  padding: 0;
  list-style: none;
}
#access li {
  display: block;
  float: left;
}
  
#access li a {
  font-family: "Futura W01 Medium", Verdana, sans-serif;
  letter-spacing: .5px;
  font-size: 1.1em;
  color: #145B94;
}
  
#access li a:hover,
#access li a:focus {
  color: #1B79C5;
}
  
  


#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  color: #eee;
  background-color: #fff;
}
  
.above-footer,
#page .above-footer {
  bottom: 50px;
}
#external {
  height: 50px;
  float: right;
}
#footer img {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  height: 100%;
  padding: 5px;
  float: right;
  width: auto;
}
  
#footer-logo img {
  vertical-align: top;
}


  
#issue-header {
  margin-left: 12px;
}
.issue-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: center/cover;
  overflow: auto;
  padding-bottom: 60px;
}
.issue-nav .ui-accordion-header {
  background-color: #f0b818;
  color: #434343;
  font-weight: 300;
  margin: 0 0 12px;
  padding: 12px;
  position: relative;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 18px;
}
.issue-nav .ui-accordion-header:hover {
  cursor: pointer;
}
.issue-nav .ui-accordion-header:focus { // modified from outline:none to improve accessibility
  outline: 1px dotted black;
  outline-offset: 2px;
}
  
  
.issue-nav .ui-accordion-header-active {
  margin-bottom: 0;
}
.issue-nav .ui-accordion-content {
  background-color: #fff;
  margin: 0 12px 0 12px;
  padding: 12px 12px 6px;
}
.issue-nav .article-group {
  padding: 0;
  margin: 0;
}
.issue-nav .article {
  margin-bottom: 6px;
}
.issue-nav .article a {
  font-weight: 700;
  font-size: 14px;
}
.issue-nav .article a:hover {
  opacity: 1;
  color: #f0b818;
}
.issue-nav .article > a:hover > span {
  color: #000;
}
.issue-nav .article > a > span {
  font-weight: 300;
  display: block;
  color: #0775CF;
}
  
  
  
.article-excerpt {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #eee;
  color: #666;
  z-index: 9999999;
  padding: 12px;
  overflow-y: scroll;
}
.article-excerpt span {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  padding: 12px 12px 24px 36px;
}
.article-excerpt p {
  margin: 0;
}
#issue-contents:before {
  content: 'Contents:';
  font-size: 28px;
  line-height: 48px;
  color: #eee;
  font-family: Georgia, Times, serif;
  font-style: italic;
  font-weight: 700;
  margin-left: 12px;
}
#issue-header > a {
  color: #ddd;
}
#issue-header > a:hover {
  color: #f0b818;
}

/*
Media queries.
============================================
*/

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
{

  body.journal-post-type-issue #secondary, body.journal-post-type-article #secondary {
    display: none;
  }  
    
  #primary {
    left:0px;
  }  
  
  
}  
  
@media only screen and (max-width: 1280px) {
  /*Tablet*/
  
  iframe {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  }
    
    #site-title-after {
      font-size: inherit;
      font-weight: inherit;
      padding-left: 5px;
    }
    
    
}

@media only screen and (max-width: 760px) {
  /*Phone*/
  /*Logo Bar*/
  body.home #branding {
    height: 70px;
  }
  #site-title {
    width: 20%;
    min-width: 176px;
    max-width: 176px;
  }
  #site-title-divider {
    width: 3px;
    min-width: 3px;
    max-width: 3px;
    border-top-width: 3px;
    border-bottom-width: 3px;
  }
  #site-description {
    width: 20%
    min-width: 71px;
    max-width: 71px;
    background-position: 5px center;
    -webkit-background-size: 75%;
    -moz-background-size: 75%;
    background-size: 75%;
  }
  #site-title-after-text {
    display:none;
  }  
   
  #external {
    height: 40px;
  }
  #access li a {
    padding: 0.5em;
  }
  /*Switch menues.*/
  #menu-wrapper-normal {
    display: none;
  }
  #menu-wrapper-mobile {
    display: block;
    width: 100%;
  }
  #home-nav {
    left: 0;
    top: 0;
    right: 0;
    bottom: 70px;
    overflow: scroll;
  }
  #home-nav * {
    width: 100%;
  }
  #home-nav #access ul {
    float: none;
  }
  #home-nav #access li {
    width: 100%;
    margin: 24px 0;
  }
  #external {
    height: 35px;
  }
  #access li a {
    padding: 0.3em;
  }
  body.home #branding {
    bottom: 0;
  }
  
  body.journal-post-type-issue #primary,
  body.journal-post-type-article #primary {
    display: none;
  }
  body.journal-post-type-issue #secondary,
  body.journal-post-type-article #secondary {
    position: static;
    width: 100%;
    height: 100%;
  }
  .issue-nav .ui-accordion-content {
    margin: 0 42px 0 12px;
  }
  .issue-nav .ui-accordion-header {
    margin-right: 30px;
  }
  .issue-nav .ui-accordion-header:after {
    content: '';
    border-top: 21px solid transparent;
    border-bottom: 21px solid transparent;
    border-left: 21px solid #f0b818;
    position: absolute;
    top: 0;
    right: -21px;
  }
}

