﻿/* Cookie Bar */

.cdbar {
    right: 0;
    left: 0;
    padding: 16px;
    text-align: center;
    z-index: 1000;
    font-size: 12px;
    line-height: 1.4;
    position: fixed;
    bottom: 0;
    color: #fff;
    background-color: #000
}

.cdbar .cdbar-buttons,
.cdbar .cdbar-text {
    display: inline-block;
    vertical-align: middle
}

.cdbar a {
    color: #d3d3d3;
    -webkit-transition: color .3s, background-color .3s;
    -moz-transition: color .3s, background-color .3s;
    -o-transition: color .3s, background-color .3s;
    transition: color .3s, background-color .3s
}

.cdbar a:hover {
    text-decoration: none;
    color: grey !important
}

.cdbtn {
    display: inline-block;
    border: none;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
    margin: 0 5px;
    color: #000 !important;
    background-color: #d3d3d3
}

a.cdbtn:hover {
    color: #d3d3d3 !important;
    background-color: gray
}


/* Content Area */

.sidebarhead {
    background-color: var(--first-color) !important;
    color: White !important;
    display: block;
    font-size: 21px;
    padding: 10px 5%;
    margin-bottom: 0px
}

.sidebarhead a {
    color: var(--first-color) !important;
}

.sidebarhead a:hover {
    color: #ccc !important;
    text-decoration: none;
}

.caption {
    font-size: 12px;
    font-weight: bold;
}


/* Content Area - Image */

.image {
    width: 100%;
    display: block;
}


/* Content Area - YouTube */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}


/* Content Area - News Feed */

.news-block-slides.detailholder {
    border: none;
    margin-bottom: 0;
}

.feature-article-holder {
    height: 325px !important;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.feature-article-wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
}

.feature-image {
    height: 325px;
    width: 100%;
    object-fit: cover;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    position: relative;
    top: 0;
    left: 50%;
}

.feature-summary-holder {
    position: absolute;
    width: 100%;
    padding: 5%;
    bottom: 0;
    z-index: 3;
}

.feature-date {
    color: white;
    font-size: 16px;
}

.feature-title a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.feature-title a:hover {
    color: grey !important;
}

.feature-article-fade {
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0)50%, rgba(224, 224, 224, 0)20%, rgba(0, 0, 0, 0.8)75%);
    background: -webkit-linear-gradient(top, #fff0 50%, #e0e0e000 20%, #000c 75%);
    background: linear-gradient(to bottom, #fff0 50%, #e0e0e000 20%, #000c 75%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#cc000000', GradientType=0);
}


/* Content Area - Gallery */

.gallerylargeholder {
    width: 100%;
    margin: 0px 0px 7px 0px;
    text-align: center;
    position: relative;
    background: black;
}

.gallerylarge {
    width: 100%;
    position: relative;
    object-fit: cover;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    height: 366px;
}

.gallerythumblist {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.thumbrowleft {
    background-color: #CCC;
    width: 5%;
    height: 90px;
    display: block;
    float: left
}

.thumbrowright {
    background-color: #CCC;
    width: 5%;
    height: 90px;
    display: block;
    float: left
}

.gallerythumbholder {
    width: 16% !important;
    display: inline-block;
    padding: 5px 1%;
    margin: 2px 1% 0px 0px;
    vertical-align: top;
    text-align: center;
    position: relative;
}

.gallerythumbholder:hover {
    cursor: pointer;
    background-color: #CCC
}

.gallerythumbholderselected {
    cursor: pointer;
    border: 2px solid lime
}

.gallerythumb {
    width: 100%;
    height: 80px;
    position: relative;
    object-fit: cover;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.galleryselected {
    background-color: #CCC
}

@media only screen and (max-width:667px) {
    .gallerylarge {
        height: 250px;
    }
    .gallerythumb {
        height: 50px;
    }
}


/* Content Area - Slider */

.captionholder {
    bottom: 0;
    right: 0;
    padding: 15px 30px;
    position: absolute;
    z-index: 100;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.captionholder h3 {
    color: #FFF;
    font-size: 20px
}

.captionholder p {
    margin-bottom: 0px
}

.captionholder a {
    color: #efefef;
    font-size: 36px;
    text-shadow: 1px 1px #000;
    font-weight: normal;
    margin-bottom: 0px;
    line-height: 40px
}

.captionholder a:hover {
    text-decoration: none;
    color: #fff !Important
}

.slick-slides-gallery-button {
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    font-size: 16px;
    color: #fff;
    opacity: 0.7;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.slick-slides-gallery-button:hover {
    opacity: 1;
}

.slick-slides-gallery {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
}


/* Content Area - Downloads/Menu */

.submenulist,
.downloadmenulist {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.submenulist li,
.visitList li {
    margin-bottom: 0px;
}


/* Pagination */

a.currentpagebutton {
    color: #666;
    padding: 6px;
}

a.pagepreviousnext {
    padding: 4px;
}

a.pagebutton {
    padding: 6px;
}

a.pagebuttonouter {
    color: #000
}

a.pagebuttonouter:hover {
    color: var(--first-color) !Important
}


/* Modal/Popup */

.modal-background {
    display: none;
    overflow: auto;
    position: fixed;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-background::-webkit-scrollbar {
    width: 12px;
}

.modal-background::-webkit-scrollbar-thumb {
    background: #888;
}

.modal-nav {
    background: #FFFFFF;
}

.modal-nav .modal-button {
    background: var(--second-color);
    opacity: 0.5;
}

.modal-nav .modal-button:hover {
    opacity: 1;
}

.modal-nav .modal-button.active {
    opacity: 1;
    cursor: default;
}

.modal-content {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin: 16px;
    padding: 32px;
    width: 90%;
    z-index: 2;
}

.modal-content h3,
.modal-content h4 {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}

.modal-header {
    padding: 16px;
    background-color: #fff;
}

.modal-header h2 {
    margin: 0;
}

.modal-close {
    color: rgba(0, 0, 0, 0.7);
    float: right;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: rgb(0, 0, 0);
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    background: white;
    overflow: auto;
    padding: 16px;
}

.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--second-color);
}

.tab-content {
    padding: 16px;
}

.modal-footer {
    padding-top: 0 !important;
    position: relative;
}

.modal-button {
    color: #FFFFFF !important;
    text-align: center;
    cursor: pointer !important;
    padding: 16px !important;
    font-size: 24px !important;
    width: 50%;
    float: left;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}


/* Scroll Top */

.scroll-top {
    position: fixed;
    z-index: 5;
    right: 8px;
    bottom: -56px;
    font-size: 48px;
    color: var(--first-color);
    opacity: 0;
    cursor: pointer;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.scroll-top.active {
    bottom: 8px;
    opacity: 0.5;
}

.scroll-top:hover {
    opacity: 1;
}

/* Table */

.table {
    overflow-x: auto
}

.table table {
    border-collapse: collapse;
    width: 100%
}

.table td,
.table th {
    padding: 8px
}

.table tr {
    background-color: var(--fourth-color);
    color: #fff;
    -webkit-transition: background-color .3s;
    -moz-transition: background-color .3s;
    -o-transition: background-color .3s;
    transition: background-color .3s
}

.table tr:nth-child(even) {
    background-color: var(--second-color);
    color: #000
}

.table tr:hover {
    background-color: grey;
    color: #d3d3d3
}

.table th {
    padding-top: 16px;
    padding-bottom: 16px;
    text-align: left;
    background-color: var(--second-color);
    color: #fff;
    font-weight: 700
}

.table-label {
    display: none;
    color: var(--second-color);
    font-weight: 700
}

@media only screen and (max-width:677px) {
    .table th {
        display: none
    }
    .table tr {
        display: block;
        margin-bottom: 16px;
        background-color: #d3d3d3;
        color: #000
    }
    .table-label {
        display: block
    }
}


/* Cursor */

.pointer {
    cursor: pointer;
}