/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@500&family=Qahiri&display=swap');:root {
    --main: #B78D65;
    --light: #F8F8F8;
    --dark: #252525;
}
body {
  overflow-x: hidden;
	margin: 0;
	padding: 0;
}
*{direction: rtl !important;}
h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}
h1,h2,.h1,.h2,h3,h4,.h3,.h4{font-family: 'IBM Plex Sans Arabic', sans-serif;}
h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--main);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--main);
    border-color: var(--main);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-right: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 900;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--main);
}

.navbar.sticky-top {
    transition: .5s;
}
@media only screen and (max-width:520px) {.navbar .navbar-brand h1{font-size: 40px;}}
@media only screen and (max-width:520px) {
  .navbar .navbar-nav .nav-link{
    margin-bottom: 2px;
    text-align: center;
    padding: 8px 0;
    border: 2px groove rgb(193, 157, 122,0.5);
    }
  
    .navbar .navbar-nav .dropdown-menu{
      margin-bottom: 2px;
      text-align: center;
      padding: 10px 0;
      
      }
    
    .navbar .navbar-nav .dropdown-menu a{ 
      border: 2px groove rgb(193, 157, 122,0.5);
      font-weight: bold;
      color: var(--main);
      top: -20px;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}
.header-carousel .owl-carousel-item img {
    height: 100vh;

}
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit:cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    left: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    color: var(--main);
    font-weight: 600;
}


/*------------ text section effect --------------*/

.page-header .tittle_effect{
    background: linear-gradient(-225deg,var(--main) 0%,var(--light) 29%,rgb(252, 191, 69) 27%,#fff 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    padding: 10px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 10s linear infinite;
    font-size: 4em;
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
  }
  
  @keyframes textclip {
    to {
      background-position: 200% center;
    }
  }
  @media (max-width: 991.98px) {
    .page-header .tittle_effect {
        font-size: 2em;
    }
  }
  /* tittle navbar */
  .navbar .tittle_effect{
    background: linear-gradient(255deg,var(--main) 0%, #ecd4bc 27%,var(--main) 27%,var(--main) 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 180% auto;
    color: var(--main);
    font-family: 'Qahiri', sans-serif;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2.5s linear infinite;
    font-size: 2em;
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
  }
  
  @keyframes textclip {
    to {
      background-position: 180% center;
    }
  }
/*** Facts ***/
.fact-item .fact-icon img,.counter-item .counter-icon img{width: 95px ;height: 80px;}
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
  background-image: linear-gradient(to right top, #000000, #000000, #000000, #000000, #000000, #1d1516, #332324, #4b3130, #815648, #b5815b, #dfb46e, #feed87);
}

.fact-item .fact-icon i {
    color: var(--main);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}

/*** Counter ***/

.counter-item .counter-icon img{width: auto !important;}
.counter-item .counter-icon {
    width: 100px !important;
    height: 100px !important;
    margin: 1.5rem auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, .4);
    border-radius: 120px;
    transition: .5s;
}

.counter-item:hover .counter-icon {
  background-image: linear-gradient(to right top, #000000, #000000, #000000, #000000, #000000, #181617, #292526, #3b3437, #655a61, #918391, #bdb0c5, #e8dffc);
}

.counter-item .counter-icon i {
    color: var(--main);
    transition: .5;
}

.counter-item:hover .counter-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}
.about-img img{z-index: 99;transition: all 3.3s;opacity: 0.95;}
.about-img img:hover{z-index: 100;opacity: 1;border-radius: 5px;}
.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
    border: 3px solid rgb(223, 180, 110,0.3);
    border-radius: 2px;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 40% 0 0;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    right: 20%;
    border: 5px solid var(--main);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.service-item .service-text img{width: 70px; height: 70px;margin: auto;}
.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

.service-item:hover .service-text img{background-color: #fff;border-radius: 100px;box-shadow: 1px 2px 3px #B78D65;padding: 8px;} 


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--main);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    right: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--main);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    right: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--main);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--main);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--main);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--main);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    background: #B78D65;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
    object-fit:cover;
    height:100px;
    width:100%;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: right;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--main);
    margin-left: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--main);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyleft {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyleft a {
    color: var(--light);
}

.footer .copyleft a:hover {
    color: var(--main);
}

@media only screen and (max-width:520px) {
  .footer{padding-bottom: 20%;overflow-x: hidden;}
}

    /*OUR WORK*/

    .portfolio-menu{
      text-align:center;
    }
    .portfolio-menu ul li{
      display:inline-block;
      margin:0;
      list-style:none;
      margin: 30px 8px;
      padding:11px 20px;
      font-weight: bold;
      font-size: 14px;
      box-shadow: 2px 2px 5px 2px var(--dark);
      cursor:pointer;
      border-radius: 10px;
      color: #383838;
      -webkit-transition:all 05s ease;
      -moz-transition:all 05s ease;
      -ms-transition:all 05s ease;
      -o-transition:all 05s ease;
      transition:all .5s ease;
    }
    .portfolio-item .item{
      margin-bottom:10px;
    }
    .portfolio-item .item img{height: 300px;width:100%;}
    .portfolio-menu ul li.active{
    background: var(--main);
    border-radius: 5px 40px 0 40px;
    border: none!important;
    color: #fff;
    text-shadow: 1px 1px 5px #545454;
    box-shadow: none;
    }
    @media (max-width: 580px) {
      .portfolio-menu ul li{
      padding:5px 10px;
      font-size: 14px;
      }
    }

/*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$ project 2 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*/

.wrapper {
  display: table;
  height: 100%;
  width: 100%;
}

.container-fostrap {
  display: table-cell;
  padding: 1em;
  text-align: center;
  vertical-align: middle;
}
.fostrap-logo {
  width: 100px;
  margin-bottom:15px
}
h1.heading {
  color: #fff;
  font-size: 1.15em;
  font-weight: 900;
  margin: 0 0 0.5em;
  color: #505050;
}
@media (min-width: 450px) {
  h1.heading {
    font-size: 3.55em;
  }
}
@media (min-width: 760px) {
  h1.heading {
    font-size: 3.05em;
  }
}
@media (min-width: 900px) {
  h1.heading {
    font-size: 3.25em;
    margin: 0 0 0.3em;
  }
} 
.card {
  display: block; 
  margin-bottom: 20px;
  line-height: 1.42857143;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); 
  transition: box-shadow .25s; 
}
.card:hover {
box-shadow: 0 2px 5px 0 rgb(183, 141, 101,0.6),0 2px 10px 0 rgba(183, 141, 101,0.4);
background-image: linear-gradient(to right top, #fcffe5, #fffae7, #fff6f0, #fff6f9, #fff7fd, #fff7fd, #fff6fd, #fff6fd, #fff4f8, #fff3ed, #fff5e2, #fffadc);
}
.img-card {
width: 100%;
height:300px;
border-top-left-radius:2px;
border-top-right-radius:2px;
display:block;
overflow: hidden;
background-image: cover;
}
.img-card img{
width: 100%;
height: 300px;
object-fit:cover; 
transition: all .25s ease;
}
.card .img_info{top: -40px;position: relative;}

.card .img_info p{
box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
border-radius: 9px;
font-weight: bold;
font-size: 14px;
color:#252525;
background-color: rgba(255, 255, 255, 0.3);
text-shadow: 0.3px 0.3px 0.2px #B78D65;
}

.card-content {
padding:15px;
text-align:right;
min-height: 135px;
}
.card-title {
margin-top:0px;
font-weight: 700;
font-size: 1.65em;
}
.card-title a {
color: #000;
text-decoration: none !important;
}
.card-read-more {
border-top: 1px solid #D4D4D4;
}
.card-read-more a {
text-decoration: none !important;
padding:10px;
font-weight:600;
}

.service svg{width: 20px;height: 20px;}
    /*#############
    ############
    ################
    ##############*/

    /* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8; }
  
  .mfp-wrap {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden; }
  
  .mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box; }
  
  .mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle; }
  
  .mfp-align-top .mfp-container:before {
    display: none; }
  
  .mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: right;
    z-index: 1045; }
  
  .mfp-inline-holder .mfp-content,
  .mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto; }
  
  .mfp-ajax-cur {
    cursor: progress; }
  
  .mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out; }
  
  .mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in; }
  
  .mfp-auto-cursor .mfp-content {
    cursor: auto; }
  
  .mfp-close,
  .mfp-arrow,
  .mfp-preloader,
  .mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none; }
  
  .mfp-loading.mfp-figure {
    display: none; }
  
  .mfp-hide {
    display: none !important; }
  
  .mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    right: 8px;
    left: 8px;
    z-index: 1044; }
    .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
    color: #FFF; }
  
  .mfp-s-ready .mfp-preloader {
    display: none; }
  
  .mfp-s-error .mfp-content {
    display: none; }
  
  button.mfp-close,
  button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation; }
  
  button::-moz-focus-inner {
    padding: 0;
    border: 0; }
  
  .mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    left: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }
  
  .mfp-close-btn-in .mfp-close {
    color: #333; }
  
  .mfp-image-holder .mfp-close,
  .mfp-iframe-holder .mfp-close {
    color: #FFF;
    left: -6px;
    text-align: left;
    padding-left: 6px;
    width: 100%; }
  
  .mfp-counter {
    position: absolute;
    top: 0;
    left: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap; }
  
  .mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent; }
    .mfp-arrow:active {
      margin-top: -54px; }
    .mfp-arrow:hover,
    .mfp-arrow:focus {
      opacity: 1; }
    .mfp-arrow:before,
    .mfp-arrow:after {
      content: '';
      display: block;
      width: 0;
      height: 0;
      position: absolute;
      right: 0;
      top: 0;
      margin-top: 35px;
      margin-right: 35px;
      border: medium inset transparent; }
    .mfp-arrow:after {
      border-top-width: 13px;
      border-bottom-width: 13px;
      top: 8px; }
    .mfp-arrow:before {
      border-top-width: 21px;
      border-bottom-width: 21px;
      opacity: 0.7; }
  
  .mfp-arrow-right {
    right: 0; }
    .mfp-arrow-right:after {
      border-left: 17px solid #FFF;
      margin-right: 31px; }
    .mfp-arrow-right:before {
      margin-right: 25px;
      border-left: 27px solid #3F3F3F; }
  
  .mfp-arrow-left {
    left: 0; }
    .mfp-arrow-left:after {
      border-right: 17px solid #FFF;
      margin-right: 39px; }
    .mfp-arrow-left:before {
      border-right: 27px solid #3F3F3F; }
  
  .mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px; }
    .mfp-iframe-holder .mfp-content {
      line-height: 0;
      width: 100%;
      max-width: 900px; }
    .mfp-iframe-holder .mfp-close {
      top: -40px; }
  
  .mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%; }
    .mfp-iframe-scaler iframe {
      position: absolute;
      display: block;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
      background: #000; }
  
  /* Main image in popup */
  img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto; }
  
  /* The shadow behind the image */
  .mfp-figure {
    line-height: 0; }
    .mfp-figure:after {
      content: '';
      position: absolute;
      right: 0;
      top: 40px;
      bottom: 40px;
      display: block;
      left: 0;
      width: auto;
      height: auto;
      z-index: -1;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
      background: #444; }
    .mfp-figure small {
      color: #BDBDBD;
      display: block;
      font-size: 12px;
      line-height: 14px; }
    .mfp-figure figure {
      margin: 0; }
  
  .mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    cursor: auto; }
  
  .mfp-title {
    text-align: right;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-left: 36px; }
  
  .mfp-image-holder .mfp-content {
    max-width: 100%; }
  
  .mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer; }
  
  @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
         * Remove all paddings around the image on small screen
         */
    .mfp-img-mobile .mfp-image-holder {
      padding-right: 0;
      padding-left: 0; }
    .mfp-img-mobile img.mfp-img {
      padding: 0; }
    .mfp-img-mobile .mfp-figure:after {
      top: 0;
      bottom: 0; }
    .mfp-img-mobile .mfp-figure small {
      display: inline;
      margin-right: 5px; }
    .mfp-img-mobile .mfp-bottom-bar {
      background: rgba(0, 0, 0, 0.6);
      bottom: 0;
      margin: 0;
      top: auto;
      padding: 3px 5px;
      position: fixed;
      box-sizing: border-box; }
      .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0; }
    .mfp-img-mobile .mfp-counter {
      left: 5px;
      top: 3px; }
    .mfp-img-mobile .mfp-close {
      top: 0;
      left: 0;
      width: 35px;
      height: 35px;
      line-height: 35px;
      background: rgba(0, 0, 0, 0.6);
      position: fixed;
      text-align: center;
      padding: 0; } }
  
  @media all and (max-width: 900px) {
    .mfp-arrow {
      -webkit-transform: scale(0.75);
      transform: scale(0.75); }
    .mfp-arrow-right {
      -webkit-transform-origin: 0;
      transform-origin: 0; }
    .mfp-arrow-left {
      -webkit-transform-origin: 100%;
      transform-origin: 100%; }
    .mfp-container {
      padding-right: 6px;
      padding-left: 6px; } }

      /* ########## Social media button  ############# */
  .mysocial ul{
    list-style: none;
    position: fixed!important;
    z-index: 99999999;
    margin: 0;
    padding: 0;
    right: 5px!important;
  }
  .mysocial .tog-social{
    display: none;
    top: 35%;
    right: 25px!important;
  }
    .mysocial .main-social{
      top: 85%;
      right: 10px!important;
      opacity: .8;
      cursor: pointer;
    }
    .mysocial .main-social{
      border: 5px dashed var(--main);
      border-radius: 100%;
      animation: spin 10s infinite linear;
    }
    .mysocial .main-social li{
      animation: spin 10s infinite reverse linear;
    }
    .mysocial .main-social:hover{opacity: 1;}
  .mysocial .tog-social li{opacity: .8;}
  .mysocial .tog-social li:hover{opacity: 1;}
  .mysocial .tog-social img{
    width: 40px;
    height: 40px;
    margin: 5px auto;
  }
  .mysocial .tog-social li:hover img{
    border-radius: 100px;
    box-shadow: -2px -2px 4px #eee;
  }
  
  @keyframes spin {
    100% { transform: rotate(1turn); }
  }
  .socialonlymob{
    display: none;
    position: fixed;
    z-index: 9999999;
    height: 12vh;
    top: 90%;
    bottom:0;
    width: 100vw;
    text-align: center;
    align-items: center;
    padding: 5%;
    background: #000000;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  }
  /* stop phone on laptop */
  .mysocial .call-onlyphone{display: none!important;}
  .mysocial .soc_onlyweb{display: inline-block;}


  /*@media*/
  @media only screen and (max-width:520px) {
 .mysocial{display: none!important;}

  .socialonlymob{
    display: inline-block;
  }

  .socialonlymob .social_mob_carousel{vertical-align: middle!important;}
}