/*
 * Copyright and other intellectual property rights in the ContactUs
 * and all supporting materials are the property of Nestec S.A.
 * You are permitted to use this/these material(s) for the sole purpose of providing services under
 * and in conformity with the service agreement between you and Nestec S.A.
 */

.control.captcha input{
    width: auto;
}

.fieldset legend {
    font-size: 1.3em;
    margin-bottom: 1rem;
}

.header-fields-right {
    float: right;
    width: 33%;
}

.text-center {
    text-align: center;
}

h4 {
    color: white;
    background: gray;
    padding: 10px 0;
}

.contact-type {
    display: flex;
}

@media screen and (min-width: 768px) {

    .fieldset-main, .fieldset-message, .fieldset-captcha {
        grid-column: span 2;
        -ms-grid-column-span: 2;
    }

    .fieldset-product div.grid, .fieldset-contact div.grid {
        display: -ms-grid;
        display: grid;
        grid-template-columns: 2fr 2fr;
        -ms-grid-columns: 2fr 2fr;
        grid-gap: 20px;
    }

    div[name='contactus_contact.email'] {
        grid-column: 1 / 3;
    }
}
.form-buttons {
    grid-column: 1 / 2;
    -ms-grid-column-span: 2;
}

.contact-type button {
    flex-grow: 1;
    flex-basis: 0;
}

.contact-btn {
    padding-top: 15px;
    padding-bottom: 15px;
}

.active {
    background: #e1e1e1;
    border: 1px solid #cccccc;
    color: #333333;
}

@media screen and (max-width: 768px) {
    .field {margin-bottom: 1rem;}

    .header-fields-right {
        float: none;
        width: 100%;
    }
}

/***********Design Requirment*******************/
.nestle_contactus-index-index .main .form .fieldset .legend{
    font-family: 'VisbyRoundCF-SemiBold', sans-serif;
    margin: 0 0 30px;
    padding: 20px 0 20px;
}
.nestle_contactus-index-index .main .form .field.required label:nth-child(1):after,
.nestle_contactus-index-index .main .form .label.required:after
{
    content: '*';
    color: #e02b27;
    font-size: 1.2rem;
    margin: 0 0 0 5px;
}
.nestle_contactus-index-index .main .form input[type="submit"]{
    background: #3a2312 !important;
    padding: 12px 32px;
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
    border: 1px solid #3a2312 !important;
    border-radius: 4rem;
    font-family: 'VisbyRoundCF-SemiBold', sans-serif;
}

.nestle_contactus-index-index .main .form .field{
    margin-bottom:30px !important;
}
.nestle_contactus-index-index .main .form input[type="file"] {
    border-bottom:none !important;
    padding: 1.2rem 0px;
}
.nestle_contactus-index-index .main .form input[type="date"]{
    padding: 1.2rem 0px;
}
.nestle_contactus-index-index .main .form .box{
    padding : 0px !important;
}
.contact-type .contact-type-btn{
    padding: 10px;
    font-family: 'VisbyRoundCF-SemiBold', sans-serif;
}
.contact-type .contact-type-btn.active{
    background: #3a2312;
    color: #fff;
}
.nestle_contactus-index-index .field.note.no-label{
    padding:15px !important;
    background:#3a2312;
    font-family: 'VisbyRoundCF-SemiBold', sans-serif;
    font-size: 1.6rem;
}

.nestle_contactus-index-index .main .form  select.mage-error{
    background: url(../images/invalid.svg) no-repeat 100% 45%;
    background-size: 1.3rem !important;
}
.nestle_contactus-index-index .main .form  select{
    background: url(../images/valid.svg) no-repeat 100% 45%;
    background-size: 1.3rem !important;
}
.nestle_contactus-index-index .main .form select.mage-error,
.nestle_contactus-index-index .main .form textarea.mage-error,
.nestle_contactus-index-index .main .form input[type="date"].mage-error,
.nestle_contactus-index-index .main .form input[type="text"].mage-error
{
    border-bottom:1px solid #d52e21 !important;
}
.nestle_contactus-index-index .main .form input[type="radio"]:checked:before {
    content: "";
    display: block;
    position: relative;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: #3a2312;
    border-radius:50%;
}
/*
 * Copyright and other intellectual property rights in the ContactUs
 * and all supporting materials are the property of Nestec S.A.
 * You are permitted to use this/these material(s) for the sole purpose of providing services under
 * and in conformity with the service agreement between you and Nestec S.A.
 */

.control.captcha input{
    width: auto;
}

.fieldset legend {
    font-size: 1.3em;
    margin-bottom: 1rem;
}

.header-fields-right {
    float: right;
    width: 33%;
}

.text-center {
    text-align: center;
}

h4 {
    color: white;
    background: gray;
    padding: 10px 0;
}

.contact-type {
    display: flex;
}

@media screen and (min-width: 768px) {

    .fieldset-main, .fieldset-message, .fieldset-captcha {
        grid-column: span 2;
        -ms-grid-column-span: 2;
    }

    .fieldset-product div.grid, .fieldset-contact div.grid {
        display: -ms-grid;
        display: grid;
        grid-template-columns: 2fr 2fr;
        -ms-grid-columns: 2fr 2fr;
        grid-gap: 20px;
    }

    div[name='contactus_contact.email'] {
        grid-column: 1 / 3;
    }
}
.form-buttons {
    grid-column: 1 / 2;
    -ms-grid-column-span: 2;
}

.contact-type button {
    flex-grow: 1;
    flex-basis: 0;
}

.contact-btn {
    padding-top: 15px;
    padding-bottom: 15px;
}

.active {
    background: #e1e1e1;
    border: 1px solid #cccccc;
    color: #333333;
}

@media screen and (max-width: 768px) {
    .field {margin-bottom: 1rem;}

    .header-fields-right {
        float: none;
        width: 100%;
    }
}

/***********Design Requirment*******************/
.nestle_contactus-index-index .main .form input[type=checkbox]+label{
    position: relative;
    cursor: pointer;
}
.nestle_contactus-index-index .main .form input[type=checkbox]:checked+label::before {
    -moz-appearance:none;
    -webkit-appearance:none;
    -o-appearance:none;
    content: "";
    position: absolute;
    left: -23px;
    top: 57%;
    font-size: 1rem;
    transform: translate(0, -50%);
    color: #fff;
    text-align: center;
    border: 0.1rem solid #3a2312;
    border-radius: 0.5rem;
    width: 16px;
    height: 16px;
    line-height: 2.2rem;
    background: #3a2312;
    visibility: initial;
}
.nestle_contactus-index-index .main .form input[type=checkbox]:checked+label::after {
    content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="white" viewBox="0 0 24 24"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
    display: block;
    position: absolute;
    left: -20px;
    top: 1px;
}
