﻿/* Generic CSS for popup*/
.button-mailchimp button{
    background-color: transparent !important;
    margin: 1em 0 2em;
    text-transform: uppercase;
    color: #FDC600 !important;
    height: 57px;
    outline: 0;
    border: 3px solid #FDC600 !important;
    border-radius: 30px !important;
}
.button-mailchimp button:hover,
.button-mailchimp button:visited,
.button-mailchimp button:active,
.button-mailchimp button:focus{
	background-color: #FDC600 !important;
	color: #FFF !important;
}

.mc-modal-bg{
    position: static;
    left: 0;
    top: 0;
    z-index: 9995;
    height: 100%;
    width: 100%;
    display: none;
    background: #000;
    background-color: #000;
    opacity: .65;

    /* settings for velocity */
    opacity: 0;
}
.mc-layout__modalContent{
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
    display: block;
    background: #FFFFFF;
    border-radius: 6px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch; /* Fix iOS scrolling bug */
}

.mc-layout__modalContent iframe {
    display: block;
}

.mc-closeModal {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 100%;
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.2);
    cursor: pointer;
    /* position: absolute; */
    right: -10px;
    top: -10px;
    z-index: 2;
}

.mc-closeModal:before, .mc-closeModal:after {
    background-color: #414141;
    content: '';
    position: absolute;
    left: 14px;
    height: 14px;
    top: 8px;
    width: 2px;
}

.mc-closeModal:before {
     transform: rotate(45deg);
 }

.mc-closeModal:after {
     transform: rotate(-45deg);
 }

/* Box sizing for all elements inside mc-modal */
.mc-modal *{
    box-sizing: border-box;
}

/* Modal basic styles */
.mc-modal{
    display: none;
    /* Set higher than avg top nav index */
    z-index: 9999;
    /* position: fixed; */
    top: 15%;
    bottom: 60px;
    /* center modal */
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    min-height: 330px;
    width: 490px;
    background: transparent;

    /* settings for velocity */
    opacity: 0;
}

/* Banner styles for mobile users */
.mc-banner {
    visibility: hidden;
    /* Set lower than mc-modal */
    z-index: 9998;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    background-color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

/* Media Queries */

/* Hide modal and show optimized banner if mobile */
@media only screen and (max-width : 768px) {
    .mc-modal, .mc-modal-bg {
        visibility: hidden;
    }

    .mc-modal {
        /* Move the modal to the back */
        z-index: 9998;
        top: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        height: 100%;
    }

    .mc-banner {
        visibility: visible;
        /* Move the banner to the front */
        z-index: 9999;
    }

    .mc-layout__modalContent {
        border-radius: 0;
        max-height: 100% !important;
    }

    .mc-closeModal {
        background-color: rgba(255, 255, 255, 0.8);
        box-shadow: none;
        right: 10px;
        top: 10px;
    }
}

#mc_embed_signup_scroll{
    text-align:left;
    margin:5em auto 2em
}

#mc_embed_signup_scroll .center{
    text-align:center;
}

#mc_embed_signup_scroll .mc-field-group{
    text-align:left;
    margin-top: 1em;
}

#mc_embed_signup_scroll textarea,
#mc_embed_signup_scroll input{
    color: #FDC600;
    border-bottom-color: #FDC600;
    border-bottom-width: 2px;
}
#mc_embed_signup_scroll textarea:focus,
#mc_embed_signup_scroll input:focus { 
    color: #FFF; 
    border-color: #FFF;
}
#mc_embed_signup_scroll textarea::placeholder,
#mc_embed_signup_scroll input::placeholder { 
    color: #FDC600; 
}
#mc_embed_signup_scroll textarea:-ms-input-placeholder,
#mc_embed_signup_scroll input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #FDC600;
}
#mc_embed_signup_scroll textarea::-ms-input-placeholder,
#mc_embed_signup_scroll input::-ms-input-placeholder { /* Microsoft Edge */
    color: #FDC600;
}

#mc_embed_signup_scroll ul li {
    list-style: none;
    text-align: left;
}

#mc_embed_signup_scroll [type="checkbox"]:not(:checked),
#mc_embed_signup_scroll [type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
#mc_embed_signup_scroll [type="checkbox"]:not(:checked) + label,
#mc_embed_signup_scroll [type="checkbox"]:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}
#mc_embed_signup_scroll [type="checkbox"]:not(:checked) + label a, 
#mc_embed_signup_scroll [type="checkbox"]:checked + label a {
    color: #FDC600;
    text-decoration: underline;
    text-underline-position: under;
}
#mc_embed_signup_scroll [type="checkbox"]:not(:checked) + label:before,
#mc_embed_signup_scroll [type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0; 
  top: 0;
  width: 1.25em; 
  height: 1.25em;
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
}

#mc_embed_signup_scroll [type="checkbox"]:not(:checked) + label:after,
#mc_embed_signup_scroll [type="checkbox"]:checked + label:after {
    content: '✔';
    position: absolute;
    top: -0.1em;
    left: 0.2em;
    font-size: 1.4em;
    line-height: 0.8;
    color: #FDC600;
    transition: all .2s;
    font-family: Helvetica, Arial, sans-serif;
}

#mc_embed_signup_scroll [type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
#mc_embed_signup_scroll [type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

#mc_embed_signup_scroll [type="checkbox"]:disabled:not(:checked) + label:before,
#mc_embed_signup_scroll [type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}
#mc_embed_signup_scroll [type="checkbox"]:disabled:checked + label:after {
  color: #999;
}
#mc_embed_signup_scroll [type="checkbox"]:disabled + label {
  color: #aaa;
}

#mc_embed_signup_scroll [type="checkbox"]:checked:focus + label:before,
#mc_embed_signup_scroll [type="checkbox"]:not(:checked):focus + label:before {
  border: none;
}




#mc_embed_signup_scroll [type="radio"]:not(:checked),
#mc_embed_signup_scroll [type="radio"]:checked {
  position: absolute;
  left: -9999px;
}
#mc_embed_signup_scroll [type="radio"]:not(:checked) + label,
#mc_embed_signup_scroll [type="radio"]:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}
#mc_embed_signup_scroll [type="radio"]:not(:checked) + label a, 
#mc_embed_signup_scroll [type="radio"]:checked + label a {
    color: #FDC600;
    text-decoration: underline;
    text-underline-position: under;
}
#mc_embed_signup_scroll [type="radio"]:not(:checked) + label:before,
#mc_embed_signup_scroll [type="radio"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0; 
  top: 0;
  width: 1.25em; 
  height: 1.25em;
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
}

#mc_embed_signup_scroll [type="radio"]:not(:checked) + label:after,
#mc_embed_signup_scroll [type="radio"]:checked + label:after {
    content: '✔';
    position: absolute;
    top: -0.1em;
    left: 0.2em;
    font-size: 1.4em;
    line-height: 0.8;
    color: #FDC600;
    transition: all .2s;
    font-family: Helvetica, Arial, sans-serif;
}

#mc_embed_signup_scroll [type="radio"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
#mc_embed_signup_scroll [type="radio"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

#mc_embed_signup_scroll [type="radio"]:disabled:not(:checked) + label:before,
#mc_embed_signup_scroll [type="radio"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}
#mc_embed_signup_scroll [type="radio"]:disabled:checked + label:after {
  color: #999;
}
#mc_embed_signup_scroll [type="radio"]:disabled + label {
  color: #aaa;
}

#mc_embed_signup_scroll [type="radio"]:checked:focus + label:before,
#mc_embed_signup_scroll [type="radio"]:not(:checked):focus + label:before {
  border: none;
}

#mc_embed_signup_scroll input:-webkit-autofill,
#mc_embed_signup_scroll input:-webkit-autofill:hover, 
#mc_embed_signup_scroll input:-webkit-autofill:focus
#mc_embed_signup_scroll input:-webkit-autofill, 
#mc_embed_signup_scroll textarea:-webkit-autofill,
#mc_embed_signup_scroll textarea:-webkit-autofill:hover
#mc_embed_signup_scroll textarea:-webkit-autofill:focus,
#mc_embed_signup_scroll select:-webkit-autofill,
#mc_embed_signup_scroll select:-webkit-autofill:hover,
#mc_embed_signup_scroll select:-webkit-autofill:focus {
  border: none;
  border-bottom: 2px solid #FFF;
  background-color: transparent;
  -webkit-text-fill-color: #FDC600;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

label:hover:before {
  border: none;
}


@media only screen and (min-width:321px) and (max-width:480px){
    #mc_embed_signup_scroll{
        width:90%!important;
    }
}
@media only screen and (max-width:320px){
    #mc_embed_signup_scroll{
        width:90%!important;
    }
}
@media only screen and (min-width:481px) and (max-width:1023px){
    #mc_embed_signup_scroll{
        width:70%!important;
    }
}
@media only screen and (min-width:1025px) and (max-width:1279px){
    #mc_embed_signup_scroll{
        width:70%!important;
    }
}
#mc_embed_signup_scroll h2{
    font-size:1em;
    text-transform:uppercase;
    font-weight:700
}
#mc_embed_signup_scroll .indicates-required{
    margin-bottom:0;
    font-size:.8rem;
    color:#9e9e9e
}
#mc_embed_signup_scroll input#mc-embedded-subscribe{
    background-color: transparent;
    padding:1em;
    border-color: #FDC600;
    margin:1em 0 2em;
    font-weight:700;
    text-transform:uppercase;
    font-size:1em;
    color: #FDC600;
}
#mc_embed_signup_scroll input#mc-embedded-subscribe:hover{
    background-color: #FDC600;
    color: #FFF;
}
#mc_embed_signup_scroll input#mc-embedded-subscribe:focus {
	color: #FFF !important;
}
#mc_embed_signup_scroll input#mc-embedded-subscribe:active {
	color: #FFF !important;
}
.mc-field-group {
    color: #FDC600;
}

#mc_embed_signup_scroll textarea.form_input{
    height:5em;
    background-color:#e0ebea;
    padding:0;
    border:none;
    border-bottom:1px solid #9e9e9e
}
#mc_embed_signup_scroll textarea.form_input:focus{
    outline:none;
    border-bottom:1px solid #4caf50;
    box-shadow:0 1px 0 0 #4caf50
}
#mc_embed_signup_scroll div.mce_inline_error{
    width:100%;
    margin:0
}
div#mce-success-response {
    padding: 24px;
    color: #FDC600;
    text-align: center;
    font-size: 24px;
}
.form_back{
    -webkit-transform:rotateY(180deg);
    transform:rotateY(180deg)
}
.input_range{
    margin-top:1em;
    width:80%;
    float:left
}
.form_title{
    text-align:left;
    font-weight:700
}

/* MAILCHIMP */
.mailchimp-button-wrapper{
  text-align: center;
}
.mailchimp-button{
  padding: 0 41px;
  height: 57px;
  outline: 0;
  border: 3px solid #dec8ae;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1.75px;
  font-weight: 700;
  font-size: 14px;
  line-height: 51px;
  border-color: #FDC600 !important;
  color: #fff !important;
  background-color: transparent;
}
.mailchimp-button,.on-white{
  color: #FDC600 !important;
}
.mailchimp-button:hover{
  background-color:#FDC600;
}
.mailchimp-button:hover,.on-white:hover{
  background-color:#FDC600;
  color: #FFF !important;}
