/* Classes defined here are used to format the guts of the WYSIWYG editor */
/* Any class that can be affect the appearence of content should be here */


body.wysiwyg-content .flexslider {
  box-shadow: none;
  -webkit-box-shadow: none;
}

body.wysiwyg-content .flexslider .slides > li {
  display: block !important;
  margin: 20px 10px;
  padding: 50px;
  border: 1px solid #bfbfbf;
  border-radius: 5px;
}


/* Basics
-------------------------------------------------------------------------------- */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

/* Links
-------------------------------------------------------------------------------- */
a {
  color: var(--primary-color);
}

/* disable clicking if href is empty */
a[href=""] {
  pointer-events: none;
}

/* Headings
-------------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5 {
  text-transform: uppercase;
}

@media (min-width: 992px) {
  h1 {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  h2 {
    font-size: 40px;
  }
}

h3 {
  letter-spacing: 1px;
}

h4 {
  color: var(--secondary-color);
}

h1:first-of-type,
h2:first-of-type,
h3:first-of-type,
h4:first-of-type,
h5:first-of-type {
  margin-top: 15px;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span {
  color: var(--secondary-color);
}


/* Paragraphs
-------------------------------------------------------------------------------- */
p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 120%;
  font-weight: 500;
}

.highlight {
  font-size: larger;
  color: var(--secondary-color);
}

.contact-highlight {
  padding: 40px;
  background-color: #efefef;
}

.about-highlight {
  padding: 40px;
  color: #fff;
  background-color: #54616c;
}

.text-wrap-balance {
  text-wrap-style: balance;
}

/* Images
-------------------------------------------------------------------------------- */
img {
  max-width: 100%;
}

/* iFrames
-------------------------------------------------------------------------------- */
iframe {
  max-width: 100%;
}

/* Lists
-------------------------------------------------------------------------------- */
ul,
ol {
  margin: 0;
}

@media (min-width: 768px) {
  .column-count-sm-2 {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .column-count-md-2 {
    column-count: 2;
  }
}

/*
------------------
Numbered List
------------------
*/
ol {
  font-size: 110%;
  color: var(--secondary-color);
  counter-reset: annotation-list;
}

ol > li {
  position: relative;
  margin: 0 0 1em 0;
}

ol > li::before {
  content: counter(annotation-list);
  position: absolute;
  left: -35px;
  width: 30px;
  line-height: 30px;
  color: #fff;
  text-align: center;
  text-shadow: 0px -1px 0px #888;
  counter-increment: annotation-list;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/*
------------------
List Checkmark
------------------
*/
.list-checkmark {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.list-checkmark > li {
  margin-left: 0;
  padding-left: 1.5em;
}

.list-checkmark > li::before {
  content: "\f00c";
  display: inline-block;
  width: 1.25em;
  margin-left: -1.5em;
  font-family: "FontAwesome";
  color: var(--primary-color);
}

/*
------------------
List Group
------------------
*/
.list-group-item > a {
  display: block;
}


/* Blockquotes
-------------------------------------------------------------------------------- */
blockquote {
  position: relative;
  margin: 30px auto;
  padding: 30px 30px 30px 75px;
  background-color: rgba(0, 87, 61, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 8px solid var(--primary-color);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: Arial;
  font-size: 4em;
}

blockquote footer,
blockquote small,
blockquote .small {
  font-size: 100%;
  color: inherit;
  opacity: 0.6;
}

/* Well
-------------------------------------------------------------------------------- */
.well {
  color: #333;
}


/* Well
-------------------------------------------------------------------------------- */
.well {
  padding: 30px;
  background-color: var(--secondary-color);
  border: 1px solid rgba(0, 0, 0, 0.125);
}


/* Card
-------------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  padding: 15px;
  color: #333;
  background-color: #fff;
  /* border: 1px solid rgba(0, 0, 0, 0.125); */
  border-radius: 6px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 150ms ease-in-out 0s;
}

.card:hover {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

.card .card-thumbnail {
  margin: -15px -15px 15px -15px;
  border: 0;
}

.card .card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .card-body {
  flex: 1;
}

.card > *:last-child {
  margin-bottom: 0;
}

.card .btn {
  font-family: 'Open Sans', sans-serif;
}

.card .btn-link {
  color: var(--accent-color);
}

/* Horizontal Rule
-------------------------------------------------------------------------------- */
hr {
  position: relative;
  width: 60%;
  margin: 40px auto;
  overflow: visible;
  color: var(--primary-color);
  border-color: inherit;
}

hr::before {
  content: "\f005";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.28571429em;
  font-family: "FontAwesome";
  text-align: center;
}

/* Scrolling Ticker / Client Logos
--------------------------------------------------------------------------------
<div class="scrolling-ticker-wrapper">
  <ul class="scrolling-ticker">
    <li><a href="#" target="_blank"><img alt="" src="..." /></a></li>
  </ul>
</div>
*/

.scrolling-ticker-wrapper {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 15px);
  overflow: hidden;
}

.scrolling-ticker {
  display: flex;
  gap: 30px;
  width: max-content;
  max-width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: ticker 60s linear infinite;
}

/* Pause on Hover */
.scrolling-ticker:hover {
  animation-play-state: paused;
}

.scrolling-ticker li {
  display: flex;
  align-items: center;
  width: 150px;
}

.scrolling-ticker a {
  display: flex;
  flex: 1;
  align-items: center;
  height: 100%;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}
