/**
 * Portfolio Light Style Theme
 *
 * Responsive Portfolio Image Gallery 1.3 - 10 July, 2025
 * https://www.realwebcare.com/
 */
*, :after, :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0
}
.clearfix:before, .clearfix:after {
    content: " ";
    display: table
}
.clearfix:after {
    clear: both
}
.clearfix {
    zoom: 1
}
#rpgal_grid_demo {
    margin: 20px auto 0
}
.rpgal_grid_demo .og-grid {
    list-style: none;
    padding: 20px 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px
}
.rpgal_grid_demo .og-grid li {
    display: inline-block;
    vertical-align: top;
    overflow: hidden
}
.rpgal_grid_demo .og-grid li.hidden {
    display: none
}
.rpgal_grid_demo .og-grid li>a,
.rpgal_grid_demo .og-grid li>a img {
    border: none;
    outline: none;
    display: block;
    position: relative
}
#rpgal_grid_demo ul.og-grid li .og-pointer {
    top: auto;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: relative;
    pointer-events: none;
    border-bottom-color: #dcdcdc;
    border-width: 15px;
    left: 50%;
    margin: -20px 0 0 -15px
}
#rpgal_grid_demo ul.og-grid li .og-expander {
    position: absolute;
    background: #DCDCDC;
    color: #2a2a2a;
    top: auto;
    left: 0;
    width: 100%;
    margin-top: 0;
    text-align: left;
    height: 0;
    overflow: hidden;
    overflow-y: auto;
}
#rpgal_grid_demo ul.og-grid li .og-expander-inner {
    padding: 30px;
    height: 100%
}
#rpgal_grid_demo ul.og-grid li .og-close {
    background: #999;
    border-radius: 5px;
    position: absolute;
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
    cursor: pointer;
    opacity: .4;
    z-index: 9999
}
#rpgal_grid_demo ul.og-grid li .og-close::before,
#rpgal_grid_demo ul.og-grid li .og-close::after {
    content: '';
    position: absolute;
    width: 70%;
    left: 5px;
    top: 48%;
    height: 3px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg)
}
#rpgal_grid_demo ul.og-grid li .og-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg)
}
#rpgal_grid_demo ul.og-grid li .og-close:hover {
    opacity: .8
}
#rpgal_grid_demo ul.og-grid li .og-fullimg,
#rpgal_grid_demo ul.og-grid li .og-details {
    width: 50%;
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
}
#rpgal_grid_demo ul.og-grid li .og-details li {
    height: auto;
    margin: 0 auto;
    padding: 0 0 5px;
    line-height: normal;
}
#rpgal_grid_demo ul.og-grid li .og-details .infosep {
    border-bottom: 1px solid #c4c4c4;
    box-shadow: 0 1px #e7e7e7;
    margin: 15px 0 10px -15px
}
#rpgal_grid_demo ul.og-grid li .og-details {
    padding: 0 20px;
    overflow-y: auto;

    /* Optional: smooth scroll and scrollbar fade */
    scroll-behavior: smooth;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #c4c4c4 #f0f0f0;
    /* Firefox */
}
/* WebKit (Chrome, Edge, Safari) */
#rpgal_grid_demo ul.og-grid li .og-details::-webkit-scrollbar {
    width: 5px;
}
#rpgal_grid_demo ul.og-grid li .og-details::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 5px;
}
#rpgal_grid_demo ul.og-grid li .og-details::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border-radius: 5px;
    border: 2px solid #f0f0f0;
    /* Creates padding around the thumb */
}
#rpgal_grid_demo ul.og-grid li .og-details::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}
#rpgal_grid_demo ul.og-grid li .og-fullimg {
    text-align: center
}
#rpgal_grid_demo ul.og-grid li .og-fullimg img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%
}
#rpgal_grid_demo ul.og-grid li .og-details h3 {
    font-weight: 300;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 10px
}
#rpgal_grid_demo .og-details p {
    font-weight: 400;
    font-size: 13px;
    line-height: 22px;
    color: #303030;
    margin: 0;
    padding-bottom: 20px
}
#rpgal_grid_demo ul.og-grid li .og-details iframe {
    max-width: 400px;
    max-height: 250px;
    margin-bottom: 0
}
#rpgal_grid_demo ul.og-grid li .og-details a.link-button {
    font-size: 11px;
    padding: 8px 10px;
    background-color: #e7e7e7;
    background: -moz-linear-gradient(top, #e7e7e7 0%, #c4c4c4);
    background: -webkit-gradient(linear, left top, left bottom, from(#e7e7e7), to(#c4c4c4));
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 3px;
    border: 1px solid #c3c3c3;
    text-shadow: 0 -1px 0 rgba(41, 41, 41, 0.7), 0px 1px 0 rgba(3, 3, 3, 0.3);
    white-space: normal;
    word-wrap: normal;
    color: #575757 !important;
    cursor: pointer !important;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
    white-space: normal;
    margin-left: 10px
}
#rpgal_grid_demo ul.og-grid li .og-details a.first {
    margin-left: 0
}
#rpgal_grid_demo ul.og-grid li .og-details a:hover {
    background-color: #dcdcdc;
    background: -moz-linear-gradient(top, #dcdcdc 0%, #c4c4c4 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#dcdcdc), to(#c4c4c4));
    text-decoration: none
}
#rpgal_grid_demo ul.og-grid li .og-details:after,
#rpgal_grid_demo ul.og-grid li .og-details:before {
    content: '';
    position: absolute;
    top: 0;
    background: red;
    width: 1px;
    height: 100%;
    z-index: 9999
}
#rpgal_grid_demo ul.og-grid li .og-details:before {
    border-left: 1px solid #e7e7e7;
    left: 6px
}
#rpgal_grid_demo ul.og-grid li .og-details:after {
    border-right: 1px solid #c4c4c4;
    left: 5px
}
.og-loading {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    -webkit-animation: loader .5s infinite ease-in-out both;
    -moz-animation: loader .5s infinite ease-in-out both;
    animation: loader .5s infinite ease-in-out both
}
@-webkit-keyframes loader {
    0% {
        background: #ddd
    }
    33% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd
    }
    66% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc
    }
}
@-moz-keyframes loader {
    0% {
        background: #ddd
    }
    33% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd
    }
    66% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc
    }
}
@keyframes loader {
    0% {
        background: #ddd
    }
    33% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd
    }
    66% {
        background: #ccc;
        box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc
    }
}
.wagwep-container {
    overflow: hidden
}
.wagwep-container ul#portfolio-filter {
    display: inline-block;
    font-size: 16px;
    list-style: none;
    padding: 10px 0;
    width: auto;
    border-bottom: 1px solid #ddd
}
.wagwep-container ul#portfolio-filter li {
    background: none;
    float: left;
    line-height: 16px;
    margin: 0;
    padding: 10px
}
.wagwep-container ul#portfolio-filter li:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0
}
.wagwep-container ul#portfolio-filter a {
    color: #444;
    text-decoration: none;
    text-transform: capitalize;
    border: 0;
    background: 0;
    margin: 0 10px 10px 0;
    padding: 6px 12px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px
}
.wagwep-container ul#portfolio-filter li.current a, ul#portfolio-filter a:hover {
    text-decoration: none;
    background: #eee;
    color: #222
}
.wagwep-container ul#portfolio-filter li.current a {
    color: #333;
    font-weight: 700;
    background: #666;
    color: #fff
}

/* RPGAL Carousel */
.rpgalslide-list {
    list-style-type: none;
    display: none
}
.no-js .rpgalslide-list {
    display: block
}
.rpgalslide-carousel ul li {
    min-width: 20px
}
.rpgalslide-wrapper {
    position: relative;
    background-color: #dedede;
    margin: 0 auto;
    padding: 10px;
    box-shadow: inset 0 0 10px #999;
    min-height: 150px;
    height: auto;
    overflow: hidden;
}
.rpgalslide-wrapper.rpgalslide-loading {
    background-image: url(../images/loading.gif);
    background-repeat: no-repeat;
    background-position: center center
}
.rpgalslide-horizontal {
    padding: 10px 16px
}
.rpgalslide-vertical {
    padding: 40px 10px
}
.rpgalslide-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.rpgalslide-carousel ul {
    position: relative;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 0;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.rpgalslide-horizontal ul {
    white-space: nowrap
}
.rpgalslide-carousel ul li {
    flex: 0 0 auto;
    max-width: 150px;
    height: auto;
}
.rpgalslide-horizontal ul li {
    height: 100%;
    display: inline-block;
    overflow: visible;
}
.rpgalslide-vertical ul li {
    display: block
}
.rpgalslide-carousel ul li a {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
}
.rpgalslide-carousel ul li a.og-selected {
    overflow: visible;
}
.rpgalslide-carousel ul li a.og-selected::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #999;
    z-index: 2;
}
.rpgalslide-carousel ul li a img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    max-height: 140px;
    box-sizing: border-box;
}
.rpgalslide-wrapper nav span {
    position: absolute;
    background: #999 url(../images/nav.png) no-repeat 4px 3px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    text-indent: -9000px;
    cursor: pointer;
    opacity: .8
}
.rpgalslide-wrapper nav span:hover {
    opacity: 1
}
.rpgalslide-horizontal nav span {
    top: 50%;
    left: 10px;
    margin-top: -11px
}
.rpgalslide-vertical nav span {
    top: 10px;
    left: 50%;
    margin-left: -11px;
    background-position: -17px 5px
}
.rpgalslide-horizontal nav span.rpgalslide-next {
    right: 10px;
    left: auto;
    background-position: 4px -17px
}
.rpgalslide-vertical nav span.rpgalslide-next {
    bottom: 10px;
    top: auto;
    background-position: -17px -18px
}

.rpgal_grid_demo .og-grid li a {
    overflow: hidden
}
.rpgal_grid_demo .og-grid li a.rpgal-more {
    background: transparent;
    margin: 0 5px;
    padding: 0;
}
.rpgal_grid_demo .og-grid li a.unhoverdir {
    overflow: visible
}
.rpgal_grid_demo .og-grid li a figure {
    position: absolute;
    background: #c4c4c4;
    background: rgba(196, 196, 196, 0.7);
    margin: 0;
    width: 100%;
    height: 100%
}
.rpgal_grid_demo .og-grid li a figure span {
    display: block;
    padding: 10px 0;
    margin: 40px 20px 20px;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    text-shadow: 1px 1px 1px rgba(250, 250, 250, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5)
}
.rpgal_grid_demo .og-grid.effect-opacity li.animate {
    -webkit-animation: fadeIn .65s ease forwards;
    -moz-animation: fadeIn .65s ease forwards;
    animation: fadeIn .65s ease forwards
}
@-webkit-keyframes fadeIn {
    to {
        opacity: 1
    }
}
@-moz-keyframes fadeIn {
    to {
        opacity: 1
    }
}
@keyframes fadeIn {
    to {
        opacity: 1
    }
}
.rpgal_grid_demo .og-grid.effect-moveup li.animate {
    -webkit-transform: translateY(200px);
    -moz-transform: translateY(200px);
    transform: translateY(200px);
    -webkit-animation: moveUp .65s ease forwards;
    -moz-animation: moveUp .65s ease forwards;
    animation: moveUp .65s ease forwards
}
@-webkit-keyframes moveUp {
    to {
        -webkit-transform: translateY(0);
        opacity: 1
    }
}
@-moz-keyframes moveUp {
    to {
        -moz-transform: translateY(0);
        opacity: 1
    }
}
@keyframes moveUp {
    to {
        transform: translateY(0);
        opacity: 1
    }
}
.rpgal_grid_demo .og-grid.effect-scaleup li.animate {
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-animation: scaleUp .65s ease-in-out forwards;
    -moz-animation: scaleUp .65s ease-in-out forwards;
    animation: scaleUp .65s ease-in-out forwards
}
@-webkit-keyframes scaleUp {
    to {
        -webkit-transform: scale(1);
        opacity: 1
    }
}
@-moz-keyframes scaleUp {
    to {
        -moz-transform: scale(1);
        opacity: 1
    }
}
@keyframes scaleUp {
    to {
        transform: scale(1);
        opacity: 1
    }
}
.rpgal_grid_demo .og-grid.effect-helix {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px
}
.rpgal_grid_demo .og-grid.effect-helix li.animate {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-animation: helix .8s ease-in-out forwards;
    -moz-animation: helix .8s ease-in-out forwards;
    animation: helix .8s ease-in-out forwards
}
@-webkit-keyframes helix {
    100% {
        -webkit-transform: rotateY(0deg);
        opacity: 1
    }
}
@-moz-keyframes helix {
    100% {
        -moz-transform: rotateY(0deg);
        opacity: 1
    }
}
@keyframes helix {
    100% {
        transform: rotateY(0deg);
        opacity: 1
    }
}
.rpgal_grid_demo .og-grid.effect-popup {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px
}
.rpgal_grid_demo .og-grid.effect-popup li.animate {
    background: none;
    padding: 0;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: scale(0.4);
    -moz-transform: scale(0.4);
    transform: scale(0.4);
    -webkit-animation: popUp .8s ease-in forwards;
    -moz-animation: popUp .8s ease-in forwards;
    animation: popUp .8s ease-in forwards
}
@-webkit-keyframes popUp {
    70% {
        -webkit-transform: scale(1.1);
        opacity: .8;
        -webkit-animation-timing-function: ease-out
    }
    100% {
        -webkit-transform: scale(1);
        opacity: 1
    }
}
@-moz-keyframes popUp {
    70% {
        -moz-transform: scale(1.1);
        opacity: .8;
        -moz-animation-timing-function: ease-out
    }
    100% {
        -moz-transform: scale(1);
        opacity: 1
    }
}
@keyframes popUp {
    70% {
        transform: scale(1.1);
        opacity: .8;
        animation-timing-function: ease-out
    }
    100% {
        transform: scale(1);
        opacity: 1
    }
}
nav#porfolio-nav {
    width: 100%;
    position: relative;
    text-align: center
}
nav#porfolio-nav ul {
    padding: 0;
    margin: 0 auto
}
nav#porfolio-nav li {
    display: inline;
    float: left
}
nav#porfolio-nav li a {
    border-right: 1px solid #576979;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}
nav#porfolio-nav li:last-child a {
    border-right: 0
}
#rpgal_grid_demo h3 {
    margin: 0 0 5px;
    border-bottom: none;
    color: #2a2a2a
}
#rpgal_grid_demo ul.og-grid li {
    margin: 10px 5px 0;
    padding: 0;
    background: none !important
}
#rpgal_grid_demo ul.og-grid li .og-expander .og-details ul li {
    margin: 10px 5px 0;
    padding: 0
}
@media (min-width: 1200px) {
    #rpgal_grid_demo ul.og-grid li .og-expander h3 {
        font-size: 35px
    }
    #rpgal_grid_demo ul.og-grid li .og-expander p {
        font-size: 13px
    }
    #rpgal_grid_demo ul.og-grid li .og-expander a {
        font-size: 12px
    }
}
@media (min-width: 768px) and (max-width: 979px) {
    #rpgal_grid_demo ul.og-grid li .og-expander h3 {
        font-size: 32px
    }
    #rpgal_grid_demo ul.og-grid li .og-expander p {
        font-size: 12px
    }
    #rpgal_grid_demo ul.og-grid li .og-expander a {
        font-size: 11px
    }
    .rpgal_grid_demo .og-grid .sep {
        margin: 20px 10px;
        height: 80%
    }
}
@media (max-width: 767px) {
    #rpgal_grid_demo ul.og-grid li .og-expander h3 {
        font-size: 20px !important
    }
    #rpgal_grid_demo ul.og-grid li .og-expander p {
        font-size: 12px;
        padding-bottom: 5px;
        line-height: 18px
    }
    #rpgal_grid_demo ul.og-grid li .og-expander a {
        font-size: 11px
    }
    .rpgal_grid_demo .og-grid .sep {
        display: none
    }
    #rpgal_grid_demo ul.og-grid li .og-fullimg {
        height: 40%;
        width: 100%
    }
    #rpgal_grid_demo ul.og-grid li .og-details {
        width: 100%;
        margin: 20px auto;
        padding-bottom: 20px;
        height: auto;
    }
    #rpgal_grid_demo ul.og-grid li .og-details:after,
    #rpgal_grid_demo ul.og-grid li .og-details:before {
        content: none
    }
    #rpgal_grid_demo ul.og-grid li .og-details a.link-button {
        padding: 5px 10px
    }
    #rpgal_grid_demo ul.og-grid li .og-details .infosep {
        margin: 7px 0 7px -15px
    }
}
@media screen and (max-width: 600px) {
    nav#porfolio-nav {
        height: auto
    }
    nav#porfolio-nav ul {
        width: 100%;
        display: block;
        height: auto
    }
    nav#porfolio-nav li {
        width: 50%;
        float: left;
        position: relative
    }
    nav#porfolio-nav li a {
        border-bottom: 1px solid #576979;
        border-right: 1px solid #576979
    }
    nav#porfolio-nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px
    }
}
@media only screen and (max-width : 480px) {
    nav#porfolio-nav {
        border-bottom: 0
    }
    nav#porfolio-nav ul {
        height: auto
    }
    #rpgal_grid_demo ul.og-grid li .og-expander h3 {
        font-size: 18px
    }
    #rpgal_grid_demo ul.og-grid li .og-expander-inner {
        padding: 10px
    }
    #rpgal_grid_demo ul.og-grid li .og-fullimg {
        height: 30%;
    }
    #rpgal_grid_demo ul.og-grid li .og-details h3 {
        font-size: 18px;
        margin-bottom: 0
    }
    #rpgal_grid_demo .og-details p {
        padding-bottom: 10px
    }
    #rpgal_grid_demo ul.og-grid li .og-details .infosep {
        margin: 10px 0
    }
}
@media only screen and (max-width : 360px) {
    nav#porfolio-nav li {
        display: block;
        float: none;
        width: 100%
    }
    nav#porfolio-nav li a {
        border-bottom: 1px solid #576979
    }
    #rpgal_grid_demo ul.og-grid li .og-details h3 {
        font-size: 18px;
        margin-bottom: 0
    }
    #rpgal_grid_demo .og-details p {
        padding-bottom: 10px
    }
    #rpgal_grid_demo ul.og-grid li .og-details .infosep {
        margin: 10px 0
    }
    .rpgalslide-horizontal {
        max-height: 120px;
        min-height: auto;
    }
}