﻿@font-face {
    font-family: BA;
    src: url(../fonts/bahnschrift.ttf);
}

body {
    font-family: BA;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}
.container-bg {
    max-width: 100%;
    margin: 5% 5% 5% 5%;
    background-color: #d1d1d1;
    border-radius: 32px;
    padding: 1% 5% 2% 5%;
    text-align: center;
}
.container {
    max-width: 25%;
    margin: 5% auto;
    background-color: #fff;
    border-radius: 32px;
    padding: 2% 5% 2% 5%;
    text-align: center;
}

h1 {
    font-size: 20px;
    color: #333;
}

form {
    margin-top: 20px;
    text-align: left;
}

label {
    text-align:left;
    font-size: 14px;
    display: contents;
    margin-bottom: 5px;
    color: #666;
}
.input {
    font-family: BA;
    width: calc(100% - 10px);
    padding: 2px;
    margin-bottom: 15px;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;
    border-bottom: 0.01em groove #ddd;
    border-radius: 4px;
    display: contents;
    vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="checkbox"] {
    font-family: BA;
    width: calc(100% - 10px);
    padding: 2px;
    margin-bottom: 15px;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;
    border-bottom: 0.01em groove #ddd;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    text-align:left;
}
input#PageContent_rdSi, input#PageContent_rdNo {
    /* font-family: BA; */
    width: auto;
    /* padding: 2px; */
    margin-bottom: 0px;
    font-family: BA;
    /* width: calc(100% - 10px); */
    /* padding: 2px; */
    /* margin-bottom: 15px; */
    /* border-top-style: none; */
    /* border-right-style: none; */
    /* border-left-style: none; */
    /* border-bottom: 0.01em groove #ddd; */
    /* border-radius: 4px; */
    /* display: inline-block; */
    vertical-align: unset;
}


input {
    font-family: BA;
    width: calc(100% - 10px);
    padding: 2px;
    margin-bottom: 15px;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;
    border-bottom: 0.01em groove #ddd;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
}

p .register-title {
    font-weight:bold;
    font-size: 25px;
    font-family: BA;
    width: calc(100% - 10px);
    padding: 2px;
    margin-bottom: 15px;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;
    border-bottom: 0.01em groove #ddd;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
}

.error {
    font-family: BA;
    width: calc(100% - 10px);
    padding: 2px;
    margin-bottom: 15px;
    display: inline-block;
    color: red;
    vertical-align: middle;
}
.checkbox-label {
    font-size: 1px;
    color: #666;
}
/* Boton principal (Server-sided) */
.submit-btn {
    margin-top: 5%;
    background-color: black;
    color: white;
    padding: 10px 40px;
    border: none;
    border-radius: 55px;
    cursor: pointer;
    font-size: 14px;
}
.submit-btn:hover {
    background-color: gray;
}
/* Boton principal (Client-sided, he tenido que hacer esto porque al parecer algún gracioso de DevExpress no quiere seguir css normal) */
.mock-submit-btn {
    margin-top: 5%;
    background-color: black;
    color: white;
    padding: 10px 40px;
    border: none;
    border-radius: 55px;
    cursor: pointer;
    font-size: 12px;
    width: 180px;
    letter-spacing: 0.01em;
    height: 50px;
    line-height: 100%
}
.mock-submit-btn:hover {
        background-color: gray;
}

/* Logo de eventos */
.profile-image {
    width: 10%;
    height: 10%;
    border-radius: 10%;
    margin: 25px auto 10px auto;
    display: block;
    background-color: transparent;
}
/* Para el ojo de la contraseñas */
.password-container {
    position: relative;
}

.view-icon {
    position: absolute;
    top: 0;
    right: 20px;
    width: 20px;
    height: 20px;
}

/* Footer */
.links-container {
    text-align: center;
    margin-top: 20px;
    padding-bottom:1%;
}

.link, .divider {
    font-size: 12px;
    margin: 0 5px;
    color: #454141;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}
/* (Server sided) Para que se parezca a los links si se utiliza botones de aspx*/
.mock-link {
    background-color:transparent;
    font-family: BA;
    font-size: 12px;
    margin: 0 5px;
    color: #c3c2c2;
    text-decoration: none;
}
.mock-link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 90%;
    }

    .submit-btn {
        width: 50%;
    }

    .profile-image {
        width: 30%;
    }
}
