body {
    font-family: Lato, sans-serif;
    color: #777;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    color: #555;
    font-weight: 700;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 44px;
}

h2 {
    font-size: 27px;
}

h3 {
    font-size: 20px;
    margin-top: 25px;
}

h5 {
    margin-bottom: 0px;
}

.uppercase {
    h1, h2, h3 {
        text-transform: uppercase;
    }
}

.lowercase {
    h1, h2, h3 {
        text-transform: lowercase;
    }
}

.orange-white {
    color: #fff;
    
    h1, h2, h3 {
        color: #fa8205;
    }   
}

.orange-grey {
    h1, h2, h3 {
        color: #fa8205;
    }
}

.navbar-brand {
    width: 275px;
}

.two-columns .col:first-child {
    padding-right: 15px;
}

.two-columns .col:nth-child(2) {
    padding-left: 15px;
}

.col p:last-of-type {
    margin-bottom: 0;
}

.page .content {
    padding-top: 7px;
    padding-bottom: 7px;
}

#contentTop {
    color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
    
    h2 {
       color: #fff;
    }
}

#pageTop {
    padding-top: 15px;
    padding-bottom: 15px;
    
    h1 {
        color: #fff !important;
    }
    
    img {
        max-width: 350px;
        width: 80%;
    }
}

.page-top-image {
    height: 240px;
    background-position: center;
    background-size: cover;
}

.content-top-padding {
    padding-top: 75px !important;
}

.content-bottom-padding {
    padding-bottom: 75px !important;
}

.section-68a8de {
    color: #fff;
    
    h2 {
        color: #fff;
    }
}

img {
    max-width: 80%;
    height: auto;
}

.border-members {
    padding-top: 60px;
    padding-bottom: 60px;
}

.board-member-image {
    width: 100px;
    border-radius: 50%;
}

.board-member-title {
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 10px;
}

.board-member-email {
    margin-top: 10px;
    
    a {
        color: silver;
        border-radius: 50%;
    }
}

.main-sponsor {
    padding-top: 15px;
    padding-bottom: 15px;

    img {
        max-width: 90%;
    }
}

.main-sponsor-content {
    position: relative;

    ::after {
        content: "";
        position: absolute;
        border-top: 1px solid rgba(207, 207, 207, 0.37);
        width: 130%;
        left: -15%;
        bottom: 0;
    }
}

.bottom-right-to-left {
    background-image: linear-gradient(179deg, #000 90%, #FFF calc(90% + 2px));
}

.bottom-left-to-right {
    background-image: linear-gradient(181deg, #000 90%, #FFF calc(90% + 2px));
}

.top-right-to-left {
    background-image: linear-gradient(179deg, #FFF 20%, #000 calc(20% + 2px));
    padding-top: 125px !important;
}

.top-left-to-right {
    background-image: linear-gradient(181deg, #FFF 20%, #000 calc(20% + 2px));
    padding-top: 125px !important;
}

.btn-orange {
    background-color: #F68006 !important;
    color: #fff;
    border-radius: 30px;
    padding: 12px 40px;
    text-transform: uppercase;
    font-weight: bold;
    
    &:hover {
        background-color: #000 !important;
        color: #fff;
    }
}

.top-border-orange  {
    border-top: 20px solid #F68006;
}

.bottom-border-orange  {
    border-bottom: 20px solid #F68006;
}

footer {
    padding-top: 30px;
    background: #0f5a98;
    color: #fff;
    
    h4 {
        text-transform: uppercase;
        font-size: 20px;
        padding-bottom: 8px;
        margin-right: 30px;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(207, 207, 207, 0.37);
        
        span {
            border-bottom: 2px solid rgba(207, 207, 207, 0.37);
            padding-bottom: 8px;
        }
    }

    div {
        line-height: 25px;
    }
    
    .copyright {
        color: rgba(255,255,255,0.5);
        font-size: 0.9em;
        padding: 60px 0 15px;
    }
}

.footer-nav-item {
    text-decoration: none;
    color: #fff;
}

.sponsors {
    padding-top: 15px;
    padding-bottom: 15px;
    
    img {
        max-width: 90%;
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }
    
    img:hover {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
    }
}

.gallery-container {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;

}

.gallery-container img {
    max-width: 100%;
    width: 100%; padding: 7px 0;
}

.news-list {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.news-list,
.latest-news-list {    
    a {
        text-decoration: none;
    }
    
    .news-title {
        color: #555;
        font-size: 17px;
        font-weight: bold;
    }
    
    .news-date {
        color: #777;
        font-size: 13px;
        font-weight: lighter;
    }

    .news-teaser {
        color: #777;
        font-size: 15px;
    }
}

.latest-news-simple {
    &.news-divider {
        background-color: rgba(207, 207, 207, 0.37);
    }
    
    a {
        text-decoration: none;
        color: #fff;
    }
}

.news-teaser-image {
    position: relative;
    
    img {
        max-width: 100%;
    }
    
    .date-block {
        position: absolute;
    }
    
    .news-teaser-image-container {
        height: 100%;
        min-height: 225px;
        background-size: cover;
        background-position: center;
    }
}

.latest-news {
    a {
        text-decoration: none;
        color: #334862;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 8px 0;
    }
}

.news-divider {
    display: block;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 1em 0 1em;
    width: 100%;
    max-width: 40px;
    height: 2px;
}

.date-block {
    color: #fff;
    background: #68a8de;
    width: 50px;
    font-size: 14px;
    line-height: 16px;
    padding: 8px 0;
    margin-top: 10px;
}

.news-page-top {
    height: 270px;
    background-color: #34546f;
    color: #fff;

    .news-divider {
        background-color: rgba(255, 255, 255, 0.5);
    }
}

.news-top-header {
    font-size: 26px;
}

#cvt_logind {
    justify-self: center;
    
    a {
        text-decoration: none;
        color: #666;
    }
    
    table {
        width: 250px;
        max-width: 80% !important;
    }
    
    td {
        color: #666;
        border-color: #999;
        padding: 10px;
    }

    input.cvt_bt {
        background-color: #F68006;
        color: #fff;
        padding: 10px 50px 10px 50px;
        border-radius: 100px;
        margin-top: 7px;
        margin-bottom: 10px;
        border: none;
    }        
}

@media screen and (min-width: 720px) {
    .col-md-6:nth-child(odd) {
        padding-right: 20px;
    }

    .col-md-6:nth-child(even) {
        padding-left: 20px;
    }

    .gallery-container {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    #cvt_logind {
        table {
            width: 350px;
        }
    }
}

@media screen and (min-width: 992px) {
    .gallery-container {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .nav-link {
        padding: 5px;

        &.button {
            white-space: nowrap;
            border-radius: 99px;
            padding: 3px 20px !important;
            margin-left: 5px;
            margin-right: 5px;

            &.button-white {
                border: 2px solid #999;
                background-color: transparent;

                &:hover {
                    border: 2px solid #68a8de;
                    color: #fff;
                    background-color: #68a8de;
                }
            }

            &.button-blue {
                color: #fff;
                border: 2px solid #68a8de;
                background-color: #68a8de;

                &:hover {
                    border: 2px solid #446084;
                    background-color: #446084;
                }
            }
        }
    }
    
    #cvt_logind {
        table {
            width: 400px;
        }
    }
}