/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * A better looking for heading tags
 */

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 300; }
h1 { font-size: 4.0rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Main styles
   ========================================================================== */

html, body {
    height: 100%;
    min-height:100%;
}

body {
    background-color: #efefef;
    background: url("../img/intro.jpg");
    -webkit-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-position: center 0;
    background-repeat: no-repeat;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

h1 {
    box-shadow: -1px 0 47px rgba(6, 0, 0, 0.6);
    font-family: "Open Sans","HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
    text-transform: uppercase;
    font-size: 6rem;
    width: 250px;
    line-height: 5rem;
    background-color: #f3365e;
    padding: 1rem;
    display:table;
    text-align: left;
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

h2 {
    color: #023F5E;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 0.04rem;
    text-align: center;
    margin-bottom: 3.125rem;
}

.button {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0.625rem;
}

.icon-union-logo-compact {
    position: fixed;
    color: #2DCCD3;
    font-size: 3rem;
    top: 1.25rem;
    right: 1.25rem;
    -webkit-transition: color 300ms ease;
    -moz-transition: color 300ms ease;
    -o-transition: color 300ms ease;
    transition: color 300ms ease;
}
.icon-union-logo-compact:hover {
    color: #fff;
}
.icon-union-logo {
    color: #2DCCD3;
    font-size: 10rem;
    display: inline-block;
    line-height: 0;
}
.icon-angle-down {
    font-size: 2rem;
}

.intro {
    color: white;
    text-align: center;
    height: 100%;
    width: 100%;
    display: table;
}

.intro-text {
    color: white;
    max-width: 37.5rem;
    margin: 0 auto;
    vertical-align: middle;
    display: table-cell;
}
.intro-bottom.blue-bg {
    color: #023F5E;
}
.intro-bottom.blue-bg p {
    max-width: 62.5rem;
}

.container {
    position: relative;
    max-width: 85.38rem;
    margin: 0 auto;
    padding: 0 0.9375rem;
    box-sizing: border-box;
}

.full-width {
    width: 100%;
    max-width: 100%;
    clear: both;
    margin: 0 auto;
    background: #efefef;
}
.full-width.white {
    background: #fff;
    color: #01adff;
}

.intro-bottom {
    color: #023F5E;
    background: blue;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.563rem 0 0.4rem;
}
.intro-bottom p{
    max-width: 73.44rem;
    padding: 0 0.9375rem;
    margin: 0 auto;
}

.blue-bg {
    background: #2DCCD3;
    text-align: center;
    color: #fff;
}

#confetti{
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}
.footer-logo {
    text-align: center;
    height: 8rem;
    margin-top: 40px;
}
.footer-logo span {
    /*margin-top: -3.5rem;*/
    cursor: default;
}

footer.blue-bg {
    background: #023F5E;
}

.container.nominations {
    padding-top: 3.125rem;
}
.container.nominations .gutter {
    padding-left: 0.3125rem;
    padding-right: 0.3125rem;
}
.gutter-0 {
    padding-left: 0;
    padding-right: 0;
}

.container.people {
    padding: 0.625rem 0 3.125rem 0;
}
.container.people.row {
    margin-left: 0;
    margin-right: 0;
}

.container.contact {
    padding: 6rem 0;
}
.container.contact p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    margin-top: 0;
    color: #fff;
}

.container.people {
    text-align:center;
}
.container.people img {
    border-radius: 50%;
    border: 8px solid #fff;
    margin-bottom: 5%;
    margin-top: 2%;
    -webkit-transform: translateZ(0) translate3d(0, 0, 0);
    transform: translateZ(0) translate3d(0, 0, 0);
}
.container.people img:hover {
    border: 8px solid #023F5E;
    padding: 2%;
    transform: scale(0.9);
    margin-bottom: 3%;
    margin-top: 0;
}
.container.people h2 {
    margin-bottom: 2.125rem;
}

.container.social .columns {
    border-right: 1px solid #2DCCD3;
}
.container.social .columns:last-of-type {
    border-right: none;
}
.transition {
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
.container.social .columns {
    width: 25%;
    margin: 0;
}
.c-white {
    color: #fff !important;
}
.container.social a {
    font-size: 1.625rem;
    color: inherit;
    text-decoration: none;
    text-align: left;
    display:block;
    position: relative;
    line-height: 1.6rem;
    padding: 1rem 10%;
    border-right: 1px solid #023F5E;
    z-index: 1;
    overflow: hidden;
    color: #023F5E;
}
.container.social a:hover {
    color: #fff;
}
.container.social a span {
    font-size: 1rem;
    white-space: nowrap;
    display:block;
}
.container.social a:after {
    font-family: "stars";
    content: "\64";
    position: absolute;
    right: 10%;
    top: 50%;
    margin-top: -0.9rem;
    font-size: 3.4rem;
    /*color: #2DCCD3;*/
}
.container.social a.twitter:after {
    content: "\68";
}
.container.social a.linkedin:after {
    content: "\65";
}
.container.social a.youtube:after {
    content: "\69";
}
a.arrow {
    color: #023F5E;
    text-decoration: none;
    border: none;
}
a.arrow:after {
    font-family: "stars";
    content: "\61";
    font-size: 3rem;
    line-height: 2.5rem;
}

.container.social a::before {
    content: '';
    width: 110%;
    height: 200px;
    background: #023F5E;
    display: block;
    position: absolute;
    top: -70%;
    transform: rotate(15deg) translateX(-110%);
    left: -10%;
    z-index: -1;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.container.social a:hover::before{
    transform: translateX(5%) rotate(15deg);
}
.container.social a.youtube {
    border-right: none;
}

.card {
    border: 8px solid #fff;
    text-align: center;
    background: #fff;
    overflow: hidden;
    position: relative;
    margin-bottom: 2.5rem;
    z-index: 1;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.card::before {
    content: '';
    width: 35rem;
    height: 31rem;
    background: #2DCCD3;
    display: block;
    position: absolute;
    top: -25%;
    transform: rotate(15deg) translateX(-110%);
    left: 12%;
    z-index: -1;
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
}
.card.hover::before {
    transform: translateX(-25%) rotate(15deg);
}

.card.hover img {
    opacity: 0.2;
}
.card.hover,
.card.hover.gold,
.card.hover.silver,
.card.hover.bronze {
    border-color: #2DCCD3;

}
.card.hover.gold:after,
.card.hover.silver:after,
.card.hover.bronze:after{
    opacity: 0;
}
.card.hover h3,
.card.hover strong,
.card.hover p,
.card.gold.hover h3 span {
    color: #fff;

}
.card img {
    width: 100%;
}
.card .content-wrapper {
    padding: 0.8rem;
    color: #9a9997;
    display: inline-block;
}
.card h3,
.people h3 {
    color: #023F5E;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0;
    text-align: center;
    font-weight: 700;
    margin-bottom: 0;
}
.card h3 span {
    font-size: 0.92rem;
    padding-right: 0.3rem;
    display:none;
}
.card.gold h3 span {
    display: inline-block;
    color: #cea33e;
}
.card.silver h3 span {
    display: inline-block;
    color: #858182;
}
.card.bronze h3 span {
    display: inline-block;
    color: #D06633;
}
.card strong {
    color: #023F5E;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0;
    text-align: center;
    font-weight: 400;
}
.card p,
.people p {
    color: #023F5E;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    margin-top: 0.2rem;
}
.people p {
    padding-top: 0.2rem;
}

.card.gold {
    border: 8px solid #cea33e;
}
.card.silver {
    border: 8px solid #858182;
}
.card.bronze {
    border: 8px solid #d06633;
}
.card:after {
    content: '';
    text-transform: uppercase;
    padding: 0.625rem 0 1.875rem;
    background: transparent;
    position: absolute;
    right: -2.313rem;
    color: #fff;
    font-size: 0.75rem;
    transform: rotate(-45deg);
    bottom: -0.9375rem;
    width: 6.625rem;
    text-align: center;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.card.gold:after {
    content: 'gold';
    background: #cea33e;
}
.card.silver:after {
    content: 'silver';
    background: #858182;
}
.card.bronze:after {
    content: 'bronze';
    background: #d06633;
}

#contact-details a {
    color: #fff;
}
.container.people .clients img:hover {
    border: 8px solid #fff;
    transform: scale(1);
    padding: 0;
    margin-bottom: 5%;
    margin-top: 2%;
}

/* Fancybox */
.fancybox-lock {
    overflow: visible !important;
}
.lightbox {
    color: #fff;
}
.lightbox img {
    width: 100%;
}
.lightbox .text-wrapper {
    padding: 1.875em;
    text-align: center;
    display: inline-block;
    background: #2DCCD3;
    width: 100%;
}
.lightbox ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lightbox li {
    padding: 0;
    margin: 0;
}
.lightbox .text-wrapper h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}
.lightbox .text-wrapper h4 span {
    font-weight: 400;
}
.lightbox .text-wrapper strong {
    font-weight: 400;
    padding-bottom: 1rem;
}
.lightbox .text-wrapper p {
    font-size: 0.9rem;
    margin-bottom: 0;
    margin-top: 1.25rem;
    line-height: 1.4rem;
}
.slider li {
    display:none;
}
.slider li:first-of-type {
    display:block;
}

/*.lightbox .video-wrapper {*/
    /*position:relative;*/
    /*padding-bottom:54%;*/
    /*height:0;*/
    /*overflow:hidden;*/
/*}*/
.fancybox-close {
    position: absolute;
    top: -36px;
    right: 0;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1;
    background-color: #2DCCD3;
}
iframe.video {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.fancybox-skin {
    float: left;
    margin: 15px;
    background: #45ABFF;
    letter-spacing: 0;
    text-align: left;
    border-radius: 0;
}

/* Slides */
.rslides_nav {
    z-index: 3;
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    top: 50%;
    left: 0;
    opacity: 0.5;
    overflow: hidden;
    text-decoration: none;
    height: 3.75rem;
    width: 1.875rem;
    background: #000;
    margin-top: -1.875rem;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
.rslides_nav:hover {
    opacity: 1;
}
.rslides_nav.next {
    left: auto;
    background-position: right top;
    right: 0;
}
.rslides-container {
    position: relative;
    float: left;
    width: 100%;
}
.rslides_nav.next::before,
.rslides_nav.prev::before {
    content: "\63";
    font-family: "stars";
    color: #fff;
    font-size: 2.2rem;
    line-height: 3.75rem;
}
.rslides_nav.prev::before {
    content: "\62";
    float: right;
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
    display: inline-block;
    padding: 0 1.25rem;
    color: #fff;
    text-align: center;
    line-height: 2.5rem;
    letter-spacing: .04rem;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 3px solid #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 1;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
.button::after {
    content: '';
    width: 110%;
    height: 200px;
    background: #fff;
    display: block;
    position: absolute;
    top: -100%;
    transform: rotate(15deg) translateX(-110%);
    left: -10%;
    z-index: -1;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}
.button:hover {
    color: #023F5E;
}
.button:hover::after {
    transform: translateX(0) rotate(15deg);
}
.videoWrapper {
    position: relative;
    padding-bottom: 54%;
    height: 0;
    overflow: hidden;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.total {
    width: 100%;
}






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}




/* Contact form */

#contact-form .icon-union-logo, #contact-form h2{
    color: white;
    margin-top: -30px;
    margin-bottom: 30px;
}
#contact-form-form input, #contact-form-form .button, #contact-form-form textarea{
    height: 50px;
    width: 90%;
    display: inline-block;
    margin: 20px auto 0px auto;
    box-sizing: border-box;
    line-height: 5px;
    padding: 20px;
}
#contact-form-form input, #contact-form-form textarea{
    background-color: #3698e8;
    border: 2px solid #3698e8;
    padding: 0px 20px;
    color: white;
}
#contact-form-form textarea{
    height: 150px;
    padding: 20px;
}

.prize {
    position: absolute;
    background: none;
    width: 125px;
    height: 31px;
    z-index: 100;
    margin-left: calc(50% - 1rem);
    transform: translateX(-50%);
    bottom: 0;
}
.unit.gold .prize {
    background: url("../img/gold.png");
    bottom: 3.8rem;
}
.unit.silver .prize {
    background: url("../img/silver.png");
    bottom: 3.8rem;
}
.unit.bronze .prize {
    position: absolute;
    background: url("../img/bronze.png");
    bottom: 3.8rem;
}

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .container.social a {
        visibility: hidden;
    }
    .container.social a:hover {
        color: #2DCCD3;
    }
    .container.social a:after {
        visibility: visible;
        right: 50%;
        transform: translateX(20px);
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    html {
        font-size: 0.85em;
        line-height: 1.3;
    }
    body {
        background: url("../img/intro-xs.jpg");
    }
    .container.nominations .gutter {
        padding-left: 0;
        padding-right: 0;
    }
    .container.contact {
        padding: 4rem 0;
    }
    .container.contact a:first-of-type {
        margin-bottom: 1rem;
    }
    .container.people .unit {
        margin-bottom: 2.5rem;
    }
    .container.people img {
        width: 55%;
    }
    .container.people img:hover {
        border: 8px solid #023F5E;
        transform: none;
        padding: 0;
        margin-bottom: 5%;
        margin-top: 2%;
    }
    .lightbox .text-wrapper {
        padding: 1.375em;
    }
    .fancybox-close {
        top: 0;
        right: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        z-index: 8040;
    }
    .intro-text {
        vertical-align: bottom;
        padding-bottom: 50%;
    }
    h1 {
        box-shadow: -1px 0 20px rgba(6, 0, 0, 0.6);
        font-size: 2rem;
        width: 100%;
        line-height: 2rem;
        padding: 1rem;
        text-align: center;

    }
    h1 span.hidden {
        display: inline !important;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
    .intro-text {
        padding-bottom: 65%;
    }
    h1 {
        font-size: 1.8rem;
        line-height: 1.8rem;
    }
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
