body {
  background: #000000;
  padding: 15px 0;
  color:#ffffff; 
}

body::-webkit-scrollbar {
  width: 1em;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.nav {
  font-family: 'Titillium Web';
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}

.nav * {
  box-sizing: border-box;
  transition: all .35s ease;
}

.nav li {
  display: inline-block;
  list-style: outside none none;
  margin: .01em 1em;
  padding: 0;
}

.nav a {
  padding: .5em .8em;
  color: rgb(255, 255, 255);
  position: relative;
  text-decoration: none;
  font-size: 20px;
}

.nav a::before,
.nav a::after {
  content: '';
  height: 14px;
  width: 14px;
  position: absolute;
  transition: all .35s ease;
  opacity: 0;
}

.nav a::before {
  content: '';
  right: 0;
  top: 0;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: translate(-100%, 50%);
}

.nav a:after {
  content: '';
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: translate(100%, -50%)
}

.nav a:hover:before,
.nav a:hover:after{
  transform: translate(0,0);
  opacity: 1;
}

.nav a:hover {
  color: #00eeff;
}

#logo.top-logo {
  background: no-repeat;
  background-position: center;
  background-image: url('img/Logo Comal_w.svg');
  background-size: 600px;
  padding:10px;
  position:relative;
  height: 400px;
  display: flex;
  transition: all .5s ease;
}

#logo.top-logo:hover {
  background: no-repeat;
  background-position: center;
  background-image: url('img/Logo Comal.jpg');
  background-size: 800px;
  padding:10px;
  position:relative;
  height: 400px;
  display: flex;
  transition: all .50s ease;
  transition-delay: 100ms;
}

#logo.codeberg-top {
  background: no-repeat;
  background-position: center;
  background-image: url('img/logoAlt/codeberg11.jpg');
  background-size: 900px;
  padding:10px;
  position:relative;
  height: 400px;
  display: flex;
  transition: all .35s ease;
}

#logo.Mastodon-top {
  background: no-repeat;
  background-position: center;
  background-image: url('img/profiles/Mastodon_Logotype_(Simple).svg');
  background-size: 300px;
  padding:10px;
  position:relative;
  height: 400px;
  display: flex;
  transition: all .35s ease;
}

#logo.comalMini-top {
  background: no-repeat;
  background-position: center;
  background-image: url('img/logoAlt/porcicola.jpg');
  background-size: 1200px;
  padding:10px;
  position:relative;
  height: 400px;
  display: flex;
  transition: all .35s ease;
}

#logo.Hcommons-top {
  background: no-repeat;
  background-position: center;
  background-image: url('img/logoAlt/HC_mini.jpg');
  background-size: 1000px;
  padding:10px;
  position:relative;
  height: 400px;
  display: flex;
  transition: all .35s ease;
}

#logo.Aullido-top {
  background: no-repeat;
  background-position: center;
  background-image: url('img/logoAlt/espistola-de-un-pueblo-cansado-2048x1356.jpg');
  background-size: 3000px;
  padding:10px;
  position:relative;
  height: 400px;
  display: flex;
  transition: all .35s ease;
}

.ul-button-container {
  font-family: 'Titillium Web';
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}

.ul-button-container li {
  display: inline-block;
  list-style: outside none none;
  margin: .01em 1em;
  padding: 0;
  position:center;
}

#below-buttons-div.buttonLogo1 {
  opacity: 1;
  animation: fade 3s linear;
}

#Pen-Div.active {
  opacity: 1;
  animation: fade 1s linear;
}



#mainDiv {
  opacity: 1;
  animation: fade 1.5s linear;
}

#masterAbout{
  opacity: 1;
  animation: fade 1s linear;
}

#masterMisc{
  opacity: 1;
  animation: fade 1s linear;
}

#rightImageOverlay{
  opacity: 1;
  animation: fade 1s linear;
}

@keyframes fade {
  0%,100% { opacity: 0 }
  100% { opacity: 1 }
}

.tilesDiv1 {
  /*width: 1040px; */
  font-size: 0;
  border-width: 2px;
  margin:0px;
  border-color: #fff;
  background-color: rgba(66, 80, 94, 0.76);
  display: flex;
  border:2px solid rgba(211, 234, 255, 0.671);
  border-style: groove;
  overflow-x: scroll;
  

}

.tilesDiv1::-webkit-scrollbar {
  width: 1em;
}

.tilesDiv1::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.tilesDiv1::-webkit-scrollbar-thumb {
  background-color: rgba(169, 169, 169, 0.541);
  outline: 0.5px solid rgba(112, 128, 144, 0.377);
}

.tilesDiv1 .tile {
  display: inline-block;
  margin: 10px;
  min-width: 250px;
  text-align: left;
  opacity: 0.99;
  overflow: hidden;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.05);
}
.tilesDiv1 .tile:before {
  content: "";
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.11) 0%, rgba(0, 0, 0, 0.856) 100%);
  width: 100%;
  height: 50%;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2;
  transition-property: top, opacity;
  transition-duration: 0.3s;
}
.tilesDiv1 .tile img {
  display: block;
  max-width: 250px;
  min-width: 250px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.tilesDiv1 .tile .details {
  font-size: 20px;
  padding: 20px;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 4;
}
.tilesDiv1 .tile .details span {
  display: block;
  opacity: 0;
  position: relative;
  top: 100px;
  transition-property: top, opacity;
  transition-duration: 0.3s;
  transition-delay: 0s;
}
.tilesDiv1 .tile .details .title {
  line-height: 1;
  font-weight: 600;
  font-size: 30px;
}
.tilesDiv1 .tile .details .info {
  line-height: 1.2;
  margin-top: 5px;
  font-size: 16px;
}
.tilesDiv1 .tile:focus:before,
.tilesDiv1 .tile:focus span, .tilesDiv1 .tile:hover:before,
.tilesDiv1 .tile:hover span {
  opacity: 1;
}
.tilesDiv1 .tile:focus:before, .tilesDiv1 .tile:hover:before {
  top: 50%;
}
.tilesDiv1 .tile:focus span, .tilesDiv1 .tile:hover span {
  top: 0;
}
.tilesDiv1 .tile:focus .title, .tilesDiv1 .tile:hover .title {
  transition-delay: 0.15s;
}
.tilesDiv1 .tile:focus .info, .tilesDiv1 .tile:hover .info {
  transition-delay: 0.25s;
}

#Pen-Div.inactive {
  margin:100px;
  position: relative;
  text-align: center;
  float:center;
  
}

#Pen-Div.active {
  margin-top:100px;
  height:300px;
  width: 100%;
  position: relative;
  text-align: center;
  float: center;
}


#gpgField2{
  width: 600px;
  height: 200px;
  margin: 0 auto;
  border:2px solid rgba(211, 234, 255, 0.671);
  background-color: rgba(66, 80, 94, 0.76);
  overflow-y: scroll;
  float:center;

}

#gpgField2::-webkit-scrollbar {
  width: 0.5em;
}

#gpgField2::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.3);
}

#gpgField2::-webkit-scrollbar-thumb {
  background-color: rgba(169, 169, 169, 0.541);
  outline: 0.5px solid rgba(112, 128, 144, 0.377);
}

  #button-1 {
    cursor:pointer;
      position:relative;
      padding:10px 20px;
      background:rgb(157, 214, 236);
      font-size:18px;
      border-top-right-radius:10px;
      border-bottom-left-radius:10px;
      transition:all 1s;
      &:after,&:before{
        content:" ";
        width:7px;
        height:7px;
        position:absolute;
        border :0px solid #fff;
        transition:all 1s;
        }
      &:after{
        top:-1px;
        left:-1px;
        border-top:5px solid rgb(227, 255, 226);
        border-left:5px solid rgb(227, 255, 226);
      }
      &:before{
        bottom:-1px;
        right:-1px;
        border-bottom:5px solid rgb(227, 255, 226);
        border-right:5px solid rgb(227, 255, 226);
      }
      &:hover{
        border-top-right-radius:0px;
      border-bottom-left-radius:0px;
        /* background:rgba(0,0,0,.5);
        // color:white; */
        &:before,&:after{
          
          width:100%;
          height:100%;
          /*// border-color:white;*/
        }
      }
    }

#button-1.intro, #button-1.bacGpg, #button-1.nimButton {
  padding:7px 17px;
  font-size:15px;
}

/* About */

#top-boxes-about {
  width:80%;
  height:800px;
  margin: 0 auto;
  font-family: 'Titillium Web';
  text-align: center;
  font-weight: 600;
}

#top-boxes-about li {
  height: 80%;
  display: inline-block;
  list-style: outside none none;
  padding: 0;
  position:center;
}

#initialDivAbout {
  width: 100%;
  height:50;
}

.h1About {
  font-size: 26 px;
}


.pstyleAbout {
  font-size: 18px;
}



#rightNim {
  position: relative;
  right: -10000px;
  -webkit-animation: slide 0.5s forwards;
  /*-webkit-animation-delay: 0.05s;*/
  animation: slide 0.5s forwards;
  animation-delay: 0.03s;
}

#rightSRZ {
 position: relative;
 top: -10000px;
 -webkit-animation: slide2 0.5s forwards;
 /*-webkit-animation-delay: 0.05s;*/
 animation: slide2 0.5s forwards;
 animation-delay: 0.03s;
}

@-webkit-keyframes slide {
  100% { right: 0; }
}

@keyframes slide {
  100% { right:0; }
}

@-webkit-keyframes slide2 {
  100% { top: 0; }
}

@keyframes slide2 {
  100% { top: 0; }
}

.overlayli {
  width:50%;
  margin: 0 auto;
  /*border:2px solid rgba(211, 234, 255, 0.671);*/
  background-color: rgba(0, 0, 0, 0.76);
  overflow-y: scroll;
  overflow-x:hidden;
  float:center;
}

.spa {
  color:antiquewhite;
  text-align: justify;
  margin:20px;
}

.en{
  color:#8ad8dd;
  text-align: justify;
  margin:20px;
}

#left-boxAbout2 {
  background-color: rgb(0, 0, 0);
  margin-top: 100px;
}

#left-boxAbout3 {
  background-color: rgb(0, 0, 0);
  margin-top: 100px;
}

.overlayli::-webkit-scrollbar {
  width: 0.1em;
  margin:1px;
}

.overlayli::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.overlayli::-webkit-scrollbar-thumb {
  background-color: rgba(169, 169, 169, 0.541);
  outline: 0.1px solid rgba(112, 128, 144, 0.377);
}

#rightImageOverlay{
  width: 50%;
}

#rightImageOverlay.smallerImg {
  width: 20%;
}

.medialogo {
  width: 30px;
  transition: all 0.3s ease-in-out;
}

.medialogo:hover {
  width: 45px;
  transition: all 0.3s ease-in-out;
}

.smallDivAbout{
  margin-top: 10px;
}


.en a, .spa a {
  color:#03e9f4;
}

.en a:hover, .spa a:hover {
  background: #03e9f4;
  color: #000000;
  border-radius: 5px;
  box-shadow: 0 0 5px #03e9f4,
              0 0 25px #03e9f4,
              0 0 50px #03e9f4,
              0 0 100px #03e9f4;
}

.sideMaps {
  width:75%;
  margin-top:15px;
  transition: all 0.1s ease-in-out;

}

.sideMaps:hover {
  width:85%;
  transition: all 0.1s ease-in-out; 
}


/* Misc */
#masterMisc {
  width:90%;
}


.verticalButtons {
  width: 255px; /* Set a width if you like */
  margin: 0 auto;
  float: center;
  text-align: center;
  
}
.verticalButtons ul{
  margin:0 auto;
  float: left;
  border-right: 0.5px solid rgba(255, 255, 255, 0.685);
}

.verticalButtons li {
  float:center; 
  text-align: center;
  color: rgb(150, 234, 255); /* Black text color */
  margin:0 auto;
  display: block; /* Make the links appear below each other */
  padding: 5px; /* Add some padding */
  text-decoration: none; /* Remove underline from links */
}



#nimKajaxExample{
  background-color: #2f303a;
  padding: 20px;
  border:1px solid white;
}

#nimKajaxExample h1 {
  text-align: left;
  position:relative;
}

#nimKajaxExample input {
  width: 20%;
  height:30px;
  position: relative;
  text-align: left;
  margin: 0 auto;
  float: inline-start;
}

#nimKajaxExample a {
  color:#03e9f4;
}

#nimKajaxExample a:hover {
  background: #03e9f4;
  color: #000000;
  border-radius: 5px;
  box-shadow: 0 0 5px #03e9f4,
              0 0 25px #03e9f4,
              0 0 50px #03e9f4,
              0 0 100px #03e9f4;
}

.resultKajax {
  width: 80%;
  border-bottom: 0.5px solid rgb(194, 246, 253);
  margin-top: 2px;
}

#unamEcoPol{
  text-align: center;
}

.miscLogos {
  float:center;
  width:8%;
}

.miscLogos2 {
  padding:0px;
  margin:0 auto;
  width:0px;
  height:0px;
}

#top-boxes-misc {
  width:100%;
  margin: 0 auto;
  font-weight: 600;
}

#top-boxes-misc li {
  display: inline-block;
  list-style: outside none none;
  padding: 0;
}

.leftMisc {
  width:20%;
  margin: 0 auto;
  /*border:2px solid rgba(211, 234, 255, 0.671);*/
  float:left;
}

.rightMisc {
  width:80%;
  margin: 0 auto;
  padding:5px;
  /*border:2px solid rgba(211, 234, 255, 0.671);*/
  background-color: rgba(0, 0, 0, 0.76);
  float:center;
}

#calendarContainer{
  height:650px;

}

#unamEcoPol{
  position:relative;
  top:-10000px;
  -webkit-animation: slide2 1s forwards;
  /*-webkit-animation-delay: 0.05s;*/
  animation: slide2 1s forwards;
  animation-delay: 0.03s;
}

@-webkit-keyframes slide3 {
  100% { bottom: 0; }
}

@keyframes slide3 {
  100% { bottom:0; }
}


.cld-main{
  width: 100%;
  margin:0 auto;
  float:center;
  text-align: center;
}
.cld-main a{
  color: #7B00FF;
}
  .cld-datetime{
    position: relative;
    width: 76%;
    min-width: 100px;
    max-width: 300px;
    margin: auto;
    overflow: hidden;
  }
  .cld-datetime .today{
    position: relative;
    float: left;
    width: calc(100% - 40px);
    margin: auto;
    text-align: center;
  }
  .cld-nav{
    color:#03e9f4;
    position: relative;
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }
  .cld-nav:hover{
    cursor: pointer;
  }
  .cld-nav:hover svg{
      fill: #666;
  }
  .cld-rwd{
    float: left;
  }
  .cld-fwd{
    float: right;
  }
    .cld-nav svg:hover{

    }
.cld-labels, .cld-days{
  padding-left: 0;
}
  .cld-label, .cld-day{
    box-sizing: border-box;
    display: inline-block;
    width: 14.28%;
    text-align: center;
  }
  .cld-day{
    display: block;
    float: left;
    position: relative;
    margin: 0;
    padding: 5px;
    height: 90px;
    border: 1px solid #ddd;
    overflow-y: auto;

  }
  .cld-day.clickable:hover{
    cursor: pointer;
  }
  .cld-day.today{
    border: 1px solid #7B00FF;
  }
  .cld-day.disableDay{
    opacity: 0.5;
  }
  .cld-day.nextMonth, .cld-day.prevMonth{
    opacity: 0.33;
  }
    .cld-number{
      margin: 0;
      text-align: left;
    }
      .cld-title{
        font-size: 10px;
        display: block;
        margin: 0;
        font-weight: normal;
        list-style-type: circle;        list-style-type: circle;

      }
      .cld-day:hover{
        background: #b9f1ff;
        color:#000000;
      }
      .cld-number.eventday{
        font-weight: bold;

      }
      .cld-number.eventday:hover{
     
      }
      .today .cld-number.eventday:hover{
      }


.cld-title a {
  font-size: 15px;
  padding:12px;
  color:#00ce45;

}

.cld-title a:hover {
  font-size: 18px;
  color: #000000;
  font-weight: bold;
}

#materiales{
  right:-1000px;
  margin-top:10px;
  padding:10px;

}


.downmat{
  text-align: left;
  border:0.5px solid rgb(185, 250, 255);
  color:white;
  width:100%;
  padding:10px;
  float:left;
  margin:1px auto;
  font-size:22px;
  list-style-type: circle;
  list-style: circle;
}

.downmat a{
  color:#8ad8dd;
}


.downmat a:hover {
  background: #03e9f4;
  color: #000000;
  border-radius: 5px;
  box-shadow: 0 0 5px #03e9f4,
              0 0 25px #03e9f4,
              0 0 50px #03e9f4,
              0 0 100px #03e9f4;
}