/*custom font*/
@import url(https://fonts.googleapis.com/css?family=Montserrat);

/*basic reset*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 200px) {

    html { 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;

    }
    body {
        font-family: montserrat, arial, verdana;
        font-size: 12px;
        margin-top: 291px;
        background: transparent;
        color: #000;
    }

    /*form styles*/
    #msform {
        text-align: center;
        position: relative;
        margin-top: 60px;
    }

    #msform fieldset {
        background: white;
        border: 0 none;
        border-radius: 0px;
        box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
        padding: 5% 3%;
        box-sizing: border-box;
        width: 100%;

        /*stacking fieldsets above each other*/
        position: relative;
    }

    /*Hide all except first fieldset*/
    #msform fieldset:not(:first-of-type) {
        display: none;
    }

    /*inputs*/
    #msform input, #msform textarea {
        padding: 15px;
        border: 1px solid #ccc;
        border-radius: 0px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
        font-family: montserrat;
        color: #2C3E50;
        font-size: 13px;
    }

    #msform input:focus, #msform textarea:focus {
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border: 1px solid #ee0979;
        outline-width: 0;
        transition: All 0.5s ease-in;
        -webkit-transition: All 0.5s ease-in;
        -moz-transition: All 0.5s ease-in;
        -o-transition: All 0.5s ease-in;
    }

    /*buttons*/
    #msform .action-button {
        width: 150px;
        background: #ee0979;
        font-weight: bold;
        color: white;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

    #msform .action-button:hover, #msform .action-button:focus {
        box-shadow: 0 0 0 2px white, 0 0 0 3px #ee0979;
    }

    #msform .action-button-previous {
        width: 200px;
        background: #C5C5F1;
        font-weight: bold;
        color: black;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

    #msform .action-button-previous:hover, #msform .action-button-previous:focus {
        box-shadow: 0 0 0 2px black, 0 0 0 3px #C5C5F1;
    }

    /*headings*/
    .fs-title {
        font-size: 18px;
        text-transform: uppercase;
        color: #2C3E50;
        margin-bottom: 10px;
        letter-spacing: 2px;
        font-weight: bold;
    }

    .fs-subtitle {
        font-weight: normal;
        font-size: 13px;
        color: #666;
        margin-bottom: 20px;
    }

    /*progressbar*/
    #progressbar {
        margin-bottom: 30px;
        overflow: hidden;
        /*CSS counters to number the steps*/
        counter-reset: step;
    }

    #progressbar li {
        list-style-type: none;
        color: black;
        text-transform: uppercase;
        font-size: 50%;
        font-weight: bold; 
        width: 25%;
        float: left;
        position: relative;
        letter-spacing: 1px;
    }

    #progressbar li:before {
        content: counter(step);
        counter-increment: step;
        width: 24px;
        height: 24px;
        line-height: 26px;
        display: block;
        font-size: 12px;
        color: #333;
        background: white;
        border-radius: 25px;
        margin: 0 auto 10px auto;
    }

    /*progressbar connectors*/
    #progressbar li:after {
        content: '';
        width: 100%;
        height: 2px;
        background: black;
        position: absolute;
        left: -50%;
        top: 9px;
        z-index: -1; /*put it behind the numbers*/
    }

    #progressbar li:first-child:after {
        /*connector not needed before the first step*/
        content: none;
    }

    /*marking active/completed steps green*/
    /*The number of the step and the connector before it = green*/
    #progressbar li.active:before, #progressbar li.active:after {
        background: #ee0979;
        color: white;
    }


    /* Not relevant to this form */
    .dme_link {
        margin-top: 30px;
        text-align: center;
    }
    .dme_link a {
        background: #FFF;
        font-weight: bold;
        color: #ee0979;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 5px 25px;
        font-size: 12px;
    }

    .dme_link a:hover, .dme_link a:focus {
        background: #C5C5F1;
        text-decoration: none;
    }

    .form-radio,
    .form-group {
        position: relative;
        margin-top: 2.25rem;
        margin-bottom: 2.25rem;
    }

    .form-inline > .form-group,
    .form-inline > .btn {
        display: inline-block;
        margin-bottom: 0;
    }

    .form-help {
        margin-top: 0.125rem;
        margin-left: 0.125rem;
        color: #b3b3b3;
        font-size: 0.8rem;
    }
    .checkbox .form-help, .form-radio .form-help, .form-group .form-help {
        position: absolute;
        width: 100%;
    }
    .checkbox .form-help {
        position: relative;
        margin-bottom: 1rem;
    }
    .form-radio .form-help {
        padding-top: 0.25rem;
        margin-top: -1rem;
    }

    .form-group input {
        height: 1.9rem;
    }
    .form-group textarea {
        resize: none;
    }
    .form-group select {
        width: 100%;
        font-size: 1rem;
        height: 1.6rem;
        padding: 0.125rem 0.125rem 0.0625rem;
        background: none;
        border: none;
        line-height: 1.6;
        box-shadow: none;
    }
    .form-group .control-label {
        position: absolute;
        top: 0.25rem;
        pointer-events: none;
        padding-left: 0.125rem;
        z-index: 1;
        color: #b3b3b3;
        font-size: 30rem;
        font-weight: normal;
        -webkit-transition: all 0.28s ease;
        transition: all 0.28s ease;
    }
    .form-group .bar {
        position: relative;
        border-bottom: 0.0625rem solid #999;
        display: block;
    }
    .form-group .bar::before {
        content: '';
        height: 0.125rem;
        width: 0;
        left: 50%;
        bottom: -0.0625rem;
        position: absolute;
        background: #337ab7;
        -webkit-transition: left 0.28s ease, width 0.28s ease;
        transition: left 0.28s ease, width 0.28s ease;
        z-index: 2;
    }
    .form-group input,
    .form-group textarea {
        display: block;
        background: none;
        padding: 0.125rem 0.125rem 0.0625rem;
        font-size: 1rem;
        border-width: 0;
        border-color: transparent;
        line-height: 1.9;
        width: 100%;
        color: transparent;
        -webkit-transition: all 0.28s ease;
        transition: all 0.28s ease;
        box-shadow: none;
    }
    .form-group input[type="file"] {
        line-height: 1;
    }
    .form-group input[type="file"] ~ .bar {
        display: none;
    }
    .form-group select,
    .form-group input:focus,
    .form-group input:valid,
    .form-group input.form-file,
    .form-group input.has-value,
    .form-group textarea:focus,
    .form-group textarea:valid,
    .form-group textarea.form-file,
    .form-group textarea.has-value {
        color: #333;
    }
    .form-group select ~ .control-label,
    .form-group input:focus ~ .control-label,
    .form-group input:valid ~ .control-label,
    .form-group input.form-file ~ .control-label,
    .form-group input.has-value ~ .control-label,
    .form-group textarea:focus ~ .control-label,
    .form-group textarea:valid ~ .control-label,
    .form-group textarea.form-file ~ .control-label,
    .form-group textarea.has-value ~ .control-label {
        font-size: 0.8rem;
        color: gray;
        top: -1rem;
        left: 0;
    }
    .form-group select:focus,
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
    }
    .form-group select:focus ~ .control-label,
    .form-group input:focus ~ .control-label,
    .form-group textarea:focus ~ .control-label {
        color: #337ab7;
    }
    .form-group select:focus ~ .bar::before,
    .form-group input:focus ~ .bar::before,
    .form-group textarea:focus ~ .bar::before {
        width: 100%;
        left: 0;
    }

    .checkbox label,
    .form-radio label {
        position: relative;
        cursor: pointer;
        padding-left: 2rem;
        text-align: left;
        color: #333;
        display: block;
    }
    .checkbox input,
    .form-radio input {
        width: auto;
        opacity: 0.00000001;
        position: absolute;
        left: 0;
    }

    .radio {
        margin-bottom: 1rem;
    }
    .radio .helper {
        position: absolute;
        top: -0.25rem;
        left: -0.25rem;
        cursor: pointer;
        display: block;
        font-size: 1rem;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        color: #999;
    }
    .radio .helper::before, .radio .helper::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        margin: 0.25rem;
        width: 1rem;
        height: 1rem;
        -webkit-transition: -webkit-transform 0.28s ease;
        transition: -webkit-transform 0.28s ease;
        transition: transform 0.28s ease;
        transition: transform 0.28s ease, -webkit-transform 0.28s ease;
        border-radius: 50%;
        border: 0.125rem solid currentColor;
    }
    .radio .helper::after {
        -webkit-transform: scale(0);
        transform: scale(0);
        background-color: #337ab7;
        border-color: #337ab7;
    }
    .radio label:hover .helper {
        color: #337ab7;
    }
    .radio input:checked ~ .helper::after {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    .radio input:checked ~ .helper::before {
        color: #337ab7;
    }

    .checkbox {
        margin-top: 3rem;
        margin-bottom: 1rem;
    }
    .checkbox .helper {
        color: #999;
        position: absolute;
        top: 0;
        left: 0;
        width: 1rem;
        height: 1rem;
        z-index: 0;
        border: 0.125rem solid currentColor;
        border-radius: 0.0625rem;
        -webkit-transition: border-color 0.28s ease;
        transition: border-color 0.28s ease;
    }
    .checkbox .helper::before, .checkbox .helper::after {
        position: absolute;
        height: 0;
        width: 0.2rem;
        background-color: #337ab7;
        display: block;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        border-radius: 0.25rem;
        content: '';
        -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
        transition: opacity 0.28s ease, height 0s linear 0.28s;
        opacity: 0;
    }
    .checkbox .helper::before {
        top: 0.65rem;
        left: 0.38rem;
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
        box-shadow: 0 0 0 0.0625rem #fff;
    }
    .checkbox .helper::after {
        top: 0.3rem;
        left: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .checkbox label:hover .helper {
        color: #337ab7;
    }
    .checkbox input:checked ~ .helper {
        color: #337ab7;
    }
    .checkbox input:checked ~ .helper::after, .checkbox input:checked ~ .helper::before {
        opacity: 1;
        -webkit-transition: height 0.28s ease;
        transition: height 0.28s ease;
    }
    .checkbox input:checked ~ .helper::after {
        height: 0.5rem;
    }
    .checkbox input:checked ~ .helper::before {
        height: 1.2rem;
        -webkit-transition-delay: 0.28s;
        transition-delay: 0.28s;
    }

    .radio + .radio,
    .checkbox + .checkbox {
        margin-top: 1rem;
    }

    .has-error .legend.legend, .has-error.form-group .control-label.control-label {
        color: #d9534f;
    }
    .has-error.form-group .form-help,
    .has-error.form-group .helper, .has-error.checkbox .form-help,
    .has-error.checkbox .helper, .has-error.radio .form-help,
    .has-error.radio .helper, .has-error.form-radio .form-help,
    .has-error.form-radio .helper {
        color: #d9534f;
    }
    .has-error .bar::before {
        background: #d9534f;
        left: 0;
        width: 100%;
    }

    .white-popup {
        position: relative;
        background: #FFF;
        padding: 40px;
        width: auto;
        max-width: 500px;
        margin: 20px auto;
        transition: 1s all;
    }

    .mfp-bg {

    }

    .mfp-fade.mfp-bg {
        opacity: 0;
        -webkit-transition: all 0.15s ease-out;
        -moz-transition: all 0.15s ease-out;
        transition: all 0.15s ease-out;
    }


    /* overlay animate in */

    .mfp-fade.mfp-bg.mfp-ready {
        opacity: 0.8;
    }


    /* overlay animate out */

    .mfp-fade.mfp-bg.mfp-removing {
        opacity: 0;
    }

    .mfp-fade.mfp-wrap .mfp-content {
        opacity: 0;
        transition: all 0.4s ease-out;
    }

    .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
        opacity: 1;
    }

    .mfp-fade.mfp-wrap.mfp-removing .mfp-content {
        opacity: 0;
    }
}

@media (min-width: 915px) {

    html { 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;

    }
    body {
        font-family: montserrat, arial, verdana;
        font-size: 12px;
        margin-top: 345px;
        background: transparent;
        color: #000;
    }

    /*form styles*/
    #msform {
        text-align: center;
        position: relative;
        margin-top: 60px;
    }

    #msform fieldset {
        background: white;
        border: 0 none;
        border-radius: 0px;
        box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
        padding: 5% 3%;
        box-sizing: border-box;
        width: 100%;

        /*stacking fieldsets above each other*/
        position: relative;
    }

    /*Hide all except first fieldset*/
    #msform fieldset:not(:first-of-type) {
        display: none;
    }

    /*inputs*/
    #msform input, #msform textarea {
        padding: 15px;
        border: 1px solid #ccc;
        border-radius: 0px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
        font-family: montserrat;
        color: #2C3E50;
        font-size: 13px;
    }

    #msform input:focus, #msform textarea:focus {
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border: 1px solid #ee0979;
        outline-width: 0;
        transition: All 0.5s ease-in;
        -webkit-transition: All 0.5s ease-in;
        -moz-transition: All 0.5s ease-in;
        -o-transition: All 0.5s ease-in;
    }

    /*buttons*/
    #msform .action-button {
        width: 150px;
        background: #ee0979;
        font-weight: bold;
        color: white;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

    #msform .action-button:hover, #msform .action-button:focus {
        box-shadow: 0 0 0 2px white, 0 0 0 3px #ee0979;
    }

    #msform .action-button-previous {
        width: 200px;
        background: #C5C5F1;
        font-weight: bold;
        color: black;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

    #msform .action-button-previous:hover, #msform .action-button-previous:focus {
        box-shadow: 0 0 0 2px black, 0 0 0 3px #C5C5F1;
    }

    /*headings*/
    .fs-title {
        font-size: 18px;
        text-transform: uppercase;
        color: #2C3E50;
        margin-bottom: 10px;
        letter-spacing: 2px;
        font-weight: bold;
    }

    .fs-subtitle {
        font-weight: normal;
        font-size: 13px;
        color: #666;
        margin-bottom: 20px;
    }

    /*progressbar*/
    #progressbar {
        margin-bottom: 30px;
        overflow: hidden;
        /*CSS counters to number the steps*/
        counter-reset: step;
    }

    #progressbar li {
        list-style-type: none;
        color: black;
        text-transform: uppercase;
        font-size: 50%;
        font-weight: bold; 
        width: 25%;
        float: left;
        position: relative;
        letter-spacing: 1px;
    }

    #progressbar li:before {
        content: counter(step);
        counter-increment: step;
        width: 24px;
        height: 24px;
        line-height: 26px;
        display: block;
        font-size: 12px;
        color: #333;
        background: white;
        border-radius: 25px;
        margin: 0 auto 10px auto;
    }

    /*progressbar connectors*/
    #progressbar li:after {
        content: '';
        width: 100%;
        height: 2px;
        background: black;
        position: absolute;
        left: -50%;
        top: 9px;
        z-index: -1; /*put it behind the numbers*/
    }

    #progressbar li:first-child:after {
        /*connector not needed before the first step*/
        content: none;
    }

    /*marking active/completed steps green*/
    /*The number of the step and the connector before it = green*/
    #progressbar li.active:before, #progressbar li.active:after {
        background: #ee0979;
        color: white;
    }


    /* Not relevant to this form */
    .dme_link {
        margin-top: 30px;
        text-align: center;
    }
    .dme_link a {
        background: #FFF;
        font-weight: bold;
        color: #ee0979;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 5px 25px;
        font-size: 12px;
    }

    .dme_link a:hover, .dme_link a:focus {
        background: #C5C5F1;
        text-decoration: none;
    }

    .form-radio,
    .form-group {
        position: relative;
        margin-top: 2.25rem;
        margin-bottom: 2.25rem;
    }

    .form-inline > .form-group,
    .form-inline > .btn {
        display: inline-block;
        margin-bottom: 0;
    }

    .form-help {
        margin-top: 0.125rem;
        margin-left: 0.125rem;
        color: #b3b3b3;
        font-size: 0.8rem;
    }
    .checkbox .form-help, .form-radio .form-help, .form-group .form-help {
        position: absolute;
        width: 100%;
    }
    .checkbox .form-help {
        position: relative;
        margin-bottom: 1rem;
    }
    .form-radio .form-help {
        padding-top: 0.25rem;
        margin-top: -1rem;
    }

    .form-group input {
        height: 1.9rem;
    }
    .form-group textarea {
        resize: none;
    }
    .form-group select {
        width: 100%;
        font-size: 1rem;
        height: 1.6rem;
        padding: 0.125rem 0.125rem 0.0625rem;
        background: none;
        border: none;
        line-height: 1.6;
        box-shadow: none;
    }
    .form-group .control-label {
        position: absolute;
        top: 0.25rem;
        pointer-events: none;
        padding-left: 0.125rem;
        z-index: 1;
        color: #b3b3b3;
        font-size: 30rem;
        font-weight: normal;
        -webkit-transition: all 0.28s ease;
        transition: all 0.28s ease;
    }
    .form-group .bar {
        position: relative;
        border-bottom: 0.0625rem solid #999;
        display: block;
    }
    .form-group .bar::before {
        content: '';
        height: 0.125rem;
        width: 0;
        left: 50%;
        bottom: -0.0625rem;
        position: absolute;
        background: #337ab7;
        -webkit-transition: left 0.28s ease, width 0.28s ease;
        transition: left 0.28s ease, width 0.28s ease;
        z-index: 2;
    }
    .form-group input,
    .form-group textarea {
        display: block;
        background: none;
        padding: 0.125rem 0.125rem 0.0625rem;
        font-size: 1rem;
        border-width: 0;
        border-color: transparent;
        line-height: 1.9;
        width: 100%;
        color: transparent;
        -webkit-transition: all 0.28s ease;
        transition: all 0.28s ease;
        box-shadow: none;
    }
    .form-group input[type="file"] {
        line-height: 1;
    }
    .form-group input[type="file"] ~ .bar {
        display: none;
    }
    .form-group select,
    .form-group input:focus,
    .form-group input:valid,
    .form-group input.form-file,
    .form-group input.has-value,
    .form-group textarea:focus,
    .form-group textarea:valid,
    .form-group textarea.form-file,
    .form-group textarea.has-value {
        color: #333;
    }
    .form-group select ~ .control-label,
    .form-group input:focus ~ .control-label,
    .form-group input:valid ~ .control-label,
    .form-group input.form-file ~ .control-label,
    .form-group input.has-value ~ .control-label,
    .form-group textarea:focus ~ .control-label,
    .form-group textarea:valid ~ .control-label,
    .form-group textarea.form-file ~ .control-label,
    .form-group textarea.has-value ~ .control-label {
        font-size: 0.8rem;
        color: gray;
        top: -1rem;
        left: 0;
    }
    .form-group select:focus,
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
    }
    .form-group select:focus ~ .control-label,
    .form-group input:focus ~ .control-label,
    .form-group textarea:focus ~ .control-label {
        color: #337ab7;
    }
    .form-group select:focus ~ .bar::before,
    .form-group input:focus ~ .bar::before,
    .form-group textarea:focus ~ .bar::before {
        width: 100%;
        left: 0;
    }

    .checkbox label,
    .form-radio label {
        position: relative;
        cursor: pointer;
        padding-left: 2rem;
        text-align: left;
        color: #333;
        display: block;
    }
    .checkbox input,
    .form-radio input {
        width: auto;
        opacity: 0.00000001;
        position: absolute;
        left: 0;
    }

    .radio {
        margin-bottom: 1rem;
    }
    .radio .helper {
        position: absolute;
        top: -0.25rem;
        left: -0.25rem;
        cursor: pointer;
        display: block;
        font-size: 1rem;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        color: #999;
    }
    .radio .helper::before, .radio .helper::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        margin: 0.25rem;
        width: 1rem;
        height: 1rem;
        -webkit-transition: -webkit-transform 0.28s ease;
        transition: -webkit-transform 0.28s ease;
        transition: transform 0.28s ease;
        transition: transform 0.28s ease, -webkit-transform 0.28s ease;
        border-radius: 50%;
        border: 0.125rem solid currentColor;
    }
    .radio .helper::after {
        -webkit-transform: scale(0);
        transform: scale(0);
        background-color: #337ab7;
        border-color: #337ab7;
    }
    .radio label:hover .helper {
        color: #337ab7;
    }
    .radio input:checked ~ .helper::after {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    .radio input:checked ~ .helper::before {
        color: #337ab7;
    }

    .checkbox {
        margin-top: 3rem;
        margin-bottom: 1rem;
    }
    .checkbox .helper {
        color: #999;
        position: absolute;
        top: 0;
        left: 0;
        width: 1rem;
        height: 1rem;
        z-index: 0;
        border: 0.125rem solid currentColor;
        border-radius: 0.0625rem;
        -webkit-transition: border-color 0.28s ease;
        transition: border-color 0.28s ease;
    }
    .checkbox .helper::before, .checkbox .helper::after {
        position: absolute;
        height: 0;
        width: 0.2rem;
        background-color: #337ab7;
        display: block;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        border-radius: 0.25rem;
        content: '';
        -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
        transition: opacity 0.28s ease, height 0s linear 0.28s;
        opacity: 0;
    }
    .checkbox .helper::before {
        top: 0.65rem;
        left: 0.38rem;
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
        box-shadow: 0 0 0 0.0625rem #fff;
    }
    .checkbox .helper::after {
        top: 0.3rem;
        left: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .checkbox label:hover .helper {
        color: #337ab7;
    }
    .checkbox input:checked ~ .helper {
        color: #337ab7;
    }
    .checkbox input:checked ~ .helper::after, .checkbox input:checked ~ .helper::before {
        opacity: 1;
        -webkit-transition: height 0.28s ease;
        transition: height 0.28s ease;
    }
    .checkbox input:checked ~ .helper::after {
        height: 0.5rem;
    }
    .checkbox input:checked ~ .helper::before {
        height: 1.2rem;
        -webkit-transition-delay: 0.28s;
        transition-delay: 0.28s;
    }

    .radio + .radio,
    .checkbox + .checkbox {
        margin-top: 1rem;
    }

    .has-error .legend.legend, .has-error.form-group .control-label.control-label {
        color: #d9534f;
    }
    .has-error.form-group .form-help,
    .has-error.form-group .helper, .has-error.checkbox .form-help,
    .has-error.checkbox .helper, .has-error.radio .form-help,
    .has-error.radio .helper, .has-error.form-radio .form-help,
    .has-error.form-radio .helper {
        color: #d9534f;
    }
    .has-error .bar::before {
        background: #d9534f;
        left: 0;
        width: 100%;
    }

    .white-popup {
        position: relative;
        background: #FFF;
        padding: 40px;
        width: auto;
        max-width: 500px;
        margin: 20px auto;
        transition: 1s all;
    }

    .mfp-bg {

    }

    .mfp-fade.mfp-bg {
        opacity: 0;
        -webkit-transition: all 0.15s ease-out;
        -moz-transition: all 0.15s ease-out;
        transition: all 0.15s ease-out;
    }


    /* overlay animate in */

    .mfp-fade.mfp-bg.mfp-ready {
        opacity: 0.8;
    }


    /* overlay animate out */

    .mfp-fade.mfp-bg.mfp-removing {
        opacity: 0;
    }

    .mfp-fade.mfp-wrap .mfp-content {
        opacity: 0;
        transition: all 0.4s ease-out;
    }

    .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
        opacity: 1;
    }

    .mfp-fade.mfp-wrap.mfp-removing .mfp-content {
        opacity: 0;
    }
}

/*Tela com resolução de computador*/
@media (min-width: 1024px) {

    html { 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;

    }
    body {
        font-family: montserrat, arial, verdana;
        font-size: 12px;
        margin-top: 30px;
        background: transparent;
        color: #000;
    }

    /*form styles*/
    #msform {
        text-align: center;
        position: relative;
        margin-top: 60px;
    }

    #msform fieldset {
        background: white;
        border: 0 none;
        border-radius: 0px;
        box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
        padding: 5% 3%;
        box-sizing: border-box;
        width: 100%;

        /*stacking fieldsets above each other*/
        position: relative;
    }

    /*Hide all except first fieldset*/
    #msform fieldset:not(:first-of-type) {
        display: none;
    }

    /*inputs*/
    #msform input, #msform textarea {
        padding: 15px;
        border: 1px solid #ccc;
        border-radius: 0px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
        font-family: montserrat;
        color: #2C3E50;
        font-size: 13px;
    }

    #msform input:focus, #msform textarea:focus {
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border: 1px solid #ee0979;
        outline-width: 0;
        transition: All 0.5s ease-in;
        -webkit-transition: All 0.5s ease-in;
        -moz-transition: All 0.5s ease-in;
        -o-transition: All 0.5s ease-in;
    }

    /*buttons*/
    #msform .action-button {
        width: 150px;
        background: #ee0979;
        font-weight: bold;
        color: white;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

    #msform .action-button:hover, #msform .action-button:focus {
        box-shadow: 0 0 0 2px white, 0 0 0 3px #ee0979;
    }

    #msform .action-button-previous {
        width: 200px;
        background: #C5C5F1;
        font-weight: bold;
        color: black;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

    #msform .action-button-previous:hover, #msform .action-button-previous:focus {
        box-shadow: 0 0 0 2px black, 0 0 0 3px #C5C5F1;
    }

    /*headings*/
    .fs-title {
        font-size: 18px;
        text-transform: uppercase;
        color: #2C3E50;
        margin-bottom: 10px;
        letter-spacing: 2px;
        font-weight: bold;
    }

    .fs-subtitle {
        font-weight: normal;
        font-size: 13px;
        color: #666;
        margin-bottom: 20px;
    }

    /*progressbar*/
    #progressbar {
        margin-bottom: 30px;
        overflow: hidden;
        /*CSS counters to number the steps*/
        counter-reset: step;
    }

    #progressbar li {
        list-style-type: none;
        color: black;
        text-transform: uppercase;
        font-size: 50%;
        font-weight: bold; 
        width: 25%;
        float: left;
        position: relative;
        letter-spacing: 1px;
    }

    #progressbar li:before {
        content: counter(step);
        counter-increment: step;
        width: 24px;
        height: 24px;
        line-height: 26px;
        display: block;
        font-size: 12px;
        color: #333;
        background: white;
        border-radius: 25px;
        margin: 0 auto 10px auto;
    }

    /*progressbar connectors*/
    #progressbar li:after {
        content: '';
        width: 100%;
        height: 2px;
        background: black;
        position: absolute;
        left: -50%;
        top: 9px;
        z-index: -1; /*put it behind the numbers*/
    }

    #progressbar li:first-child:after {
        /*connector not needed before the first step*/
        content: none;
    }

    /*marking active/completed steps green*/
    /*The number of the step and the connector before it = green*/
    #progressbar li.active:before, #progressbar li.active:after {
        background: #ee0979;
        color: white;
    }


    /* Not relevant to this form */
    .dme_link {
        margin-top: 30px;
        text-align: center;
    }
    .dme_link a {
        background: #FFF;
        font-weight: bold;
        color: #ee0979;
        border: 0 none;
        border-radius: 25px;
        cursor: pointer;
        padding: 5px 25px;
        font-size: 12px;
    }

    .dme_link a:hover, .dme_link a:focus {
        background: #C5C5F1;
        text-decoration: none;
    }

    .form-radio,
    .form-group {
        position: relative;
        margin-top: 2.25rem;
        margin-bottom: 2.25rem;
    }

    .form-inline > .form-group,
    .form-inline > .btn {
        display: inline-block;
        margin-bottom: 0;
    }

    .form-help {
        margin-top: 0.125rem;
        margin-left: 0.125rem;
        color: #b3b3b3;
        font-size: 0.8rem;
    }
    .checkbox .form-help, .form-radio .form-help, .form-group .form-help {
        position: absolute;
        width: 100%;
    }
    .checkbox .form-help {
        position: relative;
        margin-bottom: 1rem;
    }
    .form-radio .form-help {
        padding-top: 0.25rem;
        margin-top: -1rem;
    }

    .form-group input {
        height: 1.9rem;
    }
    .form-group textarea {
        resize: none;
    }
    .form-group select {
        width: 100%;
        font-size: 1rem;
        height: 1.6rem;
        padding: 0.125rem 0.125rem 0.0625rem;
        background: none;
        border: none;
        line-height: 1.6;
        box-shadow: none;
    }
    .form-group .control-label {
        position: absolute;
        top: 0.25rem;
        pointer-events: none;
        padding-left: 0.125rem;
        z-index: 2;
        color: #b3b3b3;
        font-size: 30rem;
        font-weight: normal;
        -webkit-transition: all 0.28s ease;
        transition: all 0.28s ease;
    }
    .form-group .bar {
        position: relative;
        border-bottom: 0.0625rem solid #999;
        display: block;
    }
    .form-group .bar::before {
        content: '';
        height: 0.125rem;
        width: 0;
        left: 50%;
        bottom: -0.0625rem;
        position: absolute;
        background: #337ab7;
        -webkit-transition: left 0.28s ease, width 0.28s ease;
        transition: left 0.28s ease, width 0.28s ease;
        z-index: 2;
    }
    .form-group input,
    .form-group textarea {
        display: block;
        background: none;
        padding: 0.125rem 0.125rem 0.0625rem;
        font-size: 1rem;
        border-width: 0;
        border-color: transparent;
        line-height: 1.9;
        width: 100%;
        color: transparent;
        -webkit-transition: all 0.28s ease;
        transition: all 0.28s ease;
        box-shadow: none;
    }
    .form-group input[type="file"] {
        line-height: 1;
    }
    .form-group input[type="file"] ~ .bar {
        display: none;
    }
    .form-group select,
    .form-group input:focus,
    .form-group input:valid,
    .form-group input.form-file,
    .form-group input.has-value,
    .form-group textarea:focus,
    .form-group textarea:valid,
    .form-group textarea.form-file,
    .form-group textarea.has-value {
        color: #333;
    }
    .form-group select ~ .control-label,
    .form-group input:focus ~ .control-label,
    .form-group input:valid ~ .control-label,
    .form-group input.form-file ~ .control-label,
    .form-group input.has-value ~ .control-label,
    .form-group textarea:focus ~ .control-label,
    .form-group textarea:valid ~ .control-label,
    .form-group textarea.form-file ~ .control-label,
    .form-group textarea.has-value ~ .control-label {
        font-size: 0.8rem;
        color: gray;
        top: -1rem;
        left: 0;
    }
    .form-group select:focus,
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
    }
    .form-group select:focus ~ .control-label,
    .form-group input:focus ~ .control-label,
    .form-group textarea:focus ~ .control-label {
        color: #337ab7;
    }
    .form-group select:focus ~ .bar::before,
    .form-group input:focus ~ .bar::before,
    .form-group textarea:focus ~ .bar::before {
        width: 100%;
        left: 0;
    }

    .checkbox label,
    .form-radio label {
        position: relative;
        cursor: pointer;
        padding-left: 2rem;
        text-align: left;
        color: #333;
        display: block;
    }
    .checkbox input,
    .form-radio input {
        width: auto;
        opacity: 0.00000001;
        position: absolute;
        left: 0;
    }

    .radio {
        margin-bottom: 1rem;
    }
    .radio .helper {
        position: absolute;
        top: -0.25rem;
        left: -0.25rem;
        cursor: pointer;
        display: block;
        font-size: 1rem;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        color: #999;
    }
    .radio .helper::before, .radio .helper::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        margin: 0.25rem;
        width: 1rem;
        height: 1rem;
        -webkit-transition: -webkit-transform 0.28s ease;
        transition: -webkit-transform 0.28s ease;
        transition: transform 0.28s ease;
        transition: transform 0.28s ease, -webkit-transform 0.28s ease;
        border-radius: 50%;
        border: 0.125rem solid currentColor;
    }
    .radio .helper::after {
        -webkit-transform: scale(0);
        transform: scale(0);
        background-color: #337ab7;
        border-color: #337ab7;
    }
    .radio label:hover .helper {
        color: #337ab7;
    }
    .radio input:checked ~ .helper::after {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
    .radio input:checked ~ .helper::before {
        color: #337ab7;
    }

    .checkbox {
        margin-top: 3rem;
        margin-bottom: 1rem;
    }
    .checkbox .helper {
        color: #999;
        position: absolute;
        top: 0;
        left: 0;
        width: 1rem;
        height: 1rem;
        z-index: 0;
        border: 0.125rem solid currentColor;
        border-radius: 0.0625rem;
        -webkit-transition: border-color 0.28s ease;
        transition: border-color 0.28s ease;
    }
    .checkbox .helper::before, .checkbox .helper::after {
        position: absolute;
        height: 0;
        width: 0.2rem;
        background-color: #337ab7;
        display: block;
        -webkit-transform-origin: left top;
        transform-origin: left top;
        border-radius: 0.25rem;
        content: '';
        -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
        transition: opacity 0.28s ease, height 0s linear 0.28s;
        opacity: 0;
    }
    .checkbox .helper::before {
        top: 0.65rem;
        left: 0.38rem;
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
        box-shadow: 0 0 0 0.0625rem #fff;
    }
    .checkbox .helper::after {
        top: 0.3rem;
        left: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .checkbox label:hover .helper {
        color: #337ab7;
    }
    .checkbox input:checked ~ .helper {
        color: #337ab7;
    }
    .checkbox input:checked ~ .helper::after, .checkbox input:checked ~ .helper::before {
        opacity: 1;
        -webkit-transition: height 0.28s ease;
        transition: height 0.28s ease;
    }
    .checkbox input:checked ~ .helper::after {
        height: 0.5rem;
    }
    .checkbox input:checked ~ .helper::before {
        height: 1.2rem;
        -webkit-transition-delay: 0.28s;
        transition-delay: 0.28s;
    }

    .radio + .radio,
    .checkbox + .checkbox {
        margin-top: 1rem;
    }

    .has-error .legend.legend, .has-error.form-group .control-label.control-label {
        color: #d9534f;
    }
    .has-error.form-group .form-help,
    .has-error.form-group .helper, .has-error.checkbox .form-help,
    .has-error.checkbox .helper, .has-error.radio .form-help,
    .has-error.radio .helper, .has-error.form-radio .form-help,
    .has-error.form-radio .helper {
        color: #d9534f;
    }
    .has-error .bar::before {
        background: #d9534f;
        left: 0;
        width: 100%;
    }

    .white-popup {
        position: relative;
        background: #FFF;
        padding: 40px;
        width: auto;
        max-width: 500px;
        margin: 20px auto;
        transition: 1s all;
    }

    .mfp-bg {

    }

    .mfp-fade.mfp-bg {
        opacity: 0;
        -webkit-transition: all 0.15s ease-out;
        -moz-transition: all 0.15s ease-out;
        transition: all 0.15s ease-out;
    }


    /* overlay animate in */

    .mfp-fade.mfp-bg.mfp-ready {
        opacity: 0.8;
    }


    /* overlay animate out */

    .mfp-fade.mfp-bg.mfp-removing {
        opacity: 0;
    }

    .mfp-fade.mfp-wrap .mfp-content {
        opacity: 0;
        transition: all 0.4s ease-out;
    }

    .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
        opacity: 1;
    }

    .mfp-fade.mfp-wrap.mfp-removing .mfp-content {
        opacity: 0;
    }
    input::placeholder {
        font-weight: bold;
        font-size: 12px;
        opacity: 0.5;
        color: #ee0979;
    }

}

@media (min-width: 200px) {
    #container {
        margin: 20px;
        width: 300px;
        height: 8px;
    }
}

@media (min-width: 150px) {
    #container {
        margin: 20px;
        width: 250px;
        height: 8px;
    }
}

@media (min-width: 1024px) {
    #container {
        margin: 20px;
        width: 460px;
        height: 8px;
    }
}