body {
  background-color: #fff;
  font-family: 'OpenSans-Regular', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
}

h1,
h2,
h3 {
  text-align: center;
  margin: 15px auto;
}

h3 {
  font-weight: 600;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-wrapper--welcome {
  position: relative;
  height: 300px;
}

.welcome {
  min-height: 300px;
}

.welcome__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0px;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 3rem;
  text-align: center;
}

.content-section {
  box-sizing: border-box;
  color: rgb(51, 51, 51);
  display: block;
  font-family: Raleway-Regular;
  font-size: 16px;
  line-height: 26.4px;
  padding: 10px 0;
  position: relative;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
}

.content-section:first-child {
  padding: 38px 0;
}

.content-section--contact-us {
  padding: 20px 0 38px;
}

.content-section h1 {
  color: #4c4e50;
  font-size: 2.3rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 35px;
}

.content-section h3 {
  margin-bottom: 15px;
}

.content-section p {
  font-weight: 300;
  font-size: 18px;
  line-height: 29px;
  color: #4c4e50;
}

main.info-page__main-wrapper {
  min-height: 100vh;
  background-color: rgb(247, 247, 247);
}

.content-section hr {
  background: #cdcdcd;
  margin: 20px;
  height: 1px;
  width: 99%;
  margin: 38px auto 0px;
}

.content-box__wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
}

.content-box__item--text-wrapper {
  flex: 1 1 400px;
}

.content-box__item.image-wrapper {
  max-width: 420px;
}

.content-section .content-box__item--text-wrapper ul {
  padding-left: 20px;
}

.content-box__item--text-wrapper ul li {
  list-style-type: disc;
  padding-left: 15px;
  font-size: 1.8rem;
}

.content-box__item--text-wrapper p {
  margin-bottom: 20px;
}

.info-page__main-wrapper .contact-us__description {
  text-align: center;
  width: 80%;
  margin: 0 auto 22px;
}

.content-section--how-we-work {
  background: white;
  width: 100%;
  max-width: 100%;
  padding: 38px 6%;
}

.how-we-work__content-wrapper {
  max-width: 1220px;
  margin: 0 auto;
}

.title-wrapper {
  margin-bottom: 30px;
}

#how-we-work .title {
  text-align: center;
}

#how-we-work .item-box {
  flex: 1 1 220px;
}

#how-we-work .item-box div,
#how-we-work .item-box p {
  margin: 0 auto 30px;
}

#how-we-work .image-wrapper {
  width: 212px;
  height: 130px;
}

#how-we-work hr {
  height: 1px;
  width: 100%;
  margin: 40px 0 50px;
}

.items-container {
  display: flex;
  flex-flow: row wrap;
  height: auto;
}

.content-section .content-box__item {
  margin-bottom: 13px;
}

#advantages-section .item-box {
  flex: 1 1 235px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-right: 0px;
  margin-bottom: 40px;
}

#advantages-section .item-box:last-child {
  margin-bottom: 0px;
}

#advantages-section .image-wrapper {
  width: 80px;
  height: 80px;
}

.content-section__text {
  margin: 0 0 20px;
}

.content-section--intro h1 {
  margin-bottom: 15px;
}

.language-box {
  position: relative;
  width: 100px;
  line-height: 18px;
  margin-left: -40px;
  margin-top: 36px;
  transition: all 0.25s ease-in-out;
}

header.scroll .language-box {
  margin-top: 29px;
}

.language-options {
  visibility: hidden;
  position: relative;
  top: 7px;
  left: 9px;
  background: #f6f6f6;
  width: 115px;
  height: 38px;
  transition: visibility 0.4s, opacity 0.4s;
  visibility: hidden;
  opacity: 0;
}

.language-options--visible {
  visibility: visible;
  opacity: 1;
}

.language-option p {
  color: #1c1d1d;
  cursor: pointer;
}
.language-option p:hover {
  color: #0070ba;
}

.language-option {
  width: 100%;
  height: 18px;
  display: flex;
  justify-content: center;
}

.chosen-language {
  cursor: pointer;
}

.en-language__flag {
  height: 13px;
}

.en-language__flag:hover {
  transition: box-shadow 0.3s;
  box-shadow: -5px 0px 24px 2px red, 5px 0px 24px 2px blue;
}

.language-options__list {
  padding: 10px 10px;
  width: 100%;
}

.language-options__list .language-option {
  user-select: none;
}

.styled-services-content-block {
  min-height: 230px;
  margin: 0 auto 40px;
  border-radius: 10px;
  background-color: #fff;
  padding: 0px;
  max-width: 360px;
  flex: 320px 1 1;
  -webkit-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  border-radius: 10px;
}
.styled-services-content-block:hover {
  -webkit-box-shadow: 7px 6px 23px 8px rgba(1, 94, 156, 0.09);
  box-shadow: 7px 6px 23px 8px rgba(1, 94, 156, 0.09);
  cursor: pointer;
}

.styled-services__a-link {
  height: 100%;
  padding: 40px 10px 27px 10px;
}

.flex-row {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
}

.flex-column {
  display: flex;
  justify-content: center;
  flex-flow: column wrap;
  align-items: center;
}

.styled-services-content-block .content-text {
  margin-top: 20px;
}

.info-page__subcategories-wrapper {
  display: flex;
  flex: 292px;
  justify-content: center;
}

.info-page__subcategories {
  position: relative;
}

@media (min-width: 600px) {
  #advantages-section .item-box {
    margin-right: 30px;
    margin-bottom: 0px;
  }

  .styled-services-content-block {
    margin: 0 15px 30px;
  }
}

@media only screen and (max-width: 768px) {
  /* subcategories */
  .info-page__subcategories-block {
    flex-direction: column-reverse;
    display: flex;
  }
  
  #panel_heading {
    width: 100%;
    margin: 0 auto;
  }
  /* end of subcategories */
}

@media (min-width: 800px) {
  .content-box__item--subcategories-static-description {
    margin-right: 30px;
  }

  .info-page__subcategories-wrapper {
    max-height: 600px;
    overflow-y: scroll;
    border-top: 1px solid #cdcdcd;
    border-radius: 5px;
  }

  .info-page__subcategories-wrapper::-webkit-scrollbar {
    background-color: #f7f7f7;
    width: 4px;
    height: 4px;
    margin-right: 1px;
  }

  .info-page__subcategories-wrapper::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #0070ba;
  }
}

@media (min-width: 994px) {
  .content-section h3 {
    text-align: left;
  }

  .content-section--how-we-work h3 {
    text-align: center;
  }

  .content-section:nth-child(odd) .content-box__item:first-child {
    margin-right: 60px;
  }
  .content-section:nth-child(even) .content-box__wrapper {
    flex-direction: row-reverse;
  }
  .content-section:nth-child(even) .content-box__item:first-child {
    margin-left: 60px;
  }

  #how-we-work hr {
    height: 90%;
    width: 2px;
    margin: 0 40px;
  }

  #how-we-work .item-boxs-pair {
    height: 373px;
  }

  .content-section__text {
    margin: 0 0 30px;
  }

  #advantages-section .item-box {
    margin-right: 40px;
    margin-bottom: 0px;
  }
}
