/*
Theme Name: Neleň 2019
Theme URI: http://www.nelen.cz
Author: Neleň
Author URI: http://www.nelen.cz
Description: Wordpress theme for Neleň! 2019.
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: nelen, 2019
Text Domain: nelen2019
*/

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Poppins';
    font-size: 16px;
}

iframe, object, embed {
    max-width: 100%;
    margin: 0;
}

img {
    border: 0 !important;
}

h2 {
    font-size: 2.5rem;
    /* font-weight: lighter; */
}

.white {
    color: white;
}

.red {
    color: #e84b3d;
}

.btn.red {
    background-color: #e84b3d;
    color: white;
}

.btn-sm.circle {
    border-radius: 30px;
}

.btn.btn-lg {
    border-radius: 30px;
    font-size: 1rem;
    line-height: 25px;
    padding: 8px 30px;
}

.red-bg {
    background-color: #E84B3D;
}

.green-bg {
    background-color: #94b526;
}

.yellow-bg {
    background-color: #e6bc00;
}

.orange-bg {
    background-color: #f79548;
}

.blue-bg {
    background-color: #71a0cb;
}

.grey-bg {
    background-color: #919191;
}

.underline {
    text-decoration: underline;
}

#dice-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url('images/dice_left.png');
    background-repeat: no-repeat;
    background-position: left top;
    z-index: -9999;
}

#dice-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('images/dice_right.png');
    background-repeat: no-repeat;
    background-position: right top;
    z-index: -9999;
}

/**
 * Mobilni zobrazeni
 */
@media only screen and (max-width: 767px) {
    html {
        font-size: 0.8rem;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    #menu .nav li a {
        font-size: 1rem !important;
        padding: 40px 0.5vw !important;
    }
}

/*
********************************************************************************
*********************************     MENU     *********************************
********************************************************************************
*/

#menu {
    background-color: white;
    -webkit-box-shadow: 0px 1px 7px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow:    0px 1px 7px 0px rgba(0, 0, 0, 0.3);
    box-shadow:         0px 1px 7px 0px rgba(0, 0, 0, 0.3);
}

#menu .navbar-brand {
    height: 100%;
    padding: 21px 0;
}

#menu .navbar-brand img {
    height: 100%;
    width: auto;
}

#menu .navbar-toggle {
    margin: 30px 15px;
    border-color: #333;
}

#menu .navbar-toggle .icon-bar {
    background-color: #333;
}

#menu .nav >li >a {
    color: black;
    font-size: 1rem;
    font-weight: 600;
    padding: 40px 10px;
}

#menu .nav >li >a:hover, #menu .nav >li >a:focus {
    background-color: transparent;
    text-decoration: underline;
}

#menu.transparent {
    background-color: transparent;
    -webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

#menu.transparent .navbar-toggle {
    border-color: #fff;
}

#menu.transparent .navbar-toggle .icon-bar {
    background-color: #fff;
}

#menu.transparent .nav >li >a {
    color: white;
}

#menu .nav li.current-menu-item a {
    color: #e84b3d;
}

#social-menu li {
    margin: 34px 3px;
    height: 30px;
    width: 30px;
    font-weight: 400;
}

#social-menu li::before {
    display: block;
    text-align: center;
    width: 100%;
    height: 100%;
}

#social-menu li a {
    text-indent: -9999px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0 !important;
    height: 100%;
    width: 100%;
}

#social-menu li.search {
    color: black;
    font-size: 30px;
    line-height: 30px;
}

#social-menu li.search::before {
    font-family: FontAwesome;
    content: "\f002";
}

#social-menu li.facebook {
    background-color: #4282BC;
    color: white;
    font-size: 20px;
    line-height: 30px;
    border-radius: 30px;
}

#social-menu li.facebook::before {
    font-family: FontAwesome;
    content: "\f09a";
}

#social-menu li.instagram {
    color: black;
    font-size: 33px;
    line-height: 30px;
}

#social-menu li.instagram::before {
    font-family: FontAwesome;
    content: "\f16d";
}

#social-menu li.youtube {
    color: black;
    font-size: 28px;
    line-height: 30px;
}

#social-menu li.youtube::before {
    font-family: FontAwesome;
    content: "\f167";
}

#social-menu li.book {
    color: black;
    font-size: 30px;
    line-height: 30px;
}

#social-menu li.book::before {
    font-family: FontAwesome;
    content: "\f02d";
}

#menu.transparent #social-menu.nav >li.facebook {
    color: black;
}

#menu.transparent #social-menu.nav >li.search,
#menu.transparent #social-menu.nav >li.instagram,
#menu.transparent #social-menu.nav >li.youtube,
#menu.transparent #social-menu.nav >li.book {
    color: white;
}

@media only screen and (max-width: 1199px) {
    .navbar-toggle {
        display: block !important;
    }

    #menu-navbar.collapse {
        display: none !important;
    }

    #menu-navbar.collapse.in {
        display: block !important;
    }

    .navbar-header {
        float: none;
    }

    .navbar-nav {
	    float: none;
	    margin: 7.5px -15px;
    }

    .navbar-nav > li {
	    float: none;
    }

    #menu-navbar {
        background-color: white;
        max-height: inherit;
    }

    #menu .nav > li > a {
        padding: 15px !important;
    }

    #menu.transparent .nav >li >a {
        color: black !important;
    }

    #social-menu {
        padding-left: 10px;
    }

    #social-menu li {
        float: left;
    }

    #social-menu.nav > li {
        color: black !important;
    }

    #social-menu.nav > li.facebook {
        color: white !important;
    }

    #menu .navbar-brand {
        padding: 15px;
    }

    #menu.transparent #menu-navbar {
        border-bottom: 1px solid black;
    }

    .navbar-right {
        float: none !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .navbar-nav {
	    margin: 7.5px 15px;
    }

    #menu #menu-navbar {
        border: 1px solid black;
    }
}

/*
********************************************************************************
*********************************     HEADER     *******************************
********************************************************************************
*/

#header {
    overflow: hidden;
    position: relative;
}

#header-gallery {
    position: absolute;
    left: -9999px;
    right: -9999px;
    top: -124px;
    bottom: -124px;
    margin: auto;
    box-sizing: content-box;
}

#header-gallery-table {
    width: 2232px;
    height: 992px;
    margin: auto;
}

#header-gallery-table .row {
    margin: 0;
}

#header-gallery .photo {
    width: 248px;
    height: 248px;
    background-size: cover;
    float: left;
}

#header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

#header-info {
    position: relative;
    z-index: 500;
    padding-top: 124px;
    padding-bottom: 52px;
    color: white;
}

#header-info .logo {
    margin-bottom: 42px;
}

@media only screen and (max-width: 767px) {
    #header-info {
        padding-top: 100px;
        padding-bottom: 20px;
    }

    #header-info .logo {
        display: none;
    }
}

#header-info h2 {
    text-transform: uppercase;
    font-weight: 600;
    margin: 0px auto 32px auto;
}

@media all and (min-width: 768px){
    #header-info h2 {
        margin: 32px auto;
    }
}

#header-info h2.red {
    margin: 10px auto;
}

#header-info h2.white {
    margin: 10px auto;
    letter-spacing: 0.05em;
    font-weight: normal;
}

#header-info h3 {
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

#header-info .btn.red {
    position: absolute;
    left: 50%;
    margin-left: -90px;
    margin-top: -20px;
}

#header-info .btn.jump {
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 32px;
    border: 1px solid white;
    margin-top: 45px;
    text-align: center;
    padding: 10px;
}

#header-info .btn.jump .fa {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
}



/*
********************************************************************************
*********************************     ABOUT     ********************************
********************************************************************************
*/

#hp-about {
    margin-top: 1vw;
    padding-top: 30px;
}

#hp-about h2 {
    margin: 1vw auto;
    padding: 10px 0;
}

#hp-about .content {
}

#hp-about p {
    max-width: 950px;
    font-size: 1.0625rem;
    line-height: 1.875rem;
    margin: 2vw auto;
    padding: 10px 0;
}

#hp-about .btn {
    margin: 10px 0;
}

/*
********************************************************************************
*********************************     FACTS     ********************************
********************************************************************************
*/

#facts {
    position: relative;
    padding: 4.2vw 0;
}

#facts .fact {
    background-color: #f4f8fb;
    margin: 15px auto;
    text-align: center;
    padding: 40px 30px;
    height: 268px;
    max-width: 268px;
}

#facts .fact h2 {
    position: relative;
    font-size: 4.375rem;
    font-weight: 600;
    z-index: 999;
}

#facts .fact p {
    position: relative;
    margin-top: 40px;
    font-size: 1.125rem;
    line-height: 1.5625rem;
    font-weight: 600;
    font-style: italic;
    z-index: 999;
}

#facts .under {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/facts_under.png');
    background-repeat: no-repeat;
    background-position: center;
    z-index: -999;
}

#facts .over {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/facts_over.png');
    background-repeat: no-repeat;
    background-position: center;
    z-index: 500;
}

/*
********************************************************************************
*******************************     PROGRAM     ********************************
********************************************************************************
*/

#hp-program {
    background-image: url('images/program.png');
    background-size: cover;
    padding: 3vw;
}

#hp-program h2 {
    font-size: 3.125rem;
    font-weight: 600;
}

#hp-program h3 {
    color: white;
    line-height: 2.125rem;
    margin-bottom: 20px;
}

#hp-program .btn {
    margin: 20px 0;
}

#hp-program .orange {
    color: #f89648;
}



/*
********************************************************************************
******************************     PERFORMERS     ******************************
********************************************************************************
*/

#hp-performers {
    margin: 3.6vw;
}

#hp-performers h2 {
    margin: 2vw;
}

#hp-performers .performer {
    height: auto;
}

/*
********************************************************************************
**************************     ACCOMPANYING EVENTS     *************************
********************************************************************************
*/

#hp-accompanying-events {
    margin: 3.6vw;
}

#hp-accompanying-events h3 {
    margin: 1.6vw;
}

#hp-accompanying-events .accompanying-event {
    position: relative;
    height: 240px;
}

#hp-accompanying-events .accompanying-event .text {
    display: block;
    position: absolute;
    bottom: 0;
    padding: 20px 30px;
    text-align: left;
    z-index: 1000;
}

#hp-accompanying-events .accompanying-event .text h4 {
    font-weight: 600;
    color: #ffdf4f;
}

#hp-accompanying-events .accompanying-event .text h5 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    margin: 0;
}

#hp-accompanying-events .accompanying-event .text .intro {
    color: #fefefe;
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: normal;
}

#hp-accompanying-events .accompanying-event .photo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

#hp-accompanying-events .accompanying-event .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.65;
}



/*
********************************************************************************
*******************************     RESPONSES     ******************************
********************************************************************************
*/

#responses {
    height: 500px;
    background-image: url('images/responses.png');
}

#responses h2 {
    color: white;
    margin: 80px;
}



/*
********************************************************************************
********************************     GALLERY     *******************************
********************************************************************************
*/

#gallery {
    margin-top: 2vw;
    padding-top: 0;
}

#gallery h2 {
    margin: 2vw auto;
    padding: 20px 0;
}

#gallery .photo {
    padding: 0;
    width: 100vw;
    height: 100vw;
    display: block;
    float: left;
    background-size: cover;
}

#gallery .photo a {
    display: block;
    width: 100%;
    height: 100%;
}

#gallery .link {
    float: left;
    width: 100vw;
    height: 100vw;
    background-color: #1E1E1E;
    position: relative;
    margin: 0 auto;
}

#gallery .link a {
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    text-decoration: underline;
    font-size: 1rem;
    line-height: 1.5625rem;
}

@media all and (min-width: 400px) and (max-width: 599px){
    #gallery .photo, #gallery .link {
        width: 50vw;
        height: 50vw;
    }
}

@media all and (min-width: 600px) and (max-width: 1199px){
    #gallery .photo, #gallery .link {
        width: 33vw;
        height: 33vw;
    }

    #gallery .link {
        margin-left: -66vw;
    }

    /*#photo-17 {
        margin-left: 33vw;
    }*/
}

@media all and (min-width: 1200px) and (max-width: 1899px){
    #gallery .photo, #gallery .link {
        width: 16.5vw;
        height: 16.5vw;
    }

    #gallery .link {
        margin-left: -49.5vw;
    }

    /*#photo-16 {
        margin-left: 16.5vw;
    }*/
}

@media all and (min-width: 1900px){
    #gallery .photo, #gallery .link {
        width: 11vw;
        height: 11vw;
    }

    #gallery .link {
        margin-left: -55vw;
    }

    /*#photo-14 {
        margin-left: 11vw;
    }*/
}

/*
********************************************************************************
*******************************     PARTNERS     *******************************
********************************************************************************
*/

#partners {
    padding: 50px 0;
}

#partners h2 {
    margin: 1.5vw auto;
}

#partners h3 {
    margin: 1.6vw;
}

#partners .partner {
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    height: 150px;
    margin: 16px 0;
}

#partners .support {
    height: 50px;
    line-height: 3.125rem;
    font-size: 0.9rem;
}

#partners .btn {
    padding: 35px;
    border-radius: 70px;
    margin: 70px;
}



/*
********************************************************************************
******************************     NEWSLETTER     ******************************
********************************************************************************
*/

#newsletter {
    height: 100px;
}



/*
********************************************************************************
********************************     BOTTOM     ********************************
********************************************************************************
*/

#bottom {
    background-image: url('images/bottom.png');
    color: white;
}

#bottom h3 {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    color: #828282;
}

#bottom a {
    color: white;
    text-decoration: underline;
}

#bottom .menu    {
    margin: 3vw 0;
}

#bottom .faq    {
    margin: 3vw 0;
}

#bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#bottom  li {
    margin: 5px 0;
}

#bottom li:before {
    content: "• ";
    margin-right: 15px;
}

#bottom li:nth-child(6n+0):before {
    color: #E84B3D;
}

#bottom li:nth-child(6n+1):before {
    color: #94b526;
}

#bottom li:nth-child(6n+2):before {
    color: #e6bc00;
}

#bottom li:nth-child(6n+3):before {
    color: #f79548;
}

#bottom li:nth-child(6n+4):before {
    color: #71a0cb;
}

#bottom li:nth-child(6n+5):before {
    color: #919191;
}

#bottom .contact {
    margin: 3vw 0;
}

#bottom .contact h3 {
    margin-bottom: 20px;
}

#bottom .contact a.red {
    color: #e84b3d;
}

#bottom .support {
    margin: 3.5vw 0;
    padding: 20px;
    border: 1px solid #e84b3d;
    text-align: center;
}

@media only screen and (max-width: 767px) {

    #bottom .menu    {
        margin: 40px 20px;
    }

    #bottom .faq    {
        margin: 40px 20px;
    }

    #bottom .contact    {
        margin: 40px 20px;
    }

    #bottom .support {
        margin: 40px 20px;
    }
}

#bottom .support p b {
    font-size: 1rem;
    font-weight: 600;
}

#bottom .support p.red {
    font-size: 1.5rem;
    font-weight: 600;
}

#bottom .support p a {
    font-size: 0.9375rem;
    line-height: 1.5625rem;
}

/*
********************************************************************************
*******************************     FOOTER     *********************************
********************************************************************************
*/

#footer {
    background-image: url('images/footer.png');
}

#footer .copyright {
    margin: 40px;
    color: white;
    font-size: 0.9375rem;
}

#program {
    margin: 3.6vw auto;
}

#program h2 {
    margin: 3.6vw auto;
}

#program .container {
    background-color: white;
    position: relative;
}

#program .choose-stage {
    position: absolute;
    right: 30px;
    top: 50px;
    background-image: url('images/choose_stage.png');
    width: 112px;
    height: 71px;
}

#program .nav li.active a {
    color: white;
}

#program .nav li a {
    color: black;
    background-color: #EDF0F3;
    display: block;
    height: 70px;
    line-height: 70px;
    padding: 0 28px;
    width: 100%;
    border: 0;
    border-left: 1px solid white;
}

#program .nav li a span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

#program .nav li a span b {
    font-size: 1rem;
}

#program .nav li a span i {
    font-size: 0.875rem;
    display: inline-block;
}

#program .table td {
    color: #2d2d2d;
    font-size: 1.0625rem;
    line-height: normal;
    padding: 23px 30px;
    text-align: left;
}

#program .table td.time {
    width: 100px;
}

#program .table td.length {
    width: 115px;
    font-size: 0.9375rem;
    text-align: right;
    color: #838587;
}

#program .table td.link {
    padding: 18px 0;
}

#program .nav li.red.active > a {
    background-color: #E84B3D;
}

#program .red .table {
    border-top: 3px solid #E84B3D;
}

#program .red .table td.time {
    border-right: 2px solid #E84B3D;
}

#program .nav li.green.active > a {
    background-color: #94b526;
}

#program .green .table {
    border-top: 3px solid #94b526;
}

#program .green .table td.time {
    border-right: 2px solid #94b526;
}

#program .nav li.yellow.active > a {
    background-color: #e6bc00;
}

#program .yellow .table {
    border-top: 3px solid #e6bc00;
}

#program .yellow .table td.time {
    border-right: 2px solid #e6bc00;
}

#program .nav li.orange.active > a {
    background-color: #f79548;
}

#program .orange .table {
    border-top: 3px solid #f79548;
}

#program .orange .table td.time {
    border-right: 2px solid #f79548;
}

#program .nav li.blue.active > a {
    background-color: #71a0cb;
}

#program .blue .table {
    border-top: 3px solid #71a0cb;
}

#program .blue .table td.time {
    border-right: 2px solid #71a0cb;
}

#program .nav li.grey.active > a {
    background-color: #919191;
}

#program .grey .table {
    border-top: 3px solid #919191;
}

#program .grey .table td.time {
    border-right: 2px solid #919191;
}

#program .table td .label {
    margin-left: 10px;
    font-weight: 600;
}

.label.label-warning {
    color: #f79548;
    background-color: white;
    border: 1px solid #f79548;
}

#program-detail {
    margin: 2vw auto;
}

#program-detail .container {
    background-color: white;
}

#program-detail .info {
    color: white;
    padding: 15px 0;
}

#program-detail .date {
    font-size: 1.5rem;
    border-bottom: 1px solid white;
    display: inline-block;
    margin-top: 5px;
    padding-bottom: 5px;
}

#program-detail .time {
    font-size: 1.875rem;
    margin-top: 10px;
}

#program-detail .stage b {
    font-size: 1.125rem;
}

#program-detail .stage i {
    font-size: 0.9375rem;
}


@media all and (min-width: 768px){
    .performer {
        height: 600px;
    }
}

.performer .photo {
    display: block;
    background-size: cover;
    background-position: center top;
    width: 100%;
    height: 300px;
    position: relative;
}

.performer .photo .arrow {
    position: absolute;
    bottom: -5px;
    right: -5px;
}

.performer h4 {
    color: #E84B3D;
    font-weight: 600;
    margin: 20px auto;
}

.performer .text {
    font-size: 0.9375rem;
    line-height: 1.375rem;
    font-weight: 300;
    padding: 0 10px;
}

.performer .btn {
    margin-top: 20px;
    margin-bottom: 40px;
}

#program-detail .content {
    margin: 0 30px;
}

#program-detail .content h2 {
    font-weight: 600;
    color: #E84B3D;
    margin-top: 0;
    margin-bottom: 20px;
}

#program-detail .content .format {
    font-size: 1.125rem;
    margin-right: 20px;
}

#program-detail .content .length {
    font-size: 1.0625rem;
    font-weight: 300;
}

#program-detail .content .text {
    margin-top: 40px;
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.6875rem;
}

#performers {
    margin: 2vw auto;
}

#performer-detail {
    margin: 40px auto;
}

#performer-detail .performer .photo {
    height: 400px;
    margin-bottom: 20px;
}

#performer-detail .content {
    margin: 0 30px;
}

#performer-detail .content h2 {
    font-weight: bold;
    color: #E84B3D;
    margin-top: 0;
    margin-bottom: 20px;
}

#performer-detail .content .text {
    margin-top: 40px;
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.6875rem;
}

#performer-detail .content .date {
    font-size: 1.875rem;
    margin-top: 30px;
    margin-bottom: 20px;
}

#performer-detail .program-item {
    background-color: #EDF0F3;
    margin: 15px 15px;
}

#performer-detail .program-item .left {
    position: relative;
    color: white;
    height: 100px;
    overflow: hidden;
    padding: 0 25px;
    display: table-cell;
    vertical-align: middle;
}

#performer-detail .program-item .left:after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0px;
    border-right: 1px solid #EDF0F3;
    transform-origin: bottom left;
    -ms-transform: skew(20deg, 0deg);
    -webkit-transform: skew(20deg, 0deg);
    transform: skew(20deg, 0deg);
}

#performer-detail .program-item .left.red:after {
    background-color: #E84B3D;
}

#performer-detail .program-item .left.green:after {
    background-color: #94b526;
}

#performer-detail .program-item .left.yellow:after {
    background-color: #e6bc00;
}

#performer-detail .program-item .left.orange:after {
    background-color: #f79548;
}

#performer-detail .program-item .left.blue:after {
    background-color: #71a0cb;
}

#performer-detail .program-item .left.grey:after {
    background-color: #919191;
}

#performer-detail .program-item .left > div {
    position: relative;
    z-index: 100;
}

#performer-detail .program-item .left .time {
    font-size: 1.875rem;
}

#performer-detail .program-item .right {
    height: 100px;
    padding: 0 10px;
    display: table-cell;
    vertical-align: middle;
}

#performer-detail .program-item .right a {
    color: #E84B3D;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.6875rem;
    text-decoration: underline;
}

#performers-others {
    background-color: #F4F8FB;
}

#performers-others {
    margin-top: 70px;
    padding-bottom: 50px;
}

#performers-others h2 {
    margin: 60px;
}

#performers-others .performer {
    height: auto;
}

#performers-others .btn {
    margin: 20px;
}

#accompanying-events {
}

#accompanying-events .accompanying-event {
    max-width: 970px;
    margin: 48px auto;
    background-color: #f4f8fb;
}

#accompanying-events .accompanying-event .banner {
    display: block;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

#accompanying-events .accompanying-event .banner .text {
    position: relative;
    padding: 35px 40px;
    padding-top: 200px;
    text-align: left;
    z-index: 1000;
}

#accompanying-events .accompanying-event .banner .text h3 {
    font-size: 1.875rem;
    font-weight: bold;
    color: #ffdf4f;
    margin: 10px 0;
}

#accompanying-events .accompanying-event .banner .text h4 {
    font-size: 1.0625rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    margin: 0;
}

#accompanying-events .accompanying-event .banner .text .intro {
    color: #fefefe;
    font-size: 1.0625rem;
    line-height: 1.4375rem;
    font-weight: 300;
}

#accompanying-events .accompanying-event .banner .photo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

#accompanying-events .accompanying-event .banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.65;
}

#accompanying-events .accompanying-event .banner .arrow {
    position: absolute;
    bottom: -5px;
    right: -5px;
}

#accompanying-events .accompanying-event .detail {
    display: none;
    color: black;
    font-size: 1.0625rem;
    line-height: 1.6875rem;
    font-weight: 300;
    padding: 35px 40px;
}

#faq {
    margin: 2.7vw auto;
}

#faq .panel-group {
    max-width: 1020px;
    margin: 0 auto;
}

#faq .panel {
    border-color: #dee0e1;
    border-radius: 0;
    margin: 0;
}

#faq a.panel-heading {
    color: black;
    display: block;
    background-color: transparent;
    border-radius: 0;
    position: relative;
    padding: 5px 30px;
}

#faq a.panel-heading.collapsed {
    background-color: #f4f8fb;
}

#faq a.panel-heading h4 {
    font-size: 1.25rem;
    line-height: 1.875rem;
    font-weight: 600;
}

#faq a.panel-heading .angle {
    color: #e84b3d;
    font-size: 2.1875rem;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 13px 18px;
}

#faq .panel-body {
    color: black;
    font-size: 1.0625rem;
    line-height: 1.625rem;
    border: 0;
    padding: 0 30px 20px 30px;
}

#contacts {
    margin: 1.3vw auto;
}

#contacts .list-group {
    margin: 2.4vw auto;
    max-width: 1020px;
}

#contacts .list-group-item {
    font-size: 1.0625rem;
    line-height: 2.5rem;
    font-weight: 300;
    border-width: 1px 0;
    border-color: #e0e3e5;
    border-radius: 0;
    padding: 10px 25px;
}

#contacts .list-group-item b {
    font-weight: 600;
}

#contacts .list-group-item .phone {
    position: relative;
}

#contacts .list-group-item .phone .fa {
    color: #71a0cb;
    font-size: 1.875rem;
    margin: 0 10px;
}

#contacts .list-group-item .email {
}

#contacts .list-group-item .email .fa {
    color: #71a0cb;
    font-size: 1.125rem;
    margin: 0 10px;
}

#locations {
}

#locations h2 {
    margin-bottom: 3vw;
}

#locations .location {
    color: white;
    padding-top: 10px;
    margin-bottom: 5.2vw;
}

#locations .location.yellow-bg {
    background-color: #ffdf4f;
    color: black;
}

#locations .location h3 {
    line-height: 1.875rem;
    font-weight: 600;
}

#locations .location p {
    font-size: 1.0625rem;
    line-height: 1.5625rem;
    font-weight: 300;
}

.acf-map {
    color: black;
    margin-top: 20px;
	width: 100%;
	height: 320px;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.fb-page,
.fb-page span,
.fb-page span iframe[style] {
    width: 100% !important;
}

.fb-page {
    text-align: right;
}

.fb-page span,
.fb-page span iframe[style] {
    max-width: 496px;
}

#about {
    margin-top: 3.8vw;
}

#about .row {
    height: 100%;
    max-width: 1020px;
    margin: 0 auto;
    margin-bottom: 30px;
}

#about .photo {
    margin: 0 1vw;
    height: 400px;
    background-position: center;
    background-size: cover;
}

#about .text {
    background-color: white;
    margin: 0 1vw;
    padding: 25px 0;
}

#about .text h2 {
    color: #e84b3d;
    font-weight: 700;
    margin-bottom: 15px;
}

#about .text p {
    font-size: 1.0625rem;
    line-height: 1.6875rem;
    font-weight: 300;
}

#about .text i {
    font-size: 1.25rem;
    line-height: 1.6875rem;
    font-weight: 300;
}

#about .about {
    margin: 3vw 0;
    padding: 3vw 2vw;
    background-color: #f4f8fb;
    text-align: center;
}

#about .about h2 {
    font-weight: 600;
    margin: 20px auto;
}

#about .about p {
    max-width: 960px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.875rem;
}

.gallery-item {
    margin: 0 !important;
    width: 100% !important;
}

.gallery-item img {
    padding: 6px 10px;
    width: 100%;
    height: auto;
}

@media all and (min-width: 600px) and (max-width: 1199px){
    .gallery-item {
        width: 50% !important;
    }
}

@media all and (min-width: 1200px){
    .gallery-item {
        width: 25% !important;
    }
}

#content {
    margin-top: 2vw;
}

#content .container {
    background-color: white;
}

#content p {
    max-width: 950px;
    margin: 0 auto;
}

#content .form {
    max-width: 500px;
    margin: 2vw auto;
}

.form {
    background-color: #f4f8fb;
    text-align: center;
    padding: 40px 0;
}

.form h3 {
    font-weight: 500;
    margin-bottom: 30px;
    color: #2d2d2d;
}

.form span.wpcf7-list-item {
    display: block;
}

.form label {
    font-size: 1.0625rem;
    line-height: 1.875rem;
    font-weight: 300;
}

.form input[type=text],
.form input[type=email],
.form input[type=tel],
.form input[type=url],
.form input[type=submit],
.form textarea {
    border: 1px solid #ccd2d5;
    width: 75%;
    font-size: 1.0625rem;
    line-height: 1.875rem;
    font-weight: 300;
    padding: 10px;
    margin: 5px auto;
}

.form textarea {
    height: 220px;
}

.form input:focus, .form textarea:focus {
    border: 1px solid #e84b3d;
}

.results {
    margin: 80px auto;
}

.result {
    margin: 60px auto;
}

.modal {
    text-align: center;
}

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none;
}

.vertical-align-center {
   /* To center vertically */
   display: table-cell;
   vertical-align: middle;
   pointer-events:none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching 
    full width */
    height:inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events:all;
}
