﻿/*
    dark blue:  var(--primary)     var(--primary)
    light blue: var(--secondary)     rgba(0,143,213,1)
    green:      #008647     rgba(0,134,71,1)
    
    font-family: var(--fontPrimary);
*/

/*#region hero*/
#sectionHero {
    /*
    background: url('/img/bkg_map.png');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    border-bottom: 1px solid #CCC;
    */
    background: url('/img/bkgAsphalt.webp') center/cover;
    background-blend-mode: multiply;
    background-color: rgba(0,0,0,0.05);    
}
#heroInner {
    width:100%;    
    margin:0 auto;
}
.slide-container {
    height: 80vh;
}
#homeimages_UpdatePanel1 {
    background: transparent;
}
.slide-container {
    padding:0;
    position: relative;    
    width: 100%;
    background-color: rgba(255,255,255,.8);
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden;
    -webkit-animation: fadeIn 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadeIn 2s; /* Firefox < 16 */
    -ms-animation: fadeIn 2s; /* Internet Explorer */
    -o-animation: fadeIn 2s; /* Opera < 12.1 */
    animation: fadeIn 2s;    
}
.slide-container video {
    width: 100%;
    position: absolute;
    z-index: 10;
}
.slide-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#homeimages_btnPrevious, #homeimages_btnNext {
    position: absolute;
    background: rgba(0,0,0,.25);
    padding: 0 .5rem;
    bottom: 2rem;
    z-index: 200;
    font-size: 3rem;
    color: #FFF;
    transition: all .25s;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}
#homeimages_btnPrevious {
    left: 2rem;
}
#homeimages_btnNext {
    right: 2rem;
}
#homeimages_btnPrevious:hover, #homeimages_btnNext:hover {
    color: var(--secondary);
}
#pauseplay {
    z-index: 250;
    position: absolute;
    bottom: 7rem;
    right: 2.5rem;
    padding: 1rem;
    height: 50px;
    width: 50px;
    z-index: 950;
}
#pauseplay i {
    font-size: 2rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
}
#pauseplay a {
    color: var(--darkGray)
}
#pauseplay a:hover {
    color: var(--secondary);
}
.hero-contentbox {
    position: absolute;
    padding: 2rem;
    z-index: 500;
    line-height: 1;
    max-width: 100%;
    -webkit-animation: fadeIn .5s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadeIn .5s; /* Firefox < 16 */
    -ms-animation: fadeIn .5s; /* Internet Explorer */
    -o-animation: fadeIn .5s; /* Opera < 12.1 */
    animation: fadeIn .5s;
    display: table;
}
/*line one*/
.herotheTitle {
    color: #FFF;
    font-size: 2.7rem;
    font-family: var(--fontPrimary);
    text-shadow: 2px 4px 3px rgba(0,0,0,0.1);
    line-height: 1;
    font-weight: 300;
    height: auto;
    width: auto;
    text-decoration: none;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    text-align: inherit;
    -webkit-animation: fade-in-move-up .75s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fade-in-move-up .75s; /* Firefox < 16 */
    -ms-animation: fade-in-move-up .75s; /* Internet Explorer */
    -o-animation: fade-in-move-up .75s; /* Opera < 12.1 */
    animation: fade-in-move-up .75s;
}
/*line two*/
.herotheTagLine {
    color: #FFF;
    font-size: 4.5rem;
    font-weight: normal;
    line-height: 1;
    font-family: var(--fontPrimary);
    font-weight:700;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.1);
    height: auto;
    width: auto;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    text-align: inherit;
    letter-spacing: 0px;
    -webkit-animation: fade-in-move-down .75s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fade-in-move-down .75s; /* Firefox < 16 */
    -ms-animation: fade-in-move-down .75s; /* Internet Explorer */
    -o-animation: fade-in-move-down .75s; /* Opera < 12.1 */
    animation: fade-in-move-down .75s;
}
.herotheButton {
    margin-top: 1rem;
    background: transparent;
    color: #FFF;
    font-size: 1.5rem;
    max-width: 500px;
    display: inline-block;
    text-align: center;
    padding: 2rem 0 .25rem 0;
    text-shadow: none;
    border-bottom: solid 2px var(--secondary);
    transition: all 250ms ease-in-out
}
.herotheButton:hover {
    border-bottom: solid 2px #FFF;
}
.hero-contentCenter {
    width: 66%;
    height: 60%;
    max-width: 100%;
    text-align: center;
    left: 17%;
    bottom: 20%;
    padding-top: 10%;
}
.hero-contentRight {
    width: 650px;
    max-width: 100%;
    text-align: left;
    right: 10%;
    bottom: 30%;   
}
.hero-contentLeft {
    width: 725px;
    max-width: 100%;
    text-align: left;
    left: 10%;
    bottom: 8.5rem;
}
.hero-contentbox-none {
    color: #FFF;
    background: transparent;
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}
.hero-contentbox-blue {
    background: rgba(var(--secondaryRGB),.6);
    border: 1px solid var(--primary);
}
.hero-contentbox-blue .herotheTitle {
    color: #FFF;
    text-shadow: none;
}
.hero-contentbox-blue .herotheTagLine {
    color: #FFF;
    text-shadow: none;
}
.hero-contentbox-blue .herotheButton {
    color: #FFF;
}
.hero-contentbox-white {
    color: var(--primary);
    background: rgba(255,255,255,.64);
    border: 1px solid #FFF;
}
.hero-contentbox-white .herotheTitle {
    color: var(--primary);
    text-shadow: none;
}
.hero-contentbox-white .herotheTagLine {
    color: var(--primary);
    text-shadow: none;
}
.hero-contentbox-white .herotheButton {
    color: var(--primary);
}
.hero-center-container-inner .herotheTagLine {
    margin-top: 0;
}
/*#endregion*/

/*#region content*/
#sectionContent {
    background: rgb(247,247,247);
    background: radial-gradient(circle, rgba(247,247,247,1) 16%, rgba(255,255,255,1) 100%);    
}
#contentInner {
    padding: 4rem 2rem;
    color:var(--darkGray);
}
.wysiwyg {
    font-size:1.5rem;
    line-height:1.75;
    font-weight:300;
}
.wysiwyg-title {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;    
}
.wysiwyg ul {
    margin-left:3rem;
}
#contentDivider {
    height: .5rem;
    width: 100%;
    background: rgb(0,143,213);
    background: radial-gradient(circle, rgba(0,143,213,1) 16%, var(--primary) 100%);
}
/*#endregion*/

/*#region news*/
#sectionNews {
    padding: 3rem 0;
}
    #sectionNews .text-center {
        text-align:left;
    }
    #homenewslist_newslistContainer h2 {
        padding: 2rem 1rem;
    }
.card-article-hover {
    box-shadow: 0px 0px 7px #888888;
    max-width: 355px;
    display: inline-block;
    margin: 1em;
    cursor: pointer
}
.card-article-hover img {
    padding: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-image-container {
    height: 240px;
    overflow: hidden
}
.article-title-container h3 {
    height: 108px;
    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    max-width: 323px;    
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-desc {
    height: 1.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-article-hover .card-section {
    width: 90%;
    background: #FFF;
    margin: 0 auto;
    padding-top: 25px;
    margin-top: -1rem;
    z-index: 2;
    color: #818181 !important;
    text-align: left
}

.card-article-hover .card-section .article-subtext {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--primary);
}

.card-article-hover .card-section .article-title {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary);
    text-align: left
}

.card-article-hover .card-section .article-desc {
    font-size: 1rem;
    color: var(--darkGray);
}

.card-article-hover .card-divider {
    background: #FFF;
}

.card-article-hover .hover-border {
    height: 10px;
    background: var(--secondary);
    width: 0;
    transition: width 1s ease;
}

.card-article-hover:hover .hover-border {
    height: 10px;
    width: 100%;
    transition: width 1s ease;
}

.card-article-hover .meta-data {
    text-transform: uppercase;
}

/*#endregion*/

/*#region media break points*/
@media(max-width:1700px) {
    #homeimages_btnPrevious, #homeimages_btnNext {
        font-size: 3.6rem;      
    }    
}

@media(max-width:1460px) {
    #homeimages_btnPrevious, #homeimages_btnNext {
        font-size: 3.25rem;
    }
}

/*let's go mobile*/
@media(max-width:1330px) {
    .herotheTitle {
        font-size: 2.5rem;
    }
    .herotheTagLine {
        font-size: 4rem;
    }
    .herotheButton {
        margin-top: .9rem;       
        font-size: 1.35rem;
    }
    #homeimages_btnPrevious, #homeimages_btnNext {
        font-size: 2.9rem;
    }
    #pauseplay i {       
        left: 1.5rem;
    }
    .card-article-hover {
        max-width:100%;        
        width: 45%;
    }
    .article-image-container {
        height: 350px;
    }
}

@media(max-width:1023px) {
    .herotheTitle {        
        font-size: 2.25rem;        
    }
    .herotheTagLine {        
        font-size: 3.65rem;
    }
    .herotheButton {
        margin-top: .8rem;
        font-size: 1.2rem;
    }
    #homeimages_btnPrevious, #homeimages_btnNext {
        font-size: 2.6rem;
    }
    #pauseplay i {       
        top: 1.75rem;
        left: 1.5rem;
    }
}

@media(max-width:913px) {
    .herotheTitle {
        font-size: 2rem;
    }
    .herotheTagLine {
        font-size: 3.3rem;
    }
    .herotheButton {
        margin-top: .7rem;
        font-size: 1.15rem;
    }
    #homeimages_btnPrevious, #homeimages_btnNext {
        font-size: 2.3rem;
    }
    #pauseplay i {
        top: 2rem;
        left: 1.75rem;
    }
    .card-article-hover {
        width: 90%;
    }
}
@media(max-width:639px) {
    .herotheTitle {
        font-size: 1.8rem;
    }
    .herotheTagLine {
        font-size: 3rem;
    }
    .herotheButton {
        margin-top: .6rem;
        font-size: 1rem;
    }
    .slide-container {
        padding: 0;  
        height:auto;
    }
    .hero-contentCenter {
        width: 100%;
        height: 100%;
        max-width: 100%;
        text-align: center;
        left: 0;
        bottom: 0%;
        padding-top: 0%;
    }
    .hero-contentbox {
        position: relative;
        z-index: auto;
        min-height: 200px;
        padding-top: 2rem;
    }
    #homeimages_btnPrevious, #homeimages_btnNext {
        font-size: 2rem;
        bottom:40%;
    }
    #homeimages_btnPrevious {
        left: 0;
    }
    #homeimages_btnNext {
        right: 0;
    }
    #pauseplay i {
        top: 8.5rem;
        left: 4.5rem;
    }
    .wysiwyg-title {
        font-size:2rem;
    }
    .wysiwyg {
        font-size: 1.35rem;
        line-height: 1.5;        
    }
}
@media(max-width:539px) {
    .herotheTitle {
        font-size: 1.6rem;
    }
    .herotheTagLine {
        font-size: 2.7rem;
    }
    .herotheTagLine {
        font-size: 3rem;
    }
    .herotheButton {
        margin-top: .5rem;
    }
    #homeimages_btnPrevious, #homeimages_btnNext {
        font-size: 1.8rem;
    }    
}
@media(max-width:450px) {
    .herotheTitle {
        font-size: 1.4rem;
    }
    .herotheTagLine {
        font-size: 2.4rem;
    }
    .herotheTagLine {
        font-size: 3rem;
    }
    .herotheButton {
        margin-top: .4rem;
    }
    #homeimages_btnPrevious, #homeimages_btnNext {
        font-size: 1.6rem;
    }
    .article-image-container {
        height: 275px;
    }
}
/* adjust by height */
@media(max-height:750px) {
    
}

/*#endregion*/