/* normalize - */
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

div,
p {
  font-family: 'Lato', sans-serif;
  color: #4b4b4b;
  font-size: 18px; /* Standard body font size */
}

h1,
h2,
h3 {
  font-family: 'MinionPro-Medium';
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 18px;
}

.al-it-fl-st{
  align-items: flex-start;
}
.text-uppercase {
  text-transform: uppercase;
}

.header {
  transition: background-color 0.2s ease;
}

#main {
  margin-top: 170px; /* Accommodate header */
}

.page-content #header > * {
  vertical-align: top;
}

.page-content #header .intro {
  font-size: 24px;
  color: #7f7f7f;
  margin: 20px 0px;
}

.page-content {
  max-width: 1440px;
  margin: auto;
  width: 100%;
}
.content-container {
  max-width: calc(
    1440px - 90px
  ); /* in sketch full width of screen 1440, and all sections has 90px left and right margins. hope i'm understanting correct */
  margin: auto;
  width: 100%;
  padding: 0 15px;
}

.section {
  margin-bottom: 100px;
}

.single-project .section {
  margin-bottom: 2.5rem;
}

.page-intro {
  margin-top: 80px;
}

.page-intro-description {
  min-height: 280px;
  flex-wrap: nowrap;
}

.page-intro-description > .description {
  padding-right: 90px;
}

.page-intro-description > .description h3 {
  font-family: 'Lato', sans-serif;
  color: #4b4b4b;
  font-size: 18px;
  margin: 30px 0px;
  font-weight: bold;
}

.page-intro-description > .description .big-header {
  color: #7f7f7f;
  font-size: 24px;
  margin: 40px 0px;
}

.page-intro-description > .description {
  width: calc(66.66% + 90px);
}

.page-intro-description > .top-image-bottom-cta {
  margin-right: -90px;
}

.section-header {
  font-size: 44px;
  margin-bottom: 40px;
}

.body-section-header {
  font-size: 32px;
  margin-bottom: 40px;
}

.subtitle {
  color: #857777;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0px;
  margin-bottom: 10px;
}

.bold-sub-line {
  font-size: 18px;
  font-weight: 700;
}

.small-date {
  color: #7d7d7d;
  font-size: 10px;
}

.page-content ul a:not(.ensight-nav-li-a),
.page-content
  p:not(.ensight-listing-snipet-p)
  a:not(.ensight-nav-li-a):not(.cpr-button),
a.link-standart {
  /*border-bottom: solid 2px transparent;*/
  border-bottom: solid 2px #f7971d;
  color: black;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  margin: 0px;
  margin-bottom: 10px;
  padding-bottom: 2px;
  text-decoration: none;
  width: fit-content;
  cursor: pointer;
}
.page-content ul a:not(.ensight-nav-li-a):hover,
.page-content
  p:not(.ensight-listing-snipet-p)
  a:not(.ensight-nav-li-a):not(.cpr-button):hover,
a.link-standart:hover {
  /*border-bottom: solid 2px #F7971D;*/
}
a.link-standart.link-standart-white {
  color: #fff;
  border-bottom: solid 2px #fff;
}
a.link-standart.link-standart-white:hover {
  /*border-bottom: solid 2px #fff;*/
}

.page-content .a-not-underlined {
  border: none;
  color: black;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  margin: 0px;
  margin-bottom: 10px;
  padding-bottom: 2px;
  text-decoration: none;
  width: fit-content;
  cursor: pointer;
}

a.text-link,
.text-link {
  border-bottom: solid 2px #f7971d;
  color: black;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: bold;
  margin: 0px;
  margin-bottom: 10px;
  padding-bottom: 2px;
  text-decoration: none;
  width: fit-content;
  cursor: pointer;
  /*transition: all .1s ease;*/
}

a.text-link.dark,
.text-link.dark {
  color: white;
}

a.text-link:hover,
.text-link:hover,
a.next_page:hover .text-link,
a.prev_page:hover .text-link {
  border-bottom: solid 2px transparent;
  /*transition: all .1s ease;*/
}

#content p a:hover {
  /*text-decoration: underline;*/
}

ol {
  list-style: inside;
  list-style-type: decimal;
}

ul {
  padding: 0;
  list-style-type: disc;
  list-style: none;
}

ul ul {
  padding: 0px 30px;
  list-style-type: circle;
}

li {
  padding-left: 5px;
  list-style: none;
  margin: 5px 0px;
}

ul li,
ol li {
  margin-left: -30px;
  padding: 0px;
  margin: 0px;
  list-style: none;
  position: relative;
  padding-left: 40px;
}
.company-story-text-content ul li {
  padding-left: 40px !important;
}
ul.footer-link-list li {
  padding-left: 0;
}

li::before {
  content: '\2022'; /* \2022 is the CSS Code/unicode for a bullet */
  color: #f7971d;
  font-weight: bold;
  display: inline-block;
  padding: 0px 15px;
  font-size: 1em;

  position: absolute;
  left: 0;
  height: 100%;
  width: 40px;
}

ul ul li::before {
  content: '\25CB'; /* \25CB is the CSS Code/unicode for a bullet outline*/
}
.company-story-text-content ul li::before {
  content: '\2022'; /* \2022 is the CSS Code/unicode for a bullet */
  color: #f7971d;
  font-weight: bold;
  display: inline-block;
  padding: 0px 15px;
  font-size: 1em;

  position: absolute;
  left: 0;
  height: 100%;
  width: 40px;
}

ul.orange-bullet {
  list-style: none; /* Remove default bullets */
}

ul.orange-bullet li {
  list-style: none;
  margin: 5px 0px;
}

ul.orange-bullet li::before {
  content: '\2022'; /* \2022 is the CSS Code/unicode for a bullet */
  color: #f7971d;
  font-weight: bold;
  display: inline-block;
  margin: 0px 15px;
  font-size: 14px;
}

.button-outline {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  background-color: transparent;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  padding: 15px 50px !important;
  border: solid 2px #f7971d;
  outline: none;
  display: inline-block;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button-outline.dark {
  color: white;
}

.button-outline:hover {
  background: #f6af55;
  color: #3b3b3b;
  border: solid 2px #f6af55;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button-outline:active {
  background: #f7971d;
  color: #3b3b3b;
  border: solid 2px #f7971d;
  text-decoration: none;
  transition: all 0.2s ease;
}

html body .button,
.button-filled,
a.button-filled {
  color: black;
  -webkit-appearance: none;
  appearance: none;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  padding: 15px 50px;
  border: solid 2px #f7971d;
  outline: none;
  background: #f7971d;

  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;

  cursor: pointer;
}

html body .button,
.button-filled:hover {
  color: white;
  background: #4b4b4b;
  border: solid 2px #4b4b4b;
  text-decoration: none;
  transition: all 0.2s ease;
}

html body .button,
.button-filled:active {
  color: white;
  background: #7d7d7d;
  border: solid 2px #7d7d7d;
  text-decoration: none;
  transition: all 0.2s ease;
}

.filter-container {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: solid 1px #aaaaaa;
  margin-bottom: 60px;
}

.filter-container ul {
  margin: 0px;
  font-size: 18px;
  text-align: left;
  color: #857777;
}

.filter-container li {
  border: solid 2px #c2bbba;
  min-width: 135px;
  display: inline-block;
  text-align: center;
  padding: 5px 10px;
  margin: 0px;
  margin-right: 20px;
}

.filter-container li::before {
  display: none;
}

.filter-container li.active {
  background: #c2bbba;
  color: black;
  border: solid 2px black;
}

.filter-container li:hover {
  background: #c2bbba;
  color: #4b4b4b;
  border: solid 2px #4b4b4b;
}

.filter-container p {
  color: #4b4b4b;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  margin: 0px;
  margin-bottom: 10px;
}

.filter-container div:last-child {
  position: relative;
  min-width: 15%;
}

.filter-container div:last-child p {
  position: absolute;
  color: #857777;
  text-transform: none;
  margin: 0px;
  font-size: 24px;
  font-weight: 400;
  bottom: 0;
  right: 0;
}

.tabs li {
  min-width: 135px;
  display: inline-block;
  text-align: center;
  padding: 10px 0px;
  margin: 0px;
  margin-right: 20px;
}

.tabs li::before {
  display: none;
}

.tabs li.active {
  background: white;
  color: black;
}

.underline-tabs {
  display: flex;
  padding: 0px;
}

.underline-tabs li {
  white-space: nowrap;
  flex: 1;
  list-style: none;
  margin: 0px;
  padding: 0px 10px;
  text-align: center;
  border-bottom: solid 1px #7d7d7d;
}

.underline-tabs li::before {
  display: none;
}

.underline-tabs li.active {
  border-bottom: solid 2px #f7971d;
  color: black;
  font-weight: bold;
  margin: 0px;
  padding-bottom: 2px;
  text-decoration: none;
}

ul.tab-links {
  appearance: none;
  list-style: none;
}

.tab-links li {
  display: inline-block;
  color: #f7971d;
  cursor: pointer;
}

.tab-links li:before {
  display: none;
}

.tab-links li.active {
  border-bottom: solid 2px #f7971d;
  color: black;
  font-weight: bold;
  margin: 0px;
  margin-bottom: 10px;
  padding-bottom: 2px;
  text-decoration: none;
  padding-left: 0px;
}

/*
UL with Orange list-style: circle;
Example: https://trello-attachments.s3.amazonaws.com/5d7a3f60e850bf548d2fa875/5da76233621cee31eff9bc05/8739fcbc39e473bf7ad74106a9918d7e/Section_-_Top_left_sliced.png
*/
ul.ul-orange-list-style {
  list-style: none;
}
ul.ul-orange-list-style li {
  margin: 0 0 1em 0;
  padding-left: 2em;
}
ul.ul-orange-list-style li::before {
  content: '\2022';
  color: #ee9237;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.desktop-only {
  display: block;
}

.desktop-only.flex-display {
  display: flex;
}

.mobile-only,
.mobile-only-flex,
.mobile-only-unset,
.mobile {
  display: none;
}

.shared-fast-points-cta-container img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}

/* Table */
.custom-table tr:nth-child(even):not(:first-child) {
  background: #f3f2f2;
}

.custom-table th {
  font-size: 14px;
  color: #f7971d;
  text-transform: uppercase;
  border-left: solid 1px #aaaaaa;
  border-bottom: none;
}
.custom-table tr td {
  border-bottom: none;
}

.custom-table .filter-control {
  font-size: 14px;
  color: #f7971d;
  text-transform: uppercase;
}

.custom-table td {
  border-left: solid 1px #aaaaaa;
}

.custom-table td .title {
  font-size: 16px;
  color: black;
  margin: 0px;
  margin-bottom: 5px;
}

.custom-table td .meta {
  font-size: 14px;
  color: #4b4b4b;
  margin: 0px;
  margin-bottom: 5px;
}

.custom-table-container .custom-table.mobile {
  display: none;
}

/* Owl Carousel - TECH DEBT: Maybe consolidate this with all the other carousel styling */
.single-col-carousel .owl-dots {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.single-col-carousel .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border: 2px solid #4b4b4b;
  border-radius: 50%;
  outline: none;
  margin: 0 10px;
  padding: 0;
}

.single-col-carousel .owl-dots .owl-dot.active {
  background: #4b4b4b;
}

[ollon_control_carousel] {
  cursor: pointer;
}

/* Custom Item Dropdown */
.custom-item-dropdown {
  position: relative;
  border-bottom: solid 2px black;
  padding-top: 15px;
}

.custom-item-dropdown:first-of-type {
  border-top: solid 2px black;
}

.custom-item-dropdown .custom-items {
  display: none;
}

.custom-item-dropdown.active .custom-items {
  display: flex;
}

.custom-item-dropdown .custom-item-heading h6 {
  vertical-align: text-top;
  width: 50%;
}

.custom-item-dropdown .custom-item-heading > div {
  width: 50%;
}

.shared-fast-points-cta-container {
  margin-bottom: 100px;
}

.shared-fast-points-cta-container > div {
  width: calc(100% + 180px);
  margin-right: -90px;
  margin-left: -90px;
}

.single-service_parent .shared-fast-points-cta-container {
  margin-bottom: 60px;
}

/* ONLY shared styles go here,
put responsive css in components' respective css files */

/* Site design width */
@media only screen and (max-width: 1280px) {
  .content-container {
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
  }

  .section {
    padding: 0px 30px;
  }
}

/* Max-header width */
@media only screen and (max-width: 1180px) {
  /* Account for fixed mobile header */
  .main {
    margin-top: 100px !important;
  }
}

/* Large Tablet */
@media only screen and (max-width: 920px) {
  .shared-fast-points-cta-container > div {
    margin-right: 0px;
    margin-left: 0px;
  }

  .page-intro-description > .description {
    padding-right: 15px;
    width: 100%;
  }

  .page-intro-description {
    flex-wrap: wrap;
  }

  .page-intro-description > .top-image-bottom-cta {
    margin-right: 0px;
    width: 100%;
  }
}

/* Small Tablet */
@media only screen and (max-width: 767px) {
  .desktop-only,
  .desktop-only.flex-display {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .mobile-only-flex {
    display: flex;
  }

  .mobile-only-unset {
    display: unset;
  }

  .underline-tabs li {
    min-width: 180px;
  }

  .custom-table-container .custom-table.mobile {
    display: table;
  }

  .custom-table-container .custom-table.desktop {
    display: none;
  }

  .custom-item-dropdown.active .custom-items {
    display: block;
  }

  .custom-table-container .custom-table.mobile tr > * {
    display: block;
  }

  .custom-table-container .custom-table.mobile tr > th:nth-child(2),
  .custom-table-container .custom-table.mobile tr > th:nth-child(3) {
    display: none;
  }

  .custom-table-container .custom-table.mobile tr > td:first-child {
    padding-top: 15px;
  }

  .custom-table-container .custom-table.mobile tr > td:last-child {
    padding-bottom: 15px;
  }

  .custom-table-container .custom-table.mobile tr > td {
    color: #000;
    padding: 0px 15px;
  }

  .custom-table-container .custom-table.mobile tr > td:nth-child(2),
  .custom-table-container .custom-table.mobile tr > td:nth-child(3) {
    color: #4b4b4b;
    font-size: 14px;
  }
}

/* Mobile */
@media only screen and (max-width: 640px) {
  .button-outline,
  .button-filled {
    width: 100%;
    text-align: center;
  }

  .shared-fast-points-cta-container {
    flex-direction: column;
  }

  .shared-fast-points-cta-container > div:first-child {
    order: 2;
    width: 100%;
  }

  .shared-fast-points-cta-container .top-image-bottom-cta {
    order: 1;
    margin-bottom: 60px;
    margin-top: 30px;
  }
}
