body{
    background-image: url('/home/static/home/images/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Roboto,Roboto';
}

* {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: medium;
}

.profile {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: end;
}

.profile h3 {
    text-align: end;
    line-height: 1;
    margin-bottom: 4px;
    font-weight: 600;
}

.profile .user{
    margin-top: 2em;
    display: flex;
    align-items: center;
}

.profile p {
    line-height: 1;
    font-size: 14px;
    opacity: .6;
}
.menu {
    position: absolute;
    top: calc(10% + 30px);
    right: 114px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    transform: translateY(0);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: 300ms;
    z-index: 9999;
}

.menu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 14px;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: rotate(45deg);
    z-index: -1;
    /* border: 1px solid #76a62d; */
}

.menu.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    border-bottom: 5px solid #76a62d;
    /* border-top: 1px solid #76a62d; */
}

.menu ul {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 10;
    background: #fff;
    padding: 0;
}

.menu ul li {
    list-style: none;
}

.menu ul li:hover {
    background: #eee;
}

.menu ul li a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 6px;
}

li.user {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 6px;
}

li.user:hover {
    background: none !important;
}



.menu ul li a i {
    font-size: 1.2em;
}


#login-container{
    position: relative;
    width: 50%;
    text-align: center;
    margin: 0 auto;
}

#login-container .form-group{
    margin: 1.5em;
}


#login-container .register-content .form-group{
    margin: 1.4em;
}

@media only screen and (max-width:950px) {
    #login-container {
        width: 90%;
    }

}

@media (max-width: 950px) {
    .list-group-item {
        font-size: 14px;
    }
}

#login{
    background-color: #f8f9fa;
    position: relative;
    box-shadow: 2px 2px 2px 2px rgb(168, 168, 168);
    border-radius: 0.25rem;
}


#img-logo{
    width: 25%;
    margin: 2%;
}


#login-form, #register-form{
    margin-top: 5%;
}

#login-container span{
    padding-top: 10px;
}

form h5{
    text-align: start;
    font-size: 15px;
}

#login-container form h5{
    margin-left: 2em;
    text-align: center;
}

.contenido .btn, #login .btn{
    background-color: #75A62D;
    color: white;
}


.mensaje_post{
    border: 2px solid #a62d2d;
    padding: 0.3em;
    background-color: #af2c2c3d;
    margin-bottom: 0.5em;
}

.mensaje_post_registrado{
    border: 2px solid #2da62d;
    padding: 0.3em;
    background-color: #2caf423d;
    margin-bottom: 0.5em;
}



.login-content{
    padding: 5%;
}

.register-content{
    padding: 2%;
}

/* PRINCIPAL */


.sidebar{
    width: 15em;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 2% 0 0;
    -webkit-box-shadow: 16px 2px 23px -20px rgba(0,0,0,0.75);
-moz-box-shadow: 16px 2px 23px -20px rgba(0,0,0,0.75);
box-shadow: 16px 2px 23px -20px rgba(0,0,0,0.75);
    background-color: white;
    color: black;
}

.sidebar a{
    color: black;
}
.sidebar li.menu-item:hover{
    background-color: rgba(204, 204, 204, 0.336);
    transition: all .6s;
    border-radius: 6px;
}
.sidebar li.menu-item{
    transition: all .6s;
}

.logo-container{
    padding: 20px 0;
}

.img-fluid{
    max-width: 50%;
}

.menu-list {
    padding: 0;
    list-style: none;
    margin-top: 2em;
}


.tipo-usuario i{
    padding-right: 0.5em;
}

.menu-item {
    text-align: center;
    padding: 1em;
    margin-right: 2.5%;
    margin-left: 2.5%;
}


.contenedor-principal, .contacto{
    display: flex;
    align-items: center;
    padding-left: 1em;
    font-size: 1.1em;
    
}

.contenedor-principal .fa-xl, .contacto .fa-xl{
    margin: 0.2em;
    padding-right: 1.2em;
}

.contenedor-principal a{
    padding-right: 1.2em;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    text-align: start;
    transition: max-height 1.2s ease;
}

.fa-chevron-up{
    display: none;
}
.submenu.show {
    max-height: 200px; 
}

.submenu li{
    margin-top: 1em;
    text-align: center;
    -moz-transition:0.1s;
    -ms-transition:0.1s;
    -o-transition:0.1s;
    -webkit-transition:0.1s;
    transition:0.1s;
}

.submenu.show {
    display: block;
}

.btn .btn-control {
    margin-right: 1em !important;
}

.btn.btn-tertiary {
    color: #fff;
    background: #76a62d;
    margin-bottom: 2em;
}

.btn.btn-tertiary:hover, .btn.btn-tertiary:focus {
    border-color: #a1c071;
    background: #a1c071; 
}

.btn.btn-tertiary.btn-link {
    color: #76a62d;
    background: transparent; 
}

.btn.btn-tertiary .icon i {
    color: #76a62d; 
}

.btn.btn-outline-tertiary {
    color: #76a62d;
    border-color: #76a62d; 
}

.btn.btn-outline-tertiary:hover, .btn.btn-outline-tertiary:focus {
    color: #fff;
    background: #76a62d; 
}



@media only screen and (max-width:950px) {
    #sidebarmenu{
        width: 10em;
    }

    #sidebarmenu a, #sidebarmenu i{
        font-size: 0.9rem;
    }

}

/* Contenido */

.contenido{
    margin-left: 17em;
    width: calc(100% - 20em);
    background-color: white;
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 1.8em;
    padding-bottom: 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-top: 5px solid #73af2c;
}


/* .contenido th, .contenido td{
     text-align: center;
     color: white;
    background-color: #76a62d; 
} */

.dir a:hover {
    color: #303b33;
    
}

.dir a{
    color:#76a62d;
    margin: 0.2em;
}

.pagina{
    margin-left: 16em;
    color: #76a62d;
}

.dir {
    margin-right: 5em;
}

.dir i{
    margin-right: 1em;
    margin-left: 0.5em;
}

.dir .cerrar_sesion{
    margin-left: auto;
}
.form-group label{
    margin-top: 1em;
}

.register-content .form-control{
    width: 80% !important;
}

.register-content .form-group{
    height: 55px;
}

.register-content label{
    margin-top: 0.4em;
    width: 19%;
    font-weight: bold;
    font-size: medium;
}

.fecha { 
    margin-left:1.5em;
}

.form-inline .form-group label{
    margin-right: 1em;
}

.form-group {
    margin-bottom: 0;
}

.form-inline .form-group input, #table-body input, #table-body select, .busqueda input, .busqueda select{
    border: 1px solid #ced4da;
    background-color: #f2f2f2;
    border-radius: 3px;
    font-size: large;
    outline: none;
    width: 100%;
}

/* .form-group input, .form-group select{
    background-color: #f2f2f2;
} */

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

.form-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

.articulo .form-inline p:first-child {
    width: 28% !important;   
}

.articulo .form-inline p{
    width: 12.5%;
}

.form-inline p {
    margin: 0;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.resto-datos{
    margin-bottom: 1em;
}

#nombre-curso .form-group:nth-child(1) { 
    flex: 3 !important;
}

#nombre-curso .form-group:nth-child(2) { 
    flex: 2 !important;
}

#nombre-curso .form-group #nombre-completo {
    width: 95%;
}

#nombre-curso .form-group #nombre-corto {
    width: 100%;
}

#usuario-contraseña .form-group:nth-child(1) { 
    flex: 1 !important;
}

#usuario-contraseña .form-group:nth-child(2) { 
    flex: 1 !important;
}

#usuario-contraseña .form-group #usuario-tutor { 
    width: 90%;
}

#usuario-contraseña .form-group #contraseña-tutor { 
    width: 100%;
}

.form-group:nth-child(1) {
    flex: 0.5;
}

.form-group:nth-child(2) {
    flex: 2; 
}

.titulos-en-linea{
    margin-bottom: 0 !important;
}

input#horas {
    width: 85%;
}

select.inputState {
    width: 100% !important;
}



.form-control, .busqueda input, .busqueda select{
    border: 0 !important;
    border-bottom: 2px solid #73af2c !important;
    border-radius: 0 !important;
    box-shadow: 1px 0px 5px rgba(0, 0, 0, 0.25) !important;
    
}

.form-control:focus{
    box-shadow: 1px 0px 5px rgba(0, 0, 0, 0.25) !important;
    border-bottom: 2px solid #303b33 !important;
   
}


.input-group, .form-control, .form-control:focus {
    background-color: #f9f9f9;
}

.input-group {
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
}

.input-icon{
    align-self: center;
    padding: 0.8em;
}


.form-group .inputState, .button .btn{
    font-size: large;
}


.form-control:focus, .form-inline .form-group input:focus{
    border: 0;
}


.form-inline .form-group{
    margin-top: 0.5em;
}


.contenido .btn-margin{
    margin-top: 1em;
    height: 2.5em;
    width: 8em;
}

.contenido #btn_enviar {
    width: auto !important;
}

.contenido .button{
    display: flex;
    justify-content: center;
    margin-bottom: 3em;
}


@media only screen and (max-width:950px) {
    .contenido, .pagina{
        margin-left: 10em !important;
        width: calc(100% - 10em);
    }

    #sidebarmenu a, #sidebarmenu i{
        font-size: 0.9rem;
    }

    .contenedor-principal{
        padding-left: 0.5rem;
    }

    ul.submenu{
        padding-left: 0.1rem;
    }

    .form-group label{
        font-size: medium;
    }

    .fecha {
        margin-left: 0;
    }

    .tipo-usuario {
        margin-left: 1em;
    }

    .form-group .inputState, .button .btn, .form-inline .form-group input{
        font-size: medium;
    }

    h3{
        font-size: 1.5rem;
    }

}

@media (min-width: 1200px) {
    .container {
        max-width: 1550px;
    }
}


/* Matricular alumnos */

.table-responsive {
    overflow-x: auto;
}



.matricular {
    margin-bottom: 2em;
}

#add-row-btn, #delete-row-btn{
    width: 4em;
}


.btn:focus{
    box-shadow: 0 0 0 0.15rem #bbe47e;
}

.form-select{
    height: 2.1em;
    border: 1px solid #ced4da;
    border-radius: 3px;
}

#nombre, #usuario, #contraseña, #ciudad, #tipo-documento {
    width: 6em;
}
#apellidos, #email, #curso, #documento{
    width: 10em;
}


.table-bordered thead td, .table-bordered thead th {
    border-bottom-width: 4px;
}

#campo-letra {
    display: flex;
    align-items: center;
    justify-content: center;
}

#letra { 
    width: 2.5em;
}

.calendario {
    justify-content: flex-start !important;
}

.datepicker-panel>ul>li.picked, .datepicker-panel>ul>li.picked:hover{
    color: #73af2c !important;
}

.datepicker-panel>ul>li.highlighted {
    background-color: transparent !important;
}

.datepicker-panel>ul>li:hover {
    background-color: #74af2c61 !important;
}

.datepicker-bottom-left, .datepicker-top-left, .datepicker-bottom-right, .datepicker-bottom-left:before, .datepicker-bottom-right:before {
    border-bottom-color: #73af2c !important;
    border-top-color: #73af2c !important;
}

.datepicker-top-left:before, .datepicker-top-right:before{
    border-bottom-color: #73af2c !important;
}


/* ALTA TUTOR */

.input-group {
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon {
    padding: 10px;
}

.passwdblock {
    position: relative;
    flex: 1;
}

.passwdblock input {
    width: 100%;
    padding-right: 50px;
    box-sizing: border-box;
}

#contraseña-ver,
#generar-nueva-pss {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    cursor: pointer;
}

#contraseña-ver {
    right: 35px; 
}

#generar-nueva-pss {
    right: 10px; 
}


#fechaError {
    margin-left: 1em;
}


/* Cuadro de texto de informacion sobre la contraseña
#info-text {
    display: none;
    position: absolute;
    margin-left: 2em;
    background-color: #f9f9f9;
    padding: 5px;
    border: 2px solid #75A62D;
    border-radius: 5px;
    width: 35%;
    box-shadow: rgba(102, 84, 84, 0.24) 0px 3px 8px;
} */

#info:hover + #info-text {
    display: inline-block;
}

h4.titulo{
    color: #73af2c;
    margin-bottom: 1rem;
    font-family: system-ui;
    font-size: larger;
    /* margin-top: 2em; */
}

h4.titulo_mayor{
    color: #73af2c;
    margin-bottom: 0.2rem;
    font-family: system-ui;
    font-size: xx-large;
    margin-top: 0.5em;
}

.form-crear-curso .obligatorio{
    margin-bottom: 1em;
}

#form-alta-tutor .form-control{ 
    border: 0;
}

#form-alta-tutor .form-control:focus{ 
    box-shadow: none !important;
}

.pedidos th{
    font-size: large;
}

.pedidos thead tr th, .cursos thead tr th {
    border-bottom: 3px solid #76a62d !important;
    font-size: large;
    background-color: #bed2a8e3;
}



.pedidos {
    box-shadow: 10px 1px 7px rgba(0, 0, 0, 0.15);
    margin-bottom: 2em;
}

.cursos {
    margin-top: 1em;
}

.contenido a{
    color: #73af2c;
}

/* .contenido a:hover{
    color: #61852a;
} */

.contenido li{
    color: #303b33;
}

#admin, .menu-item{
    color: #303b33;
}

.choices__inner{
    border: 0 !important;
    border-bottom: 2px solid #73af2c !important;
    border-radius: 0 !important;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25) !important;
    width: auto;
}

.contenido {
    min-height: calc(100vh - 15em); 
}

footer{
    margin-top: 1.5em;
    background-color: #f5f5f5;
    padding: 20px;
    margin-left: 15em;
    width: calc(100% - 15em);
}

.content {
    flex: 1;
    padding: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.footer-brand .brand-text {
    margin: 0;
}

.footer-link {
    margin-right: 15px;
    text-decoration: none;
    color: #808782;
}