@import url('https://fonts.googleapis.com/css2?family=Asap&display=swap');

html { height: 100%; }

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body {
	font-family: 'Asap', sans-serif;
	font-weight: 400;
	font-size: 100%;
	color: #333;
	height: 100%;
}

.js body {
	overflow: hidden;
}

a {
	color: #555;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: #000;
}

.container,
.bb-custom-wrapper,
.bb-bookblock {
	width: 100%;
	height: 100%;
}

.container {
	position: relative;
	left: 0px;
	-webkit-transition: left 0.3s ease-in-out;
	-o-transition: left 0.3s ease-in-out;
	transition: left 0.3s ease-in-out;
}

.slideRight {
	left: 240px;
}

.no-js .container {
	padding-left: 240px;
}

.menu-panel {
	background: #004798;
	width: 240px;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.js .menu-panel {
	position: absolute;
	left: -240px;
}

.menu-panel h3 {
	font-size: 1.8em;
	padding: 20px;
	font-weight: 300;
	color: #fff;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
} 

.content h3{
	margin-top: 8px;
	padding: 0px;
	margin-bottom: -3px;
}

.menu-toc {
	list-style: none;
}

.menu-toc li a {
	display: block;
	color: #fff;
	font-size: 1.1em;
	line-height: 1.2;
	padding: 15px 15px;
	cursor: pointer;
	background: #004798;
	border-bottom: 1px solid #ee4a00;
}

.menu-toc li a:hover,
.menu-toc li.menu-toc-current a{
	background: #ee4a00;
}

.menu-panel div {
	margin-top: 20px;
}

.menu-panel div a {
	text-transform: uppercase;
	font-size: 0.7em;
	line-height: 1;
	padding: 5px 20px;
	display: block;
	border: none;
	color: #bc0b0b;
	letter-spacing: 1px;
	font-weight: 800;
	text-shadow: 0 1px rgba(255,255,255,0.2);
} 

.menu-panel div a:hover {
	background: inherit;
	color: #fff;
	text-shadow: none;
}

.bb-custom-wrapper nav {
	top: 20px;
	left: 60px;
	position: absolute;
	z-index: 1000;
}

.bb-custom-wrapper nav span,
.menu-button {
	position: absolute;
	width: 50px;
	height: 50px;
	top: 0;
	left: 20px;
	background: #004798;
	border-radius: 50%;
	color: #fff;
	line-height: 45px;
	text-align: center;
	speak: none;
	font-weight: bold;
	cursor: pointer;
	font-size: 200%;
}

.bb-custom-wrapper nav span:hover,
.menu-button:hover {
	background: #ee4a00;
}

.bb-custom-wrapper nav span:last-child {
	left: 80px;
}

.menu-button {
	z-index: 1000;
	left: 20px;
	top: 20px;
	text-indent: -9000px;
}

.menu-button:after {
	position: absolute;
	content: '';
	width: 50%;
	height: 2px;
	background: #fff;
	top: 50%;
	margin-top: -1px;
	left: 25%;
	box-shadow: 0 -4px #fff, 0 4px #fff;
}

.menu-panel div{
	width: 100%;
	text-align: center;
}

.menu-panel div img{
	width: 90%;
	margin: 20px auto;
}

@media screen and (max-width: 1400px){
	.menu-panel div{
		margin-top: 5px;
	}
	.menu-panel div a{
		line-height: 0.7em;
		padding: 5px;
		letter-spacing: 0px;
	}
	.menu-panel div img{
		width: 70%;
		margin: 5px auto;
	}

	.menu-toc li a {
		font-size: 1.2em;
		line-height: 1.2;
		padding: 15px;
		cursor: pointer;
		background: #004798;
		border-bottom: 1px solid #ee4a00;
	}
}

@media screen and (max-width: 800px){
	.menu-panel div{
		margin-top: 5px;
	}
	.menu-panel div a{
		line-height: 0.7em;
		padding: 5px;
		letter-spacing: 0px;
	}
	.menu-panel div img{
		width: 60%;
		margin: 5px auto;
	}

	.menu-toc li a {
		font-size: 1.2em;
		line-height: 1.2;
		padding: 10px;
		cursor: pointer;
		background: #004798;
		border-bottom: 1px solid #ee4a00;
	}
}

.no-js .bb-custom-wrapper nav span,
.no-js .menu-button {
	display: none;
}

.js .content {
	position: absolute;
	top: 70px;
	left: 0;
	width: 100%;
	bottom: 50px;
	overflow: hidden;
	-webkit-font-smoothing: subpixel-antialiased;
}

.scroller {
	padding: 10px 5% 10px 5%;
}

.js .content:before,
.js .content:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 20px;
	z-index: 100;
	pointer-events: none;
	background: none;
}

.js .content:after {
	top: auto;
	bottom: 0;
}

.content h2 {
	font-weight: 300;
	font-size: 2em;
	padding: 0 0 10px;
	color: #333;
	margin: 0 1% 40px;
	text-align: left;
	box-shadow: 0 10px 0 rgba(0,0,0,0.02);
	text-shadow: 0 0 2px #fff;
}

.no-js .content h2 {
	padding: 40px 1% 20px;
}

.content p {
	font-size: 1.2em;
	line-height: 1.6;
	font-weight: 300;
	padding: 0px 0px 0px 30px;
	text-align: justify;
	margin-bottom: 0px;
}

@media screen and (max-width: 800px){
	.no-js .menu-panel {
		display: none;
	}

	.no-js .container {
		padding: 0;
	}
}

@media screen and (max-width: 400px){
	.menu-panel,
	.content {
		font-size: 75%;
	}
}

.logo{
	width: 13%;
	right: 10px;
	top: 10px;
	z-index: 999;
	position: absolute;
}

.logo img{
	width: 100%;
}

@media screen and (max-width: 800px){
	.content h2 {
		font-weight: 300;
		font-size: 3em;
		padding: 0 0 10px;
		color: #333;
		margin: 0 1% 40px;
		text-align: left;
		box-shadow: 0 10px 0 rgba(0,0,0,0.02);
		text-shadow: 0 0 2px #fff;
	}

	.logo{
		width: 30%;
	}
}

.galeria{
	width:100%;
      height: auto;

      /* flexbox setup */
      display: -webkit-flex;
      display: flex;
      flex-wrap: wrap;
      padding: 0px;
}

.galeria .gallery{
	flex: 15%;
	max-width: 17%;
	justify-content: center;

    margin: 10px;
    background: #e7fdfd;
}

.galeria .gallery:hover {
  box-shadow: 0px 0px 12px hsl(0, 0%, 70%);
  transition: all 0.4s;
}

.galeria .gallery img {
  width: 100%;
  height: 90%;
  object-fit: cover;
}

.galeria .gallery .desc {
  text-align: center;
  padding-top: 6px;
  height: 10%;
}

.galeria .gallery .desc span {
	font-weight: bold;

}

@media screen and (max-width: 1200px){
	.galeria .gallery{
		flex: 31%;
		max-width: 33%;
		margin: 7px;
	}
	.galeria .gallery img{
		height: 88%;
	}
	.galeria .gallery .desc {
	  font-size: 10pt;
	}
}

@media screen and (max-width: 800px){
	.galeria .gallery{
		flex: 45%;
		max-width: 50%;
		margin: 7px;
	}
	.galeria .gallery img{
		height: 83%;
	}
	.galeria .gallery .desc {
	  font-size: 8pt;
	}
}

.saluda1{
	width: 20%;
	float: left;
}

.saluda1 img{
	width: 100%;
}

.saluda2{
	width: 80%;
	float: left;
}

.galeriada{
	width:100%;
      height: auto;

      /* flexbox setup */
      display: -webkit-flex;
      display: flex;
      flex-wrap: wrap;
      padding: 0px;
}

.galeriada .gallery{
	flex: 15%;
	max-width: 17%;
	justify-content: center;

    margin: 10px;
    background: #e7fdfd;
}

.galeriada .gallery:hover {
  box-shadow: 0px 0px 12px hsl(0, 0%, 70%);
  transition: all 0.4s;
}

.galeriada .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1200px){
	.galeriada .gallery{
		flex: 31%;
		max-width: 33%;
		margin: 7px;
	}
	.galeriada .gallery img{
		height: 100%;
	}
}

@media screen and (max-width: 800px){
	.galeriada .gallery{
		flex: 45%;
		max-width: 50%;
		margin: 7px;
	}
	.galeriada .gallery img{
		height: 100%;
	}
}

.galeriaa{
	width:100%;
      height: auto;

      /* flexbox setup */
      display: -webkit-flex;
      display: flex;
      flex-wrap: wrap;
      padding: 0px;
}

.galeriaa .gallery{
	flex: 15%;
	max-width: 17%;
	justify-content: center;

    margin: 10px;
    background: #e7fdfd;
}

.galeriaa .gallery:hover {
  box-shadow: 0px 0px 12px hsl(0, 0%, 70%);
  transition: all 0.4s;
}

.galeriaa .gallery img {
  width: 100%;
  height: 85%;
  object-fit: cover;
}

.galeriaa .gallery .desc {
  text-align: center;
  padding-top: 2px;
  height: 15%;
}

.galeriaa .gallery .desc span {
	font-weight: bold;

}

@media screen and (max-width: 1200px){
	.galeriaa .gallery{
		flex: 31%;
		max-width: 33%;
		margin: 7px;
	}
	.galeriaa .gallery img{
		height: 85%;
	}
	.galeriaa .gallery .desc {
	  font-size: 10pt;
	}
}

@media screen and (max-width: 800px){
	.galeriaa .gallery{
		flex: 45%;
		max-width: 50%;
		margin: 7px;
	}
	.galeriaa .gallery img{
		height: 80%;
	}
	.galeriaa .gallery .desc {
	  font-size: 7pt;
	  height: 18%;
	}
}

.portada{
	height:100%;
}

.portada img{
	max-width: 100%;
	height: 100%;
}
@media screen and (orientation: landscape){
	.portada{
		text-align: center;
	}
 	.portada img{
 		max-width: 40%;
 		height: 80vh;
 	}
}

.icon-holder{
	width: 15%;
	position: absolute;
	z-index:999;
	float: right;
	right: 20%;
	top:20%;
	display: none;
}

@media screen and (orientation: portrait){
	.icon-holder{
		width: 30%;
		right:15%;
	}
}

#Christmas_Lights {
  height: 50%;
  margin: 0;
  position: absolute;
  width: 50%;
  z-index: 101;
  left: 25%;
}

@media screen and (max-width: 800px){

	#Christmas_Lights {
	  display: none;
	}

	.container h2{
		font-size: 2em;
	}
}


.light_cord {
  fill: none;
  stroke: #174700;
}

.light_fixture {
  fill: #134413;
}

.red_bulb {
  fill: #CA2128;
  stroke: #6D6D6D;
  stroke-miterlimit: 10;
}

.green_bulb {
  fill: #2D754A;
  stroke: #6D6D6D;
  stroke-miterlimit: 10;
}

.blue_bulb {
  fill: #2C3EA8;
  stroke: #6D6D6D;
  stroke-miterlimit: 10;
}

.white_bulb {
  fill: #F5EED7;
  stroke: #6D6D6D;
  stroke-miterlimit: 10;
}

.gold_bulb {
  fill: #ffcc5e;
  stroke: #6D6D6D;
  stroke-miterlimit: 10;
}


/* Simply changing the opacity of the SVG fill to create the glow effect for the bulbs */

.bulb {
  -webkit-animation-duration: 0.5s;
  -webkit-animation-name: glow;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-direction: alternate;
  animation-name: glow;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

@-webkit-keyframes glow {
  0% {
    fill-opacity: 0.25;
  }
  100% {
    fill-opacity: 1
  }
}

@keyframes glow {
  0% {
    fill-opacity: 0.25;
  }
  100% {
    fill-opacity: 1.0
  }
}


/* Made a set of ten animation delays to create a more random effect of lights blinking.  Simplest way without jumping through SVG hoops. */

.blink-1 {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.blink-2 {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

.blink-3 {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

.blink-4 {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}

.blink-5 {
  -webkit-animation-delay: 2.5s;
  animation-delay: 2.5s;
}

.blink-6 {
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}

.blink-7 {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

.blink-8 {
  -webkit-animation-delay: .2s;
  animation-delay: .2s;
}

.blink-9 {
  -webkit-animation-delay: 0.95s;
  animation-delay: 0.95s;
}

.blink-10 {
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}