/********************************* COLORS ***********/
/********************************* MIXINS ***********/
/*******************main*******************/
body {
  position: relative;
  font-size: 20px;
  font-family: 'Work Sans', sans-serif;
  background: #f2f2f2;
  font-weight: 300;
  color: #636967;
}

ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

.clear {
  clear: both;
  float: none;
}

.vertical_align {
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.horizontal_align {
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

/**************************** pages colors **********************/
body#method_page header {
  background: #B4D51D;
  background-image: url("../assets/leafs_bg_green_small.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body#method_page header .logo_header svg path {
  fill: #EFFFA3;
}

body#method_page header .logo_header p {
  color: #EFFFA3;
}

body#method_page header .small_logo_header svg path {
  fill: #f8f8f8;
}

body#method_page header .small_logo_header p {
  color: #f8f8f8;
}

body#method_page header nav ul li {
  color: #EFFFA3;
}

body#method_page header nav ul li.active_page {
  color: #f8f8f8;
}

body#method_page header nav ul li:hover {
  color: #f8f8f8 !important;
}

body#method_page header nav:hover ul li {
  color: #EFFFA3;
}

body#method_page #side_nav_cont ul li {
  color: #7b9214;
}

body#method_page #side_nav_cont ul li:hover {
  color: #a1bf1a;
}

body#method_page #side_nav_cont ul .highlight_link {
  background: rgba(180, 213, 29, 0.25);
}

body#about_us_page header {
  background: #5387A3;
  background-image: url("../assets/leafs_bg_blue_small.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body#about_us_page header .logo_header svg path {
  fill: #B4D51D;
}

body#about_us_page header .logo_header p {
  color: #B4D51D;
}

body#about_us_page header .small_logo_header svg path {
  fill: #B4D51D;
}

body#about_us_page header .small_logo_header p {
  color: #B4D51D;
}

body#about_us_page header nav ul li {
  color: #B4D51D;
}

body#about_us_page header nav ul li.active_page {
  color: #DFFF44;
}

body#about_us_page header nav ul li:hover {
  color: #DFFF44 !important;
}

body#about_us_page header nav:hover ul li {
  color: #B4D51D;
}

body#testimonial header {
  background: #BD9C11;
  background-image: url("../assets/leafs_bg_yellower_small.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body#testimonial header .logo_header svg path {
  fill: #2C607A;
}

body#testimonial header .logo_header p {
  color: #2C607A;
}

body#testimonial header .small_logo_header svg path {
  fill: #2C607A;
}

body#testimonial header .small_logo_header p {
  color: #2C607A;
}

body#testimonial header nav ul li {
  color: #5387A3;
}

body#testimonial header nav ul li.active_page {
  color: #314f5f;
}

body#testimonial header nav ul li:hover {
  color: #314f5f !important;
}

body#testimonial header nav:hover ul li {
  color: #5387A3;
}

body#testimonial #side_nav_cont ul li {
  color: #8e750d;
}

body#testimonial #side_nav_cont ul li:hover {
  color: #BD9C11;
}

body#testimonial #side_nav_cont ul .highlight_link {
  background: rgba(189, 156, 17, 0.25);
}

body#ashires_pol header {
  background: #B4D51D;
  background-image: url("../assets/leafs_bg_green_small.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body#ashires_pol header .logo_header svg path {
  fill: #EFFFA3;
}

body#ashires_pol header .logo_header p {
  color: #EFFFA3;
}

body#ashires_pol header .small_logo_header svg path {
  fill: #f8f8f8;
}

body#ashires_pol header .small_logo_header p {
  color: #f8f8f8;
}

body#ashires_pol header nav ul li {
  color: #EFFFA3;
}

body#ashires_pol header nav ul li.active_page {
  color: #f8f8f8;
}

body#ashires_pol header nav ul li:hover {
  color: #f8f8f8 !important;
}

body#ashires_pol header nav:hover ul li {
  color: #EFFFA3;
}

/************************** header_hidden ********/
#overlay {
  display: none;
  position: fixed;
  z-index: 50;
  width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, 0.95);
}

#overlay #overlay_certs_cont {
  opacity: 0;
  position: relative;
  height: 90%;
  transition: opacity .3s ease-out;
}

#overlay #overlay_certs_cont img {
  margin: 0px auto;
  width: auto;
  max-width: 100%;
  display: block;
  height: 100%;
}

#overlay #overlay_certs_cont #overlay_bttns_cont {
  width: 468.36px;
  position: absolute;
  height: 100%;
  top: 0px;
  cursor: pointer;
}

#overlay #overlay_certs_cont #overlay_bttns_cont .close_bttn_cont {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  top: 0px;
  right: 0px;
  background: rgba(99, 105, 103, 0.85);
}

#overlay #overlay_certs_cont #overlay_bttns_cont .close_bttn_cont div {
  position: absolute;
  width: 30px;
  height: 2px;
  background: #DCDCDC;
}

#overlay #overlay_certs_cont #overlay_bttns_cont .close_bttn_cont div:first-of-type {
  top: 19px;
  left: 5px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

#overlay #overlay_certs_cont #overlay_bttns_cont .close_bttn_cont div:last-of-type {
  top: 19px;
  left: 5px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

#overlay.overlay_visible #overlay_certs_cont {
  opacity: 1;
}

header.header_hidden {
  position: fixed;
  width: 100%;
  background-image: none !important;
  height: 62px;
  box-shadow: 0px 0px 4px #636967;
}

header.header_hidden .header_shadow {
  display: none;
}

header.header_hidden .logo_header {
  opacity: 0;
}

header.header_hidden .small_logo_header {
  opacity: 1;
}

header.header_hidden nav ul li {
  padding-bottom: 20px;
}

/*********************** STYLE **************/
header {
  position: absolute;
  z-index: 3;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 300px;
  box-shadow: 0px 0px 0px #636967;
}

header .header_shadow {
  overflow: hidden;
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 100%;
}

header .header_shadow div {
  left: -5%;
  width: 110%;
  height: 100%;
  box-shadow: 0px 0px 3px #636967 inset;
}

header .logo_header {
  position: relative;
  margin-left: 5%;
}

header .logo_header svg {
  margin-left: 3px;
  display: block;
  width: 180px;
  height: 98px;
  transition: all .3s ease-in;
}

header .logo_header p {
  margin: 30px 0px 0px;
  font-size: 1.5em;
  transition: all .2s ease-in;
}

header .small_logo_header {
  opacity: 0;
  position: absolute;
  bottom: 0px;
  width: 200px;
  padding: 3px 0px;
  margin-left: 5%;
  transition: opacity .1s ease-in;
}

header .small_logo_header svg {
  display: block;
  margin-left: 14px;
  width: 70px;
  height: 38.0667px;
  margin-bottom: 2px;
}

header .small_logo_header p {
  margin: 0px;
  font-size: 0.6em;
  letter-spacing: 2px;
}

header nav {
  position: absolute;
  bottom: 0px;
  right: 5%;
}

header nav ul {
  margin: 0px;
  padding: 0px;
}

header nav ul li {
  float: left;
  padding: 0px 12px 25px;
  font-size: 1em;
}

header nav ul a:last-of-type li {
  padding-right: 0px;
}

header nav ul li.active_page {
  font-weight: 400;
}

#side_nav_cont {
  position: absolute;
  z-index: 10;
  left: 0px;
  top: 400px;
  width: 200px;
  padding: 2px 20px 0px 1%;
}

#side_nav_cont ul li {
  margin: 0px 0px 12px 0px;
  padding: 0px 7px 0px 0px;
  font-size: 1em;
  font-weight: 300;
  text-align: right;
  cursor: pointer;
  background: transparent;
  transition: background .5s ease-out;
}

#side_nav_cont ul li:last-of-type {
  margin-bottom: 0px;
}

#side_nav_cont .side_nav_svg {
  display: none;
}

#side_nav_cont.header_hidden {
  position: fixed;
  top: 100px;
}

article {
  position: relative;
  width: 70%;
  padding: 400px 5% 0px 25%;
}

article section {
  text-align: left;
  padding-bottom: 120px;
}

article section h1 {
  font-size: 2.5em;
  margin: 0px 0px 10px;
  font-weight: 200;
}

article section p {
  margin: 0px;
  line-height: 1.8;
}

article section ul {
  margin: 5px 0px;
  padding: 0px;
}

article section ul li {
  line-height: 1.7;
}

#method_page section h1 {
  color: #8ea817;
  text-align: right;
  margin-bottom: 40px;
}

#method_page section p span.italic {
  font-size: 0.90em;
}

#method_page section p span.red {
  color: #C76967;
}

#method_page section img {
  display: block;
  width: 100%;
  margin: 40px auto 0px;
  box-shadow: 0px 2px 3px rgba(100, 100, 100, 0.7);
}

#method_page section #certs_cont {
  width: 100%;
}

#method_page section #certs_cont .each_cert_cont {
  float: left;
  width: 31%;
  padding: 0px 1%;
}

#method_page section #certs_cont .each_cert_cont img {
  margin: 30px 0px 0px;
  cursor: pointer;
}

#method_page section ul {
  position: relative;
  left: 20px;
  width: 90%;
  list-style-type: disc;
}

#about_us_page aside {
  position: absolute;
  left: 5%;
}

#about_us_page aside div {
  overflow: hidden;
  border-radius: 50%;
}

#about_us_page aside div img {
  width: 225px;
  height: 225px;
  display: block;
}

#about_us_page section h1 {
  color: #5387A3;
}

#about_us_page section p span {
  font-style: italic;
}

#about_us_page section p:last-of-type {
  text-align: right;
  margin-top: 50px;
  font-size: 1.1em;
}

#testimonial h1 {
  font-size: 2.5em;
  font-weight: 300;
  margin: 0px 0px 100px;
  color: #4a7992;
  text-align: right;
}

#testimonial section h2 {
  margin: 0px 0px 60px;
  font-size: 2em;
  color: #4a7992;
  font-weight: 200;
  padding-bottom: 20px;
  border-bottom: 1px solid #4a7992;
}

#testimonial section .testim_cont {
  margin-bottom: 80px;
}

#testimonial section .testim_cont h3 {
  text-align: right;
  font-size: 1.5em;
  margin-top: 0px;
  font-weight: 200;
  color: #BD9C11;
}

#testimonial section .testim_cont p img {
  position: relative;
  top: 10px;
  width: auto;
  height: 200px;
  display: block;
  float: right;
  margin: 0px 0px 25px 25px;
}

#testimonial section .testim_cont .usg_p {
  font-style: italic;
  font-size: 0.9em;
}

#testimonial section .testim_cont .usg_p span {
  font-weight: 400;
}

#testimonial section .testim_cont .testim_case_img {
  display: block;
  float: right;
  width: 49%;
  margin-left: 1%;
  cursor: pointer;
}

#ashires_pol #ashires_pol_cont {
  position: relative;
  width: 80%;
  padding: 400px 0px 0px;
  margin: 0px auto;
}

#ashires_pol #ashires_pol_cont p {
  color: #8ea817;
  text-align: center;
  font-size: 1.5em;
}

#ashires_pol #ashires_pol_cont p a {
  text-decoration: underline;
  letter-spacing: 1px;
  color: #8ea817;
}

@media screen and (max-width: 1200px) {
  #about_us_page aside div img {
    width: 190px;
    height: 190px;
  }
}

@media screen and (max-width: 1024px) {
  article section h1 {
    font-size: 2em;
  }
  article {
    width: 60%;
    padding: 400px 5% 0px 35%;
  }
}

@media screen and (max-width: 800px) {
  body {
    font-size: 18px;
  }
  .mobile_side_nav_bttn {
    display: none;
  }
  .nav_tri_lines {
    display: none;
  }
  #about_us_page aside div img {
    width: 170px;
    height: 170px;
  }
}

@media screen and (min-width: 651px) {
  #method_page section #certs_cont .each_cert_cont:nth-child(3n+0) {
    padding: 0px 0px 0px 2%;
  }
  #method_page section #certs_cont .each_cert_cont:nth-child(3n+1) {
    padding: 0px 2% 0px 0px;
  }
}

@media screen and (max-width: 651px) {
  body#method_page header {
    background-size: contain;
    background-image: url("../assets/leafs_bg_green_square.svg");
  }
  body#method_page .nav_tri_lines div {
    background: #EFFFA3;
  }
  body#method_page .mobile_side_nav_bttn .nav_tri_lines div {
    background: #B4D51D;
  }
  body#method_page #side_nav_cont ul li {
    color: #687b11;
  }
  body#about_us_page header {
    background-size: contain;
    background-image: url("../assets/leafs_bg_blue_square.svg");
  }
  body#about_us_page .nav_tri_lines div {
    background: #B4D51D;
  }
  body#testimonial header {
    background-size: contain;
    background-image: url("../assets/leafs_bg_yellower_square.svg");
  }
  body#testimonial .nav_tri_lines div {
    background: #2C607A;
  }
  body#testimonial .mobile_side_nav_bttn .nav_tri_lines div {
    background: #2C607A;
  }
  body#testimonial #side_nav_cont ul li {
    color: #2C607A;
  }
  header {
    overflow: hidden;
    height: 300px;
  }
  header .logo_header svg {
    width: 140px;
    height: 76px;
    margin-left: 3px;
  }
  header .logo_header p {
    margin-top: 7px;
    font-size: 1.3em;
  }
  header nav {
    transition: top .2s ease-out;
    bottom: auto;
    top: 65px;
  }
  header nav ul li {
    float: none;
    text-align: right;
    padding: 0px 0px 25px 0px;
  }
  header.header_hidden #main_menu_bttn {
    position: absolute;
    display: block;
    top: -42px;
    right: 5%;
  }
  header.header_hidden #main_menu_bttn div {
    width: 35px;
    height: 2px;
  }
  header.header_hidden #main_menu_bttn div.middle_line {
    margin: 6px 0px;
  }
  header.mobile_nav {
    transition: height .2s ease-out;
    height: 228px;
  }
  header.mobile_nav .nav_tri_lines {
    opacity: 0;
  }
  header.mobile_nav nav {
    top: 17px;
  }
  header.mobile_nav .small_logo_header {
    bottom: 18px;
  }
  .mobile_side_nav_bttn {
    display: none;
    position: fixed;
    z-index: 4;
    right: 3%;
    bottom: 10px;
    width: 24px;
    height: 16px;
    padding: 21px 17px;
    border-radius: 50%;
    opacity: 0.9;
    background: #F2F2F2;
    box-shadow: 0px 0px 3px rgba(102, 102, 102, 0.5);
  }
  .mobile_side_nav_bttn .nav_tri_lines {
    display: block;
  }
  .mobile_side_nav_bttn .nav_tri_lines div {
    width: 24px;
    height: 2px;
  }
  .mobile_side_nav_bttn .nav_tri_lines .middle_line {
    margin: 5px 0px;
  }
  .mobile_side_nav_bttn svg {
    display: block;
  }
  .mobile_side_nav_bttn svg path {
    stroke: #f2f2f2;
    stroke-width: 2px;
  }
  #side_nav_cont {
    position: fixed;
    z-index: 15;
    top: auto;
    bottom: -200%;
    left: 0px;
    width: 100%;
    height: auto;
    padding: 0px;
    transition: bottom .3s ease-out;
  }
  #side_nav_cont ul {
    padding: 0px;
    background: #Ebebeb;
    box-shadow: 0px 0px 3px #636967;
  }
  #side_nav_cont ul li {
    font-size: 1.1em;
    padding: 5px 5% 10px 0px;
    margin-bottom: 0px;
    position: relative;
  }
  #side_nav_cont ul li:first-of-type {
    padding-top: 15px;
  }
  #side_nav_cont ul li:last-of-type {
    padding-bottom: 20px;
  }
  #side_nav_cont.header_hidden {
    top: auto;
  }
  #side_nav_cont.side_nav_visible {
    bottom: 0px;
  }
  article {
    width: 92%;
    padding: 400px 4% 0px;
  }
  article section {
    text-align: justify;
  }
  article section p {
    line-height: 1.65;
  }
  article section ul li {
    line-height: 1.6;
  }
  #method_page section img {
    margin-top: 20px;
  }
  #method_page section #certs_cont .each_cert_cont {
    width: 48%;
  }
  #method_page section #certs_cont .each_cert_cont:nth-child(2n+0) {
    padding: 0px 0px 0px 2%;
  }
  #method_page section #certs_cont .each_cert_cont:nth-child(2n+1) {
    padding: 0px 2% 0px 0px;
  }
  #about_us_page aside {
    position: relative;
    left: 0px;
    margin: 40px 0px 50px;
  }
  #about_us_page aside div {
    width: 190px;
    height: 190px;
    margin: 0px auto;
  }
  #about_us_page aside div img {
    width: 190px;
    height: 190px;
  }
  #testimonial h1 {
    margin-bottom: 50px;
    font-size: 2em;
  }
  #testimonial section h2 {
    font-size: 1.5em;
    font-weight: 300;
  }
  #testimonial section div h3 {
    font-size: 1.3em;
  }
  #ashires_pol #ashires_pol_cont {
    width: 95%;
  }
  #ashires_pol #ashires_pol_cont p {
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1.5;
  }
}
