@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/muli/v20/7Aulp_0qiz-aVz7u3PJLcUMYOFnOkEk30e4.woff) format('woff');
}

@media screen, projection {
  /* MAIN */

  table {
    font-size: 100%;
  }

  body {
    font-family: 'Muli', Helvetica, Arial, sans-serif;
    background-color: #eef3f6;
    text-align: left;
    margin: 0;
    padding: 25px;
    min-width: 1000px;
    color: #131f6b;
    font-size: 16px;
  }

  /* scrollbar start*/

  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #f5f5f5;
  }
  ::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #f5f5f5;
  }
  ::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #9ea0ac;
    border: 2px solid transparent;
    background-clip: content-box;
  }
  /* scrollbar end*/

  div#header form {
    float: left;
    border: 0;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 0px;
  }

  div#header form select {
    min-width: 10em;
  }

  div#header {
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
    -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
    -moz-box-shadow: 0px 0px 6px 0px #0000001a;
    border-radius: 4px;
    opacity: 1;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  div#mainmenu {
    clear: both;
    margin: 0;
    overflow: auto;
  }
  .cistic {
    clear: both;
    width: 90%;
    height: 1px;
    font-size: 1px;
  }

  .clBoth {
    clear: both;
  }
  .readonly,
  .customselect-button.ui-selectmenu-disabled,
  input:disabled,
  select:disabled,
  textarea:disabled {
    background-color: #f9f9f9;
    border-color: #c0d9eb;
    opacity: 0.5;
  }

  .customselect-text,
  .ui-menu-item-wrapper {
    min-height: 20px;
  }

  .hidden {
    display: none;
  }
  .invisible {
    visibility: hidden;
  }
  .userMessage {
    background-color: #ded;
  }
  .userWarning {
    background-color: rgba(255, 133, 49, 0.45); /* #ff8531 color + transparency*/
  }
  .userError,
  .itemError {
    background-color: #ffe3d7;
  }

  .guiMessages {
    margin: 0.5em 0;
  }

  .userMessage,
  .userError,
  .userWarning {
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
    -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
    -moz-box-shadow: 0px 0px 6px 0px #0000001a;
  }

  div.clickForHelp {
    display: flex;
    align-items: center;
    padding-top: 11px;
    margin-right: auto;
  }

  .clickForHelp a {
    text-transform: uppercase;
  }

  /* FORMS */
  form {
    margin: 0;
    padding: 10px;
    overflow: visible;
    width: auto;
  }

  div#header form.common {
    box-shadow: none;
  }

  form.common {
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
    -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
    -moz-box-shadow: 0px 0px 6px 0px #0000001a;
    border-radius: 4px;
    opacity: 1;
    margin-bottom: 20px;
    padding: 5px;
    min-width: fit-content;
  }

  fieldset {
    border: 1px solid #9ea0ac;
    border-radius: 4px;
    padding: 0 15px 10px;
    margin-top: 10px;
  }

  fieldset + fieldset {
    margin-top: 10px;
  }

  fieldset.rights {
    margin-top: 10px;
  }

  .formTextItem,
  fieldset label {
    display: block;
    float: left;
    line-height: 1.8em;
  }

  fieldset label {
    clear: left;
    width: 15em;
    min-width: 15em;
    padding-right: 5px;
  }

  fieldset.rights:after {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }

  div.rights {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  div.rights h4 {
    flex-basis: 100%;
  }

  div.rights label {
    min-width: auto;
  }

  fieldset label.secondCol {
    clear: none;
    display: inline;
    float: none;
    margin-left: 5px;
  }
  div.gridVertical {
    float: left;
    margin-right: 20px;
    width: 40%;
  }
  div.gridFilterVertical div.formItem,
  fieldset div.formItem {
    clear: left;
    width: 100%;
    overflow: hidden;
  }
  div.inlineFormItem {
    display: inline;
    clear: left;
    overflow: hidden;
  }
  div.gridFilterVertical label {
    display: block;
    float: left;
    clear: left;
    width: 14em;
    line-height: 1.8em;
    margin-top: 5px;
  }

  div.gridFilter div.formItem,
  fieldset div.formItem {
    clear: left;
    width: 100%;
    overflow: hidden;
    overflow: visible;
    display: flex;
    align-items: center;
    padding-top: 5px;
  }

  #detailText {
    margin: 1em 0em;
    padding: 0.1em 1em;
    width: 60em;
    height: 12em;
    border: 1px solid #e5e5e5;
    overflow: auto;
  }

  #notificationDetailText {
    margin: 1em 0em;
    padding: 0.1em 1em;
    width: 100%;
    max-width: 643px;
    height: 12em;
    border: 1px solid #e5e5e5;
    overflow: auto;
    resize: both;
  }

  textarea#bs_template {
    width: 100%;
    max-width: 665px;
  }

  #translationInner {
    clear: both;
    width: 100;
    overflow: hidden;
  }

  .cl_method_name,
  .cl_method_name_span {
    clear: left;
    display: block;
    float: left;
    width: 170px;
    margin: 3px 0;
    padding: 1px 1px 1px 2px;
  }

  .cl_method_language,
  .cl_method_language_span {
    clear: right;
    display: block;
    float: left;
    width: 20px;
    margin: 3px 0;
    padding: 1px;
  }

  .cl_method_name {
    width: 150px;
    margin-right: 20px;
    padding-left: 5px;
  }

  .cl_method_language {
    width: 2em;
    text-align: center;
    margin-right: 30px;
    padding: 1px 0;
  }

  .cl_method_language_span {
    clear: right;
  }

  .delTranslation,
  .delFee {
    margin-top: 3px;
    cursor: pointer;
    cursor: hand;
  }

  #addTranslationButton,
  #addPaymentfeeButton,
  #addLogoButton {
    margin: 3px 0 20px 14px;
  }

  .paymentformItem {
    clear: both;
  }
  .paymentformItem .formItem {
    clear: none;
    float: left;
    width: 130px;
  }
  .paymentform-textarea {
    width: 38em;
  }
  #customerPassports .delPassport {
    cursor: pointer;
  }
  #passportAddButton {
    float: none;
    clear: both;
    margin-top: 20px;
  }
  #passportAddButton div {
    padding-bottom: 15px;
  }
  .paymentformItem .inputText {
    width: 100px;
  }
  .paymentformItem .inputText {
    width: 102px;
  }

  .checkboxPanel label {
    display: inline-block;
    float: left;
    width: auto;
    clear: none;
  }
  .checkboxPanel input {
    display: inline-block;
    float: left;
  }

  div#dealerIpDiv {
    /*      margin:0 0 15px 0;*/
  }

  div.gridFilter label {
    display: block;
    float: left;
    clear: left;
    width: 21em;
    line-height: 1.8em;
    margin-top: 2px;
    margin-bottom: 3px;
  }

  div.gridFilter input.inputText {
    width: 300px;
  }

  div.gridFilter select {
    width: 312px;
  }

  legend {
    font-size: 120%;
    padding: 0 5px 10px 5px;
    font-weight: bold;
    color: #9ea0ac;
  }

  input,
  select,
  textarea {
    border: 1px solid #c0d9eb;
    border-radius: 4px;
    opacity: 1;
    padding: 5px;
    font-family: 'Muli', Helvetica, Arial, sans-serif;
    color: #131f6b;
    background: transparent;
    font-size: 16px;
    outline: none;
    max-width: 100%;
  }

  input:hover:not(.readonly),
  select:hover:not(.readonly),
  textarea:hover:not(.readonly) {
    box-shadow: 0px 0px 6px 0px rgba(192, 217, 235, 0.45); /* c0d9eb1A shadow color*/
    -webkit-box-shadow: 0px 0px 6px 0px rgba(192, 217, 235, 0.45);
    -moz-box-shadow: 0px 0px 6px 0px rgba(192, 217, 235, 0.45);
  }

  input {
    font-size: 100%;
    /*vertical-align:middle;*/
  }

  input[type='text'] {
    /*min-width: 195px;*/
  }

  /* styled checkbox - start */
  /* for good browsers */
  input[type='checkbox'] {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: unset;
    border: none;
    background: url(images/checkbox_unticked.svg) no-repeat transparent;
    width: 22px;
    height: 22px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 0px 10px 0px 0px;
  }
  input[type='checkbox']:disabled {
    background: url(images/checkbox_unticked_disabled.svg) no-repeat transparent;
    cursor: auto;
  }
  input[type='checkbox']:checked:disabled {
    background: url(images/checkbox_ticked_disabled.svg) no-repeat transparent;
    cursor: auto;
  }
  input[type='checkbox']:checked {
    background: url(images/checkbox_ticked.svg) no-repeat transparent;
  }

  input[type='checkbox']:checked:after {
    background: url(images/checkbox_ticked.svg) no-repeat transparent;
    position: absolute;
  }

  /* for IE*/
  input[type='checkbox']::-ms-check {
    appearance: unset;
    border: none;
    background: url(images/checkbox_unticked.svg) no-repeat transparent;
    width: 22px;
    height: 22px;
    display: inline-block;
    position: relative;
    cursor: pointer;
  }

  input[type='checkbox']:disabled::-ms-check {
    background: url(images/checkbox_unticked_disabled.svg) no-repeat transparent;
    cursor: auto;
  }
  input[type='checkbox']:checked:disabled::-ms-check {
    background: url(images/checkbox_ticked_disabled.svg) no-repeat transparent;
    cursor: auto;
  }
  input[type='checkbox']:checked::-ms-check {
    appearance: unset;
    background: url(images/checkbox_ticked.svg) no-repeat transparent;
    color: transparent;
  }

  input[type='checkbox']:checked:after::-ms-check {
    appearance: unset;
    background: url(images/checkbox_ticked.svg) no-repeat transparent;
    position: absolute;
  }
  /* styled checkbox - end */

  /* styled radio - start */
  /* for good browsers */
  input[type='radio'] {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: unset;
    border: none;
    background: url(images/radio_off.svg) no-repeat transparent;
    width: 22px;
    height: 22px;
    display: inline-block;
    position: relative;
    cursor: pointer;
  }
  input[type='radio']:checked:after {
    background: url(images/radio_on.svg) no-repeat transparent;
    position: absolute;
  }
  input[type='radio']:checked {
    background: url(images/radio_on.svg) no-repeat transparent;
  }
  input[type='radio']:disabled {
    background: url(images/radio_off_disabled.svg) no-repeat transparent;
    cursor: auto;
  }
  input[type='radio']:checked:disabled {
    background: url(images/radio_on_disabled.svg) no-repeat transparent;
    cursor: auto;
  }
  /*for IE*/
  input[type='radio']::-ms-check {
    appearance: unset;
    border: none;
    background: url(images/radio_off.svg) no-repeat transparent;
    width: 22px;
    height: 22px;
    display: inline-block;
    position: relative;
    cursor: pointer;
  }
  input[type='radio']:checked:after::-ms-check {
    appearance: unset;
    background: url(images/radio_on.svg) no-repeat transparent;
    position: absolute;
  }
  input[type='radio']:checked::-ms-check {
    appearance: unset;
    background: url(images/radio_on.svg) no-repeat transparent;
    color: transparent;
  }
  input[type='radio']:disabled::-ms-check {
    background: url(images/radio_off_disabled.svg) no-repeat transparent;
    cursor: auto;
  }
  input[type='radio']:checked:disabled::-ms-check {
    background: url(images/radio_on_disabled.svg) no-repeat transparent;
    cursor: auto;
  }

  /* for Edge */
  @supports (-ms-ime-align: auto) {
    input[type='radio'] {
      padding: 0px;
      border: #e85e20;
    }
    input[type='radio']:checked {
      border: #e85e20;
    }
    input[type='radio']:disabled {
      border: #9ea0ac;
    }
  }
  /* styled radio - end */

  select {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: unset;
    background: url('images/dropdown_arrow.svg') no-repeat white;
    background-position: right 5px center;
    min-width: 180px;
    cursor: pointer;
  }

  /* custom select start  */
  .custom-select {
    position: relative;
    margin: 6px;
    width: 207px;
    display: inline-block;
    text-shadow: none !important;
  }
  .custom-select select {
    display: none; /*hide original SELECT element: */
  }
  .select-selected {
    background-color: transparent;
  }

  .select-disabled {
    background-color: #f9f9f9;
    border-color: #9ea0ac !important;
  }

  /* Style the arrow inside the select element: */
  .select-selected:after {
    position: absolute;
    content: '';
    top: 38%;
    right: 5px;
    width: 11px;
    height: 9px;
    background: url('images/dropdown_arrow.svg') no-repeat transparent;
  }

  .select-disabled:after {
    background: url('images/dropdown_arrow_disabled.svg') no-repeat transparent;
  }
  /* Point the arrow upwards when the select box is open (active): */
  .select-selected.select-arrow-active:after {
    width: 11px;
    height: 9px;
    background: url('images/dropdown_arrow.svg') no-repeat transparent;
    transform: scaleY(-1);
  }
  /* style the items (options), including the selected item: */
  .select-selected {
    color: #131f6b;
    padding: 5px 16px 5px 5px;
    border-radius: 4px;
    border: 1px solid #c0d9eb;
    cursor: pointer;
    min-height: 20px;
    word-break: break-all;
  }
  .select-items div {
    color: #131f6b;
    padding: 5px;
    cursor: pointer;
    min-height: 18px;
  }
  /* Style items (options): */
  .select-items {
    position: absolute;
    background-color: #ffffff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: 200px;
    overflow-y: auto;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 0px 0 #fff, 0 3px 5px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 0 0px 0 #fff, 0 3px 5px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0 0px 0 #fff, 0 3px 5px rgba(0, 0, 0, 0.35);
  }
  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }
  .select-items div:hover,
  .same-as-selected {
    background-color: #c0d9eb;
  }
  /* custom select end  */

  select[size] {
    background: transparent;
    overflow-x: auto;
  }

  table select {
    min-width: auto;
  }

  select::-ms-expand {
    display: none;
  }

  .inputText {
    width: 150px; /* default size */
  }
  select.inputText {
    width: 152px;
  }

  .null {
    margin: 0;
  }
  .inline {
    display: inline;
  }

  div.formButtonPanel {
    clear: both;
    width: 100%;
    margin: 10px 2px;
    text-align: center;
    overflow: hidden;
    line-height: 56px;
  }

  div.formButtonPanel:first-child {
    margin-top: 0;
  }

  div.formButton {
    float: left;
    width: auto;
  }
  div.formButtonPanel div.formButton:first-child input[type='submit'] {
    margin-left: 0px;
  }

  div#fb_loginDiv {
    float: none;
  }

  .gridFilter .formButton {
    float: none;
    clear: both;
    display: block;
    padding-top: 20px;
  }

  input[type='submit'] {
    font-family: 'Muli', Helvetica, Arial, sans-serif;
    color: #ffffff;
    /*text-transform: uppercase;*/
    /*background:#feb72b;*/
    background-image: linear-gradient(to right, #e85e20, #db4a17);
    font-size: 16px;
    border: 0;
    width: auto;
    font-weight: normal;
    border-radius: 5px;
    height: 48px;
    padding: 0px 20px;
    min-width: 170px;
    cursor: pointer;
    margin-left: 10px;
  }
  input[type='submit']:hover {
    background: #db4a17;
    text-decoration: underline;
  }

  input[type='button'] {
    font-family: 'Muli', Helvetica, Arial, sans-serif;
    color: #ffffff;
    background-image: linear-gradient(to right, #e85e20, #db4a17);
    font-size: 16px;
    border: 0;
    width: auto;
    font-weight: normal;
    border-radius: 5px;
    padding: 5px 20px;
    cursor: pointer;
    margin-left: 10px;
  }
  input[type='button']:hover {
    background: #db4a17;
    text-decoration: underline;
  }

  input.logoutSubmit {
    background: transparent;
    color: #131f6b;
    height: auto;
    width: auto;
    min-width: auto;
    padding: 0px 0px 0px 8px;
    border-left: 1px solid #eef3f6;
    border-radius: 0px;
    margin-left: 0px;
    margin-right: 0px;
  }

  input.logoutSubmit:hover {
    background: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }

  img.header-signin-image {
    vertical-align: middle;
  }

  input.inputButton {
    font-family: 'Muli', Helvetica, Arial, sans-serif;
    color: #db4a17;
    background: #ffffff;
    border: 1px solid #db4a17;
    font-size: 16px;
    width: auto;
    font-weight: normal;
    border-radius: 5px;
    height: 48px;
    padding: 0px 20px;
    min-width: 170px;
    cursor: pointer;
  }

  input.inputButton:hover {
    background: #fff2ec;
  }

  div.formButton input[type='submit']:first-child {
    margin-left: 0px;
  }

  div.formButtonPanel div.formButton input[type='submit'] {
    margin-left: 0px;
    margin-right: 20px;
  }

  div.formButton input.inputButton:not(:first-child) {
    margin-left: 20px;
  }

  div.formButton input#addPaymentfeeText {
    text-align: center;
    cursor: pointer;
    cursor: hand;
    padding: 1px 0;
    height: auto;
    width: auto;
  }

  div.formButton input.rights,
  input.inputSecondary {
    font-size: 1em;
  }

  div.formButton input.rights {
    font-size: 1.2em;
    margin-bottom: 5px;
  }

  div.hotelAttributes div div *,
  div.formItemsFiles div div,
  div.formItemsFiles div div * {
    display: inline;
    float: none;
    width: auto;
    clear: none;
  }
  div.formItemsFiles label {
    padding-left: 2em;
  }

  /* H1 logo */
  /*
    h1 {
      width: 311px;
      height: 105px;
      padding: 0;
      margin: 0;
      background-image: url('images/logo.jpg');
      background-repeat: no-repeat;
    }
    h1 span {
      display: none;
    }
    */
  /* Project Specific */
  #loginFormLogout {
    display: inline;
    background-color: transparent;
    float: right;
    margin-top: 20px;
    margin-right: 20px;
  }
  #loginFormLogout div:first-child {
    display: flex;
  }
  #loginFormLogout form.formLogout {
    margin: 0px;
    padding: 0px;
  }

  .separator-dotted {
    border-left: 2px dotted #9ea0ad;
    margin: 0 14px;
    height: inherit;
  }

  .langSelect {
    margin: 0px;
    width: 50px !important;
  }

  #loginFormLogin {
    width: 20%;
    top: 10px;
    right: 10px;
    text-align: left;
    background-color: white;
    margin: auto;
  }

  #loginFormLogin form {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }

  #loginFormLogin div.formItem input,
  #loginFormLogout div.formItem input {
    background-color: #ffffff;
    width: 95%;
  }

  #loginFormLogin div.formItem input {
    padding: 0.5em;
    box-sizing: border-box;
  }

  #loginFormLogin fieldset div.formItem {
    box-sizing: border-box;
    justify-content: center;
  }

  #loginFormLogout input {
    text-align: center;
  }

  div#loginFormLogin div.formItem,
  div#loginFormLogout div.formItem {
    margin: 0 0 5px 0;
  }

  div#loginFormLogout div.formItem label {
    margin: 0 0 5px 0;
    width: auto;
    float: none;
    text-align: left;
  }

  div#loginFormLogin div.formButton input,
  div#loginFormLogout div.formButton input {
    width: auto;
  }

  #loginFormLoginWrapper {
    box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
    -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
    -moz-box-shadow: 0px 0px 6px 0px #0000001a;
    border-radius: 4px;
    background: #fff;
    padding: 2em;
    margin-top: 20px;
  }

  .debugWrapper {
    display: none;
  }

  hr {
    display: none;
  }

  h1 {
    font-size: 2.2em;
    font-weight: bold;
    color: #131f6b;
    /*text-transform:uppercase;*/
    background: #fff;
    margin: 0 0 0.5em;
    padding: 15px;
    clear: both;
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
    -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
    -moz-box-shadow: 0px 0px 6px 0px #0000001a;
    border-radius: 4px;
    opacity: 1;
    margin-bottom: 20px;
  }

  h1.homepage.notLoggedUser {
    margin-bottom: 0;
    border-bottom: none;
  }

  h3 {
    font-size: 2.2em;
    font-weight: bold;
    color: #131f6b;
    margin: 0 0 0.5em;
    padding: 15px;
    clear: both;
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
    -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
    -moz-box-shadow: 0px 0px 6px 0px #0000001a;
    border-radius: 4px;
    opacity: 1;
    margin-bottom: 20px;
  }

  h4 {
    clear: left;
    text-transform: uppercase;
    font-size: 1em;
    margin: 1em 0 0;
  }

  h4.highlighted {
    color: #db4a17;
    font-weight: bold;
    font-size: 1.2em;
  }

  h5 {
    clear: left;
    text-transform: uppercase;
    color: #9ea0ac;
    font-size: 1em;
    padding-left: 0em;
    margin: 1em 0;
  }

  h5.debugToggle {
    cursor: pointer;
  }

  h5.debugToggle:after {
    content: '\25bc';
  }

  h5.debugToggle.is-active:after {
    content: '\25b2';
  }

  a {
    color: #131f6b;
  }

  .prefillmentButtons a {
    font-size: 0.8em;
    text-transform: uppercase;
    cursor: pointer;
  }

  div#footer {
    font-size: 0.8em;
    color: #ccc;
  }

  table {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
  }

  th {
    background: #eef3f6;
    padding: 2px 10px;
    color: #131f6b;
    text-align: left;
  }

  span.headerArrows img {
    border-style: none;
  }
  span.headerArrows {
    white-space: nowrap;
    margin-left: 5px;
    flex-wrap: wrap;
    max-width: 20px;
  }
  span.preferedValue {
    padding-left: 6px;
  }

  table.gridTable tr:hover {
    background: #eef3f6;
  }

  tr {
    height: 50px;
  }

  tr td {
    border-bottom: 1px solid #dadada;
    border-collapse: collapse;
  }

  tr:last-child td {
    border-bottom: 0px;
  }

  table.gridTable {
    padding: 15px;
    font-size: 80%;
  }

  table.gridTable th span.gridCellOrderBasic,
  table.gridTable th span.headerArrows {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  table.gridTable th.price span {
    justify-content: flex-end;
  }

  .gridTable .gridAction a {
    cursor: pointer;
  }

  table a {
    color: #131f6b;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8em;
    padding: 0 2px;
  }
  table a.gridLink {
    text-transform: none;
    font-size: 1em;
    text-decoration: underline;
    padding: 0px;
  }

  table a:not([class*='inactive']):hover,
  .prefillmentButtons a:hover {
    color: #e85e20;
  }

  table a.inactive {
    color: lightgray;
    cursor: default;
  }

  td {
    padding: 10px;
  }

  th.price,
  td.price,
  td.amount,
  td.tpPrice,
  td.pfPrice {
    text-align: right;
  }

  tr:last-child th.price,
  th.amount,
  th.tpPrice,
  th.pfPrice {
    text-align: right;
  }

  table.gridTable th.amount span.gridCellOrderBasic {
    justify-content: flex-end;
  }

  .noWrap,
  td.price {
    white-space: nowrap;
  }

  th.multiActionCheckbox,
  td.multiActionCheckbox {
    width: 22px;
  }

  th.multiActionCheckbox input[type='checkbox'],
  td.multiActionCheckbox input[type='checkbox'] {
    margin: 0;
  }

  .backend {
    margin-top: 10px;
    float: left;
    width: 49%;
  }
  .backend-left {
    margin-top: 10px;
    float: left;
    width: 49%;
    display: none;
    padding-right: 10px;
  }
  .backend-right {
    margin-top: 10px;
    float: left;
    width: 49%;
    display: none;
    padding-left: 10px;
  }
  .column-left .backend-left {
    display: block;
  }
  .column-right .backend-right {
    display: block;
  }
  .xshort {
    width: 6em;
  }
  .short {
    width: 195px;
  }
  /*
    .medium {
        width: 18em;
    }
     */
  .long {
    width: 24em;
  }
  @media all and (max-width: 1150px) {
    .xlong {
      width: 23em;
    }
  }
  @media all and (max-width: 1400px) and (min-width: 1151px) {
    .xlong {
      width: 28em;
    }
  }
  @media all and (min-width: 1401px) {
    .xlong {
      width: 38em;
    }
  }
  .bold {
    font-weight: bold;
  }

  div.rctFilePreview {
    margin-top: 1em;
  }
}

div#res_TF {
  min-width: fit-content;
}
div#res_TF form.common {
  margin-right: 25px;
}

div#res_OCTOPUS div.contact {
  float: left;
  width: 400px;
}

div#res_OCTOPUS div.fa {
  float: left;
  width: 360px;
  margin-bottom: 10px;
}

div#res_OCTOPUS div.da {
  display: none;
}

div.contact {
  padding-right: 40px;
}

div.fa {
  padding-right: 40px;
}

div.da {
}

div.pass {
  float: none;
  clear: both;
}

div.menuShortcuts {
  margin: 0;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 10px;
  font-weight: bold;
  box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
  -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
  -moz-box-shadow: 0px 0px 6px 0px #0000001a;
}

div.menuShortcuts a {
  color: #e85e20;
  text-decoration: none;
  padding: 0px 3px;
}

div.borderTopIfNotFirst {
  border-top: 1px solid #dadada;
  margin-top: 2px;
  padding-top: 2px;
}

div.borderTopIfNotFirst:first-child {
  border-top: 0 none transparent;
  margin-top: 0;
  padding-top: 0;
}

div.formConfAgencyEdit .ui-tabs .ui-tabs-nav,
div.formConfAgencyEdit h5 {
  margin-left: 10px;
}

div.formConfAgencyEdit h5 {
  font-family: 'Muli', Helvetica, Arial, sans-serif;
}

.formConfAgencyEdit fieldset,
.formAgencyAgencyEdit fieldset {
  margin-top: 10px;
}

.formConfAgencyEdit legend label,
.formAgencyAgencyEdit legend label {
  width: auto;
  padding-right: 20px;
  line-height: 15px;
}
table.agencyWorkingSchedule {
  width: 450px;
}
table.agencyWorkingSchedule td {
  text-align: center;
}
table.agencyWorkingSchedule td .inputText {
  width: 6em;
}

div.gridFilter {
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
  -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
  -moz-box-shadow: 0px 0px 6px 0px #0000001a;
  border-radius: 4px;
  opacity: 1;
  margin-bottom: 20px;
  padding: 5px;
}

div.gridWrapper {
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
  -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
  -moz-box-shadow: 0px 0px 6px 0px #0000001a;
  border-radius: 4px;
  opacity: 1;
  margin-bottom: 20px;
  padding: 15px;
}

div.gridWrapper {
  min-width: min-content;
}

div.gridFilter div.formItemIntervalBegin {
  float: left;
  width: 50%;
  clear: left;
  display: block;
}
/*
.iframe_div_calendar {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
    margin-right: 21px;
}*/

div.gridFilter div.formItemIntervalBegin label {
  float: left;
  clear: none;
  _margin-right: 3px; /*IE6 fix*/
}
div.gridFilter div.formItemIntervalBegin input {
  float: left;
}
div.gridFilter div.formItemIntervalEnd {
  float: left;
  width: 50%;
  clear: none;
  display: block;
}
div.gridFilter div.formItemIntervalEnd label {
  float: left;
}
div.gridFilter div.formItemIntervalEnd input {
  float: left;
}

div#reservationCountTotal_beginDiv,
div#reservationCountTotal_endDiv,
div#reservationCountTicket_beginDiv,
div#reservationCountTicket_endDiv,
div#reservationCountHotel_beginDiv,
div#reservationCountHotel_endDiv,
div#reservationCountInsurance_beginDiv,
div#reservationCountInsurance_endDiv,
div#lastCreated_beginDiv,
div#lastCreated_endDiv {
  /*margin-top: 1em;*/
}
div#lastCreated_beginDiv,
div#lastCreated_endDiv {
  margin-bottom: 1em;
}

#iframe_div {
  margin-left: 15em;
}
div iframe {
  border: 1px solid #c0d9eb;
  border-radius: 4px;
  padding: 0px;
  margin: 0px;
}
#iframe_body {
  border: 0px;
  padding: 0px;
  margin: 0px;
  background-color: #ffffff;
  min-width: 0;
}
#zaoCalendar_calendarNavigation_close {
  margin: 0px 0px 0px 0px;
  text-align: right;
}
#zaoCalendar_calendarNavigation_closeLink {
  padding: 2px 3px 2px 3px;
}
#zaoCalendar_calendarNavigation_closeLink:hover {
  background-color: #131f6b;
  color: #dce8f5;
  font-weight: bold;
  cursor: pointer;
  cursor: hand;
}
#zaoCalendar_calendarNavigation {
  margin: 0px;
  padding: 0px;
}
#zaoCalendar_displayedMonth {
  padding: 6px 0px 8px 0px;
  text-align: center;
  color: #131f6b;
}
#zaoCalendar_calendarNavigation table,
#zaoCalendar_calendarNavigation tr {
  padding: 0px;
  margin: 0px;
  border: 0px;
  background-color: transparent;
  border-collapse: separate;
  height: auto;
}
#zaoCalendar_calendarNavigation td {
  margin: 0px;
  text-align: center;
  cursor: pointer;
  cursor: hand;
  border: 1px solid #c0d9eb;
  border-radius: 4px;
  padding: 5px;
}
#zaoCalendar_calendarNavigation td:hover {
  background-color: #ecf1f4;
  cursor: pointer;
  cursor: hand;
}
#zaoCalendar_calendar table {
  padding: 0px;
  margin: 0px;
  background-color: transparent;
  border-collapse: collapse;
  border: 0px;
}
#zaoCalendar_calendar table tr {
  height: auto;
}
#zaoCalendar_calendar table td {
  padding: 0px;
  border-radius: 30px;
}
#zaoCalendar_calendar table th {
  margin: 0px;
  text-align: center;
  padding: 5px;
  color: #9ea0ac;
  background: transparent;
  text-transform: lowercase;
}
#zaoCalendar_calendar table tr td div {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  margin: auto;
}
#zaoCalendar_calendar table td.zaoCalendar_dayInChosenMonth {
  margin: 0px;
  border: none;
  text-align: center;
  cursor: pointer;
  cursor: hand;
}
#zaoCalendar_calendar table td div.actual_day {
  color: #ffffff;
  background-color: #e85e23;
}
#zaoCalendar_calendar table td.zaoCalendar_dayOutChosenMonth {
  margin: 0px;
  border: 0px;
  color: #e9e9e9 !important;
  text-align: center;
}
#zaoCalendar_calendar table td.zaoCalendar_dayInChosenMonth div:hover {
  background-color: #ecf1f4;
}
#zaoCalendar_calendar table td.zaoCalendar_dayWeekendDay {
  color: #336699;
}
#zaoCalendar {
  margin: 0px;
}

div.text {
  line-height: 1.8em;
  float: left;
  margin-top: 5px;
}

div.search_types {
  margin-left: 30px;
}

div.formConfReservationEdit #iremark {
  width: 40em;
  height: 10em;
}

div.flightNumberRangeRow div {
  float: left;
  vertical-align: middle;
}
input.inputSubmitSmall {
  background: #f0f7ff none repeat scroll 0%;
  border-color: #dadada rgb(176, 176, 176) rgb(176, 176, 176) rgb(218, 218, 218);
  border-style: solid;
  border-width: 1px;
  color: #6699cc;
  cursor: pointer;
  font-size: 1em;
  font-weight: normal;
  height: 1.6em;
  width: auto;
}
div.fa h4,
div.da h4,
div.contact h4 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  padding-top: 0;
  padding-bottom: 0;
}

div.passPrices table.gridTable th.label {
  width: 20%;
}

table.gridTable img.filePreview {
  max-height: 30px;
}

div.formContainer table.gridTable img.filePreview {
  max-height: 100%;
}

span.locatorCode.differs {
  color: #e85e20;
}
span.locatorCode.equals {
  color: #131f6b;
}

div.passengers table tr.differs {
  background-color: #ff3333;
  color: white;
}
div.passengers table tr.differs span.locatorCode.differs {
  color: white;
}

.owLocator {
  font-size: 0.85em;
}

input.inconsistentBonusValue {
  color: red;
}

.filterStats {
  margin-top: 5px;
}
table.gridTableStats {
  clear: both;
  margin: 2px 0 0 0;
}
table.gridTableStats th.amount,
table.gridTableStats td.amount {
  text-align: left;
}
.noHeight {
  line-height: 0;
  padding: 0 4px;
}
tr.headerCollapse {
  visibility: hidden;
}
.noHeaderGridsExport {
  margin-top: 10px;
}
#currencyDiv {
  float: left;
  width: auto;
}
#currencyMixDiv {
  float: left;
  width: 20em;
  clear: none;
  margin-right: 0.6em;
  margin-left: 1em;
}
#currencyMixDiv label {
  float: right;
}
#currencyMix {
  margin-top: 0.8em;
}
#currencyMixLabel {
  float: left;
  width: auto;
  clear: right;
}
#agencyCheckboxField,
#dealerCheckboxField,
#companyCheckboxField {
  clear: left;
}
.excludeDealersList .formItem,
#agencyCheckboxField .formItem,
#dealerCheckboxField .formItem,
#companyCheckboxField .formItem {
  float: left;
  width: 24%;
  clear: none;
}
.excludeDealersList .formItem label,
#agencyCheckboxField .formItem label,
#dealerCheckboxField .formItem label,
#companyCheckboxField .formItem label {
  clear: left;
  width: 77%;
  text-align: right;
  margin-right: 1em;
}
.excludeDealersList .formItem input,
#agencyCheckboxField .formItem input,
#dealerCheckboxField .formItem input,
#companyCheckboxField .formItem input {
  margin-top: 8px;
}
div.formButton input.checkboxFieldButton,
div.formButton input.checkboxFieldButtonWide,
.workingHoursSchedule input.inputSubmit {
  font-size: 1.2em;
  margin-bottom: 5px;
  padding-top: 4px;
  padding-left: 1em;
  width: 12em;
}
div.formButton input.checkboxFieldButton,
div.formButton input.checkboxFieldButtonWide,
.workingHoursSchedule input.inputSubmit {
  background: #f9f9f9;
}
.addPaymentformCapacity input.inputSubmit,
.plMaximumCapacityDiv input.inputSubmit,
.checkPayment input.inputSubmit {
  min-width: auto;
  font-size: 1em;
  width: 10em;
  padding: 5px 20px;
  margin-top: 5px;
  margin-bottom: 0px;
}
.formItem label + input.inputSubmit {
  margin-left: 0;
}
.workingHoursSchedule input.inputSubmit {
  width: 250px;
  padding-top: 0;
}
div.formButton input.checkboxFieldButtonWide {
  width: 18em;
}
div.formButton input.handleCheckboxes {
  font-size: 1.2em;
  background: #f9f9f9;
  margin-bottom: 5px;
  text-align: center;
  height: 1.3em;
  width: 9em;
}
.statsAgencyLabel {
  float: left;
  width: 100%;
  margin: 0.5em 0 0 2em;
  margin-left: 2em;
}

/*zao user right module*/
div#blackboard div.block {
  display: block;
  float: left;
}
div#lblock {
  width: 45%;
}

#sl_option_boxDiv {
  width: auto;
}
#selectionBoxButtons input.rights {
  display: block;
  margin-left: 20px;
}

span.doNotCare {
  background-color: #ffffff;
  border-bottom: 1px solid #dadada;
  border-right: 1px solid #dadada;
  border-left: 1px solid gray;
  border-top: 1px solid gray;
  padding: 0px 3px;
  font-size: 0.9em;
}

div.help {
  background-color: #f6f9fa;
  border: 1px solid #e3edf3;
  margin: 0;
  padding: 10px;
  position: absolute;
  left: 600px;
  width: 250px;
}

table#groundMaxTimes {
  width: 400px;
  border: 0;
  background: transparent;
  margin: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}
table#groundMaxTimes td,
table#groundMaxTimes th {
  background: transparent;
  color: #131f6b;
  border: 0;
  font-weight: normal;
  padding: 0;
}
table#groundMaxTimes label {
  margin-top: 0;
}

.verifyPaymentSettings {
  margin: 0.5em 0;
  padding: 0;
  border: 1px solid #dadada;
  position: relative;
}
.verifyPaymentSettings .closer {
  position: absolute;
  right: 5px;
  top: 2px;
  cursor: pointer;
  cursor: hand;
}
.verifyPaymentSettings div {
  padding: 4px;
}
.verifyPaymentSettings .resSuccess {
  background-color: #ded;
}

.verifyPaymentSettings .resFailed {
  background-color: #edd;
}
.verifyPaymentSettings .progress {
  text-align: center;
}

div#selectPaymentformExtendedAddDiv {
  float: left;
  padding-top: 9px;
  *padding-top: 7px;
  margin-right: -1px;
}
div#selectPaymentformExtendedAddDiv label {
  float: left;
  display: block;
  margin-top: 6px;
  *margin-top: 8px;
}
form#paymentformTicketplaceWide {
  overflow: visible;
}
div.gridFilter input#paymentform_id,
div.gridFilter input#paymentformName,
div.gridFilter input#paymentformLanguage {
  width: 328px;
}
div.gridFilter select#paymentformType {
  width: 330px;
  *width: 333px;
}
div#selectPaymentformExtendedActivate {
  float: left;
  margin: 15px 3px 0 3px;
}

/* Role/Dealeri/Detail/Nastaveni frontendu */
.formConfDealerWebSettings .radio {
  padding: 0 15px 2px 0;
  float: left;
  display: flex;
  align-items: center;
}
.formConfDealerWebSettings .radio input {
  float: left;
}
.formConfDealerWebSettings .radio label {
  clear: none;
  width: auto;
}
.formConfDealerWebSettings fieldset fieldset label {
  margin-right: -17px;
}
.formConfDealerWebSettings div.image_upload {
  display: flex;
  align-items: center;
}

.formConfDealerWebSettings div.image_upload img {
  width: 300px;
  margin: 1px;
}
.formConfDealerWebSettings div.image_upload div {
  float: left;
  width: auto;
}
.formConfDealerWebSettings .banner_type_combi div.image_upload img {
  width: auto;
  height: 30px;
}
.formConfDealerWebSettings .banner_type_combi td label {
  display: none;
}
.formConfDealerWebSettings .background_image div.image_upload img {
  width: 30px;
  height: 30px;
}
.formConfDealerWebSettings .colorPicker {
  margin-left: 15em;
  padding: 5px 2px;
  display: none;
}
.formConfDealerWebSettings .colorPicker .border {
  border: 1px solid #dadada;
  overflow: auto;
  padding: 5px;
  width: auto;
  float: left;
}
.colorPicker .closeButton {
  float: right;
  border: 1px solid #dadada;
  padding: 5px;
  cursor: pointer;
}
.formConfDealerWebSettings .colorPicker .currentColor,
.formConfDealerWebSettings .colorPicker .colorItem {
  border: 1px solid #dadada;
  width: 5em;
  height: 1em;
  padding: 0.5em 0;
  margin-top: 0.5em;
  cursor: pointer;
}
.formConfDealerWebSettings .colorPicker .colorItem {
  float: left;
  margin-right: 2em;
  text-align: center;
}
.formConfDealerWebSettings .colorPicker .colorTable {
  float: left;
  width: 30em;
}
.formConfDealerWebSettings .colorPicker .colorBars {
  float: left;
  cursor: pointer;
}
.formConfDealerWebSettings .colorPicker .colorBar {
  background: repeat-y center top;
  width: 261px;
  margin-top: 2em;
}
.formConfDealerWebSettings .colorPicker .colorBarRed {
  background-image: url('img/red.gif');
}
.formConfDealerWebSettings .colorPicker .colorBarGreen {
  background-image: url('img/green.gif');
}
.formConfDealerWebSettings .colorPicker .colorBarBlue {
  background-image: url('img/blue.gif');
}
.formConfDealerWebSettings .colorPicker .colorBar span {
  border: 1px solid #7a7a7a;
  width: 5px;
}
.formConfDealerWebSettings label a {
  text-decoration: none;
}
.formConfDealerWebSettings .favicon div.image_upload img {
  width: 16px;
}

#feTemplateDiv {
  float: left;
  padding-top: 9px;
}

#feTemplateDiv label {
  margin-right: 5px;
}

.formFeSettingsEdit .radio {
  padding: 0 15px 2px 0;
  float: left;
}

.formFeSettingsEdit .formItem label {
  width: 18em;
}

.formFeSettingsEdit .radio input {
  float: left;
}

.formFeSettingsEdit .radio label {
  clear: none;
  width: auto;
}

.formFeSettingsEdit div.image_upload .preview {
  background: #fff;
  border: 1px solid #000;
}

.formFeSettingsEdit div.image_upload img {
  width: 300px;
  margin: 1px;
}

.formFeSettingsEdit div.image_upload div {
  float: left;
  width: auto;
}

.formFeSettingsEdit .fileItem {
  float: left;
}

.formConfDealerFeD4Settings .fileItemDiv {
  clear: both;
  height: 170px;
}

/**
---Experimental 'new' zao style for FE D4 settings module begin---
*/

.formFeSettingsEdit input,
.formFeSettingsEdit select,
.formFeSettingsEdit textarea {
  border-radius: 3px;
}

.formFeSettingsEdit fieldset {
  border-radius: 3px;
}

.formFeSettingsEdit .colorInputHelp.tooltipHelp {
  margin: 0px 2px;
  border: 1px solid #dadada;
  text-decoration: none;
  color: #000;
  font-size: 9px;
  padding: 3px;
  border-radius: 3px;
}

.formFeSettingsEdit .colorInputHelp.tooltipHelp:hover {
  border-color: #b0b0b0;
}

.formFeSettingsEdit .colorResetButton {
  background: url('images/reset-button.png') no-repeat 0px 3px;
  width: 18px;
  height: 20px;
  padding: 0;
  border: none;
}

.formFeSettingsEdit .colorResetButton:hover {
  background: url('images/reset-button-hover.png') no-repeat 0px 3px;
  cursor: pointer;
}

/**
---Experimental 'new' zao style for FE D4 settings module end---
*/

fieldset.preferredCoSettings {
  width: 45%;
  float: left;
}
fieldset.preferredCoStatistic {
  margin-top: 0;
  width: 47%;
  float: right;
}
fieldset.preferredCoWarning {
  width: 47%;
  float: right;
  background-color: #f5f6be;
  padding: 30px 15px 40px;
  font-size: 1.2em;
  text-align: center;
}
fieldset.preferredCoHaps {
  width: 45%;
  float: left;
  clear: left;
  margin-top: 10px;
}
fieldset.preferredCoHistory {
  margin-top: 10px;
  overflow: auto;
}
div#PreferredCompaniesId form {
  overflow: visible;
}

.gridSettingsPager input {
  margin: 5px 2px 0;
}
.gridSettingsPager label,
.gridSettingsPager input.inputSubmit,
.gridSettingsPager input.inputText {
  float: left;
  display: block;
}
.gridSettingsPager input.inputSubmit {
  height: auto;
  padding-top: 6px;
  padding-bottom: 6px;
}
.gridSettingsPager label {
  /* margin-top: 19px; */
  margin-right: 5px;
}

div.addPaymentformCapacity label {
  margin-top: 3px;
}
div.addPaymentformCapacity input.inputText {
  margin-top: 5px;
  float: left;
}
input#maximumCapacityId_production,
input#maximumCapacityId_testing {
  background-color: #f9f9f9;
}

div.agencyContainer {
  padding: 0 25px;
}
div.agencyContainer div.formItem {
  float: left;
  width: 40%;
  clear: none;
}
div.agencyContainer div.formItem input {
  float: left;
  display: block;
}
div.agencyContainer div.formItem label {
  clear: none;
  margin-top: 1px;
  margin-left: 7px;
  *margin-top: 4px;
}
div.activableCompanies label {
  clear: none;
}
div.activableCompanies input {
  float: left;
}

textarea.wide {
  width: 100%;
  margin: 0;
  height: 4em;
  padding: 0;
}

textarea.tall {
  height: 25em;
}

fieldset label.wide {
  width: auto;
}
fieldset label.double {
  width: 30em;
}
div.half {
  width: 50%;
  float: left;
}
table.dealerCssImageList td.size {
  padding: 1.3em 0;
}

img.testingMark {
  position: fixed;
  bottom: 0;
  right: 0;
}
/*
body.testing div.menu { background-color: #929292; }
*/

/* SPECIAL OFFERS */
td.specialOfferStatus {
  width: 100px;
  white-space: nowrap;
  vertical-align: middle;
}

.formSpecialOfferAirAdd .readonly {
}
.formSpecialOfferAirAdd .left {
  float: left;
  width: 50%;
}
.formSpecialOfferAirAdd .right {
  float: right;
  width: 49%;
}

h2.specialOfferTrace {
  padding: 4px 10px;
  background: #929292;
  background-repeat: repeat-x;
  color: white;
  font-size: 1.4em;
  line-height: 1.4em;
  margin: 2px;
  *margin: 2px 0px;
  margin-top: 13px;
}
.specialOfferStepsForward p,
.specialOfferStepsBackward p {
  *padding-top: 15px;
}

.specialOfferStepsForward input[type='checkbox'],
.specialOfferStepsBackward input[type='checkbox'] {
  border: 0;
  margin-top: 8px;
  *margin-top: 7px;
}

div.formButton input.showHistory,
a.addBackwardTrace,
a.createBackwardTrace,
a.removeBackwardTrace,
a.loadCondition,
a.addSegment,
a.addTime,
a.addFlight,
a.addTimescale {
  display: block;
  margin: 3px 0 3px 17em;
  font-weight: normal;
  width: 8em;
  text-align: center;
  padding: 3px 10px 3px;
  text-decoration: none;
  color: #db4a17;
  background: #ffffff;
  border: 1px solid #db4a17;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

div.formButton input.showHistory:hover,
a.addBackwardTrace:hover,
a.createBackwardTrace:hover,
a.removeBackwardTrace:hover,
a.loadCondition:hover,
a.addSegment:hover,
a.addTime:hover,
a.addFlight:hover,
a.addTimescale:hover {
  background: #fff2ec;
}

div.j-listControls {
  display: flex;
  padding-top: 5px;
}
input.j-collapse,
input.j-expand,
input.j-checkAll {
  margin-left: 0px;
}

input.j-uncheckAll,
input.j-invertAll {
  margin-left: 5px;
}

input.j-collapse,
input.j-expand,
input.j-checkAll,
input.j-uncheckAll,
input.j-invertAll {
  display: block;
  font-weight: normal;
  min-width: min-content;
  text-align: center;
  padding: 3px 10px 3px;
  text-decoration: none;
  color: #db4a17;
  background: #ffffff;
  border: 1px solid #db4a17;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}
input.j-collapse:hover,
input.j-expand:hover,
input.j-checkAll:hover,
input.j-uncheckAll:hover,
input.j-invertAll:hover {
  background: #fff2ec;
}

a.addSegment {
  margin-left: 0;
  width: max-content;
}
a.addBackwardTrace,
a.createBackwardTrace,
a.removeBackwardTrace {
  min-width: max-content;
  font-size: 1.2em;
  float: left;
  margin: 10px 2px;
}
a.loadCondition {
  width: 12em;
}

.disableLeftMargin {
  margin-left: 0 !important;
}

div.formButton input.showHistory {
  width: 15em;
  height: auto;
  font-family: Verdana, Arial, sans-serif;
}

.removeFlight,
.removeTime,
.removeTimescale {
  margin-left: 2px;
  width: 16px;
  height: 16px;
  position: relative;
}

.removeFlight img,
.removeTime img,
.removeTimescale img {
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  *top: 7px;
}

.traceSummary .advanceBlock {
  width: 465px;
  clear: none;
  float: right;
  border-left: 1px solid #dadada;
  min-height: 90px;
  padding-left: 15px;
}
.traceSummary .timesBlock {
  width: 675px;
  float: left;
  min-height: 90px;
}

.traceSummary .timesBlock .formButton {
  clear: left;
}
.traceSummary .timesBlock .formButton a {
  margin-left: 0;
}

.tabContainer .staysBlock > div,
.traceSummary .staysBlock > div,
.specialOfferLimit div.advanceBlock {
  display: block;
}
.specialOfferLimit div.advanceBlock label {
  margin-top: 5px;
}
.specialOfferLimit .staysBlock > div {
  margin-left: 17em;
  *margin-left: 20.2em;
  width: 250px;
  *width: 230px;
}
.tabContainer .staysBlock > div div,
.traceSummary .staysBlock > div div,
.specialOfferLimit .staysBlock > div div {
  clear: none;
}

.startDayDiv {
  clear: both;
}
.endDayDiv,
.startDayDiv {
  padding-top: 5px;
}
.endDayDiv > span,
.startDayDiv > span {
  padding-left: 5px;
}
.specialOfferLimit input,
.tabContainer .staysBlock input,
.traceSummary .staysBlock input,
.traceSummary .startDayDiv input,
.traceSummary .endDayDiv input {
  width: 40px;
}
.endDayDiv input {
  *margin-left: 0.2em;
}
.tabContainer .endDayDiv input {
  margin-left: 17.2em;
  *margin-left: 0.2em;
}
.endDayDiv label span {
  display: none;
}

.tabContainer .advanceBlock {
  width: 465px;
}
.tabContainer .flightsBlockDiv {
  width: 700px;
}
.tabContainer .flightsBlockDiv .formButton {
  clear: left;
}
.tabContainer .flightsBlockDiv .formButton a {
  margin-left: 0;
}
.tabContainer .flightsBlockDiv input {
  width: 75px;
}
.tabContainer .timesBlock {
  width: 700px;
}
.tabContainer .timesBlock input {
  width: 75px;
}
.tabContainer .timesBlock .formButton {
  clear: left;
}
.tabContainer .timesBlock .formButton a {
  margin-left: 0;
}
.traceSummary button {
  width: 200px;
}
.tabContainer .timeConditionDiv,
.tabContainer .flightConditionDiv,
.tabContainer .stayConditionDiv {
  float: right;
  width: 400px;
}
.tabContainer .timeConditionDiv label,
.tabContainer .flightConditionDiv label,
.tabContainer .stayConditionDiv label {
  float: left;
}
.tabContainer .timeConditionDiv textarea,
.tabContainer .flightConditionDiv textarea,
.tabContainer .stayConditionDiv textarea {
  width: 100%;
  height: 120px;
}

.tabs {
  margin-bottom: 8px;
}
.tabs h2 {
  height: 24px;
  margin: 0;
  padding: 2px 10px;
  *font-size: 1.5em;
}
.tabs h2 > div {
  float: left;
  margin-right: 10px;
  color: gray;
  padding-top: 3px;
}
.tabContainer {
  clear: both;
  border: 0;
  min-height: 233px;
}
.tabContainer ul {
  background: none;
  border-width: 0;
  border-bottom-width: 1px;
}
.tabs h2 a.removeSegment,
.tabs h2 a.minSegment,
.tabs h2 a.maxSegment {
  float: left;
  display: block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  margin-left: 5px;
}

.tabs h2 a.minSegment {
  background-image: url('img/minimizeSegment.png');
}
.tabs h2 a.maxSegment {
  background-image: url('img/maximizeSegment.png');
}
.tabs h2 a.removeSegment {
  background-image: url('img/deleteSegment.png');
}

div.traceSummary {
  margin-top: 10px;
  padding-top: 5px;
  border-top: 1px solid #dadada;
}
div.traceSummary div.timesBlock {
  float: left; /*width:500px;*/
}
div.traceSummary div.timesBlock input {
  width: 6.5em;
}

.gridFilter #sale_from_beginDiv,
.gridFilter #sale_to_beginDiv,
.gridFilter #departure_from_beginDiv,
.gridFilter #departure_to_beginDiv,
.gridFilter #return_from_beginDiv,
.gridFilter #return_to_beginDiv,
.gridFilter #val_startdate_beginDiv,
.gridFilter #val_enddate_beginDiv,
.gridFilter #dep_startdate_beginDiv,
.gridFilter #dep_enddate_beginDiv,
.gridFilter #ari_startdate_beginDiv,
.gridFilter #ari_enddate_beginDiv {
  width: 490px;
}
.gridFilter #sale_from_beginDiv input,
.gridFilter #sale_from_endDiv input,
.gridFilter #sale_to_beginDiv input,
.gridFilter #sale_to_endDiv input,
.gridFilter #departure_from_beginDiv input,
.gridFilter #departure_from_endDiv input,
.gridFilter #departure_to_beginDiv input,
.gridFilter #departure_to_endDiv input,
.gridFilter #return_from_beginDiv input,
.gridFilter #return_from_endDiv input,
.gridFilter #return_to_beginDiv input,
.gridFilter #return_to_endDiv input,
.gridFilter #val_startdate_beginDiv input,
.gridFilter #val_startdate_endDiv input,
.gridFilter #dep_startdate_beginDiv input,
.gridFilter #dep_startdate_endDiv input,
.gridFilter #ari_startdate_beginDiv input,
.gridFilter #ari_startdate_endDiv input,
.gridFilter #val_enddate_beginDiv input,
.gridFilter #val_enddate_endDiv input,
.gridFilter #dep_enddate_beginDiv input,
.gridFilter #dep_enddate_endDiv input,
.gridFilter #ari_enddate_beginDiv input,
.gridFilter #ari_enddate_endDiv input {
  width: 130px;
}
.gridFilter #sale_from_endDiv label,
.gridFilter #sale_to_endDiv label,
.gridFilter #departure_from_endDiv label,
.gridFilter #departure_to_endDiv label,
.gridFilter #return_from_endDiv label,
.gridFilter #return_to_endDiv label,
.gridFilter #val_startdate_endDiv label,
.gridFilter #dep_startdate_endDiv label,
.gridFilter #ari_startdate_endDiv label,
.gridFilter #val_enddate_endDiv label,
.gridFilter #dep_enddate_endDiv label,
.gridFilter #ari_enddate_endDiv label {
  width: 1em;
}

#SpecialOfferAirId label {
  width: 17em;
  *width: 20em;
}
.formContainer .required label {
  font-weight: bold;
}
#validDatesCaptionDiv label {
  width: auto;
}

.formUserApiAdd .rights {
  margin-bottom: 10px;
}
.formUserApiAdd .rights h4 {
  margin-bottom: 0;
}
.formUserApiAdd .rights .formItem {
  margin-left: 25px;
}
.formUserApiAdd .rights .formItem label {
  width: 20em;
}
.formUserApiAdd .rights legend span {
  font-weight: normal;
  cursor: pointer;
}

.formUserAdd h4.rights,
.authorization h4 {
  margin-top: 25px;
}

#dialog {
  display: none;
}
#dialog .loader,
#dialog .verification {
  font-weight: bold;
  margin-top: 130px;
  text-align: center;
}
#dialog .loader .waitingInput,
#dialog .verification .waitingInput {
  background-image: url('images/loader.gif');
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
  padding-right: 30px;
}

p.reservation-not-yet-issued {
  font-weight: bold;
  display: none;
}

#dialog .verification {
  display: none;
}

#dialog h2 {
  margin: 3px 0 10px 0;
  font-size: 1em;
}
#dialog .issued input,
#dialog .success h2,
#dialog h2.samePrice {
  color: green;
}
#dialog .error h2,
#dialog h2.differentPrice {
  color: red;
}
#dialog .formItem {
  clear: both;
}

#dialog .formItem label {
  display: block;
  float: left;
  width: 225px;
  padding-top: 9px;
}
#dialog .buttons {
  text-align: center;
  margin-top: 10px;
}

/* --- Promoakce - docasne skryto aby nematlo --- */
#tabs-2 .timesBlock,
#tabs-5 .advanceBlock,
#tabs-6,
#tabs-7,
.traceSummary .advanceBlock {
  display: none;
}

.placeholdersHelp {
  margin-top: 1em;
}

.placeholder {
  margin-left: 1em;
}

.tvContainer {
  font-weight: bold;
}

.serviceInfoDiv {
  padding-top: 5px;
}

.serviceInfoDiv textarea {
  width: 740px;
}

input.hinted {
  margin-right: 7px;
}

.widthAuto {
  width: auto;
}

#blackboard .width150px {
  width: 150px;
}

.centered {
  text-align: center;
}

.clickable {
  cursor: pointer;
  cursor: hand;
}

.paddingVert1px {
  padding-top: 1px;
  padding-bottom: 1px;
}
#blackboard .heightAuto {
  height: auto;
}

#enablePreselectedPaymenttypeDiv {
  display: none;
}

.connectorSettings .options {
  padding: 0 15px 2px 0;
  float: left;
}
.connectorSettings .options div {
  clear: left;
}
.connectorSettings .options div input {
  float: left;
}
.connectorSettings .options div label {
  clear: none;
  width: auto;
  margin-top: 2px;
}

#dialogOriginalPriceDiv,
#dialogOriginalPriceDiv input,
#dialogTotalPriceDiv,
#dialogTotalPriceDiv input {
  font-weight: bold;
}

.fileItem {
  height: 155px;
}

.file_wrapper {
  width: 150px;
  height: 150px;
  border: 1px solid #dadada;
  float: left;
  padding: 0px;
  position: relative;
  margin: 2px;
  border-radius: 3px;
}

.file_wrapper:hover {
  border-color: #b0b0b0;
}

.file_wrapper .no_preview {
  font-size: x-large;
  text-align: center;
  font-weight: bolder;
  color: #d0d0d0;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 2px;
}

.file_wrapper .no_preview_content {
  margin-left: auto;
  margin-right: auto;
}

.file_wrapper .preview_content {
  display: flex;
  align-items: center;
  height: 100%;
  border-radius: 2px;
}

.file_wrapper .preview_content img {
  max-height: 140px;
}

.file_wrapper .no_preview:hover {
  color: #b0b0b0;
}

.file_wrapper .preview {
  height: 100%;
  background-color: #fff;
  border-radius: 2px;
}

.file_wrapper .preview img {
  margin-left: auto;
  margin-right: auto;
  max-width: 90%;
  padding: 2px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
}

.file_wrapper .preview img[alt] {
  word-wrap: break-word;
}

.file_wrapper .buttons {
  position: absolute;
  bottom: 5px;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.file_wrapper .buttons input {
  padding: 5px;
  cursor: pointer;
  font-size: 80%;
  margin-left: 0px;
}

.file_wrapper .buttons input.file_remove {
  font-family: 'Muli', Helvetica, Arial, sans-serif;
  color: #db4a17;
  background: #ffffff;
  border: 1px solid #db4a17;
  width: auto;
  font-weight: normal;
  border-radius: 5px;
  cursor: pointer;
}
.file_wrapper .buttons input.file_remove:hover {
  background: #fff2ec;
}

.file_wrapper .title {
  color: #303030;
  position: absolute;
  width: 100%;
  font-size: 70%;
  text-align: center;
  padding-top: 5%;
  padding-bottom: 5%;
  background: #fff;
  opacity: 0.7;
  border-top-right-radius: 2px;
  border-top-left-radius: 2px;
  word-wrap: break-word;
}

#fileContainerPrepared {
  display: none;
}

#fileContainer {
  background-color: #fff;
  z-index: 999;
  border-radius: 3px;
  padding: 5px 11px;
}

#fileContainer #uploadedFile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

#fileUploadForm {
  margin-right: 1em;
  overflow: unset;
}

#fileContainer #uploadedFile + label {
  font-size: 0.9em;
  font-weight: 700;
  padding: 5px;
  display: inline-block;
  border: 1px solid #dadada;
  border-radius: 3px;
  line-height: 1.1em;
  overflow: hidden;
  max-height: 4em;
  max-width: 105px;
  word-wrap: break-word;
  text-align: justify;
  position: relative;
  margin-right: -1em;
  padding-right: 1em;
}

#fileContainer #uploadedFile + label:before {
  content: '...';
  position: absolute;
  right: 0;
  bottom: 0;
}

#fileContainer #uploadedFile + label:after {
  content: '';
  position: absolute;
  right: 0;
  width: 1em;
  height: 1.5em;
  margin-top: 0.4em;
  background: white;
}

#fileContainer #uploadedFile + label:hover {
  color: #a0a0a0;
}

#fileContainer input[type='submit'] {
  padding: 5px;
  margin: 0;
  border-radius: 3px;
  min-width: 56px;
  height: 28px;
  font-size: 13px;
}

#fileContainer input[type='submit']:hover {
  color: #a0a0a0;
}

#fileContainer form {
  border: none;
  margin: 0;
  padding: 0;
  width: fit-content;
  min-width: 123px;
}

.ajax-loader {
  visibility: hidden;
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  z-index: +100 !important;
  width: 100%;
  height: 100%;
  height: 100%;
}

.ajax-loader img {
  position: relative;
  width: 100%;
  height: 100%;
}

#galleryItems .fileItem {
  margin: 7px 5px;
}

.zao-ui-ajax-loader {
  background-color: rgba(255, 255, 255, 0.7);
  background-image: url('img/loading2.gif');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  z-index: +100 !important;
}

table.gridTable tr:hover .zao-ui-ajax-loader {
  background-color: rgb(238, 243, 246, 0.7);
}

/***
Spectrum Colorpicker v1.8.0
https://github.com/bgrins/spectrum
Author: Brian Grinstead
License: MIT
***/

.sp-container {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  /* https://github.com/bgrins/spectrum/issues/40 */
  z-index: 9999994;
  overflow: hidden;
}
.sp-container.sp-flat {
  position: relative;
}

/* Fix for * { box-sizing: border-box; } */
.sp-container,
.sp-container * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

/* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
.sp-top {
  position: relative;
  width: 100%;
  display: inline-block;
}
.sp-top-inner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.sp-color {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 20%;
}
.sp-hue {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 84%;
  height: 100%;
}

.sp-clear-enabled .sp-hue {
  top: 33px;
  height: 77.5%;
}

.sp-fill {
  padding-top: 80%;
}
.sp-sat,
.sp-val {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.sp-alpha-enabled .sp-top {
  margin-bottom: 18px;
}
.sp-alpha-enabled .sp-alpha {
  display: block;
}
.sp-alpha-handle {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 6px;
  left: 50%;
  cursor: pointer;
  border: 1px solid black;
  background: white;
  opacity: 0.8;
}
.sp-alpha {
  display: none;
  position: absolute;
  bottom: -14px;
  right: 0;
  left: 0;
  height: 8px;
}
.sp-alpha-inner {
  border: solid 1px #333;
}

.sp-clear {
  display: none;
}

.sp-clear.sp-clear-display {
  background-position: center;
}

.sp-clear-enabled .sp-clear {
  display: block;
  position: absolute;
  top: 0px;
  right: 0;
  bottom: 0;
  left: 84%;
  height: 28px;
}

/* Don't allow text selection */
.sp-container,
.sp-replacer,
.sp-preview,
.sp-dragger,
.sp-slider,
.sp-alpha,
.sp-clear,
.sp-alpha-handle,
.sp-container.sp-dragging .sp-input,
.sp-container button {
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -o-user-select: none;
  user-select: none;
}

.sp-container.sp-input-disabled .sp-input-container {
  display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
  display: none;
}
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
  display: none;
}
.sp-palette-only .sp-picker-container {
  display: none;
}
.sp-palette-disabled .sp-palette-container {
  display: none;
}

.sp-initial-disabled .sp-initial {
  display: none;
}

/* Gradients for hue, saturation and value instead of images.  Not pretty... but it works */
.sp-sat {
  background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#fff), to(rgba(204, 154, 129, 0)));
  background-image: -webkit-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
  background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
  background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
  background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
  background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
  -ms-filter: 'progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)';
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
}
.sp-val {
  background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
  background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
  background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
  background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
  background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
  background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
  -ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)';
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
}

.sp-hue {
  background: -moz-linear-gradient(
    top,
    #ff0000 0%,
    #ffff00 17%,
    #00ff00 33%,
    #00ffff 50%,
    #0000ff 67%,
    #ff00ff 83%,
    #ff0000 100%
  );
  background: -ms-linear-gradient(
    top,
    #ff0000 0%,
    #ffff00 17%,
    #00ff00 33%,
    #00ffff 50%,
    #0000ff 67%,
    #ff00ff 83%,
    #ff0000 100%
  );
  background: -o-linear-gradient(
    top,
    #ff0000 0%,
    #ffff00 17%,
    #00ff00 33%,
    #00ffff 50%,
    #0000ff 67%,
    #ff00ff 83%,
    #ff0000 100%
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ff0000),
    color-stop(0.17, #ffff00),
    color-stop(0.33, #00ff00),
    color-stop(0.5, #00ffff),
    color-stop(0.67, #0000ff),
    color-stop(0.83, #ff00ff),
    to(#ff0000)
  );
  background: -webkit-linear-gradient(
    top,
    #ff0000 0%,
    #ffff00 17%,
    #00ff00 33%,
    #00ffff 50%,
    #0000ff 67%,
    #ff00ff 83%,
    #ff0000 100%
  );
  background: linear-gradient(
    to bottom,
    #ff0000 0%,
    #ffff00 17%,
    #00ff00 33%,
    #00ffff 50%,
    #0000ff 67%,
    #ff00ff 83%,
    #ff0000 100%
  );
}

/* IE filters do not support multiple color stops.
   Generate 6 divs, line them up, and do two color gradients for each.
   Yes, really.
 */
.sp-1 {
  height: 17%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
}
.sp-2 {
  height: 16%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
}
.sp-3 {
  height: 17%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
}
.sp-4 {
  height: 17%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
}
.sp-5 {
  height: 16%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
}
.sp-6 {
  height: 17%;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
}

.sp-hidden {
  display: none !important;
}

/* Clearfix hack */
.sp-cf:before,
.sp-cf:after {
  content: '';
  display: table;
}
.sp-cf:after {
  clear: both;
}
.sp-cf {
  *zoom: 1;
}

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
  .sp-color {
    right: 40%;
  }
  .sp-hue {
    left: 63%;
  }
  .sp-fill {
    padding-top: 60%;
  }
}
.sp-dragger {
  border-radius: 5px;
  height: 5px;
  width: 5px;
  border: 1px solid #fff;
  background: #000;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
}
.sp-slider {
  position: absolute;
  top: 0;
  cursor: pointer;
  height: 3px;
  left: -1px;
  right: -1px;
  border: 1px solid #000;
  background: white;
  opacity: 0.8;
}

/*
Theme authors:
Here are the basic themeable display options (colors, fonts, global widths).
See http://bgrins.github.io/spectrum/themes/ for instructions.
*/

.sp-container {
  border-radius: 3px;
  background-color: #ececec;
  border: solid 1px #dadada;
  padding: 0;
}
.sp-container,
.sp-container button,
.sp-container input,
.sp-color,
.sp-hue,
.sp-clear {
  font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Geneva, Verdana, sans-serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
.sp-top {
  margin-bottom: 3px;
}
.sp-color,
.sp-hue,
.sp-clear {
  border: solid 1px #666;
}

/* Input */
.sp-input-container {
  float: right;
  width: 100px;
  margin-bottom: 4px;
}
.sp-initial-disabled .sp-input-container {
  width: 100%;
}
.sp-input {
  font-size: 12px !important;
  border: 1px inset;
  padding: 4px 5px;
  margin: 0;
  width: 100%;
  background: transparent;
  border-radius: 3px;
  color: #222;
}
.sp-input:focus {
  border: 1px solid orange;
}
.sp-input.sp-validation-error {
  border: 1px solid red;
  background: #fdd;
}
.sp-picker-container,
.sp-palette-container {
  float: left;
  position: relative;
  padding: 10px;
  padding-bottom: 300px;
  margin-bottom: -290px;
}
.sp-picker-container {
  width: 172px;
  border-left: solid 1px #fff;
}

/* Palettes */
.sp-palette-container {
  border-right: solid 1px #ccc;
}

.sp-palette-only .sp-palette-container {
  border: 0;
}

.sp-palette .sp-thumb-el {
  display: block;
  position: relative;
  float: left;
  width: 24px;
  height: 15px;
  margin: 3px;
  cursor: pointer;
  border: solid 2px transparent;
}
.sp-palette .sp-thumb-el:hover,
.sp-palette .sp-thumb-el.sp-thumb-active {
  border-color: orange;
}
.sp-thumb-el {
  position: relative;
}

/* Initial */
.sp-initial {
  float: left;
  border: solid 1px #333;
}
.sp-initial span {
  width: 30px;
  height: 25px;
  border: none;
  display: block;
  float: left;
  margin: 0;
}

.sp-initial .sp-clear-display {
  background-position: center;
}

/* Buttons */
.sp-palette-button-container,
.sp-button-container {
  float: right;
}

/* Replacer (the little preview div that shows up instead of the <input>) */
.sp-replacer {
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  padding: 0px;
  display: inline-block;
  *zoom: 1;
  *display: inline;
  border: none;
  background: transparent;
  color: #333;
  vertical-align: middle;
}
.sp-replacer:hover,
.sp-replacer.sp-active {
  border-color: #f0c49b;
  color: #111;
}
.sp-replacer.sp-disabled {
  cursor: default;
  border-color: silver;
  color: silver;
}
.sp-dd {
  display: none;
}
.sp-preview {
  position: relative;
  width: 25px;
  height: 20px;
  border: solid 1px #dadada;
  margin-right: 5px;
  float: left;
  z-index: 0;
  border-radius: 3px;
}

.sp-preview:hover {
  border-color: #b0b0b0;
}

.sp-palette {
  *width: 220px;
  max-width: 220px;
}
.sp-palette .sp-thumb-el {
  width: 16px;
  height: 16px;
  margin: 2px 1px;
  border: solid 1px #d0d0d0;
}

.sp-container {
  padding-bottom: 0;
}

/* Buttons: http://hellohappy.org/css3-buttons/ */
.sp-container button {
  background-color: #eeeeee;
  background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
  background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
  background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
  border: 1px solid #ccc;
  border-bottom: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 5px 4px;
  text-align: center;
  text-shadow: 0 1px 0 #eee;
  vertical-align: middle;
}
.sp-container button:hover {
  background-color: #dddddd;
  background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
  background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
  background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
  background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
  background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
  border: 1px solid #bbb;
  border-bottom: 1px solid #999;
  cursor: pointer;
  text-shadow: 0 1px 0 #ddd;
}
.sp-container button:active {
  border: 1px solid #aaa;
  border-bottom: 1px solid #888;
  -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
  -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
  -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
  -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
  box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
}
.sp-cancel {
  font-size: 11px;
  color: #d93f3f !important;
  margin: 0;
  padding: 2px;
  margin-right: 5px;
  vertical-align: middle;
  text-decoration: none;
}
.sp-cancel:hover {
  color: #d93f3f !important;
  text-decoration: underline;
}

.sp-palette span:hover,
.sp-palette span.sp-thumb-active {
  border-color: #000;
}

.sp-preview,
.sp-alpha,
.sp-thumb-el {
  position: relative;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-preview-inner,
.sp-alpha-inner,
.sp-thumb-inner {
  border-radius: 2px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.sp-palette .sp-thumb-inner {
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}

.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}

.sp-clear-display {
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
}

div.break {
  flex-basis: 100%;
  height: 0;
}

#rt_timezoneDiv {
  flex-wrap: wrap;
}

#rt_timezoneDiv span {
  font-size: smaller;
}

div.ci {
  display: flex;
  flex-wrap: wrap;
}

/* pagination - start*/
div.tableFooter {
  margin-top: 15px;
}
div.tableFooter div {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
div.tableFooter div div:first-child {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
div.tableFooter div div:first-child a,
div.tableFooter div div:first-child span.actualPage {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border: 1px solid #f0f1f3;
  min-width: 50px;
  text-decoration: none;
  color: #e85e20;
}
div.tableFooter div div:first-child a:not(.nohref):not(.actualPage):hover {
  background-color: #fff2ec;
}
div.tableFooter div div:first-child a:first-child {
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
div.tableFooter div div:first-child a:last-child {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
div.tableFooter div div:first-child span.actualPage {
  background-color: #e85e20;
  color: #ffffff;
}

div.listingHeader,
div.moduleHeader {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 6px 0px #e3e8eb; /* for IE as it's not support transparency of color shadow , must be on 1st position*/
  -webkit-box-shadow: 0px 0px 6px 0px #0000001a;
  -moz-box-shadow: 0px 0px 6px 0px #0000001a;
  border-radius: 4px;
  opacity: 1;
  margin-bottom: 20px;
}

div.listingHeader .dealerFeD4SetttingsTemplates {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 100%;
  margin: 8px 8px 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

div.listingHeader .dealerFeD4SetttingsTemplates form {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  margin-bottom: 8px;
}

div.listingHeaderButtons,
div.moduleHeaderButtons,
div.dealerFeD4SetttingsTemplates {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-left: auto;
}

div.moduleHeader form {
  display: flex;
}

div.moduleHeader form {
  margin: 8px;
  width: 100%;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

div.listingHeader .dealerFeD4SetttingsTemplates .formButton,
div.moduleHeader .formButton {
  margin-left: 5px;
}

div.listingHeader h1,
div.listingHeader h3,
div.moduleHeader h3 {
  margin: 0px;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.displayFlex {
  display: flex;
}
.flexColumn {
  flex-direction: column;
}
.placeHolderDiv {
  margin: 1em 0 0 2em;
}

/* customised select override jquery selectmenu styles  - start*/

.customselect-button {
  background: transparent;
  border-color: #c0d9eb;
  font-family: 'Muli', Helvetica, Arial, sans-serif;
  font-size: 16px;
  border-radius: 4px;
  outline: none !important;
  width: 184px !important;
  padding: 5px 16px 5px 5px;
}
.gridFilter .customselect-button {
  width: 289px !important;
}

table.ConfDealerTable .customselect-button {
  width: 50px !important;
}

fieldset.specialOfferSettings .customselect-button {
  width: 150px !important;
}
fieldset.specialOfferSettings input[type='text'] {
  width: 161px;
}

.customselect-button-short {
  background: transparent;
  border-color: #c0d9eb;
  font-family: 'Muli', Helvetica, Arial, sans-serif;
  font-size: 16px;
  border-radius: 4px;
  margin: 6px;
  outline: none !important;
  width: 30px !important;
  padding: 5px 16px 5px 5px;
}
.customselect-button-short:hover,
.customselect-button-short:focus,
.customselect-button-short:active,
.customselect-button:hover,
.customselect-button:focus,
.customselect-button:active {
  background: transparent;
  border: 1px solid #c0d9eb;
  color: #131f6b;
  border-radius: 4px;
}
.customselect-button-button-closed {
}
.customselect-button-button-open {
}
.customselect-text {
  color: #131f6b;
  font-family: 'Muli', Helvetica, Arial, sans-serif;
  margin: 0px;
}
.customselect-icon {
  top: 38%;
  right: 5px;
  width: 11px;
  height: 9px;
  background: url('images/dropdown_arrow.svg') no-repeat transparent !important;
  position: absolute;
}
.customselect-icon-down {
  top: 38%;
  right: 5px;
  width: 11px;
  height: 9px;
  background: url('images/dropdown_arrow.svg') no-repeat transparent !important;
  position: absolute;
  transform: scaleY(-1);
}

.customselect-menu {
  font-family: 'Muli', Helvetica, Arial, sans-serif !important;
}
.customselect-open ul {
  font-family: 'Muli', Helvetica, Arial, sans-serif !important;
  color: #131f6b;
}
.myselectmenu {
  max-height: 200px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border: 1px solid #c0d9eb !important;
  box-shadow: 0 0px 0 #fff, 0 3px 5px rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: 0 0px 0 #fff, 0 3px 5px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0 0px 0 #fff, 0 3px 5px rgba(0, 0, 0, 0.35);
}

.agencyNamespaceGroupAutocomplete {
  border: 1px solid #c0d9eb !important;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 0px 0 #fff, 0 3px 5px rgba(0, 0, 0, 0.35);
  color: #131f6b;
  font-family: 'Muli', Helvetica, Arial, sans-serif !important;
  font-size: 16px;
  max-height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
}

.agencyNamespaceGroupSearchInput {
  font-family: 'Muli', Helvetica, Arial, sans-serif;
  font-size: 16px;
}

.agencyNamespaceGroupAutocomplete .ui-menu-item-wrapper {
  border: 1px solid transparent;
  box-sizing: border-box;
  font-size: 16px;
  margin: 0;
}

.agencyNamespaceGroupAutocomplete .ui-menu-item-wrapper.ui-state-active {
  background-color: #c0d9eb;
  border-color: #c0d9eb;
  color: #131f6b;
  margin: 0;
}

.myselectmenu div.ui-state-active {
  background-color: #c0d9eb;
  border: 1px solid #c0d9eb;
  color: #131f6b;
}
.myselectmenu .ui-state-hidden {
  display: none;
}

table.gridTable tr.j-agencyNamespaceGroupAddRow:hover {
  background: transparent;
}

/* customised select override jquery selectmenu styles  - end*/

div.formItem.dealerCbtSettings {
  max-width: 800px;
}

div.formItem.long .customselect-button {
  width: 248px !important;
}

div.formItem.long select {
  width: 260px;
}

span.failedIssuance {
  color: red;
}
