/*---CONVERTER----*/

.converter,
.converter *,
.dropdown,
.dropdown *,
.form-control {
  box-sizing: border-box;
}

.converter .box {
  background: #f1f1f1;
  margin-top: 9px;
  padding: 13px 20px;
}

.converter .box .row {
  margin-left: -25px;
  margin-right: -25px;
  display: -webkit-box;
  display: flex;
}

.converter .box .row .col {
  margin-bottom: 0;
  min-width: 50%;
  max-width: 50%;
  padding-left: 25px;
  padding-right: 25px;
  position: relative;
}

.converter .select {
  font-weight: normal;
  margin-bottom: 3px;
}

.converter .select .dropdown-item {
  font-size: 14px;
  color: #4a4a4a;
}

.converter .dropdown,
.converter .dropdown .dropdown-toggle {
  width: 100%;
}

.converter .form-control {
  margin-bottom: 16px;
}

.converter-replace,
.converter .ili {
  width: 26px;
  height: 24px;
  background: url(img/converter-replace.png) no-repeat center;
  cursor: pointer;
  position: absolute;
  right: -13px;
  top: 36px;
  z-index: 1;
}

.converter .ili {
  top: auto;
  background: none;
  bottom: 25px;
}

.copy-btn {
  width: 14px;
  height: 17px;
  background: url(img/copy-btn.png) no-repeat;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin-left: 5px;
}

.converter-result {
  margin-bottom: 20px;
}

.main_title.flx:after {
  min-width: 100%;
  max-width: 100%;
  -webkit-box-flex: 1;
  flex-grow: 1;
  margin-top: 0;
}

.main_title.flx {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
}

.main_title.flx .fsz-16 {
  font-size: 16px;
  color: #385f6e;
}

.main_title.flx .div {
  margin-right: 15px;
}

.main_title.flx .like {
  padding-top: 4px;
  padding-bottom: 4px;
}

.converter-result table {
  overflow: auto;
  min-width: 100%;
  border-collapse: collapse;
}

.converter-result td:first-child {
  font-size: 13px;
}

.converter-result table th,
.converter-result table td {
  border: 1px solid #bcbcbc;
  padding: 10px 20px;
  line-height: 20px;
  vertical-align: top;
}

.converter-result table th {
	text-transform: uppercase;
}

.converter-result [data-role="rateCell"] {
	white-space: nowrap;
}

.converter-result [data-role="commission"] {
	color: #c75050;
	font-size: 0.7em;
}

.converter-result table td.convert-average {
  padding-right: 35px;
  background: url(img/convert-average.png) no-repeat right center;
}

.converter-result table td .select {
  margin-left: -14px;
  margin-right: -14px;
  font-size: 13px;
}

.converter-result table td .dropdown .dropdown-item,
.converter-result table td .dropdown .dropdown-toggle {
  font-size: 13px;
}

.converter-result table thead th {
  background: #f1f1f1;
  font-size: 11px;
  color: #6c8794;
  text-align: left;
  font-weight: normal;
  text-align: center;
}

.converter-result .fsz-11 {
  color: #82858a;
}

.converter-result .flx {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  margin-bottom: 10px;
}

.convert-path {
  font-size: 13px;
  color: #FFF;
  padding: 5px 15px;
  line-height: 19px;
  background: #4a4a4a;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.27);
  border-radius: 3px;
}

.converter-result table .mobile-hide {
  display: none;
}

#modalValuta .modal-dialog {
  max-width: 900px;
}

#modalValuta.in {
  opacity: 1;
}

#modalValuta.in.msnryOpened {
  opacity: 1;
}

.valuta-list ul,
.valuta-list ul li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.valuta-list ul {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
}

.valuta-list ul li {
  color: #385f6e;
  text-align: left;
  width: auto;
  box-sizing: border-box;
  padding: 5px 10px;
  cursor: pointer;
}

.valuta-list ul li:hover {
  background: #f1f1f1;
}

.btn-more-valuta {
  margin: 20px 0 0;
  display: inline-block;
  vertical-align: top;
}

.btn-more-valuta .span1 {
  display: block;
}

.btn-more-valuta .span2 {
  display: none;
}

.btn-more-valuta[aria-expanded="true"] .span1 {
  display: none;
}

.btn-more-valuta[aria-expanded="true"] .span2 {
  display: block;
}

.modal .altcurrencies {
  max-height: 300px;
  overflow: auto;
  padding-left: 10px;
  padding-right: 10px;
}

.valuta-more {
  margin-top: 20px;
}

.valuta-more ul {
  padding: 0;
  margin: 0;
  list-style: none;
  margin-left: -5px;
  margin-right: -5px;
  -webkit-column-count: 4;
  -moz-column-count: 4;
  column-count: 4;
}

.valuta-more ul li {
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  box-sizing: border-box;
  padding: 0 5px;
}

.valuta-more ul li:hover {
  background: #f1f1f1;
}

.search-bar {
  line-height: 1;
  background: #385f6e;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 7px;
  overflow: hidden;
  margin-bottom: 10px;
}

.search-bar .form-control2 {
  max-width: 200px;
}

.valuta-book {
  overflow: hidden;
  margin-bottom: 20px;
}

.valuta-book .in {
  margin-left: -8px;
  margin-right: -8px;
  font-size: 14px;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

.valuta-book .in a {
  display: block;
}

.valuta-book .ipsType_normal {
  margin-left: 13px;
  margin-right: 13px;
  text-decoration: none;
  margin-bottom: 5px;
}

.valuta-book .ipsType_normal:hover {
  color: #ad1457;
}

.valuta-book .ipsType_light {
  color: #9c9c9c;
  float: right;
  margin-left: 5px;
  margin-bottom: 5px;
}

.contacts {
  max-width: 1000px;
  margin: 0 auto 100px;
}

.contacts .row {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.contacts .row .col {
  margin-bottom: 20px;
  min-width: 320px;
  max-width: 320px;
}

.contacts .row .col:first-child {
  min-width: 504px;
  max-width: 504px;
}

.contacts .row .col .icos {
  text-decoration: none;
  font-size: 24px;
  color: #4a4a4a !important;
  background: #f4f4f4;
  box-shadow: 0 2px 1px 0 rgba(41, 94, 108, 0.17);
  border-radius: 21.5px;
  padding: 10px 25px;
  line-height: normal;
  white-space: normal;
  margin-bottom: 25px;
}

.contacts .row .col .icos .ico {
  min-width: 60px;
  max-width: 60px;
  max-height: 60px;
  margin-right: 0;
}

.contacts .row .col .icos .ico.flex-start {
  align-self: flex-start;
  margin-top: 4px;
}

.contacts .row .col .icos .ico img {
  width: auto;
}

.contacts .row .col .icos .ico.mail-ico img {
  background: #3f918b;
  border-radius: 3px;
  width: 23px;
  height: 19px;
  border: 1px solid #3f918b;
}

/*------end--------*/

/*---END CONVERTER--*/

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }

  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }

  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
  }

  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }

  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
  }

  .modal-sm {
    max-width: 300px;
  }

  .dropdown-menu-sm-left {
    right: auto;
    left: 0;
  }

  .dropdown-menu-sm-right {
    right: 0;
    left: auto;
  }
}

@media (min-width: 768px) {
  .dropdown-menu-md-left {
    right: auto;
    left: 0;
  }

  .dropdown-menu-md-right {
    right: 0;
    left: auto;
  }
}

@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }

  .dropdown-menu-lg-left {
    right: auto;
    left: 0;
  }

  .dropdown-menu-lg-right {
    right: 0;
    left: auto;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }

  .dropdown-menu-xl-left {
    right: auto;
    left: 0;
  }

  .dropdown-menu-xl-right {
    right: 0;
    left: auto;
  }
}

@media screen and (max-width: 1115px) {
  .valuta-book .ipsType_normal {
    min-width: calc(50% - 26px);
    max-width: calc(50% - 26px);
  }
}

@media screen and (max-width: 970px) {
  #modalValuta .modal-dialog {
    max-width: 90%;
  }
}

@media screen and (max-width: 767px) {
  .converter .box {
    margin-top: 0;
  }

  .converter .box .row {
    margin-left: -27px;
    margin-right: -27px;
  }

  .valuta-list ul {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }

  .valuta-more ul {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }

  .contacts .row .col .icos {
    font-size: 20px;
  }

  .contacts .row .col .icos .ico {
    min-width: 40px;
    max-width: 40px;
  }

  .contacts .row .col .icos .ico img {
    width: 16px;
  }

  .contacts .row .col .icos .ico.mail-ico img {
    border: 0;
    width: 23px;
    padding: 2px 3px;
    height: auto;
  }

  .converter .box {
    background: #FFF;
  }

  .form-control {
    background: #f8f8f8;
    border: 1px solid #e7e7e7;
  }

  .select .dropdown-toggle {
    background: #f4f4f4;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.26);
  }

  .select-blue .dropdown-toggle,
  .select .dropdown-toggle,
  .converter-result table th,
  .converter-result table td {
    padding-left: 14px;
    padding-right: 14px;
  }

  .converter .box .row .col-dropdown .dropdown-toggle {
    padding-left: 9px;
    padding-right: 9px;
  }

  .select .dropdown-toggle .caption {
    font-size: 12px;
  }

  .converter .box {
    padding-left: 10px;
    padding-right: 10px;
  }

  .converter .box .row .col-advert {
    display: none;
  }

  .converter .box .row .col-dropdown {
    -webkit-box-flex: 1;
    flex-grow: 1;
    min-width: calc(100% + 6px);
    max-width: calc(100% + 6px);
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    margin-left: -3px;
    margin-right: -3px;
    padding-left: 25px;
    padding-right: 25px;
  }

  .converter .col-dropdown .dropdown {
    -webkit-box-flex: 1;
    flex-grow: 1;
    margin-left: 3px;
    margin-right: 3px;
    max-width: calc(33.33% - 6px);
    min-width: calc(33.33% - 6px);
  }

  .converter .select .dropdown-item {
    font-size: 13px;
  }

  .converter .col-dropdown .dropdown .dropdown-item {
    text-align: left !important;
  }

  .converter .col-dropdown .dropdown:last-child .dropdown-menu {
    left: auto !important;
    right: 0;
  }

  .converter-result {
    padding-left: 7px;
    padding-right: 7px;
  }

  .converter-result table td:nth-child(3),
  .converter-result table th:nth-child(3) {
    display: none;
  }

  .converter-result table .desctop-show {
    display: none;
  }

  .converter-result table .mobile-hide {
    display: table-row;
  }

  .converter-result table .mobile-hide .convert-path {
    margin-left: -14px;
    margin-right: -14px;
  }

  .converter-result table .mobile-hide .convert-path,
  .converter-result table td .select {
    margin-left: -8px;
    margin-right: -8px;
  }
}

@media screen and (max-width: 560px) {
  .valuta-more ul {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
}

@media screen and (max-width: 479px) {

  .valuta-list ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}

@media screen and (max-width: 430px) {
  .valuta-more ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}