body {
  /* background-color: #dee9ff; */
}

#calcbg {
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

#calcbg::before {
  content: "";
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  /* Specify the background image to be used */
  background-size: cover;
  /* Specify the background image */
  opacity: 0.95;
}

#calculator > button {
  position: relative;
  z-index: 999;
  opacity: 1;
}

#calculator > button > span {
  color: white;
  opacity: 1;
}

.calculation-form {
  padding: 50px 0;
  z-index: 999;
}

.calculation-form form {
  background-color: #efefefdb;
  max-width: 600px;
  min-height: 810px;
  margin: auto;
  padding: 20px 70px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0px 2px 10px rgb(0 0 0 / 30%);
}

.calculation-form .form-icon {
  text-align: center;
  background-color: #5891ff;
  border-radius: 50%;
  font-size: 40px;
  color: white;
  width: 100px;
  height: 100px;
  margin: auto;
  margin-bottom: 5px;
  line-height: 100px;
}

.calculation-form .item {
  border-radius: 20px;
  margin-bottom: 25px;
  padding: 10px 20px;
}

.calculation-form .create-account {
  border-radius: 30px;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  background-color: #5791ff;
  border: none;
  color: white;
  margin-top: 20px;
  /* width: 440px; */
  max-width: 42%;
  margin-inline: auto;
}

.calculation-form .social-media {
  max-width: 600px;
  background-color: #eceef1;
  margin: auto;
  padding: 2px 0;
  text-align: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  color: #9fadca;
  /* border-top: 1px solid #dee9ff; */
  box-shadow: 0px 2px 10px rgb(227 224 223);
}

.calculation-form .social-icons {
  margin-top: 30px;
  margin-bottom: 16px;
}

.calculation-form .social-icons a {
  font-size: 23px;
  margin: 0 3px;
  color: #5691ff;
  border: 1px solid;
  border-radius: 50%;
  width: 45px;
  display: inline-block;
  height: 45px;
  text-align: center;
  background-color: #fff;
  line-height: 45px;
}

#kurs_dollar {
  font-size: 16px;
}

.modal-body.text-center > h4 {
  font-size: 26px;
}

.info_rashet {
  font-size: 18px;
  color: white;
}

#info_ctu {
  text-align: center;
  font-size: 14px;
  padding: 5px;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  margin-top: 60px;
}

.calculation-form .social-icons a:hover {
  text-decoration: none;
  opacity: 0.6;
}

#FROM.autocomplete-item {
  text-align: justify;
}

select:required:invalid {
  color: #6f6f70;
}

select#vid_soob:not(:checked),
select#rodVag:not(:checked),
select#vagFrom:not(:checked) {
  color: #726f6f;
}

select#vid_soob {
  color: #726f6f !important;
}

select#vid_soob option,
select#rodVag option,
select#vagFrom option {
  color: rgb(0, 0, 0);
}

select#vid_soob,
select#rodVag,
select#vagFrom {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}

select#vid_soob,
select#rodVag,
select#vagFrom {
  background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, #9ea6df 50%, transparent 50%),
    radial-gradient(#ddd 70%, transparent 72%);
  background-position:
    calc(100% - 20px) calc(1em + 3px),
    calc(100% - 10px) calc(1em + 3px),
    calc(100% - 0.5em) 0.5em;
  background-size:
    10px 10px,
    10px 10px,
    1.8em 1.8em;
  background-repeat: no-repeat;
}

select#vid_soob:focus,
select#rodVag:focus,
select#vagFrom:focus {
  background-image:
    linear-gradient(45deg, white 50%, transparent 50%),
    linear-gradient(135deg, #643e3e00 50%, white 50%),
    radial-gradient(#6988d7 70%, transparent 72%);
  background-position:
    calc(100% - 10px) 1em,
    calc(100% - 20px) 1em,
    calc(100% - 0.5em) 0.5em;
  background-size:
    10px 10px,
    10px 10px,
    1.8em 1.8em;
  background-repeat: no-repeat;
  outline: 0;
}

option[value=""][disabled] {
  display: none;
}

label#lfrom,
label#lto {
  margin: -20px 0px 5px 20px;
  color: #305826;
  height: 19px;
  display: block !important;
  /* position: relative; */
  text-align: right;
  max-width: 410px;
}

h5#itog {
  font-size: 15px;
  font-weight: 600;
  color: #3e3e3e;
}

button#calculate {
  border: none;
  /* background-image: linear-gradient(to right, #bb7272 0%, #db77a6e6 51%, #ff0000bd 100%); */
}

button#calculate:hover {
  text-align: center;
  transition: 0.8s;
  background-size: 200% auto;
  color: white;
  /* text-shadow: 0px 0px 10px rgb(217 217 211 / 83%); */
  box-shadow: 0px 0px 2px 2px #09c372;
  background-position: right center;
}

#showresults {
  height: 100px;
  display: none;
}

#valyut {
  width: 440px;
  background: #133dd87a;
  border-radius: 40px;
  transition: all ease 0.4s;
  border: 1px solid #08132d;
  color: aliceblue;
  text-align: center;
  font-size: 20px;
  display: inline-block;
  max-width: 100%;
}

#productList > li {
  /* border-bottom: 2px solid lightgrey; */
  white-space: pre-wrap;
  border-bottom: 1px solid #09c372;
  -webkit-box-shadow: 5px 3px 6px 2px #54d3ff;
  box-shadow: 11px 2px 7px -1px #a3a3a3;
}

#productList {
  max-width: 90%;
}

.clearX,
.clearVG,
.clearFrom,
.clearTo {
  position: absolute;
  right: 30px;
  top: 10px;
  color: rgb(255 0 0);
  line-height: 1;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  font-size: 14px;
  background: none;
  border: none;
  vertical-align: text-top;
  padding: 1px 1px 0px;
  margin: 1px 0px 1px 1px;
  cursor: pointer;
  opacity: 0.9;
  display: none;
  -webkit-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  background-color: #f6f8fa;
  border-radius: 50%;
  line-height: 15px;
  width: 25px;
  height: 25px;
}

.clearFrom,
.clearTo {
  top: 33px !important;
}

button.showX,
button.showVG,
button.showFrom,
button.showTo {
  display: initial;
}

/* modal */

.modal-confirm {
  color: #434e65;
  width: 525px;
}

.modal-confirm .modal-content {
  padding: 20px;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  border-radius: 30px;
}

.modal-confirm .modal-header {
  background: #58a6ff;
  border-bottom: none;
  position: relative;
  text-align: center;
  margin: -20px -20px 0;
  border-radius: 5px 5px 0 0;
  padding: 15px;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.modal-confirm h4 {
  text-align: center;
  font-size: 36px;
  margin: 10px 0;
}

.modal-confirm .form-control,
.modal-confirm .btn {
  min-height: 40px;
  border-radius: 3px;
}

.modal-confirm .close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  text-shadow: none;
  opacity: 0.5;
}

.modal-confirm .close:hover {
  opacity: 0.8;
}

.modal-confirm .icon-box {
  color: #fff;
  width: 95px;
  height: 95px;
  display: inline-block;
  border-radius: 50%;
  z-index: 9;
  border: 5px solid #fff;
  padding: 15px;
  text-align: center;
}

.modal-confirm .icon-box i {
  font-size: 64px;
  margin: -4px 0 0 -4px;
}

.modal-confirm.modal-dialog {
  margin-top: 80px;
  width: auto;
}

.modal-confirm .btn,
.modal-confirm .btn:active {
  color: #fff;
  border-radius: 4px;
  background: #1ed0b4 !important;
  text-decoration: none;
  transition: all 0.4s;
  line-height: normal;
  border-radius: 30px;
  margin-top: 10px;
  padding: 6px 20px;
  border: none;
}

.modal-confirm .btn:hover,
.modal-confirm .btn:focus {
  background: #489387 !important;
  outline: none;
}

.modal-confirm .btn span {
  margin: 1px 3px 0;
  float: left;
}

.modal-confirm .btn i {
  margin-left: 1px;
  font-size: 20px;
  float: right;
}

.trigger-btn {
  display: inline-block;
  margin: 100px auto;
}

/* end modal */

.box2 {
  font-family: Arial;
  font-size: 60px;
  animation: fadeIn 5s;
  -webkit-animation: fadeIn 5s;
  -moz-animation: fadeIn 5s;
  -o-animation: fadeIn 5s;
  -ms-animation: fadeIn 5s;
}

#overlay {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #7e90a54d;
  opacity: 0.8;
  z-index: 1000;
  display: none;
}

.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 55px;
  height: 55px;
  border: 4px #8c80e561 solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}

.is-hide {
  display: none;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 
.box1 {
    box-shadow: 0px 5px 10px 0px rgba(0, 255, 255, 0.7);
}

.box2 {
    box-shadow: inset 0px 5px 10px 0px rgba(0, 255, 255, 0.7);
}

.box1:hover {
    transform: translateY(-3px);
    box-shadow: 0px 10px 20px 2px rgba(0, 255, 255, 0.7);
}

.box2:hover {
    transform: translateY(3px);
    box-shadow: inset 0px 10px 20px 2px rgba(0, 255, 255, 0.7);
} */

/* for error message */

.form-group {
  position: relative;
  padding: 0px;
}

.form-group input {
}

.form-group input:focus {
  outline: 0;
}

.form-group.success input {
  border-color: #09c372;
  -moz-border-color: #09c372;
}

.form-group.success select {
  border-color: #09c372;
  -moz-border-color: #09c372;
}

.form-group.error input {
  border-color: #ff3860;
  -moz-border-color: #ff3860;
}

.form-group.error select {
  border-color: #ff3860;
  -moz-border-color: #ff3860;
}
.form-group .errorMsg {
  color: #ff3860;
  font-size: 11px;
  margin-bottom: 1px;
  position: absolute;
  left: 16px;
  top: 2.8rem;
}

.errorMsg.errFrom,
.errorMsg.errTo {
  top: 4.3rem;
}

@media (max-width: 576px) {
  .calculation-form form {
    background-color: #efefefdb;
    padding: 50px 20px;
    position: relative;
    text-align: -webkit-center;
  }
  .calculation-form .form-icon {
    width: 70px;
    height: 70px;
    font-size: 30px;
    line-height: 70px;
  }
  .clearX,
  .clearVG,
  .clearFrom,
  .clearTo {
    right: 10px;
  }
  #calcbg {
    height: 100vh;
    display: inline;
    align-items: center;
    justify-content: center;
  }
  .modal-confirm h4 {
    text-align: center;
    font-size: 28px;
    margin: 10px 0;
  }
  #info_rashet {
    font-size: 15px;
  }
  .calculation-form {
    padding: 10px 0;
    z-index: 999;
  }
}

/* Модальное окно результата */
.modal.fade.calculation {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.7) !important;
  z-index: 10001 !important;
  justify-content: center !important;
  align-items: center !important;
}

.modal.fade.calculation.show {
  display: flex !important;
}

.modal.fade.calculation .modal-dialog {
  margin: 0 !important;
  width: auto !important;
  max-width: 500px !important;
}

.modal.fade.calculation .modal-content {
  border-radius: 20px !important;
  overflow: hidden !important;
}

.modal.fade.calculation .modal-header {
  background: #005278 !important;
  color: #fff !important;
  padding: 15px 20px !important;
}

.modal.fade.calculation .modal-body {
  padding: 30px !important;
  text-align: center !important;
}

.modal.fade.calculation .modal-body h4 {
  color: #005278 !important;
  font-size: 24px !important;
}

.modal.fade.calculation .close {
  color: #fff !important;
  opacity: 0.8 !important;
  font-size: 28px !important;
}
/* @media (min-width: 511px) and (max-width: 576px) {
    .clearX,
    .clearVG {
        right: 115px;
    }
} */
