
/* OVERLAY */
.overlay {
  height: 100%;
  min-width: 300px;
  max-width: 600px;
  display:none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 7%;
  width: 60%;
  min-width: 500px;
  text-align: center;
  margin: auto;
  margin-top: 30px;
}

.closebtn {
  padding: 8px;
  font-family:sans-serif !important;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.closebtn:hover, .closebtn:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 60px;
}

/* Landscape */
@media screen and (max-height: 450px) {
.overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  z-index: 999;
}

.overlay-content h1 {

font-size: 25px !important;

min-width: auto !important;
}

.overlay-content img {
  
max-width: 200px !important;
  
max-height: 200px !important;
}

.infoLabel {

margin-top: 0px;

}
.overlay-content p {

font-size: 12px;

min-width: auto !important;

width: 80% !important;
}

ul.contact-list {
  
font-size: 13px;
  
min-width: auto !important;
  
width: 80% !important;
}

.contact-list .fa {
  
font-size: 14px !important;
}
}


/* Portrait */
@media screen and (max-width: 500px) {
.overlay .closebtn {
  font-size: 40px;
  top: 0px;
  right: 5px;
  z-index: 999;
}

.overlay-content h1 {

font-size: 22px !important;

width: 85% !important;

min-width: auto !important;

margin-top: 13% !important;
}

.overlay-content img {
  
max-width: 77% !important;
  
max-height: 250px !important;
}

.infoLabel {

margin-top: 0px;

min-width: auto !important;

width: 100% !important;
}
.overlay-content p {

font-size: 13px;

min-width: auto !important;

width: 70% !important;
}

ul.contact-list {
  
font-size: 15px;
  
min-width: auto !important;
  
width: 70% !important;
}

.contact-list .fa {
  
font-size: 14px !important;
}
}

/** FIN OVERLAY **/


.infoLabel {
color:white;

}

.overlay-content h1 {

font-family: 'Oswald';

color: #f1f1f1;

font-size: 39px;

text-align: center;

padding: 1px 0px;

border-bottom: 1px solid #3e3e3e;

margin: auto;

margin-bottom: 3%;

width: 70%;

min-width: 450px;
}

.overlay-content img {

max-width: 400px;

height: auto;

max-height: 350px;

border-radius: 9px;

margin-bottom: 2vh;
}

.overlay-content p {

font-family: 'Open Sans';

font-weight: lighter;

width: 55%;

min-width: 500px;

text-align: left;

margin: auto;

padding: 0px 15px;

border-left: 2px solid #772626;

margin-bottom: 3vh;
}


ul.contact-list {

width: 55%;

min-width: 500px;

margin: auto;

list-style: none;

text-align: left;

padding: 0px 15px;

border-left: 2px solid #35555a;

font-family: 'Oswald';

font-weight: lighter;
}

ul.contact-list a {

min-width: 500px;

margin: auto;

list-style: none;

text-align: left;

padding: 0px 5px;

font-family: 'Oswald';

font-weight: lighter;

text-decoration: underline;

color: white;

}

.contact-list .fa {
margin-right: 5px;
font-size: 18px;
display: inline-flex;
flex-wrap: nowrap;
flex-direction: row;
}


/* SCROLLBAR */
.sbCustom::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 10px;
background-color: #3a3a3a;
}

.sbCustom::-webkit-scrollbar
{
width: 7px;
background-color: #3a3a3a;
}

.sbCustom::-webkit-scrollbar-thumb
{
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #171717d1;
}