.page-header-wrap {
  padding-right: 0px;
  padding-left: 0px;
}
h1.page-header {
  font-weight: 400;
  text-align: center;
}
h1.page-header a small.btn {
  background: #333;
  padding: 0px 10px;
  border-radius: 0;
  top: -10px;
  position: relative;
}
h1.page-header a:hover small.btn {
  background: #ccc;
  color: #000;
}

.container {
  width: 100% !important;
}
.album-cover{
    padding-left: 0;
    padding-right: 0;
	}
	.portfolio-item{
		overflow: hidden;
	}

	.portfolio-item .landscape{
			max-width: 100%;
			width: 100%;

	}
	.portfolio-item .portrait{
			width: 100%;
	}
	.album-cover .img-label{
    color: #ffffff;
    padding-left: 5px;
    font-weight: 300;
	}

#galleryDiv{
	min-height: 300px;
}
.modal-content {
  background: #000;
  border-radius: 0 !important;
}
.modal-title {
  color: #ffffff;
}
.pagination-wrap {
  padding-left: 0;
  padding-right: 0;
  display: block;
  padding-bottom: 0px;
}
.pagination {
  width: 100%;
  border-radius: 0;
  margin: 0 !important;
}
.pagination li {
  width: 50%;
  background: #767676;
  border: 0;
}
.pagination > li > a, .pagination > li > span {
  color: #000000;
  width: 100%;
  border: 0;
  margin-left: 0;
}
.pagination > li:first-child > a, .pagination > li:first-child > span,
.pagination > li:last-child > a, .pagination > li:last-child > span {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#subscribe_btn .btn {
  border-radius: 0 !important;
}

.loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(102, 135, 177, 0.8);
  border-right: 1.1em solid rgba(102, 135, 177, 0.8);
  border-bottom: 1.1em solid rgba(102, 135, 177, 0.8);
  border-left: 1.1em solid rgba(102, 135, 177, 0.2);
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
.loader,
.loader:after {
  border-radius: 50%;
  width: 100px;
  height: 100px;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}



@media screen and (max-width:768px) {

.portfolio-item{
    height: auto;
    overflow: hidden;
    max-height: 350px;
  }

  .portfolio-item .landscape{
      width: 100%;
      height: auto;
  }
  .portfolio-item .portrait{
      width: 100%;
      height: auto;
  }

}



.ekko-lightbox .modal-footer {
  color: #ccc;
}
.ekko-lightbox .modal-footer a {
  color: #aaa;
}

.modal-header .close {

    margin-top: -2px;
    border: 2px solid #fff;
    color: #fff !important;
    width: 40px;
    font-size: 18px;
    line-height: 30px;
  }


/*********************
GALLERY STYLES
*********************/
.fb-album-container { background: rgba(0,0,0, 1) !important; padding-right: 0 !important;
padding-left: 0 !important;}

.fb-album-container h1.page-header {color: #ffffff;}

h3.fb-album-heading, h3.fb-account-heading {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
    margin: 0px;
    margin-left: 10px;
    font-weight: lighter;
    color: #ffffff;
}

h3.fb-album-heading {
    cursor: pointer;
}

ul.fb-albums, ul.fb-photos {
    list-style: none;
    list-style-type: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    margin: 0px;
    padding: 0px;
}

.fb-loading {
    background-color: #f7f7f7;
    border-radius: 6px;
    width: 64px;
    height: 64px;
    background-image: url('loader.gif');
    background-position: center center;
    background-repeat: no-repeat;
}

li.fb-album, li.fb-photo,
.fb-album, .fb-photo {
    display: inline-block;
    height: 230px;
    overflow: hidden;
    padding: 0px !important;
    background-color: #000000;
    /*margin-top: -4px;
    margin-bottom: 3px;
    margin-right: 3px;*/
    background-image: url('loader.gif');
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    border: 1px solid #fff;
    /*border-bottom-style: none;*/
}

    li.fb-photo:hover {
        /*border:2px solid rgba(59,89,152,1);*/
    }

        li.fb-photo:hover .image-check {
            display: block;
        }

    li.fb-photo .image-check {
        display: none;
        position: absolute;
        width: 25px;
        height: 25px;
        background-color: #000000;
    }

        li.fb-photo .image-check.checked {
            display: block;
            background-image: url('/images/check.png');
            background-position: left top;
            background-repeat: no-repeat;
        }

    li.fb-album img {
        display: none;
        margin: 0 !important;
    }

div.fb-album-title {
    color: #ffffff;
    background-color: #000000;//rgba(59,89,152,1);
    position: relative;
    margin-top: 0px;
    padding: 5px;
    bottom: 100%;
    overflow: hidden;
}
.fb-album:hover .fb-album-title {
  display: block !important;
  bottom: 0;
}

div.fb-album-count {
    background-color: rgba(59,89,152,0.8);
    color: #ffffff;
    position: absolute;
    text-align: center;
    padding: 5px;
    margin: 6px;
    display: block;
    min-width: 34px;
    border-radius: 5px;
}

.fb-album-preview {
    display: none;
}

.fb-photo-thumb, .fb-photo-thumb-link {
    border: none;
    text-decoration: none;
    height: 100%;
}

img.fb-albums-list {
    background-color: $gray;
    border: none;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 10px;
    padding: 1px;
    vertical-align: middle;
}


.fb-account-info {
    margin-bottom: 10px;
}

    .fb-account-info img {
        display: inline-block;
        vertical-align: middle;
        border-radius: 3px;
    }

/*Simple lightbox*/
.fb-preview-overlay {
    background-color: rgba(0, 0, 0, 0.7); 
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999;
    background-image: url('loader.gif');
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    text-align: center;
    display: none;
}

.fb-preview-img, .fb-preview-img-prev, .fb-preview-img-next {
    display: inline-block;
    /*display:block;*/
    vertical-align: middle;
}

.fb-preview-img {
    max-width: 100%;
    width: auto;
}

.fb-preview-img-prev, .fb-preview-img-next {
    cursor: pointer;
    display: none;
    margin-top: auto;
    position: absolute;
    top: 50%;
}

.fb-preview-img-prev {
    left: 0;
    float: left;
}

.fb-preview-img-next {
    right: 0;
    float: right;
}

.fb-photo-text {
    display: none;
}

.fb-preview-text {
    display: block;
    background-color: #e1e2e3;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    padding: 6px;
    display: block;
}

    .fb-preview-text a {
        color: rgba(59, 89, 152, 1);
    }


    .fb-preview-content{
         margin-top:30px;
    }
    .fb-like-container{
        display:block;
        float:right;
    }

    .fb-btn-more{
        font-weight:bold;
        display:block;
        color: #000000;
        background: $meta-gray;//rgba(59, 89, 152, 1);
        padding-top:15px;
        padding-bottom: 15px;
        margin-bottom: 15px;
        text-align:center;
        cursor:pointer;

        &:hover {
          background: #767676;
          color: #000000;
        }
    }
    .fb-albums-more{
        display:none;
    }
