/* Theme Name: SDBX Skeleton
 * Author: Craig Tran
 * Author URI: http://www.sdbxstudio.com
 * Description: Bare bones wordpress theme
 * Version: 1.0
 */

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
button,
input,
select,
textarea {
  /* Set your content font stack here: */
  font-family: poppins, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}
body {
  background: #fff;
  margin: 0;
}

.wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5%;
}
img {
  max-width: 100%;
  height: auto;
}
.row-container {
  display: block;
  grid-template-columns: repeat(12, 1fr);
  position: relative;
  margin: 0 auto;
}
.widget {
  grid-row: 1;
}

/* FONTS */
@font-face {
  font-family: GFYThornesmith;
  src: url("fonts/GFYThornesmith.otf") format("opentype");
}
h1,
h2,
h3,
h4 {
  font-family: GFYThornesmith, sans-serif;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #333e42;
}
h1 {
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.135em;
}
h2 {
  font-size: 2rem;
  letter-spacing: 0.3rem;
  line-height: 1;
}
h3 {
  font-size: 1.8rem;
}
h4 {
  font-size: 1.5rem;
}
p {
  font-family: poppins, sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: 0.115rem;
  line-height: 1.4;
  color: #333e42;
}
a {
  text-decoration: none;
}
.green-text {
  color: #59742f;
}
.light-green-text {
  color: #adbf80;
}
.blue-text {
  color: #3e697a;
}
.lightblue-text {
  color: #87b4c6;
}

/* BUTTONS */
button.jagged-edge {
  border: none;
  padding: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.135em;
  font-weight: 600;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: transparent;
  cursor: pointer;
  transition: 0.3s;
}
button.jagged-edge.white-button {
  color: #3e697a;
}
button.jagged-edge.white-button:hover {
  color: #fff;
}
button.green-button {
  background-image: url(images/button.svg);
}
button.green-button:hover {
  background-image: url(images/button-hover.svg);
}
button.employment-button {
  background-image: url(images/employment-button.svg);
}
button.employment-button:hover {
  background-image: url(images/employment-button-hover.svg);
}
button.view-project-button {
  background-image: url(images/view-project-button.svg);
}
button.view-project-button:hover {
  background-image: url(images/view-project-button-hover.svg);
}
button.view-button {
  background-image: url(images/view-button.svg);
  padding: 1rem 3rem;
  color: #fff;
}
button.view-button:hover {
  background-image: url(images/view-button-hover.svg);
  color: #fff;
}
button.readmore-button {
  background-image: url(images/readmore-button.svg);
  padding: 0.8rem 1rem;
  color: #fff;
}
button.readmore-button:hover {
  background-image: url(images/readmore-button-hover.svg);
  padding: 0.8rem 1rem;
  color: #fff;
}
button.blue-button {
  background-image: url(images/blue-button.svg);
}
button.blue-button:hover {
  background-image: url(images/blue-button-hover.svg);
}
button.white-button {
  background-image: url(images/white-button.svg);
}
button.white-button:hover {
  background-image: url(images/white-button-hover.svg);
}
/* IMAGES */
.jagged-border {
  display: block;
}
.white-jagged-border {
  position: absolute;
  margin-top: -4px;
}
.landscape,
.square {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.landscape:after {
  content: "";
  display: block;
  padding-top: calc(2 / 3 * 100%);
}
.square:after {
  content: "";
  display: block;
  padding-top: calc(4 / 5 * 100%);
}

.logo {
  padding: 0.5rem 0 0;
}
.logo img {
  width: 100%;
  max-width: 200px;
}
#header {
  background: #fff;
  width: 100%;
  position: relative;
  padding-bottom: 0.25rem;
}
#header .wrapper {
  align-items: center;
  justify-content: space-between;
}

ul#menu-main {
  display: flex;
  gap: 30px;
}
nav > ul {
  float: left;
  position: relative;
}
nav li {
  list-style: none;
  float: left;
}
nav .dropdown {
  position: relative;
}
nav li a {
  font-family: poppins, sans-serif;
  text-transform: uppercase;
  color: #3e697a;
  font-weight: 600;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.105em;
}
#header nav li a:hover,
#header nav li.current-menu-item a {
  color: #abc178;
}
#header nav li.current-menu-item .sub-menu a {
  color: #3e697a;
}
nav li ul {
  display: none;
}
nav li:hover ul {
  display: inline;
}
nav li li {
  float: none;
}
nav .dropdown ul {
  position: absolute;
  left: -33px;
  top: 100%;
  background: #fff;
  padding: 20px 0;
  border-bottom: 3px solid #34495e;
  z-index: 99;
}
nav .dropdown li {
  white-space: nowrap;
}
nav .dropdown li a {
  padding: 10px 35px;
  font-size: 0.7rem;
  min-width: 200px;
}
nav .mega-dropdown {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  overflow: hidden;
  padding: 20px 35px;
  border-bottom: 3px solid #34495e;
}
nav li li a {
  float: none;
  color: #333;
  display: block;
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 13px;
}
nav li li a:hover {
  background: #bdc3c7;
  background: #fafbfb;
}
.mega-col {
  width: 25%;
  float: left;
}
#menu-icon {
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -12px;
  margin-right: 30px;
  display: none;
}
#menu-icon span {
  border: 1px solid #507282;
  width: 30px;
  margin-bottom: 5px;
  display: block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

/* FOOTER */
footer {
  display: grid;
  justify-items: start;
  background: #3e697a;
  padding: 2rem 5% 4rem;
  grid-gap: 2rem;
  margin-top: -2px;
}
footer h2 {
  font-size: 2rem;
  color: #87b4c6;
  margin-top: 0;
  letter-spacing: 2px;
}
footer p,
footer nav ul li a {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.135em;
}
footer nav ul {
  padding: 0;
}
footer nav ul li a {
  display: block;
  margin-bottom: 1rem;
}
footer nav ul li {
  float: none;
}
footer button.white-button {
  padding: 13px 1rem;
}
.social-media {
  margin-top: 2.5rem;
}
.social-media ul {
  font-size: 0;
  padding: 0;
}
.social-media ul li {
  display: inline-block;
}
.social-media a:hover {
  color: #adbf80;
}

.social-icon:before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  float: left;
  margin: -0.5rem 1rem 0 0;
}
.social-icon.facebook:before {
  background: url(assets/icon-fb.svg) no-repeat;
}

.social-icon.instagram:before {
  background: url(assets/icon-ig.svg) no-repeat;
}
.social-icon.facebook:hover:before {
  background: url(assets/icon-fb-hover.svg) no-repeat;
}

.social-icon.instagram:hover:before {
  background: url(assets/icon-ig-hover.svg) no-repeat;
}

/*FEATURED IMAGE */
.featured-image {
  background-size: cover;
  height: 50vh;
  min-height: 400px;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.25);
  background-blend-mode: multiply;
}
.featured-image h1 {
  color: #fff;
  font-size: 3rem;
}

/* WRAPPERS */
.one-column-text-wrap {
  max-width: 860px;
  width: 90%;
  margin: 0 auto;
  color: #333e42;
}
.one-column-text-wrap p,
.one-column-text-wrap a,
.one-column-text-wrap ul li,
.one-column-text-wrap p ol li {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.055rem;
  color: #333e42;
}
.one-column-text-wrap a {
  text-decoration: underline;
}

/* DEFAULT TEMPLATE */
.template-default {
  padding: 4rem 0;
}

@media only screen and (max-width: 1170px) {
  header nav > ul > li > a {
    padding: 35px 15px;
  }
}
@media only screen and (min-width: 960px) {
  header nav {
    display: block !important;
  }
}
@media only screen and (max-width: 959px) {
  #header {
    display: inline-block;
  }
  ul#menu-main {
    display: block;
    padding: 0;
  }
  header nav {
    display: none;
    width: 100%;
    clear: both;
    float: none;
    max-height: 400px;
  }
  #menu-icon {
    display: inline;
    top: 45px;
    cursor: pointer;
  }
  #menu-icon.active .first {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-top: 10px;
  }
  #menu-icon.active .second {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    position: relative;
    top: -7px;
  }
  #menu-icon.active .third {
    display: none;
  }
  .search {
    float: none;
  }
  .search input {
    width: 100%;
  }
  header nav {
    padding: 10px;
  }
  header nav ul {
    float: none;
  }
  header nav li {
    float: none;
  }
  header nav ul li a {
    float: none;
    padding: 8px;
    display: block;
  }
  #header nav ul ul {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0;
  }
  #header nav a {
    color: #507282;
    padding: 8px;
    font-size: 1rem;
  }
  #header nav a:hover {
    color: #abc178;
    border-radius: 3px;
  }
  #header nav ul li li a:before {
    content: "- ";
  }
  .mega-col {
    width: 100%;
  }
}

@media screen and (min-width: 35.5em) {
  /* ≥ 568px */
}
@media screen and (min-width: 48em) {
}
@media screen and (min-width: 960px) {
  /* ≥ 960px */
  #header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu-item-hidden {
    display: none;
  }
}
@media screen and (min-width: 64em) {
  /* ≥ 1024px */
}
@media screen and (min-width: 80em) {
  /* ≥ 1280px */
  nav li a,
  nav .dropdown li a {
    font-size: 1rem;
  }

  footer {
    display: grid;
    justify-items: center;
    background: #3e697a;
    padding: 2rem 5% 4rem;
    grid-template-columns: repeat(3, 1fr);
  }
  .row-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    position: relative;
    margin: 0 auto;
  }
  .white-jagged-border {
    position: absolute;
    margin-top: -1rem;
  }
}
@media screen and (min-width: 100em) {
  /* ≥ 1600 */
}
@media screen and (max-width: 35.5em) {
  /* Fonts */
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 1rem;
  }
  p {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
  }
  #header nav a {
	  font-size: 0.95rem;
  }
}
@media screen and (max-width: 48em) {
}
