/* SEARCH FORM */

#atr-search, #atr-search * {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#atr-search {
  margin: 8px 0;
  display: inline-block;
  width: 100%;
  clear: both;
}

#atr-search .control-group {
  /*! margin-bottom: 15px; */
  display: inline-block;
  width: 100%;
  clear: both;
}

#atr-search .control-group.atr-type-select, #atr-search .control-group.atr-type-daterange {
  /*! margin-bottom: 5px; */
}

#atr-search .control-group>.controls {
  display: inline-block;
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
}

#atr-search .control-group>.controls.atr-loading:after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 26px;
  height: 26px;
  top: 2px;
  right: 0;
  background: url(../img/ajax_loading.gif);
  transition: 0s;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
}

#atr-search .control-group>label {
  width: 100%;
  /*! line-height: 34px; */
  padding: 0;
  /* text-align: right; */
  margin: 0 0 4px 0;
}

#atr-search ul.atr-ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#atr-search> :not(.atr-subtype-boxed) ul.atr-ul {
  display: block!important;
}

#atr-search ul.atr-ul li {
  min-width: 125px;
  width: auto;
  max-width: 90%;
  display: inline-block;
  vertical-align: text-top;
  margin-right: 15px;
}

#atr-search select, #atr-search textarea, #atr-search input[type="text"], #atr-search input[type="url"], #atr-search input[type="email"], #atr-search input[type="phone"], #atr-search input[type="date"], #atr-search input[type="number"] {
  clear: none;
  outline: none;
  display: inline-block;
  width: 100%;
  max-width: 100%;
  min-width: 120px;
  padding: 0 8px;
  line-height: 32px;
  height: 34px;
  border-radius: 2px;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
  background: #fff;
  font-size: 13px;
  color: #333;
  float: none;
}

#atr-search select:hover, #atr-search textarea:hover, #atr-search input[type="text"]:hover, #atr-search input[type="url"]:hover, #atr-search input[type="email"]:hover, #atr-search input[type="phone"]:hover, #atr-search input[type="date"]:hover, #atr-search input[type="number"]:hover {
  border-color: #aaa;
}

#atr-search select:focus, #atr-search textarea:focus, #atr-search input[type="text"]:focus, #atr-search input[type="url"]:focus, #atr-search input[type="email"]:focus, #atr-search input[type="phone"]:focus, #atr-search input[type="date"]:focus, #atr-search input[type="number"]:focus {
  border-color: #02C39A;
}

#atr-search select {
  height: 34px;
  margin-right: 0px;
  margin-bottom: 10px;
  min-width: 160px;
  max-width: 100%;
}

#atr-search textarea {
  max-width: 100%;
  width: 100%;
  min-height: 80px;
}

#atr-search input[type="number"] {
  /*! text-align: right; */
}

#atr-search .atr-type-daterange input[type="date"], #atr-search .atr-type-range input[type="number"] {
  margin: 0 0 10px 0!important;
  width: 45%!important;
  min-width: 50px;
}

#atr-search .atr-type-daterange input[type="date"]:last-child, #atr-search .atr-type-range input[type="number"]:last-child {
  float: right!important;
  clear: none!important;
}

!#atr-search .controls input[type="date"] {
  margin-right: 10px;
}

#atr-search .controls input[type="url"] {
  width: 100%;
}

#atr-search .controls input[type="email"][type="text"] {
  width: 100%;
}

#atr-search .atr-date-del {
  display: inline-block;
  margin-right: 15px;
  margin-left: 5px;
  line-height: 32px;
  font-size: 13px;
  color: #888;
  display: none;
}

#atr-search label {
  text-align: left;
}

#atr-search .has-placeholder label {
  line-height: 34px;
  padding: 0 8px;
  font-size: 13px;
}

#atr-search .select-box {
  background: none;
  box-shadow: none;
  border: none;
  line-height: 34px;
  text-shadow: none;
  width: 80%;
}

#atr-search .select-box-trigger {
  display: none;
}

#atr-search .select-box select {
  top: auto;
  left: auto;
  opacity: 1!important;
  -webkit-appearance: menulist;
}

#atr-search .atr-box {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 13px;
  padding: 0px 28px 0 8px;
  margin: 0;
  line-height: 34px;
  min-height: 36px;
  background: #fff;
  float: left;
  clear: both;
  outline: none;
  width: 100%;
  color: #444;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.06);
  transition: 0.2s;
}

#atr-search .controls:hover .atr-box {
  border-color: #aaa;
}

#atr-search .atr-box:after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  position: absolute;
  right: 9px;
  top: 50%;
  margin-top: -9px;
  width: 16px;
  font-size: 16px;
  color: #444;
  line-height: 18px;
  height: 18px;
  text-align: center;
}

#atr-search .controls:hover .atr-box:not(.opened):after, #atr-search .controls .atr-box.opened:after {
  content: "\f106";
}

#atr-search .atr-box>div.atr-holder {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 7px 0 4px 0px;
  line-height: 20px;
}

#atr-search .atr-box>div.atr-holder span {
  float: left;
  margin: 0 3px 3px 0;
  background: #ddd;
  font-size: 12px;
  line-height: 16px;
  border-radius: 3px;
  padding: 2px 4px;
}

#atr-search .atr-subtype-boxed .atr-ul {
  top: 34px;
  z-index: 99;
  display: none;
  z-index: 3;
  position: absolute;
  width: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #aaa;
  border-top: none;
  padding: 6px 8px 6px 8px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  max-height: 300px;
  overflow-y: auto;
}

#atr-search .atr-select-deselect {
  display: inline-block;
  width: 100%;
  font-size: 13px;
  margin: 0 0 5px 0;
  letter-spacing: -0.3px;
}


/* CUSTOM CHECKBOX & RADIO SEARCH */

#atr-search .atr-input-box {
  float: left;
  width: 100%;
  clear: both;
  margin: 5px 15px 5px 0;
  position: relative;
}

#atr-search .atr-input-box input[type="checkbox"], .atr-input-box input[type="radio"] {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  visibility: hidden;
  overflow: hidden;
  padding: 0!important;
  width: 0!important;
  height: 0!important;
  margin: 0!important;
  box-shadow: none!important;
}

#atr-search .atr-input-box label {
  min-height: 20px;
  text-align: left;
  display: block;
  cursor: pointer;
  position: relative;
  float: left;
  padding: 0 0 0 30px!important;
  line-height: 20px;
  font-size: 13px;
  width: auto;
  clear: both;
}

#atr-search .atr-input-box label:hover {
  text-decoration: underline;
}

#atr-search .atr-input-box label:before {
  cursor: pointer;
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  font-weight: 500;
  text-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  text-shadow: none;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.06);
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.06);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.06);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: 0.1s linear all;
  -moz-transition: 0.1s linear all;
  -ms-transition: 0.1s linear all;
  -o-transition: 0.1s linear all;
  transition: 0.1s linear all;
}

#atr-search .atr-input-box label:hover:before {
  border-color: #aaa;
}

#atr-search .atr-input-box label:after {
  cursor: pointer;
  text-indent: 1px;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f00c";
  color: transparent;
  font-size: 14px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  /* font-weight: 500; */
  text-shadow: none;
  position: absolute;
  top: 1px;
  left: 1px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: 0.1s linear all;
  -moz-transition: 0.1s linear all;
  -ms-transition: 0.1s linear all;
  -o-transition: 0.1s linear all;
  transition: 0.1s linear all;
}

#atr-search .atr-input-box input[type="checkbox"]:checked+label:before, #atr-search .atr-input-box input[type="radio"]:checked+label:before {
  border-color: #03a9f4;
  color: #fff;
  background-color: #03a9f4;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

#atr-search .atr-input-box input[type="checkbox"]:checked+label:after, #atr-search .atr-input-box input[type="radio"]:checked+label:after {
  color: #fff;
}

#atr-search .atr-input-box.atr-radio label:before, #atr-search .atr-input-box.atr-radio label:after {
  border-radius: 50%;
}

#atr-search .atr-input-box.atr-lvl-1 {
  padding-left: 8px;
}

#atr-search .atr-input-box.atr-lvl-2 {
  padding-left: 16px;
}

#atr-search .atr-input-box.atr-lvl-3 {
  padding-left: 24px;
}

#atr-search .atr-input-box.atr-lvl-4 {
  padding-left: 30px;
}

#atr-search .atr-input-box.atr-lvl-5 {
  padding-left: 36px;
}

#atr-search .atr-input-box.atr-lvl-6 {
  padding-left: 40px;
}

#atr-search .atr-input-box.atr-lvl-7 {
  padding-left: 44px;
}

#atr-search .atr-input-box.atr-lvl-8 {
  padding-left: 48px;
}

#atr-search .atr-input-box.atr-lvl-9 {
  padding-left: 50px;
}


/* ITEM */

#atr-item, #atr-item * {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#atr-item {
  margin: 20px 0;
  display: inline-block;
  width: 100%;
  clear: both;
  padding: 0;
  list-style-type: none;
}

#atr-item li {
  display: inline-block;
  width: 100%;
  margin: 0px 0 5px 0;
  padding: 0;
  vertical-align: text-top;
  border: 1px solid #e1e1e1;
  position: relative;
}

#atr-item li.atr-type-checkbox, #atr-item li.atr-type-select {
  margin-bottom: 5px;
}

#atr-item .atr-name {
  width: 30%;
  height: 100%;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  background: #f7f7f7;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#atr-item .atr-value {
  width: 70%;
  display: inline-block;
  margin-left: 30%;
}

#atr-item .atr-value-single {
  margin-left: 5px;
  margin-bottom: 5px;
  width: auto;
  display: inline-block;
}

#atr-item .atr-value-single img {
  margin-right: 5px;
  vertical-align: middle;
  height: 16px;
  width: auto;
  margin-top: -1px;
}

#atr-item .atr-value-single img:not(.atr-img-def) {
  margin-right: 7px;
}

#atr-item .atr-empty {
  font-style: italic;
  font-weight: 100;
  color: #999;
}

#atr-item .atr-value-single.atr-disabled {
  opacity: 0.3;
}

#atr-item .atr-value-select .atr-value-single {
  margin-right: 10px;
}

#atr-item .atr-value-select .atr-value-single:after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  margin-left: 10px;
  font-size: 16px;
  color: #999;
}

#atr-item .atr-value-select .atr-value-single:last-child:after {
  display: none;
}

@media (max-width: 650px) {
  #atr-item li.atr-type-checkbox {
    margin-bottom: 10px !important;
  }

  #atr-item .atr-name {
    width: unset !important;
    height: unset!important;
    display: block !important;
    position: unset !important;
    transform: unset !important;
  }

  #atr-item .atr-value {
    width: unset !important;
    display: block !important;
    text-align: center !important;
    margin-left: unset !important;
  }
}


/* ITEM FORM */

#atr-form, #atr-form * {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#atr-form {
  margin: 20px 0;
  display: inline-block;
  width: 100%;
  clear: both;
}

#atr-form .control-group {
  margin-bottom: 15px;
  display: inline-block;
  width: 100%;
  clear: both;
}

#atr-form .control-group.atr-type-select, #atr-form .control-group.atr-type-daterange {
  margin-bottom: 5px;
}

#atr-form .control-group>.controls {
  display: inline-block;
  width: 75%;
  margin: 0;
  position: relative;
}

#atr-form .control-group>.controls.atr-loading:after {
  content: "";
  position: relative;
  display: inline-block;
  width: 26px;
  height: 26px;
  top: 2px;
  background: url(../img/ajax_loading.gif);
  transition: 0s;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100%;
}

#atr-form .control-group>label {
  /* max-width: 25%; */
  line-height: 34px;
  padding: 0 20px 0 0;
  text-align: center;
  margin: 0;
}

#atr-form ul.atr-ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#atr-form ul.atr-ul li {
  min-width: 125px;
  width: auto;
  max-width: 90%;
  display: inline-block;
  vertical-align: text-top;
  margin-right: 15px;
}

#atr-form select, #atr-form textarea, #atr-form input[type="text"], #atr-form input[type="url"], #atr-form input[type="email"], #atr-form input[type="phone"], #atr-form input[type="date"] {
  clear: none;
  outline: none;
  display: inline-block;
  width: auto;
  min-width: 120px;
  padding: 0 8px;
  line-height: 32px;
  height: 34px;
  border-radius: 2px;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
  background: #fff;
  font-size: 13px;
  color: #333;
  float: none;
}

#atr-form select:hover, #atr-form textarea:hover, #atr-form input[type="text"]:hover, #atr-form input[type="url"]:hover, #atr-form input[type="email"]:hover, #atr-form input[type="phone"]:hover, #atr-form input[type="date"]:hover {
  border-color: #aaa;
}

#atr-form select:focus, #atr-form textarea:focus, #atr-form input[type="text"]:focus, #atr-form input[type="url"]:focus, #atr-form input[type="email"]:focus, #atr-form input[type="phone"]:focus, #atr-form input[type="date"]:focus {
  border-color: #02C39A;
}

#atr-form select {
  height: 34px;
  margin-right: 10px;
  margin-bottom: 10px;
  min-width: 160px;
  max-width: 180px;
}

#atr-form textarea {
  min-width: 280px;
  min-height: 120px;
  max-width: 100%;
  width: 80%;
}

#atr-form .atr-type-daterange input[type="date"] {
  margin-bottom: 10px;
}

#atr-form .controls input[type="date"] {
  margin-right: 10px;
}

#atr-form .controls input[type="url"] {
  width: 240px;
}

#atr-form .controls input[type="email"][type="text"] {
  width: 180px;
}

#atr-form .atr-date-del {
  display: inline-block;
  margin-right: 15px;
  margin-left: 5px;
  line-height: 32px;
  font-size: 13px;
  color: #888;
}

#atr-form label {
  text-align: left;
}

#atr-form .atr-select-deselect {
  display: inline-block;
  clear: both;
  width: 100%;
  font-size: 13px;
  margin: -3px 0 0 0;
  letter-spacing: -0.3px;
}


/* CUSTOM CHECKBOX & RADIO */

#atr-form .atr-input-box {
  float: left;
  width: 100%;
  clear: both;
  margin: 5px 15px 5px 0;
  position: relative;
}

#atr-form .atr-input-box input[type="checkbox"], .atr-input-box input[type="radio"] {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  visibility: hidden;
  overflow: hidden;
  padding: 0!important;
  width: 0!important;
  height: 0!important;
  margin: 0!important;
  box-shadow: none!important;
}

#atr-form .atr-input-box label {
  text-align: left;
  display: block;
  cursor: pointer;
  position: relative;
  float: left;
  padding: 0 0 0 30px!important;
  line-height: 20px;
  font-size: 13px;
  width: auto;
  clear: both;
}

#atr-form .atr-input-box label:hover {
  text-decoration: underline;
}

#atr-form .atr-input-box label:before {
  cursor: pointer;
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  font-weight: 500;
  text-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  text-shadow: none;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.06);
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.06);
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.06);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: 0.1s linear all;
  -moz-transition: 0.1s linear all;
  -ms-transition: 0.1s linear all;
  -o-transition: 0.1s linear all;
  transition: 0.1s linear all;
}

#atr-form .atr-input-box label:hover:before {
  border-color: #aaa;
}

#atr-form .atr-input-box label:after {
  cursor: pointer;
  text-indent: 1px;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f00c";
  color: transparent;
  font-size: 14px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  /* font-weight: 500; */
  text-shadow: none;
  position: absolute;
  top: 1px;
  left: 1px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: 0.1s linear all;
  -moz-transition: 0.1s linear all;
  -ms-transition: 0.1s linear all;
  -o-transition: 0.1s linear all;
  transition: 0.1s linear all;
}

#atr-form .atr-input-box input[type="checkbox"]:checked+label:before, #atr-form .atr-input-box input[type="radio"]:checked+label:before {
  border-color: #03a9f4;
  color: #fff;
  background-color: #03a9f4;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

#atr-form .atr-input-box input[type="checkbox"]:checked+label:after, #atr-form .atr-input-box input[type="radio"]:checked+label:after {
  color: #fff;
}

#atr-form .atr-input-box.atr-radio label:before, #atr-form .atr-input-box.atr-radio label:after {
  border-radius: 50%;
}

#atr-form .atr-input-box .input-box-check {
  margin: 0;
}

!.atr-input-box.atr-radio label:after {
  font-size: 10px;
  content: "\f111";
}


/* ZARA STYLES */

#atr-search.atr-theme-zara {
  padding: 10px 8px;
  margin: 0;
}

#atr-search.atr-theme-zara select {
  margin-bottom: 10px;
  width: 88%;
}

#atr-search.atr-theme-zara .control-group>label {
  line-height: 20px;
}

#atr-item.atr-theme-zara .atr-name {
  width: 25%;
}

#atr-item.atr-theme-zara .atr-value {
  width: 70%;
}


/* VERONIKA STYLES */

#atr-search.atr-theme-veronika {
  padding: 10px 12px;
  margin: 0;
}

#atr-search.atr-theme-veronika select {
  margin-bottom: 10px;
  width: 88%;
}

#atr-item.atr-theme-veronika .atr-name {
  width: 25%;
}

#atr-item.atr-theme-veronika .atr-value {
  width: 70%;
}

#atr-form.atr-theme-veronika {
  padding: 5px 10px;
}

#atr-form.atr-theme-veronika .control-group>label {
  max-width: 30%;
}

#atr-form.atr-theme-veronika .control-group>.controls {
  max-width: 68%;
}

#atr-form.atr-theme-veronika .controls input[type="date"] {
  max-width: 150px;
}


/* STELA STYLES */

#atr-search.atr-theme-stela {
  margin: 0;
  padding: 0;
  width: 80%;
}

#atr-search.atr-theme-stela .control-group {
  display: inline-block;
  float: none;
  width: 33.33%;
  margin: 0 0 30px 0;
  padding: 0 15px;
  height: auto;
  clear: none;
  vertical-align: text-top;
}

#atr-search.atr-theme-stela textarea {
  height: 40px;
  min-height: 40px;
}

#atr-search.atr-theme-stela .input-box, #atr-search.atr-theme-stela .input-box-check {
  margin: 0;
}

#atr-search.atr-theme-stela .controls select {
  margin: 0 0 15px 0;
}

#atr-search.atr-theme-stela .controls select:last-child {
  margin-bottom: 0;
}


/* BENDER STYLES */

#atr-search.atr-theme-bender .atr-type-daterange input[type="date"], #atr-search.atr-theme-bender .atr-type-range input[type="number"] {
  width: 100%!important;
}

#atr-form.atr-theme-bender .control-group>label {
  max-width: 100%;
  width: 160px;
  padding-right: 0;
}

#atr-form.atr-theme-bender .control-group>.controls {
  max-width: calc(100% - 180px);
  margin-left: 180px;
  display: block;
}

@media screen and (max-width: 767px) {
  #atr-search .atr-subtype-boxed .atr-ul {
    max-height: 180px;
  }
}