form.scaler-landing-page {
  max-width: 1200px; 
  margin:0 auto;
}

/* links */
.scaler-landing-page .form-elements-left a.link,
.scaler-landing-page .form-elements-right a.link,
.scaler-landing-page .scaler-steps-list a.link {
  text-decoration: underline;
  color: #000;
}

.scaler-landing-page .form-elements-left a.link::after,
.scaler-landing-page .form-elements-right a.link::after,
.scaler-landing-page .scaler-steps-list a.link::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    background: transparent url(/sites/default/files/images/scaler/chevron.svg) no-repeat center left;
    font-weight: normal;
    transform: translateY(2px);
    transition: 0.3s transform cubic-bezier(0.61,0.21,0.49,0.99);
}

.scaler-landing-page .form-elements-left a:hover.link::after,
.scaler-landing-page .form-elements-right a:hover.link::after,
.scaler-landing-page .scaler-steps-list a:hover.link::after {
  transform: translateY(2px) translateX(5px);
}


/* Header */
.scaler-landing-page h1 {
  font-size: 2em;
}

.scaler-landing-page .node--type-secondary-page .page-header .background-container .background-image {
  background-size: 557px 332px !important;
  background-color: #fff;
}

.scaler-landing-page .node--type-secondary-page .page-header .container {
  padding-top: 90px;
  padding-bottom: 100px;
}

/* Intro */
.scaler-landing-page .landing-page-intro {
   padding: 40px 0;
   margin: 0 0 40px 0;
   border-bottom: 1px solid #000;
}

.scaler-landing-page .landing-page-intro p {
  width: 80%; 
}

/* Steps, Final Thoughts */
.scaler-landing-page .step {
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
  margin: 20px 0;
}

.scaler-landing-page .step.next-steps {
  border-bottom: none;
}

.scaler-landing-page .form-elements-left div.form-item div.step:first-child {
  margin-top: 0;
  padding-top: 0;
}

.scaler-landing-page .step-circle {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: #FBF6E7;
  border: 2px solid #000;
  color: #000;
  font-weight: bold;
  text-align: center;
  font-size: 1.3em;
  display: inline-block;
}

.scaler-landing-page .step h3 {
  display: inline-block;
  padding-left: 10px;
  margin-bottom: 20px;
}

.scaler-landing-page .step-circle.final img {
  width: 20px;
}

/* left, right containers */
.scaler-landing-page .form-elements-left {
  display:inline-block; 
  margin-bottom: 50px;
}

.scaler-landing-page .form-elements-right {
  float:right;
  width:27%;
  display:inline-block;
}

/* Resources sidebar */
.scaler-landing-page .resources-sidebar {
  margin-top: 45px;
}

.scaler-landing-page .resources-sidebar h2 {
  padding-bottom: 10px;
}

/*Update Details Arrow: https://stackoverflow.com/questions/10813581/replace-the-expand-icon-of-html5-details-tag */
.scaler-landing-page details {
  border-bottom: 1px solid #ccc;
  border-left:none;
  border-right:none;
  border-top:none;
  margin-top:0;
  margin-bottom:0;
    padding: 12px 0;
  color:#222;
}

.scaler-landing-page details[data-drupal-selector="edit-how-do-i-continue-with-an-existing-scaler-self-assessment-that-i"] {
  border-bottom: none;
}

form[action].scaler-landing-page  details  div.details-description .webform-element-description {
    margin:0;
} 

.scaler-landing-page details>summary {
  list-style-type: none;
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0.2em 0em;
  font-size:1.1em;
  color:#000;

}
.scaler-landing-page details>summary {
  padding: 0.2em 2em .2em 0;
}

.scaler-landing-page details>summary::-webkit-details-marker {
  display: none;
}

.scaler-landing-page details>summary {

  background-image: url(/sites/default/files/images/scaler/plus-blue.svg);
  background-repeat: no-repeat;
  background-position-y: center;
  background-position-x: 97%;
  background-size: 20px;
}

.scaler-landing-page details[open]>summary {
  background-image: url(/sites/default/files/images/scaler/minus-blue.svg);
    margin-bottom: 0.5rem;
}

/* Buttons */

.scaler-landing-page .btn {
  color: #343a40;
  background-color: #fff;
  border-color: #343a40;
  margin: 0;
}

.scaler-landing-page .btn:hover {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
  margin: 0;
}

/* Modal */
.scaler-landing-page .modal-body .modal-step-begin {
  border-bottom: 1px solid #ccc;
  padding: 0 10px 20px 10px;
  margin: 0 10px 20px 10px;
}

.scaler-landing-page .modal-body .modal-step-continue {
  padding: 0 10px 20px 10px;
  margin: 0 10px 20px 10px;
}

.scaler-landing-page .modal-body label {
  font-weight: normal;
  font-size: 1em;
  margin-top: 0;
}

.scaler-landing-page .modal-body button.continue-1,
.scaler-landing-page .modal-body button.continue-2,
.scaler-landing-page .modal-body button.continue-3 {
  margin: 20px 0 0 0;
}

.scaler-landing-page .modal-title {
  font-size: 1.2em;
}

.scaler-landing-page .modal .close {
  top: auto;
}

.scaler-landing-page .modal-body .start.button {
  border-color: transparent;
  background-color: #1550ED;
  color: #ffffff;
}

/*overriding Outline for Accessibility*/
form[action] :focus {
  outline: 2px solid #007bff !important;
}

/* Footer */
.scaler-landing-page .scaler-footer {
  height: 85px;
  margin-top: 60px;
  background-color: #EBEBEB;
  padding: 30px;
  clear: both;
  
  width: 100vw;
  position: relative;
  left: 49%;
  right: 49%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.scaler-landing-page .scaler-footer-content {
  padding: 0;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.scaler-landing-page .scaler-footer-content a {
  color: #112542;
  margin-left: 35px;
  text-transform: uppercase;
  font-weight: bold;
}

.scaler-landing-page .scaler-footer-content a:first-child {
  margin-left: 0;
}

/* FAQ */

.scaler-landing-page .webform-element-description {
  font-size: 1em !important;
}

/* Do not display page title */
#block-bootstrap4-page-title {
  display: none;
}

.scaler-landing-page .scaler-steps-list {
  clear: both;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding-top: 50px;
}

/* Responsive: small screens under 768px */
@media only screen and (max-width: 768px) {
  
 .scaler-landing-page .form-elements-left,
 .scaler-landing-page .form-elements-right {
   width: 100%;     
  }
  
}

/* Responsive: small screens under 1070px for header */
@media only screen and (max-width: 1069px) {
  
 .scaler-landing-page .node--type-secondary-page .page-header .background-container .background-image {
  display: none;
}
  
  .scaler-landing-page .node--type-secondary-page .page-header .container {
    padding-top: 20px;
    padding-bottom: 20px;
}
  
  .scaler-landing-page .node--type-secondary-page .page-header .container .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
}
  
  .scaler-landing-page h1 {
    font-size: 1.5em;
}
  
}

.scaler-landing-page ul li {
  padding: 10px 0;
}

/* Modal input Error message */
.scaler-landing-page .link-input-error,
.scaler-landing-page .link-input-error-2,
.scaler-landing-page .link-input-error-3 {
  margin-bottom: 20px;
  color: #6d0000;
  font-size: 1.1em;
  font-weight: bold;
}