body {
  font-size: 18px;
}

h1 {
  color: #373737;
  font-size: 30px;
}

.h1-wrapper {
  width: 300px;
  border-bottom: 1px solid #3465A4;
  margin-bottom: 10px;
  padding-top: 20px;
}

header {
  background-color: #f3f3f3;
  -webkit-box-shadow: 0px 5px 8px 0px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 0px 5px 8px 0px rgba(34, 60, 80, 0.2);
  box-shadow: 0px 5px 8px 0px rgba(34, 60, 80, 0.2);
}

.header-logo {
  max-height: 150px;
}

.footer {
  height: 40px;
  padding-top: 10px;
  font-size: 12px;
  background: linear-gradient(to top, #f5f5f5, #fff);
  color: #313131;
}
.footer .col:not(:nth-child(4n)) {
  border-right: 1px solid #313131;
}

.content-wrapper {
  padding-top: 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler-bordered {
  border: 1px solid black;
}

.main-nav {
  font-size: 20px;
}

.nav-item {
  border-radius: 5px;
}
.nav-item .nav-link {
  color: black;
}
.nav-item:hover {
  background-color: #F8AA14;
  transition: 0.3s ease-in-out;
}
.nav-item:hover a {
  color: white;
  transition: 0.3s ease-in-out;
}

.mainpage-body {
  background-image: url(../img/spectrometer_flipped_opacity.png);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.contacts-body {
  background-image: url(../img/contacts_background_roads_color_overlay.png);
  background-position: center;
  background-size: contain;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.mainpage-list {
  padding-top: 20px;
}
.mainpage-list .mainpage-list-1, .mainpage-list .mainpage-list-2 {
  padding-left: 0;
}
.mainpage-list .mainpage-list-1 li, .mainpage-list .mainpage-list-2 li {
  list-style: none;
  font-size: 25px;
  letter-spacing: 0.1rem;
}
.mainpage-list .mainpage-list-1 li:before, .mainpage-list .mainpage-list-2 li:before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  vertical-align: -12%;
}
.mainpage-list .mainpage-list-1 li:nth-child(1):before {
  background-color: #599BB8;
}
.mainpage-list .mainpage-list-1 li:nth-child(2):before {
  background-color: #68A3BD;
}
.mainpage-list .mainpage-list-1 li:nth-child(3):before {
  background-color: #75A9BF;
}
.mainpage-list .mainpage-list-1 li:nth-child(4):before {
  background-color: #8CBFD4;
}
.mainpage-list .mainpage-list-1 li:nth-child(5):before {
  background-color: #9ACBDF;
}
.mainpage-list .mainpage-list-2 li:nth-child(1):before {
  background-color: #F3D69E;
}
.mainpage-list .mainpage-list-2 li:nth-child(2):before {
  background-color: #F3CC82;
}
.mainpage-list .mainpage-list-2 li:nth-child(3):before {
  background-color: #E9B757;
}
.mainpage-list .mainpage-list-2 li:nth-child(4):before {
  background-color: #F0AC2A;
}

.contacts {
  margin-top: 30px;
}
.contacts h2, .contacts h4 {
  color: #383838;
}

.contact-form {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  border: 1px solid #e8e8e8;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
}

.contact-form-submit {
  background-color: #F8AA14;
  color: white;
  min-width: 200px;
}
.contact-form-submit:hover {
  color: grey;
  opacity: 85%;
}

.text-contacts p {
  font-size: 20px;
}

#services-carousel {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
#services-carousel img {
  border-radius: 5px;
}

.structure-wrapper {
  margin-right: 5px;
  border-radius: 3px;
  box-shadow: 0px 1px 6px 1px rgba(34, 60, 80, 0.2);
}
.structure-wrapper .structure-info {
  border-right: 1px solid #ced4da;
}

#nodata-error, .error {
  font-size: smaller;
}

#loadMore {
  display: none;
  width: 150px;
}

.spinner-border {
  width: 19px;
  height: 19px;
}