/* GLOBAL STYLES
-------------------------------------------------- */
body {
    -webkit-font-smoothing: antialiased;
    padding-top: 0;
    padding-bottom: 0;
    right: 0;
    left: 0;
    overflow-x: hidden;
    font-size: 100%;
}

    body::-webkit-scrollbar {
        width: 1em;
    }

    body::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    }

    body::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        outline: 1px solid slategrey;
    }

@media (min-width: 768px) {
    .modal-xl {
        width: 90% !important;
    }
    .modal-lg {
        width: 90% !important;
    }
}



.thumbnail,
.img-thumbnail {
    border-radius: 0 !important;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    padding: 0 !important;
}

a {
    text-decoration: none;
}

/**:focus {
    outline: 0;
}*/

.dropdown-toggle:focus {
    outline:  auto;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/* Responsive: Portrait tablets and up */
@media (min-width: 768px) {
    /* Set widths on the form inputs since otherwise they're 100% wide */
    input,
    select,
    textarea {
        max-width: 280px;
    }

    html, body {
        height: 100%;
        width: 100%;
    }
}

#imageModal .modal-header {
    border-bottom: none;
}

/* PAGES
-------------------------------------------------- */

.page-sub-header {
    text-align: center;
    padding: 10px 0 20px;
    border-bottom: 1px solid #222;
}

    .page-sub-header h1 {
        font-size: 1.5em;
        font-weight: 700;
    }

        .page-sub-header h1 span.leader {
            font-family: Consolas,Monaco,monospace;
            text-transform: uppercase;
            font-size: 15px;
            font-weight: 300;
            padding-bottom: 10px;
            border-bottom: 1px solid #d1d3d4;
            margin-bottom: 15px;
            color: #999;
            display: block;
            border-bottom: none;
            padding-bottom: 0;
            margin-bottom: 10px;
        }

/* ROWS
-------------------------------------------------- */
/* Default content row padding */
.row-pad-0, .row-pad-1, .row-pad-2, .row-pad-3, .row-pad-4, .row-pad-5 {
    padding-left: 5%;
    padding-right: 5%;
}

@media (min-width: 992px) {

    .row-pad-0 {
        padding-left: 8.33333333%;
        padding-right: 8.33333333%;
    }
}

@media (min-width: 992px) {
    .row-pad-1 {
        padding-left: 8.33333333%;
        padding-right: 8.33333333%;
    }

    .row-pad-2 {
        padding-left: 16.66666667%;
        padding-right: 16.66666667%;
    }

    .row-pad-3 {
        padding-left: 25%;
        padding-right: 25%;
    }

    .row-pad-4 {
        padding-left: 33.33333333%;
        padding-right: 33.33333333%;
    }

    .row-pad-5 {
        padding-left: 41.66666667%;
        padding-right: 41.66666667%;
    }
}

.row-content {
    background-color: transparent;
    padding-bottom: 30px;
    padding-top: 60px;
}


div.row-content[data-render-loc="1"] {
    padding-top: 25px !important;
}

@media (max-width: 767px) {
    div.row-content[data-render-loc="1"]:before {
        height: 2px;
        left: 40px;
        top: 12.5px;
        width: 37.66px;
    }
}

div.row-content[data-render-loc="1"]:before {
    position: absolute;
    content: "";
    /*width: 55px;*/
    /*height: 1px;*/
    background-color: #003366;
    /*left: -65px;
        top: 50%;*/
}

.row-header {
    font-size: 36px;
    color: #696969;
    line-height: 1.15em;
    margin: 0 0 11px;
    font-style: normal;
    font-weight: 200;
    width: 100%;
    text-align: center;
    padding: 0 0 30px 0;
}
/*Row arrows*/
.row-color-gray {
    position: relative;
    background: #f0f0f0;
}

    .row-color-gray.arrow:after {
        top: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(240, 240, 240, 0);
        border-top-color: #f0f0f0;
        border-width: 30px;
        margin-left: -30px;
    }

.row-color-white {
    position: relative;
    background: #fff;
}

    .row-color-white.arrow:after {
        top: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(255, 255, 255, 0);
        border-top-color: #fff;
        border-width: 30px;
        margin-left: -30px;
    }


.row-color-blue {
    position: relative;
    background: #e8eff7;
}

    .row-color-blue.arrow:after {
        top: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(232, 239, 247, 0);
        border-top-color: #e8eff7;
        border-width: 30px;
        margin-left: -30px;
    }

.row-color-dark-blue {
    position: relative;
    background: #003366;
}

    .row-color-dark-blue.arrow:after {
        top: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(232, 239, 247, 0);
        border-top-color: #003366;
        border-width: 30px;
        margin-left: -30px;
    }


/*Row slide animation*/
.come-in {
    -moz-transform: translateY(500px);
    -ms-transform: translateY(500px);
    -o-transform: translateY(500px);
    -webkit-transform: translateY(500px);
    transform: translateY(500px);
    -moz-animation: come-in 1s ease forwards;
    -o-animation: come-in 1s ease forwards;
    -webkit-animation: come-in 1s ease forwards;
    animation: come-in 1s ease forwards;
}

    .come-in:nth-child(odd) {
        -moz-animation-duration: 0.6s;
        -o-animation-duration: 0.6s;
        -webkit-animation-duration: 0.6s;
        animation-duration: 0.6s;
    }

.already-visible {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -moz-animation: none;
    -o-animation: none;
    -webkit-animation: none;
    animation: none;
}

@-webkit-keyframes come-in {
    to {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes come-in {
    to {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes come-in {
    to {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
/* Responsive: Portrait tablets and up */
@media (min-width: 768px) {

    [data-type="row"] {
        display: flex;
    }

    .row-pad-sm {
        padding-left: 50px;
        padding-right: 50px;
    }

    .row-pad-md {
        padding-left: 75px;
        padding-right: 75px;
    }
}
/* Responsive: Desktops and up */
@media (min-width: 992px) {
    .row-pad-lg {
        padding-left: 100px;
        padding-right: 100px;
    }
}
/* MODULES
-------------------------------------------------- */

[module] {
    position: relative;
    border: 2px solid transparent !important;
    border-radius: 4px;
    padding: 0 5px;
}

.col-header-blue {
    color: #036;
    margin: 10px 0;
    /*font-family: 'Open Sans Light', sans-serif;*/
}

.light-blue {
    color: #336699 !important;
}

.dark-blue {
    color: #003366 !important;
}

.dark-grey {
    color: #333 !important;
}

.col-header {
    color: #036;
    line-height: 1.15em;
    margin: 0 0 11px;
    font-style: normal;
    width: 100%;
    margin-bottom: 25px;
    /*font-family: 'Open Sans Light', sans-serif !important;*/
    font-weight: 600;
}




@media (max-width: 767px) {
    [module] {
        margin: 0 0;
    }

    .col-header:empty {
        display: none;
    }

    [module-header].header-lg {
        font-size: 2em;
    }

    [module-header].header-md {
        font-size: 1.5em;
    }

    [module-header].header-sm {
        font-size: 1em;
        margin: 0 0 1em;
    }
}

@media (min-width: 768px) {

    /*Dynamic header font size*/
    [module-header].header-lg {
        font-size: 3em;
    }

    [module-header].header-md {
        font-size: 1.7em;
    }

    [module-header].header-sm {
        font-size: 1.25em;
        margin: 0 0 1.25em;
    }
}

/* ACCORDIAN */

[data-module-type="Accordion"] .panel {
    border-radius: 0 !important;
    border: none;
    border-bottom: 1px solid #ccc;
    -webkit-box-shadow: none;
    box-shadow: none;
}

[data-module-type="Accordion"] .panel-heading {
    color: #336699;
    background-color: #ffffff;
    padding: 0;
}

    [data-module-type="Accordion"] .panel-heading:hover {
        color: #555;
        text-decoration: none;
        background-color: #f5f5f5;
    }

    [data-module-type="Accordion"] .panel-heading .accordion-toggle:after {
        /* symbol for "opening" panels */
        font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
        content: "\2212"; /* adjust as needed, taken from bootstrap.css */
        float: right; /* adjust as needed */
        color: grey; /* adjust as needed */
        font-size: 12px;
    }

    [data-module-type="Accordion"] .panel-heading .accordion-toggle.collapsed:after {
        /* symbol for "collapsed" panels */
        content: "\2b" !important; /* adjust as needed, taken from bootstrap.css */
    }

[data-module-type="Accordion"] .panel-title {
    font-size: 18px;
    width: 100%;
    font-weight: 400 !important;
}

    [data-module-type="Accordion"] .panel-title > a {
        width: 100%;
        display: inline-block;
        padding: 18px;
    }
/* Advertisements */
.advertisement-icon {
    border-radius: 3px;
    color: #006621;
    display: inline-block;
    /*font-size: 11px;*/
    border: 1px solid #006621;
    padding: 1px 3px 0 2px;
    /*line-height: 11px;*/
    vertical-align: baseline;
}

.web-ad {
    max-width: 300px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .web-ad {
        width: 100%;
        padding-bottom: 10px;
        max-width: none;
    }
}

/*Text
--------------------------*/

@media (max-width: 767px) {
    [data-module-type="Text"] > .panel {
        border: none;
    }

    [data-module-type="Text"] .panel-body {
        padding: 0;
    }
}

@media (min-width: 768px) {

    [data-module-type="Text"] .solo-image {
        padding: 15px 25%;
    }
}

.section-title:empty {
    display: none;
}

.section-title {
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
    margin: 0 15px;
}

.module-content-text {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 200;
}

    .module-content-text * {
        line-height: 1.75em !important;
        font-family: 'Roboto', sans-serif !important;
    }

    .module-content-text img {
        max-width: 100%;
        padding: 15px;
    }

@media (max-width: 767px) {
    .module-content-text img {
        width: 100% !important;
        float: none !important;
    }
}

.twitter-tweet {
    margin-left: auto;
    margin-right: auto;
}

/* Featurettes
------------------------- */
.featurette {
    /*max-width: 1150px;*/
    float: none;
    /*padding-top: 30px;
    padding-bottom: 30px;*/
}

.image-box.image-box-horizontal .col-md-5 {
    padding: 0;
}

@media (min-width: 992px) {

    [data-module-type="Advertisement"] {
        /*padding: 0 12.5%;*/
    }
}

@media (min-width: 768px) {

    .image-box.image-box-horizontal .col-image.static > div.aspect-ratio-wrapper {
        position: static !important;
    }

    .image-box.image-box-horizontal .col-image.static {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }
}

@media (min-width: 768px) {

    .image-box.image-box-horizontal .col-image {
        border-right: 1px solid #dadada;
        padding: 0;
    }

    .image-box.image-box-horizontal .col-text {
        padding-top: 30px;
        padding-bottom: 30px;
        float: right !important;
    }

    .image-box.image-box-horizontal .img-box-caption {
        /*font-size: 16px*/
    }

        .image-box.image-box-horizontal .img-box-caption h3 {
            border-bottom: 1px solid #dadada;
            padding: 0 0 20px;
            font-size: 24px;
            line-height: 32px;
        }
}

@media (max-width: 767px) {
    .image-box.image-box-horizontal .col-image {
        border-bottom: 1px solid #dadada;
        margin: 0 0 20px;
        padding: 0;
    }

    .image-box.image-box-horizontal .col-text {
        padding: 0;
    }
}

a .featurette, a.featurette:hover, a.featurette h4, a.featurette p {
    text-decoration: none;
}





/* Thin out the marketing headings */

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: normal;
    font-size: 3em;
}

@media (min-width: 992px) {

    .featurette-heading {
        /*  margin-top: 120px;*/
    }
}



@media (max-width: 767px) {

    .featurette-heading {
        padding-top: 10px;
        font-size: 30px;
    }
}

.advertisement {
    margin-bottom: 20px;
}


/*CAROUSEL*/

.carousel {
    margin-bottom: 25px;
}

.carousel-inner > .item > img {
    top: 0;
    left: 0;
    min-width: 100%;
}

.carousel-indicators .active {
    width: 8px;
    height: 8px;
    background: #337ab7;
    margin: 2px;
    display:none;
}

.carousel-indicators li {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border: none;
    border-radius: 8px;
    margin: 2px;
}

.carousel-indicators {
    margin-bottom: -30px;
    bottom: 0;
    width: 100%;
    margin-left: -50%;
}

@media (max-width: 767px) {

    .carousel-indicators {
        display: none;
    }
}

/*.carousel.slide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}*/
/* FILE GROUP */
.file-group-item-heading {
    font-size: 14px !important;
    font-weight: 400;
    margin-bottom: 10px;
}

.file-group-item-text {
    margin-top: 10px;
    padding-right: 10px;
}

.file-group span.glyphicon {
    font-size: 16px;
}

/* LIST GROUP */

.list-group-item {
    border-radius: 0 !important;
}

.list-group-item-text {
    line-height: 1.6em !important;
    font-size: 12px;
}

.list-group-item-heading {
    font-size: 14px !important;
    font-weight: 600;
    margin-bottom: 10px
}

.list-group-item > span.glyphicon {
    float: right;
    color: grey;
}

.list-group-grey .list-group-item-text {
    border-top: 1px solid #e1e1e1;
    padding: 10px 0 0;
}

.list-group-grey > a.list-group-item {
    background-color: #f8f8f8;
    border: 0;
    border: 1px solid #e7e7e7;
    margin-bottom: 10px;
}

    .list-group-grey > a.list-group-item:hover,
    .list-group-grey > a.list-group-item:active {
        background: #e8eff7;
    }


/* BUTTON */
a.button {
    text-align: left;
}

    a.button > .button-text {
        white-space: normal;
        min-height: 40px;
        padding-top: 8px;
        margin-left: 10px;
        display: inline-block;
    }

    a.button > .icon:before {
        width: 16px;
        height: 16px;
    }

    a.button > .icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        color: #FFF;
        background-color: #336699;
        text-align: center;
        padding-top: 9px;
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        -o-border-radius: 50%;
    }

/* IMAGE LINK */
.img-link {
    overflow: visible !important;
}


.img-link-info.title-hidden {
    display: none;
}

.img-link-info {
    left: 4px;
    bottom: 4px;
    right: 4px;
    position: absolute;
}

    .img-link-info.caption {
        padding: 1% 9px !important;
    }

    .img-link-info.bkgd-gradient {
        background: rgba(0,0,0,0.25);
    }

.img-link > a {
    position: relative;
}

.img-link-info [data-name="title"],
.img-link-info p {
    color: #fff;
    margin: 0 auto;
    padding: 10px;
}

.img-link-info [data-name="title"] {
    letter-spacing: .5px;
    font-size: 16px;
    font-weight:400;
}

.img-link img {
    max-height: 100%;
    width: 100%;
}

.img-link .aspect-ratio-wrapper {
    overflow: hidden;
}

.img-link-info [data-name="title"]:after {
    content: '';
}

@media (min-width: 768px) and (max-width:991px) {
    .img-link-info [data-name="title"], .img-link-info p {
        font-size: 14px;
    }
}

@media (min-width: 992px), (max-width: 767px) {
    .img-link-info [data-name="title"]:after {
        /* symbol for "opening" panels */
        font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
        content: "\e080"; /* adjust as needed, taken from bootstrap.css */
        float: right; /* adjust as needed */
        color: rgb(232, 239, 247); /* adjust as needed */
    }
}

.img-link > a:hover [data-name="title"],
.img-link > a:hover [data-name="title"]:after {
    /*color: #7093b7;*/
}

/* Specify transitions for thumbnail images */
.img-link .img-wrap {
    -webkit-transition: opacity 0.3s linear, transform 0.3s ease;
    -moz-transition: opacity 0.3s linear, transform 0.3s ease;
    -o-transition: opacity 0.3s linear, transform 0.3s ease;
    transition: opacity 0.3s linear, transform 0.3s ease;
}

/* Zoom on hover */
.img-link > a:hover .img-wrap {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

/* Opacity change on hover */
.img-link > a:hover .img-wrap {
    opacity: 0.75;
    filter: alpha(opacity=75);
}

.img-wrap {
    opacity: 1;
    filter: alpha(opacity=100);
}



/*.img-link-info {
    left: 4px;
    bottom: 4px;
    right: 4px;
    position: absolute;
}

.img-link > a {
    position: relative;
}

.img-link-info h4 {
    color: #fff;
}

.img-link img {
    max-height: 100%;
    width: 100%;
}*/

/* IMAGE */
/*------------------------------------------------------------*/

[data-rotate="90"] {
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
}

.center-cropped {
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    background-size: cover;
}

    /* Set the image to fill its parent and make transparent */
    .center-cropped img {
        min-height: 100%;
        min-width: 100%;
        /* IE 8 */
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        /* IE 5-7 */
        filter: alpha(opacity=0);
        /* modern browsers */
        opacity: 0;
    }

/* * Pure CSS aspect ratio with no spacer images or js! :) */
div.aspect-ratio-wrapper {
    width: 100%;
    position: relative;
}

[data-aspect-ratio=""] > div.img-wrap {
    position: static !important; /* Custom */
}

[data-aspect-ratio="1:1"] {
    padding-bottom: 100%; /* Square */
}

[data-aspect-ratio="4:3"] {
    padding-bottom: 75%; /* 4:3 */
}

[data-aspect-ratio="3:2"] {
    padding-bottom: 66.66%; /* 3:2 */
}

[data-aspect-ratio="8:5"] {
    padding-bottom: 62.5%; /* 8:5 */
}

[data-aspect-ratio="16:9"] {
    padding-bottom: 56.25%; /* 16:9 */
}

div.aspect-ratio-wrapper > div.img-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Other aspect ratios to try:
 * 56.25% = 16:9
 * 75% = 4:3
 * 66.66% = 3:2
 * 62.5% = 8:5
 */

@media (min-width: 768px) {
    .img-responsive {
        width: 100% !important;
    }
}

/* MEDIA OBJECT */

.media {
    padding-top: 15px !important;
    border-top: 1px solid #ddd;
}

    .media:first-child {
        padding-top: 0px !important;
        border-top: none;
    }

.media, .media-body {
    overflow: visible;
}

.media-body {
    position: relative;
}

    .media-body a.btn {
        margin-top: 15px;
    }

.media-thumb .media-object img:hover {
    /*cursor: zoom-in;*/
}

.media-thumb .thumbnail {
    margin-bottom: 0;
}

.btn-see-more {
    cursor: pointer;
}

.media-heading-link {
    color: #336699;
    padding-bottom: 10px;
    width: 100%;
}

    .media-heading-link h3 {
        font-weight: 700;
        font-size: 20px !important;
    }



a.url-disabled {
    text-decoration: none;
}

    a.url-disabled:hover {
        text-decoration: none;
        cursor: default;
        border-color: rgb(221, 221, 221) !important;
    }

.media-body [data-name="text"] {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 2em;
}

@media (max-width:991px) {

    /*Clip descrptions on tablet and mobile*/
    .media-body .media-text {
        overflow: hidden;
        line-height: 1.6em;
        max-height: 4.8em;
    }
}




.media-body .post-block-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9a9a9a;
    font-weight: 500;
    text-transform: uppercase;
    align-items: baseline;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-family: sans-serif;
}

.media-social > .list-inline > li {
    padding-left: 10px;
    padding-right: 10px;
}

span.post-date {
    display: block;
    color: #737373;
    /*margin-bottom: 5px;*/
}



.media-share-btn {
    text-decoration: none;
    color: #909090;
}

    .media-share-btn:hover {
        text-decoration: none;
    }


    .media-share-btn.media-facebook:hover {
        color: #4060A5 !important;
    }

    .media-share-btn.media-twitter:hover {
        color: #00ABE3 !important;
    }

.media-heading-link.url-disabled ~ .post-block-info .media-social {
    display: none;
}

@media (max-width: 767px) {
    .media-thumb .aspect-ratio-wrapper {
        width: 100px;
        height: 75px;
    }

    .media-left.media-middle {
        vertical-align: top !important;
    }

    .media-body > div {
        /*font-size: 12px;*/
        /*text-align: justify !important;*/
    }

        .media-body > div[data-name="text"] {
            display: none;
        }

    .media-body a.btn {
        display: none;
    }
    h3.media-heading {
        font-size: 14px !important;
    }
}

/* Condensed */
.condensed .media-thumb .aspect-ratio-wrapper {
    width: 100px;
    height: 75px;
}

.condensed .media-left.media-middle {
    vertical-align: top !important;
}

.condensed .media-body .media-heading {
    font-size: 18px;
}

    .condensed .media-body > div[data-name="text"] {
        display: none;
    }

.condensed .media-body a.btn {
    display: none;
}


@media (min-width: 768px) and (max-width: 991px) {
    .media-thumb .aspect-ratio-wrapper {
        width: 100px;
        height: 100px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .media-thumb .aspect-ratio-wrapper {
        width: 200px;
    }
    .media-body .media-heading {
        font-size: 18px;
    }
}

@media (min-width: 1280px) {
    .media-thumb .aspect-ratio-wrapper {
        width: 300px;
    }
}
/* TABBED CONTENT */

.tab-content {
    padding: 0 20px;
}
/* THUMBNAIL */
/*Thumbnails maintain 100% width regardless of image size*/
.thumbnail img {
    max-height: 100%;
    width: 100%;
}

.thumbnail .btn {
    width: 100%;
    text-align: left;
    padding-top: 20px;
}

.thumbnail hr {
    opacity: 0.5;
}

.thumbnail h {
    font-weight: 600;
}

.img-box-btn {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 0 20px 18px;
}

.image-box.image-box-vertical .aspect-ratio-wrapper {
    border-bottom: 1px solid #dadada;
    margin: 0 0 20px;
}

.thumbnail .caption.img-box-caption {
    padding: 0 30px;
}

.thumbnail .img-box-caption div[data-name="text"] {
    line-height: 2em;
}

/*.image-box .caption {
    position: relative;
}
    .image-box .caption:before {
        height: 2px;
        right: 0;
        top: 10px;
        width: 37.66px;
        position: absolute;
        content: "";
        background-color: #003366;
    }*/
@media (min-width: 768px) {
}

/* EVENT SCHEDULE */

.event {
    -webkit-transition: transform 0.2s linear;
    transition: transform 0.2s linear;
    margin-bottom: 30px;
    /*box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);*/
}

    .event:hover {
        -webkit-transform: scale(1.02,1.02);
        transform: scale(1.02,1.02);
    }

.event-date {
    padding: 0 10px;
    margin-left: -50px;
}

    .event-date > p {
        width: 70px;
        text-align: center;
        padding: 10px 0;
        margin-bottom: 0;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        float: right;
    }

    .event-date .day, .event-date .time {
        font-size: 26px;
    }

    .event-date .day, .event-date .year {
        font-weight: 900;
        display: block;
        line-height: 1;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    }

    .event-date .year, .event-date .date {
        font-size: 14px;
    }

.event-thumb {
    padding: 0 !important;
    max-height: 200px;
}

    .event-thumb .center-cropped {
        width: 100%;
        height: 200px !important;
        margin-bottom: 0 !important;
        border: 1px solid #adc9e2;
    }

@media (min-width: 768px) {
    .event-thumb > .center-cropped {
        float: right;
    }

    .event__body {
        min-height: 200px !important;
    }

    .event-btn {
        padding: 0.5em 3em;
    }
}

@media (max-width: 767px) {
    .event {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.event__body {
    padding: 1em;
    background: #adc9e2;
    /*color: #ffffff;*/
    text-align: center;
}

    .event__body .panel.panel-default {
        margin: 15px 0 0 0;
        border-color: transparent;
        border-radius:0px;
    }

.event-showDate {
    border-bottom: 1px solid #cbe2ec;
    padding-bottom: 0.8em;
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 0.5em;
}

.event-title {
    /*font-size: 1.4rem !important;*/
    color: #ffffff;
    line-height: 1.2;
    margin: 10px 0 30px 0;
    font-weight: 700;
}

.event-btn {
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    line-height: 2.6;
    border-radius: 0;
}


/*SHARE BUTTONS*/
.container-share-btns {
    text-align: center;
}

[data-module-type="Share Buttons"] > h3.col-header {
    /*display: none;*/
}

@media (max-width: 767px) {
    .share-btns.btn-group > .btn, .btn-group-vertical > .btn {
        position: relative;
        float: left;
    }
}

/*Hide Toggle URLs*/
a[data-type="url"].url-toggle {
    /*display: none;*/
}

/*FEATURED IMAGE*/

@media (max-width: 767px) {
    [data-module-type="Featured Image"] {
        margin: 0 -10px;
        padding: 0;
    }

    .image-description {
        padding: 10px;
        font-size: .85em;
        line-height: 1.5em;
    }
}

.image-description {
    color: #909090;
    text-align: center;
    margin-top: 10px;
}

.wallpaper.inline {
    height: auto !important;
}

.wallpaper {
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    max-height: 700px;
    overflow: hidden;
}

.glyphicon.scrollDown {
    color: #fff;
    font-size: 2.5em;
    position: absolute;
    bottom: 60px;
    cursor: pointer;
    top: auto;
}

@media (max-width: 767px) {
    .glyphicon.scrollDown {
        font-size: 2em;
        bottom: 20px;
    }
}

/*META INFO*/

.blog-post-meta {
    font-size: 13px;
    text-transform: uppercase;
    padding-top: 10px;
}

    .blog-post-meta > .post-meta {
        border-top: 1px solid #cacaca;
        padding: 1rem 10px;
        display: block;
    }

span.post-meta-first {
    display: block;
    text-transform: uppercase;
    color: #336699;
    font-size: 12px;
}

span.post-meta-last {
    display: inline-block;
}

.meta-category-list {
    padding-left: 0;
    margin: 0;
    text-align: center;
    list-style: none;
    list-style-type: none;
}

    .meta-category-list li {
        padding: 5px;
        float: left;
    }

        .meta-category-list li > a,
        .meta-category-list li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 15px;
            font-size: 12px;
            line-height: 1.5;
        }

            .meta-category-list li > a:focus, .meta-category-list li > a:hover {
                text-decoration: none;
                background-color: #eee;
            }

        .meta-category-list li > a, .meta-category-list li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 15px;
        }

/*IMAGE GALLERY*/

@media (min-width: 992px) {
    /*.gallery-image .img-wrap {
        height: 325px;
    }*/
}

@media (min-width: 768px) and (max-width: 991px) {
    /*.gallery-image .img-wrap {
        height: 300px;
    }*/
}

@media (min-width: 768px) {
    .gallery-image .img-wrap > img {
        display: none;
    }
}

.gallery-image .img-wrap {
    width: 100%;
}

@media (min-width: 768px) {

    .gallery-image > .image-cap {
        margin: auto 2px;
    }

    .cap-bot:before {
        left: 10px;
    }
}

@media (max-width: 767px) {
    .gallery-image > .image-cap {
        margin: auto 16px;
    }

    .cap-bot:before {
        left: 20px;
    }
}

.gallery-image {
    margin-bottom: 4px;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0 2px !important;
}

    .gallery-image:hover img,
    .gallery-image:focus img {
        border-color: #337ab7;
        cursor: pointer;
    }

    .gallery-image > .image-cap {
        position: absolute;
        background: rgba(0,0,0,0.5);
        color: white;
        padding: 10px 20px;
        opacity: 0;
        bottom: 0;
        right: 0;
        left: -30%;
        -webkit-transition: all 0.6s ease;
        -moz-transition: all 0.6s ease;
        -o-transition: all 0.6s ease;
        max-height: 100%;
        overflow-y: auto;
    }

        .gallery-image > .image-cap::-webkit-scrollbar {
            width: 10px;
        }

        .gallery-image > .image-cap::-webkit-scrollbar-track {
            background-color: transparent;
        }

        .gallery-image > .image-cap::-webkit-scrollbar-thumb {
            background-color: darkgrey;
            outline: 1px solid slategrey;
        }

        .gallery-image > .image-cap p {
            overflow: hidden;
            text-overflow: ellipsis;
            height: 100%;
        }

    .gallery-image.caption:hover .image-cap,
    .gallery-image.caption:focus .image-cap {
        opacity: 1;
        left: 0;
    }

.cap-left .image-cap {
    bottom: 0;
    left: -30%;
}

.cap-left:hover .image-cap {
    left: 0;
}

.cap-right .image-cap {
    bottom: 0;
    right: -30%;
}

.cap-right:hover .image-cap {
    right: 0;
}

.cap-top .image-cap {
    left: 0;
    top: -30%;
}

.cap-top:hover .image-cap {
    top: 0;
}

.cap-bot .image-cap {
    left: 0;
    bottom: -30%;
}

.cap-bot:hover .image-cap,
.cap-bot:focus .image-cap {
    bottom: 0;
}


.gallery-image.caption:before {
    font-family: 'Font Awesome\ 5 Free';
    font-weight: 900; /* Fix version 5.0.9 */
    content: "\f129";
    position: absolute;
    background: rgba(255,255,255,0.75);
    color: black;
    width: 24px;
    height: 24px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    line-height: 24px;
    /* Only Fx 4 supporting transitions on psuedo elements so far... */
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    opacity: 0.75;
    z-index: 1000;
}

.gallery-image:hover:before,
.gallery-image:hover:focus {
    opacity: 0;
}

.cap-bot:before {
    bottom: 10px;
}

/*POSTS GRID*/
.clock {
    /*height: 14px !important;
        vertical-align: top;
        width: 14px !important;*/
}

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

    .row.display-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
    }

.media-grid .caption {
    padding: 9px;
    margin: 10px 0;
    padding: 0;
}

    .media-grid .caption {
        color: #336699;
        font-weight: 600;
    }

/*@media (min-width: 992px) {
    .media-grid .img-wrap {
        height: 225px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .media-grid .img-wrap {
        height: 200px;
    }
}*/
@media (min-width: 768px) {
    .media-grid .img-wrap > img {
        display: none;
    }
}

.media-grid .img-wrap {
    width: 100%;
}

.media-grid .post-date {
    display: none;
}

/* SOCIAL MEDIA */

[data-module-type="Social Media"] h2 {
    margin: 0 0 0 0;
}

.social {
    margin: 0;
    padding: 0;
}

    .social a {
        color: #fff;
    }

    .social span {
        display: inline-block;
    }

.share-btn__icon i {
    font-size: 18px !important;
}

.module ul.social li:first-child{
    margin-left:0;
}

ul.social,
ul.social li,
ul.social li a {
    height: 50px;
    line-height: 50px;
}

ul.social {
    margin: 0;
    padding: 0;
    display: inline-block;

}

@media (max-width: 767px) {
    ul.social {
        text-align: center;
    }
}

ul.social li {
    margin: 0 0 0 15px;
    list-style: none outside none;
    display: inline-block;
    width: 50px;
}

    ul.social li a {
        padding: 0;
        width: 50px;
    }

.module ul.social {
    text-align: center;
    width: 100%;
    overflow: visible;
}

.navbar-footer ul.social,
.sub-nav ul.social {
    text-align: left;
}

.navbar-footer .social i,
.sub-nav .social i {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
}

.sub-nav .social i {
    width: 35px;
    height: 35px;
    background-color: #909AA0;
    font-size: 18px;
}

.navbar-footer .social i {
    width: 35px;
    height: 35px;
    font-size: 18px;
    padding-top: 10px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
}

.module .social i {
    width: 50px;
    height: 50px;
    background-color: #909AA0;
    font-size: 26px;
    padding-top: 12px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -o-border-radius: 8px;
}

.social i {
    color: #FFF;
    text-align: center;
    vertical-align: middle;
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
}

    .social i:hover {
        color: #FFF;
        text-decoration: none;
        transition: all ease 0.3s;
        -moz-transition: all ease 0.3s;
        -webkit-transition: all ease 0.3s;
        -o-transition: all ease 0.3s;
        -ms-transition: all ease 0.3s;
    }

.social .fa-facebook:hover {
    background: #4060A5;
}

.navbar-footer .social .fa-facebook,
.module .social .fa-facebook {
    background: #4060A5 !important;
}

.social .fa-twitter:hover {
    background: #00ABE3;
}

.navbar-footer .social .fa-twitter,
.module .social .fa-twitter {
    background: #00ABE3;
}

.social .fa-google-plus:hover {
    background: #e64522;
}

.social .fa-google:hover {
    background: #e64522;
}

.social .fa-github:hover {
    background: #343434;
}

.social .fa-pinterest:hover {
    background: #cb2027;
}

.social .fa-linkedin:hover {
    background: #0094BC;
}

.social .fa-flickr:hover {
    background: #FF57AE;
}

/*.social .fa-instagram:hover {
    background: #375989;
}*/

.social .fa-instagram {
    background: url(../content/imgs/insta-gradient.png) no-repeat bottom center;
    background-size: cover;
}

.class-dojo {
    background: url(../content/imgs/class-dojo.png) no-repeat bottom center;
    background-size: cover;
    background-color: #00aeef !important;
}

.social .fa-vimeo-square:hover {
    background: #83DAEB;
}

.social .fa-stack-overflow:hover {
    background: #FEA501;
}

.social .fa-dropbox:hover {
    background: #017FE5;
}

.social .fa-tumblr:hover {
    background: #3a5876;
}

.social .fa-dribbble:hover {
    background: #F46899;
}

.social .fa-skype:hover {
    background: #00C6FF;
}

.social .fa-stack-exchange:hover {
    background: #4D86C9;
}

.social .fa-youtube:hover {
    background: #FF1F25;
}

.social .fa-xing:hover {
    background: #005C5E;
}

.social .fa-rss:hover {
    background: #e88845;
}

.social .fa-foursquare:hover {
    background: #09B9E0;
}

.social .fa-youtube-play:hover {
    background: #DF192A;
}

.social .fa-youtube-play {
    background: #DF192A !important;
}

.social .fa-envelope-o:hover,
.social .fa-envelope:hover {
    background: #FEA501;
}

.social .fa-sign-in:hover {
    background: #017FE5;
}

/* Font for social media logos */
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?bablaz');
    src: url('../fonts/icomoon.eot?bablaz#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?bablaz') format('truetype'), url('../fonts/icomoon.woff?bablaz') format('woff'), url('../fonts/icomoon.svg?bablaz#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* MODULE CONTENT
-------------------------------------------------- */
[module-content] {
    /*margin-bottom: 20px;*/
}

@media (min-width: 768px) {
    [module-content] {
        /*overflow-x: hidden;*/
        margin-bottom: 20px;
    }

    .row[data-normalize='True'] [module-content] {
        height: 92%;
    }
}

[mod-content-item] {
    position: relative;
    display: block;
    overflow: hidden;
}

    [mod-content-item]:hover,
    [mod-content-item]:focus {
    }

/* Wrapping element */
p.content {
    font-size: 16px;
    line-height: 2em !important;
    font-style: normal;
    color: #696969;
    margin-bottom: 10px;
}
/*SummerNote*/
.note-video-clip {
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border: 0;
}

/*Image Zoom*/
.modal-img:hover {
    cursor: pointer;
}

.img-zoom-modal.in {
    background: rgba(0, 0, 0, 0.65);
}

.img-zoom-modal .modal-header {
    display: none;
}


.img-zoom-modal .modal-body > .slide {
    overflow: scroll;
}


@media (min-width: 768px) {
    .img-zoom-modal .modal-body > .slide {
        overflow: hidden;
    }

        .img-zoom-modal .modal-body > .slide .item {
            height: 600px;
        }

    .img-zoom-modal > .modal-dialog {
        width: 600px;
    }
}

.img-zoom-modal .modal-body {
    padding: 0 0;
}

    .img-zoom-modal .modal-body p.caption {
        padding: 10px 15px 0 15px;
        text-align: center;
        color: #909090;
        min-height: 20px;
    }

.img-zoom-modal .close {
    bottom: 0;
    right: 0;
    position: fixed;
    margin: 5px 10px 5px 5px;
}
/* FOOTER
-------------------------------------------------- */
.navbar-footer div.row {
    margin: 30px 15px;
}

.navbar-footer > hr {
    border-top: 1px solid #b8b8b8;
}

/*Sitemap*/
#footer-sitemap {
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 0;
    padding-top: 40px;
    margin-bottom: 0;
}

.translate {
    display: inline-block;
    float: right;
    color:#fff;
}

@media (max-width: 767px) {
    .translate {
        float: left;
        padding: 25px 0 0 0;
    }
}

    .translate .goog-te-gadget-simple {
        background-color: transparent;
        border: none;
        color: #fff;
    }

        .translate .goog-te-gadget-simple a {
            text-decoration: none;
            color: #fff;
            /*font-family: 'Open Sans', sans-serif;*/
        }

    #sitemap {
        border-top: 1px solid #a3a3a3;
        border-bottom: 1px solid #a3a3a3;
    }

        #sitemap a { /* text-decoration: none !important; /* no underline */
        }

        #sitemap .sitemap-channel {
            font-size: 16px;
            font-weight: 400;
            color: #fff;
            line-height: 1.66667;
            letter-spacing: normal;
            margin: 0;
        }

        #sitemap ul.sitemap-pages {
            list-style-type: none;
            padding: 0 !important;
        }

            #sitemap ul.sitemap-pages > li {
                line-height: 1;
                padding-bottom: 7.5px;
            }

                #sitemap ul.sitemap-pages > li > a {
                    font-weight: 400;
                    font-size: 12px;
                    padding-bottom: 5px;
                    /*color: #a3a3a3;*/
                    color: #BABABA;
                }

                    #sitemap ul.sitemap-pages > li > a:hover,
                    #sitemap ul.sitemap-pages > li > a:active {
                        color: #fff;
                        text-decoration: underline;
                    }

    /*Footer Logo*/
    .footer-logo {
        opacity: 0.4;
    }

    footer {
        font-weight: normal;
        color: #fff;
        /*font-family: 'Open Sans', sans-serif !important;*/
    }
@media (max-width: 767px) {
    .award-badge img {
        float: none !important;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }
}

@media (min-width: 768px) {
    .award-badge img {
        float: right !important;
    }
}

    .award-badge img {
        max-width: 200px;
    }

    /*Social Media ROW*/
    .social-share {
        margin-bottom: 40px;
    }

        .social-share .btn > span {
            display: none;
        }

        .social-share .btn {
            display: block;
            font-weight: normal;
            text-transform: capitalize;
            border: none;
            padding: 10px;
            border-radius: 0;
            /*max-width:65px;*/
        }

    #facebook-button {
        background-color: #3b5998;
        color: #fff;
    }

    #tweet-button {
        background-color: #00aced;
        color: #fff;
    }

    #insta-button {
        background: url(../content/imgs/insta-gradient.png) no-repeat bottom center;
        background-size: cover;
        color: #fff;
    }

    #mail-button {
        background-color: #000;
        color: #fff;
    }

    #youtube-button {
        background-color: #FF1F25;
        color: #fff;
    }

    @media (max-width: 767px) {
        .social-share {
            margin: 30px;
        }

            .social-share > div {
                padding: 0;
            }

                .social-share > div span {
                    display: block;
                    line-height: 1.4;
                    font-size: 12px;
                    text-transform: uppercase;
                }
    }

    /*SOCIAL ICONS*/


    #socialmedia > div {
        margin: 0;
        padding: 0;
    }





    /* ALERTS
-------------------------------------------------- */

    .alert {
        text-align: center;
        display: none;
        margin: 0;
    }

        .alert > small {
            font-size: 9px;
        }

    /* BREADCRUMBS
-------------------------------------------------- */
    ol.breadcrumb > li,
    ol.breadcrumb > li > a {
        text-transform: capitalize;
        color: #003366;
    }

    .breadcrumb > .active {
        color: #707070;
    }

    ol.breadcrumb {
        border-bottom: 2px solid #ccc;
        padding: 4px 15px 8px 25px;
        border-radius: 0;
    }

    @media (max-width: 767px) {

        ol.breadcrumb {
            margin-bottom: 0;
            border-bottom: none;
            background-color: #fff;
            padding-left: 10px;
            display: none;
        }

        /*#MainContent_page[data-page-name="default"] > ol.breadcrumb,
        #MainContent_page[data-page-name="default"] > page-header:before {
            display: none;
        }*/
    }

    @media (max-width: 767px) {
        .page-header > h1 {
            font-weight: 700;
        }
    }
