/*
DO NOT EDIT THIS FILE
THIS IS THE DEFAULT CSS FILE
IT SITS ABOVE THE WEBSITE CSS FILE
PLACE EDITS IN THE WEBSITES CSS FILE
*/
.carousel.fade {
     opacity: 1;
}
.carousel.fade .item {
    transition: opacity ease-out .7s;
    left: 0;
    opacity: 0; /* hide all slides */
    top: 0;
    position: absolute;
    width: 100%;
    display: block;
}
.carousel.fade .item:first-child {
    top: auto;
    opacity: 1; /* show first slide */
    position: relative;
}
.carousel.fade .item.active {
    opacity: 1;
}


body[id^=gallery] #gallery-top-menu {
margin:10px 0 10px 0;
float:right;
text-align:right;
}

body[id^=gallery] #gallery-bottom-menu {
display:block;
margin:20px auto;
text-align:center;
}

body[id^=gallery] #gallery-search-form {
margin:20px auto;
text-align:center;
padding:8px;
background-color:#f1f1f1;
}

body[id^=gallery] #gallery-search-form #submit{
font-weight:bold;
border:1px solid #ccc;
margin:0 10px;
}

body#gallery i.fa-youtube{
font-size:120px !important;
}

body#gallery-slides #gallery-desc {
margin:20px auto;
display:block;
clear:both;
}

body[id^=gallery] #gallery-flex-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: flex-end;
align-content: space-between;
}

body[id^=gallery] #gallery-flex-container .item {
margin:20px;
background-color:#f1f1f1;
padding:20px;
text-align:center;
border-radius:8px;
}

body#gallery #gallery-flex-container .item {
width:700px;
}

body#gallery-slides #gallery-flex-container .item {
width:700px;
}

@media (min-width: 992px) {

	body#gallery #gallery-flex-container .item ,
        body#gallery-slides #gallery-flex-container .item {
        width:400px;
        }
}


body[id^=gallery] #gallery-flex-container .item img{
margin:20px auto;
max-width: 100%;
height: auto;
border-radius: 8px;
}

body[id^=gallery] #gallery-flex-container .item .name{
display:block;
margin:5px auto;
font-weight:bold;
font-size:110%;
}

body[id^=gallery] #gallery-flex-container .item .display_date{
font-size:14px !important;
display:block;
}

body[id^=gallery] #gallery-flex-container .item .desc{
display:block !important;
clear:both;
text-align:left !important;
margin:10px auto;
}

body[id^=gallery] #gallery-flex-container .item .desc button{
margin:0 auto;
display:block !important;
text-align:center;
font-size:80%;
}

body[id^=gallery] #gallery-flex-container .item .desc .collapse{
padding:10px 0 !important;
}

body[id^=gallery] div.photoModal {
background-color: transparent;
text-align:center;
}

body[id^=gallery] div.photoModal .close {
    opacity: 1;
    color: black;
    margin-left: 20px;
    margin-top: -25px;
}

body[id^=gallery] div.photoModal .modal-content {
    background-color: white;
    box-shadow: none ;
min-width:250px;
margin:0 auto;
padding:10px;
}

body[id^=gallery] div.photoModal .modal-dialog{
    display: table;
    width: auto;
    margin-top: 20px;
    background-color: white;
}

body[id^=gallery] div.photoModal .modal-header {
background-color:transparent;
}

body[id^=gallery] div.photoModal .modal-body {
padding: 0px;
background-color:transparent;
}

body[id^=gallery] div.photoModal .modal-body img {
max-height: 90vh;
max-width: 90vw;
margin:0 auto;
border:15px solid white;
}



body[id^=gallery] #gallery-pagination{
margin:20px auto !important;
text-align:center !important;
display:block !important;
clear:both;
}


body[id^=gallery] #gallery-pagination{
margin:20px auto !important;
text-align:center !important;
display:block !important;
clear:both;
}

body[id^=gallery] #gallery-pagination .pagination{
text-align:center !important;
}

body[id^=gallery] .pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
 margin: 0 4px;
border: 1px solid #ddd; /* Gray */
}


body[id^=gallery] .pagination a.active {
    background-color: #999;
    color: white;
}

body[id^=gallery] .pagination a:hover:not(.active) {
background-color: #ddd;
}
body[id^=gallery] .modal-dialog {
    max-width: 80vw;
}

