﻿* {
    box-sizing: border-box;
  margin: 0;
   /* margin-left:0;
    margin-right:0;
    margin-top:0;
    margin-bottom: 0;*/*/
}

html {
    font-family: 'Roboto', sans-serif;
    font-size: 62.5%;
}

:root {
    --primary-color: #fafafa /*#FFFCD9*/;
    --secondary-color-1: #154360;
    --secondary-color-2: #2874A6;
    --accent-color-1: #117864;
    --accent-color-2: #148F77;
    --white: #fafafa;
    --black: #3b3f5c;
    --red: #e7515a;
    --gray-1: #808080;
    --gray-2: rgba(137,156,169,.8);
    --gray-3: rgba(137,156,169,.12);
}


body {
    background-color: var(--primary-color);
   /* min-height: 100vh;*/
/*    height: 100vh;*/

}



/*------------ button -------------------*/



.global-button {
    background-color: var(--accent-color-2);
    padding: 10px 20px;
    font-weight:bold;
    font-size: 1.4rem;
    border-radius: 4px;
    border: solid 1px var(--accent-color-1);
    color: var(--white);
    cursor: pointer;
    width: max-content;
    box-shadow: 0px 4px 12px 0px rgba(10,10,10,0.3);
    display:flex;
    align-items:center;
}

    .global-button:active {
        animation: shadow-inset-center 0.1s linear both;
    }

@keyframes shadow-inset-center {
    0% {
        box-shadow: inset 0 0 0 0 transparent
    }

    100% {
        box-shadow: inset 0 0 14px 0px rgba(0,0,0,1)
    }
}



/*--------- titulos ---------*/

.global-title{
    font-size: 3.6rem;
}



/*-------------------- imput text ----------------------*/

.global-box-input {
    position: relative;
    padding-top: 1.2rem;
    overflow:hidden;
}



.global-input {
    width: 100%;
    height: 100%;
    background: none;
    display: block;
    padding: 24px 8px 4px;
    border: 0;
    outline: 0;
    font-size: 1.6rem;
    color: var(--white);
}



.global-label {
    font-size: 1.6rem;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    color: var(--white);
    display: flex;
    justify-content: center;
    pointer-events: none;
    border-bottom: solid 1px var(--white);
}

.global-label:after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 100%;
    border-bottom: 3px solid #ffffff;
    transform:translateX(-100%);
    transition: all .3s ease;
}

.value-label {
    position: absolute;
    bottom:4px;
    left:0;
    transition: all .3s ease;
    color: #ffffff;
    display: flex;
    align-items: center;
}
.value-label i{
    margin-right: 4px;
}




.global-input:focus + .global-label .value-label, .global-input:not(:placeholder-shown) + .global-label .value-label {
    transform: translateY(-100%);
    font-size: 1.2rem;
    color: #ffffff;
}


.global-input:focus + .global-label:after{
    transform: translateX(0%);
}

.global-input::placeholder {
    color: transparent;
}


.global-input:-webkit-autofill,
.global-input:-webkit-autofill:hover,
.global-input:-webkit-autofill:focus {
    -webkit-background-clip: content-box;

    background-color: transparent;
}



/* ------------------ header ------------------------*/

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 12px;
    margin-bottom:24px;
    border-bottom: 1px #E5E8EB solid;
}

h1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color-1);
}

.title-view {
    padding: 8px 16px;
    border-left: solid 4px var(--secondary-color-1);
}






.container-loader{
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgba( 250,250,250, 0.7 );
    z-index: 99999;
}

.loader {
    display: inline-block;
    text-align: center;
    line-height: 86px;
    text-align: center;
    position: relative;
    padding: 0 48px;
    font-size: 48px;
    font-family: Arial, Helvetica, sans-serif;
    color: #2874A6;
    font-weight: bold;
}

    .loader:before, .loader:after {
        content: "";
        display: block;
        width: 15px;
        height: 15px;
        background: #154360;
        position: absolute;
        animation: load .7s infinite alternate ease-in-out;
        top: 0;
    }

    .loader:after {
        top: auto;
        bottom: 0;
    }

@keyframes load {
    0% {
        left: 0;
        height: 43px;
        width: 15px;
        transform: translateX(0)
    }

    50% {
        height: 10px;
        width: 40px
    }

    100% {
        left: 100%;
        height: 43px;
        width: 15px;
        transform: translateX(-100%)
    }
}




.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
    border-bottom: 1px solid var(--gray-2);
    margin-bottom: 20px;
}

.title-view h1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color-1);
}

.title-view {
    padding: 8px 16px;
    border-left: solid 4px var(--secondary-color-1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    color: var(--secondary-color-1);
}

 

    .title-view p {
        font-size: 20px;
    }