/* Sticky footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1 0 auto;
}
/* End sticky footer */

.body {
    font-family: sans-serif;
}

.container-fluid {
    padding: 0;
}

.video-wrapper {
    background: black;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 0;
    padding: 56.25% 0 0 0;
    margin: auto;
    overflow: hidden;
    border: 0;
}

.video-wrapper video {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 120px;
    top: 0;
    left: 0;
}

/*.video-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}*/

.title-wrapper {
    position: absolute;
    width: 100%;
    height: 0;
    text-align: center;
    top: 0;
	padding:18% 0 0 0;
    color: white;
}

.intro-title {
  font-size: 105px;
  line-height: normal;
  font-weight: bolder;
  font-family: 'Pacifico', cursive;
}

.sub-title {
    font-size: 30px;
    line-height: normal;
}

.content {
    margin-top: 100px;
    text-align: center;
}

.description-wrapper {
    margin-top: 3em;
    text-align: center;
}

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

.col-centred {
    display:inline-block;
    float: none;
    /* reset the text-align */
    /*text-align:left;*/
    /* inline-block space fix */
    margin-right:-4px;
}

.title {
    font-family: 'opensanscondlight';
    font-weight: bolder;
    font-size: 30px;
    line-height: normal;
    color: rgb(0, 160, 225);
}

.description {
    margin-top: 1em;
}

.step {
    padding: 0;
    text-align: center;
}

.step:hover .overlay {
    background: rgba(0,0,0,0.6);
}

.step:hover .text-top {
    opacity: 0;
    top: 0;
}

.step:hover .text-bottom {
    opacity: 1;
    top: 45%;
}

.step .image {
    max-width: 100%;
    max-height: 100%;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0,0,0,0);
    transition: all 0.3s;
    -webkit-transition: all 0.5s;
}

.step .text-top {
    position: absolute;
    top: 35%;
    width: 100%;
    padding: 0 20px;
    color: white;
    font-size: 30px;
    text-shadow: 0 2px 2px gray;
    line-height: normal;
    transition: all 0.3s;
    -webkit-transition: all 0.5s;
}

.step .text-bottom {
    position: absolute;
    top: 65%;
    width: 100%;
    padding: 0 20px;
    color: white;
    opacity: 0;
    font-size: 15px;
    line-height: normal;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.venue-container {
    padding: 0;
}

.venue {
    padding: 0;
}

.venue .image {
    display: inline-block;
    overflow: hidden;
    margin: 2% 2%;
}

.venue-image {
    max-width: 100% ;
    max-height: 100% ;
}

.venue .overlay {
    margin-top: 2%;
    max-width: 96%;
    max-height: 94%;
}

.venue .title {
    position: absolute;
    top: 45%;
    width: 100%;
    padding: 0 20px;
    color: white;
    font-size: 30px;
    line-height: normal;
    transition: all 0.3s;
    -webkit-transition: all 0.5s;
}

.venue:hover .venue-image {
    transform: scale(1.1);
    transition: all .2s ease;
    -webkit-transform: scale(1.1);
    -webkit-transition: all .2s ease;
}

.venue:hover .overlay {
    background: rgba(0,0,0,0.6);
}

.schedule-wrapper {
    margin-top: 2em;
}

.schedule-wrapper h3 {
    text-align: center;
    text-transform: uppercase;
}

.schedule-wrapper img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

@media(max-width: 480px) {
    .intro-title {
        font-size: 60px;
        line-height: normal;
    }

    .sub-title {
        font-size: 30px;
        line-height: normal;
    }
}

@media(max-width: 640px) {
    .intro-title {
        font-size: 20px;
        line-height: normal;
    }

    .sub-title {
        font-size: 15px;
        line-height: normal;
    }
}

@media(max-width: 768px) {
    .video-wrapper {
        padding: 0;
        min-height: 400px;
    }

    .intro-title {
        font-size: 30px;
        line-height: normal;
    }

    .sub-title {
        font-size: 20px;
        line-height: normal;
    }
}

@media(max-width: 1024px) {
    .intro-title {
        font-size: 50px;
        line-height: normal;
    }

    .sub-title {
        font-size: 25px;
        line-height: normal;
    }
}

.footer {
    background: #3497db;
    margin-top: 3em;
    padding: 0;
    color: white;
	bottom:0;
	left:0;
}

.separator {
    border-bottom: 1px solid white;
    margin: 1em 0;
}

.footer div {
    /*clear: both;*/
    padding: 10px 10px;
}

.footer .title {
    color: white;
    font-size: 20px;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: silver;
}

.footer .companies {
    display: table;
}

.footer .company {
    display: table-row;
    padding: 0;
}

.company div {
    display: table-cell;
}

.company .image {
    width: 80px;
}

.company .title {
    font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 40px;
}

.logo-image {
    max-width: 100% ;
    max-height: 100% ;
}

/* Gallery */
#gallery-years {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

#gallery-years .year {
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 5px;
}

#gallery-years .year p {
    color: black;
    font-size: 20px;
}

#gallery-venues {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#gallery-venues div {
    margin-bottom: 5px;
}

#gallery-venues div:not(:last-child) {
    margin-right: 5px;
}

#gallery-venues .gallery-venue {
    /*max-width: 300px;*/
    width: 250px;
    height: 250px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#gallery-venues .gallery-venue a {
    text-decoration: none !important;
}

#gallery-venues .gallery-venue p {
    font-size: 20px;
    color: white;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;  /* Black outline */
}

.gallery-pictures {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

/* End gallery */

/* Auto modal */
#auto-modal .modal-content {
    background-color: white;
    /*padding-top: 35%;*/
    /*margin-top: 10%;*/
}
#auto-modal .modal-header {
    width: 100%;
}

#auto-modal .modal-header h1 {
    text-align: center;
    color: red;
    font-style: italic;
}

#auto-modal .modal-header img {
    display: block;
    margin: 0 auto;
    max-width: 100px;
    height: auto;
}

#auto-modal .close {
    color: black;
}

#auto-modal .modal-body {
    top: 250px;
    text-align: center;
    /*padding-left: 20%;*/
    /*padding-right: 20%;*/
}

#auto-modal .modal-body h4 {
    font-weight: initial;
}

#auto-modal .modal-body p {
    font-style: italic;
}

#auto-modal .times {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#auto-modal table {
    margin: 0 auto;
}

#auto-modal table, #auto-modal tr {
    border: 1px solid black;
}

#auto-modal table td {
    padding: 2px;
}
/* END auto modal */

/* FAQ */
#faq {
    text-align: center;
}

#faq .title:not(:first-child) {
    margin-top: 20px;
}
/* END FAQ */
