/*
first image and text
paragraphs after initial image
services subsections
responsive content
*/



/* first image and text START -------------------------------------------------------*/

.services-image {
  text-align: center;
  vertical-align: middle;
  color:#FFF;
  width: 100%;
  height: 230px;
  background-size: cover;
  background-image: url("/images/services-photos/library.jpg")/*url("https://images.pexels.com/photos/944636/pexels-photo-944636.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");*/
}

.services-image-text {
  position: relative;
  top: 50%;
  left: 50%;
  font-family: 'Roboto Slab', serif;
  /*left: 50%;*/
  width: 400px;
  transform: translate(-50%, -50%);
}

/* first image and text END -------------------------------------------------------*/

.services-main {
  margin-right: auto;
  margin-left: auto;
  padding-top: 50px;
  width: 1100px;
  text-align: left;
  padding-bottom: 80px;
}

  /* paragraphs after initial image START -------------------------------------------------------*/
  .s-intro-text {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-bold-text {
    font: 20px 'Sarabun', sans-serif;
  }

  .s-intro-text2 {
    text-align: center;
  }

  /* paragraphs after initial image END -------------------------------------------------------*/

  /* services subsections START -------------------------------------------------------*/

  .services-section-header {
    margin: 0;
    font-family: 'Roboto Slab', serif;
    width: 100%;
    text-align: left;
  }

  .services-section-subheader {
    font-family: 'Roboto Slab', serif;
  }

  .services-section-image {
    width: 300px;
    margin-top: 30px;
  }

  .s-image-training {
    width: 300px;
    margin-top: 90px;
  }

  .services-image-strategy {
    width: 300px;
    margin-top: 10px;
  }

  .services-section-image2 {
    margin-top: 40px;
    width: 300px;
  }

  .services-list {
    line-height: 20px;
  }

  /* services subsections flex grid START -------------------------------------------------------*/

  .s-block {
    justify-content: flex-start;
    display: flex;
  }


  .s-text-block {
    width: 800px;
  }

  .s-text-block2 {
    width: 700px;
  }

  .s-block-column {
    border-radius: 5px;
    padding: 20px;
    flex-basis: 200px;
    flex-grow: 0;
    flex-shrink: 0;
    text-align: left;
  }

    /* services subsections flex grid END -------------------------------------------------------*/

    /* services subsections END -------------------------------------------------------*/

  .double_separator {
      height: 12px;
      border-top: 2px solid #e2e2e2;
      border-bottom: 2px solid #e2e2e2;
      width: 100%;
      margin-top: 30px;
      margin-bottom: 30px!important;
  }

@media screen and (max-width: 768px) {
  .services-section-image {
    margin-right: auto;
    margin-left: auto;
    display: block;
  }

  .services-image-strategy {
    margin-right: auto;
    margin-left: auto;
    display: block;
  }

  .s-image-training {
    margin-right: auto;
    margin-left: auto;
    display: block;
    margin-top: 10px;
  }

  .services-image-text {
    width: auto;
  }

  .services-main {
    text-align: center;
    width: 100%;
  }



  p {
    text-align: center;
  }

  .services-section-subheader {
    text-align: center;
  }

  .services-section-header {
    text-align: center;
  }

  .services-section-image2 {
    margin-right: auto;
    margin-left: auto;
    display: block;
  }

  .s-intro-text {
    width: 80%;
    margin: 10% 10%;
  }

  .s-text-block {
    width: 80%;
    margin: 10% 10%;
  }

  .s-text-block2 {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 0;
  }

  .s-block {
    display: block;
  }
}
