/* Sky forms */
.OpenCmsApolloWebform header,
.OpenCmsApolloWebform fieldset,
.OpenCmsApolloWebform footer {
  margin: 0 0 1rem 0;
  padding: 0;
  border: 0;
}
.OpenCmsApolloWebform header {
  color: #dc3545;
}
.OpenCmsApolloWebform section {
  margin-bottom: 0.5rem;
}

.OpenCmsApolloWebform .label {
  width: 30%;
  display: inline-block;
  vertical-align: top;
  /* font-weight: bold; */
  padding: 4px 0;
}

.webform-wide .label {
  width: 100%;
}

.OpenCmsApolloWebform .input,
.OpenCmsApolloWebform .select,
.OpenCmsApolloWebform .textarea,
.OpenCmsApolloWebform .inline-group {
  width: 69%;
  display: inline-block;
  vertical-align: top;
  padding: 4px 0;
}

.OpenCmsApolloWebform .group label.radio,
.OpenCmsApolloWebform .group label.checkbox {
  display: block;
  padding-right: 8px;
}

.OpenCmsApolloWebform .group-inline label.radio,
.OpenCmsApolloWebform .group-inline label.checkbox {
  display: inline-block;
}

.OpenCmsApolloWebform input[type="text"],
.OpenCmsApolloWebform select,
.OpenCmsApolloWebform textarea {
  width: 100%;
  padding: 2px 0;
  border: 1px solid #888;
}
.OpenCmsApolloWebform input[type="radio"],
.OpenCmsApolloWebform input[type="checkbox"],
.OpenCmsApolloWebform textarea {
  margin-right: 4px;
}
.OpenCmsApolloWebform .formbuttons {
  text-align: center;
}
.OpenCmsApolloWebform .note-info {
  color: #055160;
}
.OpenCmsApolloWebform .note-error {
  color: #dc3545;
}


/** MODAL IMAGE WINDOW */

img.zoomable {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
img.zoomable:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  max-height: 400px;
  margin: auto;
  display: block;
  margin-top: 5%;
  max-width: 700px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0)
  }
  to {
    -webkit-transform: scale(1)
  }
}

@keyframes zoom {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 40px;
  right: 55px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


/* inline text fields */
.field_inline {
  width: 49%;
  display: inline-block;
}
.field_inline .webform_field {
  width: 60%;
}
.field_inline input {
  width: 80% !important;
}

/** INLINE text field label */
.field_inline .label_inline {
  vertical-align: sub;
  padding-right: 15px;
}
.group.group-inline {
    display: inline;
}

/** HIDE CONTROL CHECK BOX */
.sky-form section.field_hidden {
  display: none;
}