.cd-fixed-bg {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  z-index: 2;
}
.cd-fixed-bg a {color:#000;}
.cd-fixed-bg div {
/*    
  position: absolute;
  left: 50%;
  top: 30%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
 */
  overflow: auto;
  width: 95%;
  height: auto;
  max-width: 1170px;
  text-align: left;
  font-size: 30px;
  font-size: 2.575rem;
  /*text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); */
  color: white;
  background: transparent; 
  border: 6px lined #fff;
  margin: 0px;
  padding-top: 0%;
}
.cd-fixed-bg > .items {
    margin: 0px auto;
    padding-bottom:5%;
    display:block;
}
.cd-fixed-bg > .items2 {
    margin: 0px auto;
    padding: 3px;
    display:block;
    background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNgYGCoBwAAhACA4hd0BQAAAABJRU5ErkJggg%3D%3D") top left repeat;
    -webkit-box-shadow: inset 0px 3px 3px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0px 3px 3px 1px rgba(0,0,0,0.3);
    box-shadow: inset 0px 3px 3px 1px rgba(0,0,0,0.3);    
}
@media(min-width:568px) and (max-height:480px) {
 .cd-fixed-bg div {
   top: 58%;
   overflow: auto;     
 }
} 
@media only screen and (min-width: 768px) {
 .cd-main-content {
    height: 100%; 
 }
 .cd-fixed-bg div {
   top: 58%;
   overflow: auto;     
 }
}
@media only screen and (min-width: 1170px) {
 .cd-main-content {
    height: 100%; 
 }
 .cd-fixed-bg div {
   top: 38%;
   overflow: auto;    
 }    
}
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 768px;
  margin: 0 auto; 
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}
@media (max-width: 768px) {
  ul.gallery li{width:135px;height:160px;padding:5px;margin:7px 5px 5px 7px}
  .cd-fixed-bg ul {width:100%!important}
  ul.gallery{font-size:12px;}      
}
@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
  ul.gallery li{width:200px;height:190px;padding:5px;margin:15px 15px 15px 0px}
  .cd-fixed-bg ul {width:100%!important}    
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
  ul.gallery li{width:200px;height:190px;padding:5px;margin:15px 15px 15px 0px}
  .cd-fixed-bg ul {width:100%!important}     
}
ul.gallery{list-style:none;list-style-image:none;list-style-type:none;font-size:16px;padding-left:5%;}
ul.gallery li{display:block;float:left;text-align:left;background-color:#fff;color:#000}
ul.gallery li h4 {margin-top:0px}
ul.gallery li img {width:200px;margin:0px 0;}
 .cd-main-content ul, .cd-fixed-bg ul {display:relative;margin:auto auto}
