/********** Template CSS **********/
:root {
    --primary: #B78D65;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

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;
    right: 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(--primary);
    border-color: #777777;
}

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


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

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

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

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 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;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@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;
    right: 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(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    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: var(--dark);
}

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

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


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

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

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


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.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;
}


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

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

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


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

.team-item {
    padding: 0px;
	border: 1px solid #ccc;
}

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

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

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

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

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


/*** 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(--primary);
}

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


/*** 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: -20px;
    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: var(--primary);
    background: #FFFFFF;
    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;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fff;
    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(--primary);
    margin-right: 10px;
}

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

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

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

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

.footer .copyright a:hover {
    color: var(--primary);
}

.text-body {
    color: #fff !important;
}

.blog-entry {
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    padding: 10px;
    border: 1px solid;
}

.market-page {
    width: 100%;
    margin: 0px;
    padding: 50px 0px;
    border-bottom: 1px dotted #000;
    float: left;
}

.market-page-image-left {
    width: 20%;
    margin: 0px 25px 0px 0px;
    padding: 0px;
    display: inline-block;
    float: left;
    vertical-align: top;
}

.market-page-image-right {
    width: 20%;
    margin: 0px;
    padding: 0px;
    display: inline-block;
    float: right;
    vertical-align: top;
}

.market-page-content {
    width: 70%;
    margin: 0px;
    padding: 0px;
    display: inline-block;
    vertical-align: top;
}

.market-page-image-left img, .market-page-image-right img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

table.common-table {
  width: 100%;
  margin: 20px 0px;
  padding: 0px;
}
table.common-table tr {
  width: 100%;
  margin: 0px;
  padding: 0px;
  border: 1px solid #ccc;
}

table.common-table tr:nth-child(odd) { background:#f4f4f4; }

table.common-table tr th {
    margin: 0px;
    padding: 10px 5px;
    text-align: center;
    border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
    background: #000000;
    color: #fff;
	border-style: inset;
	
}
table.common-table tr th h3 {
  font-size: 18px;
}
table.common-table tr td {
  margin: 0px;
  padding: 5px;
  text-align: center;
  border: 1px solid #ccc;
  line-height: 1.5;
  border-bottom: 1px solid #003859;
}
table.common-table tr td a {
  text-decoration: underline;
}
table.common-table tr td a:hover {
  text-decoration: none;
}

@media only screen and (max-width: 767px) and (min-width: 220px) {
  .common-table {
    display: inline-table;
    vertical-align: top;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-collapse: collapse;
    border-spacing: 0;
    border-top: 2px solid #fff;
  }
  .common-table {
    -webkit-overflow-scrolling: touch;

    background: radial-gradient(
          left,
          ellipse,
          rgba(0, 0, 0, 0.2) 0%,
          rgba(0, 0, 0, 0) 75%
        )
        0 center,
      radial-gradient(
          right,
          ellipse,
          rgba(0, 0, 0, 0.2) 0%,
          rgba(0, 0, 0, 0) 75%
        )
        100% center;
    background-size: 10px 100%, 10px 100%;
    background-attachment: scroll, scroll !important;
    background-repeat: no-repeat;
  }

  /* change these gradients from white to your background colour if it differs
 gradient on the first cells to hide the left shadow*/
  .common-table td:first-child {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    background-repeat: no-repeat;
    background-size: 20px 100%;
  }

  /*gradient on the last cells to hide the right shadow*/
  .common-table td:last-child {
    background-image: linear-gradient(
      to left,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    background-repeat: no-repeat;
    background-position: 100% 0;
    background-size: 20px 100%;
  }
  .common-table th {
    font-size: 16px;
    text-align: center;
    background: #000;
    color: #fff;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 15px 10px;
  }
  .common-table td {
    font-size: 16px;
    text-align: left;
    text-align: center;
    border: 1px solid #d9d7ce;
    padding: 5px 10px;
  }

  .common-table tr td a {
    text-decoration: underline;
  }
}

/* ::::::::::: CONTAT PAGE ::::::::::::: */

.contact-block { width:28%; display:inline-block; vertical-align:top; margin:0px 0px 20px 0px; }
.contact-block-map { width:40%; display:inline-block; vertical-align:top; margin:0px 0px 20px 0px; }
.contact-block-middle { width:27%; display:inline-block; vertical-align:top; padding:0px 0px 0px 2%; margin:0px 2% 20px 0px; border-right:1px #ccc dotted; border-left:1px #ccc dotted; min-height:210px; }
.contact-block-hr { border-bottom:1px #ccc dotted; margin-bottom:2%; }
.contact-block-ipad-hr { display:none; }
.mail-section-1 { width:47%; display:inline-block; vertical-align:top; margin:0px 0px 20px 0px; border-right:1px #ccc dotted;  }
.mail-section-2 { width:50%; display:inline-block; vertical-align:top; margin:0px 0px 20px 20px;  }

.contact-form { width:99%; float:left; margin:0px; padding:30px 0px 0px 0px; border-top:1px dotted #ccc; border-radius:5px;}
.contact-form ul { width:100%; margin:30px 0px 0px 0px; padding:0px }
.contact-form ul li { width:48%; float:left; margin:0px; padding:0px; list-style: none;}
.contact-form ul li:nth-child(even){ margin-left:4%; }
.contact-form ul li.form-buttons{ margin-top:20px; text-align:right; }
.contact-form label { width:29%; margin:0px; padding:0px; display:inline-block; font-size:16px; vertical-align:top; }
.contact-form label:after { content:":"; float:right; margin-right:10%;}
.contact-form input, .contact-form select { width:67%; display:inline-block; margin-left:2%; padding:5px; margin-bottom:15px; border:1px solid #ddd; }
.contact-form textarea { width:67%; display:inline-block; margin-left:2%; padding:5px; margin-bottom:15px; border:1px solid #ddd; resize:none; height:100px;  }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline:none; }
.contact-form input[placeholder], .contact-form textarea[placeholder] { font-size:14px; }
.contact-form select {font-size:14px; }
.contact-form select option { padding:20px 0px !important; line-height:20pt; }
.contact-form select option:hover { background-color:none;}
.contact-form input[type="submit"] { width:25%; margin:0px;}
.contact-form input[type="reset"] { width:25%;}
.contact-block-middle .img-none{display: none;}
.contact-block-middle .img-show{display: block;}
.form-buttons .btn{
    border:1px solid #ddd
}

/* ::::::::::: CONTAT PAGE ::::::::::::: */

@media only screen and (min-width:220px) and (max-width:767px) {

.contact-block { width:100%; display:block; vertical-align:top; margin:0px 0px 15px 0px; padding-bottom:15px; border-bottom:1px #ccc dotted; }
.contact-block-middle { width:100%; display:block; vertical-align:top; padding:0px 0px 15px 0px; margin:0px 0px 15px 0px; border-bottom:1px #ccc dotted; border-right:none; border-left:none; min-height:auto; }

.contact-block-ipad-hr { display:none; }
.contact-block-map { width:100%; display:block;}
.contact-form ul li { width:100%;}
.contact-form ul li:nth-child(even) { margin-left:0px;}
.mail-section-1{width:100%; display:block; vertical-align:top; margin:0px 0px 15px 0px; padding-bottom:15px; border-bottom:1px #ccc dotted;}
.mail-section-2{width:100%; display:block; vertical-align:top; margin:0px 0px 15px 0px; padding-bottom:15px; border-bottom:1px #ccc dotted;}
.contact-form label { width:100%; margin:0px 0px 10px 0px;}
.contact-form label:after { float:none; margin-right:0; margin-left:10px;}
.contact-form input, .contact-form select, .contact-form textarea { width:100%; margin-left:0; margin-bottom:15px;}	
.site-section-top-2 {padding: 1em 30px 50px 30px !important;}
.contact-form input[type="submit"] {width: 40%;}	
.mail-section-1 { width:100%; display:inline-block; vertical-align:top; margin:0px 0px 20px 10px; border-right:1px #ccc dotted;  }
.mail-section-2 { width:100%; display:inline-block; vertical-align:top; margin:0px 0px 20px 10px;  }
.contact-block-middle .img-none{display: block;}
.contact-block-middle .img-show{display: none;}	
.g-recaptcha {margin-left: 0px !important;}	
}

@media only screen and (min-width: 220px) and (max-width: 767px) {
.market-page-image-right {
    width: 100%;
    margin: 0px;
    padding: 0px;
    display: block;
    float: left;
}
 
.market-page-image-left, .market-page-image-right, .market-page-content {
    width: 100% !important;
    padding: 10px;
}
.market-page {
    padding: 50px 20px;
}
	
.navbar-brand {
    margin-left: 1rem;
}
.container img {float: none !important;}
	
.table-overflow {
  display: block;
  max-width: -moz-fit-content;
  max-width: fit-content;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
	}
}