/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
    box-sizing:border-box;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    background-color:#faf3e5;
    color:#595959;
}

.navbar {
    width:100%;
    height:60px;
    background-image: url(../img/texture_red.jpg);
}
.navbar-brand {
    background-color: transparent;
    float: left;
    padding: 0px 15px;
}
.navbar-brand img {
    vertical-align:middle;
}
.navbar-brand:hover {
    text-decoration:none;
}
.navbar-brand a:active, .navbar-brand a:hover {
    outline:0;
}

.main-container {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
}



video {
    width:100%;
}

.img-fluid {
    width:100%;
    height: auto;
}

.copyheader {
    font-size:36px;
    text-align:center;
    font-weight:bold;
}

.copytext {
    font-size:18px;
    text-align: justify;
    -moz-text-align-last: center;
    text-align-last: center;
    line-height:28px;
    font-weight:regular;
}

.btn {
    border-radius: none;
    margin-top:4px; /* same as margin-top of .image */
    padding: 8px 20px;
    width:100%;
    background-image: url('../img/texture_red.jpg');
    display:flex;
    justify-content:center;
    align-items:center;
}

.btn-default {
    text-shadow: none;
    box-shadow: none;
    border: none;
    border-radius: none;
    text-decoration: none;
    font-size: 21px;
    font-family: "aktiv-grotesk", Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: rgb(251, 242, 223);
/*    -webkit-filter: grayscale(0%);
    -webkit-transition: .3s ease-in-out;
    -moz-filter: grayscale(100%); 
    -moz-transition: .3s ease-in-out;
    -o-filter: grayscale(100%); 
    -o-transition: .3s ease-in-out;*/
}

.btn-default:hover {
/*    text-shadow: none;
    background-image: url('../img/texture_red.jpg');
    box-shadow: none;
    color: #fff;    
    -webkit-filter: grayscale(100%);*/
}

footer {
    background-image: url(../img/texture_red.jpg);
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0;
    margin-top:10px; /* matching size of container margins (mobile: 10px on left and right) */
}

.masthead {

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    background:#f9db76;

}

.masthead img {
    width:100%;
    height:auto;
}

.masthead-holder {

}
.masthead-band {
    background:#000;
    width:100%;
}

.masthead--img {
    /*border:1px solid red;*/
}

.masthead--title {
    position:relative;
}

.masthead--title--bg {
    position:absolute;
    width:100%;
}

.masthead--projectname {

}

.masthead--clientname {

}

.masthead-before {

}

.masthead-after {
    background:#000;
}






/* ==========================================================================
   Media Queries
   ========================================================================== */

/* =====================
    BOOTSTRAP OVERRIDES
   ===================== */

.container {
    width:320px;
}
.mob-vert-margin {
    margin-top:10px;
}
.nested .col-md-6 {
    /* offsets the nested .row in this use case */
    padding-left:30px;
    padding-right:30px;
}
.row {
    margin-top:20px; /* change vertical margins */
}
.row.nested {
    margin-top:10px;
}

.masthead-holder {
    width:320px;
}
.masthead-before {
    width:320px;
} 
.masthead-after {
    width:100%;
    display:flex;
    justify-content:center;
}
.masthead--title {
    width:320px;
    padding-bottom:20px;
} 

.masthead--projectname {
    font-size:24px;
    font-weight:bold;
    color:#f2f2c3;
    margin-top:24px;
    padding-left:15px;

}
.masthead--clientname {
    font-size:20px;
    font-weight:bold;
    color:#f2f2c3;
    padding-left:15px;

}

footer {
    margin-top:15px; /* matching size of container margins (mobile: 10px on left and right) */
}    

.copyheader {
    font-size:24px;
    text-align:center;
    font-weight:bold;
    margin-bottom:30px;
}

.copytext {
    font-size:14px;
    text-align: justify;
    -moz-text-align-last: center;
    text-align-last: center;
    line-height:20px;
    font-weight:regular;
}


@media (min-width: 576px) {
    .row {
        margin-top:60px; /* change vertical margins */
    }
    .row.nested {
        margin-top:30px;
    }
    .nested .col-md-6 {
        padding-left:15px;
        padding-right:15px;
    }

}

@media (min-width: 768px) {
    .mob-vert-margin {
        margin-top:0px; /* removes the 10px mobile vert margin*/
    }
}

@media (min-width: 992px) {
    .masthead-holder {
        width: 960px;
    }
    .masthead-before {
        width:960px;
    } 
    .masthead-after {
        width:100%;
        display:flex;
        justify-content:center;
    }
    .masthead--title {
        width:960px;
        padding-bottom:20px;
    } 

    .masthead--projectname {
        font-size:38px;
        font-weight:bold;
        color:#f2f2c3;
        margin-top:20px;
    }
    .masthead--clientname {
        font-size:22px;
        font-weight:bold;
        color:#f2f2c3;
    }

    footer {
        margin-top:120px; /* matching size of container margins (mobile: 10px on left and right) */
    }    

    .copyheader {
        font-size:36px;
        text-align:center;
        font-weight:bold;
        margin-bottom:30px;
    }

    .copytext {
        font-size:18px;
        text-align: justify;
        -moz-text-align-last: center;
        text-align-last: center;
        line-height:28px;
        font-weight:regular;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 960px;
    }

}

/* ==========================================================================
   PRELOADER classes
   ========================================================================== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f5f5f5;
  /* change if the mask should have another color then white */
  z-index: 99;
  /* makes sure it stays on top */
  /*pointer-events: none;*/
}

#status {
  position: absolute;
  left: 50%;
  /* centers the loading animation horizontally one the screen */
  top: 50%;
  /* centers the loading animation vertically one the screen */
  margin: -20px 0 0 -25px;
  /* is width and height divided by two */
}

.spinner {
  margin: 100px auto;
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #333;
  height: 100%;
  width: 6px;
  display: inline-block;
  
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% { 
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

/*js will remove this class from rest of page*/
.loading {
  overflow: hidden;
  height: 100vh;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    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;
    }
}