/*--- Reset general ---*/
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}



/*--- Mobile First ---*/

body {
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    color: #033144;
    font-family: 'Roboto', sans-serif;
    background-color: rgba(3, 49, 68, 0.05);
}

main section {
    width: 90%;
    margin: auto;
}

header {
    background-color: #cc0860;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
    height: 3em;
    align-content: center;
    align-items: center;
    width: 100%;
}

nav {
    width: 100%;
}

nav ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    margin: 5px auto;
}

nav ul li {
    list-style-type: none;
    font-variant-caps: all-petite-caps;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    cursor: pointer;
}

nav ul li a:focus,
nav ul li a:hover,
nav ul li a:active {
    color: #fdbb39;
}

nav ul li a img {
    margin-top: 8px;
    width: 18px;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    padding: 1rem;
    margin-left: 1rem;
}

h2 {
    font-size: 1.5rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    color: #033144;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #033144;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    font-size: 1.5rem;
    background-color: #085e82;
    padding: 1rem;
    text-align: left;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

h5 {
    color: #033144;
    font-family: 'Roboto', sans-serif;
}



/*---- Estilo del Perfil ----*/

/* Sección usuario */
.usuario {
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 11rem;
}

.usuario h2 {
    margin-bottom: 0.5rem;
}

.usuario img {
    width: 7rem;
    margin: 1rem;
}

#barrita {
    width: 10rem;
}

.usuario p {
    margin-top: 0rem;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #033144;
}

.perfil1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.perfil1 img {
    width: 100%;
    height: auto;
    margin: -3px 0 0 -6px;
}


/* Sección ejercicios */
.perfil h2 {
    font-size: 1.2rem;
    text-align: left;
}

.desplegable {
    cursor: pointer;
    width: 100%;
}

.desplegable h2 {
    display: flex;
    align-items: center;
    background-color: #fdbb39;
    color: #cc0860;
    height: 3.5rem;
    padding: 1rem;
    top: 1rem;
    left: 5rem;
    margin-bottom: 0;
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.contenedor {
    display: none;
    position: relative;
    z-index: 1;
    width: 100%;
}

.s-perfil .contenedor {
    background-color: #F7DBA9;
    margin-top: 0px;
    top: 0;
    left: 0;
    height: 17rem;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

section h3 {
    margin: 0;
    align-self: flex-start;
    font-size: 1.5rem;
    font-weight: 300;
}

.contenido {
    display: flex;
    flex-direction: row;
    margin-left: 1rem;
    margin-top: 7rem;
    position: absolute;
    top: 0;
    left: 0;
    color: #033144;
    font-family: sans-serif;
    font-size: 0.8rem;
    width: 10rem;
    height: 2rem;
    align-content: center;
    align-items: center;
}

.contenido li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #033144;
    font-weight: 600;
    font-size: 1.5rem;
    list-style: none;
    margin-left: 0.5rem;
    margin-top: 0.6rem;
}

.contenido img {
    height: 650%;
    margin-top: 0.6rem;
    margin-left: 1rem;
}

/* Sección sugerencias */
.ocultar {
    display: none;
}

.boton {
    cursor: pointer;
}

.boton-presionado {
    border-bottom: 2px solid;
    font-weight: 1000;
}

.sugerencias {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    background-color: rgba(3, 49, 68, 0.05);
    height: 27rem;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.sugerencias ul {
    padding: 1rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    margin: 5px auto;
    list-style: none;
}

#profe {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #cedfe6;
    height: 3rem;
    width: 80%;
    margin: auto;
}

#profe h3 {
    margin: 0;
    font-size: 1rem;
    align-self: center;
}

#profe img {
    height: 2.5rem;
    margin-right: 1rem;
}

#videosugerencia {
    margin: 1rem 2rem;
    width: 80%;
}

#sugerencia p {
    width: 80%;
    text-align: left;
    margin: auto;
    font-size: 0.8rem;
    color: #033144;
}



/*---- Estilo login y alta ----*/

.formulario {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-content: center;
    padding: 60px 10%;
    width: 100%;
    height: 100vh;
}

a {
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: rgba(202, 8, 96);
}

.marca {
    width: 50%;
    margin-top: 5%;
    margin-bottom: 5%;
    align-self: center;
}

.ptitular {
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 2%;
    font-size: 1rem;
}

form {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

form p {
    margin-top: 40px;
    line-height: 35px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    font-family: 'Roboto', sans-serif;
    font-size: 12pt;
    margin-top: 15px;
    text-align: center;
    width: 90%;
    background: none;
    border: none;
    border-bottom: 1px solid #AAA;
    padding: 4px;
    transition: 0.2s ease;
    color: #033144;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-bottom: 2px solid #033144;
    color: #033144;
    transition: 0.2s ease;
}

input[type="submit"] {
    margin: 40px 0 20px 0;
    padding: 8px 18px;
    background-image: linear-gradient(to right, rgba(202, 8, 96), rgba(8, 94, 130));
    border: none;
    border-radius: 8px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.1s ease;
    cursor: pointer;
    width: 100%;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
}

input[type="submit"]:active {
    opacity: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
}

.rectangulo {
    background-image: linear-gradient(to right, rgba(202, 8, 96), rgba(4, 51, 70));
    height: 50px;
    width: 100%;
}



/*---- Estilo EditPerfil ----*/

.perfil-edit {
    display: flex;
    flex-flow: column nowrap;
    margin: 15% auto;
    width: 90%;
}

.avatar img {
    width: 50%;
    height: auto;
}

.datos-perfil .desplegable h2 {
    font-size: 1.2rem;
    height: 3rem;

}

.datos-perfil .desplegable {
    width: 100%;
}


.datos-perfil ul {
    list-style: none;
    padding: 5% 6% 5% 6%;

}

.datos-perfil ul li {
    margin: 3% auto;
    font-size: 1rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    text-align: left;
}

.datos-perfil ul li span {
    margin-bottom: 2%;
}

.datos-perfil .contenedor {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    background-color: #F7DBA9;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    height: 40%;
}


.mes-actual {
    font-weight: 600;
    text-transform: uppercase;
}

.pago-actual {
    color: rgba(202, 8, 96);
    font-weight: 600;
}

.mes {
    font-weight: 400;
    text-transform: uppercase;
}

.contenedor-tarjetas {
    display: flex;
    flex-flow: column nowrap;
    min-height: 5rem;
}


.tarjeta {
    display: flex;
    flex-flow: row nowrap;
    padding: 5%;
    justify-content: space-between;
    align-items: center;
}

.tarjeta img {
    width: 18%;
    border-radius: 3px;
}

.tarjeta div {
    display: flex;
    flex-flow: column nowrap;
    text-align: left;
}

.tarjeta span {
    margin-top: 3%;
}


/* Pop up nueva tarjeta */
#modalTarjeta {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.formulario-tarjeta {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    width: 90%;
    margin: 50% auto;
    padding: 5%;
    background-color: #F7DBA9;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

.formulario-tarjeta #close {
    top: 25%;
}

.formulario-tarjeta > input[type="submit"] {
    transition: 0.1s ease;
    cursor: pointer;
    margin: 18px 0 0 0;
    padding: 4px 15px;
    background-color: rgba(202, 8, 96);
    border: none;
    border-radius: 6px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-image: none;
    width: auto;
}

.formulario-tarjeta img {
    width: 80%;
}

.boton-largo {
    border: none;
    color: white;
    background-color: rgba(202, 8, 96);
    padding: 8px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    width: 100%;
}

.boton-cerrar {
    transition: 0.1s ease;
    cursor: pointer;
    margin: 10px 0;
    color: rgba(202, 8, 96);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: underline;
}

.boton-cerrar:hover,
.boton-cerrar:focus {
    background-color: rgba(202, 8, 96);
}

.contenedor form input {
    width: 90%;
}

.contenedor form {
    padding-top: 2%;
}

.contenedor form input {
    width: 70%;
}

form .boton-largo {
    margin-top: 9%;
}

.boton-ppal {
    margin: 40px 0 20px 0;
    padding: 8px 18px;
    background-image: linear-gradient(to right, rgba(202, 8, 96), rgba(8, 94, 130));
    border: none;
    border-radius: 8px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.1s ease;
    cursor: pointer;
    width: 100%;
}

.boton-ppal a {
    color: inherit;
    text-decoration: none;
    font-weight: 400;
}




/*---- Estilo blog ----*/

.blog {
    text-align: left;
    width: 90%;
    margin: auto;
}

/* Sección publicaciones */
.publicaciones {
    width: 90%;
    margin: 10px auto 30px auto;
}

.publicaciones h2 {
    font-size: 1.2rem;
}

.post {
    border: none;
    resize: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    width: 100%;
    height: 80px;
    background-color: #cedfe691;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    color: #033144;
    padding: 8px;
    border-radius: 5px;
}

.post:focus,
.post:active {
    background-color: white;
    border: 1px solid #cc0860;
}

.publicaciones button {
    transition: 0.1s ease;
    cursor: pointer;
    margin: 10px 0;
    padding: 4px 15px;
    background-color: rgba(202, 8, 96);
    border: none;
    border-radius: 6px;
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.publicaciones button:hover,
.publicaciones button:focus {
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
}

.publicaciones button:active {
    opacity: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
}

/* Sección fotos */
#fotos {
    margin: 20px 0;
    width: 100%;
}

/* Carrousel, (!)el resto del estilo heredado del plugin está en archivos css de Slick*/
.slider {
    width: 90%;
    margin: auto;
    cursor: grab;
}

.slider:active {
    cursor: grabbing;
}

.img-slider {
    width: 90%;
    height: 90%;
}

/* Sección comentarios */
.contenedor-comentarios {
    display: flex;
    flex-flow: column wrap;
    width: 90%;
    margin: auto;
}

.comentario {
    display: flex;
    flex-flow: column nowrap;
    margin-top: 15px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    background-color: white;
}

.comentario-contenido {
    display: flex;
    flex-flow: row nowrap;
    width: 90%;
    margin: 15px;
}

.comentario-texto h3 {
    margin: 0.2rem 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.comentario-texto h5 {
    font-weight: 500;
}

.comentario-texto p {
    font-size: 14px;
    margin-top: 0.6rem;
}

.comentario img {
    width: 50px;
    height: 50px;
    margin-right: 8px;
}

.comentario .desplegable {
    border: none;
    color: white;
    background-color: rgba(202, 8, 96);
    padding: 8px 0;
    font-family: 'Roboto', sans-serif;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.comentario .contenedor {
    display: none;
    height: auto;
    position: relative;
    background-color: #cedfe691;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.comentario .contenedor .comentario-texto {
    margin: 5% 5% 8% 5%;
}

/* Sección contactos */
.contactos {
    display: flex;
    flex-flow: column nowrap;
    width: 90%;
    margin: 40px auto 30px auto;
}

.contactos h2 {
    font-size: 1.1rem;
}

.contactos-sugeridos {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
}

.contactos-sugeridos img {
    width: 60px;
    height: 60px;
}

#publicidad {
    display: none;
}



/*---- Estilo Agenda ----*/

.diario {
    margin: 10%;
    padding: 10%;
    display: flex;
    flex-flow: column nowrap;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.6);
    background-color: #033144;
    color: white;
}

.psubt {
    font-size: 18px;
}

.diario ul {
    margin-top: 20px;
}

.diario ul li {
    list-style: none;
    margin-top: 2%;
}

.mensual {
    height: 100%;
}


/* Calendario */
.calendar {
    display: flex;
    flex-flow: column wrap;
    box-sizing: border-box;
    font-size: 14px;
    margin: 8% 10%;
}

.calendar .c-pad-top {
    padding: 4%;
}

/* Grilla de calendario y grilla eventos */
.c-grid,
.c-event-grid {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    margin-top: 5%;
    border-radius: 16px;
}

.c-event-grid {
    height: 11.5rem;
    overflow: auto;
    margin-bottom: 5%;
}

.c-day {
    width: 14.28%;
    height: 13%;
    background-color: #EFF4F9;
    float: left;
}

.c-day-previous-month,
.c-day-next-month {
    width: 14.28%;
    height: 13%;
    float: left;
    color: gray;
}

.c-week-day {
    width: 14.28%;
    height: 20%;
    float: left;
    padding: 1%;
}

.c-next,
.c-previous {
    width: 12.5%;
    height: 20%;
    padding: 2% 2% 0 2%;
    cursor: pointer;
    font-size: 18px;
}

.c-month {
    width: 75%;
    height: 20%;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 400;
}

.c-nav-btn-over {
    background-color: rgb(137, 163, 192) !important;
    font-weight: bold;
    border-radius: 10%;
}

.c-today {
    background-color: #D8EAF1;
}

/* Evento resaltado */
.c-event {
    color: #cc0860;
    font-weight: bold;
    cursor: pointer;
}

.c-event:hover,
.c-event:focus,
.c-event:active {
    background-color: #e02a7c;
    color: white;
}

.c-grid-title {
    float: left;
}

.c-event-grid {
    background-color: #085e82;
    color: white;
}

.c-grid {
    background-color: #cedfe6;
}

.c-event-list {
    overflow: auto;
}

.c-event-item {
    margin: 5% 0;
    padding: 2% 0;
}

.c-event-item > .title {
    font-weight: 300;
    font-size: 16px;
    margin: 2% 0;
}

.title-event {
    font-weight: 400;
    font-size: 20px;
    margin: 2% 0;
}

.c-event-item > div {
    text-overflow: ellipsis;
    width: inherit;
    overflow: hidden;
    white-space: nowrap;
}

.c-event-over {
    background-color: #cc0860;
    color: white;
}

.c-event-over > .description {
    font-weight: normal;
}

.c-event-date {
    font-weight: 100;
}


/* Mapa */
#vermapa {
    transition: 0.1s ease;
    cursor: pointer;
    margin: 10px 0;
    padding: 4px 15px;
    border: none;
    border-radius: 6px;
    color: rgba(202, 8, 96);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#vermapa:hover,
#vermapa:focus {
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
    background-color: #fdbb39;
}

#vermapa:active {
    opacity: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: 0.1s ease;
    background-color: #fdbb39;
}

#draggable {
    background-color: #033144;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 12.2rem;
    border-radius: 10px;
    display: none;
    border: 10px solid #033144;
    cursor: grab;
}

#draggable iframe {
    width: auto;
    height: 200px;
    border: none;
    margin-bottom: -3px;
}

#close {
    background-color: #033144;
    border: none;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 1px;
    text-align: center;
    transition: color 0.2s ease-in-out;
}






/*---- Diseño responsive ----*/

@media screen and (min-width:660px) {

    .usuario {
        margin-left: 2rem;
    }

    nav ul a {
        font-size: 25px;
    }

    .s-perfil {
        display: flex;
        flex-direction: row;
        flex-flow: row wrap;
        width: 100%;
        align-content: center;
        justify-content: center;
    }

    .h-perfil {
        width: 100%;
        margin-left: 2rem;
    }

    .desplegable {
        display: flex;
        display: row;
        flex-flow: row wrap;
        align-items: center;
        width: 45%;
        margin-right: 1rem;
    }

    .desplegable h2 {
        width: 100%;
        transition-duration: 0s;
    }

    .desplegable-selected {
        width: 100% !important;
    }

    .contenedor {
        width: 98%;
        margin-right: 1rem;
    }


    /* Section sugerencias */
    .sugerencias {
        height: 39rem;
    }

    .sugerencias ul {
        padding: 1rem;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-around;
        margin: 5px auto;

    }

    .sugerencias li {
        font-size: 1.6rem;
        padding: 1rem;
        width: 80%
    }

    #profe {
        height: 4rem;
    }

    #profe h3 {
        font-size: 2rem;
    }

    #profe img {
        height: 3rem;
    }

    #videosugerencia {
        width: 80%;
        height: 100%
    }

    #sugerencia p {
        width: 80%;
        margin-left: 3.5rem;
        font-size: 1.3rem;
    }


    /* Section usuario */
    .usuario h2 {
        margin-bottom: 0rem;
    }

    .usuario p {
        margin-top: 0.5rem;
        font-size: 1rem;
    }


    /* agenda*/
    .c-event-item > .title {
        font-weight: 300;
        font-size: 20px;
        margin: 2% 0;
    }

    .title-event {
        font-weight: 400;
        font-size: 28px;
        margin: 2% 0;
    }


    .calendar {
        font-size: 17px;
        margin: 5% 10%;
    }

    #draggable {
        left: 19%;
    }

    #draggable iframe {
        width: 400px;
        height: 300px;

    }

    /* Sección comentarios */
    .contenedor-comentarios {
        display: flex;
        flex-flow: column wrap;
        padding: 2rem;
        padding-left: 3rem;
        padding-right: 3rem;
        align-items: center;
        align-content: center;
        justify-content: center;
        align-self: center;
    }

    .comentario {
        display: flex;
        flex-flow: column nowrap;
        width: 100%;
        margin-right: 0px;
    }

    .comentario-contenido {
        display: flex;
        flex-flow: row nowrap;
        width: 90%;
        margin: 15px;
        margin-right: 0px;
    }

    .comentario-texto p {
        font-size: 14px;
        margin-top: 0.6rem;
    }

    .comentario img {
        width: 60px;
        height: 60px;
        margin-right: 20px;
    }

    .comentario .desplegable {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-right: 0px;
    }

    .comentario .contenedor {
        margin-right: 0px;
        width: 100%;
        padding: 0px;
    }


    /* Sección contactos */
    .contactos h2 {
        margin-bottom: 2rem;
        margin-left: 3rem;
    }

    .contactos-sugeridos {
        display: flex;
        flex-flow: row nowrap;
        justify-content: left;
    }

    .contactos-sugeridos img {
        width: 6rem;
        height: 6rem;
        margin-left: 3rem;
    }

    /*editperfil */
    .avatar img {
        width: 40%;
        height: auto;
    }


    /*---- Estilo login y alta ----*/

    .marca {
        width: 30%;
        margin-top: 5%;
        margin-bottom: 5%;
        align-self: center;
    }

    .ptitular {
        font-size: 1.5rem;
        margin-top: 1rem;
        margin-bottom:1rem;
    }

    form {
        width: 50%;
        margin: auto;
    }

    form p {
        font-size: 1rem;
        margin-top: 40px;
        line-height: 35px;
    }

}/*660px*/



@media screen and (min-width:1000px) {

    /* Section usuario */
    .usuario {
        margin-left: 3rem;
    }

    .perfil {
        display: flex;
        flex-direction: row;
        max-height: 25rem;
    }

    .usuario h2 {
        margin-bottom: 0rem;
    }

    .usuario p {
        margin-top: 0rem;
        font-size: 1rem;
    }

    .h-perfil {
        margin-bottom: 0rem;
        margin-top: 0rem;
        margin-left: 0rem;
        margin-top: 5rem;
    }

    .desplegable {
        background-color: none;
        color: #cc0860;
        cursor: pointer;
        width: 100%;
        height: 5rem;
        margin-bottom: 0rem;
        margin-top: 1.5rem;
    }

    .p-desplegable {
        margin: 0rem;
        width: 100%;
    }

    .s-perfil {
        align-content: flex-start;
        width: 45%;
        margin-right: 2rem;
    }

    .contenedor {
        z-index: 2;
        width: 100%;
        top: 0;
        left: 0;
        height: 20rem;
        background-color: white;
        position: relative;
        background-color: #F7DBA9;
        display: none;
        margin-top: 0px;
    }

    .profesorsito {
        width: 70%;
    }

    /* Section sugerencias */
    .sugerencias {
        height: 39rem;
        width: 100%;
    }

    .sugerencias ul {
        padding: 1rem;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-around;
        margin: 5px auto;
    }

    .sugerencias li {
        font-size: 1.6rem;
        padding: 1rem;
        width: 80%
    }

    #profe {
        height: 4rem;
    }

    #profe h3 {
        font-size: 2rem;
    }

    #profe img {
        height: 3rem;
    }

    #videosugerencia {
        width: 80%;
        height: 100%
    }

    #sugerencia p {
        width: 80%;
        margin-left: 3.5rem;
        font-size: 1.3rem;
    }


    /* Section usuario */
    .usuario h2 {
        margin-bottom: 0rem;
    }

    .usuario p {
        margin-top: 0.5rem;
        font-size: 1rem;
    }


    /* agenda */
    .c-event-grid {
        height: 14rem;
    }

    .c-event-item {
        margin: 2% 0;
    }

    .c-event-item > .title {
        font-weight: 300;
        font-size: 20px;
        margin: 2% 0;
    }

    .title-event {
        font-weight: 400;
        font-size: 28px;
        margin: 2% 0;
    }

    .calendar {
        font-size: 17px;
        margin: 5% 10%;
    }

    #draggable {
        left: 19%;
    }

    #draggable iframe {
        width: 600px;
        height: 400px;
    }


    /*---- Estilo blog ----*/

    .blog {
        text-align: left;
        width: 100%;
        margin: auto;
    }

    #blog-comentarios {
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Sección publicaciones */
    .publicaciones {
        width: 90%;
        margin: 10px auto 30px auto;
    }

    .publicaciones h2 {
        font-size: 1.2rem;
    }

    .post {
        font-size: 16px;
        width: 70%;
        height: 80px;
        padding: 12px;
    }

    .publicaciones button {
        padding: 6px 18px;
        color: #FFF;
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Sección comentarios */
    .contenedor-comentarios {
        width: 60%;
        margin: 0px;
        align-content: flex-start;
        align-items: flex-start;
        justify-content: flex-start;
         margin: 0px;
        padding: 1rem;
    }

    .comentario {
        margin-right: 0px;
    }

    .comentario .desplegable {
        height: 3rem;
    }

    /* Sección contactos */
    .contactos {
        display: flex;
        flex-flow: column nowrap;
        width: 30%;
        margin: 0px;
        padding: 1rem;
    }

    .contactos h2 {
        margin-bottom: 2rem;
        margin-left: 3rem;
        margin-right: 4rem;
    }

    .contactos-sugeridos {
        display: flex;
        flex-flow: row wrap;
        justify-content: left;
    }

    .contactos-sugeridos img {
        width: 5rem;
        height: auto;
        margin-left: 3rem;
        margin-bottom: 3rem;
    }

    #publicidad {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
        padding: 1rem;
        align-content: flex-start;
        align-items: flex-start;
    }

    #publicidad img {
        width: 90%;
    }

    #publicidad h2 {
        margin-left: 1rem;
        font-weight: 300;
    }

    /* editperfil */

    .avatar img {
        width: 20%;
    }

    .datos-perfil .desplegable {
        margin-top: 2rem;
        margin-bottom: 0rem;
    }

    .datos-perfil .desplegable h2 {
        height: 5rem;
    }

    .boton-largo {
        height: 3.5rem;
    }

    .datos-perfil ul {
        padding-bottom: 1rem;
    }

    .datos-perfil span {
        font-size: 1.5rem;
    }

    .datos-perfil input {
        font-size: 1.5rem;
    }

    .tarjeta p {
        font-size: 1.5rem;
    }

    .tarjeta span {
        font-size: 2rem;
    }

    .marca {
        width: 15rem;;
        margin-top: 5%;
        margin-bottom: 5%;
        align-self: center;
    }

    .ptitular {
        font-size: 2rem;
        margin-top: 1rem;
        margin-bottom:1rem;
    }

    form {
        width: 50%;
        margin: auto;
    }

    form p {
        font-size: 1.2rem;
        margin-top: 40px;
        line-height: 35px;
    }

    #btnenvio {
        width: 80%;
    }

}/*1000px*/
