/** COLORS **/
.bg_wke_red {
  background: #E5202E;
}

.bg_wke_green {
  background: #339900;
}

.bg_wke_blue {
  background: #007AC3;
}

.bg_wke_purple {
  background: #993399;
}

/** VALORES **/
body {
  background: white;
  font-family: Trebuchet MS !important;
  padding: 0 20px;
}
.margin_back {
  margin: 25px 0 0;
}


/*.wrapper_title {
  margin: auto;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}*/

/*.wrapper_title {
  background: url('http://www.aranzadilaley.es/calendarios/img/logo_wkes.gif');
  background-repeat: no-repeat;
  position: relative;
  left: 110px;
  max-width: 1200px;
}*/

.wrapper_title {
  max-width: 1200px;
  margin: auto;
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
}
.wrapper_title h1 {
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 400;
  color: #007AC3;
  font-size: 1.8em;
}

.wrapper_title .btn-generate-html {
  padding: 5px 10px;
  height: 40px;
}

.wrapper_title .title_year {
  padding-bottom: 16px;
  /* margin-left: 45px; */
}


.titulo_comunidad h3 {
  margin-top: 0;
  color: #339900;
  font-family: Trebuchet MS;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.8em;
}



.normativas {
  max-width: 1200px;
  margin: auto;
  margin-top: 0px;
  display: flex;
  justify-content: space-between;
}











.wrapper_year {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  /*padding: 48px;*/
  /*padding-top: 15px;*/

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
          justify-content: space-between;
}

.wrapper_year .tipo_calendario {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  /*padding: 5px 18px;*/
  color: #339900;
  font-size: 1.5em;
  /*font-family: "Franziska", "Times New Roman", Times, serif;*/
  font-family: Trebuchet MS;
  /*font-style: italic;*/
  text-transform: uppercase;
  background: none;
  font-weight: bold;
}

.wrapper_year .top_info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}



.wrapper_year .top_info .listado_festivos {
  margin-top: 20px;
  border: solid 1px #C2C2C2;
  border-radius: 5px;
  background: #F7F6F6;
  padding: 10px;
  width: 66%;
}

.flex_wrapper_months {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.flex_wrapper_month {
  width: 16%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.flex_wrapper_month h2.month_name {
  text-align: center;
  background: #D5D7D6;
  font-size: 1em;
  font-weight: normal;
  color: black;
  text-transform: uppercase;
  margin-bottom: 0;
  padding: 5px;
  font-family: Trebuchet MS;
}

.wrapper_month {
  border-left: solid 1px #CCCCCC;
}

.header_week {
  border-top: solid 1px #CCCCCC;
  background: #777777;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}


.header_week__day {
  font-size: 10px;
  padding: 5px;
  border-right: solid 1px #CCCCCC;
  border-bottom: solid 1px #CCCCCC;
  width: 14.2857142857%;
  text-align: center;
  -webkit-box-flex: 1;
      -ms-flex: auto;
          flex: auto;
}

.header_week__day:last-child {
  border-right: none !important;
}

.wrapper_days {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.wrapper_days .day {
  background: #F0F0F0;
  border-right: solid 1px #CCCCCC;
  border-bottom: solid 1px #CCCCCC;
  width: 14.2857142857%;
  text-align: center;
  padding: 4px 0;
  font-size: 12px;
  color: #666666;
}

.wrapper_days .day:hover {
  cursor: pointer;
}
.day:not(.fiesta):hover {
  background-color: beige;
}
.wrapper_days .day.sunday:hover {
  color: white;
}

.wrapper_days .empty {
  background: white;
}

.wrapper_days .fiesta, .wrapper_days .sunday {
  color: white;
}

.wrapper_days .sunday {
  background: #D5D7D6;
  color: #666666;
}

.wrapper_days .sunday:hover {
  color: #474747;
}

.wrapper_days .fiesta-nacional {
  background: #E5202E;
}

.wrapper_days .fiesta-autonomica {
  background: #339900;
}

.wrapper_days .fiesta-local {
  background: #007AC3;
}

.popover {
  min-width: 320px;
}

.popover p {
  margin: 5px 0;
  color: #007AC3;
  font-weight: 600;
}

.popover label {
  line-height: 27px;
}

.popover label.radio-fiesta-autonomica {
  background: #339900;
  border-radius: 8px;
  padding: 0 30px;
  color: white;
}

.popover label.radio-fiesta-local {
  background: #007AC3;
  border-radius: 8px;
  padding: 0 30px;
  color: white;
}



.popover input[type="text"] {
  height: 33px;
  font-size: 14px;
}

.popover h3.popover-title {
  background: dodgerblue;
  width: 90%;
  color: white;
  font-weight: 400;
}

.popover h3.popover-title::after {
  content: "x";
  position: absolute;
  padding: 8px 15px;
  right: 2px;
  top: 1px;
  background: dodgerblue;
}

.popover h3.popover-title:hover::after {
  cursor: pointer;
  background: #007AC3;
}

.popover .arrow::after {
  border-right-color: floralwhite !important;
}

.popover .popover-content {
  background: floralwhite;
}

.popover .btn-save-day, .popover .btn-update-day, .popover .btn-delete-day {
  margin-top: 20px;
  border-radius: 0;
  font-weight: 100;
}


.btn-save-year {
  margin-top: 50px;
}







.leyenda {
  margin-top: 20px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
          justify-content: center;
  font-size: 12px;
}
.leyenda > div {
  padding-right: 20px;
  line-height: 20px;
}
.leyenda .square {
  width: 20px;
  height: 20px;
  display: block;
  float: left;
  margin-right: 10px;
}

.leyenda .square.F-N {
  background: #E5202E;
}
.leyenda .square.F-A {
  background: #85BC20;
}
.leyenda .square.F-L {
  background: #007AC3;
}







.wrapper_selectores {
  max-width: 1200px;
  margin: 20px auto;
  height: 100px;
}

.btn-generate-year {
  margin-top: 28px;
}

















/**** PÁGINAS ESTÁTICAS CON EL CALENDARIO YA HECHO ****/
.listado-dias-festivos {
  text-align: justify;
  background: #efefef;
  border-color: #cfcfcf;
  margin-top: 20px;
  border: solid 1px #ccc;
  width: 100%;
  padding: 15px;
  font-size: 12px;
  margin-bottom: 20px;
  max-width: 1200px;
  margin: 50px auto;  
}
p.texto_extra {
  font-size: 12px;
  margin-top: 20px;
}
ul.days-in-columns {
  padding-left: 15px;
  margin-top: 20px;
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
  -webkit-column-gap: 50px;
  -moz-column-gap: 50px;
          column-gap: 50px;
}
ul.days-in-columns li {
  font-size: 14px;
}

/* Modificado por toni BCN 17/01/2018 IPO-14883 */
.years {
  /* display: none; */
}
/* ./Modificado por toni BCN 17/01/2018 IPO-14883 */


@media (max-width: 1215px) {
  .wrapper_title .title_year {
    margin-left: 48px;
  }
}

@media (max-width: 1100px) {
  .flex_wrapper_month {
    width: 22%;
  }
}

@media (max-width: 900px) {
  .flex_wrapper_month {
    width: 31%;
  }
}

@media (max-width: 730px) {
  .wrapper_title {
    flex-direction: column;
  }
  .wrapper_title h1.title_year {
    margin-left: 0;
    margin-top: 10px;
  }
  .titulo_comunidad h3 {
    text-align: left;
  }
}

@media (max-width: 580px) {
  .normativas {
    flex-direction: column;
  }
  .normativas .normativa {
    margin-top: 10px;
  }
}

@media (max-width: 667px) {
  .flex_wrapper_month {
    width: 48%;
  }
}

@media (max-width: 495px) {
  .leyenda {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .leyenda > div {
    margin-bottom: 10px;
  }
}

@media (max-width: 444px) {
  .flex_wrapper_month {
    width: 100%;
  }

  .header_week__day {
    font-size: 12px;
    padding: 4px;
  }
}



#btn-print-calendar {
  border-radius: 5px;
  padding: 0 10px;
  height: 40px;
}