/**** HEADER */

@media only screen and (min-width: 2000px) {
  .page-homepage .main-hero h1 {
    font-size: 5.5em;
    margin-top: .5em;
  }
  .page-homepage .main-hero .wrap-mnts > div {
    max-width: initial;
    height: 82%;
  }
}

@media only screen and (min-width: 1600px) {
  .page-homepage .main-hero .wrap {
    padding-top: 4em;
  }
  .page-homepage h1 {
    font-size: 4.5em;
  }
  .page-homepage .main-hero .wrap-mnts > div {
    max-width: initial;
    height: 92%;
  }
  .page-homepage .main-hero .wrap-mnts > div > svg {
    height: 100%;
    width: auto;
  }
}

@media only screen and (max-width: 1415px) {
  h1 {
    font-size: 3.3em;
  }
  .wrap-mnts {
    /*border: 1px solid;*/
    /*height: 75% !important;*/
  }
}

@media only screen and (max-width: 1280px) {
  .page-homepage h1 {
    font-size: 3.4em;
  }
  .page-homepage .main-hero {
    height: 85vh;
  }
  .page-homepage .main-hero .wrap-mnts > div {
    max-width: 74%;
  }

}

@media only screen and (max-width: 1280px) and (min-height: 800px) {
  .page-homepage .main-hero .wrap-mnts > div {
    max-width: 90%;
  }  
  .page-homepage .main-hero {
    height: 70vh;
  }
}


@media only screen and (max-width: 1100px) {
  .page-homepage .main-hero h1 {
    font-size: 2.9em ;
    width: 100%;
  }
  .page-homepage main h2 {
    font-size: 2em;
  }
  .banner .banner-inner h3 {
    font-size: 140%;
  }
  .publications-home .container h3 {
    font-size: 2em;
  }
  .btn {
    padding: 10px 14px;
  }
  header .logo,
  footer .logo {
    width: 170px;
    height: 34px;
  }
}

/* HEADER ****/

@media only screen and (max-width: 1140px) {
  /*.why-solead,
  .publications-home,*/
  .join-solead {
    flex-direction: column;
  }
  .join-solead .container {
    width: 100%;
  }
  .join-solead .container:nth-child(2) a {
    padding: 0 2em;
  }
}


@media only screen and (min-width: 1700px) {
  body .banner.get-brochure {
    margin-top: 16em;
  }
  .banner.get-brochure img {
    height: 150%;
  }
  .page-homepage .get-brochure .banner-content {
    padding-left: 5em; /* check after real image */
  }

}

@media only screen and (max-width: 1100px) and (min-width: 967px) {
    input[id='expand_view_AT']:checked ~ .person-dmytro .article-intro,
    input[id='expand_view_DP']:checked ~ .person-anna .article-intro {
    column-gap: 0;
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-height: 850px) {
 .page-homepage .main-hero .wrap {
    padding-top: 2.5em;
  }
}

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

  .page-homepage .main-hero {
    height: 60vh;
  }

  .page-homepage .main-hero .wrap {
    padding-top: 3em;
  }

  main .section-wrap,
  section .solead-team,
  section .solead-leadership {
    margin-top: 1em;
    margin-bottom: 1em;
    flex-direction: column;
  }
  .page-homepage .main-hero .wrap {
    padding-top: 3em;
  }

  section .solead-team > div,
  section .solead-leadership > div {
    flex-direction: column;
  }

  .page-homepage .section-wrap {
    padding-top: 2em;
  }

  .page-article .section-wrap {
    margin-top: 0;
  }

  .page-article main {
    padding-top: 1em;
  }

  div .content {
    border-width: 6px;
    padding: 1.2em;
  }

  div .publications-list .content {
    padding: 1.2em 1.2em 3em 1.2em;
  }

  .page-services .section-wrap {
    flex-direction: column !important;
    margin-top: 0;
    margin-bottom: 1em;
  }

  main .section-wrap > div,
  .solead-team .container,
  .solead-leadership .container {
    width: 100%;
  }

  main .gallery-wrap {
    column-count: 3;
  }

  .page-services .content,
  .page-about .content {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 6px solid var(--blue);
  }

  .page-services main .img {
    min-height: 8em;
    filter: none;
  }

  .page-services .img .icn-wrap {
    margin-bottom: 0;
  }

  .page-services main .img h2 {
    padding-top: 0;
  }

  .page-services main .img h2 span {
    left: auto;
    top: auto;
  }

  .page-services main .content {
    border-color: var(--blue);
  }

  .page-about .abt.img {
    height: 30vh;
  }


  body h1,
  body.page-article h1 {
    font-size: 2em;
    line-height: 1.3;
  }

  body h1 + p {
    font-size: 110%;
    font-weight: normal;
    line-height: normal;
    margin-bottom: 1em;
    width: 100%;
  }

  body h2,
  .page-homepage h2,
  .publications-home .container h3 {
    font-size: 1.4em;
  }

  .publications-home .read-time {
    font-size: 78%;
  }

  .page-homepage h2 + p {
    padding: 0;
    margin: 0 0 1em 0;
    font-size: 110%;
  }

  h3 {
    /*font-size: 1em;
    font-weight: 700;*/
  }

  h4 {
    font-size: 1em;
    font-weight: 500;
  }

  .main-hero h1 {
    font-weight: lighter;
    margin-top: 0;
    width: 100%;
  }
  .banner.mission {
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .banner.mission .banner-inner {
    display: inline-block;
  }

  .banner.mission .banner-inner h2,
  .banner.mission .banner-inner h3 {
    width: 100%;
  }

  .banner.mission .banner-inner h3,
  .banner.get-brochure .banner-inner h3 {
    font-size: 120%;
  }

  .banner.get-brochure .banner-img {
    display: none;
  }
  
  body .banner.get-brochure {
    background: none;
    box-shadow: none;
    color: var(--black);
    font-weight: 600;
    padding: 0;
    margin-top: 0;
  }

  .banner.get-brochure .banner-inner {
    background-color: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--black);
    text-align: center;
    align-items: center;
    padding: 1em 0;
  }
  .banner.get-brochure .banner-content {    
    flex-direction: column;
    align-items: center;
    padding: 1em 0;
    width: 100%;
  }
  .get-brochure .banner-inner h3 {
    font-weight: 600;
    width: 90%;
  }

  .why-solead,
  .publications-home,
  .join-solead {
    flex-direction: column;
  }
  
  .why-solead > .container,
  .publications-home .container,
  .join-solead .container {
    width: 100%;
  }

  div .publications-list {
    display: block;
  }

  div .publications-list dt {
    margin-bottom: 1em;
  }

  div .publications-list dt label {
    font-size: 110%;
  }

  div .publications-list dt label:after {
    background-size: 57%;
    top: .4em;
  }

  .publications-list .pubs-counter {
    left: 25%;
    top: 6px;
  }

  .publications-list .article-intro {
    grid-template-columns: 1fr;
  }

  .page-library .publications-list .article-img {
    height: 140px;
    overflow: hidden;
  }

  .publications-list .article-img img {
    height: auto;
    min-height: 100%;
    margin-top: -20%;
    width: 130%;
  }
}

/* PAGES */


@media only screen and (min-width: 967px) and (max-width:1200px) {
  .tech-list li span {font-size: 100%}
}

@media only screen and (max-width: 967px) {
  .page-technologies .section-wrap {
    /*flex-direction: column;
    margin-bottom: 1em;*/
  }

  .tech-list dl,
  .clients-list dl {
    margin-top: 2em;
  }

  .clients-list dl ul {
    /*grid-template-columns: 1fr;*/
  }

  .clients-list li span {
    padding-top: .5em;
  }

  .tech-list label {
    font-size: 90%;
  }

  .tech-list label .btn-arrow {
    height: 24px;
    width: 24px;
  }

  .page-clients .banner.get-brochure {
    margin-top: 1em;
    margin-bottom: 1em;
  }

   main .step-item {
    margin-top: -50px;
  }

  .step-item .icn {
    border-width: 5px;
    width: 49px;
    height: 49px;
  }

  main .process-steps .icn-wrap {
    position: absolute;
    left: calc(50% - 24px);
    top: calc(50% - 25px);
  }

  .step-item .content p:last-of-type {
    margin-bottom: revert-layer;
  }

  .process-steps .container:before,
  .process-steps .container:after {
    /*zoom: 64%;*/
  }

  body .popup-cookies {
    bottom: 1em;
    left: 8%;
    right: 8%;
    padding: 2em;
  }
}

@media only screen and (max-width: 640px) {
  main .gallery-wrap {
    column-count: 2;
  }
  .page-homepage .main-hero {
    height: auto;
    min-height: 400px;
  }
  .page-homepage .main-hero h1 {
    font-size: 2.2em;
  }
  .page-homepage .main-hero .wrap-mnts > div {
    max-width: 100%;
  }
  .tech-list li .icn,
  .clients-list li .icn,
  .we-offer-services .icn {
    border-width: 5px;
    height: 48px;
    width: 48px;
  }

  section .join-solead {
    margin-bottom: 1em;
  }

  .tech-list li span {
    /*font-size: 100%;*/
    line-height: 1.4;
  }

  .publications-list .pubs-counter {
    font-size: 90%;
    left: 35%;
    top: 6px;
  }

  .solead-leadership .container .article-intro {
    grid-template-columns: 1fr !important;
  }

  .solead-leadership .article-title {
    padding-top: 1em;
  }

  .solead-leadership [class*='person-'] .article-img span {
    right: 0;
    bottom: -2.5em;
  }

  main .process-steps .step-item .container:before,
  main .process-steps .step-item .container:after {
    right: auto;
    left: -16px !important;
    transform: rotate(180deg);
  }

  .process-steps .step-item .container:after {
    margin-right: none;
    margin-left: -1px;
  }

  .process-steps .step-item {
    flex-direction: row-reverse;
  }

  .process-steps .p-line {
    height: 100%;
    left: 25px;
  }

  main .process-steps .container {
    flex-basis: 80%;
  }

  main .process-steps .icn-wrap {
    left: 0;
  }

  main .step-item {
    margin-top: 1em;
  }

  main .process-steps .container:before {
     border-width: 10px 0 10px 17px;
     border-color: transparent transparent transparent white;
  }

  main .process-steps .container:after {
     border-width: 10px 0 10px 17px;
     border-color: transparent transparent transparent rgba(112, 112, 112, .2);
  }

}







