img {
  max-width: 100%;
}
body {
  font-family: 'HelveticaNeueCyr';
  min-width: 320px;
}
a {
  color: #338ca1;
  transition: all .5s;
}
a:hover {
  color: #338ca1;
  transition: all .5s;
  text-decoration: underline;
}
:focus {
  outline: none;
}
header {
  padding: 1rem;
  background: #fff;
  z-index: 99;
}
.logo {
  display: block;
  max-width: 150px;
  color: transparent;
}
.logo svg {
  width: 100%;
  height: auto;
}
.search-form {
  width: 100%;
  max-width: 760px;
  margin: auto auto 3rem auto;
}
.search-form .title {
  font-size: 3.25rem;
  color: rgb(61, 61, 61);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  font-weight: 700;
}
.search-form .descr {
  font-size: 1.25rem;
  color: rgb(128, 128, 128);
  font-weight: 300;
  margin-bottom: 2rem;
}
.search-form a {
  color: #338ca1;
  text-decoration: none;
}
.search-form a:hover {
  text-decoration: underline;
}
.form-disabled .search-form {
  pointer-events: none;
  opacity: .6;
}
.search-form input[type="text"] {
  height: 60px;
  padding-left: 60px;
  color: #000000;
  border: 1px solid #b5b5b5;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.search-form .form-group {
  position: relative;
}
.search-form .form-group svg {
  position: absolute;
  width: 26px;
  height: 26px;
  left: 20px;
  top: 17px;
}
.search-form input[type="text"]::placeholder {
  color:#b5b5b5;
}
.search-form input[type="text"]:focus::placeholder {
  color:#fff;
}
.btn {
  color: #ffffff;
  border: 1px solid #338ca1;
  background-color: #338ca1;
  border-color: #338ca1;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding-left: 60px;
  padding-right: 60px;
  -webkit-appearance: none;
  font-weight: 900;
  outline: none;
}
.btn:hover {
  background-color: #297486;
  color: #ffffff;
}
.btn#show-more-btn {
  color: #ffffff;
  border: 1px solid #338ca1;
  background-color: #338ca1;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding-left: 60px;
  padding-right: 60px;
  -webkit-appearance: none;
  font-weight: 900;
  outline: none;
}
.btn#show-more-btn:hover {
  background-color: #297486;
  color: #ffffff;
}
.form-control:focus {
  color: #000;
  background-color: #fff;
  border-color: inherit;
  outline: 0;
  box-shadow: none;
}
.navbar-main {
  background: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
}
.navbar-main a {
  color: rgb(51, 140, 161);
  font-size: .875rem;
}
.navbar-main a:hover {
  color: rgb(51, 140, 161);
  text-decoration: underline;
}
.navbar-main li {
  display: flex;
}
.navbar-main li + li::before {
  content: '|';
  display: inline-block;
  margin: auto .25rem;
  color: rgb(181, 181, 181);
  font-size: .875rem;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.btn.focus, .btn:focus {
  outline: 0;
  box-shadow: none;
}
main {
  display: flex;
  min-height: calc(100vh - 55px);
  padding: 80px 0 55px;
}
main > .container {
  margin-top: auto;
  margin-bottom: auto;
}
.you-choose {
  margin-bottom: 4rem;
}
.you-choose .s-title {
  color: #505958;
  font-weight: 400;
  margin-bottom: 1rem;
}
.you-choose .image {
  width: 40px;
  margin-right: .5rem;
}
.results-found {
  color: #505958;
  font-size: .75rem;
  margin-bottom: 1rem;
}
.item {
  margin-bottom: 2rem;
}
.item .image {
  margin-bottom: .5rem;
}
.item .image img {
  width: 100%;
  transition: all .1s;
}
.item .image:hover img {
  transform: scale(1.05);
  transition: all .1s;
}
.item .title {
  font-size: .75rem;
  font-weight: 600;
}
.item .author {
  font-size: .75rem;
  font-weight: 400;
}
.item a,
.item .title a,
.item .author a {
  color: #505958;
}
.result-show .search-form .title,
.result-show .search-form .descr {
  display: none;
}
.search-anim {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,.5);
}
.show-more a {
  display: inline-flex;
  height: 60px;
  align-items: center;
  justify-content: center;
}
article {
  color: rgb(80, 89, 88);
}
article p {
  font-size: 1.7rem;
  margin-bottom: 2rem;
  font-weight: 300;
  color: rgb(80, 89, 88);
}

@media (min-width: 1366px) {
  .search-result .col-lg-3 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
  .container {
    max-width: 1200px;
  }
}
@media (max-width: 767px) {
  .search-form .title {
    font-size: 2.5rem;
  }
  article p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .btn:hover {
    color: #338ca1;
    border: 1px solid #338ca1;
    background-color: #ffffff;
  }
  .item .image:hover img {
    transform: scale(1);
  }
}
@media (max-width: 575px) {
  .search-form .btn {
    height: 60px;
    margin-top: .5rem;
    display: block;
    text-align: center;
    width: 100%;
  } 
  .search-form .title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .search-form .descr {
    font-size: 1rem;
  }
  .logo {
    margin: auto;
  }
  .you-choose {
    margin-bottom: 2rem;
  }
  .search-form {
    margin: auto auto 2rem auto;
  }
  .search-result .col-6:nth-of-type(odd) {
    padding-right: 7.5px;
  }
  .search-result .col-6:nth-of-type(even) {
    padding-left: 7.5px;
  }
  article p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  main {
    min-height: calc(100vh - 15px);
  }
}
.btn-up {
  position: fixed;
  background-color: #338ca1;
  transition: .5s;
  right: 20px;
  bottom: 60px;
  border-radius: 22px;
  cursor: pointer;
  width: 44px;
  height: 44px;
}

.btn-up::before {
  content: "";
  text-align: center;
  position: absolute;
  width: 20px;
  height: 20px;
  left: 12px;
  top: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17V4M3 10l7-7 7 7'/%3E%3C/g%3E%3C/svg%3E");
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #297486;
  }
}