/*
    Theme Name: Custom css
    Version: 2.0
    Template: biodock2022
    Template Version: 2.0

*/
/* Main colors */
:root {
  --primary-color: #09afb4;
  --secondary-color: #445f96;
  --primary-text-color: #595959;
}
/*----------------General----------------------------*/

/* ---------------GLOBAL-------------------- */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body,
html {
  overflow-x: hidden;
}

body {
  font-family: "Open Sans", sans-serif;
  font-family: sans-serif;
  max-width: 100vw;
  margin: 0;
  color: var(--primary-text-color);
}

a {
  text-decoration: none;
  color: #000;
}

a:visited a:active {
  color: inherit;
}

button {
  cursor: pointer;
}

p {
  font-size: 20px;
}

h2 {
  font-size: 2em !important;
}

.uppercase {
  text-transform: uppercase;
}

.entry-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* NAV */

nav {
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
}

nav img {
  margin: 0em 3em 0em 2em;
}

.nav-item {
  margin: 0em 1em;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--primary-text-color);
}

#myLinks p:last-of-type {
  margin-left: auto;
}

.contact-button {
  /* margin-left: auto; */
  font-size: 14px;
  text-transform: uppercase;
}

.contact-button-phone {
  margin-left: auto;
  font-size: 14px;
  text-transform: uppercase;
}
/* END NAV */

/* -------------Biodock heading section--------------- */

.top-section {
  background-image: url(/wp-content/uploads/2022/01/BIODOCK-webpage-header.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 46.87%;
  /* (img-height / img-width * container-width) */
  /* (853 / 1280 * 100) */
}

.heading-section {
  text-align: center;
  margin-top: 0;
  padding: 1em;
  margin-top: -184px;
  background-color: rgba(0, 0, 0, 0.445);
  color: #fff;
}

.fa-chevron-down {
  font-size: 3em;
  color: #fff;
}

.biodock-heading {
  margin-top: 0;
  margin-bottom: 0.2em;
  font-size: 3.5em;
}

/* Arrow Bounce */
.bounce {
  -moz-animation: bounce 3s infinite;
  -webkit-animation: bounce 3s infinite;
  animation: bounce 3s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-15px);
  }
}
/* END SECITON 1 */

/* ------------Contingency planning section----------- */
.contingencyPlanning {
  display: flex;
  justify-content: space-between;
  margin-left: 3em;
  margin-top: 0;
}

.services-text-left {
  margin-right: 3em;
}

.services-point,
.point-green {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  flex-direction: row;
}

.services-point-title {
  font-size: 24px;
  color: #00b4b5;
  margin-bottom: 0px;
}

.services-text p {
  margin-top: 0px;
}

.services-icon,
.point-green img {
  margin: 1em 1em 1em 0em;
}

.point-green img {
  max-height: 110px;
}
/* END SECITON 2 */

/*--------------- Buttons -------------*/
.green-button,
.blue-button {
  font-weight: 500;
  padding: 1em 1.5em;
  color: #fff;
  transition: 0.3s ease-out all;
}

.blue-button {
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color);
  margin: 1em;
}

.green-button {
  border: 2px solid var(--primary-color);
  background-color: var(--primary-color);
}

.green-button a {
  color: #fff !important;
}

.green-button a:hover {
  color: var(--primary-color) !important;
}

.green-button:hover {
  background-color: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  transition: 0.3s ease-in all;
}

.blue-button:hover {
  background-color: #fff;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  transition: 0.3s ease-in all;
}
/*-------------- End buttons -----------------*/

/* ----------------Green box section------------------ */
.grey-box {
  color: rgba(0, 0, 0, 0.555);
  text-align: center;
  background-color: #dff0ef;
  padding: 2em;
}

.samples-title {
  color: #436598;
}
/* END SECTION 3 */

/*--------------Unique points section-------------- */

.unique {
  color: #fff;
}

.unique img {
  max-width: 100%;
  display: block;
}

.unique-title-box {
  text-align: center;
  padding: 1em 0;
  background-color: rgb(237 236 236 / 50%);
  color: rgba(0, 0, 0, 0.555);
}

.unique-title {
  margin: 0;
}

.unique-points {
  /* background-size: cover;
  background-position: right; */
  padding: 1em 3em;
  background-color: #00b4b5;
}

.top-section-green p {
  margin: 0;
  padding: 1em;
  text-align: center;
}
/* END SECTION 4 */

/* ----------------Accreds/Envrionment Section + case study-------------------*/
.environmental-pledge,
.accreditations,
.case-studies {
  text-align: center;
  color: rgba(0, 0, 0, 0.692);
}

.accreditations {
  margin: 2.5em 0;
}

.accred-icon {
  max-width: 200px;
  margin: 0.5em;
}
.accreds-title {
  color: #436598;
}
.faqSection {
  width: 60%;
  margin: 0 auto;
}
/* END SECITON 5 */

/*---------------------- Case Study Section ---------------------- */
.case-studies {
  background-color: #dff0ef;
  padding: 1em;
}

.case-study-box {
  border: 2px solid var(--secondary-color);
  padding: 2em;
  background-color: #fff;
  max-width: 280px;
  margin: 1.5em auto;
  opacity: 1;
  transition: 0.2s ease-out all;
}

.case-study-box:hover {
  opacity: 1;
  transition: 0.2s ease-in all;
}

.case-title {
  color: #436598;
}

.quote {
  margin-bottom: 2em;
  padding-left: 1em;
  padding-right: 1em;
  font-style: italic;
  font-weight: bolder;
}

.case-name {
  font-size: 0.9em;
  margin-bottom: 0;
}

.case-name strong {
  display: block;
}

.from {
  margin-top: 0;
  font-size: 0.8em;
}
/* END SECTION 6 */

/* GENERAL PAGE CSS */
.main-banner img {
  max-width: 100%;
}

.main-banner {
  position: relative;
}

.unique-title-box {
  position: absolute;
  bottom: 4px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.445);
  color: #fff;
  padding: 1em 0;
  text-transform: uppercase;
  text-align: center;
}

.unique-title-box h1 {
  margin: 0;
}

.biodock-main-section {
  display: flex;
  justify-content: space-evenly;
  max-width: 90%;
  margin: 1em auto;
}

.biodock-left-box,
.biodock-right-box {
  max-width: 48%;
}

.biodock-left-box {
  padding: 1em;
  text-align: center;
}

.address {
  margin: 1em;
}

.main-area {
  max-width: 90%;
  margin-inline: auto;
}

.main-area img {
  margin-inline: auto;
  display: flex;
}

/* END GENERAL PAGE CSS */

/* -----------------FOOTER -----------------*/
footer {
  background: #425c86;
  color: #fff;
  padding-top: 2em;
  text-align: center;
}

.footer-tophalf a {
  text-decoration: none;
  color: #fff;
}

.footer-tophalf p {
  margin: 2px;
  font-size: 18px;
}

.footer-bottomhalf {
  padding-top: 2em;
  padding-bottom: 2em;
}
.footer-bottomhalf small {
  display: block;
}

/* END FOOTER */

/* -------------------MEDIA Q's ------------------*/
/* ----Max Width Q's---- */

@media screen and (max-width: 600px) {
  h2 {
    font-size: 1.8em !important;
  }

  .biodock-heading {
    margin-bottom: 0;
    font-size: 1.9em !important;
  }
  .biodock-subtitle {
    font-size: initial;
    margin-top: 0.4em;
  }

  .contingency-title {
    text-align: center;
  }

  .services-point,
  .point-green {
    flex-direction: column;
  }

  .unique-title-box {
    padding: 1.1em 0 !important;
  }
  .unique-title {
    margin: 0;
  }
  .faqSection {
    width: 80%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 950px) and (min-width: 770px) {
  .biodock-subtitle {
    max-width: 55% !important;
  }
}

@media screen and (max-width: 770px) and (min-width: 640px) {
  .heading-section {
    margin-top: -285px !important;
  }
  .heading-inner-text {
    max-width: 85%;
  }
  .heading-inner-text .fa-chevron-down {
    margin-top: 0em !important;
  }
  .biodock-heading {
    font-size: 2.46em;
  }

  p {
    font-size: 18px;
  }
}

@media screen and (max-width: 640px) and (min-width: 512px) {
  .heading-section {
    margin-top: -237px !important;
  }
}

@media screen and (max-width: 639px) {
  .unique-title-box {
    position: relative;
    width: 100%;
    margin-top: -72px;
    background-color: rgba(0, 0, 0, 0.445);
    color: #fff;
  }
}

@media screen and (max-width: 950px) {
  nav {
    display: block !important;
    margin: 1em 0em 0em 0em !important;
  }
  #myLinks,
  .contact-button {
    display: none;
  }

  #myLinks {
    background-color: var(--primary-color);
  }

  #myLinks p,
  .contact-button {
    display: block;
    margin: 0;
    padding: 1em;
    margin-left: 1em !important;
  }

  .contact-button {
    padding: 0;
  }

  .nav-item {
    color: #fff;
  }

  .nav-item:hover {
    color: #fff !important;
  }

  .green-button:hover {
    background-color: var(--primary-color);
    color: #fff;
  }

  .biodock-heading {
    font-size: 2.5em;
  }

  .heading-inner-text .fa-chevron-down {
    margin-top: 0.44em;
  }

  .footer-tophalf,
  .footer-bottomhalf {
    max-width: 70% !important;
    margin: 0 auto;
  }

  /* --Carousel Code-- */

  .case-studies {
    padding: 0;
  }
  .case-title-text {
    padding: 1em;
  }

  .case-study-boxes {
    display: inline-flex;
    overflow: hidden;
    transform: translateX(0);
    transition: transform 0.3s ease-out;
    cursor: grab;
  }

  .slider {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    padding-bottom: 1em;
  }

  .grabbing {
    cursor: grabbing;
  }
  /* End carousel code */
}

@media screen and (min-width: 950px) {
  .slider {
    display: flex;
  }
}

@media screen and (max-width: 1024px) {
  .contingencyPlanning {
    flex-wrap: wrap;
  }

  .services-text-left {
    margin-right: 3em;
  }

  /* General Page */
  .biodock-main-section {
    display: inherit;
    max-width: 90%;
    margin: 1em auto;
  }

  .biodock-left-box,
  .biodock-right-box {
    max-width: 100%;
  }
}

@media screen and (max-width: 1300px) {
  .service-image-right {
    display: none;
  }
}

/* -------------MIN WIDTH Q's -----------------*/

@media screen and (min-width: 640px) {
  /* Biodock heading section */

  .heading-section {
    margin-top: -267px;
    background-color: rgba(0, 0, 0, 0.445);
    color: #fff;
  }

  .biodock-subtitle {
    margin: auto;
    max-width: 70%;
  }

  .heading-inner-text {
    margin: 0 auto;
  }
  /* END SECTION 1 */

  /* Contingeny planning section */
  .services-text-left {
    margin-left: 1em;
  }

  /* END SECTION 2  */
  /* Grey box section */
  .grey-box p,
  .paragraph p {
    max-width: 80%;
    margin: 1em auto;
  }

  /* END SECTION 3 */
  /* Unique point section */
  .unique {
    position: relative;
  }

  .unique-title-box {
    position: absolute;
    bottom: 4px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.445);
    color: #fff;
  }

  .unique-points-green,
  .points-section-green {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
  }

  .top-section-green {
    max-width: 80%;
    padding: 1em 0;
    margin: 0em auto;
  }

  .unique-points {
    padding: 0em 3em;
  }

  .point-green {
    max-width: 50%;
    min-width: 50%;
    font-weight: bold;
  }

  .services-text p {
    max-width: 90%;
  }

  .point-green p,
  .top-section-green p {
    letter-spacing: 1px;
    font-size: 22px;
  }
  /* END SECITON 4 */
  /* Case Studies section */
  .case-study-box {
    margin: 1em;
    padding: 1em;
    opacity: 0.6;
  }
  /* END SECTION 6 */
  /* -Footer- */
  .footer-tophalf,
  .footer-bottomhalf {
    max-width: 50%;
    margin: 0 auto;
    text-align: left;
  }

  .footer-tophalf {
    display: flex;
    justify-content: space-between;
  }
  h2 {
    font-size: 2.4em !important;
  }
}

@media screen and (min-width: 800px) {
  nav {
    display: flex;
    margin: 1.5em 3em 1em 3em;
  }

  .nav-item:hover {
    color: var(--primary-color);
  }
  .service-image-right {
    max-width: 55%;
  }
}

@media screen and (min-width: 950px) {
  .case-study-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    align-items: stretch;
  }
}

@media screen and (min-width: 1100px) {
  .top-section-green,
  .grey-box p,
  .paragraph p {
    max-width: 60%;
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
  }
}

@media screen and (min-width: 1300px) {
  .contingency-title {
    max-width: 70%;
    color: #436598;
  }
  .heading-inner-text {
    max-width: 70% !important;
  }

  .service-image-right {
    width: 60%;
  }

  .services-text-left {
    width: 60%;
  }

  .service-image-right img {
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
}
/* Stop screen from stretching too wide */
@media screen and (min-width: 2000px) {
  body {
    max-width: 2000px;
    margin: 0 auto;
  }

  .main-banner img {
    min-width: 2000px;
  }
}

/* FAQ Section */

.advice-panel {
  padding: 1em 10px;
}

.advice_panel_article {
  width: 100%;
  margin: auto;
}

button.accordion {
  background-color: #dff0ef;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.6s;
  margin-bottom: 1em;
  margin-top: 1em;
  border-radius: 2em;
}

button.accordion.active,
button.accordion:hover {
  background-color: #ddd;
}

button.accordion:after {
  content: "\002B";
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

button.accordion.active:after {
  content: "\2212";
}

div.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

@media only screen and (max-width: 1200px) {
  .advice_panel_article {
    width: 100%;
    margin: auto;
  }

  button.accordion {
    font-size: 0.8em;
  }
}

.gform_legacy_markup_wrapper {
  max-width: 90% !important;
  margin: 0 auto !important;
}
