/*
Hompage Specific Styling.
*/
/*
Global Variables

@import this file at the top of each page
template file to make variables available.
*/
/*
Mixins

Add mixins to any css page using @include

e.g.
.element{
	@include transition( background .2s ease-out )
}
*/
#page .home-banner {
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  height: 420px;
  @media screen and (max-width: 1024px){
    margin-bottom: 30px;
  }
  @media screen and (max-width: 800px){
    height: initial;
    margin-bottom: 10px;
  }
  .site-title-block{
    padding: 25px 30px 35px 30px;
    background: #054B79;
    color: white;
    backdrop-filter: initial;
    border-left: initial;
    border-right: initial;
    border-bottom: initial;
    position: absolute;
    width: 100%;
    height: 100%;
    border: initial;
    border-radius: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    @media screen and (max-width: 1024px){
      margin: initial;
    }
    @media screen and (max-width: 800px){
      margin: initial;
      padding: 13.5% 5% 13% 5%;
      position: initial;
    }
    .background-image{
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      opacity: 0.15;
    }
    .banner-text-wrap{
      padding: initial;
      padding-bottom: 54px;
      text-align: center;
      @media screen and (max-width: 1024px){
        padding-bottom: 0px;
      }
      &>*:first-child{
        font-size: 2.1rem;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
      }
      p{
          font-size: 2.4rem;
      }
    }
    .pronounciation{
      font-size: 1.8rem;
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: 10px;
      a{
        outline-color: white;
      }
      svg{
        display: block;
      }
    }
    .primary-heading{
      font-size: 7rem;
      /* font-family: var(--rainbow-font); */
      margin: 0px;
      margin-bottom: 3px;
      margin-top: 8px;
      /* color: var(--colour_raspberry); */
      color: white;
      @media screen and (max-width: 800px){
        margin: 16px 0px;
        line-height: 1.3;
      }
    }
  }
}
#page .home-banner .banner-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(34, 87, 122, 0.55);
  z-index: 2;
}
#page .home-banner .banner-text-wrap {
  position: relative;
  z-index: 3;
  font-size: 2.7rem;
  padding: 5% 5% calc(5% + 80px) 5%;
}
@media screen and (max-width: 1500px) {
  #page .home-banner .banner-text-wrap {
    font-size: 2.0rem;
  }
}
@media screen and (max-width: 1024px) {
  #page .home-banner .banner-text-wrap {
    font-size: 1.8rem;
    padding: 6% 5%;
  }
}
#page .home-banner p {
  margin-bottom: 0px;
}
#page .home-banner p:first-child {
  font-size: 4.2rem;
}
@media screen and (max-width: 1024px) {
  #page .home-banner p:first-child {
    font-size: 3.0rem;
  }
}
#page .home-banner .primary-heading {
  font-size: 7.0rem;
  /* font-family: "Over the Rainbow", cursive; */
  margin: 0px 0px 15px 0px;
  color: #fff;
}
@media screen and (max-width: 1500px) {
  #page .home-banner .primary-heading {
    font-size: 6.0rem;
  }
}
@media screen and (max-width: 1280px) {
  #page .home-banner .primary-heading {
    font-size: 5.5rem;
  }
}
@media screen and (max-width: 1024px) {
  #page .home-banner .primary-heading {
    font-size: 5.0rem;
    margin: 0 0 10px 0;
  }
}
@media screen and (max-width: 600px) {
  #page .home-banner .primary-heading {
    font-size: 4.0rem;
  }
}

.home-content {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 9% 2% 9%;
  position: relative;
  margin-top: -70px;
  z-index: 3;
  padding-bottom: 55px;
}
@media screen and (max-width: 1500px) {
  .home-content {
    padding: 0px 5% 2% 5%;
  }
}
@media screen and (max-width: 1024px) {
  .home-content {
    flex-direction: column;
    padding: 0px;
    margin-top: 0px;
  }
}
.home-content .home-left {
  width: 68%;
}
@media screen and (max-width: 1024px) {
  .home-content .home-left {
    width: 100%;
  }
}
.home-content .home-left .announcement-block {
  width: 100%;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  -moz-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
  -webkit-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
  &.noimage{
    .announcement-text{
      width: 100%;
    }
  }
}
@media screen and (max-width: 1024px) {
  .home-content .home-left .announcement-block {
    margin: 0px 30px 0px 30px;
    width: initial;
  }
}
@media screen and (max-width: 800px) {
  .home-content .home-left .announcement-block {
    margin: 0px 10px 0px 10px;
    width: initial;
  }
}
.home-content .home-left .announcement-block:before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  left: 0px;
  height: 8px;
  background: var(--colour_orange);
}
.home-content .home-left .announcement-block .announcement-img {
  width: 30%;
  min-height: 290px;
  align-self: stretch;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 750px) {
  .home-content .home-left .announcement-block .announcement-img {
    display: none;
  }
}
.home-content .home-left .announcement-block .announcement-text {
  width: 70%;
  padding: 6% 5% 5% 5%;
}
@media screen and (max-width: 750px) {
  .home-content .home-left .announcement-block .announcement-text {
    width: 100%;
    padding: 7.5% 5% 5% 5%;
  }
}
.home-content .home-left .announcement-block .announcement-text .custom-link a {
  color: var(--colour_orange);
}
.home-content .home-left .announcement-block .announcement-text .custom-link a:after {
  background-image: url("/wp-content/themes/qathet/images/shell/orange-arrow.svg");
}
.services-list {
  width: 100%;
  padding: 4% 2.5%;
  padding-bottom: 0px;
}
@media screen and (max-width: 1024px) {
.services-list {
    padding: 4% 2.5% 0 2.5%;
    width: 100%;
  }
}
@media screen and (max-width: 800px) {
.services-list {
    padding: 20px 13px 0px 13px;
  }
}
.services-list .services {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: initial;
  margin: initial;
  list-style: none;
  row-gap: 20px;
}
.services-list .services .service {
  width: 25%;
  padding: 1.5%;
}
@media screen and (max-width: 1400px) {
  .services-list .services .service {
    width: 33.3333%;
  }
}
@media screen and (max-width: 750px) {
  .services-list .services .service {
    width: 50%;
    margin-bottom: 15px;
  }
}
.services-list .services .service .service-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.6rem;
  color: #615F61;
  line-height: 1.4;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.services-list .services .service .service-wrap.red:hover {
  color: var(--colour_maroon);
}
.services-list .services .service .service-wrap.blue:hover {
  color: var(--colour_cyan);
}
.services-list .services .service .service-wrap.orange:hover {
  color: var(--colour_orange);
}
.services-list .services .service .service-wrap.green:hover {
  color: var(--colour_green);
}
.services-list .services .service .service-wrap:hover {
  color: red;
}
@media screen and (max-width: 450px) {
  .services-list .services .service .service-wrap {
    font-size: 1.4rem;
  }
}
.services-list .services .service .service-wrap .service-icon {
  width: 43px;
  height: 43px;
  margin-right: 20px;
  border-radius: 50%;
  background: var(--colour_raspberry);
  position: relative;
  flex: 0 0 43px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
@media screen and (max-width: 450px) {
  .services-list .services .service .service-wrap .service-icon {
    margin-right: 10px;
  }
}
.services-list .services .service .service-wrap .service-icon.red {
  background: var(--colour_maroon);
}
.services-list .services .service .service-wrap .service-icon.orange {
  background: var(--colour_orange);
}
.services-list .services .service .service-wrap .service-icon.green {
  background: var(--colour_green);
}
.services-list .services .service .service-wrap .service-icon.blue {
  background: var(--colour_cyan);
}
.services-list .services .service .service-wrap .service-icon.darkblue {
  background: var(--colour_blue);
}
.services-list .services .service .service-wrap .service-icon svg {
  width: 25px;
  max-height: 23px;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
}
.home-content .home-right {
  width: 30%;
  position: relative;
  -moz-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
  -webkit-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
  align-self: stretch;
  @media screen and (max-width: 1024px){
    box-shadow: initial;
  }
  ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
    @media screen and (max-width: 800px){
      display: none;
    }
    &.mobile{
      display: none;
      @media screen and (max-width: 800px){
        display: block;
      }
    }
  }
  .blockborder-wrap{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    padding: 34px 17px 34px 34px;
    display: flex;
    flex-direction: column;
    @media screen and (max-width: 1024px){
      position: initial;
      -moz-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
      -webkit-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
      box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.06);
    }
    @media screen and (max-width: 800px){
      padding: 7.5% 5% 5% 5%;
    }
    /* ===== Scrollbar CSS ===== */
    /* Firefox */
    * {
      scrollbar-width: auto;
      scrollbar-color: #33780a #C2D7B6;
    }

    /* Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
      width: 15px;
      border-radius: 5px;
    }

    *::-webkit-scrollbar-track {
      background: #C2D7B6;
      border-radius: 5px;
    }

    *::-webkit-scrollbar-thumb {
      background-color: #33780a;
      border-radius: 5px;
      border: 5px solid #C2D7B6;
    }
    .news-list{
      overflow: scroll;
      overflow-x: hidden;
      padding-right: 17px;
      padding-bottom: 50px;
      @media screen and (max-width: 1024px){
        padding-bottom: 0px;
      }
    }
    .all-link{
      text-align: center;
      border-top: 1px solid var(--colour_green);
      margin-bottom: 0px;
      padding-top: 26px;
      position: relative;
      &:after{
        content: "";
        position: absolute;
        top: -2px;
        width: calc(100% - 17px);
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
        left: 0;
        transform: translateY(-100%);
        height: 100px;
        pointer-events: none;
        @media screen and (max-width: 1024px){
          display: none;
        }
      }
    }
  }
}
@media screen and (max-width: 1024px) {
  .home-content .home-right {
    width: 100%;
    padding: 0;
    margin: 30px 30px 30px 30px;
    width: initial;
  }
}
@media screen and (max-width: 800px) {
  .home-content .home-right {
    width: 100%;
    padding: 0;
    margin: 10px 10px 10px 10px;
    width: initial;
  }
}
.home-content .home-right:after {
  display: none;
}
.home-content .home-right .primary-heading {
  margin-top: 0px;
}
.home-content .home-right .custom-link {
  margin-bottom: 20px;
}
.home-content .home-right .custom-link a {
  color: var(--colour_green);
}
.home-content .home-right .custom-link a:hover {
  text-decoration: underline;
}
.home-content .home-right .custom-link a:after {
  background-image: url("/wp-content/themes/qathet/images/shell/green-arrow.svg");
}
@media screen and (max-width: 1024px) {
  .home-content .home-right .news-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .home-content .home-right .news-list .custom-link {
    width: 100%;
  }
}
.services-list.mobile{
  display: none;
}
@media screen and (max-width: 1024px) {
  .home-content .home-right .news-list .news-item {
    width: initial;
    margin-bottom: 0px;
  }
  .home-content .home-right .news-list .news-item:nth-child(3) {
    display: none;
  }
  .services-list{
    display: none;
    &.mobile{
      display: block;
      padding-bottom: 0px;
    }
  }
}

/*# sourceMappingURL=home.css.map */
