html,
body,
main {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

@media(min-width: 998px) {
    body {
        font-size: 18px;
    }
}

* {
    box-sizing: border-box;
}

h1 > small,
h2 > small,
h3 > small,
h4 > small,
h5 > small {
    color: #777;
    display: block;
}

html {
    background-image: url('/arquivos/admin/appearance/app_bg.jpg'), radial-gradient(circle at center center, #696969, #454545);
}

body {
    background-size: 300px;
    background-repeat: space space;
    overflow: hidden;
    color: #333;
    font-family: 'Ubuntu', sans-serif;
}

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

.hidden {
    display: none !important;
}

/* ------------------------------
    MODAL 
------------------------------ */

.modal-container {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-container__inner {
    width: 100%;
    padding: 5em 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-container__popup {
    margin: auto;
    background: white;
    border-radius: 30px;
    width: 100%;
    max-width: 1100px;
    padding: 4em 2em;
}

@media(min-width: 998px) {
    .modal-container__inner {
        padding: 8em 5em;
    }

    .modal-container__popup {
        padding: 4em;
    }
}

/* ------------------------------
    ALERT MESSAGE 
------------------------------ */

.alert-message {
    background-color: #0003;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3em 1.5em;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}

.alert-message__popup {
    background-color: white;
    border-radius: 15px;
    max-width: 500px;
    padding: 2em 1.5em;
    text-align: center;
    transform: translateY(30px);
    transition: transform .25s;
}

.alert-message--show {
    opacity: 1;
    pointer-events: initial;
}

.alert-message--show .alert-message__popup {
    transform: translateY(0);
}

.alert-message__title {
    font-size: 1.5em;
    font-weight: bold;
}
.alert-message__content {
    margin: 0.5em 0;
}

.alert-message .errors-list {
    text-align: left;
    width: auto;
    display: inline-block;
    color: #f51800;
}

/* ------------------------------
    CONTENT PANEL 
------------------------------ */

.content-panel {
    animation: panel-enter-animation 0.5s ease-in;
}

@keyframes panel-enter-animation {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------
    LOGO 
------------------------------ */

.app-logo__image {
    width: 100%;
    max-width: 300px;
    max-height: 200px;
    margin: 0 auto;
    animation: logo-animation 0.8s ease-in;
}

.app-logo__title {
    text-transform: uppercase;
}

@keyframes logo-animation {
    0% {
        opacity: 0;
        transform: rotateX(75deg) scale(0.7);
    }
    80% {
        opacity: 1;
        transform: rotateX(20deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: rotateX(0deg) scale(1);
    }
}

/* ------------------------------
    REGULATION 
------------------------------ */

.regulation {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 70vh;
    border: 1px solid #CCC;
    border-radius: 15px;
    font-size: 80%;
}

.products-list-img {
    width: 100%;
}

/* ------------------------------
    CHECKBOX 
------------------------------ */

.checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox > span {
    position: absolute;
    top: -2px;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
    border-radius: 5px;
}

.checkbox:hover input ~ span {
    background-color: #ccc;
}

.checkbox input:checked ~ span {
    background-color: #1458a5;
}

.checkbox > span:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox input:checked ~ span:after {
    display: block;
}

.checkbox > span:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* ------------------------------
    BUTTON
------------------------------ */

.buttons-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}

.btn {
    padding: 1em 1.5em;
    border: none;
    border-radius: 30px;
    transition: transform;
    font-weight: bold;
    outline: none !important;
    cursor: pointer;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:hover,
.btn:focus {
    filter: brightness(1.15);
}

.btn-primary {
    background-color: #333;
    color: white;
}

.btn--next:after {
    content: '\276F';
    margin-left: 10px;
    font-weight: bold;
}

.btn--prev:before {
    content: '\276E';
    margin-right: 10px;
    font-weight: bold;
}


/* ------------------------------
    FORM
------------------------------ */

.form {
    display: flex;
    flex-direction: column;
}

.form > .form-group {
    flex: 1 1 100%;
}

@media(min-width: 998px) {
    .form {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .form > .form-group:not(.form-group--full) {
        flex: 0 0 48.5%;
    }
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8em;
}

.form-group label + .input-container {
    margin-top: 5px;
}

.input-container input,
.input-container textarea {
    width: 100%;
    border: 1px solid #CCC;
    border-radius: 10px;
    padding: 0.7em 1em;
    font-size: 1.15em;
    color: #333;
    outline: none !important;
}

.input-container input:focus,
.input-container textarea:focus {
    border-color: #555;
}

.input-container select {
    width: 100%;
    border: 1px solid #CCC;
    border-radius: 10px;
    padding: 0.7em 1em 0.7em 0.9em;
    font-size: 1.15em;
    color: #333;
    outline: none !important;
}

.input-container select:focus {
    border-color: #555;
}


/* ------------------------------
    BOX RESULT
------------------------------ */

.box-result {
    border: 2px solid;
    border-radius: 15px;
    padding: 2.5em;
    text-align: center;
}

.box-result__icon {
    width: 60px;
    margin: 0 auto;
}

.box-result__title {
    font-size: 1.5em;
    margin: 0.5em 0;
    font-weight: bold;
}


.box-result--success {
    color: #179117;
    border-color: #179117;
    background-color: #cbe6cb;
}

.box-result--error {
    color: #911717;
    border-color: #911717;
    background-color: #e4cbcb;
}


/* ------------------------------
    MARGINS & PADDINGS 
------------------------------ */

.m-1 {
    margin: 1em;
}

.m-2 {
    margin: 2em;
}

.m-3 {
    margin: 3em;
}

.m-4 {
    margin: 4em;
}

.m-5 {
    margin: 5em;
}

.m-t-1 {
    margin-top: 1em;
}

.m-t-2 {
    margin-top: 2em;
}

.m-t-3 {
    margin-top: 3em;
}

.m-t-4 {
    margin-top: 4em;
}

.m-t-5 {
    margin-top: 5em;
}

.m-b-1 {
    margin-bottom: 1em;
}

.m-b-2 {
    margin-bottom: 2em;
}

.m-b-3 {
    margin-bottom: 3em;
}

.m-b-4 {
    margin-bottom: 4em;
}

.m-b-5 {
    margin-bottom: 5em;
}

.m-l-1 {
    margin-left: 1em;
}

.m-l-2 {
    margin-left: 2em;
}

.m-l-3 {
    margin-left: 3em;
}

.m-l-4 {
    margin-left: 4em;
}

.m-l-5 {
    margin-left: 5em;
}

.m-r-1 {
    margin-right: 1em;
}

.m-r-2 {
    margin-right: 2em;
}

.m-r-3 {
    margin-right: 3em;
}

.m-r-4 {
    margin-right: 4em;
}

.m-r-5 {
    margin-right: 5em;
}

.p-1 {
    padding: 1em;
}

.p-2 {
    padding: 2em;
}

.p-3 {
    padding: 3em;
}

.p-4 {
    padding: 4em;
}

.p-5 {
    padding: 5em;
}

.p-t-1 {
    padding-top: 1em;
}

.p-t-2 {
    padding-top: 2em;
}

.p-t-3 {
    padding-top: 3em;
}

.p-t-4 {
    padding-top: 4em;
}

.p-t-5 {
    padding-top: 5em;
}

.p-b-1 {
    padding-bottom: 1em;
}

.p-b-2 {
    padding-bottom: 2em;
}

.p-b-3 {
    padding-bottom: 3em;
}

.p-b-4 {
    padding-bottom: 4em;
}

.p-b-5 {
    padding-bottom: 5em;
}

.p-l-1 {
    padding-left: 1em;
}

.p-l-2 {
    padding-left: 2em;
}

.p-l-3 {
    padding-left: 3em;
}

.p-l-4 {
    padding-left: 4em;
}

.p-l-5 {
    padding-left: 5em;
}

.p-r-1 {
    padding-right: 1em;
}

.p-r-2 {
    padding-right: 2em;
}

.p-r-3 {
    padding-right: 3em;
}

.p-r-4 {
    padding-right: 4em;
}

.p-r-5 {
    padding-right: 5em;
}