:root {
  --font-family: Arial, Helvetica, sans-serif;
  --erland-yellow: #fbb755;
  --color-secondary: #ffffff;
}

/* Header */

.top-header {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-family);
}

.top-header .top-header-items {
  width: 100%;
}

.top-header a {
  text-decoration: none;
  color: #ffffff;
}

.top-header .social-icons a .fab {
  border: 1px solid #ffffff;
  margin-left: 8px;
  padding: 6px 5px;
  width: 30px;
  text-align: center;
}

.covid-link {
  padding-top: 5px;
  margin-right: 2vw;
}

.covid-link a p {
  margin-bottom: 0;
  color: var(--erland-yellow);
  transition: 0.3s;
}
.covid-link a p:hover {
  color: var(--color-secondary);
}

header {
  background-image: url(../img/BG_Banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 0% 50%;
  width: 100%;
  font-family: var(--font-family);
  /* height: 400px; */
}

.header-search input {
  width: 45vw !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border: none !important;
  max-width: 700px;
}

.header-search input::placeholder {
  color: #fff !important;
}

.main-menu {
  width: 100%;
  padding-right: 12rem !important;
  padding-left: 12rem !important;
  font-weight: 600;
}

.main-menu .nav-item .nav-link {
  transition: 0.3s;
}

.main-menu .nav-item:hover .nav-link {
  color: var(--erland-yellow) !important;
}

header .portrait {
  border-radius: 50%;
  border: 2px solid #707070;
}

.users,
.nav-item,
.nav-item a {
  position: relative;
}

.users > .nav-item > .user-active::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: lime;
  /* display: block; */
  top: 35px;
  right: 8px;
  border-radius: 50%;
}

header .custom-border {
  border-left: 2px solid #fff;
  /* border-right: 2px solid #fff; */
  height: 20px;
}

header .custom-border a img {
  margin-top: -10px;
}
.dropdown-item {
  width: 270px !important;
  white-space: unset !important;
  border-bottom: 1px solid #cfd3d3 !important;
  margin: 0 10px !important;
}
.dropdown-item i {
  font-family: "Font Awesome 5 Free";
}

.dropdown-menu li:last-child .dropdown-item {
  border-bottom: none !important;
}

@media only screen and (max-width: 1399px) {
  .main-menu {
    padding-right: 6rem !important;
    padding-left: 6rem !important;
  }
}
@media only screen and (max-width: 1199px) {
  .header-search input {
    width: 25vw !important;
  }
  .main-menu {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }
}
@media only screen and (max-width: 767px) {
  .logo {
    width: 100%;
    justify-content: center;
  }
  .header-search,
  .header-search > input {
    width: 100% !important;
    margin-top: 20px;
  }
  .users {
    width: 100%;
    justify-content: center;
  }
  .main-menu {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .main-menu > .nav-item {
    width: 100%;
    text-align: center;
  }
}
@media only screen and (max-width: 575px) {
  .top-header {
    margin-top: 0 !important;
  }

  .top-header-items {
    flex-direction: column;
    text-align: center;
    margin-top: 0 !important;
  }

  .covid-link,
  .social-icons {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Mainview */

.mainview {
  font-family: var(--font-family);
}

.common-title {
  width: 100%;
  background-color: #035ba9;
  border-radius: 10px;
  padding: 15px 0px;
  font-size: 1.8rem;
  color: #ffffff;
  text-align: center;
  font-family: var(--font-family);
  text-transform: uppercase;
  font-weight: 600;
}

.mainview .card {
  border: none;
}
.mainview .card .card-body {
  color: #035ba9;
}
.mainview .card .card-body .card-title {
  font-size: 1.3rem;
  margin-bottom: 0.1rem;
}

.mainview .card .card-body a {
  color: #80878f;
  font-size: 1.1rem;
  font-weight: 600;
}

/* .mainview > .container > .row > div:first-child {
  padding-right: 2rem !important;
}
.mainview > .container > .row > div:nth-child(2) {
  padding-left: 2rem !important;
} */

.cards-container {
  display: flex;
}

.cards-container .modal {
  color: #80878f;
  font-weight: 200;
}

.card img {
  border-radius: 10px;
}

.card > .card-body {
  position: relative;
}

.stand-out-link {
  cursor: pointer;
  transition: 0.3s;
  color: #80878f;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.stand-out-link:hover {
  color: var(--erland-yellow) !important;
}

.vision-mission {
  position: relative;
  width: 100%;
}

.vision-mission h1 {
  margin-bottom: 25px;
}

/* .vision-mission a {
  font-size: 1.2rem;
  color: #035ba9;
  margin-top: 10px;
} */

.milestones iframe,
.vision-mission iframe {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 20;
  bottom: 0;
}

.event {
  display: flex;
}

.event .day-event {
  background-color: #fbb755;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  padding: 15px;
}

.event .description-event {
  background-color: #dddede;
  border-radius: 10px;
  text-align: center;
  color: #035ba9;
  padding: 24px 20px;
}

.event .description-event a {
  color: #035ba9;
}

.event .day-event h1 {
  font-size: 6.2rem;
  line-height: 0.8;
}

.custom-padding {
  padding: 20px 15px;
}

.calendar-link .modal {
  pointer-events: none;
}

.calendar-link .modal-dialog {
  background: #fff;
  border-radius: 10px;
  max-width: 800px !important;
  pointer-events: all;
}

.calendar-link .modal-dialog-centered {
  display: block !important;
  min-height: unset !important;
}

.schedule {
  background-image: url(../img/schedule_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 30px;
  padding-bottom: 50px;
  border-radius: 10px;
}

.schedule .row .col-12 h1 {
  /* color: #ffffff; */
  font-weight: 600;
  font-size: 2.5rem;
  -webkit-text-stroke-width: 1px;
  -moz-text-stroke-width: 1px;
  -webkit-text-stroke-color: #ffac00;
  -moz-text-stroke-color: #ffac00;
  color: transparent;
  text-shadow: -2px 0px #ffffff;
  font-family: --var(--font-family);
  margin-left: 20px;
}
.schedule > .row > .col-4 {
  padding-top: 20px;
  padding-left: 30px;
}

.schedule > .row > .col-4 p {
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.2;
}

.schedule > .row > .col-4 .row {
  margin-bottom: 18px;
}

.erland-store .store-link {
  margin-top: 1rem;
}

.erland-store .store-link > div {
  padding-right: 4rem !important;
  padding-left: 4rem !important;
}
.erland-store .store-link > div > p {
  color: #035ba9;
  word-spacing: 0.2rem;
  margin-bottom: 0;
}
.erland-store .store-link > div > p {
  font-size: 1.5rem;
}
.erland-store .store-link > div > a > p {
  color: #035ba9;
  font-weight: bold;
  margin-top: 10px;
}

.erland-store .store-gallery img {
  border: 1px solid gray;
}

.erland-store .store-gallery .price {
  color: #2a6465;
}

/* Value & Downloads */

.vision-mission .modal-content .btn-close {
  opacity: 1;
}

.vision-mission .modal-dialog {
  max-width: 1260px !important;
}

#modallist {
  padding: 0 1.5rem 1.5rem 1.5rem;
}
.vision-mission .modal-dialog .modal-content .modal-header {
  padding: 5px !important;
}

.vision-mission #modallist div img {
  border-radius: 10px;
}

.vision-mission #modallist,
.vision-mission #modallist li a {
  color: #035ba9 !important;
}

.vision-mission #modallist div ul li:first-child {
  border-bottom: 1px solid #000 !important;
}

/* NewsFlash Section */

.newsflash .row div img {
  width: 100%;
}

.hr-updates .accordion-button,
.newsflash .accordion-button {
  transition: 0.3s;
  font-weight: bold;
}
.hr-updates .accordion-button:hover,
.newsflash .accordion-button:hover {
  color: var(--erland-yellow) !important;
}

.newsflash-list ul {
  width: 100%;
  padding-left: 0;
}
.newsflash-list ul li {
  margin-top: 20px;
  border-bottom: 2px solid gray;
  padding-bottom: 15px;
}
.newsflash-list ul li p {
  color: #035ba9;
  font-size: 1.3rem;
  margin-bottom: 0;
  line-height: 1.3;
}
.newsflash-list ul li .fa-solid {
  color: #035ba9;
  font-size: 1.5rem;
}

.hr-updates .row div img {
  width: 100%;
}

.hr-updates-list ul {
  width: 100%;
  padding-left: 0;
}
.hr-updates-list ul li {
  margin-top: 20px;
  border-bottom: 2px solid gray;
  padding-bottom: 10px;
}
.hr-updates-list ul li p {
  color: #035ba9;
  font-size: 1.3rem;
  margin-bottom: 0;
  line-height: 1.3;
}
.hr-updates-list ul li .fa-solid {
  color: #035ba9;
  font-size: 1.5rem;
}

.accordion-button {
  color: #035ba9 !important;
  font-size: 1.3rem !important;
  margin-bottom: 0 !important;
  line-height: 1.3 !important;
}

.accordion-button::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0a9" !important;
  background-image: unset !important;
  background-repeat: unset !important;
  font-size: 1.5rem;
  color: #035ba9;
  transform: rotate(0deg);
  width: unset !important;
  height: unset !important;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(90deg) !important;
  color: var(--erland-yellow) !important;
}

.accordion-item {
  border-left: none !important;
  border-right: none !important;
  border: unset !important;
  border-bottom: 2px solid #80878f !important;
}

.accordion-button:focus {
  border-color: unset !important;
  box-shadow: unset !important;
}

.accordion-item .accordion-button {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.accordion-button:not(.collapsed) {
  background-color: unset !important;
}

/* Employees Page */

.employeer-banner-item {
  background: #fbb756;
  color: #ffffff;
  padding: 15px;
  text-align: center;
}

.employeer-banner-item p {
  border: 2px dotted #035ba9;
  padding: 18px;
  font-size: 1.5rem;
}

.milestones .row div:first-child {
  padding-right: 1.5rem;
}
.milestones .row div:nth-child(2) {
  padding-left: 1.5rem;
}

.promotions .cards-container {
  display: unset;
}

.promotions .cards-container .card {
  padding-left: 1rem;
  padding-right: 1rem;
}
.promotions .cards-container .card img {
  border-radius: 0;
}
.promotions .cards-container .card-body .card-title {
  color: #0f91d0;
  font-size: 1.3rem;
  margin-bottom: 2px;
}
.promotions .cards-container .card-body .card-text {
  color: #0f91d0;
  font-size: 1.2rem;
}
.promotions .cards-container .card-body p {
  color: #707070;
}

.imagelinks img {
  margin-bottom: 60px;
}

/* Newsletter page */

.newsletters-grid div {
  position: relative;
  padding: 0 1.6rem 3rem 1.6rem !important;
  overflow: hidden;
}

.newsletters-grid a .newsletters-link {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 4px 8px;
  border-radius: 20px;
  transition: 0.5s;
  z-index: 10;
  min-width: 132px;
}

.newsletters-grid div:hover a .newsletters-link {
  top: 40%;
  transform: translateX(-50%);
}

.newsletters-grid div:hover img {
  filter: brightness(50%);
}

.newsletters-grid div img {
  border: 1px solid #707070;
  transition: 0.5s;
}

/* Estimating & Purchasing Page */

.estimating > .estimating-hero {
  background-image: url(../img/Estimating_hero.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  width: 100%;
  height: 650px;
}

.estimating > .estimating-hero > .container > .estimating-heading {
  background-color: #ffffff;
  display: inline;
  font-size: 3.8rem;
  padding: 10px 50px;
  color: #035ba9;
  font-weight: 200;
  letter-spacing: 2px;
  font-family: var(--font-family);
}

.estimating > .container > .estimating-info {
  margin-top: -180px;
  background-color: #ffffff;
  padding: 55px 50px;
}

.estimating > .container > .estimating-info p {
  line-height: 2.2;
}

.estimating-download {
  position: relative;
}

.estimating-download-items {
  position: absolute;
  padding: 60px 60px !important;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.estimating-download-items > .download-item a {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
}

.employees-portraits > div {
  position: relative;
  overflow: hidden;
}

.employees-portraits img {
  border-radius: 50%;
  margin-bottom: 20px;
}

.employee-portrait-name {
  color: #ffffff;
  font-weight: 600;
  position: absolute;
  top: -45%;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.1 !important;
  text-align: center;
  transition: 0.5s;
}
.employees-portraits > div:hover .employee-portrait-name {
  top: 55%;
  text-shadow: 0 0 10px black;
}

/* Committee Page */

.committees .card .card-body .card-title {
  color: #004c9b;
  font-weight: 600;
}
.committees .card .card-body p {
  color: #004c9b;
  /* font-weight: 600; */
}

.committees .committees-employee h4,
.committees .committees-employee p {
  color: #0f91d0 !important;
  font-weight: 400 !important;
}

.committees .card {
  border-radius: unset !important;
  border-bottom: 1px solid #707070;
  border-left: none !important;
  border-top: none !important;
  border-right: none !important;
}
.committees .card img {
  border-radius: 50%;
}

/* Procore Page */

.procore .btn {
  background-color: #035ba9 !important;
  color: #ffffff;
  padding: 4px 15px;
  font-size: 0.91rem;
}

/* Social Media Sharing Center Page */

.socialcenter .social-icons a {
  text-decoration: none;
}
.socialcenter .social-icons a svg {
  margin-left: 15px;
}

/* Tried & Blue Blog & Podcast */

.blogpodcast .btn {
  background-color: #035ba9 !important;
  color: #ffffff;
  padding: 4px 15px;
  font-size: 0.91rem;
}

/* Erland Videos */

.erlandvideos iframe {
  border-radius: 12px;
}

/* Erland Employees Page */

.employee-search form input {
  position: relative;
  margin: 0 auto;
  /* left: 50%; */
  border-color: #035ba9;
}
.employee-search form input::placeholder {
  color: #035ba9;
}

.erlandemployees {
  position: relative;
}

.erlandemployees-item {
  /* width: 250px !important; */
  color: #0f91d0;
}

.erlandemployees-item img {
  padding: 2rem 4rem 0 4rem !important;
}

.erlandemployees-item .card-title {
  font-size: 1.3rem;
}

.erlandemployees-item .card-text {
  font-size: 1.2rem;
  line-height: 1.2;
}

.erlandemployees-icons {
  font-size: 1.5rem;
}

.erlandemployees-icons a {
  text-decoration: none;
  color: #035ba9;
}

.erlandemployees-icons .fa-light {
  font-family: "Font Awesome 5 Free";
}

.erlandemployees-icons .fa-light {
  margin-right: 14px;
  border-right: 2px solid #c1c5c7;
  padding-right: 15px;
}

@media only screen and (max-width: 1399px) {
  .event .description-event {
    padding: 18px 15px;
    height: 160px;
  }
  .schedule {
    background-position: 60%;
  }
}
@media only screen and (max-width: 1199px) {
  .event .description-event {
    padding: 10px 15px;
    height: 160px;
  }
  .event .day-event {
    height: 160px;
  }
  .event .day-event h1 {
    font-size: 5rem;
  }
  .estimating-download-items {
    padding: 30px 30px !important;
  }
}
@media only screen and (max-width: 992px) {
  .event .description-event {
    height: 210px;
  }
  .event .day-event {
    height: 210px;
  }
  .event .day-event h3 {
    font-size: 2vw;
  }
  .event .day-event h1 {
    font-size: 5vw;
  }
  .common-title {
    font-size: 1.3rem;
  }
  .estimating > .estimating-hero > .container > .estimating-heading {
    font-size: 3.5rem;
  }
}
@media only screen and (max-width: 767px) {
  .event .description-event {
    height: unset;
  }
  .event .day-event {
    height: unset;
  }
  .event .day-event h3 {
    font-size: 3vw;
  }
  .event .day-event h1 {
    font-size: 6vw;
  }
  /* .mainview > .container > .row > div:first-child {
    padding-right: 1rem !important;
  }
  .mainview > .container > .row > div:nth-child(2) {
    padding-left: 1rem !important;
  } */
  .common-title {
    font-size: 1.8rem;
  }
  .cards-container {
    display: unset;
  }
  .milestones .row div:first-child {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    margin-bottom: 1rem;
  }
  .milestones .row div:nth-child(2) {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
  .estimating > .estimating-hero > .container > .estimating-heading {
    font-size: 5vw;
  }
}
@media only screen and (max-width: 500px) {
  .estimating > .container > .estimating-info {
    padding: 15px 15px;
  }
}

/* Footer */

footer {
  background-image: url(../img/BG_Banner.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 100% 85%;
  width: 100%;
  font-family: var(--font-family);
  color: #ffffff;
}

footer nav li {
  list-style-type: none;
  margin-bottom: 25px;
}

footer a {
  text-decoration: none;
  color: #ffffff;
}

footer .social-icons a .fab {
  border: 1px solid #ffffff;
  margin-left: 8px;
  padding: 6px 5px;
  width: 30px;
  text-align: center;
}

.footer-search input {
  width: 100% !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border: none !important;
  max-width: 700px;
}

.footer-search input::placeholder {
  color: #fff !important;
}

.footer-menu {
  width: 100%;
  border-bottom: 1px solid #fbb755;
  padding: 0 0 !important;
}

.footer-menu li {
  list-style-type: none;
  margin-bottom: 5px;
}

.footer-menu .contactus {
  font-size: 1.1rem;
  font-weight: bold;
  border-bottom: 5px solid orange;
  display: inline-block;
  line-height: 1;
}

.footer-menu .contactus a p {
  transition: 0.3s;
  margin-bottom: 8px;
}

.footer-menu .contactus a p:hover {
  color: #035ba9;
}

.copyright {
  width: 100%;
  color: #ffffff;
}

.copyright li {
  margin-left: 20px;
}

.copyright li:not(:first-child) {
  list-style-type: disc;
}

@media only screen and (max-width: 575px) {
  footer nav {
    text-align: center;
  }
  footer .social-icons {
    text-align: center;
    margin-top: 20px;
  }
}
