body {
    font-family: "Open Sans";
}
.preLoad {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(./Images/processing-gif.gif) center no-repeat #fff;
}
.afterLoad {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.loading-body:before{
    position: absolute;
    content: "";
    background: url(./Images/loading-icon.gif);
    background-size: 100px 100px;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;

}
.outer_container {
    width: 95%;
    margin: 20px auto;
    text-align: center;
    max-width: 1024px;
}

.brand_logo {
    height: 50px;
}

.custom-hide{
    visibility: hidden;
}
.preferred-lang {
   display: flex;
   justify-content: space-between;
}
.preference_option {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 32%;
    position: relative;
    padding:0;
    margin-bottom: 10px;
}

.preference_option .preference_label {
    font-size: 16px;
}

.preference_option::before {
    position: absolute;
    content: "";
    display: block;
    height: 25px;
    width: 25px;
    bottom: 100%;
}

.submission_row {
    padding: 40px 0 0;
}
button.loading {
    padding: 10px 40px 10px 20px;
    position: relative;
}
.loading:before{
    position: absolute;
    content:"";
    background: url("./Images/loading-icon.gif");
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    right: 10px;

}



.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
    margin-top: 8px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 34px;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:after {
    position: absolute;
    content: "NO";
    height: 26px;
    width: 26px;
    right: 7px;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
    color: white;
}

input:checked + .slider {
    background-color: #3cc47c;
}
.subscribe input:checked + .slider{
        background-color: dodgerblue;
}

input:focus + .slider {
    box-shadow: 0 0 1px #3cc47c;
}

input:checked + .slider:before {
    -webkit-transform: translateX(36px);
    -ms-transform: translateX(36px);
    transform: translateX(36px);
}

input:checked + .slider:after {
    content: "YES";
    left: 7px;
}

.subscribe {
    display: inline-block;
    margin-bottom: 30px;
    margin-left: 
    flex-direction: row;
    align-items: center;
    justify-content: center;
    
}
/* .subscribe input:checked + .slider:after {
    content: "SUBSCRIBED";
}
.subscribe .slider:after {
    content: "UNSUBSCRIBE";
} */

.subscribe .preference_label {
  padding-right: 10px;
    margin-left: 15px;
}
.subscribe .switch {
    top: 15px;
}

button {
    font-size: 14px;
    padding: 10px 20px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    color: #FFF;
    border-radius: 5px;
    outline: 0;
    background-color: #3cc47c;
    border: 0;
    cursor: pointer;
}

/* The container */
.custom_checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin: 0 20px 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: left;
    min-width: 100px;
    max-width: 25%;
}

.park_options {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-top:20px;

}
/* Hide the browser's default checkbox */
.custom_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 10px;
    left: 0;
    height: 25px;
    width: 25px;
    border: 1px solid #7e7e7e;
    border-radius: 2px;
}

/* On mouse-over, add a grey background color */
.custom_checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.custom_checkbox input:checked ~ .checkmark {
    background-color: #3cc47c;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


    .custom-icon{
        height: 25px;
        width: 25px;
    }
/* Show the checkmark when checked */
.custom_checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.custom_checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.btn-unsuscribe {
    margin-bottom: 50px;
}

.park_name {
    font-weight: bold;
    letter-spacing: 1.1px;
    margin-bottom: 10px;
    font-size: 18px;
}

.preference_label {
    font-size: 18px;
}

.park {
    padding: 20px 20px 0;
    border: 2px solid #ccc;
    background-color: #fefbd8;
    border-radius: 7px;
    margin-bottom: 20px;
}
.park_logo{
    padding: 0;
    display: inline-block;
}
button[disabled] {
pointer-events: none;
background: #ccc;
border: 1px solid grey;
color: black;
font-weight: bold;
}
button:hover {
    outline: 0;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.12), 1px 3px 4px rgba(0, 0, 0, 0.2);
}

.heading {
    width: 16.66666667%;
    display: inline-block;
    word-wrap: break-word;
}
.heading-row{
    padding: 20px 0 5px;
    border-bottom: 3px solid #ccc;
    display: flex;
}
.heading-row h4 {
    font-weight: bold;
}
.title h2{
    font-size: 20px;
}
.subheading h3{
    font-size: 18px;
}
/* @media screen and (min-width: 768px) {
    .outer_container {
        width: 80%;
    }
} */

@media screen and (min-width: 1024px) {
    .park {
        padding: 0;
        border: 0;
        background-color: transparent;
        margin: 0 -15px ;
        min-height: 55px;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    display: flex;
    align-items: center;
    border-radius: 0;

    }
    
    .btn-unsuscribe {
    margin-bottom:0 ;
}

    .custom-icon{
        display: none;
    }
    .brand_logo {
        max-width: 100%;
    }
    .park_name, .subscribe{
        margin-bottom: 0;
    }

    .subscribe {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    
}
    .park_name{
        font-size: 16px;
        font-weight: normal;
    }
    .preference_label{
        display: none;
    }
    .preference_option{
        min-width: 1px;
        margin-bottom: 0;
    }

    .preference_option::before {
        display: none;
    }
    .subscribe .switch {
    top: 0;
}
    .title h2{
    font-size: 30px;
}
.subheading h3{
    font-size: 24px;
}
}

@media screen and (min-width: 1200px) {
    .outer_container {
        width: 70%;
    }

    .unsubscribe {
        text-align: left;
        margin-bottom: 20px;
    }
    
}
