/* FW Gallery Styles */

/* Fonts */
@font-face{
    font-family: 'CeraPro';
    src: url('../fonts/CeraPro-Bold.otf') format('truetype');
    font-weight: bold;
}

#fwgallery {
    color: #898989;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    font-weight: 300;
}

#fwgallery .fwg-page-header h2 {
    color: #000;
    margin: 2rem 0;
    padding: 2rem 0 0;
    font-family: 'CeraPro';
    font-size: 2rem;
    line-height: 2rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    text-transform: uppercase;
}
#fwgallery .fwg-page-header h2::before {
    width: 3rem;
    height: 4px;
    content: "";
    position: absolute;
    left: calc(50% - 1.5rem);
    top: 4.15rem;
    background: #00E14F;
}
#fwgallery .fwg-page-header h2::after {
    color: #F1F1F1;
    content: attr(data-title);
    font-family: 'CeraPro';
    font-weight: bold;
    font-size: 4rem;
    width: 100%;
    text-align: center;
    position: absolute;
    left: 0;
    top: 1.4rem;
    text-transform: uppercase;
    z-index: -1;
}
#fwgallery .fwg-toolbar {
    margin: 2rem 0 1.5rem;
    line-height: 2rem;
    font-size: .95rem;
}
#fwgallery .fwg-more-block {
    text-align: center;
    padding: 1rem 0;
    line-height: 1;
}
#fwgallery .fwg-more-block a {
    color: #00E14F;
    font-weight: normal;
}

/* Standard Galleries Styles */
#fwgallery .fwg-galleries .fwg-toolbar {
    padding: 2rem 0 1rem;
}
#fwgallery .fwg-galleries .fwg-page-header h2 {
    margin: -2rem 0 0;
}

/* Standard Gallery Styles */
#fwgallery .fwg-gallery {
    margin-bottom: 2rem;
}
#fwgallery .fwg-gallery .fwg-page-header h2 {
    margin-bottom: 1.5rem;
}
#fwgallery .fwg-gallery-info {
    font-size: 95%;
    margin-bottom: .75rem;
}
#fwgallery .fwg-gallery-thumb {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
}
#fwgallery .fwg-gallery-thumb a {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
#fwgallery .fwg-gallery-thumb a img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: all .3s linear;
}
#fwgallery .fwg-gallery-thumb a:hover img {
    /* object-fit: contain; */
    transform: scale(1.25);
    transition: all .3s linear;
}
#fwgallery .fwg-gallery-thumb a figcaption {
    width: 90%;
    height: 90%;
    margin: 5%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s linear;
    border: 1px solid rgba(255,255,255,.5);
}
#fwgallery .fwg-gallery-thumb a:hover figcaption {
    border-color: rgba(255,255,255,1);
    background: rgba(0, 0, 0, 0.5);
    transition: all .3s linear;
}
#fwgallery .fwg-gallery-thumb a figcaption > div {
    opacity: 0;
    height: 100%;
    transition: all .3s linear;
}
#fwgallery .fwg-gallery-thumb a:hover figcaption > div {
    opacity: 1;
    transition: all .3s linear;
}

#fwgallery .fwg-gallery-text {
    padding: .5em;
}
#fwgallery .fwg-gallery-text-title div {
    color: #383838;
    margin: 0 0 .75rem;
    padding: .7rem 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    display: block;
    position: relative;
    z-index: 0;
}
#fwgallery .fwg-gallery-text-title div::before {
    width: 1.25rem;
    height: 4px;
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    background: #00E14F;
}
#fwgallery .fwg-gallery-text-title div::after {
    color: #F1F1F1;
    content: attr(data-text);
    font-family: 'Arial';
    font-weight: bold;
    font-size: 3.1rem;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}
#fwgallery .fwg-gallery-text-info i {
    font-size: .9rem;
}
#fwgallery .fwg-gallery-text-description {
    margin-top: 1rem;
    padding-top: .85rem;
    position: relative;
}
#fwgallery .fwg-gallery-text-description::before {
    width: 40%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    background: #E8E8E8;
}
#fwgallery .fwg-gallery-text-hover {
    color: #898989;
    height: 100%;
    padding: 0;
    background: #fff;
    overflow: hidden;
}
#fwgallery .fwg-gallery-text-hover .fwg-gallery-text-wrapper {
    padding: 1em;
}
#fwgallery .fwg-gallery-text-hover .fwg-gallery-text-description {
    height: 100%;
    color: #333;
    margin-top: 0;
    padding: .75rem .5rem;
    line-height: 1.4;
    font-size: .95rem;
    background: #F5F5F5;
}
#fwgallery .fwg-gallery-text-hover .fwg-gallery-text-description::before {
    content: none;
}

/* Standard Gallery Items Styles */
#fwgallery figure {
    margin: 0;
}
#fwgallery .fwg-toolbar .fwg-back2gallery {
    color: #898989;
    position: relative;
    padding-left: 1.75rem;
}
#fwgallery .fwg-toolbar .fwg-back2gallery::before {
    color: #00E14F;
    position: absolute;
    top: -35%;
    left: 0;
    font-family: "Font Awesome 5 Pro";
    font-size: 1.5rem;
    content: '\f177';
}
#fwgallery .fwg-gallery-items {
    margin: 0 0 2.5em;
}
#fwgallery .fwg-gallery-item a {
    display: block;
    padding-top: 100%;
    overflow: hidden;
    position: relative;
}
#fwgallery .fwg-gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#fwgallery .fwg-gallery-item figcaption {
    color: #898989;
    font-size: .85rem;
    line-height: 1.4;
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    margin: 5%;
    background: #fff;
    opacity: 0;
    overflow: hidden;
    transition: all .3s linear;
}
#fwgallery .fwg-gallery-item:hover figcaption {
    opacity: 1;
    transition: all .3s linear;
}
#fwgallery .fwg-gallery-item-text {
    padding: 1rem;
}
#fwgallery .fwg-gallery-item-type {
    color: #00E14F;
    font-size: 1.6rem;
    margin: .5rem 0;
    line-height: 1;
    text-align: center;
}
#fwgallery .fwg-gallery-item-title {
    color: #383838;
    margin: .5rem 0 .25rem;
    font-size: 1.5rem;
    font-weight: 400;
}
#fwgallery .fwg-gallery-item-voting i {
    color: #00E14F;
    margin: 0 0 .5rem;
}
#fwgallery .fwg-gallery-item-tags {
    text-transform: lowercase;
    margin: 0 0 .35rem;
}
#fwgallery .fwg-gallery-item-description {
    height: 100%;
    color: #555;
    padding: .5rem 1rem;
    line-height: 1.4;
    font-size: .9rem;
    background: #F5F5F5;
}


/* Masonry Gallery Items Styles */
#fwgallery.fwg-masonry .fwg-single-gallery-item figcaption {
    color: #fff;
    padding: 1rem;
}
#fwgallery.fwg-masonry .fwg-single-gallery-item figcaption .fwg-item-type i {
    font-size: 3rem;
}


/* Pinterest Gallery Items Styles */
#fwgallery.fwg-pinterest .fwg-gallery-frame {
    width: calc(100% - 30px);
    margin: 0 15px;
    left: 6px;
    top: -6px;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    transform: none !important;
    border: 2px solid #000;
}
#fwgallery.fwg-pinterest .fwg-gallery-padding-frame {
    padding: 0;
    border: 5px solid #000;
}
#fwgallery.fwg-pinterest .fwg-gallery-frame:nth-child(2) {
    left: 3px;
    top: -3px;
}
#fwgallery.fwg-pinterest .fwg-gallery-thumb figcaption {
    border: 0;
}
#fwgallery.fwg-pinterest .fwg-single-gallery-item {
    border: 5px solid #000;
}
#fwgallery.fwg-pinterest .fwg-single-gallery-item figcaption {
    color: #555;
}
#fwgallery.fwg-pinterest .fwg-single-gallery-item .fwg-item-title {
    color: #000;
    font-weight: normal;
    text-transform: uppercase;
}
#fwgallery.fwg-pinterest .fwg-single-gallery-item .fwg-item-description {
    color: #8e9095;
    font-size: .95rem;
}
#fwgallery.fwg-pinterest .fwg-item-video figure:hover:after,
#fwgallery.fwg-pinterest .fwg-item-image figure:hover:after {
    content: "\f01d";
    display: block;
    position: absolute;
    left: calc(50% - 25px);
    top: 3rem;
    width: 50px;
    height: 50px;
    font: 50px/100% 'Font Awesome 5 Pro';
    font-weight: 300;
    color: white;
    z-index: 10;
}
#fwgallery.fwg-pinterest .fwg-item-image figure:hover:after {
    content: "\f06e";
}


/* Polaroids Gallery Items Styles */
#fwgallery.fwg-polaroids .fwg-gallery-padding-frame {
    padding: 1rem;
    border: 1.25px solid #d5d8dd;
}
#fwgallery.fwg-polaroids .fwg-gallery-padding-frame figcaption {
    border: 0;
}


/* Classic Gallery Items Styles */
#fwgallery.fwg-classic .fwg-gallery-frame {
    display: none;
}
#fwgallery.fwg-classic .fwg-gallery-thumb {
    padding-top: 70%;
}
#fwgallery.fwg-classic .fwg-gallery-padding-frame {
    padding: 0;
    border: 0;
}
#fwgallery.fwg-classic .fwg-gallery-padding-frame figcaption {
    border: 0;
}
#fwgallery.fwg-classic .fwg-gallery-text {
    padding: .75rem 1.5rem;
    border: 1px solid #d5d8dd;
    border-top: 0;
}
#fwgallery.fwg-classic .fwg-gallery-text .fwg-gallery-text-title {
    font-weight: 400;
    text-transform: uppercase;
}
#fwgallery.fwg-classic .fwg-gallery-text .fwg-gallery-text-title div {
    margin-bottom: 0;
}
#fwgallery.fwg-classic .fwg-gallery-text .fwg-gallery-text-title div::before {
    content: none;
}
#fwgallery.fwg-classic .fwg-single-item figure {
    width: 100%;
    padding-top: 70%;
    position: relative;
    overflow: hidden;
}
#fwgallery.fwg-classic .fwg-single-item figure img {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#fwgallery.fwg-classic .fwg-single-item figcaption {
    padding: 1rem;
    color: #fff;
}
#fwgallery.fwg-classic .fwg-single-item figcaption .fwg-item-type {
    font-size: 1.5rem;
    line-height: 1;
}
#fwgallery.fwg-classic .fwg-single-item figcaption .fwg-item-title {
    font-size: 1.15rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: .25rem;
}
#fwgallery.fwg-classic .fwg-single-item figcaption .fwg-item-voting {
    color: #00E14F;
}
#fwgallery.fwg-classic .fwg-single-item figcaption .fwg-item-tags {
    font-size: .85rem;
}
#fwgallery.fwg-classic .fwg-single-item figcaption .fwg-item-description {
    margin-top: .5rem;
    font-size: .9rem;
    line-height: 1.25;
}
#fwgallery.fwg-classic .fwg-preview-description a {
    color: #00E14F;
}
#fwgallery.fwg-classic .fwg-preview-description > div {
    margin-bottom: .75rem;
}
#fwgallery.fwg-classic .fwg-preview-description .fwg-social a {
    color: #fff;
}
#fwgallery.fwg-classic .fwg-preview-description a.btn-primary {
    color: #333;
    margin: 1rem 0 0;
    background: #FECB52;
    border-color: #FECB52;
    border-radius: 0;
    text-transform: uppercase;
}

/* Stanard Gallery Single Item */
#fwgallery .fwg-single-item {}
#fwgallery .fwg-single-item-image {
    height: 100%;
    text-align: center;
    max-height: 50vh;
}
#fwgallery .fwg-single-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
#fwgallery .fwg-single-item-details {
    padding: 0 0 0 1.5rem;
}
#fwgallery .fwg-single-item-details a {
    color: #00E14F;
}
#fwgallery .fwg-item-details-row {
    margin-top: .75rem;
    padding: .75rem 0 0;
    position: relative;
}
#fwgallery .fwg-item-details-row::before {
    position: absolute;
    content: '';
    height: 1px;
    width: 5rem;
    background: #F3F3F3;
    top: 0;
    left: 0;
}
#fwgallery .fwg-item-details-line {
    margin-top: .5rem;
}
#fwgallery .fwg-single-item-details-share a {
    display: inline-block;
    width: 1.75rem;
    height: 1.75rem;
    margin-right: .4rem;
    font-size: 1.75rem;
    line-height: 1;
    vertical-align: middle;
}
#fwgallery .fwg-single-item-details-download a {
    color: #fff;
    margin: 1.5rem 0 .5rem;
    padding: 1rem 4rem 1rem 3rem;
    line-height: 1.25rem;
    font-size: 1.25rem;
    text-decoration: none !important;
    position: relative;
    display: inline-block;
    background: #00E14F;
}
#fwgallery .fwg-single-item-details-download a::before {
    position: absolute;
    right: -4px;
    top: -4px;
    content: '';
    width: 3.75rem;
    height: 3.75rem;
    border: 1px solid #00E14F;
}
#fwgallery .fwg-single-item-details-download a::after {
    position: absolute;
    right: 1.6rem;
    top: 1.06rem;
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    font-size: 1.5rem;
}
#fwgallery .fwg-single-item-navigation {
    margin: 2rem 0;
    padding: 0 3.5rem;
    position: relative;
}
#fwgallery .fwg-single-item-navigation-link {
    width: 3.5rem;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
#fwgallery .fwg-single-item-navigation-link a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
#fwgallery .fwg-single-item-navigation-link a i {
    width: 100%;
    color: #00E14F;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
#fwgallery .fwg-single-item-navigation-link.fwg-nav-right {
    left: auto;
    right: 3.5rem;
    text-align: right;
}
#fwgallery .fwg-single-item-slider {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}
#fwgallery .fwg-single-item-slider-object {
    width: 200px;
    padding-top: 200px;
    position: relative;
    display: inline-block;
}
#fwgallery .fwg-single-item-slider-object img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s linear;
}
#fwgallery .fwg-single-item-slider-object:hover img,
#fwgallery .fwg-single-item-slider-object.active img {
    margin: 10%;
    width: 80%;
    height: 80%;
    box-shadow: 0 0 10px #333;
    transition: all .3s linear;
}


/* Stanard Gallery Single Item Lightbox */
.mfp-wrap .mfp-content {
    position: relative;
    max-height: 100vh !important;
}
.mfp-wrap .mfp-content #fwgallery .fwg-single-item,
.mfp-wrap .mfp-content #fwgallery .fwg-single-item h2 {
    margin-top: 0;
}
.mfp-wrap .mfp-content #fwgallery .fwg-single-item {
    padding-top: 2rem;
}
.mfp-wrap .mfp-content #fwgallery .fwg-single-item-wrapper > div {
    max-height: 45vh;
}
.mfp-wrap .mfp-content #fwgallery .fwg-single-item-navigation {
    margin: 0;
    padding: 2rem 3.5rem;
    max-height: 35vh;
}
.mfp-wrap .mfp-close {
    color: #333;
    top: .5rem;
    right: 1rem;
}


/* Column styles */
#fwgallery .fwg-cols-1 .col {
    min-width: 100%;
    max-width: 100%;
}
#fwgallery .fwg-cols-2 .col {
    min-width: 50%;
    max-width: 50%;
}
#fwgallery .fwg-cols-3 .col {
    min-width: 33.3%;
    max-width: 33.3%;
}
#fwgallery .fwg-cols-4 .col {
    min-width: 25%;
    max-width: 25%;
}
#fwgallery .fwg-cols-5 .col {
    min-width: 20%;
    max-width: 20%;
}
#fwgallery .fwg-cols-6 .col {
    min-width: 16.66%;
    max-width: 16.66%;
}

/* Pagination */
#fwgallery .fwg-pagination ul {
    margin: 0 auto 2rem;
    padding: 0;
}
#fwgallery .fwg-pagination ul li {
    list-style: none;
    padding: 1rem;
    display: inline-block;
    line-height: 2rem;
    overflow: hidden;
    position: relative;
}
#fwgallery .fwg-pagination ul li a {
    color: #00E14F;
    font-size: 1.33rem;
}
#fwgallery .fwg-pagination ul li span.pagenav {
    color: #383838;
    font-size: 2rem;
}
#fwgallery .fwg-pagination ul li.pagination-start span.pagenav,
#fwgallery .fwg-pagination ul li.pagination-prev span.pagenav,
#fwgallery .fwg-pagination ul li.pagination-next span.pagenav,
#fwgallery .fwg-pagination ul li.pagination-end span.pagenav {
    color: #ddd;
}
#fwgallery .fwg-pagination ul li.pagination-start span.pagenav,
#fwgallery .fwg-pagination ul li.pagination-prev span.pagenav,
#fwgallery .fwg-pagination ul li.pagination-next span.pagenav,
#fwgallery .fwg-pagination ul li.pagination-end span.pagenav,
#fwgallery .fwg-pagination ul li.pagination-start a,
#fwgallery .fwg-pagination ul li.pagination-prev a,
#fwgallery .fwg-pagination ul li.pagination-next a,
#fwgallery .fwg-pagination ul li.pagination-end a {
    text-indent: -200px;
    display: block;
    width: 2rem;
    font-size: 1.5rem;
}
#fwgallery .fwg-pagination ul li.pagination-start span.pagenav::before,
#fwgallery .fwg-pagination ul li.pagination-prev span.pagenav::before,
#fwgallery .fwg-pagination ul li.pagination-next span.pagenav::before,
#fwgallery .fwg-pagination ul li.pagination-end span.pagenav::before,
#fwgallery .fwg-pagination ul li.pagination-start a::before,
#fwgallery .fwg-pagination ul li.pagination-prev a::before,
#fwgallery .fwg-pagination ul li.pagination-next a::before,
#fwgallery .fwg-pagination ul li.pagination-end a::before {
    position: absolute;
    left: 220px;
    top: .75rem;
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
}
#fwgallery .fwg-pagination ul li.pagination-start span.pagenav::before,
#fwgallery .fwg-pagination ul li.pagination-start a::before {
    content: "\f100";
}
#fwgallery .fwg-pagination ul li.pagination-prev span.pagenav::before,
#fwgallery .fwg-pagination ul li.pagination-prev a::before {
    content: "\f177";
}
#fwgallery .fwg-pagination ul li.pagination-next span.pagenav::before,
#fwgallery .fwg-pagination ul li.pagination-next a::before {
    content: "\f178";
}
#fwgallery .fwg-pagination ul li.pagination-end span.pagenav::before,
#fwgallery .fwg-pagination ul li.pagination-end a::before {
    content: "\f101";
}

/* FW Gallery Content Plugin */
#fwgallery.fwg-plugin-wrapper {
    margin: .5rem .75rem;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
#fwgallery.fwg-plugin-wrapper.float-left {
    margin-left: 0;
}
#fwgallery.fwg-plugin-wrapper.float-right {
    margin-right: 0;
}

/* one image lightbox */
.mfp-content #fwgallery .fwg-single-item {
    background-color: #ffffff;
    padding: 0 20px;
}
.mfp-content #fwgallery .fwg-toolbar a {
    display: none;
}

/* one image zoom button */
#fwgallery .fwg-zoom { display: block; position: absolute; z-index: 1; top: 0; right: 0; width: 40px; height: 40px; line-height: 40px; font-size: 18px; background-color: #444649; font-family: "Font Awesome 5 Pro"; text-align: center; text-decoration: none; color: #00E14F;}
#fwgallery .fwg-zoom:before { content: "\f00e"; }

/* one video view */
.fwg-single-item-video,
.fwg-single-item-video iframe,
.fwg-single-item-video object {
    height: 100%;
    width: 100%;
}

#fwgallery .fwg-fm-tabbody {
    margin-top: 20px;
}

#fwgallery .fwg-single-item.fwg-loading:after {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/ajax-loader.gif) transparent 50% 50% no-repeat;
}

/* Large devices (desktops, less than 1200px)*/
@media (max-width: 1199px) {
}
/* Medium devices (tablets, less than 992px)*/
@media (max-width: 991px) {
    #fwgallery .fwg-cols-4 .col,
    #fwgallery .fwg-cols-5 .col,
    #fwgallery .fwg-cols-6 .col {
        min-width: 33.3%;
        max-width: 33.3%;
    }

}
/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767px) {
    #fwgallery .fwg-cols-3 .col,
    #fwgallery .fwg-cols-4 .col,
    #fwgallery .fwg-cols-5 .col,
    #fwgallery .fwg-cols-6 .col {
        min-width: 50%;
        max-width: 50%;
    }
}
/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575px) {
    #fwgallery .fwg-cols-2 .col,
    #fwgallery .fwg-cols-3 .col,
    #fwgallery .fwg-cols-4 .col,
    #fwgallery .fwg-cols-5 .col,
    #fwgallery .fwg-cols-6 .col {
        min-width: 100%;
        max-width: 100%;
    }
}
