.w100{
width:100%!important;
}

.paleobreadcrumb{
color:#155584;
font-size:1.2em;
}

.paleobreadcrumb a{
color:#155584;
text-decoration:none;
}

.paleobreadcrumb a:after{
content:" > ";
}

.paleobreadcrumb a:last-child:after{
content:none;
}

ul.paleoancmenu{
margin-left:1.5em;
list-style:none;
}

ul.paleoancmenu>li{
font-size:1.2em;
}

ul.paleoancmenu>li:before {
    content:'';
    display:inline-block;
    height:1.1em;
    width:1.1
    em;
    background:url(../imag/ico-martillo.svg) 98% center no-repeat;
    background-size: contain;
    background-repeat:no-repeat;
    margin-right:0.5em;
}

.subcatlist{
width:100%;
display:inline-block;
text-align:center;
margin-top:1em;
}

.subcatlist ul{
display:inline-block;
width:100%;
margin:0;
padding:0;
list-style:none;
}

.subcatlist ul li{
margin-left:0.5em;
text-align:left;
display:inline-block;
width:24%;
margin-bottom:0.5em;
vertical-align:top;
background:url(../imag/ico-compass.svg) left 0.1em no-repeat;
background-size:1.2em 1.2em;
padding-left:1.8em;
border-bottom:1px dotted #525252;
padding-bottom:0.5em;
float:left;
}

.subcatlist ul li:last-child{
  float:left;
  margin-left: 0.9em;
}

.notas{
margin-top:1em;
}

.explicoamp, .explicopic{
padding-left:2em;
}

.explicoamp{
background:url(../imag/ico-pict-text.svg) left center no-repeat;
bacground-size:2em 1.5em;
}

.explicopic{
background:url(../imag/ico-pict-dexc.svg) left center no-repeat;
bacground-size:2em 1.5em;
}

.pictscont{
text-align:center;
width:100%;
}

.pictscont .pictbox{
display:inline-block;
padding:0.5em;
box-sizing:border-box;
max-width:315px;
vertical-align:top;
position:relative;
}

.pictbox .leyenda{
position:absolute;
width:98%;
}

.pictscont .pictbox.videos img{
width:100%;
min-width:260px;
}

.pictscont .pictbox.videos .videoenl:after{
content:" ";
position:absolute;
left:50%;
top:35%;
transform:translate(-50%, -50%);
background:url(../imag/ico-play.svg) center center no-repeat;
background-size:100%;
width:3.5em;
height:3.5em;
}

.videopop{
position:fixed;
top:0;
bottom:0;
right:0;
left:0;
background-color:rgba(0,0,0,0.75);
z-index:9999;
}

.videopop a{
position:relative;
width:2em;
height:2em;
display:block;
float:right;
position:relative;
margin-right:2em;
margin-top:1em;
}

.videopop a:after{
content:" ";
background:url(../imag/ico-close.svg) center center no-repeat;
background-size:100%;
width:3em;
height:3em;
display:block;
}

.videopop .video-responsive{
text-align:center;
position:absolute;
transform:translate(-50%,-50%);
top:50%;
left:50%;
display:block;
}

.leyenda .imgexptxt, .leyenda .imgexptxtimg{
margin:0.3em 0.3em 0 0;
}

.pictscont .pictbox a{
-webkit-box-shadow: 4px 4px 8px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    4px 4px 8px 0px rgba(50, 50, 50, 0.75);
box-shadow:         4px 4px 8px 0px rgba(50, 50, 50, 0.75);
display:inline-block;
margin-bottom:0.5em;
}

.pictscont .pictbox a.video{
-webkit-box-shadow:initial;
-moz-box-shadow:initial;
box-shadow:initial;
display:inline-block;
margin-bottom:0.5em;
background:url(../imag/ico-video.svg) left center no-repeat;
background-size:1em;
padding-left:1.5em;
}

.pictbox .pictit{
font-size:1em;
}

.pictscont .pictbox a img.paleogalpict{
width:100%;
height:auto;
}

/* Ficha */
.picdestcont .pictlayoutcont{
width:100%;
text-align:center;
position:relative;
}

.picdestcont .paleogalphottxtbt{
font-size:1.3em;
text-align:center;
display:inline-block;
margin:initial;
font-weight:initial;
position:initial;
text-shadow:initial;
line-height:initial;
background:initial;
background-color:initial;
border:initial;
padding:initial;
color:#525252;
border-radius:initial;
box-shadow:initial;
margin-bottom:0.5em;
}

.pictlayoutcont .paleogalphottxtb{
font-size:1.4em;
text-align:center;
display:inline-block;
}

#pictlayer{
display:inline-block;
-webkit-box-shadow: 4px 4px 8px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    4px 4px 8px 0px rgba(50, 50, 50, 0.75);
box-shadow:         4px 4px 8px 0px rgba(50, 50, 50, 0.75);
position:relative;
}

#pictlayer img{
width:800px;
height:auto;
}

#pictlayer img.limagenc{
min-height:200px;  
}

#imgexplainb,#imgexplainc{
position:absolute;
left:0;
top:0;
z-index:1;
display:none;
}

#pictlayer .botonexp{
position:absolute;
right:1em;
top:1em;
z-index:2;
color:#fff;
background-color:rgba(53,86,129,0.8);
display:inline-block;
padding:0.5em 1em;
-webkit-border-radius:30px;
-moz-border-radius:30px;
border-radius:30px;
text-decoration:none;
}

#pictlayer .botonexp:hover{
background-color:rgba(53,86,129,0.5);
}

#pictlayer .picdetin{
display:inline-block;
position:absolute;
z-index:4;
-webkit-box-shadow:4px 4px 8px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:4px 4px 8px 0px rgba(50, 50, 50, 0.75);
box-shadow:4px 4px 8px 0px rgba(50, 50, 50, 0.75);
transition:all 0.5s ease-in;
width:50px;
}

#pictlayer .picdetin.cien{
width:360px;
left:27%!important;
top:20%!important;
text-decoration:none;
}

#pictlayer .picdetin::before{
content:" ";
position:absolute;
left:35%;
bottom:-10px;
background:url(../imag/hand.svg) center center no-repeat;
width:2em;
height:2em;
}

#pictlayer .picdetin.on::before{
content:"X";
color:#fff;
font-size:1.2em;
z-index:2;
background-color:#000;
background-image:none;
padding:0.3em;
display:block;
left:95%;
top:-20px;
position:absolute;
-webkit-border-radius:50%;
-moz-border-radius:50%;
border-radius:50%;
animation:1s cerrarfi;
animation-fill-mode:forwards;
visibility:hidden;
}

@keyframes cerrarfi{
  99% {
    visibility:hidden;
  }
  100% {
    visibility:visible;
  }
}

#pictlayer .picdetin img{
width:100%;
border:1px solid rgba(255,255,255,0.6);
}

#pictlayer .picdetin p.pictxtdet{
width:100%;
background-color:#fff;
display:none;
text-decoration:none;
color:#525252;
text-align:left;
padding:0.5em;
font-size:1.1em;
cursor:default;
margin-bottom:0;
}

#pictlayer .picdetin p.pictxtdet:hover{
cursor:default;
text-decoration:none;
}


.picdestcont .pictdesc{
width:90%;
margin:0 auto;
text-align:left;
margin-top:1em;
font-size: 1.2em;
font-weight: 300;
}

.picdestcont .pictdesc p{
font-size:1.1em;
font-weight:300;
}

.pictlayoutcont .pictnavpv{
display:inline-block;
margin-top:1em;
font-size:1.1em;
position:absolute;
top:50%;
width:920px;
left:50%;
transform:translate(-50%,-50%);
}

.pictnavpv .prev,
.pictnavpv .sig{
background-color:rgba(53,86,129, 0.8);
position:relative;
width:2.5em;
height:2.5em;
-webkit-border-radius:50%;
-moz-border-radius:50%;
border-radius:50%;
display:block;
}

.pictnavpv .prev{
float:left;
}

.pictnavpv .sig{
float:right;
}

.pictnavpv .prev::after{
content:" ";
background:url(../imag/flecha-izda.svg) center center no-repeat;
width:2.5em;
height:2.5em;
display:block;
}

.pictnavpv .sig::after{
content:" ";
background:url(../imag/flecha-dcha.svg) center center no-repeat;
width:2.5em;
height:2.5em;
display:block;
}

#pictlayer>.prev, #pictlayer>.sig {
background-color:rgba(60,60,60, 0.6);
position:absolute;
top:45%;
width:2em;
height:2em;
display:block;
z-index:10;
}

#pictlayer>.prev{
left:0.5em;
}

#pictlayer>.sig{
right:0.5em;
}

#pictlayer>.prev::after{
content:" ";
background:url(../imag/flecha-izda.svg) center center no-repeat;
width:2em;
height:2em;
display:block;
}

#pictlayer>.sig::after{
content:" ";
background:url(../imag/flecha-dcha.svg) center center no-repeat;
width:2em;
height:2em;
display:block;
}


/* Intro galería */
.lyprovs{
margin-left:20px;
padding-left:0;
float:left;
width:35%;
}

.lyprovs>ul{
padding-left:0;
list-style:none;
}

.lyprovs>ul::after,
.lyprovs>ul::before {
display:table;
content:" ";
}

.lyprovs>ul>li{
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
background-color: #fff;
border:0;
width:33.33333333%;
float:left;
text-align:left;
}

.lyprovs>.lpcountry{
border-bottom:1px solid #525252;
margin-top:0.5em;
}

#gmapsly{
margin-top:1em;
width:770px;
height:570px;
border:1px solid #000;
float:left;
margin-left:1.5em;
}

/* Búscador */
.rounded-left{
-webkit-border-top-left-radius: 5px!important;
-webkit-border-bottom-left-radius: 5px!important;
-moz-border-radius-topleft: 5px!important;
-moz-border-radius-bottomleft: 5px!important;
border-top-left-radius: 5px!important;
border-bottom-left-radius: 5px!important;
}

.ui-menu .ui-menu-item a{
  padding-left:0.5em;
}

.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}

.ui-autocomplete > li > div {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
  cursor: pointer;
}

.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

#btirgaleria{
background-color:#0069d9;
border-color:#0062cc;
}

#btirgaleria>a{
color:#fff;
}

#btirgaleria>a,
#btirgaleria>a:hover
{
text-decoration:none;
}

.leaflet-container a.leaflet-popup-close-button{
color:#000;
}

.pictpop .tit>.lugar{
font-size:1.3em;
color:#23527c;
}

.pictpop .desc{
font-size:1.2em;
}

.pictpop .pictlnkgal{
position:relative;
top:0.5em;
font-size:1.1rem;
}

.pictpop .pictlnkgal::before{
content:" ";
background:url(../imag/ico-camara.svg) left center no-repeat;
background-size:100%;
width:1.5em;
height:1.7em;
display:block;
position:absolute;
left:-2em;
top:-0.4em;
}

@media screen and (max-width: 1024px) {

  .subcatlist ul li{
    width:32%;
  }

}

@media screen and (max-width: 800px) {

  .subcatlist ul li{
    width:48%;
  }

}

@media screen and (max-width: 480px) {

  .subcatlist ul li{
    width:100%;
  }

  #gmapsly{
    width:100%;
    margin-left:0;
  }

  .lyprovs{
    width:100%;
    margin-left:0;
    padding-right:0;
  }

  .lyprovs>ul>li{
    padding-top:0;
  }

  .modally>div{
    width:90%!important;
  }

  .modally>div>img{
    width:100%;
  }

  #picload>img{
    top:0!important;
  }

  #pictlayer{
    max-width:90%;
  }

  #pictlayer img {
  	width:100%;
  	height:100%;
  }

  #pictlayer .botonexp{
  	font-size:0.8em;
  }

  .pictlayoutcont .pictnavpv{
    position: absolute;
    top:59%;
    display: inline-block;
    height: initial;
    margin-top: 0;
    bottom: initial;
    width: 100%;
  }

  .pictnavpv .prev,
  .pictnavpv .sig{
  	width:1.5em;
  	-webkit-border-radius:0;
  	-moz-border-radius:0;
  	border-radius:0;
    top:50%;
  }

  .pictnavpv .prev{
  	margin-left:-0.65em;
  }

  .pictnavpv .sig{
  	margin-right:-0.75em;
  }

  .pictnavpv .prev::after,
  .pictnavpv .sig::after{
  	width:1.5em;
  }

  #pictlayer .picdetin.cien {
    width: 90%;
    left: 0 !important;
  }

}
