﻿
@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/*Main holder div for content*/
#MasterDiv {
    /*height: 100%;*/
    min-height: 100%;
    position: relative;
}

/*For IE*/
@supports (-webkit-appearance:none, #MasterDiv) {
    height: 100%;
    position: relative;
}

#MainContentBody {
    position: relative;
    /* height of footer */
    /*padding-bottom: 500px;*/
    /*padding-bottom: 200px;*/
    min-height: 700px;
    
    margin-bottom: 1em;
    
}

header a, a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

#LeoFooter {
    position: relative;
    /*position: relative;*/
    bottom: 0;
    left: 0;
    width: 100%;
   
    /*min-height: 25%;*/
    /*height: 500px;*/
}

.validator {
    color: red;
}

.leolinksmall {
    cursor: pointer;
    color: darkorange;
    font-size: 12px;
    padding: 5px 10px;
    text-decoration: none;
}

.leolinkstandard {
    cursor: pointer;
    color: cadetblue;
    font-weight: bold;
    font-size: 14px;
}

    .leolinkstandard:hover {
        background-color: aliceblue;
    }



.LeoPointer {
    cursor: pointer;
}

.LeoImagePlain {
    max-height: 100%;
    max-width: 100%;
}

.LeoImage {
    border-color: wheat;
    border-style: ridge;
    border-width: 4px;
    max-height: 100%;
    max-width: 100%;
}

.LeoImageGreyScale {
    border-color: wheat;
    border-style: ridge;
    border-width: 4px;
    max-height: 100%;
    max-width: 100%;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

/*Max width tables*/
/*Plain table width*/
.MaxTable {
    width: 100%;
    border: none;
}

    .MaxTable tr td {
        padding: 5px;
    }

        .MaxTable tr td.tinycell {
            width: 2em;
        }

        .MaxTable tr td.mediumcell {
            width: 8em;
        }

.WideDivInfo {
    width: 100%;
    background-color: linen;
    padding: 5px;
}

/*Custom Indents*/
.Indent1x {
    padding-left: .5em;
}

.Indent2x {
    padding-left: 1em;
}

.Indent3x {
    padding-left: 1.5em;
}

.Indent4x {
    padding-left: 2em;
}

.IsLandscapeImage {
    /*For rotating images that come in in landscape orientation;*/
    display: block;
    /*margin-left: auto; 
    margin-right: auto ;*/
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.BackgroundDiv {
    margin: 5px;
    padding: 5px;
    /*border-color: gray;
    border-width: .2em;
    border-radius: .1em;*/
}

/*For special gallery*/

.hide-bullets {
    list-style: none;
    margin-left: -40px;
    margin-top: 0px;
}

.thumbnail {
    padding: 0;
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img {
    width: 100%;
}

.LeoPageTitles {
    margin: .5em;
}

.alert {
    margin: 0;
}

.breadcrumb {
    margin: 0;
}

/*Change objects on hover*/
.grow {
    transition: all .2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
}

    .grow:hover {
        transform: scale(1.08);
        -webkit-transform: scale(1.08);
        -moz-transform: scale(1.08);
    }

/*Overlay from the side*/
.overlay {
    /* Height & width depends on how you want to reveal the overlay */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

    /* When you mouse over the navigation links, change their color */
    .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
    }

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px;
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/*Custom Check Boxes*/
/* Customize the label (the container) */
.chkbx_container {
  display: block;
  position: relative;
  padding-left: 35px;
  /*margin-bottom: 12px;*/
  cursor: pointer;
  /*font-size: 22px;*/
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.chkbx_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.chkbx_container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.chkbx_container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.chkbx_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.chkbx_container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}