@import url(reset.css);

/* Sections of Layout
-------------------------------------- */
/* Layout is stacked vertically by default (for narrower viewports), so give some breathing room between the sections. */

body {
  display: grid;
  grid-template-rows: auto !important;
  grid-gap: 10px 20px;
  grid-template-areas:
    "head"
    "main"
    "foot";
}

@media only screen and (min-device-width: 768px){
  #app {
    display: grid;
    grid-template-columns: 30% 70%;
    grid-gap: 10px 50px;
    margin: 0 auto !important;
    width: 990px;
  }
}




/* Now let's apply grid for wider viewports. */
@media screen and (min-width: 40em) {
  /* body > * {
    margin-bottom: 0;
  }

  body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 10px 20px;
    grid-template-areas:
      "head  head head"
      "main main main"
      "foot  foot foot";
  }

  header {
    grid-area: head;
  }

  main {
    grid-area: main;
  }

  footer {
    grid-area: foot;
  } */

}

/* Alternative Approach
-------------------------------------- */
/* There is more than one way to achieve the same result with Grid. The commented-out code below, which would replace all of the code above, shows how to use Grid's template areas feature. It's pretty ingenious: in the grid-template-areas property, you show where the various grid areas should appear on the grid.

For example, I've said below that:
  * the head grid-area should span all three columns of row one;
  * the side1 grid-area should occupy column one of row two;
  * the main grid-area should occupy column two of row two;
  * the side2 grid-area should occupy column three of row two;
  * and the foot grid-area should span all three columns of row three.

Below that part I've assigned a grid-area to the classes used on the layout's sections. The grid-areas assigned here are the ones used in grid-template-areas. For example, I set .header { grid-area: head; }. If I did .header { grid-area: page-header; } instead, I would need to change "head head head" in grid-template-areas to "page-header page-header page-header". (Please note that only one space between grid areas is required to indicate columns. You do not have to line up the columns in grid-template-areas as I have below.)

All told, when combining grid-template-areas with matching grid-area assignments, you can see what the layout will be just by glancing at the grid-template-areas value!
*/
/*

*/
/* Generic styles for demo purposes
-------------------------------------- */
body {
  height: 100vh;
  font-family: "Lato", "Arial", sans-serif;
  margin-left: auto;
  margin-right: auto;
}

body > * {
  padding: 1em;
}

/* Typically, you wouldn't specify a height or min-height on this, instead allowing your actual content (i.e., text, images, etc.) to dictate the height of your content area. But since this example has very minimal content, I've set a min-height to mimic a taller content area. */
body {
  min-height: 350px;
}


#linea {

    background: url('../img/linea.gif') repeat scroll 0pt 0pt transparent;
    height: 30px;
    width: 935px;

}

/****************************/
/*          Clases          */
/****************************/

.t1 {

    font-family: Arial;
    font-size: 16px;

}

.t2 {

    font-family: Arial;
    font-size: 16px;
    color: red;

}

.p1 {

    font-family: Arial;
    font-weight: bold;
    font-size: 15px;
    color: #00764e;
    padding-top: 12px;
    padding-left: 30px;
    padding-right: 30px;

}

.p2 {

    font-family: Arial;
    font-size: 12px;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 17px;
    padding-top: 12px;

}

.p3 {

    font-family: Arial;
    font-size: 14px;
    padding-left: 50px;
    padding-right: 30px;

}

.p3 a {

    color: #00764e;

}

@media only screen and (min-device-width: 768px){
main#main {
  width: 990px;
  margin: 0 auto;
padding: 60px 0px;
}
}

.contenedor {

    width:100%;
    height: 430px;
    overflow: auto;
    text-align: left;
    font-family: Arial;

}

.avisoMensaje {

    border-style: solid;
    border-width: 1px;
    padding: 5px;
    background-color: rgb(204, 0, 0);
    width: 40%;
    font-family: Arial;
    font-weight: bold;
    color: rgb(205, 217, 208);
    text-align: center;
    margin: auto;

}

.infoMensaje {

    border-style: solid;
    border-width: 1px;
    padding: 5px;
    background-color: #00764E;
    width: 36%;
    font-family: Arial;
    font-weight: bold;
    color: rgb(205, 217, 208);
    text-align: center;
    margin: auto;

}

/****************************/
/*        Id Selectors      */
/****************************/

#encabezado {
  background-color: #f7f7f6;
}
#pie_de_sitio  {

    text-align: center;
    font-size: 12px;
    padding-top: 15px;
    font-family: Arial;
    background-color: #f7f7f6;

}

#pie_de_sitio  span {

    color: rgb(86, 156, 115);

}


/********************************/
/*        Main Test Styles      */
/********************************/

/*--- Este width podria variar ---*/

body, a, p, span, li {
  font-family: 'Lato', 'Arial', sans-serif !important;
  font-size: 16px;
}
p {
  margin-bottom: 10px;
}
h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color:#00683D;
  text-transform: uppercase;
}
/********************************/
/*        Login Screen      */
/********************************/
#login #contenedor p {
  margin-bottom: 15px;
}
#login #contenedor p:last-of-type {
  margin-bottom: 0px;
}
#login #contenedor strong {
  text-transform: uppercase;
}

div#encabezado_administrativo {
  padding-left: 10px;
  border-left: 9px solid #00683D;
}
span.titulo_uno {
  display: inline-block;
  margin-bottom: 10px;
  color: #191919;
  font-size: 18px;
}
#pie_administrativo li.nav-item,
#pie_profesional li.nav-item  {
  border: 0px;
}
.btn-orange,
.btn-orange a#salir  {
  background-color: #FBB040;
  color: #191919;
  text-transform: uppercase;
  border-radius: 0px;
}
.btn-orange:hover{
  background-color: #FBBF66 !important;
}
.cabecera {
  font-family: Arial;
  font-size: 14px;
  padding-bottom: 0px !important;
  margin-bottom: 20px;
}
#encabezado_administrativo,
#encabezado_profesional {
  padding-left: 10px;
  border-left: 9px solid #00683D;
}
li.nav-item {
  border: 1px solid #FBB040;
  margin-bottom: 15px;
}
a.elemento_menu_administrativo,
a.elemento_menu_profesional,
a.elemento_menu {
  color: #191919;
}
#pie_administrativo {
  padding-top: 25px;
}
.alert-success {
  background-color: #ffffff !important;
  background-image: none;
  border-radius: 0px;
  padding: 30px;
}
#contenedor_notificacion {
  margin-top: 40px;
}
#contenedor_notificacion .p1 {
  padding: 0px;
}

.btn-green,
.btn-orange {
  text-align: center;
}

.btn-green,
#botonLogin {
  background-image: none !important;
  background-color: #00683D !important;
  border: 0px;
  border-radius: 0px;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  color: #ffffff !important;
}
.btn-green:hover,
#botonLogin:hover {
  background-color: #328663 !important;
  color: #ffffff;
}

/*--- Contact Form ---*/
#formulario_contacto table {
  width: 100% !important;
  margin: 20px 0px !important;
}
#formulario_contacto input:not([type="submit"]):not([type="reset"]),
#formulario_contacto select {
  width: 100% !important;
  height: 30px !important;
  border-radius: 0px;
  border: 1px solid #92B0AE;
  padding: 5px;
}
#div_contacto p {
  text-align: left;
}
#formulario_contacto .btn-green,
#formulario_contacto .btn-orange {
    width: 100% !important;
    margin-top: 15px;
}

/****************************/
/*        Submenu Styles      */
/****************************/

#submenu_normas p,
#submenu_formularios p {
  margin-bottom: 10px;
}
#submenu_normas select {
  font-family: "Lato", sans-serif;
  height: 30px;
}
#submenu_novedades li {
  margin-bottom: 10px;
}

/**********************/
/*        Cursos      */
/**********************/

.curso-item {
  padding: 30px;
  margin-top: 20px;
  background-color: #D3DFDF;
}
.curso-item:last-of-type {
  margin-bottom: 0px;
}
.curso-item b font {
  color: #191919;
  display: inline-block;
  margin-bottom: 10px;
}
.curso-item li {
  margin-bottom: 10px;
}

.formulario_inscripcion_submit {
margin-top: 10px;
}

/******************************/
/*      Login Profesional     */
/******************************/

#submenu_facturacion_uno tr,
#submenu_resumen_anual_uno tr,
#submenu_facturaciones_uno tr {
  display: block;
  margin-bottom: 10px;
}
#submenu_facturacion_uno select,
#submenu_resumen_anual_uno select,
#submenu_facturaciones_uno select {
  width: 200px;
}

#submenu_facturacion_uno label,
#submenu_resumen_anual_uno label,
#submenu_facturaciones_uno label {
  display: inline-block;
  margin-right: 5px;
  width: 70px;
}

/**************************/
/*      Departamentos     */
/**************************/

aside#menu_departamentos img {
  width: 300px !important;
}

.galeria ul {
  width: 100% !important;
}

.galeria img {
  width: 200px !important;
}

@media screen and (min-width: 768px) {
  aside#menu_departamentos {
    float: left;
    display: grid;
    margin-right: 20px;
}
aside#menu_departamentos img {
  margin-bottom: 10px !important;
}
aside#menu_departamentos img:last-of-type {
  margin-bottom: 0px !important;
}
}

ul#aside-options {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: 40px;
  grid-template-areas:
      "a b"
      "c c";
  grid-gap: 10px;
}

li.nav-item.orange {
  grid-area: a;
}

li.nav-item.green {
  grid-area: b;
}

li.nav-item.code {
  grid-area: c;
}

.nav>li>a {
  color: #191919 !important;
}

/**************************/
/*      Notificaciones    */
/**************************/

.boton-notificacion {
    background-color: #00683D;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 0px;
    transition: background-color 0.3s;
}

.boton-notificacion:hover {
    background-color: #328663;
}

.newsletter-list {
    list-style-type: none;
    padding: 0;
}

.newsletter-list li {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 5px;
}