/* RESET */
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.webContent .content__formFields,
.webContent .content__button {
    /* hard coding the width of the form container */
    /* this might be a value editable in the future */
    max-width: 372px;
    margin: 0 auto;
}



.webContent ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.webContent ul li{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
/** FORMS **/

/* Turn off webkit default styling */
.webContent input:not([type="radio"]):not([type="checkbox"]) { -webkit-appearance: none; }

.webContent input[type="search"]::-webkit-search-cancel-button,
.webContent input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }


.webContent input::-webkit-inner-spin-button,
.webContent input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.webContent label,
.webContent input,
.webContent select,
.webContent textarea {
    font-family: "Helvetica Neue", Arial, Helvetica, Verdana, sans-serif;
    font-size: 15px;
    line-height: 18px;
    font-weight: normal;
    width:100%;width:auto; /* reset width for IE */
}

.webContent select,
.webContent ul.radioCheckboxContainer {
    margin-bottom: 24px;
}

.webContent select {
    width:100%;
}

.webContent label {
    color: #404040;
    font-weight: bold;
    display: block;
    padding-bottom: 6px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

.webContent label * { line-height: inherit; }

.webContent textarea {
    height: auto;
    line-height: 24px;
}

.webContent ul.radioCheckboxContainer li label{display:inline-block;}

/* Placeholder styling */
.webContent input::-webkit-input-placeholder { opacity: 1; }
.webContent input:-moz-placeholder { opacity: 1; }
.webContent input::-moz-placeholder { opacity: 1; }
.webContent input:-ms-input-placeholder { opacity: 1; }

/* Input default styles */
.webContent textarea,
.webContent input[type="text"],
.webContent input[type="datetime"],
.webContent input[type="datetime-local"],
.webContent input[type="date"],
.webContent input[type="month"],
.webContent input[type="time"],
.webContent input[type="week"],
.webContent input[type="number"],
.webContent input[type="email"]
{
    background-color: #fff;
    border: 2px solid #c9c9c9;
    border-radius: 3px;
    display: inline-block;
    margin: 0 0 24px;
    min-height: 36px;
    min-width: 50px;
    padding: 0 0.4em;
    vertical-align: middle;
    width: 100%;
}
textarea:hover,
input[type="text"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="date"]:hover,
input[type="month"]:hover,
input[type="time"]:hover,
input[type="week"]:hover,
input[type="number"]:hover,
input[type="email"]:hover
{
    border-color:#838383;
}

input[type="radio"],
input[type="checkbox"] {
    float: left;
    margin-right: 10px;
    position: relative;
    top: 3px;
}

.webContent input[type="radio"] {
    -webkit-appearance: radio;
}
.webContent input[type="checkbox"] {
    -webkit-appearance: checkbox;
}

/* Modal Button default styles */
.webContent__content .button{
    border: 0 none;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    font-family: "Helvetica Neue",Arial,Helvetica,Verdana,sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-right: 0;
    padding: 0 18px;
    overflow: hidden;
    text-align: center;
    text-transform: none;
    vertical-align: middle;

    white-space: normal;
    height: auto;
    min-height: 36px;
    line-height: inherit;
}

/* Validation Styles */

.webContent__content .field-wrapper .invalid-error {
    top: -18px;
    max-height: 200px;
}

.webContent__content .field-help {
    color: #959595;
}

.webContent__content .invalid-error {
    display: block;
    color: #db3a1b;
    max-height: 200px;
}

.webContent__content .valid-success {
    color: #72c1b0;
}

.webContent__content .field-help,
.webContent__content .invalid-error {
    white-space: normal;
    word-wrap: break-word;
    width: 100%;
    letter-spacing: .01em;
    max-width: 550px;
    font-size: .8125em;
    line-height: 1.38461538em;
    font-weight: 700;
    position: relative;
}

.webContent__content textarea.invalid,
.webContent__content input.invalid {
    border: 2px solid #e85c41;
}

.webContent__content textarea.valid,
.webContent__content input.valid {
    border: 2px solid #72c1b0;
}


/* Custom Styles for signup fields in popup editor */

/* Date */
.webContent__content .date .date-month {
    width: 45px;
}
.webContent__content .date .date-day {
    width: 45px;
}
.webContent__content .date .date-year {
    width: 60px;
}

/* Birthday */
.webContent__content .birthday .birthday-month {
    width: 45px;
}
.webContent__content .birthday .birthday-day {
    width: 45px;
}
/* Phone */
.webContent__content .phone .phone-area {
    width: 45px;
}
.webContent__content .phone .phone-detail1 {
    width: 45px;
}
.webContent__content .phone .phone-detail2 {
    width: 60px;
}



/* Flash block */
.webContent .flash-block {
    display:block;
    clear: both;
}
.webContent .flash-block {
    clear: both;
}
.webContent .flash-block a {
    display:inline-block;
    white-space: nowrap;
}
.webContent .flash-info,
.webContent .flash-errors,
.webContent .flash-success {
    padding:24px 15px 24px 15px;
    margin:15px 0 24px 0;
    border-radius: 6px;
    background-color: #ccebf3;
}
.webContent .flash-errors {
    background-color: #f8d0c8;
}
.webContent .flash-success {
    background-color:#d4ece6;
}

/* Util classes */
.clearfix{
    content: "";
    display: table;
    clear: both;
}

/* GDPR */
.webContent .content__gdprBlock {
    width: 80%;
    max-width: 680px;
    margin: auto;
    text-align: left;
}

.webContent .content__gdpr {
    padding: 18px;
    background: rgba(255, 255, 255, 0.8);
    color: #4a4a4a;
}

.webContent .content__gdprBlock .content__gdpr p {
    font-family: "Helvetica Neue", Arial, Helvetica, Verdana, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #4a4a4a;
    text-align: left;
}

.webContent .content__gdpr label {
    color: #4a4a4a;
    font-family: "Helvetica Neue", Arial, Helvetica, Verdana, sans-serif;
}

.webContent .content__gdprFields label {
    font-weight: normal;
    font-size: 13px;
    color: #4a4a4a;
}

.webContent .content__gdprLegal {
    padding: 18px;
    background: rgba(255, 255, 255, 0.9);
    color: #4a4a4a;
    margin-bottom: 24px;
    overflow: auto;
}

.webContent .content__gdprBlock .content__gdprLegal p {
    font-family: "Helvetica Neue", Arial, Helvetica, Verdana, sans-serif;
    font-size: 11px;
    line-height: 1.5;
    color: #4a4a4a;
    margin-bottom: 0;
    text-align: left;
}

.webContent .content__gdprBlock div.content__gdprLegal a {
    font-weight: normal;
    text-decoration: underline;
    color: #206578 !important;
}

.webContent .content__gdprLegal img {
    width: 65px;
    float: left;
    margin-right: 18px;
}

/* GDPR block styles at mobile preview breakpoint */
@media only screen and (max-width: 480px) {
    .webContent .content__gdprBlock {
        width: 100%;
    }

    .webContent .content__gdprLegal img {
        float: none;
        display: block;
        margin: auto;
    }

    .webContent .content__gdpr p {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .webContent .content__gdprLegal p {
        font-size: 11px !important;
        line-height: 1.5 !important;
    }
}


.webContent label.checkbox, .webContent label.radio {
    font-weight:normal;
    position:relative;
    line-height:24px;
}
.webContent .checkbox input, .webContent .radio input {
    width:auto !important;
    display:inline-block;
    margin-right:5px;
    padding:0;
    border:none;
    background-color:transparent;
}

/* Image replacement for checkbox and radio buttons. */
/* Placing in @media block forces browsers that don't support :checked to fall back to native inputs. */
@media only screen {
    .mergeRow-radio .field-group, .mergeRow-interests-checkboxes .field-group {margin:0 -6px 11px -6px;}

    .checkbox, .radio {
        margin:9px 0 0 0;
        padding:0;
    }

    /* Position and hide the real checkboxes and radio buttons */
    .checkbox input, .radio input {
        position:absolute;
        width:24px;
        height:24px;
        overflow:hidden;
        margin:0;
        padding:0;
        outline:0;
        opacity:0;
    }

    .checkbox input + span, .radio input + span {
        display:block;
        border-radius:3px;
        padding:6px 6px 6px 38px;
    }

    .checkbox:hover span,
    .checkbox input:focus + span,
    .radio:hover span,
    .radio input:focus + span {
        background:rgba(0,0,0,.05);
    }

    /* Insert a pseudo element inside each label with a background sprite.  */
    .checkbox input + span:before, .radio input + span:before {
        display:block;
        position:absolute;
        top:6px;
        left:6px;
        width:24px;
        height:24px;
        background:url(/images/icons/signup-sprite.png) no-repeat;
        content:" ";
        vertical-align:top;
    }

    /* Position the background sprite based on state of checkbox/radio. */
    .radio input:focus + span:before { background-position:0 -30px; }
    .radio input:checked + span:before { background-position:0 -60px; }
    .radio input:checked:focus + span:before { background-position:-0 -90px; }
    .checkbox input + span:before { background-position:0 -120px; }
    .checkbox input:focus + span:before { background-position:0 -150px; }
    .checkbox input:checked + span:before { background-position:0 -180px; }
    .checkbox input:checked:focus + span:before { background-position:0 -210px; }

    /* Right-to-left checkbox/radio modifications */
    html[dir="rtl"] .checkbox input + span:before, html[dir="rtl"] .radio input + span:before {left:auto; right:0;}
    html[dir="rtl"] .checkbox input + span, html[dir="rtl"] .radio input + span {padding:6px 38px 6px 6px;}
}
