

body {
    font-family: 'Libre Franklin', sans-serif;
    color:#808080;
    padding-top:90px;

    position: relative;
    padding-bottom:200px;
    min-height:100vh;

}

body.lock {
    height:100vh;
    overflow: hidden;
}

h1, h2 {
    font-size:24px;
    font-weight: bolder;
    color:#808080;
}

h1 {
}

h1.page-head {
    text-transform: uppercase;
    font-size:33px;
    line-height:50px;
    font-weight: 700;
    padding-top:50px;
    padding-bottom:10px;
}

p {
    font-size:17px;
    line-height:30px;
    font-weight:300;
    /*text-align: justify;*/
}

.navbar-default {
    background-color:#e6ebee;
    border-radius: 0px;
    border-left:0px;
    border-right:0px;
    border-bottom:4px solid #ffd502;
    height:90px;
    padding-bottom:0px;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    color:#808080;
    background-color:#ffd502;
    font-weight: bolder;
}


.navbar.navbar-default.navbar-fixed-top {
    position:fixed;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        margin-top:-1px;
        padding-top: 46px;
        padding-bottom: 24px;
        width:200px;
        text-align: center;
        font-weight: bolder;
        color:#808080;
        text-transform: uppercase;
    }
}

.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0px;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;

    border-top: 40px solid #ffd502;
    z-index:1000;
}

.header-image {
    z-index: 100;
}

.header-image {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color:#fff;
    overflow: hidden;
}
.header-image img {
    width: 100%;
    height: auto;
    display: block;
}
.header-image:before, .header-image:after {
    content:'';
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: inherit;
    padding-bottom:40px;
}

.header-image:before {
    right: calc(50% + 115px);
    -ms-transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    -ms-transform: skewX(68.2deg);
    -webkit-transform: skewX(68.2deg);
    transform: skewX(68.2deg);
}

.header-image:after {
    left: calc(50% - 115px);
    -ms-transform-origin: 0 100%;
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -ms-transform: skewX(-68.2deg);
    -webkit-transform: skewX(-68.2deg);
    transform: skewX(-68.2deg);
}

.header-image-2:before {
    right: calc(50% - 85px);
}

.header-image-2:after {
    left: calc(50% + 85px);
}

.yellowbox {
    background-color: #ffd502;
    padding:5px;
}

.yellowbox .inner {
    background-color:white;
    height:170px;
    padding-top:10px;
}

.yellowbox h3 {
    margin-top:17px;
    margin-bottom:13px;
    background-color: #ffd502;
    text-align: center;
    font-weight:bolder;
    color:#ffffff;
}

.wrapper {
}

.footer {
    position:absolute;
    bottom:0px;
    left:0px;
    right:0px;
    background-color:#EEEEEE;
    padding-top:30px;
    padding-bottom:20px;
    margin-top:50px;
    border-top:4px solid #ffd502;
}

.footer p {
    font-size: 13px;
}

.footer p .footer-links {
    float: right;
}

.footer p .footer-links a {
    padding-left:10px;
    color: #999;
    font-weight: bold;
}

.overlay {
    position: absolute;
    left:0px;
    top:0px;
    right:0px;
    height:0vh;
    background-color: white;
    /*padding-top:180px;
    padding-bottom:100px;*/
    overflow-y: scroll;
    /*opacity: 0;*/
    border-bottom:1px solid grey;
    display:none;
    box-sizing: border-box;
}

.overlay-inner {
    opacity: 0;
    margin-top:180px;
    margin-bottom:100px;
}

.overlay a.close {
    margin-top: 0px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=100);
    opacity: 1.0;
    font-weight:500 !important;
    color:#808080;
    text-align: center;
    margin-bottom:30px;
}

.overlay a.close img {
    margin-bottom:10px;
}

.overlay .close {
    margin-top:-70px;

    color:#000;
    text-decoration:none;
    cursor:pointer;
    filter:alpha(opacity=50);
    opacity:.5;
}

.close:focus, .close:hover {
    color:#000;
    text-decoration:none;
    cursor:pointer;
    filter:alpha(opacity=80);
    opacity:.8;
}

.form-control {
    border-radius: 0px;
    background-color:#e6ebee;
    border:none;
    -webkit-box-shadow: none;
    padding:20px;
    padding-left:10px;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.btn.btn-default {
    border-radius: 0px;
    border:none;
    width:100%;
    color: #808080;
    background-color: #ffd502;
    font-weight: bolder;
    padding-top:10px;
    padding-bottom:10px;
    text-transform: uppercase;
}

label {
    font-size: 17px;
    font-weight: 500;
    text-align: justify;
}

.web {
    width:100%;
    max-width: 365px;
    display:block;
    margin:0px auto;
}

.module-head {
    margin-bottom:100px;
    text-align: right;
    opacity: 0.0;
}


.points-yellow {
    position:absolute;
    top:200px;
    left:50%;
    margin-left:200px;
    display:none;
}

.points-orange {
    position:absolute;
    top:200px;
    left:50%;
    margin-left:200px;
    display:none;
}

.points-blue {
    position: absolute;
    top: 750px;
    margin-left: 200px;
    display:none;
}

.points-lightgray {
    position: absolute;
    top: 150px;
    margin-left: 00px;
    display:none;
}

.points-darkgray {
    position: absolute;
    top: 750px;
    margin-left: 00px;
    display:none;
}

.points ul li {
    list-style-image: url('../images/points.jpg');
    font-weight: 500;
}









#hexGrid {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    list-style-type: none;
}

.hex {
    position: relative;
    visibility:hidden;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hex::after{
    content:'';
    display:block;
    padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
    position: absolute;
    width:96%;
    padding-bottom: 110.851%; /* =  width / sin(60) */
    margin:0 2%;
    overflow: hidden;
    visibility: hidden;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
    -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}
.hexIn * {
    position: absolute;
    visibility: visible;
    outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
    -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
    transform: skewY(-30deg) rotate3d(0,0,1,60deg);
    background-color:#FAFAFA;
}

/*** HEX CONTENT **********************************************************************/
.hex img {
    left: -100%;
    right: -100%;
    width: auto;
    height: 100%;
    margin: 0 auto;
    -webkit-transform: rotate3d(0,0,0,0deg);
    -ms-transform: rotate3d(0,0,0,0deg);
    transform: rotate3d(0,0,0,0deg);
}

.hex h1, .hex p {
    width: 100%;
    padding: 5%;
    box-sizing:border-box;
    background-color: transparent; /*rgba(0, 128, 128, 0.8);*/
    font-weight: 300;
    -webkit-transition:  -webkit-transform .2s ease-out, opacity .3s ease-out;
    transition:          transform .2s ease-out, opacity .3s ease-out;
}
.hex h1 {
    font-family: 'Libre Franklin', sans-serif;
    /*bottom: 50%;
    padding-top:50%;*/
    font-size: 12px;
    font-weight: bold;
    color: white;
    z-index: 1;
    -webkit-transform:translate3d(0,70%,0);
    -ms-transform:translate3d(0,70%,0);
    transform:translate3d(0,70%,0);
}

.hex h1.singlerow {

    -webkit-transform:translate3d(0,130%,0);
    -ms-transform:translate3d(0,130%,0);
    transform:translate3d(0,130%,0);
}

.hex h1.groupheader {
    font-weight: 900;
    font-size: 15px;
    -webkit-transform:translate3d(0,55%,0);
    -ms-transform:translate3d(0,55%,0);
    transform:translate3d(0,55%,0);
}

.hex h1.singlerow.groupheader {
    -webkit-transform:translate3d(0,112%,0);
    -ms-transform:translate3d(0,112%,0);
    transform:translate3d(0,112%,0);
}

/*.hex h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 45%;
    width: 10%;
    text-align: center;
    border-bottom: 1px solid #fff;
}*/
.hex p {
    top: 50%;
    padding-bottom:50%;
    -webkit-transform:translate3d(0,100%,0);
    -ms-transform:translate3d(0,100%,0);
    transform:translate3d(0,100%,0);
}


/*** HOVER EFFECT  **********************************************************************/
.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p{
    /*-webkit-transform:translate3d(0,0,0);
    -ms-transform:translate3d(0,0,0);
    transform:translate3d(0,0,0);*/
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
    #hexGrid{
        padding-bottom: 4.4%
    }
    .hex {
        width: 12.5%; /* = 100 / 8 */
    }
    .hex:nth-child(15n+9){ /* first hexagon of even rows */
        margin-left:6.25%;  /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
    #hexGrid{
        padding-bottom: 4.4%
    }
    .hex {
        width: 12.5%; /* = 100 / 8 */
    }
    .hex:nth-child(15n+9){ /* first hexagon of even rows */
        margin-left:6.25%;  /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 900px) and (min-width:601px) { /* <- 3-2  hexagons per row */
    #hexGrid{
        display:none;
        padding-bottom: 7.4%
    }
    .hex {
        width: 33.333%; /* = 100 / 3 */
    }
    .hex:nth-child(5n+4){ /* first hexagon of even rows */
        margin-left:16.666%;  /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
    #hexGrid{
        display:none;
        padding-bottom: 11.2%
    }
    .hex {
        width: 50%; /* = 100 / 3 */
    }
    .hex:nth-child(3n+3){ /* first hexagon of even rows */
        margin-left:25%;  /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 400px) {
    #hexGrid {
        display:none;
        font-size: 13px;
    }
}

.hex .clr {
    width:200px;
    height:200px;
    opacity: 0.0;
    -webkit-transition: opacity 1s ease-in;
    -moz-transition: opacity 1s ease-in;
    -ms-transition: opacity 1s ease-in;
    -o-transition: opacity 1s ease-in;
    transition: opacity 1s ease-in;
}

.hex h1 {
    display:none;
}

.hex.load .clr {
    opacity: 1.0;
    -webkit-transition: opacity 1s ease-in;
    -moz-transition: opacity 1s ease-in;
    -ms-transition: opacity 1s ease-in;
    -o-transition: opacity 1s ease-in;
    transition: opacity 1s ease-in;
}

.hex.load h1 {
    display:inherit;
}

.hex.lightgray .clr{
    background-color: #cccccc;
}

.hex.darkgray .clr{
    background-color: #777;
}

.hex.yellow .clr{
    background-color: #ffd502;
}

.hex.orange .clr{
    background-color: orange;
}

.hex.blue .clr{
    background-color: lightblue;
}

.hex.notvisible {
    opacity: 0.0;
}

#hexGrid {
    margin-top:-50px;
}

/* Group animations */

.hex.lightgray ,
.hex.darkgray ,
.hex.yellow ,
.hex.orange ,
.hex.blue {
    /*opacity: 0.0;*/
    -webkit-transition: opacity 1s ease-in;
    -moz-transition: opacity 1s ease-in;
    -ms-transition: opacity 1s ease-in;
    -o-transition: opacity 1s ease-in;
    transition: opacity 1s ease-in;
}

.hex.lightgray.load ,
.hex.darkgray.load ,
.hex.yellow.load ,
.hex.orange.load ,
.hex.blue.load {
    opacity: 1.0;
}



@media (max-width: 1200px) {


    #hexGrid {
        width: 100%;
    }

    .navbar-nav > li > a {
        margin-top: -1px;
        padding-top: 46px;
        padding-bottom: 24px;
        padding-left:11px;
        padding-right:11px;
        text-align: center;
        font-weight: bolder;
        color: #808080;
        text-transform: uppercase;
        width:auto;
    }

    .arrow-down {
        display:none;
    }


    .points-yellow {
        position:absolute;
        top:130px;
        left:50%;
        margin-left:150px;
        display:none;
    }

    .points-orange {
        position:absolute;
        top:130px;
        left:50%;
        margin-left:150px;
        display:none;
    }

    .points-blue {
        position: absolute;
        top: 680px;
        margin-left: 130px;
        display:none;
    }

    .points-lightgray {
        position: absolute;
        top: 120px;
        margin-left: 00px;
        display:none;
        width:300px;
    }

    .points-darkgray {
        position: absolute;
        top: 680px;
        margin-left: 00px;
        display:none;
    }

}

@media (max-width: 992px) {
    .hex h1 {
        font-size:10px !important;
        -webkit-transform: translate3d(0, 40%, 0);
        -ms-transform: translate3d(0, 40%, 0);
        transform: translate3d(0, 40%, 0);
    }

    .hex h1.singlerow {
        font-size:11px !important;
        -webkit-transform: translate3d(0, 80%, 0);
        -ms-transform: translate3d(0, 80%, 0);
        transform: translate3d(0, 80%, 0);
    }

    .hex h1.mobilefix {
        -webkit-transform: translate3d(0, 40%, 0);
        -ms-transform: translate3d(0, 40%, 0);
        transform: translate3d(0, 40%, 0);
    }

    .module-head {
        margin-top:0px;
        margin-bottom:100px;
    }


}

@media (max-width: 768px) {
    body {
        padding-top:0px;
    }
    #hexGrid {
        display:none;
    }

    .navbar.navbar-default.navbar-fixed-top {
        position: relative;
    }

    .navbar-collapse.in {
        position: relative;

    }

    .navbar-nav > li > a {
        margin-top: -1px;
        padding-top: 46px;
        padding-bottom: 24px;
        padding-left:11px;
        padding-right:11px;
        text-align: center;
        font-weight: bolder;
        color: #808080;
        background-color:white;
        text-transform: uppercase;
        width:auto;
    }
}