.alerta
{
    display: none;
}

#main
{
    border: 0px solid red;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 100%;
}

#logform
{
    border: 0px solid blue;
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -ms-flex-line-pack: center;
        align-content: center;
}

#regform
{
    border: 0px solid yellow;
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -ms-flex-line-pack: center;
        align-content: center;
}

label
{
    border: 0px solid #faa916;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 80%;
    margin: 2% 0;
    /* background-color: #a6d0e7; */
    background-color: #C4D9E5;
    border-radius: 5px;
    padding: 2%;
    font-family: "Overlock-N";
    color: #818181;
    /* color:#ee6c4d; */
}

label > *
{
    margin: 1% 0;
}

.costat
{
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#showl
{
    position: absolute;
    right: 0;
    cursor: pointer;
    z-index: 99;
    color: #818181;
}

input
{
    width: 100%;
    /* height: 100%; */
    background-color: inherit !important;
    color: #818181;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 1px solid #818181;
    font-family: "Overlock-N";

}
#gir
{
    position: absolute;
    width: 50%;
    transform: translateX(100%);
    top: 0;
    bottom: 0;
    z-index: 100;
    background-color: #45657c;
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}
#contingut
{
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
input:focus,select
{
    outline: none;
    /* background-color: #a7b8e0; */
    background-color: #C4D9E5;

    color: #818181;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {

    -webkit-text-fill-color: #818181;
    /* -webkit-box-shadow: 0 0 0px 1000px #a7b8e0 inset; */
    -webkit-box-shadow: 0 0 0px 1000px #C4D9E5 inset;
    color: #818181 !important; 
    /* background: #a7b8e0 !important; */
    background: #C4D9E5 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.botoCanvi
{
    margin-top: 2%;
    display: none ;
}

.botoLogin, .botoCanvi
{
    width: 84%;
    height: 5%;
    min-height: 50px;
    border: 0px solid #faa916;
    /* background-color: #a6d0e7; */
    background-color: #C4D9E5;
    border-radius: 5px;
    font-family: "Overlock-N";
    color: #818181;
}

.botoLogin:hover
{
    cursor: pointer;
}

@media (max-width: 1000px) {

    #gir, #regform
    {
        display: none;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    #logform, #regform
    {
        width: 80%;
    }
    #main
    {
        height: 80%;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .botoCanvi
    {
        display: block;
    }

}

@media (min-width: 1000px) {
    #logform, #regform
    {
        display: flex !important;
    }

}

@media (max-width: 468px) {

    #capcha
    {
        transform: scale(0.80);
        transform-origin: 0 0;
    }
}