body {
  background-color: #fff;
}
p {
  font-size: 20px;
}
h1 {
  font-size: 36px;
  color: #00579c;
  margin-bottom: 0;
}
#centre-content {
  margin-top: 0em;
}
.title-underline {
  height: 1px;
  background-color: #00579c;
  margin-top: 0;
}
#footer {
  margin: 0;
}
.right-then-left {
  text-align: right;
}
.more-padding {
  padding-top: 2em;
  padding-bottom: 2em;
}
/* NAVBAR */
#top-bar, .navbar {
  padding-left: 5em;
  padding-right: 5em;
}


/* carousel */
.carousel-item {
  position: relative;
}
.carousel-image {
  position: relative;
  object-fit: cover;
  right: 0%;
  width: 100%;
}
.carousel-text {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translate(-8%, -50%);
  color: #fff;
  width: 30vw;
}
.carousel-text--left {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(10%, -50%);
  color: #fff;
  width: 38vw;
}
.carousel-text p, .carousel-text--left p {
  font-size: 20px;
  line-height: 22px;
}
.carousel-indicator li {
  z-index: 1;
}
h3 {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 1.5px;
}
.link--white {
  color: #fff;
  text-decoration: underline;
}
.link--white:hover {
  text-decoration: underline;
}


/* News */
.news-box {
  background-color: #f7f7f7;
  -webkit-box-shadow: 0 0 10px #cacace;
     -moz-box-shadow: 0 0 10px #cacace;
          box-shadow: 0 0 10px #cacace;
          /* box-shadow: 0px 4px 10px #d6d6d6; */
  border-radius: 2px;
  padding: 2em;
  padding-top: 1em;
  padding-bottom: 1em;
  position: relative;
  margin-bottom: -70px;
  top: -120px;
  z-index: 999;
  transition: 0.5s;
}

.close-news {
  position: absolute;
  width: 25px;
  height: 25px;
  padding: 0;
  margin: 0;
  right: 1em;
  background: none;
}
.close-news:hover {
  cursor: pointer;
}
.close-news:before {
  content: '';
  position: absolute;
  height: 25px;
  width: 4px;
  background: #a0a0a0;
  border-radius: 2px;
  transform: rotate(45deg);
  left: 11px;
}
.close-news:after {
  content: '';
  position: absolute;
  height: 25px;
  width: 4px;
  background: #a0a0a0;
  border-radius: 2px;
  transform: rotate(-45deg);
  left: 11px;
}
.close-news:hover:after, .close-news:hover:before {
  background: #858585 !important;
}

.news-box h1 {
  margin-bottom: 0.5em;
}
.news-box__text h2 {
  color: #00579c;
  font-size: 28px;
  font-weight: bold;
}
.news-box__img img {
  max-width: 100%;
  border-radius: 2px;
  display: block;
}
.news-box__img .logo {
  margin-left: auto !important;
  margin-right: auto !important;
}
.news-box__img .example {
  width: 100%;
}
.news-box__text .button--wide {
  font-size: 18px;
}
.news-item {
  min-height: 150px;
}
.news-box .carousel-indicators {
  position: relative;
  margin-top: 2em;
  margin-bottom: 0;
}
.news-box .carousel-indicators li {
  background-color: #00579c;
  margin-left: 0.5em;
  margin-right: 0.5em;
}



/* DESIGN TOOLS*/
.table-imge {
  margin: 1em;
}
.vendor-box {
  width: 200px;
  height: 100px;
  line-height: 100px;
  background-color: #fff;
  border: 0;
  border-radius: 5px;
     -moz-box-shadow: 0 0 10px #cacace;
  -webkit-box-shadow: 0 0 10px #cacace;
          box-shadow: 0 0 10px #cacace;
  margin: 0.5em;
  transition: 0.3s;
}
.vendor-box:hover {
  box-shadow: 0 0 10px #00579c;
  color: #00579c;
}
.vendor-box img {
  width: 150px;
  text-align: center;
}
.vendor-box div {
  width: 150px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}


/* Training & Membership */
.image-section {
  text-align: center;
}
.home-section {
  background-color: #f7f7f7;
}
.image-section img {
  width: 100%;
  margin-top: 1em;
  margin-bottom: 1em;
  border-radius: 5px;
}
.text-section {
  margin-top: auto;
  margin-bottom: auto;
}
.text-section p {
  margin-top: 2em;
  /* margin-bottom: 0; */
}


/* About Us */
#about_us__img {
  width: 75%;
}


/****** TESTING ******/
/** VIDEO **/
.news-video video {
  width: 100%;
  height: 600px;
}


/* Large Resizing */
@media (max-width: 1200px){
  #top-bar, .navbar {
    padding-left: 1em;
    padding-right: 1em;
  }
  h3 {
    font-size: 24px;
  }
}



/* Large Resizing */
@media (max-width: 992px){
  .right-then-left {
    text-align: left;
  }
  .image-section img {
    width: 400px;
  }
  .text-section {
    margin-top: 2em;
  }

  .news-box {
    margin-bottom: -50px;
    top: -100px; 
    padding: 1.5em;
  }
  .news-box__text .button--wide {
    padding: 0.1em;
    padding-left: 0.2em;
    padding-right: 0.2em;
  }
  h3 {
    font-size: 22px;
  }
}

/* Phone Resizing */
@media (max-width: 768px){
  h1 {
    font-size: 26px;
  }
  p {
    font-size: 16px;
  }

  .navbar {
    padding-left: 1.5em;
    padding-right: 1.5em;
  }

  .carousel {
    display: none;
  }

  .news-box {
    padding: 1em;
    width: 95%;
    top: 0;
    margin-top: 2em;
    margin-bottom: 2em;
  }
  .news-box h1 {
    margin-bottom: 1em;
  }
  .news-box__text .button--wide, .news-box__text {
    font-size: 16px;
  }
  .news-box .carousel-indicators {
    margin-top: 1em;
  }
  .news-box__img .logo {
    width: fit-content;
    margin-bottom: 0.5em;
  }
  

  #vendors {
    margin-top: 1em;
  }
  .vendor-box {
    width: 125px;
  }
  .vendor-box img {
    width: 100px;
  }

  .image-section {
    text-align: center;
  }
  .image-section img {
    width: 100%;
  }
  .text-section h1 {
    padding: 0;
  }

}



/* Small Phone Resizing */
@media (max-width: 576px){
  .vendor-box {
    width: 40%;
  }
  .vendor-box img {
    width: 90%;
  }
}
