@font-face{
    font-family: 'Cera GR Black';
    src: url(../fonts/Cera-GR-Black.ttf);
}

@font-face{
    font-family: 'Cera GR Bold Italic';
    src: url(../fonts/Cera-GR-Bold-Italic.ttf);
}

@font-face{
    font-family: 'Cera GR Bold';
    src: url(../fonts/Cera-GR-Bold.ttf);
}

@font-face{
    font-family: 'Cera GR Light';
    src: url(../fonts/Cera-GR-Light.ttf);
}

@font-face{
    font-family: 'Cera GR Medium';
    src: url(../fonts/Cera-GR-Medium.ttf);
}

@font-face{
    font-family: 'Cera GR Thin';
    src: url(../fonts/Cera-GR-Thin.ttf);
}

@font-face{
    font-family: 'Cera GR';
    src: url(../fonts/Cera-GR.ttf);
}

@font-face{
    font-family: 'Cera Pro Black Italic';
    src: url(../fonts/Cera-Pro-Black-Italic.otf);
}

@font-face{
    font-family: 'Cera Pro Black';
    src: url(../fonts/Cera-Pro-Black.otf);
}

@font-face{
    font-family: 'Cera Pro Bold';
    src: url(../fonts/Cera-Pro-Bold.otf);
}

@font-face{
    font-family: 'Cera Pro Light';
    src: url(../fonts/Cera-Pro-Light.otf);
}

@font-face{
    font-family: 'Cera Pro Medium';
    src: url(../fonts/Cera-Pro-Medium.otf);
}

@font-face{
    font-family: 'Cera GR Light';
    src: url(../fonts/Cera-GR-Light.otf);
}

@font-face{
    font-family: 'Cera Pro Regular Italic';
    src: url(../fonts/Cera-Pro-Regular-Italic.otf);
}



body{
    font-family: 'Cera GR' !important;
    position: relative;
    overflow: hidden;
}

body:has(div.view-industrial-territories-page),
body:has(div.view-industrial-territory-gallery){
    overflow: auto;
}

body.page-view-industrial-territory-gallery{
    background:rgb(253, 183, 48);
}
body.page-view-industrial-territory-gallery .site-footer{
    display:none;
}
div#page-wrapper a,button{
    text-transform: uppercase;
}

div#page-wrapper div#page header#header nav.navbar a.navbar-brand img{
    width: 200px;
    margin-inline: 50px;
}

div#main-wrapper{
    width: 80%;
    margin-inline: auto;
}

body.path-territory-iframe main.main-content{
    flex: 1 0 auto;
    min-height: 100vh;
}

/* Main content area */
main.main-content {
    flex: 1 0 auto;
    min-height: calc(100vh - 161px);
}

div#main{
    min-width: 100%;
}

section.section,
div#block-etva-theme-content,
div.content,
div.content > div#homepage-wrapper,
div.content > div#homepage-wrapper > div.row{
    height: auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

div.content div.row.map-info-card{
    width: fit-content;
    color: #fff;
    font-size: larger;
    position: fixed;
    z-index: 2;
    bottom: 13%;
    left: 14%;
}

div.row.map-info-card p.propery-indicator::before {
  content: url("/themes/custom/etva_theme/images/marker-location-red-32.svg");
  display: inline-block;
  margin-right: 5px;
}

div.row.map-info-card p.development-indicator::before {
  content: url("/themes/custom/etva_theme/images/marker-location-green-32.svg");
  display: inline-block;

  margin-right: 5px;
}

div.row.map-info-card p.propery-indicator,
div.row.map-info-card p.development-indicator{
    display: flex;
}

div#page-wrapper header#header nav#navbar-main{
    display: flex;
    justify-content: space-between;
}

div#page-wrapper header#header nav#navbar-main ul.nav.navbar-nav{
    margin-right: 50px;
    display: flex;
    flex-direction: row;
}

div#page-wrapper header#header nav#navbar-main ul.nav.navbar-nav li.nav-item{
    background-color: #124B8A;
    border:2px solid #124B8A;
    margin-inline: 10px;
}

div#page-wrapper header#header nav#navbar-main ul.nav.navbar-nav li.nav-item a.nav-link{
    padding-inline: 15px;
    font-weight: bold;
    font-size: small;
    color:#FFFFFF
}

div#page-wrapper header#header nav#navbar-main ul.nav.navbar-nav li.nav-item:hover{
    background-color:#FFFFFF;
    border-color:#FFFFFF;
}

div#page-wrapper header#header nav#navbar-main ul.nav.navbar-nav li.nav-item:hover a.nav-link{
    color:#124B8A;
}

/* ===================================================================================== */
/* ======================================HOMEPAGE======================================= */
#page-wrapper{
    background: #124B8A;
}

div#page-wrapper:has(div#homepage-wrapper){
    background-image: url(/themes/custom/etva_theme/images/etba1.svg);
    background-repeat: no-repeat;
    background-position-x: 99%;
    background-position-y: 92%;
}

div.info-col{
    padding-top: 30px;
    
}

h1.home-info-title{
    margin-bottom: 100px;
    color: #FDB730;
    font-weight: bold;
}

div.home-info-desc{
    margin-bottom: 60px;
    color:#FFFFFF
}

a.home-info-btn{
    width: fit-content;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.home-info-btn{
    padding: 10px;
    border: 1px solid #FFFFFF;
    text-decoration: none;
    color: #FFFFFF;
    background: transparent;
    margin-left: 12px;
}

.arrow-icon {
    background-color: #FDB730; /* Orange circle background */
    border-radius: 50%;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 60px;
}

.arrow-icon img{
    padding: 5px;
}

.home-info-btn:hover{
    color: #124B8A;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    transition-duration: 0.4s;
}

.home-info-btn:hover .arrow-icon {
    color: #FFFFFF;
    background: #124B8A;
}

div.col-md-6.info-col > div.row {
    padding-inline: 100px;
    padding-block: 100px;
}

div.home-info-desc{
    max-width: 500px;
}

/* ===================================================================================== */
/* =============================INDUSTRIAL TERRITORIES VIEW============================= */

/*
div.view-industrial-territories-page{
    background-image: url(/themes/custom/etva_theme/images/etba8.png);
    background-repeat: no-repeat;
    background-position-x: 35%;
    background-position-y: 42%;
    background-attachment: fixed;
}*/


div.view-industrial-territories-page div.view-content div.views-row{
    margin-block: 20px;
}

div.view-industrial-territories-page div.views-field.views-field-title span.field-content{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.view-industrial-territories-page div.views-field.views-field-title span.field-content a{
    text-decoration: none;
    color: #FFFFFF;
    font-size: large;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 5px;
}

div.view-industrial-territories-page div.view-content div.views-row div.views-col div.territory-label{
    background: #fff;
    width: 72.6%;
    padding: 10px;
    color: #124B8A;
    font-weight: bold;
}

div.view-industrial-territories-page div.views-field.views-field-title:hover{
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
}

div.view-industrial-territories-page div.views-field.views-field-title:hover span.field-content a{
    color: #124B8A;
}

div.view-industrial-territories-page div.views-field.views-field-title{
    text-align: center;
    border: 1px solid #124B8A;
    margin: 12px;
    background: #124B8A;
    min-height: 120px;
    max-height: 120px;
    height: 120px;
}

/*
body.page-view-industrial-territories-page div#page-wrapper{
    background-image: url(/themes/custom/etva_theme/images/etba2.svg);
    background-repeat: no-repeat;
    background-position-y: 63%;
    background-position-x: 2%;
    background-attachment: fixed;
}

body.page-view-industrial-territories-page div#page-wrapper div#page{
    background-image: url(/themes/custom/etva_theme/images/etba7.png);
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 90%;
    background-attachment: fixed;
}
    */

/* ===================================================================================== */
/* ===================================TERRITORIES VIEW================================== */

/* div.map-section div#map-container{
    height: 80vh;
} */

div.map-section div#map-container div#map{
    height: 80vh;
    width: 100%;
}

div.map-section {
   order: 1;
}

div#page-wrapper:has(div.reactive-section){
    background-image: url(/themes/custom/etva_theme/images/etba3.svg);
    background-repeat: no-repeat;
    background-position-x: 99%;
    background-position-y: 93%;
}


div.reactive-section{
    order:2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main.main-content#content{
    display: flex;
    align-content: center;
    align-items: center;
}

.territory-name h2{
    color: #124B8A;
}

.territory-name{
    padding: 12px;
    text-transform: uppercase;
}

.feature-types-legend {
    background: #FDB730;
    border-radius: 8px;
    margin-block: 100px;
}

.feature-types-list{
    display: grid;
    grid-template-columns: auto auto;
    width: max-content;
} 

.feature-type-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feature-type-item:hover,
.feature-type-item.active {
    transform: translateY(-1px);
    font-weight: bold;
}

.feature-types-legend .feature-type-item.active {
    transform: scale(1.1);
    transition: all 0.2s ease-in-out;
}

.color-indicator-wrapper{
    width: 27px;
    height: 27px;
    background: #FFFFFF;
    border-radius: 25px;
    border: 2px solid #124B8A;
    padding: 3px;
    margin-right: 8px;
}

.color-indicator {
    display: block;
    width: 17px;
    height: 17px;
    border: 1px solid #124B8A;
    border-radius: 15px;
}


.label {
    font-size: 14px;
    color:#124B8A;
    width: 210px;
}


.territory-link{
    background: #124B8A;
    color: #FFFFFF;
    border: 2px solid #124B8A;
    font-weight: bold;
}

.territory-link:hover{
    background: #FFFFFF;
    color: #124B8A;
    border: 2px solid #FFFFFF;
}

div.territory-link-section{
    display: flex;
    gap: 10px;
    justify-content: space-evenly;
}


a.territory-link{
    text-decoration: none;
    padding-inline: 20px;
    padding-block: 10px;
    display: flex;
    align-items: center;
    width: fit-content;
    transition:color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

span.territory-info-link-icon{
    background: url("/themes/custom/etva_theme/images/icon-info-white-16.png");
    display:inline-block;
    width: 16px;
    height: 16px;
    margin-right:20px;
}

a.territory-link:hover span.territory-info-link-icon{
    background: url("/themes/custom/etva_theme/images/icon-info-16.png");
}

span.territory-img-link-icon{
    background: url("/themes/custom/etva_theme/images/img-icon-white-16.png");
    display:inline-block;
    width: 16px;
    height: 16px;
    margin-right:20px;
}

a.territory-link:hover span.territory-img-link-icon{
    background: url("/themes/custom/etva_theme/images/img-icon-16.png");
}

/* ===================================================================================== */
/* =============================TERRITORY INFO/GALLERY VIEW============================= */

body.path-info .info-page.territory-name .info-page-content > div.col-md-7{
    overflow-x: hidden;
}

div.view-industrial-territory-gallery  div.view-header,
div.view-industrial-territories-page div.view-header,
div.view-territory-information-page div.view-content,
div.view-territory-information-page div.view-header
{
    color: #124B8A;
    padding: 15px;
}

div.view-territory-information-page div.view-content div.views-row div.views-field div.info-details ul li{
    padding-left: 10px;
}

div.view-industrial-territory-gallery  div.view-header,
div.view-industrial-territories-page div.view-header,
div.view-territory-information-page div.view-header{
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}
div.view-territory-information-page div.view-content div.views-view-grid div.views-row div.views-col{
        padding-inline: 15%;
}

div.view-industrial-territory-gallery div.view-content div.views-row .views-field-field-industrial-territory-image > div{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

div.view-industrial-territory-gallery div.view-content div.views-view-grid div.views-row div.views-col{
    display: flex;
    justify-content: center;}

div.view-industrial-territory-gallery div.view-content div.views-row .views-field-field-industrial-territory-image > div a{
    margin-bottom: 50px;
    padding-inline: 20px;
}

div.view-territory-information-page div.view-content div.views-row{
    margin-bottom: 50px;
    /*padding-inline: 20px;*/
    display: flex;
}

div.view-territory-information-page div.view-content div.views-row .views-field-field-media-icon{
    min-width:50px;
}

div.view-territory-information-page div.view-content div.views-row .views-field-nothing{
    padding-top:5px;
    max-width: 460px;
    word-wrap: break-word;
}

div.view-territory-information-page div.view-content div.views-row .views-field-nothing ul{
    padding-left:1.3rem;
}

div.view-territory-information-page div.view-content div.views-row .views-field-nothing ul li{
    padding-left: 0;
}

div.view-industrial-territory-gallery div.view-content div.views-row div.views-field div.field-content img{
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
}

.view-content.row.slick-initialized.slick-slider{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.slick-slide img {
    margin-inline:auto;
}


div.view-territory-information-page  div.view-content div.slick-slide .views-row{
    display: inline-flex !important;
    align-items: flex-start;
    justify-content: space-evenly;
}

div.view-territory-information-page  div.view-content div.slick-slide.slick-current > div{
    margin-block: 50px;
} 

div.view-territory-information-page  div.view-content div.slick-slide .views-row div.views-field div.info-details{
    width:100%
}

div.view-territory-information-page  div.view-content div.slick-slide .views-row div.views-field span.info-type{
    font-weight: bold;
    text-transform: uppercase;
}

div.view-territory-information-page  div.view-content div.slick-slide .views-row div.views-field-field-media-icon{
    width: 30%;
}

div.view-territory-information-page  div.view-content div.slick-slide .views-row div.views-field-field-media-icon img{
    margin-inline: auto;
}

div.view-territory-information-page  div.view-content div.slick-slide .views-row div.views-field.views-field-nothing{
    width:70%;
}
/* ===================================================================================== */

/* button.slick-arrow{
    width:40px;
    height: 40px;
    background-color: #124B8A;
    border: 0px solid #124B8A;
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

button.slick-arrow:hover{
    background-color: #FFFFFF;
    transform: scale(1.1);
    transition: all 0.2s ease-in-out;
}

.slick-prev{
    background: url('/themes/custom/etva_theme/images/arrow-left-30.png');
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;

}

.slick-next{
    background: url('/themes/custom/etva_theme/images/arrow-right-30.png');
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;

} */

/* ===================================================================================== */
/* =====================================Leaflet Map===================================== */

div.leaflet-control-attribution{
    display: none;
}

div.content > div#homepage-wrapper > div.row > div.col-md-6 div.multipolygon-map-wrapper div#multipolygon-map{
    height: 850px;
}

.leaflet-pane > svg path{
    cursor:default !important;
}
/* ===================================================================================== */

div.territory-name{
    display: flex;
    align-items: center;
    align-content: center;
}
    
div.territory-name h2.info-page-title{
    text-align: center;
    margin-block: 50px;
    margin-top:0;
}

div.row.info-page-content{
    position: relative;
    overflow: hidden;
}

img.info-industrial-map-img{
    width: -webkit-fill-available;
}

div.info-links{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    margin-block: 20px;
}

div.info-links a.territory-info-link.territory-link {
    width: 49%;
    justify-content: center;
}
/* =====================================EXPOSE FILTERS VIEW===================================== */

div.bef-links ul {
    list-style: none;
    align-content: stretch;
    justify-content: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0px;
}

div.bef-links ul li{
    margin-block: 15px;
    margin-inline: 5px;
}

div.bef-links ul li a.bef-link{
    text-decoration: none;
    color: #fff;
    border: 1px solid #124B8A;
    background: #124B8A;
    padding: 10px;
    font-weight: bold;
    transition: 0.3s;
}

div.bef-links ul li a.bef-link:hover{
    background: #fff;
    color: #124B8A;
    border-color:#fff;
}

div.bef-links ul li a.bef-link--selected{
    background: #fff;
    border-color:#fff;
    color: #124B8A;
}
/* ============================================================================================= */

div.territory-name div.col-md-7.scrollable-section div.view-content.row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: 1 / -1;
    grid-gap: 15px;
}

.scrollable-section {
    height: 550px; 
    width: 100%;  /* Ensure it takes up full width */
    overflow-y: auto;
    /* Firefox scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #124B8A #FDB730; /* First color is thumb, second is track */
}

/* For WebKit browsers (Chrome, Safari) */
.scrollable-section::-webkit-scrollbar {
    width: 12px; /* Increased width to accommodate border */
}

.scrollable-section::-webkit-scrollbar-track {
    background: #FDB730;
    border-radius: 10px;
}

.scrollable-section::-webkit-scrollbar-thumb {
    background: #124B8A;
    border-radius: 10px;
    border: 2px solid #FDB730; /* Reduced border to 2px so thumb is visible */
}

.scrollable-section::-webkit-scrollbar-thumb:hover {
    background: #0d3866; /* Slightly darker blue on hover */
}



/* ============================================================
   2.1  Brand-colour helpers
   ============================================================ */
:root{
  --etva-blue:   #124B8A;
  --etva-orange: #FDB730;
}

/* ============================================================
   2.2  Buttons that launch the modals
   ============================================================ */
.etva-modal-btns{
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-top:1rem;
}

.etva-modal-trigger{
  background:var(--etva-blue) !important;
  color:#fff !important;
  border-radius:0;
  font-weight:700;
  min-height:50px;
  text-transform:uppercase;
}

/* ============================================================
   2.3  Modal look-and-feel (we leave z-index to Bootstrap)
   ============================================================ */
.etva-modal .modal-content{
  border:none;
  box-shadow:0 0 18px rgba(0,0,0,.35);
}

.etva-modal .modal-header{
  background:var(--etva-blue);
  color:#fff;
  border:0;
}

/* white × icon */
.etva-modal .btn-close{
  filter:invert(1);
  opacity:1;
}

.etva-modal .modal-body{
  background:var(--etva-orange);
  color:#0d3866;
}

/* Scroll long bodies nicely */
.modal-dialog-scrollable .modal-body{
  max-height:70vh;
  overflow-y:auto;
}

/* ============================================================
   2.4  Optional – darker backdrop (but leave z-index alone)
   ============================================================ */
.modal-backdrop.show{
  background:#000;
  opacity:.75;
}

/* Custom styling for the accordion body */
.accordion-body {
    background-color: #124B8A;
    border: 1px solid #124B8A;
    border-top: none;
    padding: 15px;
    color:#fff;
    font-size: 13px;
    overflow-y: auto;
}

/* Style for the accordion items */
.accordion-item {
  margin-bottom: 10px;
  border: none !important;
}

/* Remove default Bootstrap border */
.accordion-item, .accordion-header, .accordion-button {
  border: none !important;
}

.territory-title {
    text-align: center;
}

span.title-prefix, 
span.title-subfix{
    font-size: 24px;
}

span.info-type {
    font-size: 20px;
}

/* ----------------------SCROLL BUTTONS----------------------*/

.scroll-controls {
    display: flex;
    justify-content: center;
    position: fixed;
    right: 3%;
    top: 45%;
    flex-direction: column;
    align-items: flex-end;
}

.scroll-controls button#scrollUp{
    background: url('/themes/custom/etva_theme/images/scroll-btn.png');
}

.scroll-controls button#scrollDown{
    background: url('/themes/custom/etva_theme/images/scroll-btn.png');
    transform: rotate(180deg);
}

.scroll-btn {
    width: 70px;
    height: 70px;
    background-color: #124B8A;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}


.views-field.views-field-nothing {
    padding-inline: 15px;
}
/* ----------------------------------------------------------*/

/* ----------------------------------------------------------*/
/* Homepage Tooltip container styling */
/* ----------------------------------------------------------*/
.marker-point-tooltip {
  background: #124B8A !important;
  border: 2px solid #FDB730 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(18, 75, 138, 0.3) !important;
  color: #FFFFFF !important;
  font-family: 'Cera GR', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  max-width: 300px !important;
  padding: 12px 15px !important;
  text-align: left !important;
}

/* Remove default leaflet tooltip styling */
.marker-point-tooltip:before {
  border-top-color: #FDB730 !important;
}

/* Title styling */
.marker-point-tooltip strong {
  color: #FDB730 !important;
  font-weight: bold !important;
  font-size: 15px !important;
  display: block !important;
  margin-bottom: 5px !important;
  text-transform: uppercase !important;
  word-wrap: break-word !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}

/* Description text */
.marker-point-tooltip br + span,
.marker-point-tooltip br + text {
  color: #FFFFFF !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  opacity: 0.9 !important;
}
/* ----------------------------------------------------------*/

/* ----------------------------------------------------------*/
/* Responsive Industrial Map Tooltip */
/* ----------------------------------------------------------*/

/* Territory Map Tooltip Styling - matches site theme */
.leaflet-tooltip.territory-tooltip-wrapper {
  background: #124B8A !important;
  border: 2px solid #FDB730 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(18, 75, 138, 0.3) !important;
  color: #FFFFFF !important;
  font-family: 'Cera GR', Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  max-width: 500px !important;
  min-width: 300px !important;
  padding: 20px 25px !important;
  text-align: left !important;
  opacity: 0.95 !important;
}

/* Remove default leaflet tooltip arrow styling and replace with themed version */
.territory-tooltip-wrapper:before {
  border-top-color: #FDB730 !important;
}

.territory-tooltip-wrapper.leaflet-tooltip-bottom:before {
  border-bottom-color: #FDB730 !important;
  border-top-color: transparent !important;
}

.territory-tooltip-wrapper.leaflet-tooltip-left:before {
  border-left-color: #FDB730 !important;
  border-top-color: transparent !important;
}

.territory-tooltip-wrapper.leaflet-tooltip-right:before {
  border-right-color: #FDB730 !important;
  border-top-color: transparent !important;
}

/* Title styling inside tooltip */
.territory-tooltip strong {
  color: #FDB730 !important;
  font-weight: bold !important;
  font-size: 20px !important;
  display: block !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
  word-wrap: break-word !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}

/* Description text styling */
.territory-tooltip {
  color: #FFFFFF !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
}

/* Ensure the tooltip content container has proper styling */
.territory-tooltip {
  word-wrap: break-word !important;
  white-space: normal !important;
}

/* ----------------------------------------------------------*/
@media all and (max-width:2225px){
    a.territory-info-link.territory-link {
        font-size: 15px;
        height: 60px;
        text-align: center;
    }
    
}

@media all and (max-width:1900px){

    div.info-col{
        padding-top: 0px;
    }

    div.col-md-6.info-col > div.row{
        padding-block: 30px;
    }

    h1.home-info-title{
        margin-bottom: 50px;
        font-size:xx-large;
    }

    div.home-info-desc{
        font-size: 13px;
    }

    a.home-info-btn{
        font-size: 13px;
    }

    div.content > div#homepage-wrapper > div.row > div.col-md-6 div.multipolygon-map-wrapper div#multipolygon-map{
        height: 600px;
    }

    a.territory-info-link.territory-link 
    {
        height: 60px;
    }

    div.view-industrial-territories-page img.image-style-large {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    div.view-industrial-territory-gallery div.view-content{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    div.view-industrial-territories-page div.view-content div.views-row .views-col {
        width: 30% !important;
        margin-inline: 10px;
    }

    div.content div.row.map-info-card{
        font-size: large;
        bottom: 20%;
    }
}


@media all and (max-width:1600px){
    div.col-md-6.info-col > div.row{
        padding-inline: 50px;
    }

    a.home-info-btn{
        font-size: 12px;
    }

     div.view-industrial-territories-page div.view-content div.views-row div.views-col div.territory-label{
        font-size: 13px;
    }

    .feature-types-list{
            grid-template-columns: auto;
    }
}

@media all and (max-width:1450px){

    .feature-types-list{
        display: inline;
    }

    div.territory-link-section{
        flex-wrap: wrap
    }

    a.territory-info-link.territory-link,
    a.territory-imgs-link.territory-link{
        height: 60px;
        width: -webkit-fill-available;
    }

    div.territory-name div.col-md-7.scrollable-section div.view-content.row{
        grid-template-columns: 1fr;
    }

     div.content div.row.map-info-card{
        font-size: medium;
        bottom: 22%;
        left: 10%;
    }
}

@media all and (max-width:1315px){

    div.info-links{
        display: block;
        width: -webkit-fill-available;
        margin-block: 20px;
    }

    div.info-links a.territory-info-link.territory-link 
    {
        width:100%;
        margin-block: 10px;
    }

    div#homepage-wrapper > div.row{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    div.col-md-6.info-col > div.row{
        padding-inline: 30px;
        display: block;
    }

    div#homepage-wrapper > div.row > div.col-md-6{
        width:100%;
    }

    div#homepage-wrapper > div.row > div.col-md-6.info-col{
        text-align: center;
    }

    h1.home-info-title{
        font-size: 29px;
    }

    div.home-info-desc{
        margin-inline: auto;
    }

    a.home-info-btn{
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
    }

    div.content > div#homepage-wrapper > div.row > div.col-md-6 div.multipolygon-map-wrapper div#multipolygon-map{
        height: 800px;
    }

    div.view-industrial-territory-gallery div.view-content div.views-row div.views-field div.field-content img{
        width:85%;
        height: 85%;
    }

}

@media all and (max-width:1100px){

    div.view-industrial-territory-gallery div.view-content div.slick-slide div.views-row div.views-field div.field-content img{
        margin-bottom: 50px;
        box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    }    

    button.slick-arrow{
        position: absolute;
        bottom: 50%;
    }

    button.slick-prev.slick-arrow {
        left: 0;
    }

    button.slick-next.slick-arrow {
        right: 0;
    }

    div.view-industrial-territories-page div.view-content div.views-row div.views-col div.territory-label{
        font-size: 10px;
    }
}

@media all and (max-width:1000px){

    div#main-wrapper{
        width: 90%;
    }

    /* ===================================================================================== */

    div.view-industrial-territories-page div.views-field.views-field-title span.field-content a{
        font-size: medium;
    }
    /* ===================================================================================== */

    div#block-etva-theme-content div.row {
        flex-wrap: nowrap;
        flex-direction: column;
    }

    div.reactive-section{
        order:1;
        width: 100%;
        text-align: center;
        margin-block: 30px;
        align-items: center;
    }

    div.map-section{
        order:2;
        width: 100%;
    }

    a.home-info-btn{
        max-width: 70%;
    }

    div.row.info-page div.col-md-5,
    div.row.info-page div.col-md-7{
        width: 100%;
    }

    div.territory-link-section{
        flex-wrap: nowrap;
    }

    .scroll-controls{
        display:none;
    }

}

@media all and (max-width:800px){
    div.view-territory-information-page div.view-content div.views-row{
        display: flex;
        flex-direction: column;
        margin-block:40px;
    }
    div.view-territory-information-page div.view-content div.views-row div.info-details{
        max-width:400px;  
        margin-top:30px;
    }

    div.view-territory-information-page div.view-content div.views-row div.info-details span.info-type{
        font-weight: bold;
    }

    div.view-industrial-territory-gallery div.view-content div.views-row{
        display: flex;
        justify-content: center;
    }

    div.content > div#homepage-wrapper > div.row > div.col-md-6.map-col img{
        width: -webkit-fill-available;
    }

    .views-view-grid .views-row{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .views-view-grid .views-col{
        width: 100% !important;
    }

    div.view-industrial-territory-gallery div.view-content div.views-row div.views-field div.field-content img{
        margin-bottom: 20px;
        box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    }

    div.view-industrial-territories-page div.view-content div.views-row {
        margin-block: 0px;
    }

    div.view-industrial-territories-page div.view-content div.views-row div.views-col{
        margin-block: 10px;
    }

    div.view-industrial-territories-page div.view-content div.views-row div.views-col {
        width: 100% !important;
        margin-inline: 0px;
    }

    div.content div.row.map-info-card {
        font-size: medium;
        bottom: 28%;
        left: 10%;
    }

}
@media all and (max-width:700px){

    div#page-wrapper div#page header#header nav.navbar a.navbar-brand img{ 
        width: 100px;
        margin-inline: 20px;
    }

    div#page-wrapper header#header nav#navbar-main ul.nav.navbar-nav{
        margin-right: 50px;
    }

    div.col-md-6.info-col > div.row{
        padding-inline: 0px;
    }

    h1.home-info-title{
        font-size: 25px;
    }

    div.home-info-desc{
        padding-left: 0px;
        padding-right: 0px;
    }

    /* ===================================================================================== */


    div#page-wrapper header#header nav#navbar-main ul.nav.navbar-nav{
        margin-right: 20px
    }

    div#page-wrapper header#header nav#navbar-main ul.nav.navbar-nav li.nav-item a.nav-link{
        font-size: xx-small;
    }

    div.view-industrial-territory-gallery div.view-header, div.view-industrial-territories-page div.view-header, div.view-territory-information-page div.view-header {
    
        margin-block: 30px;

    }

    div.view-industrial-territory-gallery div.view-content div.views-view-grid div.views-row{
        margin-bottom:0px;
    }

    div.feature-types-list{
        display: block;
    }

    div.content > div#homepage-wrapper > div.row > div.col-md-6 div.multipolygon-map-wrapper div#multipolygon-map{
        height: 600px;
    }

    div.territory-name.info-page div.col-md-7.scrollable-section div.view-content.row{
        display: grid;
        grid-template-columns: 1fr;
    }

    div.content div.row.map-info-card {
        font-size: medium;
        bottom: 42%;
        left: 10%;
    }
}

@media all and (max-width:600px){

    div.view-industrial-territory-gallery div.view-content div.views-row, div.view-territory-information-page div.view-contentdiv.views-row{
        padding-inline: 0px;
    }

    button.slick-prev.slick-arrow {
        left: 35%;
    }

    button.slick-next.slick-arrow {
        right: 35%;
    }

    a.home-info-btn{
        max-width: 90%;
        font-size: xx-small;
    }

    .arrow-icon img {
        padding: 2px;
    }

    div.view-industrial-territory-gallery div.view-content div.views-row div.views-field div.field-content img{
        width: 90%;
        height: 90%;
    }

    div.view-industrial-territory-gallery div.view-content div.views-row div.views-field div.field-content{
        display: flex;
        justify-content: center;
    }

    div.map-section div#map-container div#map{
        height: 400px;
    }

    div.content > div#homepage-wrapper > div.row > div.col-md-6 div.multipolygon-map-wrapper div#multipolygon-map{
        height: 500px;
    }

    div.view-industrial-territory-gallery div.view-content{
        display: grid;
        grid-template-columns: 1fr;
    }

    div.content div.row.map-info-card {
        font-size: medium;
        bottom: 48%;
        left: 10%;
    }
}


@media all and (max-width:490px){

    div.bef-links ul li a.bef-link{
        font-size: 12px;
    }

    div.territory-link-section{
        flex-wrap: wrap;
    }

    a.territory-info-link.territory-link, a.territory-imgs-link.territory-link {
        width: 80%;
    }

    div.content > div#homepage-wrapper > div.row > div.col-md-6 div.multipolygon-map-wrapper div#multipolygon-map{
        height: 380px;
    }

    button.accordion-button {
    font-size: 11px;
    }

    div.row.map-info-card p.propery-indicator::before {
        content: url("/themes/custom/etva_theme/images/marker-location-red-24.svg");
        display: inline-block;
        margin-right: 5px;
    }

    div.row.map-info-card p.development-indicator::before {
        content: url("/themes/custom/etva_theme/images/marker-location-green-24.svg");
        display: inline-block;

        margin-right: 5px;
    }

    div.content div.row.map-info-card {
        font-size: small;
        bottom: 51%;
        left: 4%;
    }
}

@media all and (max-width:400px){
    div.content div.row.map-info-card {
        font-size: small;
        bottom: 35%;
        left: 4%;
    }
}