/*
Red Highlight: #B73225
Blue Minded: #004E7C
Maroon 6: #591COB
Grey Water: #5C5F58
Lighter Grey: #DCE1E3
*/

a {
    text-decoration: underline !important;
    color: #004E7C !important;
    font-weight: bold !important;
}

.pagetitle {
    font-size: 40px;
    font-weight: bold !important;
    color: white !important;
    text-align:center;
}

body {
    position: relative;
    margin: 0 0 0 0;
    font-family: 'Roboto', sans-serif !important;
    background-color: #F0F0F0;
    text-align: justify;
    text-justify: inter-word;
    min-height: 100vh;
}

#content-wrap {
    padding-bottom: 2.5rem;    /* Footer height */
  }

.main {
    font-size: 20px;
}



li {
    margin-top: 5px;
    margin-bottom: 5px;
}

section {
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 0px;
    margin-right: 0px;
}

section.panel {
    margin: 0 0 0 0 !important;
}

header {
    position: sticky;
    top: 0;
    background: white;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 30px;
    transition: 0.1s;
    z-index: 1000;
}

footer {
    
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;  
}

.imgright {

    width: auto;
    background-color: transparent;
    clear: right;
    float: right;
    margin: 10px 0px 10px 30px;
    /*padding: 2px;
    border: 1px solid #c8ccd1;*/
}

.imgleft {

    width: auto;
    background-color: transparent;
    clear: left;
    float: left;
    margin: 10px 30px 10px 0px;
    /*padding: 2px;
    border: 1px solid #c8ccd1;*/
}

.imgwcaption {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.imgcaption {
    font-size: 15px;
    color: #404040;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

div.sitenav, div.footer {
    background-color: #004E7C;
    opacity: 0.9;
}

.gif-gallery {
    display: flex;
    margin: auto;
    margin-top: 30px;
}

.gif-gallery-column {
    width: 50%;
    margin: 10px;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.vta-gif {
    height: 200px;
    width: auto;
    margin: auto;
}

.navtext, footer, .landingnav {
    color: white !important;
    font-weight: 500 !important;
}

.navtext{
    font-size: 20px;
    margin-bottom: 5px;
}

.landingnav {
    font-size: 30px;
    margin-bottom: 5px;
}

#pagetitle {
    text-align: left;
    margin-bottom: 15px;
    transition: 0.1s;
}

span.inline-subtitle {
    font-size: 0.8em;
    color: #404040
}

/*
div.nav {
    display: flex;
    text-align: left;
    align-self: flex-end;
    justify-content: center;
    flex-wrap: nowrap;
}*/

div.nav a, div.sitenav a {
    text-decoration: none;
    transition: 0.2s;
}

div.nav a:hover, div.sitenav a:hover {
    opacity: 0.3;
}

div.footer {
    display: block;
    text-align: center;
}

div.footer a {
    text-decoration: none;
    transition: 0.2s;
}

div.footer a:hover {
    opacity: 0.3;
}

.nav-link {
    padding-left: 0 !important;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: #F0F0F0;
    cursor: pointer;
    padding: 18px;
    width: 55%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.3s;
    color: #004E7C;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    color: black;
    background-color: #C8C8C8;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: #F0F0F0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion:before {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 16px;
    color: black;
    float: left;
    margin-right: 10px;
    margin-top: 3px;
    vertical-align: middle;

}

.active:before {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.acc {
    width: 80%;
    display: inline;
}


#gallery-frame {
    width: 100%;
    height: 650px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

#preview-frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 5px;
    grid-template-areas:
    'item1 item2 item3 item4';
    height: auto;
}

#preview-frame-outer {
    display: block;
    width: 100%;
    height: auto;
}

#preview-frame > div {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    height: 110px;
    color: black;
    opacity: 0.65;
    transition: opacity 0.4s ease-out;
    vertical-align: middle;
    border-radius: 20px 20px 0 0;
  }

#expanded > div {
    text-align: center;
    width: 100%;
    /*height: 100%;*/
    opacity: 0;
    border-radius: 0 0 20px 20px;
}

#item1 { 
    grid-area: item1; 
    background-color: #d68b84 !important;
}
#item2 { 
    grid-area: item2; 
    background-color: #99b8ca !important;
}
#item3 { 
    grid-area: item3; 
    background-color: white !important;
}
#item4 { 
    grid-area: item4; 
    background-color: #a2a2a2 !important;
}

#item1expanded { 
    background-color: #d68b84 !important;
}
#item2expanded { 
    background-color: #99b8ca !important;
}
#item3expanded { 
    background-color: white !important;
}
#item4expanded { 
    background-color: #a2a2a2 !important;
}

#expanded {
    position: relative;
    width: 100%;
    display: flex;
    align-items: stretch;
    flex-grow: 1;
}

.expanded-item {
    height: auto;
    position: absolute;
}

div.preview-center {
    margin: 0;
    position: absolute;
    top: 75%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: top 0.4s;
}

div.expanded-inner {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

div.preview-center {
    position: relative;
}

.expanded-preview-active, #preview-frame > div:hover{
    opacity: 1 !important;
}

#preview-frame > div:hover .preview-center,
.expanded-preview-active .preview-center
{
    top: 55%;
}

#preview-frame > div:hover .preview-center .preview-subtitle, 
.expanded-preview-active .preview-center .preview-subtitle {
    opacity: 1 !important;
}

#preview-frame > div:hover .preview-center .preview-title, 
.expanded-preview-active .preview-center .preview-title {
    font-size: 17px;
}

.expanded-title, .expanded-subtitle, .expanded-link {
    text-align: left;
}

.preview-subtitle {
    font-weight: 400;
    font-size: 17px;
    opacity: 0;
    transition: opacity 0.25s ease-out;
    margin-left: 20px;
    margin-right: 20px;
}

.preview-title {
    font-weight: bold;
    margin-bottom: 5px;
    transition: font-size 0.25s ease-out;
    font-size: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.expanded-subtitle {
    font-weight: 400;
}

.expanded-title {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 15px;
}

.expanded-link {
    font-weight: bold;
    margin-top: 15px;
    font-size: 25px;
    text-decoration: underline 2px solid;
}

.expanded-link a {
    color: black !important;
}

#navblock {
    transition: 0.1s;
}

.blue-header {
    color: #004E7C;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold !important;
}

.list-img {
    max-height: 225px !important;
}

.main-subtitle {
    font-size: 25px;
}

@media only screen and (max-width: 768px) {
    .main {
        font-size: 15px;
    }

    .navtext{
        font-size: 15px;
        margin-bottom: 5px;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .pagetitle {
        font-size:30px;
        padding-bottom: 5px;
    }

    .hideonmobile {
        display: none !important;
    }

    .main-subtitle {
        font-size: 15px;
    }
}

.social-menu {
    display: flex;
    list-style-type: none;
    font-size: 40px;
}