/* -------------------------------- 

Primary style

-------------------------------- */

.cd-main-header a, .cd-side-nav a{
  text-decoration: none;
  line-height: 1;
}
.cd-main-header ol, .cd-side-nav ol, .cd-main-header ul, .cd-side-nav ul{
  list-style: none;
  line-height: 1;
}

/* -------------------------------- 

Main Page Content

-------------------------------- */
.cd-main-content .content-wrapper {
  padding: 74px 19px 3em;
}
.cd-main-content .content-wrapper h1 {
  text-align: center;
  padding: 3em 0;
  font-size: 2rem;
}
.cd-main-content .content-wrapper-invitado {
  padding: 74px 19px 3em;
}
.cd-main-content .content-wrapper-invitado h1 {
  text-align: center;
  padding: 3em 0;
  font-size: 2rem;
}
.cd-main-content::before {
  /* never visible - used to check MQ in jQuery */
  display: none;
  content: 'mobile';
}
@media only screen and (min-width: 768px) {
  .cd-main-content .content-wrapper {
    margin-left: 110px;
    padding-top: 78px;
  }
  .cd-main-content .content-wrapper h1 {
    padding: 4em 0;
    font-size: 3.2rem;
    font-weight: 300;
  }
  .cd-main-content .content-wrapper-invitado {
    padding-top: 78px;
    padding-left: 85px !important;
    padding-right: 85px !important;
  }
  .cd-main-content .content-wrapper-invitado h1 {
    padding: 4em 0;
    font-size: 3.2rem;
    font-weight: 300;
  }
  .cd-main-content::before {
    content: 'tablet';
  }
}
@media only screen and (min-width: 1200px) {
  .cd-main-content .content-wrapper {
    margin-left: 200px;
  }
  .cd-main-content .content-wrapper-invitado {
    padding-left: 145px !important;
    padding-right: 145px !important;
  }
  /*.cd-main-content::before {
    content: 'desktop';
  }*/
}

/* -------------------------------- 

Header

-------------------------------- */
.cd-main-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  height: 55px;
  width: 100%;
  background: #ffffff;
  /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);*/
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: float;
}
@media only screen and (max-width: 767px) {
    .cd-main-header {
        background: #ffffff !important;
        overflow: hidden;
    }
}
.cd-main-header::after {
  clear: both;
  content: "";
  display: table;
}
@media only screen and (min-width: 768px) {
  .cd-main-header {
    position: fixed;
    height: 63px;
  }
}
.cd-logo {
  float: left;
  display: block;
  margin: 16px 0 0 5%;
}
.cd-logo img {
  display: block;
  height: 35px;
  margin-top: -6px;
}
@media only screen and (min-width: 768px) {
  .cd-logo {
    margin: 19px 16px;
  }
}
.cd-nav-trigger {
  /* navigation trigger - visible on mobile devices only */
  float: right;
  position: relative;
  display: block;
  width: 34px;
  height: 55px;
  margin-right: 5%;
  overflow: hidden;
  white-space: nowrap;
  color: transparent !important;
}
.cd-nav-trigger span, .cd-nav-trigger span::before, .cd-nav-trigger span::after {
  /* hamburger icon in CSS */
  position: absolute;
  display: inline-block;
  height: 3px;
  width: 24px;
  background: #c3360e;
}
.cd-nav-trigger span {
  /* line in the center */
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -2px;
  -webkit-transition: background 0.2s;
  -moz-transition: background 0.2s;
  transition: background 0.2s;
}
.cd-nav-trigger span::before, .cd-nav-trigger span::after {
  content: '';
  right: 0;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 0% 50%;
  -moz-transform-origin: 0% 50%;
  -ms-transform-origin: 0% 50%;
  -o-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: -webkit-transform 0.2s;
  -moz-transition: -moz-transform 0.2s;
  transition: transform 0.2s;
}
.cd-nav-trigger span::before {
  /* menu icon top line */
  top: -6px;
}
.cd-nav-trigger span::after {
  /* menu icon bottom line */
  top: 6px;
}
.cd-nav-trigger.nav-is-visible span {
  /* hide line in the center */
  background: rgba(255, 255, 255, 0);
}
.cd-nav-trigger.nav-is-visible span::before, .cd-nav-trigger.nav-is-visible span::after {
  /* keep visible other 2 lines */
  background: #c3360e;
}
.cd-nav-trigger.nav-is-visible span::before {
  -webkit-transform: translateX(4px) translateY(-3px) rotate(45deg);
  -moz-transform: translateX(4px) translateY(-3px) rotate(45deg);
  -ms-transform: translateX(4px) translateY(-3px) rotate(45deg);
  -o-transform: translateX(4px) translateY(-3px) rotate(45deg);
  transform: translateX(4px) translateY(-3px) rotate(45deg);
}
.cd-nav-trigger.nav-is-visible span::after {
  -webkit-transform: translateX(4px) translateY(2px) rotate(-45deg);
  -moz-transform: translateX(4px) translateY(2px) rotate(-45deg);
  -ms-transform: translateX(4px) translateY(2px) rotate(-45deg);
  -o-transform: translateX(4px) translateY(2px) rotate(-45deg);
  transform: translateX(4px) translateY(2px) rotate(-45deg);
}
@media only screen and (min-width: 768px) {
  .cd-nav-trigger {
    display: none;
  }
}
.cd-title{
  float:left;
  height: 36px;
  border: none;
  border-radius: .25em;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  line-height: 51px;
  font-size:22px;
  color:#e44e24;
  font-weight: bold;
}
@media only screen and (max-width: 767px) {
  .cd-title {
     padding-left: 16px;
     /*line-height:45px;*/
     line-height:55px;
  }
  .cd-title:before{
     content: "SAG";
  }
  .cd-title.sin-before::before {
     content: none !important;
  }
}
@media only screen and (min-width: 768px) {
  .cd-title {
     /*line-height:51px;*/
     line-height:62px;
  }
  .cd-title:before{
     content: "Sistema de Autogesti\00f3 n"; 
     /*\00f3 es el caracter ó en CSS*/
  }
  .cd-title.sin-before::before {
    content: none !important;
  }
}

/* -------------------------------- 

Top Navigation

-------------------------------- */
.cd-nav {
  /* top nav - not visible on mobile devices */
  display: none;
}
@media only screen and (min-width: 768px) {
  .cd-nav {
    display: block;
    float: right;
    height: 100%;
    padding-left: 0px;
  }
}
.cd-top-nav > li > a::before {
  /* reset style */
  display: none;
}
.cd-top-nav > li a {
  padding: 1em 5% !important;
}
.cd-top-nav img {
  /* avatar image */
  position: absolute;
  left: 1em;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: block;
}
@media only screen and (max-width: 767px) {
    /*Para evitar que no sea visible la opción Cerrar sesión en celulares*/
    .cd-top-nav {
        margin-bottom: 50px;
    }
}
@media only screen and (min-width: 768px) {
  .cd-top-nav {
    height: 100%;
    /*padding-left: 10px;*/
    padding-left: 0px;
  }
  .cd-top-nav a {
    display: block;
    font-size: 1.4rem;
    color: #2c3136;
  }
  .cd-top-nav > li {
    display: inline-block;
    margin-right: 1em;
    height: 100%;
  }
  .cd-top-nav > li:last-of-type {
    margin-right: 0;
  }
  .cd-top-nav > li a {
    padding: 1em .6em !important;
  }
}

/* -------------------------------- 

Sidebar

-------------------------------- */
.cd-menu{
    position:relative;
}
.cd-side-nav {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  padding: 55px 0 0;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
.cd-side-nav.nav-is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-overflow-scrolling: touch;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0s;
  transition: opacity 0.2s 0s, visibility 0s 0s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 3; 
}
.cd-side-nav > .cd-menu > ul {
  padding: 0.6em 0;
}
.cd-side-nav > .cd-menu > ul:last-of-type {
  padding-bottom: 0;
}
.cd-side-nav .cd-label, .cd-side-nav a {
  display: block;
  padding: 1em 5%;
}
.cd-side-nav .cd-label {
  text-transform: uppercase;
  font-weight: bold;
  color: #e44e24;
  font-size: 1rem;
  letter-spacing: .1em;
}
.cd-side-nav a {
  position: relative;
  /*color: #f5f5f5;*/
  color: #000000;
  font-size: 1.4rem;
}
.cd-side-nav ul.cd-top-nav > li:last-of-type > a {
  border-bottom: none;
}
.cd-side-nav > .cd-menu > ul > li > a {
  padding-left: calc(5% + 24px);
  /*border-bottom: 1px solid #373d44;*/
  border-bottom: 1px solid #e4e4e4;
}
.cd-side-nav .count {
  /* notification badge */
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: calc(5% + 16px + 0.4em);
  padding: 0.2em 0.4em;
  background-color: #ff7e66;
  border-radius: .25em;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}
.action-btn{
    margin-bottom: 5px;
}
.cd-side-nav .cd-menu .action-btn a {
  display: block;
  margin: 0 5%;
  padding: 1em 0;
  background-color: #C3360E;
  border-radius: .25em;
  border: none;
  text-align: center;
  color: #ffffff;
  font-weight: bold;
}
.cd-side-nav .cd-menu .action-btn a::before {
  display: none;
}
@media only screen and (max-width: 767px) {
    .cd-side-nav {
        position: fixed;
    }
    .cd-side-nav.nav-is-visible {
        overflow:auto;
        max-height: 100vh;
    }
}
@media only screen and (min-width: 768px) { 
  .cd-side-nav:before{
      content: '';
      position:fixed;
      top:0;
      bottom:0;
      width: 110px;
      /*background-color: #2c3136;*/
      background-color: #f5f5f5;
  }
  .cd-side-nav {
    float: left;
    width: 110px;
    padding-top: 63px;
    visibility: visible;
    opacity: 1;
    overflow: visible;
  }
  .cd-side-nav.nav-is-visible {
    box-shadow: none;
    min-height: max-content;
    overflow: visible;
  }
  .cd-side-nav .cd-menu > ul {
    /* reset style */
    padding: 0;
  }
  .cd-side-nav a {
    font-size: 1.2rem;
  }
  .cd-side-nav > .cd-menu > ul > li > a {
    padding: 1.2em 0 1.2em;
    text-align: center;
  }
  .cd-side-nav > .cd-menu > ul > li > a::before {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 2.4em;
  }
  .cd-side-nav .active > a {
    box-shadow: inset 3px 0 0 #C3360E;
    background-color: #33383e;
  }
  .cd-side-nav .subactive > a:before {
    font-family: 'Glyphicons Halflings';
    content: "\e080";
    margin-right: 10px;
    color: #C3360E;
    position: relative;
    top: 1px;
    display: inline-block;
    font-style: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .cd-side-nav .cd-menu .action-btn a {
    margin: 1em 10% 0;
  }
  .cd-side-nav .count {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    padding: 0;
    right: 6px;
    color: transparent;
  }
}
@media only screen and (min-width: 768px) {
    .cd-side-nav > .cd-menu > ul > li:not(.action-btn):hover > a {
        /*background-color: #33383e;*/
        background-color: #d3d3d3;
    }
    .cd-side-nav > .cd-menu > ul > li > a {
        padding-left: 18px;
        padding-right: 18px;
        word-wrap: normal;
    }
    .no-touch .cd-side-nav .cd-menu .action-btn a:hover {
        background-color: #E44E24;
    }
}
@media only screen and (min-width: 1200px) {
  .cd-side-nav:before{
      content: '';
      position:fixed;
      top:0;
      bottom:0;
      width: 200px;
      /*background-color: #2c3136;*/
      background-color: #f5f5f5
  }
  .cd-side-nav {
    width: 200px;
  }
  .cd-side-nav > .cd-menu > ul {
    padding: 0.6em 0;
  }
  .cd-side-nav > .cd-menu > ul > li > a {
    padding: 1em 30px 1em 18px;
    /*padding: 1em 42px 1em 18px;*/ /*Modificado el 05/08/2019*/
    word-wrap: normal;
    text-align: left;
    /*border-bottom: none;*/
  }
  .cd-side-nav > .cd-menu > ul > li > a::before {
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 18px;
  }
  .cd-side-nav .cd-label {
    display: block;
    padding: 1em 18px;
  }
  .cd-side-nav .cd-menu .action-btn {
    text-align: left;
  }
  .cd-side-nav .cd-menu .action-btn a {
    margin: 0 18px;
  }
  .cd-side-nav .count {
    color: #ffffff;
    height: auto;
    width: auto;
    border-radius: .25em;
    padding: .2em .4em;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 18px;
    left: auto;
    box-shadow: none;
  }
}
.has-children ul {
  position: relative;
  width: 100%;
  display: none;
  background-color: #ffffff;
}
.has-children > a::after {
  /* arrow icon */
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  right: 5%;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url(../Imagenes/cd-arrow.svg);
}
.has-children.selected > ul {
  display: block;
}
.has-children.selected > a::after {
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.cd-top-nav .has-children > a {
    height: 100%;
    padding: 0 calc(1.8em + 19px) 0 calc(0.5em + 60px) !important;
    /*line-height: 55px;*/
    line-height: 63px;
  }
@media only screen and (min-width: 768px) {
  .has-children {
    position: relative;
  }
  .has-children ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 200px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  .has-children ul a {
    text-align: left;
    border: none;
    padding: 1em;
  }
  .no-touch .has-children ul li:not(.subactive) a:hover {
    background-color: #f5f5f5;
  }
  .has-children > a::after {
    display: none;
  }
  .cd-side-nav .has-children.selected > a {
    background-color: #d3d3d3;
  }
  .cd-top-nav .has-children {
    position: relative;
    background-color: #f5f5f5;
  }
  .cd-top-nav .has-children > a::after {
    display: block;
    right: 1.8em;
  }
  .cd-top-nav .has-children ul {
    background-color: #ffffff;
    top: 100%;
    right: 0;
    left: auto;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    width: 100% !important;
  }
  .cd-top-nav .has-children ul a {
    padding-left: 18px !important;
  }
}
@media only screen and (min-width: 1200px) {
  .has-children > ul {
    width: 100%;
    z-index: 1;
  }
  .has-children ul a {
    padding-left: 18px;
  }
  .has-children.active > ul {
    /* if the item is active, make the subnavigation visible */
    position: relative;
    display: block;
    /* reset style */
    left: 0;
    box-shadow: none;
  }
  .no-touch .cd-side-nav .has-children:hover > ul, .cd-side-nav .has-children.hover > ul {
    /* show subnavigation on hover */
    display: block;
    opacity: 1;
    visibility: visible;
  }
}
/*Iconos en el menú*/
@media only screen and (min-width: 768px) and (max-width: 1199px){
  .cd-side-nav > .cd-menu > ul > li > a > span {
      display:block;
      text-align:center;
      margin-bottom:10px;
  }
}
@media only screen and (min-width: 1200px) {
  .cd-side-nav > .cd-menu > ul > li > a > span {
      /*margin-right:11px;*/
      width: 30px;
      text-align:center;
  }
}
@media only screen and (max-width: 767px) {
  .cd-side-nav > .cd-menu > ul > li > a > span {
      margin-right:11px;
      width: 30px;
      text-align:center;
  }
  /*Para evitar que no sea visible la opción Cerrar sesión en celulares*/
  /*.cd-top-nav .has-children.account ul {
		margin-bottom:50px; 
  }*/
}


/* -------------------------------- 

Iconos en barra superior
En principio, cd-icon copiado de cd-nav y cd-top-icon de cd-top-nav, pero sin los @medias
de manera que siempre se ve de la misma forma
Además, como está planeado para íconos, no puede tener menú desplegable ni imagenes

-------------------------------- */
.cd-icon {
    display: block;
    float: right;
    height: 100%;
    margin-right: 15px;
}
.cd-top-icon {
    height: 100%;
    padding-left: 0px;
}
.cd-top-icon a {
    display: block;
    font-size: 1.4rem;
    color: #ffffff;
}
.cd-top-icon a:hover {
    color: rgba(255,255,255,.8);
}
.cd-top-icon > li {
    display: inline-block;
    /*margin-right: 1em;*/
    height: 100%;
}
.cd-top-icon > li:last-of-type {
    margin-right: 0;
}
@media only screen and (min-width: 768px){
    .cd-top-icon > li a {
        padding: 20px 6px !important;
    }
}
@media only screen and (max-width: 767px){
    .cd-top-icon > li a {
        padding: 16px 6px !important;
    }
    .cd-icon {
        margin-right: 5px;
    }
}
.cd-top-icon > li a {
    font-size: 20px;
}
.cd-top-icon > li > a::before {
  display: none;
}
.cd-icon .count{
    padding: 0.2em 0.4em;
    background-color: #ff7e66;
    border-radius: .25em;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    margin-left: -7px;
    margin-top: 10px;
    z-index: 2;
    position: absolute;
}
.cd-side-nav .cd-top-nav{
    padding:0px;
}
@media only screen and (max-width: 767px) {
    .has-children.account > a{
        min-height:55px;
        line-height:1.5 !important;
        padding-top: 20px !important;
        padding-bottom: 19px !important;
    }
}
/*Clases para generar iniciales en caso de que no posea avatar*/
.cd-top-nav .initials{
    position: absolute;
    left: 1em;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
.initials span{
    position: absolute;
    text-transform: uppercase;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
}
.initials {
    font-size: larger;
    color: white;
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #C3360E;
    background: -moz-linear-gradient(-45deg, rgba(248,80,50,1) 0%, rgba(248,80,50,1) 50%, rgba(195,54,14,1) 50%, rgba(195,54,14,1) 100%);
    background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(248,80,50,1)), color-stop(50%, rgba(248,80,50,1)), color-stop(50%, rgba(195,54,14,1)), color-stop(100%, rgba(195,54,14,1)));
    background: -webkit-linear-gradient(-45deg, rgba(248,80,50,1) 0%, rgba(248,80,50,1) 50%, rgba(195,54,14,1) 50%, rgba(195,54,14,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(248,80,50,1) 0%, rgba(248,80,50,1) 50%, rgba(195,54,14,1) 50%, rgba(195,54,14,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(248,80,50,1) 0%, rgba(248,80,50,1) 50%, rgba(195,54,14,1) 50%, rgba(195,54,14,1) 100%);
    background: linear-gradient(135deg, rgba(248,80,50,1) 0%, rgba(248,80,50,1) 50%, rgba(195,54,14,1) 50%, rgba(195,54,14,1) 100%);
}