@font-face {
  font-family: lobster;
  src: url(../fonts/Lobster.ttf) format('truetype');
}
body{
  background:#ecf0f1;
}
.other-page-con {
  padding:30px 0 50px 0;
}
.other-page-con .folder-container{
  background:#fff;
  padding:10px 10px;
  width:100%;
}
.folder-container{
  margin-bottom:10px;
}

.folder-container ul{
  list-style: none;
  padding:0 0 0 0;
  margin:0 0 0 0;
}
.folder-container ul li{
  display: inline-block;
  font-size:11px;
  color:rgba(0,0,0,0.40);
}
.folder-name{
  width:100%;
  text-align:center;
  margin-bottom:30px;
}
.folder-name a{
  color:rgba(0,0,0,0.40);
  font-size: 12px;
}
.thumbnail-wpr {
  position: relative;
  width:100%;
  padding-top:100%;
  overflow: hidden;
  border:1px solid #ecf0f1;
}
.thumbnail-wpr img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  max-width: none;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.thumbnail-wpr img.portrait {
  width: 100%;
  height: auto;
}

/*This is for modal*/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding:2% 0;
}

/* Modal Content/Box */
.modal-content {
    background-color: none;
    margin:0 auto; /* 15% from the top and centered */
    width: auto; /* Could be more or less, depending on screen size */
    max-width: 80%;
    position:relative;

}

.modal-photo-content{
    float:left;
    position:relative;
    background:#fefefe;
    width:30%;
    display: none;
}
.modal-photo-wpr{
  float:left;
  background:#000;
  width:100%;
  padding-top:56%;
  position:relative;
}
.modal-photo-wpr .modal-photo-container{
  height:100%;
  width:100%;
  position:absolute;
  top:0;
  left:0;
  text-align: center;
}
.modal-photo-wpr .modal-photo-container img{
  vertical-align: middle;
  max-height:100%;
  width:100%;
  height:auto;
  width:auto;
}
/* The Close Button */
.close {
  font-size: 28px;
  font-weight: bold;
  top: 0;
  line-height: 1.2em;
  margin-right: 0.3em;
  position: absolute;
  color:rgba(225,225,225,0.30);
  right: 0;
  z-index: 1;
}
.close:hover,
.close:focus {
    color:rgba(225,225,225,0.70);
    text-decoration: none;
    cursor: pointer;
}
#myPhotoModal{
  padding-top: 20px;
  padding-bottom: 20px;
  height: 90%;
  top: 6% !important;
  width: 100%;
  max-width: 90%;
  max-height: 90%;
  background:#fff !important;
  margin-left:auto;
  margin-right:auto;
}
#myPhotoModal .orbit{
  max-height: 100% !important;
  height: 100% !important;
}
#myPhotoModal .orbit .orbit-container{
  max-height: 100% !important;
  height: 100% !important;
}
#myPhotoModal .orbit-container button{
  color:#d3ca84 !important;
}
#myPhotoModal .orbit-container button:hover{
  background-color:#d3ca84 !important;
  color:#fff !important;
}

#myPhotoModal .orbit .orbit-container .orbit-slide{
  position: relative;
  text-align: center;
  vertical-align: middle;
  height: 100%!important;
  max-height: 100% !important;
  border: 1px solid #d3ca84;
}
#myPhotoModal .orbit-slide .slide-img img{
  height:auto;
  width:auto;
  max-height:100%;
  max-width:100%;
}
.orbit-slide .slide-img{
  width:100%;
  display: inline-table;
  position: relative;
  height: 100%;
  padding:20px 20px 20px 20px;
}
@media only screen and (max-width: 768px){
  #myPhotoModal {
      height: 50% !important;
      max-height: 50% !important;
      top: 20% !important;
  }
}
@media only screen and (max-width: 375px){
  #myPhotoModal {
      height: 50% !important;
      max-height: 50% !important;
      top: 20% !important;
      min-height: auto !important;
  }
}
@media only screen and (max-width: 412px){
  #myPhotoModal {
      height: 50% !important;
      max-height: 50% !important;
      top: 20% !important;
      min-height: auto !important;
  }
}
@media only screen
and (min-width: 414px)
and (max-width: 736px)
and (orientation: portrait){
    .modal-content {
        background-color: none;
        margin:50% auto 0 auto; /* 15% from the top and centered */
        width: auto; /* Could be more or less, depending on screen size */
        max-width: 100%;
        position:relative;
    }
    #myPhotoModal {
      top: 20% !important;
      min-height: auto;
    }
}
@media only screen
and (min-width: 414px)
and (max-width: 736px)
and (orientation: landscape){
    .modal-content {
        background-color: none;
        margin:2% auto 0 auto; /* 15% from the top and centered */
        width: auto; /* Could be more or less, depending on screen size */
        max-width: 90%;
        position:relative;
    }
    #myPhotoModal {
      top: 6% !important;
      min-height: none;
      height:90% !important;
      max-height: 90% !important;
      overflow: hidden;
    }
}
@media only screen
and (min-width: 375px)
and (max-width: 667px)
and (orientation: portrait){
    .modal-content {
        background-color: none;
        margin:50% auto 0 auto; /* 15% from the top and centered */
        width: auto; /* Could be more or less, depending on screen size */
        max-width: 100%;
        position:relative;
    }
}
@media only screen
and (min-width: 375px)
and (max-width: 667px)
and (orientation: landscape){
    .modal-content {
        background-color: none;
        margin:2% auto 0 auto; /* 15% from the top and centered */
        width: auto; /* Could be more or less, depending on screen size */
        max-width: 90%;
        position:relative;
    }
}
@media only screen
and (min-width: 320px)
and (max-width: 568px)
and (orientation: portrait){
    .modal-content {
        background-color: none;
        margin:50% auto 0 auto; /* 15% from the top and centered */
        width: auto; /* Could be more or less, depending on screen size */
        max-width: 100%;
        position:relative;
    }
}
@media only screen
and (min-width: 320px)
and (max-width: 568px)
and (orientation: landscape){
    .modal-content {
        background-color: none;
        margin:2% auto 0 auto; /* 15% from the top and centered */
        width: auto; /* Could be more or less, depending on screen size */
        max-width: 90%;
        position:relative;
    }
}
