/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text ville: uncode
*/

/* Globals */

#wpadminbar {
  z-index: 99999999999999 !important;
}

.ivisit-box-rounded {
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  margin-left: 5px;
  margin-right: 5px;
  background-color: #0003e5;
}
.ivisit-box-top-rounded {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.ivisit-box-bottom-rounded {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.ivisit-color-black {
  color: #000 !important;
}
.ivisit-color-white {
  color: #fff !important;
}

/*Links Hover*/
.style-dark .link-hover,
.style-light .style-dark .link-hover,
.style-dark a:not(.btn-text-skin):hover,
.style-light .style-dark a:not(.btn-text-skin):hover,
.style-dark a:not(.btn-text-skin):focus,
.style-light .style-dark a:not(.btn-text-skin):focus,
.style-dark a.active,
.style-light .style-dark a.active,
.style-dark .tmb .t-entry-text .t-entry-title a:hover,
.style-light .style-dark .tmb .t-entry-text .t-entry-title a:hover,
.style-dark .tmb .t-entry-text .t-entry-title a:focus,
.style-light .style-dark .tmb .t-entry-text .t-entry-title a:focus,
.style-dark .tmb-content-under.tmb .t-entry p.t-entry-author a:hover span,
.style-light
  .style-dark
  .tmb-content-under.tmb
  .t-entry
  p.t-entry-author
  a:hover
  span,
.style-dark .tmb-content-lateral.tmb .t-entry p.t-entry-author a:hover span,
.style-light
  .style-dark
  .tmb-content-lateral.tmb
  .t-entry
  p.t-entry-author
  a:hover
  span,
.style-dark .tmb .t-entry p.t-entry-comments .extras a:hover i,
.style-light .style-dark .tmb .t-entry p.t-entry-comments .extras a:hover i,
.style-dark .tmb .t-entry p.t-entry-comments .extras a.active i,
.style-light .style-dark .tmb .t-entry p.t-entry-comments .extras a.active i,
.style-dark .tmb .t-entry p.t-entry-comments .extras a:focus i,
.style-light .style-dark .tmb .t-entry p.t-entry-comments .extras a:focus i,
.style-dark .widget_nav_menu li.active > a,
.style-light .style-dark .widget_nav_menu li.active > a,
.style-dark div[class*='sharer-'].share-button label:hover,
.style-light .style-dark div[class*='sharer-'].share-button label:hover,
.style-dark div[class*='sharer-'].share-button label:focus,
.style-light .style-dark div[class*='sharer-'].share-button label:focus {
  color: rgba(255, 255, 255, 0.5) !important;
}
.style-dark .ui-link:hover,
.style-light .style-dark .ui-link:hover,
.style-dark .ui-link:focus,
.style-light .style-dark .ui-link:focus,
.style-dark .nav-tabs > li > a:hover,
.style-light .style-dark .nav-tabs > li > a:hover,
.style-dark .nav-tabs > li > a:focus,
.style-light .style-dark .nav-tabs > li > a:focus,
.style-dark .panel-title > a:hover,
.style-light .style-dark .panel-title > a:hover,
.style-dark .panel-title > a:focus,
.style-light .style-dark .panel-title > a:focus,
.style-dark .widget-container a:hover,
.style-light .style-dark .widget-container a:hover,
.style-dark .widget-container a:focus,
.style-light .style-dark .widget-container a:focus {
  color: rgba(255, 255, 255, 0.5) !important;
}

.ivisit-container-nopadding {
  padding-top: 0px !important;
}

.page-wrapper {
  background-color: #ffffff !important;
}

/* Titels */

h1 {
  font-weight: 600 !important;
}

/* Buttons */
.btn-color-764633:not(.btn-hover-nobg):not(.icon-animated):hover,
.btn-color-764633:not(.btn-hover-nobg):not(.icon-animated):focus,
.btn-color-764633:not(.btn-hover-nobg):not(.icon-animated):active {
  background-color: #ffffff !important;
  border-color: #0003e5 !important;
}

.btn-ivisit-home {
  color: #0003e5 !important;
  width: 85%;
}

.btn-color-xsdn.btn-outline:not(.btn-hover-nobg):not(.btn-text-skin):not(
    .icon-animated
  ):hover,
.btn-color-xsdn.btn-outline:not(.btn-hover-nobg):not(.btn-text-skin):not(
    .icon-animated
  ):focus,
btn-color-xsdn.btn-outline:active {
  color: #0003e5 !important;
}

/* HOME */
.ivisit-box-home-small .single-block-padding {
  padding: 14px !important;
}

.ivisit-home-fullimage {
  margin-left: -18px;
  margin-right: -18px;
  z-index: 11001;
}

.sector-box {
  /*border: 4px solid #0003e5;*/
  border-radius: 20px;
  padding: 15px;
  background-color: #ffffff;
  box-shadow: 0 4px 18px -4px rgb(0 0 0 / 60%) !important;
  padding: 30px !important;
  height: 340px;
}
div > .icon-box:first-child {
  padding-left: 30px !important;
}
div > .icon-box:last-child {
  padding-right: 30px !important;
}

.sector-box:hover,
.sector-box:active {
  background-color: #0003e5 !important;
  color: #ffffff !important;
  cursor: pointer;
}

.sector-box:hover i,
.sector-box:active i,
.sector-box:hover h3,
.sector-box:active h3 {
  color: #ffffff !important;
}
.sector-box p {
  font-size: 14px !important;
}

/* biens */
.biensdropdown {
  border-radius: 15px;
  border-color: #0003e5 !important;
  border-width: 3px !important;
}
.biensdropdown-list_item:hover {
  background: #0003e5 !important;
  color: #ffffff !important;
}

.t-overlay-text {
  background-color: #0003e5;
  height: 100%;
}
.ivisit-biens-hoveroverlay .t-entry {
  margin-top: 15%;
}
.ivisit-biens-hoveroverlay .t-entry-title {
  margin: 3px 0px 0px 0px !important;
}

.ivisit-biens-hoveroverlay h3.t-entry-title {
  margin-bottom: 20px !important;
}
.ivisit-biens-hoveroverlay .t-entry-text {
  margin-bottom: 15px !important;
}

.tmb .t-entry-visual .t-overlay-wrap,
.tmb .t-entry-visual .t-entry-visual-overlay {
  z-index: 3 !important;
}

.ivisit-backbtn {
  color: #0003e5 !important;
  border-color: #ffffff !important;
}

.ivisit-contactperson p {
  font-size: 17px !important;
  margin: 0px;
}
.ivisit-contactperson :first-child {
  margin-top: 20px;
}

/* Footer */

/* HOME */

/* biens */

.ivisit-biensoverview-box {
  /*width: 47% !important;*/
  padding-right: 10px !important;
}

.ivisit-biens-container {
  padding: 0px !important;
}

.ivisit-biens-hoveroverlay {
  display: none;
}

.ivisit-biens-staticoverlay {
  width: 100%;
  z-index: 2;
  position: absolute;
  display: block;
  background-color: #0003e5;
  bottom: 0;
  text-align: center;
  height: 33%;

  padding: 5px !important;
}
.ivisit-biens-staticoverlay > h3 {
  margin: 0 !important;
  font-size: 18px !important;
}
.ivisit-biens-staticoverlay > h4 {
  margin: 0;
  margin-top: 5px;
  font-size: 14px !important;
}
.ivisit-biens-staticoverlay > h4.ivisit-biens-staticoverlay-availability {
  display: none;
}

@media (min-width: 960px) {
  .limit-width {
    max-width: 1600px !important;
  }
}

/* SINGLE BIEN*/
.property-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.property-slider .slide {
  display: none;
  position: relative;
}

.property-slider .slide.active {
  display: block;
}

.property-slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.property-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.property-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

.property-nav.prev {
  left: 20px;
}

.property-nav.next {
  right: 20px;
}

.property-dots {
  text-align: center;
  padding: 20px 0;
  background: white;
}

.property-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.property-dot.active {
  background: #0003e5;
}

.property-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.property-feature {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-left: 4px solid #0003e5;
}

.property-feature i {
  font-size: 24px;
  color: #0003e5;
  margin-bottom: 10px;
}

.property-feature h4 {
  margin: 10px 0 5px 0;
  color: #333;
  font-size: 16px;
}

.property-feature span {
  color: #666;
  font-weight: bold;
}

.contact-agent {
  background: #0003e5;
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  margin-top: 30px;
}

.contact-agent img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  margin-bottom: 15px;
}

.contact-agent h3 {
  margin: 15px 0 10px 0;
  font-size: 24px;
}

.contact-agent .contact-info {
  margin-top: 20px;
}

.contact-agent a {
  color: white;
  text-decoration: none;
  display: inline-block;
  margin: 5px 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  transition: background 0.3s ease;
}

.contact-agent a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.property-status {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 15px;
}

.property-status.disponible {
  background: #28a745;
  color: white;
}

.property-status.vendu {
  background: #dc3545;
  color: white;
}

.property-status.option {
  background: #ffc107;
  color: #212529;
}

.property-price {
  font-size: 2.5em;
  font-weight: bold;
  color: #0003e5;
  margin: 15px 0;
}

@media (max-width: 768px) {
  .property-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .property-price {
    font-size: 2em;
  }

  .property-nav {
    padding: 8px 12px;
    font-size: 16px;
  }
}

/* CONTACT*/

div > .icon-box:last-child {
  padding-right: 0px !important;
}

.contact-info-box {
  margin-bottom: 15px;
  height: 90px;
}
.contact-info-title {
  margin-bottom: 10px !important;
  padding-top: 25px !important;
}

.contact-info-box > .icon-box-content > p {
  display: block !important;
}
.contact-info-box > .icon-box-content {
  vertical-align: middle;
}
.contact-info-box > .icon-box-icon {
  vertical-align: middle;
}

.contact-info-boxnomargin {
  height: 50px !important;
}
