﻿/* ===GLOBAL=== */
body {
    overflow-y: scroll;
    font-size: 16px;
}

input, textarea {
    font-size: 14px;
}

select, input {
    -webkit-appearance: none;
}

textarea {
    display: block;
    background-color: #FFF;
}

h1 {
    font-size: 32px;
    font-weight: normal;
    line-height: 30px;
    padding: 0px;
    padding-bottom: 25px;
}

h2 {
    font-size: 18px;
    padding-top: 20px;
}

h3 {
    font-weight: normal;
    margin: 0 0 10px 0;
}

p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
}

hr {
    border-top: 1px solid #BBB;
}

/* ===PAGE CONTAINERS=== */
#outer-wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto;
}

.content-container {
    position: relative;
    height: 100%;
    width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

    .content-container:before {
        display: table;
        content: "";
        line-height: 0;
    }

    .content-container:after {
        display: table;
        content: "";
        line-height: 0;
        clear: both;
    }

.row {
    margin-left: -15px;
    margin-right: -15px;
}

/* ===BUTTON=== */
.btn {
    display: inline;
    vertical-align: middle;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    padding: 12px 25px;
    margin: 0;
}

    .btn:focus {
        outline: 5px -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .btn:active {
        outline: 0;
    }

.btn-disabled {
    cursor: default;
}

    .btn-disabled:focus {
        outline: none;
        outline-offset: 0px;
    }

    .btn-disabled:active {
        outline: 0;
    }

/* ===YOUTUBE=== */
.youtube-box {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 30px;
}

    .youtube-box iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* ===ERROR/SUCCESS MESSAGE=== */
.error-message {
    font-size: 12px !important;
    padding: 7px 5px;
    margin-bottom: 5px;
    color: #37424b;
    text-align: right;
}

.errorMsg {
    min-height: 50px;
    width: 100%;
    background-color: #d9534f;
    border: 1px solid #801e1c;
    color: #FFF;
    padding: 15px;
}

.successMsg {
    padding: 15px 0;
    text-align: center;
    font-size: 26px;
    font-weight: 300;
}

/* ===CLEARFIX=== */
.clear {
    clear: both;
}

    .clear:after {
        content: "";
        display: table;
        clear: both;
    }

/* ===JAVASCRIPT CLASS=== */
.expand {
    height: auto !important;
    display: block !important;
}

.collapse {
    height: auto !important;
    display: none;
}

/* ===MEDIA QUERIES=== */
@media only screen and (max-width: 1220px) {
    .content-container {
        width: 100%;
    }
}


/* === FLEXBOX LAYOUT === */
.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.flex-row > *.col {
    display: block;
}

.flex-row > *.col-1 {
    width: 8.333333333333333%;
}

.flex-row > *.col-2 {
    width: 16.66666666666666%;
}

.flex-row > *.col-3 {
    width: 25%;
}

.flex-row > *.col-4 {
    width: 33.33333333333333%;
}

.flex-row > *.col-5 {
    width: 41.66666666666666%;
}

.flex-row > *.col-6 {
    width: 50%;
}

.flex-row > *.col-7 {
    width: 58.33333333333333%;
}

.flex-row > *.col-8 {
    width: 66.66666666666666%;
}

.flex-row > *.col-9 {
    width: 75%;
}

.flex-row > *.col-10 {
    width: 83.33333333333333%;
}

.flex-row > *.col-11 {
    width: 91.66666666666666%;
}

.flex-row > *.col-12 {
    width: 100%;
}

.flex-row > *.col {
    padding: 12.5px;
}





@media screen and (max-width: 980px) {
    .flex-row > *.col-md-4 {
        width: 33.33333333333%;
    }

    .flex-row > *.col-md-6 {
        width: 50%;
    }

    .flex-row > *.col-md-8 {
        width: 75%;
    }

    .flex-row > *.col-md-12 {
        width: 100%;
    } 
}

@media screen and (max-width:720px) {
    .flex-row > *.col-sm-4 {
        width: 33.33333333333%;
    }

    .flex-row > *.col-sm-6 {
        width: 50%;
    }

    .flex-row > *.col-sm-8 {
        width: 75%;
    }

    .flex-row > *.col-sm-12 {
        width: 100%;
    } 
}

/*@media screen and (max-width: 900px) {
    .flex-row > *.col {
        width: 100%;
    }
}*/



/* Base Card Layout */
.cards {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    justify-content: flex-start;
}

.card {
    display: block;
    width: calc(33.333333% - 30px);
    margin: 15px;
}

.card-image {
    display: block;
    position: relative;
    overflow: hidden;
}

.card-image.card-image-placeholder {
    background-size: cover;
    background-position: center center;
}

.card-image:before {
    content: " ";
    padding-top: 133.3333333333333%;
    display: block;
}

.card-image-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
    background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
    background: -o-linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
    background: -ms-linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
    color: #fff;
    padding-top: 25px;
}

ul.image-caption-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    margin-bottom: 10px;
}

ul.image-caption-list > li > span {
    display: flex;
    padding: 10px;
    cursor: pointer;
    background: #fff;
    color: #000;
    margin: 5px;
}

ul.image-caption-list > li > span[data-href] > * {
    pointer-events: none;
}

.image-caption h2 {
    font-size: 22px;
    font-weight: 400;
    padding-bottom: 0;
    margin-bottom: 7px;
}

.image-caption h3 {
    font-size: 14px;
    font-weight: lighter;
    color: #bbb;
}


.image-caption {
    background: none;
}

    .image-caption:before {
        position: absolute;
        content: " ";
        top: -20px;
        bottom: 0;
        left: 0;
        width: 100%;
        background: -moz-linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
        background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
        background: -o-linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
        background: -ms-linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 35%);
        opacity: 0;
        transition: all 0.5s;
    }

a.card:hover .image-caption:before {
    opacity: 1;
}

.image-caption-content {
    z-index: 1;
    position: relative;
}

.card-body {
    padding: 15px;
    position: relative;

    /*height: 200px;*/
}


.card-image-inner.placeholder-image:after {
    content: "Photo Coming Soon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: #005493;
    user-select: none;
    text-align: center;
}

a.card.card-has-footer {
    padding-bottom: 36px;
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 36px;
    color: #fff;
    background: #005493;
    padding: 10px 15px;
    text-align: left;
}





/* Info Tabs */

.info-tab-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

    .info-tab-navigation > a.info-tab-button {
        padding: 10px;
        background: #000000;
        margin: 0 7.5px;
        border-radius: 3px;
        color: #fff;
        transition: all 0.15s;
        cursor: pointer;
        user-select: none;
    }

        .info-tab-navigation > a.info-tab-button.info-tab-button-active {
            background: #8fc74a;
        }

.info-tab {
    display: none;
}

    .info-tab.tab-active {
        display: block;
    }