/*! HTML5 Boilerplate v6.0.1 | 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
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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;
}

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * 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;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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 {
        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 {
        white-space: pre-wrap !important;
    }
    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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}




/* BRUAG */
body {
    background: #111111;
    color: #ffffff;
    font-family: sans-serif;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    font-family: 'Oxygen', sans-serif !important;
}
#bruag #bruag-slideshow {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}
#bruag #bruag-slideshow .bruag-slide {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 100;
}


#bruag #bruag-slideshow-controls {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    // background-color: rgba(255,0,0,0.2);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    opacity: 0.8;
}
#bruag #bruag-slideshow-controls .bruag-controls-backdrop {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    z-index: 100;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}
#bruag.hidden-button #bruag-slideshow-controls {
    opacity: 0 !important;
}
#bruag #bruag-slideshow-controls:hover {
    opacity: 1;
}
#bruag #bruag-slideshow-controls .bruag-slideshow-prev,
#bruag #bruag-slideshow-controls .bruag-slideshow-next,
#bruag #bruag-slideshow-controls .bruag-slideshow-play,
#bruag #bruag-slideshow-controls .bruag-slideshow-stop,
#bruag #bruag-slideshow-controls .bruag-slideshow-list,
#bruag #bruag-slideshow-controls .bruag-slideshow-fullscreen {
    display: block;
    position: absolute;
    // border: 1px solid red;
    cursor: pointer;
    z-index: 200;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background-position: center center;
    background-repeat: no-repeat;
    // background-size: 64px 64px;
    background-size: 96px 96px;
    cursor: pointer;
    opacity: 0.5;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
#bruag #bruag-slideshow-controls .bruag-slideshow-prev:hover,
#bruag #bruag-slideshow-controls .bruag-slideshow-next:hover,
#bruag #bruag-slideshow-controls .bruag-slideshow-play:hover,
#bruag #bruag-slideshow-controls .bruag-slideshow-stop:hover,
#bruag #bruag-slideshow-controls .bruag-slideshow-list:hover,
#bruag #bruag-slideshow-controls .bruag-slideshow-fullscreen:hover {
    opacity: 1;
}
#bruag #bruag-slideshow-controls .bruag-slideshow-prev {
    top: 0;
    left: 0;
    bottom: 0;
    width: 15%;
    background-image: url('../img/icon-prev.svg');
}
#bruag #bruag-slideshow-controls .bruag-slideshow-next {
    top: 0;
    right: 0;
    bottom: 0;
    width: 15%;
    background-image: url('../img/icon-next.svg');
}
#bruag #bruag-slideshow-controls .bruag-slideshow-play {
    // top: 0;
    // right: 15%;
    // bottom: 0;
    // left: 15%;
    background-image: url('../img/icon-play.svg');
    left: 40%;
    right: 40%;
    bottom: 0;
    height: 120px;
    // border: 1px solid red;
}
#bruag #bruag-slideshow-controls .bruag-slideshow-stop {
    // top: 0;
    // right: 0;
    bottom: 0;
    // left: 0;
    background-image: url('../img/icon-pause.svg');
    display: none;
    left: 30%;
    right: 30%;
    height: 120px;
}
#bruag #bruag-slideshow-controls .bruag-slideshow-list {
    // left: 15%;
    // bottom: 0;
    // right: 15%;
    // height: 150px;
    background-image: url('../img/icon-list.svg');
    background-size: 48px 48px;
    left: 30%;
    right: 60%;
    bottom: 0;
    height: 120px;
    // border: 1px solid red;
}
#bruag #bruag-slideshow-controls .bruag-slideshow-fullscreen {
    // top: 0;
    // right: 0;
    // height: 150px;
    // width: 150px;
    background-image: url('../img/icon-fullscreen.svg');
    background-size: 48px 48px;
    left: 60%;
    right: 30%;
    bottom: 0;
    height: 120px;
    // border: 1px solid red;
}
#bruag #bruag-slideshow-controls .bruag-slideshow-fullscreen.windowed {
    background-image: url('../img/icon-windowed.svg');
}
#bruag.playing #bruag-slideshow-controls .bruag-slideshow-fullscreen {
    right: 0;
    left: auto;
    width: 120px;
}

@media(max-width:768px) {
    #bruag #bruag-slideshow-controls .bruag-slideshow-prev,
    #bruag #bruag-slideshow-controls .bruag-slideshow-next,
    #bruag #bruag-slideshow-controls .bruag-slideshow-play,
    #bruag #bruag-slideshow-controls .bruag-slideshow-stop,
    #bruag #bruag-slideshow-controls .bruag-slideshow-list,
    #bruag #bruag-slideshow-controls .bruag-slideshow-fullscreen {
        height: 80px;
        background-size: 48px 48px;
        opacity: 1;
    }
    #bruag #bruag-slideshow-controls .bruag-slideshow-prev,
    #bruag #bruag-slideshow-controls .bruag-slideshow-next {
        height: auto;
    }
    #bruag #bruag-slideshow-controls .bruag-slideshow-play,
    #bruag #bruag-slideshow-controls .bruag-slideshow-stop {
        background-size: 60px 60px;
    }
    #bruag #bruag-slideshow-controls .bruag-slideshow-stop {
        // height: auto;
        height: 80px;
    }
    #bruag #bruag-slideshow-controls .bruag-slideshow-list,
    #bruag #bruag-slideshow-controls .bruag-slideshow-fullscreen {
        background-size: 32px 32px;
    }
    #bruag.playing #bruag-slideshow-controls .bruag-slideshow-fullscreen {
        width: 80px;
    }
}


#bruag.playing #bruag-slideshow-controls .bruag-slideshow-prev,
#bruag.playing #bruag-slideshow-controls .bruag-slideshow-next,
#bruag.playing #bruag-slideshow-controls .bruag-slideshow-play,
#bruag.playing #bruag-slideshow-controls .bruag-slideshow-list {
    display: none;
}
#bruag.playing #bruag-slideshow-controls .bruag-slideshow-stop {
    display: block;
}


#slideshow-progress {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: rgba(0,0,0,0.5);
}
#current-time {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(237, 0, 42, 1);
}
#bruag.playing #slideshow-progress {
    display: block;
}


#bruag-thumbs-list {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
#bruag-thumbs-list.visible {
    display: block;
}
#bruag-thumbs-list #bruag-modal {
    display: block;
    position: fixed;
    top: 100px;
    bottom: 100px;
    left: 15%;
    right: 15%;
    background: #111111;
    box-shadow: 0px 5px 10px rgba(0,0,0,1);
    overflow: hidden;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-header {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 60px;
    background: rgba(237, 0, 42, 1);
    box-shadow: 0px 5px 10px rgba(0,0,0,0.3);
    z-index: 1001;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-header h4 {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 60px;
    line-height: 60px;
    padding: 0 0 0 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-header .close-modal {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background-image: url('../img/icon-close.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 32px 32px;
    cursor: pointer;
    opacity: 0.8;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-header .close-modal:hover {
    opacity: 1;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-content {
    display: block;
    position: absolute;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: scroll;
} 
#bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs {
    padding: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs .the-thumb {
    flex: 0 0 auto;
    flex-basis: 33.3333333333333333%;
    padding: 5px;
    box-sizing: border-box;
    margin: 0;
}

#bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs .the-thumb a {
    display: block;
    background: #ffffff;
    box-shadow: 0px 3px 5px rgba(0,0,0,0.3);
    // padding: 10px;
    cursor: pointer;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs .the-thumb a .image-thumb {
    display: block;
    width: 100%;
    padding-top: 78%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs .the-thumb a h2 {
    margin: 0;
    padding: 0;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 700;
    text-align: center;
    // font-weight: normal;
    color: #111111;
}
#bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs .the-thumb a:hover h2 {
    color: rgba(237, 0, 42, 1);
}


@media(max-width:1023px) {
    #bruag-thumbs-list #bruag-modal {
        top: 50px;
        bottom: 50px;
        left: 50px;
        right: 50px;
    }
    #bruag-thumbs-list #bruag-modal #bruag-modal-header h4,
    #bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs .the-thumb a h2 {
        font-size: 15px;
    }
}
@media(max-width:767px) {
    #bruag-thumbs-list #bruag-modal {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    #bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs .the-thumb {
        flex-basis: 50%;
    }
    #bruag-thumbs-list #bruag-modal #bruag-modal-header h4,
    #bruag-thumbs-list #bruag-modal #bruag-modal-content #bruag-thumbs .the-thumb a h2 {
        font-size: 13px;
    }
}


#bruag #get-buttons {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /*background: rgba(255,0,0,0.9);*/
    z-index: 2000;
}
#bruag.hidden-button #get-buttons {
    display: block;
}



/* COLOR PICKER */
.bruag-color-picker {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    padding: 5px;
    background: rgba(255,255,255,0.75);
}
.bruag-color-picker a {
    flex: 0 0 auto;
    box-sizing: border-box;
    width: auto;
    height: 50px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    /*margin: 5px;*/
    padding: 10px 20px;
    cursor: pointer;
    color: #212121;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}
.bruag-color-picker a span {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #212121;
    border-radius: 50%;
    box-sizing: border-box;
    margin-right: 10px;
    position: relative;
}
.bruag-color-picker a span:after {
    display: block;
    width: 20px;
    height: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -8px;
    content: '';
    /*background: red;*/
    background-size: 20px 16px;
    background-position: center center;
    background-repeat: no-repeat;
}
.bruag-color-white span {
    background: #ffffff;
    border-color: #212121;
}
.bruag-color-graphite span {
    background: #212121;
}
.bruag-color-gold span {
    background: #d8b37c;
}

.bruag-color-picker a.bruag-color-white.bruag-picker-active span:after,
.bruag-color-picker a.bruag-color-gold.bruag-picker-active span:after {
    background-image: url('../img/icon-check-black.svg');
}
.bruag-color-picker a.bruag-color-graphite.bruag-picker-active span:after {
    background-image: url('../img/icon-check-white.svg');
}

@media (max-width: 768px) {
    .bruag-color-picker a {
        padding: 10px;
        font-size: 12px;
    }
    .bruag-color-picker a span {
        margin-right: 5px;
}