﻿body {
    padding-bottom: 20px;
    /*background-color:darkgrey;
    color:lightgrey*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.modal-dialog {
    max-width: 100%;
}

* {
    box-sizing: border-box;
}



.viewer-title {
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 20px
}



/* Container needed to position the overlay. Adjust the width as needed */
.viewer-container {
    position: relative;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px
}

/* Make the image to responsive */
.viewer-photo {
    display: block;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    width: 100%;
    border: 1px solid grey;
    box-shadow: #B3B3B3 6px 6px 6px;
    outline: none
}

.viewer-video-map-container {
    position: relative;
    padding-bottom: 56.25%;
    box-shadow: #B3B3B3 6px 6px 6px;
    max-width: 100%;
    height: 0;
    overflow: hidden
}

.viewer-video-map {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin-bottom: 5px;
    border: 1px solid grey
}

.viewer-pdf {
    display: block;
    width: 20%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    box-shadow: #B3B3B3 6px 6px 6px;
    outline: none
}





/* The overlay effect - lays on top of the container and over the image */

.viewer-caption {
    text-align: center;
    font-size: 20px;
    font-style: italic;
    padding-bottom: 20px
}

.viewer-button {
    text-align: center;
    padding-bottom: 20px
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    color: #f1f1f1;
    width: auto;
    transition: .5s ease;
    opacity: 1;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
}

.prev {
    text-align: left;
}

.next {
    right: 0;
}

@media (hover:hover) {
    .prev, .next {
        opacity: 0;
    }
}


/* When you mouse over the container, fade in the overlay title */
.viewer-container:hover .prev, .viewer-container:hover .next {
    opacity: 1;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}


.control-buttons {
    padding-top: 5px;
    padding-bottom: 5px
}

.control-selectors {
    padding-top: 10px
}

.control-pager {
    font-weight: bold;
    padding-top: 10px
}

.control-create {
    padding-top: 10px;
}

/* Gallery Styles */
.gallery-container {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: justify
}

.gallery-mediacontainer {
    width: 291px; /* This width determines space between media items - this is max to get 4 media items per row on a desktop PC */
    padding: 10px;
    position: relative /* Forces this to act as the parent for positioning of items inside, specifically the cover */
}

.gallery-photowrapper {
    text-align: center;
    padding: 0px;
    display: table;
    width: 266px; /* This width is set to max width of a landscape photo, so caption text can take up full width even with a portrait photo */
    margin: 0 auto
}

.gallery-photo {
    border: 1px solid grey;
    box-shadow: #B3B3B3 6px 6px 6px;
    outline: none;
    margin-bottom: 5px
}

.gallery-pdfwrapper {
    text-align: center;
    padding: 0px;
    display: table;
    width: 266px; /* This width is set to max width of a landscape photo, so caption text can take up full width even with a portrait photo */
    margin: 0 auto
}

.gallery-pdf {
    box-shadow: #B3B3B3 6px 6px 6px;
    outline: none;
    height:156px;
    margin-top: 55px;
    margin-bottom: 55px
}

.iconregion-sectionwrapper {
    text-align: left;
    padding: 0px 0px 0px 0px;
    display: table;
    margin: 10px 0px 0px 0px  
}

.iconregion-itemwrapper {
    text-align: center;
    float: left;
    padding: 15px 15px 0px 0px;
    width: 120px; /* This width is set to max width of a landscape photo, so caption text can take up full width even with a portrait photo */
    margin: 15px 15px 0px 0px
}

.iconregion-iconwrapper {
    box-shadow: #B3B3B3 6px 6px 6px;
    outline: none;
    width: 40px;
    margin-bottom: 10px
}

.iconregion-captionwrapper {
    outline: none;
    width: 100%
}

.gallery-photocaption {
    text-align: center;
    padding: 0px
}

.gallery-videomapwrapper {
    text-align: center;
    padding: 0px;
    display: table;
    position:relative;
    width: 150px;
    margin: 0 auto
}



.gallery-video {
    max-height: 266px;
    max-width: 266px;
    border-left:16px solid transparent;
    border-right:16px solid transparent;
    border-bottom: 2px solid grey;
    border-top:2px solid grey;
    border-image: url(/images/icons/Sprocket9.png) 34% 34% 34% 34% repeat;
    box-shadow: #B3B3B3 6px 6px 6px;
    margin-bottom: 5px
}

.gallery-map {
    max-height: 266px;
    max-width: 266px;
    border: 1px solid grey;
    box-shadow: #B3B3B3 6px 6px 6px;
    margin-bottom: 5px
}

.gallery-videomap {
    max-height: 266px;
    max-width: 266px;
    border: 1px solid grey;
    box-shadow: #B3B3B3 6px 6px 6px;
    margin-bottom: 5px
}

.gallery-videomapcaption {
    text-align: center;
    padding: 0px
}



.gallery-videocover {
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    width: 100%;
    background-image:url(/images/icons/play.png);
    background-repeat:no-repeat;
    background-size:40px;
    background-position:12% 10%;
    opacity:0.9;
    height: 165px;
    z-index: 5
}


.gallery-mapcover {
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    width: 100%;
    height: 165px;
    z-index: 5
}


/* Report styles */

.report-container {
    margin-bottom: 15px;
    box-shadow: #B3B3B3 6px 6px 6px;
    margin: 0;
    padding: 2px;
    text-align: justify;
    margin-bottom: 40px
}

.report-title {
    font-size: 16px;
    padding: 10px;
    margin: 0
}

.report-title-datetime {
    font-weight: bold;
    text-align: left
}

.report-title-title {
    font-weight: bold;
    text-align: center
}

.report-title-weather {
    font-weight: bold;
    text-align: right
}

.report-title-participants {
    padding-top: 15px;
    text-align: left
}

.report-textwrap-body {
    padding: 10px;
    background-color: white;
    color: black
}


.report-mediawrap-body {
    background-color: white;
    color: black;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: space-between
}


.report-textwrap-mediacolumn {
    float: right;
    padding: 0px;
    margin-left: 10px;
    margin-bottom: 10px;
    margin-top: -10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch
}


.report-textwrap-textcolumn {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-left: 0px
}

.report-mediawrap-mediacolumn {
    float: right;
    width: 283px;
    padding: 0px;
    margin-left: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch
}


.report-mediacontainer {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    min-width: 283px;
    font-style: italic;

}

.events-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch
}

.events-eventcontainer {
    width: 281px;
    padding-top: 5px;
    background-color: whitesmoke;
    padding-bottom: 5px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 15px;
    position: relative;
    border-radius: 25px;
    margin-bottom: 15px;
    box-shadow: #B3B3B3 6px 6px 6px
}

.events-eventsubcontainer {
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 20px 20px;
    background-color: white;
    text-align: center;
    color: black;
    padding-bottom: 10px
}

.events-titleblock {
    background-color: whitesmoke;
    padding: 0px;
    border-radius: 20px 20px 0px 0px;
    padding: 10px 0px 10px 0px;
    margin-bottom: 5px
}

.events-title {
    font-weight: bold;
    font-size: large
}

.events-subtitle {
    padding-bottom: 5px;
    font-size: larger
}

.events-participants {
    padding-top: 5px
}

.events-mediacontainer {
    text-align: center;
    margin: 10px 10px 0px 10px;
}

.events-coloursquare {
    width: 40px;
    margin: 5px
}

.events-photo {
    border: 1px solid grey;
    box-shadow: #B3B3B3 6px 6px 6px;
    outline: none;
    margin-bottom: 5px;
    max-width: 100%
}

.events-pdf {
    box-shadow: #B3B3B3 6px 6px 6px;
    outline: none;
    margin-bottom: 5px;
    max-width: 20%
}


.events-videomap {
    width: 240px;
    border: 1px solid grey;
    box-shadow: #B3B3B3 6px 6px 6px;
    margin-bottom: 5px
}


.events-coloursquare {
    width: 40px;
    margin: 5px
}

.easyadmin-coloursquare {
    width: 40px;
    margin: 5px
}

.easyadmin-reportbuttons {
    padding-bottom: 2px;
    white-space: nowrap
}
.events-counter {
    text-align: center
}

.selector {
    margin-bottom: 10px
}