/* Custom calendar elements */
:root {
  --main-color: #fc4c02;
  --secondary-color: #ddd;
  --optional-color: #00a499;
}
body {
  position: relative;
  /*height:calc(100% + 300px);*/

  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}
body > .container:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  /*background: rgba(0,0,0,0.52);*/
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}
header {
  position: relative;
  z-index: 33;
}
.copyright-footer {
  text-align: center;
  font-size: 13px;
}
.main {
  max-width: 0px;
}
.footer .main {
  max-width: 600px;
}

.footer {
  /*position: fixed;*/
  width: 100%;
  bottom: 0;
  padding: 10px;
  /*background-color: #8A8D8F;*/
  background-color: #fff;
  font-size: 12px;
  border-top: 4px solid #fc4c02;
  /*color: #fff;*/
  color: #fc4c02;
}
.footer a {
  /*color: #fff;*/
  color: #fc4c02;
}
.footer a:hover {
  /*color: #EAEAEA;*/
  color: #fc4c02;
  text-decoration: underline;
}
.footer h3 {
  margin: 5px 0px;
}
.custom-calendar-wrap {
  margin: 10px auto;
  position: relative;
  overflow: hidden;
}

.custom-inner {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.custom-inner:before,
.custom-inner:after {
  content: '';
  width: 99%;
  height: 50%;
  position: absolute;
  background: #f6f6f6;
  bottom: -4px;
  left: 0.5%;
  z-index: -1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.custom-inner:after {
  content: '';
  width: 98%;
  bottom: -7px;
  left: 1%;
  z-index: -2;
}

.custom-header {
  background: #fff;
  padding: 5px 10px 10px 20px;
  height: 70px;
  position: relative;
  border-top: 5px solid #fc4c02;
  border-bottom: 1px solid #ddd;
}

.custom-header h2,
.custom-header h3 {
  text-align: center;
  /*text-transform: uppercase;*/
}

.custom-header h2 {
  color: #495468;
  font-weight: 300;
  font-size: 18px;
  margin-top: 10px;
}

.custom-header h3 {
  font-size: 10px;
  font-weight: 700;
  color: #b7bbc2;
}

.custom-header nav span {
  position: absolute;
  top: 17px;
  width: 30px;
  height: 30px;
  color: transparent;
  cursor: pointer;
  margin: 0 1px;
  font-size: 20px;
  line-height: 30px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.custom-header nav span:first-child {
  left: 5px;
}

.custom-header nav span:last-child {
  right: 5px;
}

.custom-header nav span:before {
  font-family: 'fontawesome-selected';
  color: #fc4c02;
  position: absolute;
  text-align: center;
  width: 100%;
}

.custom-header nav span.custom-prev:before {
  content: '\25c2';
}

.custom-header nav span.custom-next:before {
  content: '\25b8';
}

.custom-header nav span:hover:before {
  color: #495468;
}

.custom-content-reveal {
  background: #f6f6f6;
  background: rgba(246, 246, 246, 0.9);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 100;
  top: 100%;
  left: 0px;
  /*text-align: center;*/
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}

.custom-content-reveal span.custom-content-close {
  position: absolute;
  top: 15px;
  right: 10px;
  width: 30px;
  height: 30px;
  text-align: center;
  background: #fc4c02;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  line-height: 25px;
  padding: 0;
}

.custom-content-reveal span.custom-content-close:after {
  content: 'x';
  font-size: 18px;
  color: #fff;
}

.custom-content-reveal a,
.custom-content-reveal span {
  font-size: 18px;
  /*padding: 10px 30px;*/
  padding: 0px 30px 10px 30px;
  display: block;
}
.custom-content-reveal span {
  text-align: justify;
}
.custom-content-reveal span.custom-content-close {
  text-align: center;
}

.custom-content-reveal h4 {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  color: #777;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  border-top: 5px solid #fc4c02;
  box-shadow: 0 1px rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.custom-content-reveal span {
  color: #888;
}

.custom-content-reveal a {
  color: #fc4c02;
}

.custom-content-reveal time {
  display: none;
}

.custom-content-reveal a:hover {
  color: #333;
}

/* Modifications */

.fc-calendar-container {
  height: 500px;
  width: auto;
  padding: 30px;
  background: #f6f6f6;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
}

.fc-calendar .fc-head {
  background: transparent;
  color: #fc4c02;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
}

.fc-calendar .fc-row > div {
  background: #fff;
  cursor: pointer;
}

.fc-calendar .fc-row > div:empty {
  background: transparent;
  cursor: default;
}

.fc-calendar .fc-row > div > span.fc-date {
  top: 50%;
  left: 50%;
  text-align: center;
  margin: -10px 0 0 -15px;
  color: #686a6e;
  font-weight: 400;
  pointer-events: none;
}

.fc-calendar .fc-row > div > span.fc-emptydate {
  color: #ccc;
  visibility: hidden;
}

.fc-calendar .fc-row > div.fc-today {
  background: #fc4c02;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

/* rutina para los feriados */
.fc-calendar .fc-row > div.fc-feriado > span.fc-date {
  top: 50%;
  left: 50%;
  text-align: center;
  margin: -10px 0 0 -15px;
  color: #ffb400;
  font-weight: 400;
  pointer-events: none;
}

/*.custom-content-reveal a, .custom-content-reveal span.feriado {*/
.custom-content-reveal span.feriado {
  color: #fc4c02;
  font-size: 12px;
  /*padding-top: 320px;*/
}

.fc-calendar .fc-row > div.fc-today > span.fc-date {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.fc-calendar .fc-row > div.fc-content:after {
  content: '\00B7';
  text-align: center;
  width: 20px;
  margin-left: -10px;
  position: absolute;
  /*color: #DDD;*/
  color: #fc4c02;
  font-size: 70px;
  line-height: 20px;
  left: 50%;
  bottom: 3px;
}

.fc-calendar .fc-row > div.fc-today.fc-content:after {
  color: #b02c42;
}

.fc-calendar .fc-row > div.fc-content:hover:after {
  /*color: #FC4C02;*/
  color: #ddd;
}

.fc-calendar .fc-row > div.fc-today.fc-content:hover:after {
  color: #fff;
}

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
  display: none;
  font-size: 22px;
}

.cuadrado {
  width: 8px;
  height: 8px;
  background: #ffb400;
}

.circulo {
  width: 8px;
  height: 8px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #fc4c02;
}

.redes-sociales {
  display: inline-block;
  width: auto;
  padding: 0px;
  /*margin-top: 6px;*/
  vertical-align: middle;
  margin-left: 10px;
}
.redes-sociales li {
  list-style: none;
  padding: 0px;
  display: inline-block;
  margin: 0px 6px;
}
.redes-sociales li:nth-child(1) {
  margin-left: 0px;
}
.redes-sociales li i.icon {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 100%;
  display: block;
  background-position: center center;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  /*
    font-size: 18px;
    color: #8a8d8f;
	*/
}
.youtube {
  background: url(../images/youtube-1.png) #ff4f00;
}
.facebook {
  background: url(../images/facebook-1.png) #ff4f00;
}
.linkedin {
  background: url(../images/linkedin-1.png) #ff4f00;
}
.instagram {
  background: url(../images/instagram-1.png) #ff4f00;
}
.footer .main h1 {
  font-size: 3em;
}

.custom-header h2 {
  font-size: 24px;
}
.custom-header h3 {
  font-size: 16px;
}
#custom-inner > table > tbody > tr > td:nth-child(2) > span,
#custom-inner > table > tbody > tr > td:nth-child(4) > span {
  font-size: 18px !important;
}

/* custom border color */
/* #c9c9c9 */
.fc-calendar .fc-row > div,
.fc-calendar .fc-row,
.fc-calendar .fc-body {
  /* border-color: #c9c9c9; */
}

.bloque-footer {
  display: inline-block;
  width: 100%;
}
.bloque-info-footer {
  float: left;
}
.bloque-info-footer h2 {
  font-size: 20px;
}
.bloque-info-footer h3 {
  font-size: 15px;
}
.bloque-redes-sociales {
  float: right;
}
.bloque-redes-sociales h3 {
  font-size: 17px;
}
.redes-sociales li i.icon {
  width: 33px;
  height: 33px;
}

.footer a:hover,
.footer a,
.footer {
  background-color: var(--optional-color);
  color: #fff;
}

.youtube,
.linkedin,
.facebook,
.instagram {
  /* background-color: var(--optional-color); */
  background-color: #fff;
}

.title-calendar {
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.title-calendar h2,
.title-calendar h3 {
  /* font-size: 24px;
	color: #495468;
    font-weight: 300; */
  margin: 0px;
}
.title-calendar h2 {
  margin-right: 7px;
}
.custom-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-calendar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  /* display: grid;
    grid-template-columns: auto 600px auto; */
}
.container-calendar .left-container-calendar {
  min-width: calc((100% - 600px) / 2);
}
.container-calendar .main {
  max-width: 600px;
}
.container-calendar .right-container-calendar {
  min-width: calc((100% - 600px) / 2);

  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  flex-direction: row;
}
.container-calendar .icon-alert {
  content: 'aaa';
  width: auto;
  max-width: 35px;
  padding: 0px 5px;
  background-color: var(--optional-color);
  flex: 1;

  display: flex;
  justify-content: center;
  align-items: center;
}
.container-calendar .icon-alert img {
  min-width: 40px;
  width: auto;
  padding: 5px;
}
.aviso {
  max-width: 250px;
  background-color: #fff;
}
.aviso h3 {
  margin: 0px;
  padding: 10px;
  font-size: 14px;
}
.aviso .body {
  padding: 10px;
}
.aviso ul {
  padding: 0px;
  margin: 0px;
}
.aviso ul li {
  list-style: none;
  margin-bottom: 5px;
}
.aviso ul li:before {
  content: '*';
  vertical-align: middle;
  display: inline-block;
  margin-right: 3px;
}
@media (max-width: 850px) {
  .aviso,
  .icon-alert,
  .right-container-calendar {
    display: none !important;
  }
}
@media screen and (max-width: 320px) { 
  .fc-calendar-container {
    height: 300px;
  }
  .fc-calendar .fc-row > div > span.fc-date {
    font-size: 15px;
  }
  .footer {
    position: inherit;
    float: left;
  }
  .container {
    height: auto;
    position: relative;
  }
  header {
    padding: 0 30px 50px 30px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  .logo1,
  .logo2 {
    float: none;
  }
  .logo1 {
    padding-bottom: 10px;
  }

  .custom-content-reveal h4 {
    margin-bottom: 14px;
  }
  #custom-content-reveal {
    overflow-y: scroll;
  }
  #custom-content-reveal::-webkit-scrollbar {
    -webkit-appearance: none;
  }
  /* Optional: show position indicator in red */
  #custom-content-reveal::-webkit-scrollbar:vertical {
    width: 10px;
  }
  #custom-content-reveal::-webkit-scrollbar-button:increment,
  #custom-content-reveal::-webkit-scrollbar-button {
    display: none;
  }

  #custom-content-reveal::-webkit-scrollbar:horizontal {
    height: 10px;
  }

  #custom-content-reveal::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 20px;
    border: 3px solid #f1f2f3;
  }

  #custom-content-reveal::-webkit-scrollbar-track {
    border-radius: 10px;
  }
}
