@import url('//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css');

pre {
    border-radius: 0;
}





.maintitlewrapper{
    display: block;
    width: 680px;
    width:var(--headersize);
    height: 230px;
    position: relative;
    margin-left:150px;
    margin-right:auto;
    padding-top: 30px;
}
.img-author {
    width: 180px;
    width: var(--iconsize);
    border-radius: 3%;
    border: 2px solid #ccc;
    padding: 3px;
    float: left;
    z-index: 5;
    position: relative;
    margin-top: 5px;
}
.img-author:hover{
    opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
}
.img-logo {
    width: 150px;
    height: 150px;
    border-radius: 1%;
    border: 2px solid #ddd;
    padding: 3px;
    float: left;
    z-index: 5;
    margin-top:20px;
    text-align: right;
}
.img-logo:hover{
    opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
}

.maintitle{
    float:left;
    text-align: left;
    width: 380px;
    width:var(--tsize);
    margin-top:0px;
    margin-left:56px;
    line-height: 1.2;
    border-left:2px solid #ccc;
    padding-left:15px;
    padding-bottom: 20px;
    color:white;
}
.myname{
  color:#f4f4f4;
  font-size:xx-large;
}
.mainsubtitle{
    text-align: left;
    margin-bottom: 0px;
    margin-top: 7px;
    /* float:left; */
    color:white;
}
.mainicons{
    display: block;
    /* float: left; */
    padding-top:7px;
}

/* ###################################### */
/* Menubar */
.menubaswrapper{
    border-top: 0px;
    border-bottom-width: 100px;
    border-bottom-style: solid;
    /* border-image: linear-gradient(to bottom, white 99.65%, transparent) 1; */
    border-image: linear-gradient(to bottom, white 99.65%, rgba(255,255,255,0)) 1;
    width:auto;
    left:0px;
    right:0px;
    top:215px;
    top:var(--menutopdistance);
    display:inline-block;
    position: absolute;
    z-index: 2;
}
.menubar{
  width:auto;
  left:0px;
  right:0px;
  display:inline-block;
  position: absolute;
  border-bottom: 4px solid #959595; /*#ccc;*/
  border-bottom-color: var(--menubar_bottom_border_color);
  border-top: 2px solid #494949;
  border-top-color: var(--header_background_color);
  font-size: 1.3rem;
  /* text-align: center; */
  /* float:left; */
  background-color: #494949;
  background-color: var(--header_background_color);
  /* margin-bottom: 10px; */
  padding:15px 10px 10px 10px;
  padding-left: 394px;
  z-index: 2;
}
.menuitem{
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom:10px;
  padding-top:3px;
  color: #353535;
  color:var(--textcolor);
  color: white;
  border: 2px;
  font-weight: 300;
}
.menuitem:hover{
    color: #F7941D;
    color:var(--myorange);
    font-weight: 300;
}
/*Current page*/
.current-page{
    font-size:1.3rem; /*28px;*/
    color: #F7941D;
    color:var(--myorange);
    border-left: 4px solid #959595;
    border-left-color: F7941D;
    border-left-color: var(--menubar_bottom_border_color);
    border-top: 4px solid #959595;
    border-top-color: F7941D;
    border-top-color: var(--menubar_bottom_border_color);
    border-right: 4px solid #959595;
    border-right-color: F7941D;
    border-right-color: var(--menubar_bottom_border_color);
    border-bottom: 6px solid white;
    background-color: white;
    font-weight: 400;
}
.current-page:hover{
    color: #F7941D;
    color:var(--myorange);
}

.sticky {
  position: fixed;
  /* padding:15px 10px 10px 10px; */
  display:inline-block;
  /* background-color: white; */
  top:-1px;
}

.remove-margin-bottom {
    margin-bottom: 0rem;
}

.pagination ul {
    margin-top: 4em;
    list-style: none;
    padding: 0;
    background: #f4f4f4;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    display: inline-block;
}
.pagination li {
  float: left;
  border-right: 1px solid #e0e0e0;
}
.pagination ul a {
    line-height: 1;
    font-size:.98rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #999;
    display: block;
    text-align: center;
    padding: 6px 6px;
    min-width: 2em;
}
.pagination li.active {
  background-color: #F7941D;
}
.pagination ul a {
      color: black;
}
.pagination a:hover:not(.active) {background-color: #ddd;}

a.category {
  background-color: #ddd;
  padding-right: .2em;
  padding-left: .2em;
}


@media print, screen  and (max-width: 1500px){
  header,body {
      margin-left: auto;
      margin-right: auto;
      left:0px;
  }
  .maintitlewrapper{
    width: 1250px;
    background-color: #494949;
    background-color: var(--header_background_color);
  }
  .menubaswrapper{
    width:1400px;
  }
  .footer_text{
    width: 1250px;
  }
  .footer_class{
    width: 1405px;
  }
  html{
    width: 100%;
  }
}
  /*
    section {
    
      min-width: 0px;
      left: 0px;
      right: 0px;
      margin-left: auto;
     
      padding-left:30px;
    }
    div.wrapper{
       
        margin-left: auto;
        margin-right: auto;
        left: 0px;
        right: 0px;
       
    }
    body{
        width:100%;
        left: 0px;
        right: 0px;
    }
    div.menubar{
      width: 100%;
    
      text-align: center;
      padding-left: 15px;
   
    }
    .current-page{
      z-index: 0;
  
    }
    .pubfigure{
        width:93%;
    }
    .footer_text{
        padding-left: 30px;
    }
    .maintitlewrapper,.maintitle{
        font-size:14px; 
    }
  } */
  

  /* @media print, screen and (max-width: 950px) {
    .current-page{
      border-bottom: 2px solid #ccc;
      padding: 4px;
      padding-top:2px;
    }
    section{
      width:87%;
      margin-left:0px;
    }
    div.wrapper{
      
      margin-left: 0px;
  }
  } */
  /*
  @media print, screen and (max-width: 690px) {
    .img-author{
        display:none;
    }
    .maintitlewrapper,.maintitle{
        width: auto;
        margin-left: auto;
        margin-right: auto;
        border:0px;
        float: inherit;
    }
    .footer_text{
        margin-top: 5px;
        font-size: 10px;
    }
  
    .mainicons{
        padding-top: 0px;
        margin-top: -7px;
    }
    /* .section{
        margin-top:100px;
    } 
  } */


  /* @media print, screen and (max-width:1000px) {

    div.wrapper{
      width:auto;
    }
  
     div.menubar{
      width:auto;
      left: 50px;
      right: 50px;
    }
  
    header, section, footer {
      float:none;
      position:absolute;
      width:auto;
    }
  
    header {
      padding-right:320px;
      padding-bottom: 5px;
    }
  
    section {
      border:1px solid #e5e5e5;
      border-width:10px 0;
      padding:20px 0;
      margin:0 0 20px;
    }
  
    header a small {
      display:inline;
    }
  
    header ul {
      position:absolute;
      right:50px;
      top:52px;
    }
  }
  
  @media print, screen and (max-width: 720px) {
    body {
      word-wrap:break-word;
    }
  
    header {
      padding:0;
    }
  
    header ul, header p.view {
      position:static;
    }
  
    pre, code {
      word-wrap:normal;
    }
  }
  
  @media print, screen and (max-width: 480px) {
    body {
      padding:15px;
    }
  
    div.menubar{
      left: 15px;
      right: 15px;
    }
  
    header ul {
      width:99%;
    }
  
    header li, header ul li + li + li {
      width:33%;
    }
  }
  
  @media print {
    body {
      padding:0.4in;
      font-size:12pt;
      color:#444;
    }
  }  */

  