﻿/*basic reset*/
* {
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

#loading-page-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999999;
}

.loader-page-2 {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-top: 4px solid #ffffff;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    position: absolute;
}

    .loader-page-2::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        top: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border-left: 4px solid #f20413;
        border-bottom: 4px solid transparent;
        animation: rotation 0.5s linear infinite reverse;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-error-page {
    text-align: center;
    padding: 10px;
}

    .loader-error-page h1 {
        text-align: center;
        color: #ffffff;
        margin-bottom: 30px;
    }

    .loader-error-page h3 {
        font-size: 13px;
        text-align: center;
        color: #ffffff;
    }

    .loader-error-page p {
        font-size: 13px;
        font-style: italic;
        text-align: center;
        color: #ffffff;
    }

    .loader-error-page button {
        background: #f20413;
        color: #ffffff;
        padding: 15px 35px;
        font-size: 14px;
        font-weight: 400;
        transition: ease-in-out opacity .5s;
        text-transform: uppercase;
        border: 0;
        outline: none;
        margin: 30px auto;
    }

        .loader-error-page button:hover {
            opacity: 0.8;
        }

.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

.container {
    padding: 0 8px 0 8px;
}

label {
    font-size: 14px;
}

input::placeholder {
    font-size: 14px;
}

p {
    text-align: justify;
    color: #4d4d4d;
    margin: 20px 0;
}

h2, h3 {
    color: #000000;
}

.ul-aviso {
    text-align: left;
    padding: 0;
    margin: 0 0 0 35px;
}

    .ul-aviso li {
        color: #000000;
    }

        .ul-aviso li::marker {
            color: #ff000e;
        }

.link-aviso {
    color: #0056b3;
}

    .link-aviso:hover {
        color: #007bff;
    }

.float-left {
    float: left;
}

.text-danger {
    color: #cc3e3e;
    font-size: 8px !important;
    margin: 0 auto !important;
}

.borda-vermelha {
    border-color: red !important;
}

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

    #msform fieldset {
        background: white;
        border: 0 none;
        border-radius: 0px;
        box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
        padding: 30px 14px;
        box-sizing: border-box;
        margin: 0;
        /*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, #msform select {
        height: 60px;
        padding: 15px;
        border: 1px solid #ccc;
        border-radius: 0px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
        color: #1d2124;
        font-size: 14px;
        text-transform: uppercase;
    }

    #msform textarea {
        height: auto !important;
    }

        #msform input:focus, #msform textarea:focus, #msform select:focus {
            -moz-box-shadow: none !important;
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
            border: 1px solid #ff000e;
            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;
        }

    #msform .email {
        text-transform: lowercase !important;
    }

    /*buttons*/
    #msform .action-button {
        max-width: 180px;
        background: #ff000e;
        font-weight: 500;
        color: #ffffff;
        border: 0 none;
        border: 2px solid #c81f22;
        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 #223e55;
        }

    #msform .action-button-previous {
        max-width: 180px;
        background: #C5C5F1;
        font-weight: bold;
        color: white;
        border: 0 none;
        border: 2px solid #C5C5F1;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

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

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

.fs-subtitle {
    width: 100%;
    font-size: 16px;
    text-align: left;
    color: #666;
    margin: 15px;
    border-bottom: 2px solid #c81f22;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    display: flex;
    align-items: baseline;
    justify-content: space-around;
}

    #progressbar li {
        list-style-type: none;
        text-transform: uppercase;
        font-size: 9px;
        width: 17%;
        line-height: 12px;
        height: 65px;
    }

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

        /*progressbar connectors*/
        #progressbar li:after {
            content: '';
            width: 100%;
            height: 2px;
            background: #bbb;
            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: #c81f22;
        }

/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}

    .dme_link a {
        background: #FFF;
        font-weight: bold;
        color: #ff000e;
        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;
        }

@media (max-width: 480px) {

    #progressbar li {
        font-size: 6px;
        line-height: normal;
    }
}