/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */




/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}



/* POPUP */
#custom-popup-overlay {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  transition: opacity 0.3s ease;
}

#custom-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
#custom-popup {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #aa2830;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#custom-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
#custom-popup .popup-content {
  position: relative;
  font-size: 16px;
  line-height: 1.5em;
  text-align: center;
  font-family: 'lato', 'HelveticaNeue', 'Helvetica Neue', 'Helvetica-Neue', Helvetica, Arial, sans-serif;
}
#custom-popup #popup-close {
  position: absolute;
  top: -15px;
  right: 5px;
  font-size: 28px;
  font-weight:bold;
  cursor: pointer;
  color: #fff;
}
#custom-popup .popup-content h1 {
    font-size:18px;
    margin:10px 0px 0px 0px;
}
#custom-popup .popup-content p:first-of-type  {
    margin: 0 !important;
}
#custom-popup .popup-content a{	
	color:#ffffff;
	transition: opacity 0.3s ease;
}
#custom-popup .popup-content a:hover{
	opacity: 0.8;
}
@media (max-width: 480px) {
  #custom-popup {
    padding: 15px;
    font-size: 14px;
  }
}

/* Botones sin redondeado extremo */
#top #wrap_all .avia-slideshow-button,
#top .avia-button,
.html_elegant-blog .more-link,
.avia-slideshow-arrows a:before {
    border-radius: 0px !important;
}
#top .avia-slideshow-button {
    font-family: 'lato', 'HelveticaNeue', 'Helvetica Neue', 'Helvetica-Neue', Helvetica, Arial, sans-serif;
    font-size:16px;
}