/* default */
body {
    color: #676767;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    padding:0;
    margin:0;
}
#main-content a:link {
    text-decoration: none;
    color: #a3c436;
}
#main-content .button a:link {
    color: #FFF !important;
}
hr {
    width: 100%;
    background: #d7d7d7;
    height: 2px;
    border:0;
    margin:0;
}

/* ===== spans ====*/
.green-text {
    color: #769413;
    font-weight: 700;
}
.page-heading {
    font-size: 24px;
    text-transform: uppercase;
    margin-top: 0;
}
.small-text {
    font-size: 14px;
}

/* ===== inline-block ====*/
.button {
    display: inline-block;
    color: #FFF !important;
    text-transform: uppercase;
    background-color: #a8c740;
    padding: 10px 4%;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    transition: background-color ease-in-out 0.5s;
}
.button:hover {
    background-color: #769413;
}

/* ===== block ====*/
.key-work {
    position: relative;
    background: transparent;
    width: 30%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 1.5%;
    float: left;
}
.key-work:nth-of-type(3n) {
    float: right;
}
.key-work img {
    position: relative;
    width: 100% !important;
    height: auto !important;
    z-index: 2;
}
.key-work-text {
    position: absolute;
    top:0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 3%;
    box-sizing: border-box;
    background: #FFF;
    background: rgba(255,255,255,0.6);
    z-index: 1;
    word-break: break-word;
}
.key-work:hover .key-work-text {
    z-index: 3;
}

.selection {
    /* used to hide n show group-booking blerbs */
}
.clear {
    display: inline-block;
    width: 100%;
    clear: both;
}

/* ==========================================================================
   Media Queries
========================================================================== */

@media only screen and (max-width:1600px){
    /* stop key-work-text outside image */
    .key-work {
        width: 45%;
    }
}
@media only screen and (max-width: 1200px){
    /* stop key-work-text outside image */
    .key-work {
        width: 65%;
        margin: 1.5% auto;
        clear: left;
    }
    .key-work:nth-of-type(3n) {
        clear: right;
    }
}
@media only screen and (max-width: 800px) {
    /* mobile view - make 100% */
    .key-work {
        position: relative;
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
    }
    .key-work:after {
    /* hr */
        position: absolute;
        bottom: -10px;
        left: 0;
        right: 0;
        content:"";
        background: #d7d7d7;
        height: 1px;
        border:0;
        margin:0;
    }
    .key-work-text {
        position: static;
        display: block;
        font-size: 14px;
    }
}