/* TM CMS Page */
:root {
  --map-height: 100vh;
}


#map {
  height: calc(var(--map-height) - var(--header-height));
}

html,
body {
  height: 100vh;
  margin: 0;
  padding: 0;
}

h1 {
    font-size: 38px;
    
    padding: 0px 0px 20px 0px;
    line-height: 50px;
}
h2 {
    font-size: 28px;
    
    padding: 0px 0px 20px 0px;
    line-height: 40px;
}

div.map-page {
  --top-padding: 138px;
  position: relative;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}
div#location-map            { height: 100vh; width: 100%; background-color: #eeeeee;}
div#location-map-control {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    height: 100%;
}
div#location-map-control div#ddDefault
{
  text-align: center;
}
div#location-map-control div#ddDefault,
div#location-map-control div#ddForm {
    width: 90%;
    max-width: 60vw;
    background-color: rgb(255 255 255 / 80%);
    padding: 60px;
    margin: 100px auto;
}

div#location-map-control div#ddForm div.or {
    padding: 20px 0px 30px 0px;
    font-size: 20px;
    font-weight: bold;
}
div#location-map-control div#ddForm div#shortcut-links    { text-align: center; }
div#location-map-control div#ddForm div#shortcut-links a   { 
  margin: 0px 20px 20px 0px;
}

div#step-directions { height: 400px; overflow-y: auto; display: none; }

.intro .animate-block .fade-in-left { float: left; padding: 0px 0px 0px 100px; }
.intro .animate-block .fade-in-right  { float: left; padding: 80px 0px 0px 100px; width: 500px; }



div#location-map-control.side {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 25vw;
    max-width: 400px;
    display: block;
    margin: 0px;
    
    /* padding: 20px; */
    /* z-index: 10; */
    /* box-shadow: 0px 0px 10px #cccccc; */
    /* overflow-y: auto; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* height: calc(100% - 200px); */
}

div#location-map-control.side div#ddForm {
  overflow-y: auto;
  margin: 0px;
}


div#location-map-control.side a.cta   { 
  width: 100%; text-align: center;
  margin: 0px 20px 20px 0px;
  padding: 15px 0px;
}

@media (max-width: 1080px){
  div#location-map-control.side {
    position: absolute;
    left: 20px;
    top: 120px;
    width: 50vw;
    max-width: 400px;
    display: block;
  }

}



@media (max-width: 640px){
  h1 {
    font-size: 30px;
    display: inline-block;
    padding: 0px 0px 20px 0px;
    line-height: 36px;
  }
  h2 {
    font-size: 18px;
    display: inline-block;
    padding: 0px 0px 20px 0px;
    line-height: 24px;
  }
  input { border: 2px solid #8f470b; }


  div#location-map-control div#ddForm div#shortcut-links a,
  a.cta,
  a.cta.solid {
    margin: 0px 20px 20px 0px;
    font-size: 16px;
    line-height: 20px;
    width: 100%;
    padding: 10px 0px;
  }

  div#location-map-control,
  div#location-map-control.side
   {
    position: absolute;
    left: 0px;
    top: 0px;
    width: calc(100% - 0px);
    overflow-y: auto;
  }
  div#location-map-control div#ddForm     { width: 100%; }
  div#location-map-control div#ddDefault, 
  div#location-map-control div#ddForm {
    padding: 40px 20px;
    width: calc(100% - 40px);
    max-width: unset;
    margin: 0px;
    text-align: center;
  }
}