/* 
** Base classes that are needed for any project regardless of theme design
** Use this order:
**  - Positioning
**  - Display & Box Model
**  - Color
**  - Typography
**  - Other
*/

*, ::after, ::before, *:focus {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: 0;
    outline: none;
}

html {
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-family: 'Roboto',sans-serif;
    /*Avoid flicker on slides transitions for mobile phones #336 */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
    width: 100%;
    height: 100%;
    font-size: 1rem;
    font-weight: 300;
    background-color: #dfdfdf;
    color: #0d0d0d;
    position: relative;
}

/* Colors */
.color-primary {
    color: #0a9dbc;
}
.color-secondary {
    color: #ff7400;
}

/* 
** Image
*/

img {
    width: 100%; 
    display: block; 
    height: auto;
}
.bg {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    position: relative;
}
.bg-contain {
    background-size: contain;
}

/* 
** Anchor 
*/

a {
    color: #0a9dbc;
    text-decoration: none;
    position: relative;
}
a:hover {
    color: #ff7400;
    text-decoration: underline;
}

/* 
** Typography
*/

h1, h2, h3, h4, h5, h6,
.txt-display, 
.txt-display-small {
    margin-bottom: 1rem;
    font-family: 'Oswald',sans-serif;
    text-transform: uppercase;
    display: block;
}
h1 {
    font-size: 1.75rem;
    font-weight: 400;
}
h2, h2, h3, h4, h5, h6 {
    font-size: 1.25rem;
    font-weight: 400;
}
.txt-display {
    margin-bottom: 1rem;
    font-size: 8rem;
    font-weight: 500;
}
.txt-display-small {
    font-size: 0.875rem;
}

.txt-lead {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.txt-xs {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.txt-lg {
    font-size: 1.5rem;
    line-height: 2rem;
}
.txt-xl {
    font-size: 2.5rem;
    line-height: 3rem;
}
p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.25rem;
}

/* Medium. Above 48rem (768px) */
@media only screen and (min-width: 48rem) {
    h1 {
        font-size: 2rem;
        font-weight: 400;
    }
    h2 {
        font-size: 1.75rem;
        font-weight: 400;
    }
    h3 {
        font-size: 1.5rem;
        font-weight: 400;
    }
    h3, h4, h5, h6 {
        font-size: 1.25rem;
        font-weight: 400;
    }
}

/*
** Border
*/

.top-border { /* decorative line */
    border-top: 0.25rem solid #ff7400;
    position: relative;
    padding-top: 0.5rem;
    display: inline-block;
}
.top-border:after {
    content: "";
    width: 100%;
    height: 8px;
    background-color: #fff;
    position: absolute;
    left: 2rem;
    top: -6px;
}
.bottom-border { /* decorative line */
    border-bottom: 0.25rem solid #ff7400;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}
.bottom-border:after {
    content: "";
    width: 100%;
    height: 0.25rem;
    background-color: #fff;
    position: absolute;
    left: 4rem;
    bottom: -0.25rem;
}
.left-border { /* decorative line */
    border-left: 0.25rem solid #ff7400;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
    padding: 1rem 0 1rem 2rem;
    margin: 2rem 0 3rem 2rem;
}

/*
** Alignment
*/

.txt-left {
    text-align: left!important;
}
.txt-center {
    text-align: center!important;
}
.txt-right {
    text-align: right!important;
}
.float-left  {
    float: left;
}
.float-right {
    float: right;
}
.clearfix,
.clearfix:before,
.clearfix:after {
        content: "";
        display: table;
}
.clearfix::after {
    clear: both;
}

/* Lists */
.list {
    list-style-type: disc;
    margin: 0 2rem 1rem;
}
.list li {
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

/* 
** Diaplay & Position
*/

.block,
.show {
    display: block!important;
}
.hide {
    display: none!important;
}
.inline-block {
    display: inline-block!important;
}
.inline {
    display: inline!important;
}
.relative {
    display: relative!important;
}
.absolute {
    display: absolute!important;
}

/* Icons */
.icon {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    fill: #ff7400;
    transition: all 0.5s ease;
}
.icon:hover {
    fill: #ff7400;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #0a9dbc;
    padding: 1rem 2rem;
    margin: 1rem 0;
    color: #fff;
    font-family: 'Oswald',sans-serif;
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    letter-spacing: 0.125rem;
    transition: all 0.25s;
}
.btn:hover {
    color:#fff;
}
.btn-primary,
.btn-secondary {
    background-color: #0a9dbc;
    border: 0;
    color: #fff;
    box-shadow: 10px 10px 60px rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}
.btn-primary:hover,
.btn-secondary:hover {
    background-color: rgba(255, 116, 0, 0.75);
    box-shadow: 0 0 0 rgba(0,0,0,0);
    text-decoration: none;
}
.btn-secondary {
    background-color: rgba(255, 116, 0, 1);
    color: #fff;
}
.btn-secondary:hover {
    background-color: #0a9dbc;
}


/* Layout */
.wrapper {
    width: 100%;
    min-height: 100vh;
    padding: 0 8rem;
    margin: 0 auto;
    overflow: hidden;
}
.container {
    width: 100%;
    padding: 0 1.5rem;
    position: relative;
    overflow: hidden;
}

/*
** Padding & Margin Helpers
*/

.mb20 {
    margin-bottom: 2rem;
}
.mv20 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.bold {
    font-weight:700;
}


/* helpers */
.videoWrapper {
    display: inline-block; /* let it be styled thusly */
    padding: 0;            /* get rid of pre-styling */
    margin: 0;
    width: 100%;           /* take up full width available */
    padding-top: 56.25%;   /* give aspect ratio of 16:9; "720 / 1280 = 0.5625" */
    height: 0px;           /* don't want it to expand beyond padding */
    position: relative;
}
.videoWrapper > iframe {
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom:0;
    width: 100%;
    height: 100%;
}
.overlay:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 20%, rgba(0,0,0,1) 90%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 20%,rgba(0,0,0,1) 90%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 20%,rgba(0,0,0,1) 90%);
}
.overlay-100:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(0,0,0,0.25);
}
.overlay-200:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(0,0,0,0.35);
}
.overlay-left:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    background: -moz-linear-gradient(right, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
    background: -webkit-linear-gradient(right, rgba(0,0,0,0) 40%,rgba(0,0,0,0.85) 100%);
    background: linear-gradient(to bottom, right(0,0,0,0) 40%,rgba(0,0,0,0.85) 100%);
}






/* Extra Small. Above 32rem (512px) */
@media only screen and (min-width : 32rem) {

}

/* Medium. Above 48rem (768px) */
@media only screen and (min-width: 48rem) {
    .container {
        padding: 0 3rem;
    }
}

/* Large. Above 64rem (1024px) */
@media only screen and (min-width: 64rem) {
    .container {
        padding: 0 5rem;
    }
}

/* Extra large. Above 80rem (1280px) */
@media only screen and (min-width: 80rem) {
    .container {
        padding: 0 10rem;
    }
}

/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
}

/* Portrait */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
}

/* Landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1.5) {

}

/* IE ONLY */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

}

