/*width=480 height=270*/
.iframe-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    width: 100%;
}

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

.zilla-slab-font {
    font-family: "Zilla Slab", serif;
}

.red-tail-color {
    color: rgb(240, 87, 39);
}

#main-nav {
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.25em;  /*22px*/
    background-color: rgb(170,190,100);  
    width: 100%;
    height: 45px;
    position: relative;
    bottom: 15px;
}

#main-nav li {
    display: inline;
    padding: 20px;
}

#main-nav li a {
    text-decoration: none;
    color: black;
}

#main-nav li a:hover {
    color: rgb(250,250,250);
}

#main-nav ul {
    position: relative;
    right: 3.5%;
}

/*
footer {
    position: relative;
    top: 100px;
    background-color: black;
    width: 100%;
    height: 170px;
}
*/

.cabin-font {
    font-family: "Cabin", sans-serif;
}

#site-header {
    font-size: 1.375em;  /*22px*/
    padding-left: 1.3%;
}

.montserrat-font {
    font-family: "Montserrat", sans-serif;
}

section {
    width: 67%;
    padding-left: 1.3%;
    padding-bottom: 10%;
}

#side-nav {
    background-color: rgb(220, 220, 220);
    width: 27%;
    max-width: 420px;
    min-width: 250px;
    height: 100%;
}

#side-nav li {
    list-style: none;
    padding: 7px 0;
}

#side-nav li a{
    text-decoration: none;
    color: darkblue;
}

#side-nav li a:hover {
    color: rgb(255, 90, 39);
}

#side-nav h3 {
    font-size: 1.4375em;  /*23px*/
    position: relative;
    left: 7%;
}

#side-nav ul{
    font-size: 1.125em;  /*18px*/
    position: relative;
    bottom: 12px;
    right: 9px;
    width: 80%;
}

#main-content-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

h2 {
    font-size: 30px;
}

section h3 {
    font-size: 22px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
}

.gallery-container img {
    width: 30%;
    height: 19.5776566757493%;
    min-width: 240px;
    padding: 10px;
}

.article-preview-container img {
    width: 100%;
}

.article-preview-link {
    text-decoration: none;
    color: black;
}

.article-preview-link:hover {
    color: rgb(255, 90, 39);
}

.article-preview-divider {
    width: 100px;
    height: 2px;
    background-color: rgb(150, 150, 150);
    margin: 0 auto;
}

.main-news-image {
    width: 100%;
}

#home-page-section a:hover{
    color: rgb(255, 90, 39);
}

.news-article a:hover {
    color: rgb(255, 90, 39);
}

#resources-list {
    line-height: 26px;
}

#resources-list a {
    text-decoration: none;
}

#resources-list a:hover {
    color: rgb(255, 90, 39);
}

blockquote {
    font-style: italic;
}

@media screen and (max-width: 860px) {
    section {
        width: 97%;
        margin: auto;
    }
    
    #side-nav {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    #side-nav h3 {
        left: 3.7%;
    }
    
    #side-nav ul {
        width: 90%;
    }
    
    .gallery-container img {
        width: 45%;
    }
}

@media screen and (max-width: 600px) {
    #main-nav ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        right: 5%;
    }
    
    #main-nav {
        height: 100%;
    }
    
    #main-nav li {
        padding: 10px;
    }
    
    #side-nav h3 {
        left: 5%;
    }
    
    #side-nav ul {
        width: 80%;
    }
    
    .gallery-container img {
        width: 100%;
    }
}

@media screen and (max-width: 1200px) and (min-width: 601px) {
    .gallery-container img {
        width: 45%;
    }
}

.secondary-news-image {
    width: 90%;
    padding: 2% 5%;
}

#next-news-page-link {
    font-size: 1.1em;
    text-decoration: none;
}

#next-news-page-link:hover {
    color: rgb(255, 90, 39);
}

#prev-news-page-link {
    font-size: 1.1em;
    text-decoration: none;
}

#prev-news-page-link:hover {
    color: rgb(255, 90, 39);
}

#prev-next-container {
    display: flex;
    justify-content: space-between;
}

#next-container {  /*for news-1 only*/
    display: flex;
    justify-content: flex-end;
}

#news-pages-links-container {
    display: flex;
    justify-content: center;
    font-size: 1.1em;
}

#news-pages-links-container a {
    text-decoration: none;
}

#news-pages-links-container a:hover {
    color: rgb(255, 90, 39);
}

#news-article-posted-date {
    font-size: 1.0625em;
    position: relative;
    top: -4px;
}