.bue-ui:not(.page-node-edit) {
  display: none;
}

.disclaimer a {
  text-decoration: none;
  border-bottom: 1px solid;
  font-weight: 500;
}

/* allow the use of bootstrap cols */
fieldset.no-style.bs-row > .fieldset-wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.bs-row > .fieldset-wrapper > .no-style {
  padding-right: 15px;
  padding-left: 15px; 
}

.styled input[type="text"], .styled input[type="email"], .styled textarea {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0.65em;
    border: 1px solid #cdcdcd;
    -webkit-transition: border 0.30s ease-in-out;
    -moz-transition: border 0.30s ease-in-out;
    -ms-transition: border 0.30s ease-in-out;
    -o-transition: border 0.30s ease-in-out;
    outline: none;
    font-size: 0.85rem;
    margin: 0;
    resize: none;
}
.styled input[type="text"]:focus, .styled input[type="email"]:focus, .styled textarea:focus {
    border: 1px solid #d9002a;
}
.styled input[type="text"], .styled input[type="email"] {
    height: 2.2rem;
}
/*.styled.form-item input[type="text"],
.styled.form-item input[type="email"],
.styled.form-item textarea {*/
.styled.form-item {
    margin-top: 0em;
    margin-bottom: 2em !important;
}

/* selectboxes */
.styled-select select,
.styled.webform-component-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  padding: 0 0.65em;
  height: 2.2rem;
  width: 100%;
  border-radius: 0;
  border: 1px solid #cdcdcd;
  cursor: pointer;
}

.styled-select select:-moz-focusring,
.styled.webform-component-select select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

.styled-select select:focus,
.styled.webform-component-select select:focus {
  border: 1px solid #d9002a;
  outline: none;
}

.styled-select,
.styled.webform-component-select {
  position: relative;
}

.styled-select:after,
.styled.webform-component-select:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #000;
  position: absolute;
  top: calc(50% - 4px);
  right: 0.65em;
  z-index: 108;
  pointer-events: none;
}

.styled-select select::-ms-expand,
.styled.webform-component-select select::-ms-expand {
    display: none;
}

.styled-select select::-ms-value,
.styled.webform-component-select select::-ms-value {
    background: transparent;
    color: #000000;
}

/* new selectboxes */
.styled.webform-component-select:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 8px solid #e21e26;
    position: absolute;
    top: calc(50% - 4px);
    right: 2em;
    z-index: 100;
    pointer-events: none;
}
/*.styled.webform-component-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    padding: 0 0.65em;
    height: 2.2rem;
    width: 100%;
    border-radius: 0;
    border: 1px solid #cdcdcd;
    cursor: pointer;
    font-size: 0.85rem;
}
.styled.webform-component-select select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}
.styled.webform-component-select select:focus {
    border: 1px solid #d9002a;
    outline: none;
}
.styled.webform-component-select {
    position: relative;
}*/


/* toggles */
.call-block,
.email-block {
  display: none;
  margin-bottom: 2em !important;
}

/* containers */
.webform-callouts-buttons .button-wrapper {
  max-width: 305px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 2em;
}
.webform-callouts-buttons {
  max-width: 680px;
  margin: 0 auto;
}
.webform-callouts-buttons > .block-inner > h2 {
  text-align: center;
  font-weight: 300;
  margin-bottom: 1em;
}

.webform-callouts-buttons > .block-inner { margin: 0; }
#webform-component-pre-markup {
  margin-top: 0;
}
.webform-callouts-buttons .email-container {
  float: left;
  position: relative;
}
.webform-callouts-buttons .call-container {
  float: right;
  position: relative;
}

/* buttons */
.webform-callouts-buttons .button-wrapper a.email:before {
  content: "";
  display: block;
  width: 77px;
  height: 44px;
  margin: 0px auto 17px auto;
  background: transparent url(/sites/all/modules/claranet_2015/images/cta-email.png) no-repeat 0 0;
}
.webform-callouts-buttons .button-wrapper a.email {
  padding: 32px 0;
  box-sizing: border-box;
  background-color: #707C8A;
}

.webform-callouts-buttons .button-wrapper a.call:before {
  content: "";
  display: block;
  width: 65px;
  height: 65px;
  margin: -2px auto 5px auto;
  background: transparent url(/sites/all/modules/claranet_2015/images/cta-call.png) no-repeat 0 0;
}
.webform-callouts-buttons .button-wrapper a.call {
  padding: 25px 0;
  box-sizing: border-box;
  background-color: #d9002a;
}

.webform-callouts-buttons .email.active:after,
.webform-callouts-buttons .call.active:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 30px solid #f3f3f3;
  position: absolute;
  transform: translate(-50%,140px);
  -webkit-transform: translate(-50%,140px);
  -moz-transform: translate(-50%,140px);
  -ms-transform: translate(-50%,140px);
  -o-transform: translate(-50%,140px);
  top: 0;
  left: 50%;
  z-index: 999;
}

.webform-callouts-buttons .button-wrapper a {
  display: block;
  height: 140px;
  width: 140px;
  background-color: #253741;
  color: #fff;
  float: left;
  margin-right: 0;
  font-size: 2em;
  font-family: akzidenz-grotesk;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.2em !important;
}
.webform-callouts-buttons .button-wrapper a:hover {
  background-color: #253741 !important;
}

/* buttons content */
.webform-callout-content {
  position: relative;
  text-align: left;
  background-color: #f3f3f3;
  box-sizing: border-box;
  padding: 2em;
  font-size: 1rem;
}

/*
 * callouts form
 */
.webform-callouts .bue-ui { display: none; }
 
.webform-callouts {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f3f3f3;
  padding: 2em;
  box-sizing: border-box;
  font-size: 1rem;
}

.webform-callouts .form-checkboxes a,
.webform-callouts .form-checkboxes a:visited {
  color: #d9002a;
}

.webform-client-form .webform-component.left {
  display: inline-block;
  width: calc(50% - 1em);
  float: left;
  margin: 0;
  text-align: left;
}
.webform-client-form .webform-component.right {
  display: inline-block;
  width: calc(50% - 1em);
  float: right;
  margin: 0;
  text-align: left;
}

#edit-submitted-talk-to-us-about {
  width: 100%;
  border: 1px solid #bbb;
  border-radius: 0;
  min-height: 30px;
  background-color: #fff;
  padding: 3px 5px;
  margin: 0.6em 0;
  position: relative;
  cursor: pointer;
}

.webform-callouts h2.block-title,
.webform-callout-content h2.block-title {
  font-weight: 500 !important;
  color: #253741 !important;
  margin-bottom: 0.5em !important;
  font-size: 2.2rem;
}

/* make sure inputs are the correct width */
.webform-callouts input[type="text"],
.webform-callouts input[type="email"],
.webform-callouts #webform-component-talk-to-us-about select {
  box-sizing: border-box;
  width: 100%;
  min-height: 28px;
  padding: 3px 5px;
}
.webform-callouts textarea {
  padding: 5px;
  margin-top: 0;
}

.webform-callouts {
  background-color: #f3f3f3;
  padding: 2em;
  box-sizing: border-box;
  font-size: 1rem;
}

.webform-callouts input[type="text"],
.webform-callouts input[type="email"],
.webform-callouts textarea {
  border: 1px solid #bbb;
}

.webform-callouts .webform-client-form p {
  font-size: 1rem;
}

/* checkbox */
.webform-client-form .nowrap-checkbox .form-type-checkbox {
  position: relative;
}
.webform-client-form .nowrap-checkbox .form-type-checkbox input[type="checkbox"] {
  position: absolute;
  top: 4px;
}
.webform-client-form .nowrap-checkbox .form-type-checkbox label.option {
  display: inline-block;
  padding-left: 22px;
}

/* override some drupal styling */
.webform-callouts > .block-inner {
  margin-left: 0;
  margin-right: 0;
}
.webform-callouts .form-submit {
  font-size: 1.5rem;
  margin: 1em 0 0 0;
}
.webform-callouts .form-actions { margin: 0; }

/* general form styles */
.embedded-webform input[type="text"],
.embedded-webform input[type="email"],
.embedded-webform textarea {
  width: 100%;
  max-width: 100% !important;
  box-sizing: border-box;
  padding: 0.65em;
  border: 1px solid #cdcdcd;
  -webkit-transition: border 0.30s ease-in-out;
  -moz-transition: border 0.30s ease-in-out;
  -ms-transition: border 0.30s ease-in-out;
  -o-transition: border 0.30s ease-in-out;
  outline: none;
}
.embedded-webform input[type="text"],
.embedded-webform input[type="email"] {
  height: 2.2rem;
}
.embedded-webform input[type="text"]:focus,
.embedded-webform input[type="email"]:focus,
.embedded-webform textarea:focus {
  border: 1px solid #d9002a
}
.embedded-webform input[type="submit"],
.embedded-webform .form-actions,
.embedded-webform.block {
  margin: 0;
}
fieldset.no-style {
  border: none;
  margin: 0;
  padding: 0;
}
fieldset.no-style .fieldset-wrapper .form-item:last-child {
  margin-bottom: 0;
}
.embedded-webform .webform-client-form fieldset.no-style {
  margin-bottom: 1em;
}
.embedded-webform fieldset .webform-component.right {
  display: inline-block;
  width: calc(50% - 0.5em);
  margin: 0;
  text-align: left;
  float: right;
}
.embedded-webform fieldset .webform-component.left {
  display: inline-block;
  width: calc(50% - 0.5em);
  margin: 0;
  text-align: left;
  float: left;
}
.button-large input[type="submit"].button {
  font-size: 1.5rem;
}

/* alternative style */
.embedded-webform.pad2 .webform-client-form fieldset.no-style {
  margin-bottom: 0;
}
.embedded-webform.pad2 .webform-client-form  .form-item {
   margin-top: 0em;
   margin-bottom: 2em;
}
.embedded-webform.pad2 fieldset .webform-component.left {
  width: calc(50% - 1em);
}
.embedded-webform.pad2 fieldset .webform-component.right {
  width: calc(50% - 1em);
}
@media screen and (max-width:580px) {  
  .embedded-webform .webform-client-form .form-item {
    margin-top: 0em;
    margin-bottom: 2em;
  }
  .embedded-webform .webform-client-form fieldset.no-style {
    margin-bottom: 0;
  }
  .embedded-webform fieldset .webform-component.left,
  .embedded-webform fieldset .webform-component.right,
  .embedded-webform.pad2 fieldset .webform-component.left,
  .embedded-webform.pad2 fieldset .webform-component.right {
    width: 100%;
  }
  .embedded-webform fieldset.no-style .fieldset-wrapper .form-item {
    margin-bottom: 1em;
  }
  .embedded-webform.pad2 fieldset.no-style .fieldset-wrapper .form-item {
    margin-bottom: 2em;
  }
}

/* checkboxes */
.styled .form-checkbox {  
  position: absolute;
  opacity: 0;
  top: 5px;
  left: 2px;
  z-index: -10;
}
.styled .form-checkboxes {
  position: relative;
}
.styled .form-checkboxes label.option:before {
  content: '';
  background-color: #fff;
  border: 1px solid #cdcdcd;  
  width: 17px;
  height: 17px;
  display: inline-block;
  position: absolute;
  top: 2px;
  left: 0;
  margin-right: 10px;
}
.styled .form-checkboxes input:checked ~ label.option:after {
  position: absolute;
  content: '\e818';
  font-family: claranet-glyph;
  left: 4px;
  top: 3px;
  font-size: 0.7rem;
  font-weight: bold;
  color: #000;
}
.styled .form-checkboxes label {
  margin-left: 25px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.webform-client-form .disclaimer p, .webform-client-form .disclaimer label {
  font-size: 1rem;
}
