:root{--static-accent:#9f8f58}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
img{max-width:100%;height:auto}
a[href=""],a[href^="http://www.malagaphoto.es"],a[href^="http://malagaphoto.es"]{pointer-events:none}
#main-wrapper{min-height:100vh}
.pswp{display:none!important}
#all{overflow:visible;width:100%}
#all .list{display:flex!important;align-items:center;justify-content:center;gap:12px;flex-wrap:nowrap;padding:14px 12px!important;margin:0!important;width:100%!important;box-sizing:border-box}
#all .list li{display:flex;align-items:center;float:none!important;margin:0!important}
#all .list a{display:inline-block;font-size:16px!important;letter-spacing:3px!important;margin-left:4px!important;margin-right:4px!important;padding:8px!important;white-space:nowrap}
#all .list img{cursor:pointer;max-width:260px;padding-left:20px!important;padding-right:20px!important}
.static-form-note,.static-map-note{border:1px solid #ddd;padding:18px 20px;margin:20px 0;background:#fff;color:#333}
.be-button-wrap .be-button{
  background-color:#e8e8e8!important;
  color:#000!important;
}
.be-button-wrap .be-button[href="#"],
.be-button-wrap .be-button.static-section-active{
  background-color:#ced8ff!important;
  color:#000!important;
}
.be-button-wrap .be-button:hover{
  background-color:#d8d8d8!important;
  color:#222!important;
}
.be-button-wrap .be-button[href="#"]:hover,
.be-button-wrap .be-button.static-section-active:hover{
  background-color:#ced8ff!important;
}
.thumb-title-wrap,
.full-screen-portfolio-overlay-title,
.pswp__caption__center{
  background:rgba(0,0,0,.68)!important;
  color:#fff!important;
}
.thumb-title-wrap{
  padding:10px 14px!important;
}
.thumb-title-wrap .thumb-title,
.thumb-title-wrap .portfolio-item-cats{
  color:#fff!important;
  text-shadow:none!important;
}
a[data-static-lightbox="true"]{
  cursor:zoom-in;
}
.tabs a[data-static-lightbox="true"],
a.hoverZoomLink[data-static-lightbox="true"]{
  display:inline-block!important;
  vertical-align:top;
  line-height:0;
}
.tabs a[data-static-lightbox="true"] img,
a.hoverZoomLink[data-static-lightbox="true"] img{
  float:none!important;
  display:block!important;
}
.static-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.88);
  padding:48px 72px;
  box-sizing:border-box;
}
.static-lightbox.is-open{display:flex}
.static-lightbox__figure{
  position:relative;
  width:auto;
  max-width:calc(100vw - 144px);
  max-height:calc(100vh - 96px);
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}

.static-lightbox__image{
  display:block;
  max-width:calc(100vw - 144px);
  max-height:calc(100vh - 138px);
  width:auto;
  height:auto;
  object-fit:contain;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.static-lightbox__caption{
  min-height:1.25em;
  max-width:100%;
  max-height:28vh;
  visibility: hidden;
  overflow:auto;
  padding:9px 14px;
  background:rgba(0,0,0,.72);
  color:#fff;
  font:400 13px "Open Sans",Arial,sans-serif;
  line-height:1.45;
  text-align:center;
  box-sizing:border-box;
}
.static-lightbox__button{
  position:fixed;
  border:0;
  background: transparent;
  color:#fff;
  cursor:pointer;
  width:44px;
  height:44px;
  line-height:44px;
  text-align:center;
  font-size:30px;
  font-family:Arial,sans-serif;
}
.static-lightbox__button:hover{}
.static-lightbox__close{top:16px;right:16px}
.static-lightbox__prev{left:16px;top:50%;transform:translateY(-50%)}
.static-lightbox__next{right:16px;top:50%;transform:translateY(-50%)}
.static-lightbox__counter{
  position:fixed;
  left:18px;
  top:18px;
  color:#fff;
  font:400 12px Arial,sans-serif;
  letter-spacing:1px;
  visibility: hidden;
}
body.static-lightbox-open{overflow:hidden}
.tabs .be-tab-content{display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;overflow:hidden!important}
.tabs .be-tab-content.static-tab-active{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;overflow:visible!important}
.tabs .be-tab-content.static-tab-active *{visibility:visible!important}
.be-tab-header a.static-tab-active{
  
  color:#222!important;
}
@media (max-width: 900px){
  #header-wrap_rmv{height:auto!important}
  #all .list{gap:10px;flex-wrap:wrap}
  #all .list li img{max-width:150px;padding-left:8px!important;padding-right:8px!important}
  h1{font-size:34px!important;line-height:1.2!important}
  h2{font-size:28px!important;line-height:1.25!important}
  .be-custom-column-pad{padding-left:18px!important;padding-right:18px!important}
  table,tbody,tr,td{max-width:100%!important}
  td{display:block;width:auto!important;height:auto!important}
  [style*="position: absolute"]{position:static!important;width:auto!important;padding-left:0!important}
  .static-lightbox{padding:46px 16px 18px}
  .static-lightbox__figure{max-width:calc(100vw - 32px);max-height:calc(100vh - 64px)}
  .static-lightbox__image{max-width:calc(100vw - 32px);max-height:calc(100vh - 118px)}
  .static-lightbox__close{top:8px;right:8px}
  .static-lightbox__prev{left:8px}
  .static-lightbox__next{right:8px}
  .static-lightbox__counter{left:10px;top:12px; visibility: hidden;}
}
