.custom-select-buttons {
  display: none;
}

.custom-section-wrapper {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #DDDDDD;
  border-left: 1px solid #DDDDDD;
  margin-bottom: 15px;
}

.custom-section-wrapper.not-full {
  border-top: 0;
}

.custom-section-wrapper .custom-section-button {
  display: block;
  height: 120px;
  box-sizing: border-box;
  float: left;
  border-right: 1px solid #DDDDDD;
  border-bottom: 1px solid #DDDDDD;
  text-align: center;
  color: #000;
  text-align: center;
}

.title-rule {
  height: 1px;
  margin-left: -55px;
  border-bottom: 1px solid #DDDDDD;
  margin-bottom: 20px;
}

.custom-section-wrapper.not-full .custom-section-button {
  border-top: 1px solid #DDDDDD;
}

.custom-section-wrapper .custom-section-button img {
  display: inline-block;
  margin: 0;
  padding-top: 25px;
  width: 120px;
  height: 45px;
}

.custom-section-wrapper .custom-section-button span {
  display: inline-block;
  width: 100%;
  color: #545454;
  font-size: 12px;
  float: left;
}

.custom-section-wrapper .custom-section-button:hover,
.custom-section-wrapper .custom-section-button.active {
  background-color: #C5C5C5;
  text-decoration: none;
}

.hidden {
  display: none;
}

.paragraph-title-wrapper {
  overflow: hidden;
  height: 50px;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.paragraph-title-wrapper h6 {
  float: left;
  margin: 0;
  height: 50px;
  line-height: 50px;
}

.paragraph-title-wrapper img {
  float: right;
  height: 30px;
  margin: 10px 0;
  width: 80px;
}

input[type="submit"].au-red-btn {
  color: white !important;
  text-shadow: none !important;
  background-color: #A4001E !important;
  cursor: pointer;
  display: inline-block;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  max-width: 100%;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

input[type="submit"].au-red-btn:hover {
  background-color: #710015 !important;
  text-shadow: none !important;
}

/* Fix for Media Browser layout in admin panel */
div.ctools-modal-content a.close img {
  float: left;
  margin: 2px 5px;
}

input[type="submit"].toggle-accordion-submit {
  display: none;
}

.toggle-accordion {
  float: right;
  display: block;
  margin: 18px 20px 0 40px;
}

.toggle-accordion.arrow-up {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 9px solid black;
}

.toggle-accordion.arrow-down {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #710015;
}

.accordion-loader {
  background: url("/sites/all/themes/ember/images/throbber.gif");
  background-position: 0px 20px;
  height: 20px;
  width: 15px;
  display: none;
  position: absolute;
  right: 45px;
  top: 17px;
  width: 15px;
}

table.custom-drag {
  margin-bottom: 30px !important;
}

table.custom-drag tr {
  padding: 0;
}

table.custom-drag tr td {
  padding: 0;
}

table.custom-drag tr.draggable td .tabledrag-handle {
  margin-top: 0;
  height: 50px;
  margin-left: -5px;
}

table.custom-drag tr.draggable.custom-drag-row.odd {
  background-color: white;
}

table.custom-drag tr.draggable.custom-drag-row.even {
  background-color: #EFEFEF;
}

table.custom-drag tr.draggable td .tabledrag-handle .handle:before {
  margin-top: 10px;
}

table.custom-drag tr.draggable td .tabledrag-handle .handle:before {
  margin-top: 10px;
}

table.custom-drag tr.draggable td {
  position: relative;
}

table.custom-drag tr.draggable td .tabledrag-changed {
  left: 37px;
  position: absolute;
  top: 8px;
}

.horizontal-tabs fieldset.custom-fieldset {
  padding: 0;
  margin-top: 1em;
  overflow: hidden;
}

.horizontal-tabs fieldset.custom-fieldset tr.odd .form-item,
.horizontal-tabs fieldset.custom-fieldset tr.odd .form-actions,
.horizontal-tabs fieldset.custom-fieldset tr.even .form-item,
.horizontal-tabs fieldset.custom-fieldset tr.even .form-actions {
  white-space: normal;
}

.horizontal-tabs fieldset.custom-fieldset .tabledrag-toggle-weight-wrapper {
  display: none;
}

.horizontal-tabs fieldset.custom-fieldset table.custom-drag thead th {
  padding: 0 1em 1em;
}

.horizontal-tabs fieldset.custom-fieldset table.custom-drag thead th label {
  margin: 0;
}

.custom-actions-wrapper {
  padding-bottom: 20px !important;
}

.custom-actions-wrapper .ajax-progress {
  display: none;
}

.add-padding-right {
  padding-right: 70px;
}

.custom-actions-wrapper input[type="submit"] {
  margin-bottom: 0 !important;
}

.horizontal-tabs fieldset.custom-fieldset .custom-section-select {
  padding: 0 1em 1em !important;
}

/*Media queries*/

/*small and tiny*/
@media screen and (min-width: 0px) and (max-width: 480px) {
  .custom-select-buttons {
    display: inline-block;
  }

  .custom-section-wrapper {
    display: none;
  }
}

/*medium*/
@media screen and (min-width: 481px) and (max-width: 768px) {
  .custom-section-wrapper .custom-section-button {
    width: 25%;
  }

  .custom-section-wrapper .custom-section-button img {
    width: 100px;
    height: 38px;
  }
}

/*large*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .custom-section-wrapper .custom-section-button {
    width: 20%;
  }
}

/*xlarge*/
@media screen and (min-width: 1025px) {
  .custom-section-wrapper .custom-section-button {
    width: 16.66666%;
  }
}

.webform-client-form .clear-both {
  clear: both;
}

.webform-cliemt-form .clear-both label,
.webform-cliemt-form .clear-both input {
  display: none;
}
