/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

  *,*::before,*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   body {
    font-family: 'Raleway', sans-serif;
  }

  ul{
    padding-left: 0;
  }

.plan-search div.first, .map-details div.first{
  margin-top: 83px;
}

.map-details .first{
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}



.main-wraper{
  /* display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto; */

  display: flex; 
  justify-content: center;
  /* align-items: center; */
  flex-wrap: wrap-reverse;
  min-height: 850px;
  height: 100%;
  width:100%;
}

.main-wraper .div{
  flex-grow: 1;
}
.main-wraper .div{
  flex-basis: 25%;
}
.main-wraper .div:nth-child(2){
  flex-basis: 50%;
}
.map-details{
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* padding-top: 13px; */
  /* max-width: 300px; */
}

.map-details .details{
  max-width: 300px;
}

/* .map-details .description{
  display: flex;
  justify-content: space-between;
  margin-top: .35em;
} */
/* .description ul {
  text-decoration: none;
  list-style-type: none;
  font-size: 18px;
  color: #6e6e6e;
  padding: 0;
  font-weight: 500 ;
 
}
.description ul.key {
text-transform: uppercase;
}
.description ul li{
  font-weight: 600 ;
}

.description ul li:nth-child(1){
  font-weight: 800 ;

} */

.description {
margin-top: .4em;
}
.description p{
  color: #6e6e6e;
  /* padding: 0; */
  font-weight: 600 ;
  font-size: 18px;
}
.description p:nth-child(1){
  font-weight: 800 ;
}


.underline{
  display: block;
  height: 0;
  border-bottom:2px solid #2dc5f4;
}

.plan-name{
  font-size: 42px;
  font-weight: 800;
  line-height: 0;
  margin-bottom: 1em;
  margin-top: 0.4em;
}

.plan-name span:nth-child(2){
  color: #2dc5f4;
}


.excerpt{
  font-size: 27px;
  color: #6e6e6e;
  font-weight: 800;
  display: inline-block;
  /* line-height: 0; */
  margin-bottom: 0;
  /* border-bottom: 2px solid #2dc5f4; */
  margin-top: -0.6em;
  border-bottom:2px solid #2dc5f4;
}


.map-image{
  width: 100%;
  max-width: 300px;
  margin-bottom: 50px;
  position: relative;
}


.north-side-img{
  position: absolute;
  bottom: -35px;
  right: 35px;
  
}











.plan-search{
  
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* justify-content: center; */
  align-items: center;
  border-left: 2px solid #6e6e6e;
}

.plan-search .menu{
  width: 300px;
}

.plan-search .menu-heading{
  display: block;
  margin-bottom: 0;
  padding: 4px;
  text-align: center;
  font-size: 25px;
  color: #ffffff;
  font-weight: 900;
  background-color: black;
}
.relative{
  position: relative;
}
.sr-only{
  position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}
.filter-switch label {
  cursor: pointer;
}
.filter-switch-item input:checked + label {
  color: inherit;
}
.only-flex{
  display: flex;
}
.inline-flex{
  display: flex;
  justify-content: space-between;
  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr; */
}
.flex{
  display: flex;
  justify-content: center;
  align-items: center;
}
#building-holder .filter-switch {
    display:flex;
    flex-wrap: wrap;
}
#building-holder .filter-switch .filter-switch-item{
    border-top: 1px solid black;
}
#building-holder .filter-switch .filter-switch-item:nth-child(2n){
    border-right: 0;
}
.filter-switch{
  margin: 0;
  border: 1px solid black;
}
.filter-switch .filter-switch-item{
  border-right: 1px solid black;
}
.filter-switch .filter-switch-item:last-child{
  border-right: 0;
}
.filter-switch-item label{
  width: 100%;
  text-align: center;
  font-size: 15px;
  padding: 8px;
  font-weight: bold;
}
.filter-switch-item input:checked + label {
  /* color: white; */
  background-color: #2dc5f4;
}
.filter-switch-item input:not(:checked) + label {
  --bg-opacity: 0;
  /* color: black; */
  box-shadow: none;
}


polygon.unit-615{
  fill:#e558587d!important;
  cursor: default;
}
polygon.unit-615:hover{
  fill:#e558587d!important;
  cursor: default;
}
polygon.active{
  fill:#00a8ff7d!important;
}
polygon.unit-pending {
  fill: #fffc007d !important;
}

#plan-image{
  width: 100%;
  max-width: 900px;
  height: 100%;
  max-height: 1000px;
  animation:1.5s ease 0s normal forwards 1 fadein;
  -webkit-animation:2s ease 0s normal forwards 1 fadein;
  opacity:0
}


  

#image-map-pro-container{
  height: 100%;
  max-height: 300px;
  animation:1.5s ease 0s normal forwards 1 fadein;
  -webkit-animation:2s ease 0s normal forwards 1 fadein;
  opacity:0
}


@keyframes fadein{from{opacity:0}
to{opacity:1}
}

@-webkit-keyframes fadein{from{opacity:0}
to{opacity:1}
}

#plan-image img{
  display: none;
}
#plan-image img.active{
  display: block;
}

.furniture-toogle-btn{
  width: 100%;
  outline: none;
  font-weight: bold;
  cursor: pointer;
  padding: 12px 0;
  border: 1px solid #2dc5f4;
  background: transparent;
  margin-top: 0rem;
  letter-spacing: .06rem;
  color: #6e6e6e;
}
.furniture-toogle-btn:hover{
  width: 100%;
  outline: none;
  font-weight: bold;
  cursor: pointer;
  padding: 12px 0;
  border: 1px solid #2dc5f4;
  background: #2dc5f4;
  margin-top: 0rem;
  letter-spacing: .06rem;
  color: #6e6e6e;
}
































/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
