@import url('./variables.css');

/* =========================================
   BODY PROCESS TEMPLATE
   ========================================= */
body.process-template {
  background: var(--color-processbg);
  line-height: 1.6;
}

body.process-template::before {
  content: "";
  background-repeat: no-repeat;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  z-index: -1;
  background-image: url('../images/process_bg_right_top.svg');
  background-position: right top;
  background-size: 50%;
  opacity: 0.2;
}

body.process-template.one {
  background: var(--color-processbg1);
}
/*
body.process-template.one .line-divider:nth-child(odd of .line-divider)::after {
  background-image: url('../images/process1-divider-img.svg');
}

body.process-template.one .line-divider:nth-child(even of .line-divider)::after {
  background-image: url('../images/process1-divider-img2.svg');
}
*/
body.process-template.one .line-divider:nth-child(odd)::after {
  background-image: url('../images/process1-divider-img.svg');
}

body.process-template.one .line-divider:nth-child(even)::after {
  background-image: url('../images/process1-divider-img2.svg');
}

body.process-template.two {
  background: var(--color-processbg2);
}

body.process-template.three {
  background: var(--color-processbg3);
}

body.process-template.four {
  background: var(--color-processbg4);
}

body.process-template.five {
  background: var(--color-processbg5);
}

@media screen and (min-width: 1720px) {
  body.process-template.one .content-container::before {
    background-image: url('../images/process-content-left.svg');
  }
  body.process-template.one .content-container::after {
    background-image: url('../images/process-content-right.svg');
  }

  body.process-template.two .content-container::before {
    background-image: url('../images/process-2-bg-l.svg');
  }
  body.process-template.two .content-container::after {
    background-image: url('../images/process-2-bg-r.svg');
  }

  body.process-template.three .content-container::before {
    background-image: url('../images/process-3-bg-l.svg');
  }
  body.process-template.three .content-container::after {
    background-image: url('../images/process-3-bg-r.svg');
  }

  body.process-template.four .content-container::before {
    background-image: url('../images/process-4-bg-l.svg');
  }
  body.process-template.four .content-container::after {
    background-image: url('../images/process-4-bg-r.svg');
  }

  body.process-template.five .content-container::before {
    background-image: url('../images/process-5-bg-l.svg');
  }
  body.process-template.five .content-container::after {
    background-image: url('../images/process-5-bg-r.svg');
  }
}

/* =========================================
   CONTENT CONTAINER
   ========================================= */
.content-container {
  position: relative;
}

.content-container::before {
  content: "";
  background-repeat: no-repeat;
  position: fixed;
  height: 160px;
  width: 320px;
  top: 25%;
  left: -15%;
  z-index: -1;
}

@media screen and (min-width: 1720px) {
  .content-container::before {
    left: 0;
    height: 400px;
    width: 320px;
  }
}

.content-container::after {
  content: "";
  background-repeat: no-repeat;
  position: fixed;
  bottom: 0;
  z-index: -1;
  height: 210px;
  width: 80px;
  right: -4%;
}

@media screen and (min-width: 1720px) {
  .content-container::after {
    right: 0;
    height: 550px;
    width: 310px;
  }
}

/* =========================================
   PROCESS 5 SPECIFIC
   ========================================= */
.page-template.process-5 {
  --pl: 110px;
  --m-pl: 60px;
}

@media screen and (min-width: 1720px) {
  .page-template.process-5 {
    padding-top: 120px;
    padding-bottom: 0 !important;
  }
}

.page-template.process-5 .page-title-wrapper:not(.in-content-title) {
  margin-bottom: 20px;
}

.page-template.process-5 .page-title-wrapper:not(.in-content-title)::after {
  content: unset;
  width: 400px;
  height: 350px;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0%, -40%);
}

@media screen and (min-width: 1720px) {
  .page-template.process-5 .page-title-wrapper:not(.in-content-title)::after {
    content: "";
  }
  .page-template.process-5 .page-title-wrapper.one:not(.in-content-title)::after {
    background-image: url('../images/process-1-header-img.png');
  }
  .page-template.process-5 .page-title-wrapper.two:not(.in-content-title)::after {
    background-image: url('../images/process-2-header-img.png');
  }
  .page-template.process-5 .page-title-wrapper.three:not(.in-content-title)::after {
    background-image: url('../images/process-3-header-img.png');
  }
  .page-template.process-5 .page-title-wrapper.four:not(.in-content-title)::after {
    background-image: url('../images/process-4-header-img.png');
  }
  .page-template.process-5 .page-title-wrapper.five:not(.in-content-title)::after {
    background-image: url('../images/process-5-header-img.png');
  }
}

.page-template.process-5 .page-title-wrapper:not(.in-content-title) img {
  height: 150px;
}

@media screen and (min-width: 1720px) {
  .page-template.process-5 .page-title-wrapper:not(.in-content-title) img {
    height: 170px;
  }
}

/* =========================================
   PAGE TEMPLATE CONTENT INNER
   ========================================= */
.page-template-content-inner {
  padding-bottom: 80px;
  max-width: 100%;
  background: transparent;
}

@media screen and (min-width: 1720px) {
  .page-template-content-inner {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.page-template-content-inner h2 {
  line-height: 1.2;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 30px;
}

@media screen and (min-width: 1720px) {
  .page-template-content-inner h2 {
    font-size: 1.75rem;
  }
}

.page-template-content-inner h3 {
  line-height: 1.2;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 30px;
}

@media screen and (min-width: 1720px) {
  .page-template-content-inner h3 {
    font-size: 1.75rem;
  }
}

.page-template-content-inner p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.875rem;
}

.page-template-content-inner ul {
  line-height: 1.8;
}

.page-template-content-inner .line-divider {
  width: 100%;
  height: 1px;
  border-top: 1px solid #f06523;
  margin: 50px 0;
  position: relative;
}

.page-template-content-inner .line-divider::after {
  content: "";
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 60px;
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

@media screen and (min-width: 1720px) {
  .page-template-content-inner .line-divider::after {
    content: unset;
  }
}

.page-template-content-inner b {
  display: block;
  width: 100%;
}

/* Process Colors */
.page-template-content-inner.one h2,
.page-template-content-inner.one h3 {
  color: var(--color-process1);
}
.page-template-content-inner.one .line-divider {
  border-color: var(--color-process1);
}

.page-template-content-inner.two h2,
.page-template-content-inner.two h3 {
  color: var(--color-process2);
}
.page-template-content-inner.two .line-divider {
  border-color: var(--color-process2);
}

.page-template-content-inner.three h2,
.page-template-content-inner.three h3 {
  color: var(--color-process3);
}
.page-template-content-inner.three .line-divider {
  border-color: var(--color-process3);
}

.page-template-content-inner.four h2,
.page-template-content-inner.four h3 {
  color: var(--color-process4);
}
.page-template-content-inner.four .line-divider {
  border-color: var(--color-process4);
}

.page-template-content-inner.five h2,
.page-template-content-inner.five h3 {
  color: var(--color-process5);
}
.page-template-content-inner.five .line-divider {
  border-color: var(--color-process5);
}

/* =========================================
   FLEX BOX 5-5
   ========================================= */
.flex-box-5-5 {
  display: flex;
  gap: 30px;
  margin-bottom: 1rem;
  flex-direction: column;
  align-items: center;
}

.flex-box-5-5 .item {
  width: 100%;
}

.flex-box-6-4 {
  display: flex;
  gap: 30px;
  margin-bottom: 1rem;
  flex-direction: column;
  align-items: center;
}

.flex-box-6-4 .item {
  width: 100%;
}

@media screen and (min-width: 1720px) {
  .flex-box-5-5 {
    flex-direction: row;
    align-items: flex-start;
  }

  .flex-box-5-5 .item {
    width: 50%;
  }
    
  .flex-box-6-4 {
    flex-direction: row;
    align-items: flex-start;
  }

  .flex-box-6-4 .item {
    width: 60%;
  } 
    
  .flex-box-6-4 .item2 {
    width: 40%;
  }     
}