/* Form Styles */
.section-callout { background: #ffffff url(https://www.agilent.com/cs/promotions/images/20170914-teaser-head-strip-960x4.png) no-repeat right 0; float: right; margin-left: 30px; }
.section-callout.one-third, .section-callout.one-half { margin-left: 30px; }
.section-callout.presenters { margin-left: 30px; margin-left: 60px; }
.section-callout.one-third { max-width: calc(33% - 30px); }
.section-callout.one-half { max-width: calc(50% - 30px); }
.section-callout.one-fourth { max-width: calc(25% - 30px); }
.section-callout.two-thirds-left { max-width: calc(60% - 30px); float: left; margin-right: 30px; }
.section-callout.presenters { max-width: calc(50% - 60px); }
.section-callout.presenters .img-fix { float: left; display: inline-block; max-width: 50%; margin-right: 30px; }
.callout-padding { padding: 25px 30px; }
.section-callout h4 { font-size: 22px; font-weight: 300; margin-top: 0px; margin-bottom: 15px; }
.section-callout.presenters h4 { font-size: 14px; font-weight: bold; margin-bottom: 0px; }
.section-callout.presenters h4 + p { margin-top: 0px; }
.section-callout p, .section-callout a { font-size: 13px; }
.cta-button a:hover { background-color:#00426a!important; text-decoration:none!important; }
.section-callout img { width: 100%!important; height: auto!important; display: block; }
.section-padding:nth-child(odd) { background-color: #e7e7e6; }
.section-padding:nth-child(even) { background-color: #d9d9d8; }
#form-c { border-top: 1px solid #d0d0ce; }
/* Add these to the already created media queries */
@media (max-width: 1200px) {
  .section-callout.one-fourth { max-width: calc(50% - 30px); }
  .section-callout.one-fourth + .section-callout.one-fourth + .section-callout.one-fourth { margin-top: 30px; }
}
@media (max-width: 798px) {
  .section-callout.one-third, .section-callout.one-half, .section-callout.presenters, .section-callout.one-fourth, .section-callout.two-thirds-left { display: block; float: none; padding-left: 0px; max-width: 90%; margin-left: auto; margin-right: auto; margin-top: 30px; }
  .flip-order-mobile { display: flex; flex-direction: column-reverse; } /* utility class to flip teaser order on mobile */
  .section-callout img { max-width: 100%; }
}
@media (max-width: 470px) {
  .section-callout.presenters .img-fix { display: block; float: none; max-width: 100%; margin-bottom: 15px; margin-right: 0px; }
}
input[type="submit"] { border-radius: 0 !important; -webkit-appearance: none !important; }
.elq-form { width: 100% !important; padding-top: 0px !important; }
.elq-form label { color: #212529 !important; font-weight: normal !important; margin-bottom: .5rem !important; }
.elq-formCol, .elqFieldWrap { width: 100% !important; }
.elq-form .submit-button, .elq-form .submit-button-style { border-radius: 0px !important; border: 1px solid transparent !important; color: #ffffff !important; background-color: #0085d5 !important; background-image: none !important; border-color: #007bff !important; display: inline-block !important; font-size: 1rem !important; font-weight: 400 !important; line-height: 1.5 !important; padding: .375rem .75rem !important; font-family: "Roboto", Arial, sans-serif, Helvetica; text-align: center !important; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out !important; user-select: none !important; vertical-align: middle !important; white-space: nowrap !important; width: 100% !important; -moz-user-select: none !important; -ms-user-select: none !important; -webkit-user-select: none!important; height:45px !important; }
.elq-form .submit-button:hover, .elq-form .submit-button-style:hover { background-color: #00426a !important; text-decoration: none !important; }
.elq-form.mktoLayoutAbove .mktoRadioList, .elq-form.mktoLayoutAbove .checkbox-label { clear: none !important; float: left !important; width: auto !important; }
.elq-form .checkbox-label, .elq-form .checkbox-aligned  {display:inline; margin-left:5px;}
.elq-form input[type=text], .elq-form input[type=url], .elq-form input[type=email], .elq-form input[type=tel], .elq-form input[type=number], .elq-form input[type=date], .elq-form textarea.elqField, .elq-form select.field-size-top-large { background-clip: padding-box !important; background-color: #ffffff  !important; border-radius: .25rem !important; border: 1px solid #ced4da !important; color: #212529 !important; display: block !important; font-size: 1rem !important; line-height: 1.5 !important; padding: .375rem .75rem !important; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out !important; }
select, textarea { background-clip: padding-box !important; background-color: #ffffff  !important; border-radius: .25rem !important; border: 1px solid #ced4da !important; color: #212529 !important; display: block !important; font-size: 1rem !important; line-height: 1.5 !important; padding: .375rem .75rem !important;transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;}
.elq-form select[multiple] { height: auto; }
.elq-form input[type="submit"], .elq-form .submit-button, .elq-form .submit-button-style { margin-left: auto !important; margin-right: auto !important; display: block !important; }
label.instructions, .form-element-instruction { font-size: 14px !important; margin-top: 5px !important; padding: 6px 0pt 3px; }
.elq-form input[type="checkbox"], .elq-form input[type="radio"] { margin-left: 10px !important;   }
.elq-form span.list-order label {  margin-bottom: 5px; width: 90%; margin-left:5px; }
.elq-form select { height: calc(2.25rem + 2px); }
/* NEW FORMAT UPDATES - Bryan Myers */
.elq-form .field-size-top-medium { width: 100%; }
.elq-form .label-position.left { width: 31% !important; }
.elq-form .list-order.oneColumn { width: auto; }
.elq-form .field-wrapper.individual { float: none; }
.elq-form input[type="submit"] { width: 100px !important; display: block; margin-left: auto; margin-right: auto; }

/* BRYAN - fix for checkbox alignment on mobile */
form .heading { margin-bottom: 20px !important; padding-bottom: 20px !important; border-bottom: 1px solid #333; }

/* BRYAN - Dynamic form multi-select fixes */
.elq-form .mobileSelect .label-position.left { width: 31% !important; }
@media (max-width: 991px) {
  .elq-form .mobileSelect .label-position.left, .mobileSelect select { width: 100% !important; }
  .elq-form .list-order.threeColumn, .elq-form .list-order.threeColumnLeft, .elq-form .list-order.twoColumn { width: 100%; }
}
.elq-form label.no-label-spacing { padding: 0px !important; margin: 0px !important; }
.elq-form .checkbox-label, .elq-form .checkbox-aligned { left: 35px; margin-left: 0px; padding-left: 0px; }
.elq-form .checkbox-span input[type='checkbox'], .elq-form input[type='checkbox'] { position: absolute; left: 0px; }
.elq-form .single-checkbox-row input[type='checkbox'] { top: 3px !important; }
.elq-form .checkbox-label, .elq-form .checkbox-aligned  { margin-left: 0px; padding-left: 0px; left: 35px; }
.elq-form .label-position.left { min-width: 120px; }
video { width: 100%; height: 100%; }

/* NEW FORM STYLES */
.elq-form .elq-field-style div.col-sm-12:nth-child(1) { max-width: 31%; position: relative; }
.elq-form .elq-field-style div.col-sm-12:nth-child(2) { max-width: 65%; }
.elq-form .col-xs-8 { width: 100% !important; }
.form2-desktop-width  { max-width: 100% !important; }
.field-control-wrapper > div { position: relative; }
.elq-form input[type="radio"] + label.checkbox-aligned { left: 30px; top: 4px; }
.elq-form .container-fluid { margin-left: auto; margin-right: auto; width: 75% !important; }
@media (max-width: 991px) {
  .elq-form div.form2-mobile-width { max-width: 100% !important; }
  .elq-form .elq-field-style div.col-sm-12:nth-child(1) { max-width: 100%; }
  .elq-form .elq-field-style div.col-sm-12:nth-child(2) { max-width: 100%; }
}
.elq-heading { border-bottom: 1px solid #333; margin-bottom: 20px !important; font-size: 24px !important; margin-top: 20px; padding-bottom: 10px !important; }
.checkbox-aligned { position: relative; max-width: 90%; }
.elq-form .col-xs-12 input[type=checkbox] { left: 15px; top: 5px; position: absolute; }
.elq-form .col-xs-12 .single-checkbox-row .checkbox-aligned { left: 30px; }
.elq-form .col-xs-12 input[type=radio] { left: 0px; top: 5px; position: absolute; }
.elq-form * { font-family: 'Roboto', Arial, sans-serif, Helvetica !important; }
.field-control-wrapper div { width: 33%; display: inline-block; }
.elq-form .checkbox-label, .elq-form .checkbox-aligned { display: inline-block; max-width: calc(100% - 45px); }
@media (max-width: 768px) {
  .elq-form .container-fluid { margin-left: auto; margin-right: auto; width: 100% !important; }
  .field-control-wrapper div { width: 50%; }
}
@media (max-width: 600px) { p { word-break: break-word; } }

/* rewrite and consolidation */
/* GENERAL RULES */
body, html { margin: 0px; padding: 0px; width: 100%; height: 100%; }
.page-width { margin-left: auto; margin-right: auto; max-width: 1155px; }
.page-padding { padding-left: 15px; padding-right: 15px; }
.clear-both, .clear-all { clear: both; }
* { font-family: Roboto, Arial, sans-serif, Helvetica; }
/* DESIGN RULES */
#hero { background-color: rgba(0,133,213,0.75) !important; background-size: cover; -moz-background-size: cover; -o-background-size: cover; -webkit-background-size: cover; display: inherit; margin-bottom: 0px; margin-top: 0px; padding-bottom: 0px; padding-top: 0px; position: relative; order: 1; }
a:link, a:visited, a:active { color: #0085d5; text-decoration: none; }
a:hover { color: #00426a; text-decoration: underline; }
.cta-button { text-align: center; }
.cta-button a { background-color: #0085d5; color: white !important; padding: 15px 21px; display: inline-block; margin-top: 15px; margin-bottom: 15px; }
#header { background-color: #0085d5; padding-top: 15px; padding-bottom: 15px; }
#hero { background-color: #0085d5; }
#event-text { padding-top: 20px; padding-bottom: 20px; }
h1 { font-size: 17px; font-weight: 400; line-height: 25.5px; margin: 0px; padding: 0px; color: #fff; }
h2 { font-size: 42px; line-height: 48px; font-weight: 300; margin: 0px; padding: 0px; color: #fff; }
h1 + h2 { font-size: 32px; line-height: 38px; font-weight: 300; margin: 0px; padding: 0px; color: #fff; }
#event-information { font-weight: 400; font-size: 12px; line-height: 25.5px; margin-top: 15px; color: #fff; }
#event-image { float: right; padding-left: 15px; max-width: 33%; }
#event-image img { width: 100% !important; height: auto !important; display: block; max-width: 350px; }
.section-padding { padding-top: 40px; padding-bottom: 50px; }
h3 { font-size: 24px; font-weight: 300; line-height: 36px; }
section + section, footer { border-top: 1px solid #d0d0ce; }
section li { margin: 0 0 8px 0 !important; }
section p { line-height: 1.5; }
footer { background-color: #f8f9fa; padding-bottom: 50px; padding-top: 50px; }
footer p { color: #6c757d; font-size: 80%; font-weight: 400; padding-bottom: 15px; }
#footer-left { float: left; display: inline-block; }
#footer-left li { display: inline-block; line-height: 22px !important; margin: 0 0 8px 0 !important; }
#footer-left ul, #footer-left ul { padding: 0 0 15px 0; margin: 0; list-style: none; }
#footer-right { float: right; display: inline-block; }
#footer-right li { margin-right: 1rem !important; display: inline-block; font-size: 16px; }
/* >2 PRESENTERS FIX */
.presenters + .presenters + .presenters { margin-top: 30px; }

/* BRANDING LOGO PLACEMENT - MOVE TO GLOBAL FILE */
.branding-logo { float: right; display: inline-block; max-width: calc(33% - 30px); padding: 0px 15px 20px 15px; text-align: right; }
.branding-logo img.crosslab, .branding-logo-mobile img.crosslab, .branding-logo img.infinitylab, .branding-logo-mobile img.infinitylab, .branding-logo img.openlab, .branding-logo-mobile img.openlab { max-width: 135px; height: auto; }
.branding-logo img.dako, .branding-logo-mobile img.dako { width: auto; max-height: 55px; }
.callout-with-branding { max-width: calc(33% - 15px); display: inline-block; float: right; }
.flip-order-mobile .callout-with-branding .branding-logo { max-width: calc(100% - 30px); padding: 0px 0px 20px 0px; display: block; }
.branding-logo-mobile { display: none; }
.branding-logo + .page-padding { max-width: calc(100% - 200px); }
.callout-with-branding .section-callout.one-third, .callout-with-branding .branding-logo { width: 100%; float: right; max-width: calc(100% - 30px); }
.flip-order-mobile .branding-logo { display: none; }

/* MOBILE and TABLET RULES */
@media (max-width: 1200px) { .page-width { max-width: 960px !important; } }
@media (max-width: 798px) {
  h1 { font-size: 14px; line-height: 20.5px; }
  #event-information { line-height: 20.5px; }
  #event-image { min-width: 50%; }
  #footer-left, #footer-right { display: block; text-align: center; float: none }
  .branding-logo + .page-padding { max-width: initial; }
  .branding-logo { display: block; float: none; padding-left: 0px; max-width: 100%; margin-left: auto; margin-right: auto; padding: 0px 20px 20px 0px; }
  .callout-with-branding { display: block; float: none; padding-left: 0px; max-width: 100%; margin-left: auto; margin-right: auto; padding: 0px; }
  .branding-logo-mobile { display: block; padding: 0px 20px 20px 0px; text-align: right; }
  /* MOBILE LOGO ADJUSTMENTS */
  #header img { width: 188px !important; }
  .branding-logo img.crosslab, .branding-logo-mobile img.crosslab, .branding-logo img.infinitylab, .branding-logo-mobile img.infinitylab, .branding-logo img.openlab, .branding-logo-mobile img.openlab { max-width: 100px; height: auto; }
  .branding-logo img.dako, .branding-logo-mobile img.dako { width: auto; max-height: 40px; }
  .flip-order-mobile .callout-with-branding .branding-logo { display: none; }
  .callout-with-branding .section-callout.one-third { float: none; max-width: 90%; }
}
@media (max-width: 600px) {
  #event-image { display: block; float: none; padding-left: 0px; max-width: 100%; }
  #event-image img { max-width: 100%; }
}
.display-none { display: none !important; }
.dyanmic-checkbox { position: relative; left: 13px; }
.dynamic-label { max-width: 100% !important; }
.display-none { display: none !important; }
.elq-form .dyanmic-checkbox { position: relative; margin-bottom: 0px !important; }
.dynamic-label { max-width: 100% !important; }
.dynamic-full-width { min-width: 300px; width: 50%; display: inline-block !important; }
.elq-heading { margin-top: 10px; padding-bottom: 5px !important; border-bottom: 1px solid #333; font-size: 18px !important; margin-bottom: 5px !important; margin-left: 10px; margin-right: 10px; }
.elq-form .elq-field-style { padding: 3px; }
.elq-form input[type=text], .elq-form input[type=url], .elq-form input[type=email], .elq-form input[type=tel], .elq-form input[type=number], .elq-form input[type=date], .elq-form textarea.elqField, .elq-form select.field-size-top-large {
  padding: 3px 5px !important; font-size: 12px !important;
}
.checkbox-columns { min-width: 200px; width: 33% !important; vertical-align: top; }
.checkbox-exception { width: 100% !important; vertical-align: top; }
.elq-form select { height: auto; }
.elq-form label { font-size: 14px; }
select, textarea { font-size: 14px !important; padding: 3px 5px !important; }
@media (max-width: 1200px) { h3 { margin-top: 0px; } }

/* Language font overrides */
:lang(cn), :lang(zh), :lang(zh-Hans), html[lang="cn"], html[lang="zh"], html[lang="zh-Hans"] { font-family: '微软雅黑', 'Microsoft YaHei', '华文黑体', 'STHeiti', '思源黑体', 'Source Hans Sans', Arial, sans-serif !important; }
:lang(ja), html[lang="ja"] { font-family:'ＭＳ ゴシック', 'MS Gothic', 'ヒラギノ角ゴ', 'Hiragino Kaku Gothic', Helvetica, Arial, sans-serif !important; }
:lang(ko), html[lang="ko"] { font-family:'맑은 고딕', 'Malgun Gothic', '돋움', 'Dotum', Helvetica, Arial, sans-serif !important; }
:lang(zh-Hant), html[lang="zh-Hant"] { font-family:'微軟正黑體', 'Microsoft JhengHei', '儷黑 Pro', 'LiHei Pro Medium', '思源黑體', 'Source Hans Sans', Helvetica, Arial, sans-serif !important; }
html body footer .fab { font-family: "Font Awesome 5 Brands" !important; }

/* Additional Hermes Tweaks */
.dyanmic-checkbox { left: 30px; }
.elq-form .dynamic-full-width .elq-item-label { margin-bottom: 0px !important; }
.elq-form .submit-button-style { margin-top: 20px; }

/* Header Animation classes and rules */
h2 { font-size: 38px; line-height: 44px; font-weight: 300; margin: 0px; padding: 0px; color: #fff; }
h1 + h2 { font-size: 32px; line-height: 38px; font-weight: 300; margin: 0px; padding: 0px; color: #fff; }
#event-image { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; overflow: hidden; margin-left: auto; transition: width 500ms ease; position: relative; }
#hero #event-image { max-width: 350px; }
#hero #event-image::before { content: ""; display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 1; }
#hero.loaded #event-image::before { transition: width 500ms ease 250ms; width: 46px; background: #00426a; }
#hero #event-image::after { content: ""; display: block; box-sizing: border-box; width: 100%; height: 100%; position: absolute; top: 0; left: 100%; background: rgba(232,119,34,0.8); border-left: 23px solid #e87722; z-index: 1; }
#hero.loaded #event-image::after { transition: left 500ms ease 250ms, width 500ms ease 500ms; left: 23px; width: 46px; }
#hero #event-image img { flex-shrink: 0; display: hidden; opacity: 0; transition: opacity .25s ease-in-out; -moz-transition: opacity .25s ease-in-out; -webkit-transition: opacity .25s ease-in-out; }
#hero.loaded #event-image img { display: block; opacity: 1; }
#hero .right-animation::after { content: ""; display: block; width: 0; height: 100%; position: absolute; top: 0; right: 0; background: #00a9e0; opacity: 0.7; z-index: 1; }
.page-width { position: relative; }
#hero.loaded .right-animation::after { transition: width 500ms ease 500ms; width: 23px; }
@media (max-width: 600px) {
  #hero #event-image { max-width: calc(100% + 30px); margin-left: -15px; margin-right: -15px; }
  #hero .right-animation::after { margin-right: 0px; }
}
@media (max-width: 798px) { .branding-logo + .page-padding { max-width: 100%; } }

/* Fix for content exceeding callout height on desktop displays */
@media screen and (min-width: 799px) {
  .section-callout.one-third + .section-content, .callout-with-branding + .section-content { max-width: 66%; }
  .section-callout.one-half + .section-content { max-width: 50%; }
}
