
.swiper-container {
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 15px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.portfolio-1-columns .portfolio-item {
    width: 100%;
}

.portfolio-item {
    width: 100%;
    float: left;
    height: auto;
    padding: 0 0 20px 0;
    cursor: pointer;
}

.portfolio-item a:not(.btn) {
    color: #484848;
}

.portfolio-item .portfolio-item-wrap {
    position: relative;
    overflow: hidden;
}

.portfolio-item .portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-item .portfolio-image:after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    transition: all .3s ease;
    opacity: 0;
    content: ' ';
    z-index: 2;
}

.portfolio-item .portfolio-image img {
    position: relative;
    transition: all .5s ease-out;
    width: 100%;
    z-index: 1;
    display: block;
    height: auto;
}

.portfolio-item .portfolio-description {
    left: 0;
    margin: 0 auto;
    padding: 20px;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 48%;
    transform: translate3d(0, -38%, 0);
    transition: all 250ms ease-in-out 0s;
    visibility: hidden;
    width: 70%;
    z-index: 3;
}

.portfolio-item .portfolio-description a {
    margin: 3px;
}

.portfolio-item .portfolio-description a i {
    background-color: #fff;
    color: #484848;
    border-radius: 50%;
    color: #444;
    font-size: 18px;
    height: 40px;
    line-height: 40px!important;
    width: 40px;
    transition: all 250ms ease-in-out 0s;
    border: 1px solid #ededed;
}

.portfolio-item .portfolio-description a:hover i {
    background-color: #036;
    color: #fff;
    border: 1px solid #036;
}

.portfolio-item .portfolio-description a>i {
    font-size: 14px!important;
}

.portfolio-item:not(.no-overlay):hover .portfolio-image:after {
    opacity: .5;
}

.portfolio-item:not(.no-overlay):hover .portfolio-description {
    transform: translate3d(0, -50%, 0);
    opacity: 1;
    visibility: visible;
}

.portfolio-item.img-zoom .portfolio-image img {
    transform: scale(1);
}

.portfolio-item.img-zoom:hover .portfolio-image img {
    transform: scale(1.1);
}

[class^=niafam] {
    display: inline-block;
}

.visible {
    opacity: 1;
}

.icon {
    margin-bottom: 16px;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

[data-animate] {
    opacity: 0;
}

[data-animate].visible {
    opacity: 1;
}

i.niafam {
    font-family: website-icons!important;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.niafam-calendar:before {
    content: "\e93a";
}

.niafam-fullscreen:before {
    content: "\e913";
}

.niafam-link:before {
    content: "\e921";
}

.niafam-play-stroke:before {
    content: "\e900";
}

.niafam-camera:before {
    content: "\e905";
    position: absolute;
    left: 25%;
    top: 20%;
}

.niafam-report:before {
    content: "\e917";
}




.portfolio-item .portfolio-image img {
    transition: all cubic-bezier(.17, .84, .44, 1) .3s;
}

*,
 ::after,
 ::before {
    box-sizing: border-box;
}

.cd-main-content.sub-nav-hero :target::before {
    display: block;
    content: "";
    margin-top: -50px;
    height: 50px;
    visibility: hidden;
}

@media only screen and (min-width:1024px) {
    .cd-main-content.sub-nav-hero :target::before {
        margin-top: -70px;
        height: 70px;
    }
}

.heading-section.heading-section-one .heading-area {
    margin-bottom: 30px;
    position: relative;
}

.heading-section.heading-section-one .heading-area .title {
    position: relative;
    padding-right: 20px;
    display: inline-flex;
}

.heading-section.heading-section-one .heading-area .title::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--default-red-color);
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 50px;
}

.heading-section.heading-section-one .heading-area .title h2 {
    font-weight: 700;
    font-size: 1.125em;
    color: var(--default-title-color);
    position: relative;
    float: right;
}

.heading-section.heading-section-one .heading-area .title.title-white h2 {
    color: #fff;
}

.heading-section.heading-section-one .heading-area .title h2::after {
    content: '\e901';
    font-family: website-icons;
    position: absolute;
    left: -30px;
    color: #5d5f5d;
    font-size: .75em;
    top: 50%;
    transform: translateY(-50%);
}

.heading-section.heading-section-one .heading-area .title .heading-groups ul {
    margin-right: 40px;
}

.heading-section.heading-section-one .heading-area .title .heading-groups ul li {
    float: right;
}

.heading-section.heading-section-one .heading-area .title .heading-groups ul li a {
    color: var(--default-title-color);
    font-size: 14px;
    font-weight: 400;
    padding: 5px 15px;
    transition: all cubic-bezier(.17, .84, .44, 1) .3s;
}

.heading-section.heading-section-one .heading-area .title.title-white .heading-groups ul li a {
    color: #fff;
}



.dots-top-left .owl-dots {
    position: absolute;
    bottom: 15px;
    left: 20px;
}

.gallery {
    background: #3c3c3c;
    background-position: right bottom;
    background-repeat: no-repeat;
    direction: rtl;
}

.gallery .video-box .video-item {
    height: 0;
    padding-bottom: 66.71%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width:100%;
}

.gallery .video-box .video-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 1)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#000000', GradientType=0);
}

.gallery .video-box .video-item>a {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.gallery .video-box .video-item>i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 64px;
    height: 64px;
    z-index: 11;
    transform: translate(-50%, -50%);
    color: #ff9b18;
    border: 3px solid #ff9b18;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.gallery .video-box .video-item:hover>i {
    background: #ff9b18;
    color: #fff;
}

.gallery .video-box .video-item img {
    width: 100%;
    height: auto;
    position: relative;
    transition: all cubic-bezier(.17, .84, .44, 1) .3s;
}

.gallery .video-box .video-item:hover img {
    transform: scale(1.1);
}

.gallery .video-box .video-item h3 {
    position: absolute;
    left: 50%;
    bottom: 30px;
    width: 460px;
    height: 45px;
    transform: translateX(-50%);
    color: #fff;
    z-index: 9;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.image-box-area .image-box:first-child {
    margin-bottom: 20px;
}

.gallery .image-box-area .image-box .image-box-item {
    width: 100%;
    height: 0;
    padding-bottom: 66.66%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery .image-box-area .image-box .image-box-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 1)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, rgba(0, 0, 0, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#000000', GradientType=0);
}

.gallery .image-box-area .image-box .image-box-item a {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.gallery .image-box-area .image-box .image-box-item i.icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 35px;
    z-index: 11;
    color: #fff;
    border-radius: 0 0 20px 0;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;
    font-size: 1.4em;
    padding: 5px 0 0 10px;
}

.gallery .image-box-area .image-box .image-box-item .post-date,
.gallery .video-box .video-item .post-date {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    height: auto;
    z-index: 11;
    color: #fff;
    background: #f32d06;
    border-radius: 0 0 0px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    padding: 10px 10px 10px 10px;
}

.gallery .image-box-area .image-box .image-box-item .post-date i,
.gallery .video-box .video-item .post-date i {
    margin-left: 5px;
    line-height: 1;
}

.gallery .image-box-area .image-box .image-box-item h3 {
    position: absolute;
    left: 50%;
    bottom: 30px;
    width: 270px;
    height: 55px;
    transform: translateX(-50%);
    color: #fff;
    z-index: 9;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery .image-box-area .image-box .image-box-item img {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all cubic-bezier(.17, .84, .44, 1) .3s;
}

.gallery .image-box-area .image-box .image-box-item:hover img {
    transform: scale(1.1);
}

.gallery .infographic-box .portfolio-image a {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 139.69%;
    position: relative;
    overflow: hidden;
}

.gallery .infographic-box .portfolio-image a img {
    width: 100%;
    height: 100%;
    position: absolute;
}

.gallery .portfolio-item {
    padding: 0;
}

.gallery .infographic-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery .infographic-box i {
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 35px;
    z-index: 11;
    color: #fff;
    border-radius: 0 0 20px 0;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;
    font-size: 1.4em;
    padding: 5px 0 0 10px;
}

.gallery .infographic-box .portfolio-description {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery .infographic-box .portfolio-description>a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    position: relative;
}

.gallery .infographic-box .portfolio-description>a i {
    padding: 0;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em!important;
}



/*! CSS Used from: Embedded */

.gallery .image-box-area .image-box .image-box-item h3,
.gallery .video-box .video-item h3 {
    max-width: 100%;
}

.cd-main-content p {
    padding-right: 5px;
}


/*! CSS Used keyframes */

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translateZ(0);
    }
}

@font-face {
    font-family: website-icons;
    src: url(website-icons.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto
}

#myImg:hover {
    opacity: 0.7;
}


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}


/* Modal Content (image) */

.modal-content {
    margin: auto;
    display: block;
    width: 75%;
    /*max-width: 75%;*/
}


/* Caption of Modal Image */

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}


/* Add Animation */

.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.out {
    animation-name: zoom-out;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(1)
    }
    to {
        -webkit-transform: scale(2)
    }
}

@keyframes zoom {
    from {
        transform: scale(0.4)
    }
    to {
        transform: scale(1)
    }
}

@keyframes zoom-out {
    from {
        transform: scale(1)
    }
    to {
        transform: scale(0)
    }
}


/* The Close Button */

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.swiper-pagination {
    text-align: left !important;
    position: absolute;
    left: 15px;
    bottom: 15px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: red;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 10px;
    left: 5%;
    width: 100%;
}

.gallery {
    direction: rtl;
}

.gallery>div:nth-child(1)>div:nth-child(2) {
    display: flex;
    direction: rtl;
}

.heading-section.heading-section-one .heading-area span {
    display: inline-flex;
    position: absolute;
    left: 60px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    left: 10px !important;
    right: auto !important;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    right: 10px !important;
    left: auto !important;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: white;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 30px;
    color: #000 !important;
    fill: black !important;
    stroke: black !important;
    opacity: 0.3;
}
.div0margin{
    margin:0px !important;
    padding:0px !important;
}
@media only screen and (min-width: 0px) and (max-width: 640px) {
	.gallery .items-container {
		flex-direction:column;
	}
	.gallery .video-box {
		margin-bottom:20px;
	}
	.image-box {
		margin-bottom:20px
	}
}