
/* This class is added on scroll */


body {
	font-family: 'Titillium Web', sans-serif;
	font-size: 16px;
}


.modal {
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,0.8);	
	position: fixed;
	top: 0;
	left: 0;	
	display: block;
	z-index: 999999;

	animation: modal 0.5s 1s forwards;
	visibility: hidden;
	opacity: 0;
}

.contenido {
	position: fixed;
	margin: auto;
	width: 500px;
	height: 700px;
	background: white;
	border-radius: 10px;
	left: 50%;
	top: 50%;
	margin-left: -247px;
	margin-top: -350px;
}

.contenido img {
	height: 700px;
	width: auto;
	padding: 10px;
}

#cerrar {
	display: none;
}

#cerrar + label {
	position: fixed;
    color: #fff;
    font-size: 25px;
    z-index: 9999999;
    background: red;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    cursor: pointer;
    animation: modal 0.7s 1.5s forwards;
    visibility: hidden;
    opacity: 0;
    margin-left: 230px;
    margin-top: -370px;
    text-align: center;
    font-weight: 800;
}

#cerrar:checked + label, #cerrar:checked ~ .modal {
	display: none;
}

@keyframes modal {
	100% {
		visibility: visible;
		opacity: 1;
	}
}






header {
	position: fixed;
	background-color: #ffc989;
	border-bottom: 3px solid white;
	width: 100%;
	z-index: 99999;
}

header .menu {
	max-width: 1400px;
	margin: 0 auto;
	padding-top: 35px; 
	padding-bottom: 30px;
}

header .menu ul {
	width: 1000px;
	margin: 0 auto;
}

header .menu ul li {
	display: inline-block;
}

header .menu ul .espacio {
	width: 240px;
}

header .menu ul li a {
	color: #5f3112;
	text-decoration: none;
	margin: 0px 40px;
	font-weight: 900;
	transition: 0.4s;
}

header .menu ul li .current {
	color: #f86602;
}

header .menu .logo {
	position: absolute;
    width: 170px;
    left: 50%;
    margin-left: -85px;
    bottom: -90px;
    background-color: #ffc989;
    padding: 15px;
    padding-left: 25px;
    border-radius: 100px;
}

header .menu .logo img {
	width: 100%;
}

header .menu ul li a:hover {
	color: #f86602;
}





.redes {
	display: inline-block;
	position: absolute;
	right: 100px;
	top: 30px;
}

.redes a {
	margin-left: 10px;
}

.redes a img {
	width: 25px;
}

.cbp-spmenu-push {
	display: none;
}


#ordina-online {

	background-image: url(../img/ordina-online-background.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	overflow: visible;
	background-color: white;
}

#ordina-online .especiales {
	max-width: 500px;
}

#ordina-online h1 {
	color: #f86602;
	font-weight: 700;
	font-size: 21px;
	text-align: left;
	transform: rotate(-7deg);
	width: 180px;
	margin: 0 auto;
	margin-bottom: 30px;
}

#ordina-online h1 strong {
	font-size: 48px;
	background-image: url(../img/ordina-online-background.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	background-size: cover;
	display: block;
	color: white;
	width: 180px;
	margin: 0 auto;
	padding-top: 15px;
	padding-bottom: 7px;
	transform: rotate(7deg);
	text-align: center;
	margin-top: -5px;
	margin-left: -10px;
}

#ordina-online ul {
	text-align: center;
}

#ordina-online ul li {
	display: inline-block;
	width: 43%;
	margin: 2%;
	color: black;
	text-align: center;
}

a:focus, #ordina-online ul li img:focus, #ordina-online ul li a:focus {
	outline: none !important;
	box-shadow: none;
	border: none;
}

#ordina-online ul li img {
	max-width: 250px;
	width: 100%;
	display: block;
	margin: 0 auto;
	margin-top: 20px;
}

#ordina-online ul .vertical {
	display: inline-block;
    border-left: 2px dashed #f86602;
    width: 5px;
    height: 150px;
    vertical-align: middle;
    margin-bottom: -130px;
}

#ordina-online ul .horizontal {
	display: block;
    border-top: 2px dashed #f86602;
    width: 80%;
    height: 5px;
    margin: 10px auto;
    margin-top: 25px;
  
}

.fancybox-content {
	width: auto;
	padding: 20px !important;
	border-radius: 20px;
}

.fancybox-close-small {
    background: #f86602 !important;
    border-radius: 10px !important;
    top: -15px !important;
    right: -15px !important;
}

.fancybox-button svg {
	color: white;
	font-weight: 700;
}

.fancybox-container {
    z-index: 999999 !important;
}


.cbp-spmenu {
	background-color: #f86602 !important;
}

.cbp-spmenu a {
	color: white !important;
	font-weight: 700 !important;
}

.cbp-spmenu a:hover {
	background-color: #ffc989 !important;
	color: #5f3112 !important; 
}

.cbp-spmenu h3 {
	background-color: rgba(0,0,0,0.2) !important;
	padding-bottom: 10px !important;
}

.cbp-spmenu-vertical a {
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
}





@media (max-width: 1200px) {

.redes {

	right: 20px;

}

header .menu ul {
	text-align: center;
}

header .menu ul li a {
	margin: 0px 20px;
}

header .menu ul .espacio {
	width: 200px;
}

.fancybox-content {
	width: 90%;
	margin-right: 5%;
}

#ordina-online ul li img {
	width: 90%;
	margin-left: 5%;
	margin-top: 30px;
}
}



@media (max-width: 1000px) {
   
   .cbp-spmenu-push {
   	display: block;
   }

   .menu ul {
   	display: none;
   }

   #showLeft {
   	top: -12px;
   }

   .redes {
	top: 20px;
}

#ordina-online {
	z-index: 
}
} 

@media (max-width: 800px) {

#ordina-online ul li img {
	width: 100%;
	margin-left: 0%;
	margin-top: 20px;
}

#ordina-online ul .vertical {

    height: 120px;
    margin-bottom: -100px;
}

}

@media (max-width: 550px) {

	header .menu .logo {
	position: absolute;
    width: 120px;
    left: 50%;
    margin-left: -60px;
    bottom: -60px;
    background-color: #ffc989;
    padding: 10px;
    padding-left: 15px;
    border-radius: 100px;
	}

	#ordina-online ul li {
		font-size: 13px;
	}

	#ordina-online ul .vertical {
		height: 100px;
		margin-bottom: -50px;
	}

	.contenido {
	position: fixed;
	margin: auto;
	width: 290px;
	height: 400px;
	background: white;
	border-radius: 10px;
	left: 50%;
	top: 50%;
	margin-left: -160px;
	margin-top: -200px;
}

.contenido img {
	height: 400px;
}

#cerrar {
	display: none;
}

#cerrar + label {
    font-size: 20px;
    height: 30px;
    width: 30px;
    line-height: 1;
    left: 50%;
    top: 50%;
    cursor: pointer;
    animation: modal 0.7s 1.5s forwards;
    visibility: hidden;
    opacity: 0;
    margin-left: 120px;
    margin-top: -210px;
    text-align: center;
    font-weight: 800;
    padding-top: 5px;
}
}

