/******** FIN CUSTOMIZATION **********/

body {
    background-color: #eee;
}


/*custom colors*/

.button-elem.flat-button p {
    background-color: #E84539;
}

.button-elem.flat-button p:hover {
    background-color: #ab2d24;
}

.main-section h3,
#password-recovery {
    color: #E84539;
}

.green-text {
    color: #4cb5ab;
}


/* Text */

.repcon-box.login>form {
    width: 100%;
    height: 100vh;
    background-size: cover;
}

.repcon-box.login>form .main-section h3 {
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: left;
}

.login .r-box {
    border-radius: 5px;
    overflow: hidden;
}

#password-recovery {
    padding: 0;
    margin: 0;
}

#password-recovery p:hover {
    background: transparent;
    color: #E84539;
}

div.line label:before {
    margin-top: .25rem;
}

input:-webkit-autofill {
    color: #fff !important;
    background-color: rgb(255, 255, 255) !important;
    -webkit-box-shadow: 0 0 0 999em rgb(255, 255, 255) inset;
}

h3 {
    font-size: 2rem;
    text-align: left;
}


/*agent-error*/

.agent-error {
    height: 100vh;
    align-items: center;
    align-content: center;
}

.agent-error>.img-agent img {
    max-width: 60%;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    max-height: 100%;
    margin-right: .5rem;
}

.agent-error>.img-agent {
    text-align: right;
}

.text-agent h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #808080;
}

.text-agent .head-group {
    padding-left: 0 !important;
    width: 80%;
}

.text-agent h2.has-caption span.second-title {
    font-size: 1rem;
}

.text-agent p.cyan-color {
    background-color: #3498db;
}

.r-box .main-section .r-control:first-of-type>div,
.text-agent .r-control:first-of-type>div {
    font-size: 1.5rem !important;
    color: #E84539;
    font-weight: 500 !important;
}

.text-agent .r-control>div {
    font-size: 1.25rem !important;
}

.text-agent .button-elem {
    padding: 0.3rem 1.4rem;
}

.repcon-box.login .r-box .main-section {
    align-items: center;
}


/*fin agent-error*/

.text-agent {
    display: flex;
    align-items: flex-start;
    align-content: center;
    justify-content: space-between;
    flex-flow: column;
}

.text-agent .r-control {
    width: 100%;
}


/* input error */

.error::-webkit-input-placeholder {
    color: #E84539;
}

.error::-moz-placeholder {
    color: #E84539;
}


/* firefox 19+ */

.error:-ms-input-placeholder {
    color: #E84539;
}


/* ie */

input.error:-moz-placeholder {
    color: #E84539;
}

p.info {
    font-size: .7rem;
    color: #E84539;
    position: absolute;
    bottom: 0;
    right: 0;
}

.repcon-box.login .r-box .main-section .repcon-box.line {
    width: 100%;
}


/*imagen fondo planta*/


/* 
.repcon-box .r-box .image-section img.background-image {
    top: -70px;
    left: 50%;
    width: 117%;
    transform: translateX(-47%);
} */

.repcon-box.login .r-box .main-section img.url-icon {
    width: 50%;
}


/* ---------------------- DIALOGO ---------------------*/

#dialog-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* z-index: -1;*/
    transition: opacity .6s linear .2s;
    opacity: 0;
    /* pointer-events: none; */
}

.repcon-box .dialog-bg {
    opacity: 0.2 !important;
}

#dialog-bg {
    background-color: #000000;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s linear;
    z-index: -1;
}

#dialog-center,
.dialog-center {
    background-color: white;
    position: absolute;
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 1px 6px rgba(0, 0, 0, 0.23);*/
    padding: 1.5rem;
    margin: auto;
    width: 30%;
    height: 34%;
    overflow: hidden;
    /* opacity: 0; */
    /* transition: all .2s ease;
    transform: translate( -50.1%, -50.1%); */
    /* transform-origin: 0 0 !important; */
    left: 50% !important;
    top: 61% !important;
    z-index: 1;
}

.repcon-box.dialog-wrapper .inner-controls {
    margin-top: 0rem;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 100%;
}

#dialog-wrapper .repcon-box .button-elem {
    width: 40%;
}

#dialog-wrapper.active {
    transition: opacity .2s;
    /*pointer-events: all;
    z-index: 10000; */
    opacity: 1 !important;
    z-index: 2;
}

#dialog-wrapper.active #dialog-bg {
    opacity: .4;
    z-index: 1;
}

#dialog-wrapper.active #dialog-center {
    opacity: 1;
    height: auto;
}

#dialog-center input {
    border-bottom: 1px solid grey !important;
    border: none;
    padding: .2rem .4rem .2rem 1.3rem;
    background: transparent;
    box-shadow: none;
    margin: 1rem 0 1.5rem;
}

#dialog-wrapper a.cancel-reset {
    color: rgb(231, 76, 60);
    margin-left: .5rem;
    float: right;
    font-size: 1.2rem;
    cursor: pointer;
}

#dialog-wrapper button {
    background: #eee;
    border: none;
    color: #666;
    cursor: pointer;
    transition: background .2s ease;
    outline: none;
    display: inline-block;
    vertical-align: middle;
    padding: 1em 1em;
    width: 45%;
    margin: .5rem;
}

#dialog-wrapper button:hover {
    background: #ddd;
}

#reset-alert {
    /* position: absolute; */
    margin-top: 0.5rem;
    font-size: .8rem;
    color: rgb(231, 76, 60);
    width: 100%;
    text-align: center;
}


/*newdialog*/

#dialog-wrapper .repcon-box .button-elem {
    width: 45%;
}

#dialog-wrapper .dialog-center div>a:first-of-type {
    display: none;
}


/*fin newdialog*/

body.thinking {
    cursor: wait;
}

body.thinking * {
    pointer-events: none;
}

#dialog-wrapper.active~.repcon-box.login .r-box .main-section {
    opacity: 0;
}

.assembly-language {
    position: absolute;
    width: 100%;
    text-align: right;
}

.assembly-language .comboactions {
    border: 0 !important;
    background: #e4e4e4 !important;
}

.assembly-language .comboactions~ul.list-active {
    top: 2px;
    text-align: left;
}

.assembly-language .comboactions~ul li div {
    display: flex;
    align-items: center;
}

.assembly-language .repcon-box.select-box .comboactions>div:first-of-type {
    background: transparent;
}

.repcon-box .button-elem p {
    display: flex;
    align-items: center;
}


/* ---------------------- COOKIES ---------------------*/

#alert-cookies {
    position: fixed;
    bottom: 0;
    background: #b9b9b9;
    color: #fff;
    width: 100%;
    transition: bottom .2s ease;
    z-index: 2000;
    text-align: right;
    padding: 1rem;
    display: flex;
}

#alert-cookies .head-group h2 {
    font-size: 1rem;
}

#alert-cookies .h-group {
    padding: 0;
    text-align: right;
}

p#close-alert {
    background: #30B39F;
    padding: .5rem 1rem;
    border-radius: 5px;
    margin: 0 .5rem;
}

#alert-cookies p {
    color: #fff;
    display: inline-block;
    cursor: pointer;
}

#alert-cookies a {
    background: grey;
    padding: .5rem 1rem;
    border-radius: 5px;
    color: #fff;
}


/* ----------------------FIN  COOKIES ---------------------*/


/* ----------------------AVISO LEGAL ---------------------*/

.legal {
    background: #fff;
    max-width: 80%;
    margin: 0 auto;
    margin-top: 1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    height: auto;
    margin-bottom: 1rem;
    padding: 10%;
}

.legal p {
    font-size: 1rem;
}

.legal ul {
    padding-left: 40px;
    margin: 1em 0;
    font-size: 1rem;
    color: #5b5b5f;
}

.legal li {
    list-style: decimal;
}

.legal li+li {
    margin-top: 1em;
}


/* ----------------------FIN AVISO LEGAL ---------------------*/

@media (max-width: 1024px) {
    #dialog-center {
        width: 40%;
    }
}

@media (max-width: 800px) {
    .repcon-box .r-box .image-section img.background-image {
        width: 133%;
    }
    .repcon-box.login .r-box .main-section img.url-icon {
        width: 60%;
    }
    .repcon-box.login .r-box {
        width: 50%;
    }
}

@media (max-width: 648px) {
    #dialog-center {
        width: 80%;
    }
}

@media (max-width: 480px) {
    #dialog-center {
        width: 100% !important;
        top: 54%;
        height: 60%;
    }
    #alert-cookies {
        display: flex;
        align-items: center;
        flex-flow: wrap;
    }
    #alert-cookies p:first-of-type {
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
    }
}


/*background y logo login*/

#login-box .image-section .block.image-wrapper img {
    width: 200px !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
}