 .button.subpage-button{
    border-color:transparent;
    border-bottom-width: 1px;
    border-bottom-style: ridge;
    display: block;
    padding: 0.5rem 1rem 0.5rem 1rem;
    background: white;
    color: #1e5799;
    text-align: left;
 }
 .button.subpage-button:hover {
    background: #2199e8;
    color: white;
 }

 #pageContainer{
     max-width:1002px;
     display: flex;
     overflow:hidden;
 }
 #sidemenu{
     width:198px;
     float:left;
     margin-right:25px;
     display:inline-block;
 }
 #sidemenu a,#sidemenu img{
     width:100%;
 }
 #pagecontent p{
    padding-left: 0.5%;
    padding-right:0.5%;
    line-height: 1.1em;
 }
 #pagecontent table tr:nth-of-type(even) {
    background-color: transparent ;
}
#pagecontent table,
#pagecontent table thead,
#pagecontent table tbody,
#pagecontent table tfoot,
#pagecontent table tbody th,
#pagecontent table tbody td {
    background-color: transparent ;
    padding: 0.5rem 0.625rem 0.625rem;
}
#pagecontent{
    margin-bottom: 10px;
    text-align: left;
    overflow:auto;
    padding: 0;
    word-wrap: normal;
    padding-right: 5px;
    min-height: 300px;
}
#pagebackground{
    position:relative;
    overflow: auto;
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding: 0; /* remove any pre-existing padding, just in case */
}
#pagebackground>img{
    vertical-align: top;
    width: 100%;
    opacity: 0;
}

@media screen and (max-width: 1024px) {
    .pageWrapper {
        width: 100%;
    }

    #pageContainer {
        max-width: 100%;
    }
    #pagecontent{
        max-width:100%;
        margin: 0 auto;
    }
 }
@media screen and (max-width: 790px){
    #pagecontent{
        width: 100%;
        padding:0px 10px;
    }

    #pagecontent table,
    #pagecontent table thead,
    #pagecontent table tbody,
    #pagecontent table tfoot,
    #pagecontent table tbody th,
    #pagecontent table tbody td {
        padding: 1px;
    }
}
@media screen and (max-width: 480px){
     #pagebackground{
         overflow: auto;
     }
 }
