/*! HTML5 Boilerplate v6.1.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
 *
 * 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;
}

.margine-video { 
	margin-left:15em;
	margin-right:15em;
}

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

/* ==========================================================================
 ionut's custom styles
   ========================================================================== */

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}
 
.iframe-container iframe {
   border: 0;
   height: 100%;
    min-height: 200px;
   position: absolute;
   top: 0;
   width: 100%;
   min-width:600px;
}
img.timeline-position {
	width: 80%;
	object-fit: contain;
}


 .back-to-top {
    background-color: #37474f;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity .6s ease-in-out;
    z-index: 999;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    border-radius: 0%;
  }

  a.back-to-top {
    font-weight: 1000;
    letter-spacing: 2px;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.6;
    padding-left: 2px;
    padding-top: 14px;
  }

  .back-to-top:hover, .back-to-top:focus, .back-to-top:visited {
    color: #FFF;
  }

  .back-to-top.show {
    opacity: 1;
  }


/* ==========================================================================
   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);
    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;
    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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !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) ")";
    }

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

/* Custom */

/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
    color: #fff;
}

a {
    color: #222325;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritance from `body` */
    background-color: #fff;
    border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
    height: 100%;
    background-color: #333;
}

body {
    color: #fff;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
    font-family: 'Open Sans', sans-serif;
    text-rendering: geometricPrecision;
}

/*Font Fixes*/

.h1, h1 {
    font-size: 7.5rem !important;
}

.lead {
    font-size: 2.8125rem !important;
}

.h3, h3 {
    font-size: 2.5rem !important;
}

/*END*/

.cover-container {
    max-width: 82em;
    background: url(../img/header-photo.jpg) no-repeat center center;
    -webkit-background-size: cover !important;;
    -moz-background-size: cover !important;;
    -o-background-size: cover !important;
    background-attachment: inherit;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    max-width: 100%;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/header-photo.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/header-photo.jpg', sizingMethod='scale')";
    height: 80vh !important;
    overflow: hidden;
}

/*
 * Header
 */
.masthead {
    margin-bottom: 4rem;
}

.masthead-brand {
    margin-bottom: 0;
}

.nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    background-color: transparent;
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}

@media (min-width: 48em) {
    .masthead-brand {
        float: left;
    }
    .nav-masthead {
        float: right;
    }
}

/*
 * Cover
 */
.cover {
    padding: 0 1.5rem;
}
.cover .btn-lg {
    padding: .75rem 1.25rem;
    font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
    color: rgba(255, 255, 255, .5);
}

/* Hero */

h1.cover-heading {
    color: rgb(221, 219, 219);
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    z-index: 215;
}

p.lead {
    color: rgb(221, 219, 219);
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    z-index: 217;
    letter-spacing: 18px;
    margin-bottom: 2em;
}

h3.masthead-brand {
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    line-height: 0.985;
    z-index: 214;
}

h3.event-date {
    color: white;
    font-weight: 100;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

h4.second-section--heading {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    letter-spacing: 4.8px;
}

p {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 2px;
}

h2.text-center {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    letter-spacing: 8px;
}

.fifth-section.w-100.p-custom.mx-auto h2 {
    letter-spacing: 4px;
}

.nav-logo {
    width: 30%;
}

.logo {
    position: absolute;
    top: 20px;
    left: 30px;
}

.first-section {
    background: white;
}

.second-section {
    background: white;
}

img.funnel-position {
    width: 80%;
    transform: translateY(-15%);
}

.button-base {
    display: inline-block;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    padding: 10px;
    color: #000;
    text-align: center;
    margin-bottom: 80px;
    border-radius: 10px;
    background-color: rgb(255, 197, 39);
}

.button-base a {
    color: #000000;
    letter-spacing: 1px;
}

.text-entry p {
    font-size: 20px;
    letter-spacing: 2px;
}

.row.timeline-column {
    flex-direction: column;
    flex-wrap: nowrap;
}

.mb-100 {
    margin-bottom: 100px;
}

.third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
    height: 280px;
}

.p-custom {
    padding: 3rem !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1rem !important;
}

/*Custom Timeline*/

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

.input-flex-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 80vw;
    max-width: 1000px;
    position: relative;
    z-index: 0;
    /*margin-left: calc((80vw - 25px) / 20);*/
}

input {
    width: 25px;
    height: 25px;
    background-color: #000;
    position: relative;
    border-radius: 50%;
    display: block;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
input:focus {
    outline: none;
}
input::before, input::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffc627;
    width: 11vw;
    height: 5px;
    max-width: 160px !important;
}
input::before {
    left: calc(-4vw + 12.5px);
}
input::after {
    right: calc(-4vw + 12.5px);
}
input:checked {
    background-color: #ffc627;
}
input:checked::before {
    background-color: #ffc627;
}
input:checked::after {
    background-color: #AEB6BF;
}
input:checked ~ input, input:checked ~ input::before, input:checked ~ input::after {
    background-color: #AEB6BF;
    border: 0px !important;
}
input:checked + .dot-info span {
    font-size: 13px;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
}

.dot-info {
    width: 25px;
    height: 25px;
    display: block;
    visibility: hidden;
    position: relative;
    z-index: -1;
    left: calc((((80vw - 25px) / 20) * -1) - 1px);
    border: 0px !important;
}
.dot-info span {
    visibility: visible;
    position: absolute;
    font-size: 12px;
}
.dot-info span.year {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    font-family: 'Open Sans', sans-serif;
}
.dot-info span.label {
    top: -65px;
    left: 0;
    transform: rotateZ(-45deg);
    width: 70px;
    text-indent: -10px;
    font-family: 'Open Sans', sans-serif;
}

#timeline-descriptions-wrapper {
    width: 100%;
    margin-top: 140px;
    font-size: 22px;
    font-weight: 400;
    margin-left: calc((-80vw - 25px) / 20);
}
#timeline-descriptions-wrapper p {
    margin-top: 0;
    display: none;
}

input[data-description="1910"]:checked ~ #timeline-descriptions-wrapper p[data-description="1910"] {
    display: block;
}

input[data-description="1920"]:checked ~ #timeline-descriptions-wrapper p[data-description="1920"] {
    display: block;
}

input[data-description="1930"]:checked ~ #timeline-descriptions-wrapper p[data-description="1930"] {
    display: block;
}

input[data-description="1940"]:checked ~ #timeline-descriptions-wrapper p[data-description="1940"] {
    display: block;
}

input[data-description="1950"]:checked ~ #timeline-descriptions-wrapper p[data-description="1950"] {
    display: block;
}

@media (min-width: 1250px) {
    /*.input-flex-container {*/
        /*margin-left: 62.5px;*/
    /*}*/

    input::before {
        left: -37.5px;
    }
    input::after {
        right: -187.5px;
    }

    .dot-info {
        left: calc((((1000px - 25px) / 20) * -1) - 1px);
    }

    #timeline-descriptions-wrapper {
        margin-left: -37.5px;
    }
}
@media (max-width: 630px) {
    .flex-parent {
        justify-content: initial;
    }

    .input-flex-container {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 400px;
        height: auto;
        margin-top: 5vh;
        margin-left: 0;
    }

    input, .dot-info {
        width: 60px;
        height: 60px;
        margin: 0 10px 50px;
    }

    input {
        background-color: transparent !important;
        z-index: 1;
    }
    input::before, input::after {
        content: none;
    }
    input:checked + .dot-info {
        background-color: #ffc627;
    }
    input:checked + .dot-info span.year {
        font-size: 14px;
    }
    input:checked + .dot-info span.label {
        font-size: 12px;
    }

    .dot-info {
        visibility: visible;
        border-radius: 50%;
        z-index: 0;
        left: 0;
        margin-left: -70px;
        background-color: #AEB6BF;
    }
    .dot-info span.year {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ECF0F1;
    }
    .dot-info span.label {
        top: calc(100% + 5px);
        left: 50%;
        transform: translateX(-50%);
        text-indent: 0;
        text-align: center;
    }

    #timeline-descriptions-wrapper {
        margin-top: 30px;
        margin-left: 0;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .input-flex-container {
        width: 250px;
    }
}
@media (max-width: 400px) {
    .input-flex-container {
        width: 250px;
    }
}

/* Grid */


.square {
  position: relative;
  width: 70%;
  background-color:#00cc99;
  vertical-align: super;
  margin-top: 15%;
  
}

.square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.content {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  text-transform: uppercase;
  color:#FFF;
  font-weight: 600;
  font-size: 1.1em;
  font-family: 'Open Sans', sans-serif;
  word-warp:break-word;
  margin-top:15%;
}


#rig, #rig-1 {
    max-width:900px;
    margin:0 auto; /*center aligned*/
    padding:0;
    font-size:0; /* Remember to change it back to normal font size if have captions */
    list-style: none;
    background-color: #fff;
}
#rig li, #rig-1 li {
    display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:25%;
    vertical-align:middle;
    box-sizing:border-box;
    margin:0;
    padding:0;
}

/* The wrapper for each item */
.rig-cell {
    /*margin:12px;
    box-shadow:0 0 6px rgba(0,0,0,0.3);*/
    display:block;
    position: relative;
    overflow:hidden;
}

/* If have the image layer */
.rig-img {
    display:block;
    width: 100%;
    height: auto;
    border:none;
    transform:scale(1);
    transition:all 1s;

}
.bw {
   filter: saturate(0.1); 

}
.yl {
 filter: sepia() saturate(3) hue-rotate(4deg); 
}

#rig li:hover .rig-img, #rig-1 li:hover .rig-img {
    transform:scale(1.05);
}
#rig li:hover .rig-img-bw, #rig-1 li:hover .rig-img-bw {
    transform:scale(1.05);
}
#rig li:hover .rig-img-yl, #rig-1 li:hover .rig-img-yl {
    transform:scale(1.05);
}

/* If have the overlay layer */
.rig-overlay {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #000;
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}
#rig li:hover .rig-overlay, #rig-1 li:hover .rig-overlay {
    opacity:0.8;
}

/* If have captions */
.rig-text {
    display:block;
    padding:0 30px;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    font-size:18px;
    font-weight:bold;
    font-family: 'Open Sans', sans-serif;
    top:40%;
    color:white;
    opacity:0;
    filter:alpha(opacity=0);/*For older IE*/
    transform:translateY(-20px);
    transition:all .3s;
}
span.rig-text.rig-text--description {
    top: 50px;
    font-size: 16px;
    font-weight: 100;
}
ul#rig li:nth-child(1) .rig-text--description {
    top: 5px;
}
ul#rig li:nth-child(2) .rig-text--description {
    top: 5px;
}
ul#rig li:nth-child(3) .rig-text--description {
    top: 5px;
}
ul#rig li:nth-child(4) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(5) .rig-text--description {
    top: 30px;
}
ul#rig li:nth-child(6) .rig-text--description {
     top: 20px;
 }
ul#rig li:nth-child(7) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(8) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(9) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(10) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(11) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(12) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(13) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(14) .rig-text--description {
    top: 5px;
}
ul#rig li:nth-child(15) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(16) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(17) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(18) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(19) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(20) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(21) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(22) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(23) .rig-text--description {
    top: 0px;
}
ul#rig li:nth-child(24) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(25) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(26) .rig-text--description {
    top: 20px;
}
ul#rig li:nth-child(27) .rig-text--description {
    top: 20px;
}
ul#rig-1 li:nth-child(1) .rig-text--description {
    top: 20px;
}
ul#rig-1 li:nth-child(2) .rig-text--description {
    top: 20px;
}
ul#rig-1 li:nth-child(3) .rig-text--description {
    top: 20px;
}
ul#rig-1 li:nth-child(4) .rig-text--description {
    top: 20px;
}
#rig li:hover .rig-text, #rig-1 li:hover .rig-text {
    transform:translateY(0px);
    opacity:0.9;
}

@media (max-width: 9000px) {
    #rig li, #rig-1 li {
        width:25%;
    }
}

@media (max-width: 700px) {
    #rig li, #rig-1 li {
        width:33.33%;
    }
}

@media (max-width: 550px) {
    #rig li, #rig-1 li {
        width:50%;
    }
}

.third-section .group-elements--text > h4 {
    padding: 0 0 20px;
}

.sixth-section .group-elements--text > h4 {
    padding: 0 0 20px;
    text-align: left;
}

.group-elements--text > h4 {
    text-align: center;
    padding: 0px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    letter-spacing: 4.8px;
}

.group-elements--text > p, .group-elements--text > ul {
    font-weight: 100;
    line-height: 1.8;
}

.seventh-section.w-100.p-custom.mx-auto h4 {
    letter-spacing: 1px;
}

.eight-section.w-100.p-custom.mx-auto h2 {
    letter-spacing: 4px;
}

.group-elements--text > ul {
    padding-left: 10px;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 3.2px;
}

.group-elements--text > h5 {
    font-weight: 200;
    letter-spacing: 4.8px;
    text-align: center;
    padding: 0 0 20px;
    font-family: 'Open Sans', sans-serif;
}

.group-elements--text {
    margin-bottom: 30px;
}

.group-elements--hours {
    display: block;
    margin: 0 auto;
}

.group-elements--hours p {
    margin-bottom: 0px;
    line-height: 1.5;
    font-weight: 100;
    text-align: left;
    letter-spacing: 3.2px;
}


.center-button {
    width: 220px;
    display: block;
    font-size: 12px;
    letter-spacing: 1.2px;
}

.text-center {
    text-align: center;
}

.row.top-heading {
    margin-bottom: 30px;
}

.third-section {
    background: #fff2cd;
}

.fourth-section {
    background: #fff;
}

.fifth-section {
    background: #8fe2cf;
}

.sixth-section {
    background: #eeeeee;
}

.row.mb-40 {
    margin-bottom: 30px;
}

.seventh-section {
    background: #fff;
}

.eight-section {
    background: #fff2cd;
}

.input-flex-container input {
    pointer-events: none;
}

.third-section.w-100.p-custom.mx-auto .row .col-sm-12:nth-child(2) .group-elements--text p {
    margin-bottom: 0px !important;
}

.third-section.w-100.p-custom.mx-auto .row .col-md-12 .group-elements {
    width: 280px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.second-section.w-100.p-5.mx-auto {
    margin-top: -130px;
}

.seventh-section.w-100.p-5.mx-auto .col-sm-12 img {
    width: 50%;
    padding: 10px;
    margin: 0 auto;
    vertical-align: middle;
}

.seventh-section.w-100.p-custom.mx-auto .row .col-sm-12 {
    text-align: center;
}

.seventh-section.w-100.p-custom.mx-auto .row .col-sm-12 .top-heading {
    margin-bottom: 40px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
}

.right-side {
    text-align: left;
}

.left-side {
    text-align: right;
}

span.left-icon {
    display: inline-block;
    text-align: left;
    padding: 8px;
    float: left;
}

.span.left-icon img {
    width: 50%;
}

span.icon img {
    width: 50%;
}

.social-media .col-sm-12 {
    margin-bottom: 30px;
}

.ninth-section {
    background: white;
}

.ninth-section.w-100.p-custom.mx-auto .col-sm-12:first-child .right-side img {
    width: 65% !important;
}

.social-media .icon {
    display: inline-block;
    text-align: center;
}

.info-wrapper .icon img {
    display: inline-block;
    float: left;
}

.right-side .info-wrapper p {
    padding: 10px;
    font-weight: 100;
    font-size: 1.125rem;
}

p.text--padding {
    padding: 20px;
    margin: 0 auto;
    display: inline-block;
}

/*img.partner--logo.partner--logo-sponsor {*/
    /*width: 60%;*/
/*}*/

/*PARTNERS TYPE*/

img.partners-logo {
    width: 60%;
    padding: 5%;
    vertical-align: super;
    margin-top: 20px;
}

/* LOGOS */

img.partners--logo {
    width: 15%;
    padding: 10px;
    margin-right: 40px;
}

.uni-logo {
    padding: 10px;
    width: 10%;
    margin-right: 40px;
}

.col-lg-10.logos {
    text-align: left;
}

img.partners--logo.middle-logo {
    padding-top: 40px;
    margin-right: 0px;
}

.col-lg-12.col-md-12.col-sm-12.mb-40 {
    margin-bottom: 40px;
}

/*iPhone X in portrait*/

@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3)
and (orientation : portrait) {
    .nav-logo {
        width: 70%;
    }
    img.funnel-position {
        width: 100%;
		transform: translateY(-10%);
    }
    h1.cover-heading {
        font-size: 3.5rem !important;
    }
    p.lead {
        font-size: 2.5rem !important;
        letter-spacing: 3px;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child {
        order: 1;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:nth-child(1) {
        order: 2;
    }
    .third-section.w-100.p-custom.mx-auto .group-elements {
        margin-bottom: 30px;
    }
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: auto;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--text, .sixth-section.w-100.p-custom.mx-auto .group-elements--text    {
        margin-bottom: 70px;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--hours {
        width: auto !important;
    }
    .first-section.w-100.p-custom.mx-auto .group-elements--text {
        margin-bottom: 30px;
    }
    .second-section.w-100.p-5.mx-auto .row .mb-100 {
        margin-bottom: 0px !important;
    }
    .dot-info span {
        font-size: 10px;
    }
    .group-elements--text {
        height: auto;
    }
    .fifth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(3) .group-elements--text {
        margin-bottom: -40px !important;
    }
    .sixth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(4) .group-elements--text {
        margin-bottom: -30px !important;
    }
    .second-section.w-100.p-5.mx-auto {
        margin-top: -60px;
    }
    .seventh-section.w-100.p-custom.mx-auto .col-sm-12 img {
        width: 45%;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child .row .col-sm-6:nth-child(2) {
        margin-bottom: 80px;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12 .top-heading {
        margin-bottom: 20px;
    }
    .ninth-section.w-100.p-custom.mx-auto .col-sm-12:first-child .right-side img {
        width: 65% !important;
    }
    .rig-text {
        padding: 0px;
        top: 50%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
    img.uni-logo {
        margin-right: 0px;
    }
    img.partners--logo {
        margin-right: 0px;
    }
    .social-media {
        text-align: center;
    }
}


/*iPhone 6,7, & 8 in Portrait*/

@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : portrait) {
    .nav-logo {
        width: 70%;
    }
    h1.cover-heading {
        font-size: 2.5rem !important;
    }
    p.lead {
        letter-spacing: 3px;
    }
    img.funnel-position {
        width: 100%;
        transform: translateY(-10%);
    }
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: auto;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child {
        order: 1;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:nth-child(1) {
        order: 2;
    }
    .third-section.w-100.p-custom.mx-auto .group-elements {
        margin-bottom: 30px;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--text, .sixth-section.w-100.p-custom.mx-auto .group-elements--text {
        margin-bottom: 70px;
    }
    .first-section.w-100.p-custom.mx-auto .group-elements--text {
        margin-bottom: 30px;
    }
    .second-section.w-100.p-5.mx-auto .row .mb-100 {
        margin-bottom: 0px !important;
    }
    .dot-info span {
        font-size: 10px;
    }
    .group-elements--text {
        height: auto;
    }
    .fifth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(3) .group-elements--text {
        margin-bottom: -40px !important;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--hours {
        width: auto !important;
    }
    .sixth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(4) .group-elements--text {
        margin-bottom: -30px !important;
    }
    .second-section.w-100.p-5.mx-auto {
        margin-top: -60px;
    }
    .seventh-section.w-100.p-custom.mx-auto .col-sm-12 img {
        width: 45%;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child .row .col-sm-6:nth-child(2) {
        margin-bottom: 80px;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12 .top-heading {
        margin-bottom: 20px;
    }
    .ninth-section.w-100.p-custom.mx-auto .col-sm-12:first-child .right-side img {
        width: 65% !important;
    }
    .rig-text {
        padding: 0px;
        top: 50%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
    img.uni-logo {
        margin-right: 0px;
    }
    img.partners--logo {
        margin-right: 0px;
    }
    .social-media {
        text-align: center;
    }
}

/*iPhone 6, 7, & 8 Plus in portrait*/

@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
and (orientation : portrait) {
    .nav-logo {
        width: 70%;
    }
    h1.cover-heading {
        font-size: 2.5rem !important;
    }
    p.lead {
        letter-spacing: 3px;
    }
    img.funnel-position {
        width: 100%;
        transform: translateY(-10%);
    }
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: auto;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child {
        order: 1;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:nth-child(1) {
        order: 2;
    }
    .third-section.w-100.p-custom.mx-auto .group-elements {
        margin-bottom: 30px;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--text, .sixth-section.w-100.p-custom.mx-auto .group-elements--text    {
        margin-bottom: 70px;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--hours {
        width: auto !important;
    }
    .first-section.w-100.p-custom.mx-auto .group-elements--text {
        margin-bottom: 30px;
    }
    .second-section.w-100.p-5.mx-auto .row .mb-100 {
        margin-bottom: 0px !important;
    }
    .dot-info span {
        font-size: 10px;
    }
    .group-elements--text {
        height: auto;
    }
    .fifth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(3) .group-elements--text {
        margin-bottom: -40px !important;
    }
    .sixth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(4) .group-elements--text {
        margin-bottom: -30px !important;
    }
    .second-section.w-100.p-5.mx-auto {
        margin-top: -60px;
    }
    .seventh-section.w-100.p-custom.mx-auto .col-sm-12 img {
        width: 45%;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child .row .col-sm-6:nth-child(2) {
        margin-bottom: 80px;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12 .top-heading {
        margin-bottom: 20px;
    }
    .ninth-section.w-100.p-custom.mx-auto .col-sm-12:first-child .right-side img {
        width: 65% !important;
    }
    .rig-text {
        padding: 0px;
        top: 50%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
    img.uni-logo {
        margin-right: 0px;
    }
    img.partners--logo {
        margin-right: 0px;
    }
    .social-media {
        text-align: center;
    }
}

/*iPhone 5 & 5S in portrait*/
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : portrait) {
    .nav-logo {
        width: 70%;
    }
    h1.cover-heading {
        font-size: 2rem !important;
    }
    p.lead {
        font-size: 2rem !important;
        letter-spacing: 1.5px;
    }
    h3.event-date {
        font-size: 1.5rem !important;
    }
    img.funnel-position {
        width: 100%;
        transform: translateY(-10%);
    }
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: auto;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child {
        order: 1;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:nth-child(1) {
        order: 2;
    }
    .third-section.w-100.p-custom.mx-auto .group-elements {
        margin-bottom: 30px;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--text, .sixth-section.w-100.p-custom.mx-auto .group-elements--text  {
        margin-bottom: 70px;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--hours {
        width: auto !important;
    }
    .first-section.w-100.p-custom.mx-auto .group-elements--text {
        margin-bottom: 30px;
    }
    .second-section.w-100.p-5.mx-auto .row .mb-100 {
        margin-bottom: 0px !important;
    }
    .dot-info span {
        font-size: 10px;
    }
    .group-elements--text {
        height: auto;
    }
    .fifth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(3) .group-elements--text {
        margin-bottom: -40px !important;
    }
    .sixth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(4) .group-elements--text {
        margin-bottom: -30px !important;
    }
    .second-section.w-100.p-5.mx-auto {
        margin-top: -60px;
    }
    .seventh-section.w-100.p-custom.mx-auto .col-sm-12 img {
        width: 45%;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child .row .col-sm-6:nth-child(2) {
        margin-bottom: 80px;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12 .top-heading {
        margin-bottom: 20px;
    }
    .ninth-section.w-100.p-custom.mx-auto .col-sm-12:first-child .right-side img {
        width: 65% !important;
    }
    .rig-text {
        padding: 0px;
        top: 50%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
    img.uni-logo {
        margin-right: 0px;
    }
    img.partners--logo {
        margin-right: 0px;
    }
    .social-media {
        text-align: center;
    }
}

/*iPhone 2G-4S in portrait*/
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
and (orientation : portrait) {
    .nav-logo {
        width: 70%;
    }
    h1.cover-heading {
        font-size: 2rem !important;
    }
    p.lead {
        letter-spacing: 1px;
    }
    img.funnel-position {
        width: 100%;
        transform: translateY(-10%);
    }
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: auto;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child {
        order: 1;
    }
    .first-section.w-100.p-custom.mx-auto .row .col-sm-12:nth-child(1) {
        order: 2;
    }
    .third-section.w-100.p-custom.mx-auto .group-elements {
        margin-bottom: 30px;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--text, .sixth-section.w-100.p-custom.mx-auto .group-elements--text  {
        margin-bottom: 70px;
    }
    .fifth-section.w-100.p-custom.mx-auto .group-elements--hours {
        width: auto !important;
    }
    .first-section.w-100.p-custom.mx-auto .group-elements--text {
        margin-bottom: 30px;
    }
    .second-section.w-100.p-5.mx-auto .row .mb-100 {
        margin-bottom: 0px !important;
    }
    .dot-info span {
        font-size: 10px;
    }
    .group-elements--text {
        height: auto;
    }
    .fifth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(3) .group-elements--text {
        margin-bottom: 0px !important;
    }
    .sixth-section.w-100.p-custom.mx-auto .col-sm-12:nth-child(4) .group-elements--text {
        margin-bottom: -10px !important;
    }
    .second-section.w-100.p-5.mx-auto {
        margin-top: -60px;
    }
    .seventh-section.w-100.p-custom.mx-auto .col-sm-12 img {
        width: 45%;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12:first-child .row .col-sm-6:nth-child(2) {
        margin-bottom: 80px;
    }
    .seventh-section.w-100.p-custom.mx-auto .row .col-sm-12 .top-heading {
        margin-bottom: 20px;
    }
    .ninth-section.w-100.p-custom.mx-auto .col-sm-12:first-child .right-side img {
        width: 65% !important;
    }
    .rig-text {
        padding: 0px;
        top: 50%;
    }
    .col-lg-10.logos {
        text-align: center;
        margin-right: 0px;
    }
    img.uni-logo {
        margin-right: 0px;
    }
    img.partners--logo {
        margin-right: 0px;
    }
    .social-media {
        text-align: center;
    }
}

/*iPad in portrait*/
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
    .second-section.w-100.p-5.mx-auto {
        margin-top: -60px;
    }

    h1.cover-heading {
        font-size: 3.5rem !important;
    }

    p.lead {
        letter-spacing: 4px;
    }

    .group-elements--hours {
        width: 200px;
    }

    .third-section.w-100.p-custom.mx-auto .group-elements {
        margin-bottom: 30px;
    }

    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: 290px;
    }

    .sixth-section .group-elements--text > h4 {
        font-size: 20px;
    }

    .seventh-section.w-100.p-custom.mx-auto .col-sm-12 img {
        width: 70%;
    }

    img.funnel-position {
        width: 100%;
        transform: translateY(-10%);
    }
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 {
        margin-bottom: -40px;
    }

    .ninth-section.w-100.p-custom.mx-auto .col-sm-12:first-child .right-side img {
        width: 65% !important;
    }
    .rig-text {
        padding: 0px;
        top: 50%;
    }
}

/* Landscape */

/*iPad*/

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
    .button-base {
        margin-bottom: 80px;
    }
    .group-elements--hours {
        width: 250px;
    }
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2) {
    .button-base {
        margin-bottom: 80px;
    }
    .group-elements--hours {
        width: 250px;
    }
}

/*iPhone X*/

@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3)
and (orientation : landscape) {
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: 340px;
    }
    .left-side {
        text-align: left;
    }
    img.partners-logo {
        width: 30%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
}

/*iPhone 6, 7, & 8 in landscape*/
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : landscape) {
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: 340px;
    }
    .left-side {
        text-align: left;
    }
    img.partners-logo {
        width: 30%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
}

/*iPhone 6, 7, & 8 Plus in landscape*/
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
and (orientation : landscape) {
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: 340px;
    }
    .left-side {
        text-align: left;
    }
    img.partners-logo {
        width: 30%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
}


/*iPhone 5 & 5S in landscape*/
@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px)
and (orientation : landscape) {
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: 340px;
    }
    .left-side {
        text-align: left;
    }
    .cover-heading {
     font-size: 2.5rem !important;
    }
    p.lead {
        font-size: 1.8125rem !important;
        margin-bottom: 0px !important;
    }
    h3.event-date {
        font-size: 1.5rem !important;
    }
    img.partners-logo {
        width: 30%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
}

/*iPhone 2G-4S in landscape*/
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px)
and (orientation : landscape) {
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: 340px;
    }
    .left-side {
        text-align: left;
    }
    .cover-heading {
     font-size: 1.5rem !important;
    }
    p.lead {
        font-size: 1.125rem !important;
        margin-bottom: 0px !important;
    }
    h3.event-date {
        font-size: 1rem !important;
    }
    img.partners-logo {
        width: 30%;
    }
    .col-lg-10.logos {
        text-align: center;
    }
}


/* Responsive Adjustments */

@media (max-width:900px) {
    .group-elements--hours {
        width: 250px;
        padding: 10px;
    }
    img.funnel-position {
        width: 80%;
    }
    h1.cover-heading {
        font-size: 2.5rem !important;
    }
    p.lead {
        letter-spacing: 3px;
    }
    h4.second-section--heading {
        margin-top: 20px;
    }
}

@media (max-width:769px) {
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements--text {
        height: auto;
    }
    .third-section.w-100.p-custom.mx-auto .row .col-sm-12 .group-elements, .third-section.w-100.p-custom.mx-auto .row .col-sm-12 h4 {
        text-align: left;
    }
    img.funnel-position {
        width: 80%;
  /*      transform: translateY(-10%);*/
        margin: 0px;
    }
}