.grid-item { width: 20%; }

@media (max-width: 1144px){
   .grid-item { width: 18%; }
}
@media (max-width: 830px){
   .grid-item { width: 38%; }
}
@media (max-width: 628px){
   .grid-item { width: calc(100% - 90px); }
}
.grid-item--width4 { width: calc(100% - 90px);}

.grid{
  background-color: #ffffff;
  padding: 30px;
}

.map-container{
  width: 100%;
  background: url('//cdn2.hubspot.net/hubfs/483909/resources/map-metal-repeat-lrg.jpg') repeat;
  color: #babbbc; rgba(255,255,255,0.6);
  text-align: center;
  height:354px;
  margin-top: 65px;
}

.row-fluid [class*="span"].wrapper.map-wrapper{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.row-fluid [class*="span"].wrapper.map{
  width: 100%;
  max-width: 800px;
  height:354px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1025px){
  .map-container{
      margin-top: 107px;
  }
 .row-fluid [class*="span"].wrapper.map{
    background-position: calc(50% + 15px) 0px;
  } 
}
#markers{
  position: relative;
  width: 100%;
  height: 354px;
  background-image: url('//cdn2.hubspot.net/hubfs/483909/Corrotherm-Oct2016-Theme/Images/world_map_dotted.png');
  background-repeat: no-repeat;
}
@media (max-width: 768px){
  #markers{
    margin-left: -200px;
    width: calc(100% + 250px);
  }
}
.marker{
  position: absolute;
  background: #297acc;
  border: 2px solid #fff;
  padding: 0;
  width: 14px;
  height: 14px;
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
}

.marker:hover {background: #3192d6;}
.marker.active {background: #fff; cursor: default;}

.ie8 .marker {cursor: default;}
.ie8 .marker:hover {background: #297acc;}

.marker.button.is-checked{
  background: #fff;
  border: 2px solid #297acc;
}
.prompt{
  position: relative;
  background: #297acc url(//cdn2.hubspot.net/hubfs/483909/resources/email-icon.png) no-repeat 175px 10px;
  color: #ffffff;
  width: 200px;
  height: 30px;
  text-align: left;
  vertical-align: middle;
  float: right;
  margin-top:-60px;
  padding: 10px 15px 3px 15px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}
.prompt:hover{
  background-position: 172px 7px;
  border: 3px solid #ffffff;
  padding: 7px 12px 0px 12px;
}
.filters, .subfilters{
  display: flex; 
  clear: both;
}
.subfilters-spacer{
  height: 20px; 
}
@media (max-width: 768px){
  .filters, .subfilters{
    flex-wrap: wrap;  
  }
}
.subfilters{
  margin: 30px 0; 
}
.filters .button, .subfilters .button{
  flex-basis: 100px;
  text-transform: uppercase;
  font-family: 'Montserrat',sans-serif;
  color: #0d2e4f;
  font-size: 18px;
  height: 48px;
  vertical-align: top;
  background-color: #eaebef;
  border: 0px;
  cursor: pointer;
}
.filters .button{
background-color: #f0f0f0;
}

.filters .button{
  flex-grow: 1;
}

.filters .button.is-checked{
  background-color: #fff;
  border: 0px;
}
.filters button.button:focus, .subfilters button.button:focus {
  outline:0;
}
.filters button.button:hover, .subfilters button.button:hover, .subfilters .button.is-checked {
  background-color:#297acc;
  color:#ffffff;
}
.office .header{
  padding-bottom: 0px;
}
.office h3{
  margin-bottom: 0px;
}
.body-container-wrapper .office ul{
  margin-top: 0px;
}
.body-container-wrapper .office ul li{
  margin-left: 0px;
}
.body-container-wrapper .office ul li.adr{
  clear: both;
}
.body-container-wrapper .office ul li.tel{
  float: left;
  padding-right: 30px;
  font-size: 1.4em;
  width: 100%;
}
.body-container-wrapper .office ul li.tel .label{
  color: #297acc;
}
.body-container-wrapper .office ul li.tel .value{
  color: #36374c;
  font-weight: bold;
}

.body-container-wrapper .office li:before {
    position: relative;
    content: '';
    top: 0px;
    left: 0px;
    background: transparent;
    height: 0px;
    width: 0px;
}
.grid-item.contact { 
  border: 10px solid #ffffff;
  border-width: 10px 10px 0px 0px;
}
.grid-item.contact { 
  background-color: #eaebef;
  text-align: center;
  padding: 15px;
}
.grid-item.contact img { 
  border: 5px solid #fff;
  width: 98%!important;
  height: 98%!important;
}
.grid-item.contact h3 { 
  font-weight: 900;
  font-size: 1em;
  margin-top: 30px;
  margin-bottom: 0px;
}
.grid-item.contact h4 { 
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1em;
  margin-top: 0px;
  color: #297acc;
  min-height: 55px;
}
.grid-item.contact button { 
  background-color: #297acc;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1em;
  padding: 10px 0px;
  width: 100%;
  font-family: 'Montserrat',sans-serif;
  font-weight: bold;
}
.grid-item.contact button:hover { 
  background-color: #0d2e4f;
  cursor: pointer;
}

/*--START: Enquiry --*/
div#enquiry {
  position:fixed;
  background: #297acc; 
  z-index: 5; 
  top: 0; 
  left: 0;
  width: 100%;
  height: 80%;
  display: none;
  margin-top: 0px;
  padding-top: 45px;
      overflow: scroll;
}
div#enquiry.active{
  display: block;
}

.enquiry .hbspt-form{

}
.close{
  float: right;
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  margin-top: -45px;
}
.close:hover{
  cursor: pointer;
}
.enquiry form 
{
  padding: 10px 0 20px;
  min-height: 397px;
  width: calc(100% - 30px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.enquiry fieldset {
    border: none !important;
    padding: 0;
    padding-top: 25px;
}

.enquiry span.h2{
  color: white;
  font-size: 26px;
}
.enquiry legend, 
.enquiry label {color: #fff; font-weight: normal;}

.enquiry .form_field {position: relative; margin-top: 10px;}

.enquiry .submit, 
.enquiry a {color: #97b6e1;}
.enquiry a:hover {color: #fff; text-decoration: underline;}

.enquiry .checkbox label {position: static;}

.enquiry input[type="text"], 
.enquiry textarea 
{
/*background: rgba(255,255,255,0.6);*/
line-height: 1.2;
}

.ie8 .enquiry input[type="text"], 
.ie8 .enquiry textarea {background: url('//cdn2.hubspot.net/hubfs/483909/Corrotherm-Oct2016-Theme/Images/white60.png');}


.enquiry input[type="text"], 
.enquiry input[type="submit"], 
.enquiry textarea 
{
border: 0;
border-radius: 2px;
}

.enquiry input[type="text"], .enquiry textarea {width: 98%;}

.enquiry input[type="text"]:focus, 
.enquiry textarea:focus {background: #fff;}

.enquiry input[type="text"]::placeholder, 
.enquiry input[type="email"]::placeholder, 
.enquiry textarea.hs-input::placeholder
{
  color: #000000;
}

.enquiry input[type="submit"]
{
padding: 10px;
font-size: 20px;
line-height: 1;
}

.enquiry input[type="submit"]:hover, 
.prompt a.active:hover {background: #002;}

.enquiry input[type="text"]:focus + label.guide {position: static;}
.enquiry textarea:focus + label.guide {color: #ccc; top: 5px; right: 15px; left: auto;}

.enquiry form .hs-error-msgs li label {
    color: #ffffff;
    font-size: 14px;
}

.enquiry form .hs_enquiry_attachment label span {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}
.enquiry form .hs_enquiry_attachment legend.hs-field-desc, .enquiry form .hs-form-booleancheckbox label span{
    color: #ffffff;
    font-size: 14px;
    font-family: 'Montserrat',sans-serif;
}
.enquiry input.hs-input[type=file]{
    line-height: 1.5;
    padding: 20px 20px 10px 20px;
    padding-left: 15px;
}
.enquiry input.hs-input[type=file]{
    line-height: 1.5;
    padding: 20px 20px 10px 20px;
    padding-left: 15px;
}
.enquiry form .hs_add_me_to_the_corrotherm_mailing_list{
    margin-bottom: 0px; 
}
.enquiry form li.hs-form-booleancheckbox{
    margin-bottom: 0px;
}
.enquiry form .actions{
    margin-top: 0px;
    padding-top: 0px;
}
body .row-fluid .enquiry form .hs-button{
    background-color: #0d2e4f;
    margin-top: 0px;
}
@media (min-width:1025px){
  div#enquiry{
    margin-top: 107px;
  }
}
@media (max-width:767px){
  div#enquiry {
   height:100%; 
  }
  div#enquiry{
    padding-left: 15px;
    padding-right: 15px;
  }
  .enquiry input[type="text"], .enquiry input[type="email"], .enquiry textarea.hs-input, .enquiry input[type="file"] {width: 85%;}
  .close{margin-right: 15px;}
}
/*--END: Enquiry--*/

