/*
 *  Remodal - v0.6.4
 *  Flat, responsive, lightweight, easy customizable modal window plugin with declarative state notation and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

@import url(////fonts.googleapis.com/css?family=Exo+2:700,400&subset=latin,cyrillic);
/* ==========================================================================
   Remodal necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
    overflow: hidden;
}
/* Anti FOUC */

.remodal,
[data-remodal-id] {
    visibility: hidden;
}
/* Necessary styles of the overlay */

.remodal-overlay {
    position: fixed;
    z-index: 9999;
    top: -5000px;
    right: -5000px;
    bottom: -5000px;
    left: -5000px;
    display: none;
}
/* Necessary styles of the wrapper */

.remodal-wrapper {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow: auto;
    text-align: center;
    -webkit-overflow-scrolling: touch;
}
.remodal-wrapper:after {
    display: inline-block;
    height: 100%;
    margin-left: -0.05em;
    content: "";
}

.remodal-wrapper:hover {
    cursor: url(../images/cursor.svg), auto;
}

.remodal-wrapper:nth-child(1):hover {
    cursor: auto;
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
    -webkit-transform: translateZ(0px);
}
/* Necessary styles of the modal dialog */

.remodal {
    position: relative;
    display: inline-block;
}

.remodal p {
    text-align: left;
}

.remodal:hover {
    cursor: auto !important;
}
/* Anti-zoom. Font-size should be >= 16px. */

.remodal select,
.remodal textarea,
.remodal input,
.remodal select:focus, .remodal textarea:focus, .remodal input:focus {
    font-size: 16px;
    border-radius: 0 !important;
}
/* ==========================================================================
   Remodal default theme
   ========================================================================== */

/* Default theme font */

.remodal,
.remodal * {
    
}
/* Background for effects */

.remodal-bg {
    -webkit-transition: -webkit-filter 0.2s ease-out;
    -moz-transition: -moz-filter 0.2s ease-out;
    -o-transition: -o-filter 0.2s ease-out;
    transition: filter 0.2s ease-out;
}
body.remodal-is-active .remodal-bg {
    -webkit-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
}
/* Default theme styles of the overlay */

.remodal-overlay {
    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    background: rgba(10, 10, 10, 0.95);
}
body.remodal-is-active .remodal-overlay {
    opacity: 1;
}
/* Default theme styles of the modal dialog */

.remodal {
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 90%;
    -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out;
    -moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-out;
    -o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-out;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
    opacity: 0;
    color: #182a3c;
    background: transparent;
    background-clip: padding-box;
    position: relative;
}
body.remodal-is-active .remodal {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
    vertical-align: middle;
}
/* Close button */

.remodal-close {
    position: absolute;
    top: 5px;
    left: 5px;
    display: none;
    width: 28px;
    height: 28px;
    -webkit-transition: background 0.2s ease-out;
    -moz-transition: background 0.2s ease-out;
    -o-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
    text-decoration: none;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.remodal-close:after {
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
    font-size: 28px;
    line-height: 28px;
    display: block;
    content: "×";
    cursor: pointer;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-decoration: none;
    color: #3e5368;
}
.remodal-close:hover, .remodal-close:active {
    background: #3e5368;
}
.remodal-close:hover.remodal-close:after, .remodal-close:active.remodal-close:after {
    color: #f4f4f4;
}
/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
    /*font-size: 10pt;
    display: inline-block;
    width: 120px;
    margin: 0 0 5px 0;
    padding: 9px 0;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-align: center;
    text-decoration: none;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-clip: padding-box;*/
}
.remodal-confirm {
    /*color: #16a085;
    border: 2px solid #16a085;
    background: #f4f4f4;*/
}
.remodal-confirm:hover, .remodal-confirm:active {
    /*color: #f4f4f4;
    background: #16a085;*/
}
.remodal-cancel {
    color: #c0392b;
    border: 2px solid #c0392b;
    background: #f4f4f4;
}
.remodal-cancel:hover, .remodal-cancel:active {
    color: #f4f4f4;
    background: #c0392b;
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 641px) {
    .remodal {
        max-width: 850px;
        min-height: 0;
        margin: 20px auto;
   }
}
/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#F021242E, endColorstr=#F021242E);
}
.lt-ie9 .remodal {
    width: 700px;
    min-height: 0;
    margin: 20px auto;
}
.lt-ie9 .remodal-close:after {
    margin: auto;
    text-align: center;
}
.lt-ie9 .remodal-close:hover, .lt-ie9 .remodal-close:active {
    background: transparent;
}
.lt-ie9 .remodal-close:hover.remodal-close:after, .lt-ie9 .remodal-close:active.remodal-close:after {
    color: #3e5368;
}


.closing-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 42px;
    cursor: pointer;
    z-index: 1;
    padding: 10px;
    color: #ffffff;
}

.modal-inner-wrapper {
    background: url(../images/canvas-03-slider.png) bottom center no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    padding: 40px 0 90px 0;
    color: #ffffff;
    position: relative;
}

.modal-info {
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

.modal-info h1 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 75px;
    text-align: center;
}

.modal-info p {
    margin-bottom: 20px;
}

/* EVENTS MODAL */
#eModal {
    max-height: 470px;
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; 

    -webkit-transition: height 200ms linear;
    -moz-transition: height 200ms linear;
    -ms-transition: height 200ms linear;
    -o-transition: height 200ms linear;
    transition: height 200ms linear;
}

ul#all-events {

}

ul#all-events li {
    margin-bottom: 15px;
    cursor: pointer;
    background: none;
    padding: 12px 10px 14px 10px;

    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

ul#all-events li:hover {
    background: rgba(0, 0, 0, .3);
}

ul#all-events li.active {
    background: rgba(0, 0, 0, .3);
}

.modal-info .event-date {
    color: #ffffff;
    margin-bottom: 10px;
}

.modal-info .event-date i {
    color: #8dbf48;
    position: relative;
    top: -8px;
    left: 2px;
    font-size: 18px;
}

.modal-info .event-title {
    line-height: 1.2em;
}

.additional-info {
    display: none;
}

.modal-info .event-description {
    font-size: 15px;
    margin-bottom: 7px;
    margin-top: 15px;
    line-height: 1.6em;
}

.modal-info .event-location {
    font-size: 15px;
    margin-bottom: 0;
    line-height: 1.6em;
}

.modal-info .event-location a {
    color: #ffffff;
}

.modal-info .event-location a i {
    color: #8dbf48;
    margin-right: 3px;
}

/* ZIP CODE SEARCH MODAL */
#lModal {
    max-height: 470px;
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; 
}

.remodal #locModal .form {
    max-width: 500px;
    margin: 25px auto 50px;
    height: 50px;
}

.remodal #locModal .input-wrapper.active {
    width: 48%;
}

.remodal #locModal input {
    font-family: 'Factoria Book', sans-serif;
    position: relative;
    z-index: 1;
    width: 48%;
    margin-right: 4%;
    font-size: 30px !important;
    border-color: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    border: solid 2px #97C750;
    border-width: 0 0 0 2px;
    box-sizing: border-box;
    padding: 0px 4%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.10);
    color: #ffffff;
    float: left;
}

#distance-select {
    float: left;
    width: 48%;
    height: 100%;
    font-family: 'Factoria Book', sans-serif;
    position: relative;
    z-index: 1;
    font-size: 30px;
    border: solid 2px #97C750;
    border-width: 0 0 0 2px;
    box-sizing: border-box;
    padding: 0px 4%;
    background-color: rgba(0, 0, 0, 0.10);
}

#distance-select.active {
    background-color: rgba(0, 0, 0, 0.30);

    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

#locModal #distance-select input {
    cursor: pointer;
    width: 100%;
    height: 100%;
    background: none;
    border: none;
    margin-right: 0;
    padding: 0;
}

#distance-options {
    width: 100%;
    position: absolute;
    top: 100%;
    left: -2px;
    border: solid 2px #97C750;
    border-width: 2px 0 2px 2px;
    display: none;
}

#distance-options ul li {
    float: left;
    width: 25%;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.30);
    border: solid 2px #97C750;
    border-width: 0 2px 0 0;
    box-sizing: border-box;

    -webkit-transition: all 150ms linear;
    -moz-transition: all 150ms linear;
    -ms-transition: all 150ms linear;
    -o-transition: all 150ms linear;
    transition: all 150ms linear;
}

#distance-options ul li:hover {
    background-color: rgba(0, 0, 0, 0.10);
}

.single-location {
    width: 29.3333%;
    min-height: 150px;
    padding: 0 2%;
    float: left;
}

.single-location h1 {
    font-family: 'Factoria Medium', 'Roboto Slab', serif;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.2em;
}

.single-location p {
    font-family: 'Factoria Book', 'Roboto Slab', serif;
    font-size: 15px;
    text-align: center;
    margin: 0 0 30px 0;
    line-height: 1.4em;
}

.single-location a {
    color: #ffffff;
}


/* Input Sytle */

.remodal .form {
    height: 80px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.remodal .input-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.20);
    z-index: 0;

    -webkit-transition: width 300ms ease;
    -moz-transition: width 300ms ease;
    -ms-transition: width 300ms ease;
    -o-transition: width 300ms ease;
    transition: width 300ms ease;
}

.remodal .input-wrapper.active {
    width: 81%;
}

.remodal #vote-modal-wrapper input {
    font-family: 'Factoria Book', sans-serif;
    position: relative;
    z-index: 1;
    width: 81%;
    margin-right: 1%;
    font-size: 30px !important;
    border-color: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    border: solid 2px #97C750;
    border-width: 0 0 0 2px;
    box-sizing: border-box;
    display: inline-block;
    float: left;
    padding: 0px 2%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.10);
    color: #ffffff;
}

.remodal ::-webkit-input-placeholder { color: #555555; }
.remodal :-moz-placeholder { color: #555555; }
.remodal ::-moz-placeholder { color: #555555; }
:.remodal :-ms-input-placeholder { color: #555555; }

.remodal button {
    font-family: 'Sull';
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 18%;
    font-size: 40px !important;
    display: inline-block;
    box-sizing: border-box;
    border: solid 2px #222222;
    color: #2f2f2f;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    float: left;
    padding: 0px;
    margin: 0px;
    height: 100%;
    position: relative;
    background-color: rgba(0, 0, 0, 0.10);

    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.remodal button.active {
    border: solid 2px #97C750;
    color: #97C750;
    background-color: rgba(0, 0, 0, 0.30);
}

.remodal button.details-close {
    border: solid 2px #97C750;
    color: #97C750;
    background-color: rgba(0, 0, 0, 0.10);
    padding: 20px 0;
}

.remodal button.details-close:hover {
    background-color: rgba(0, 0, 0, 0.30);
}

.remodal button.details-close {
    margin: 30px auto 0;
    display: block;
    float: none;
}

.remodal .can-image {
    height: auto;
    width: 40%;
}


/* GRAVITY FORMS IN REMODAL */
.remodal .gform_wrapper input, .remodal .gform_wrapper textarea {
    font-family: 'Factoria Book', sans-serif;
    position: relative;
    z-index: 1;
    margin: 0 0 20px 0;
    font-size: 20px !important;
    border-color: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    border: solid 2px #97C750;
    border-width: 0 0 0 2px;
    box-sizing: border-box;
    padding: 10px 2%;
    background-color: rgba(0, 0, 0, 0.10);
    color: #ffffff;
}

.remodal .gform_wrapper label {
    display: none;
}

.remodal .gform_wrapper textarea.large {
    height: 100px !important;
}

.remodal .gform_wrapper input.large,
.remodal .gform_wrapper textarea.large {
    width: 100%;
}

.remodal .gform_wrapper input[type="submit"] {
    font-family: 'Sull';
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 300px;
    margin: 0 auto;
    font-size: 32px !important;
    box-sizing: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    padding: 0px;
    position: relative;
    border: solid 2px #97C750;
    color: #97C750;
    background-color: rgba(0, 0, 0, 0.10);
    cursor: pointer;

    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.remodal .gform_wrapper input[type="submit"]:hover {
    background-color: rgba(0, 0, 0, 0.30);
}

.remodal .gform_footer.top_label {
    text-align: center;
}


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

    .single-location {
        width: 46%;
        padding: 0 2%;
    }

}

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

    .remodal {
        margin-top: 80px;
    }

    .modal-info h1, #location-modal-wrapper h1 {
        font-size: 45px;
    }

    .modal-info p {
        font-size: 14px;
        line-height: 1.6em;
    }

    .modal-info .event-date {
        font-size: 28px;
    }

    .modal-info .event-title, .modal-info .event-description {
        font-size: 14px;
    }

    .single-location h1 {
        font-size: 18px;
    }

}

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

    .single-location {
        width: 96%;
        padding: 0 2%;
        min-height: 120px;
    }

    .remodal #locModal .form, #distance-select {
        height: auto;
    }

    .remodal #locModal .form {
        margin: 25px auto 20px;
    }

    .remodal #locModal input,
    .remodal #locModal .input-wrapper.active,
    #distance-select {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    #locModal #distance-select input {
        margin-bottom: 5px;
    }

    .remodal #locModal .form input {
        padding: 5px 0 5px 15px;
        font-size: 24px !important;
    }

    #locModal #distance-select input {
        padding: 5px 0 0 0;
        font-size: 24px !important;
    }

    #distance-options ul li {
        background-color: rgba(0, 0, 0, 0.95);
    }

}