html{
    padding-bottom: 10%
}

body{
    width: 80%;
    padding-top: 1.5em;
    font-family: Roboto;
    font-size: 0.9em;
    line-height: 1.5em;
    color: black;
    margin:auto;
   -webkit-font-size-adjust: none;
   text-rendering: optimizeLegibility;
}

img { 
    margin: 0;
    display:inline-block;
}

.imgnomargin{
    margin: 0%;
    max-width: 100%;
}

.imgfullwidth{
    margin-top: 2%;
    margin-bottom: 2%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;  
}

h1{
    font-family: Rationale;
    font-weight: 400;
    font-size: 2em;
    padding-bottom: 0.75em;
    letter-spacing: 0.1em;
}

.logo{
    margin: 0%;
    padding: 0%;
    display:inline;
    position:fixed;
    
}


h2{
    font-family: Rationale;
    font-weight: 400;
    font-size: 1.6em;
    padding-bottom: 0.4em;
    padding-top: 1.2em;
    line-height: 1.5em;
}


p{
    padding-top: 0.6em;
    text-align: left;
}


.indented {
    padding-right: 2em; 
    padding-left: 2em;
    padding-top:0;
}

.reference {
    font-size: 0.85em;
}

.textblock{
    display:block;
    clear:left;
    text-align: left;
    padding-top: 3%;
    padding-bottom: 0.5%;
    margin-left: 0%;
}

.fullwidth{
    width: 96%;
}

b{
    font-weight: 800;
    font-family: Cantarell;
    font-size: 1em;
}

sup { 
    vertical-align: super;
    font-size: 0.6em;
}

a{
    color: #567093;
    text-decoration: underline;
/*    font-weight: 800;*/
}


a img:hover{
    transform: scale(1.2);
}

.textbox{
    border-color:#a98561;
    padding: 1em;
    background-color: #f1f1f1;
    box-shadow: 2px 2px 3px #DCDCDC;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

li{
    border-right:solid;
    border-width:2px;
    border-right-color: white;
}


li a {
    display: block;
    color: black;
    padding: 0.77em;
    text-decoration: none;
    background-color: #f1f1f1;
    margin-bottom: 0;

}

ul li:last-of-type{
    border:none;
}



li a:hover {
    background-color: lightgray;
    text-decoration: none;
}


li a.active{
   background-color: #737EA0;
    color: white;
}

div{
    width:100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; 
    height: 0; 
    overflow: hidden;
    width: 100%;
}


.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

    
 @media only screen and (min-width:1000px) {
     
    section{
	   width: 72%;
	   float:left;
	   display: inline-block;
        margin: 0 2% 0 2%;
        }
    
    .logos{
       width: 15%;
	   float:left;
	   display: inline-block;
	   margin:0 2% 0 0%;   
        }

}


@media only screen and (min-width: 880px) {
    li{
    float:left;
}
    
    li a{
    float:left;
}
  
    ul {
    background-color: #f1f1f1;
    }
}


@media only screen and (max-width: 879px) {
    ul{
        overflow:visible;
    }
    
    ul li:last-of-type{
        border-right:solid;
        border-width:2px;
        border-right-color:white;
    }

    li a{
        margin-bottom: 7px;
        font-weight: 300;
    }
    
    
    section{
        width: 100%;
        display: block;
        margin: 0 2% 0 2%;
    }

    .logos {
        width: 100%;
        display: block;
        margin: 2%;
    }

}



/* Carousel */
   

* {box-sizing: initial}

.slideshow-container {
    width: 65%;
    position: relative;
    margin: 0px;
    padding: 0;
}

/* Hide the images by default */

.mySlides {
    display: none;
}


/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 0px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}


/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
    
