@media (max-width: 768px) {
  #home-services {
    padding: 0 20px;
  }
}

#home-banner {
  max-height: 570px;
  height: 80vh;
  position: relative;
  background-image: url(/ssessments/images/stockPhotos/homepage1.jpg),
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
}

#home-banner .banner-text {
  font-size: 32px;
  font-weight: 100;
  line-height: 44px;
  color: #ffffff;
  position: absolute;
  top: 40%;
  left: 50%;
  margin-left: 15px;
  transform: translate(-50%, -50%);
  padding: 30px 10px;
  text-align: center;
  width: 80%;
}

@media (max-width: 856px) {
  .head-main-nav ul.main-header li a {
    font-size: 12px;
  }

  #home-banner .banner-text {
    font-size: 22px;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  #home-banner {
    margin-top: 0;
    height: 50vh;
  }
  #home-banner .banner-text {
    top: 40%;
    left: 50%;
    line-height: 1.3;
    font-size: 24px;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 420px) {
  #home-banner .banner-text {
    top: 40%;
    left: 50%;
    line-height: 1.3;
    font-size: 20px;
    transform: translate(-50%, -50%);
  }
  .bottom-box-text p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .image-box img {
    width: 100%;
  }
}

.home-wrapper {
  max-width: 1368px;
  margin: 0 auto;
}

.services-image-box {
  display: flex;

  padding: 50px 0;
}

.services-image-box .image-box {
  margin: 0 10px;
  position: relative;
}

.services-image-box .image-box-text {
  position: absolute;
  font-size: 16px;
  line-height: 22px;
  padding: 0 1rem;
  color: #fff;
  text-shadow: 0 0 10px #000;
  bottom: 40px;
}
.services-image-box .image-box-text:hover {
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 768px) {
  .services-image-box {
    flex-wrap: wrap;
    justify-content: center;
  }
  .services-image-box .image-box {
    margin: 0 0 10px 0;
  }
  .services-image-box .image-box img {
    max-width: 600px;
  }
  .services-image-box .image-box-text {
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    line-height: 1.5;
  }
}

#home-services {
  margin-bottom: 50px;
}

.service-title {
  padding: 20px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  color: #220f25;
  border-bottom: 1px solid #220f25;
}

.service-bottom-container {
  display: flex;
  margin-top: 50px;
}

.service-bottom-container .services-bottom-box {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  text-align: center;
  max-width: 400px;
}

.service-bottom-container .services-bottom-box .bottom-box-image {
  height: 205px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  min-width: 300px;
}
@media screen and (min-width: 1100px) {
  .service-bottom-container .services-bottom-box {
    max-width: 310px;
  }
}
@media screen and (min-width: 1300px) {
  .service-bottom-container .services-bottom-box {
    max-width: 400px;
  }
}


.bottom-box-text h2 {
  margin: 20px 0;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .service-bottom-container .services-bottom-box {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .service-bottom-container .services-bottom-box .bottom-box-image {
    border: none;
    background-color: transparent;
  }
  .service-bottom-container .services-bottom-box .bottom-box-image i {
    color: #000000;
    top: 25%;
  }
}

/* Market tabs */
ul.tabs {
  margin: 0;
  padding: 0;
  float: left;
  list-style: none;
  background-color: #ffffff;
  width: 100%;
  border-bottom: 1px solid #220f25;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  height: auto;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

ul.tabs li {
  float: left;
  margin: 0;
  cursor: pointer;
  padding: 0px 20px;
  color: #fff;
  border-bottom: 0px;
  overflow: hidden;
  position: relative;
  line-height: 45px;
}

ul.tabs li:hover {
  background-color: #37183c;
  color: #fff;
}

.tab_container {
  clear: both;
  float: left;
  width: 100%;
}

.tab_content {
  padding: 20px;
  display: none;
  color: #fff;
}

.tab-accordion_heading {
  display: none;
}

@media screen and (max-width: 768px) {
  .tabs {
    display: none !important;
  }
  .tab-accordion_heading {
    margin: 0;
    padding: 10px 20px;
    display: block;
    cursor: pointer;
    font-weight: normal;
    color: #fff;
    font-size: 1em;
  }
}

.tab_container {
  min-height: auto;
  max-height: auto;
}

.tab_content {
  display: flex;
  justify-content: left;
}

.active {
  background-color: #37183c;
}

/* Market tabs */

#home-markets {
  background-color: #220f25;
  padding-bottom: 100px;
}
#home-commodities {
  background-color: #ffffff;
  padding: 50px 0;
}

.commodities-title {
  padding: 20px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  color: #220f25;
  border-bottom: 1px solid #220f25;
}

.commodities-container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.commodities-box {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 30%;
  min-height: 500px;
  position: relative;
}

.box-absolute {
  position: absolute;
  top: 50%;
  left: 0;
  padding: 50px 20px;
  line-height: 1.7;
  transform: translateY(-50%);
  align-items: center;
  display: flex;
  height: 100%;
  width: 100%;
  background-color: rgba(34, 15, 37, 0.7);
}
.box-absolute ul {
  color: #ffffff;
}

.box-absolute ul li:hover {
  text-decoration: underline;
}

.box-absolute ul li {
  text-shadow: 1px 3px 2px rgba(255, 255, 255, 0.2);
}

.box-absolute ul li a i {
  margin-right: 10px;
}

.commodities-box .box-title {
  font-size: 24px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  top: 10px;
}

@media screen and (max-width: 768px) {
  .commodities-container {
    flex-direction: column;
  }
  .commodities-box {
    margin: 10px 0;
    width: 100%;
    min-height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .box-absolute ul {
    display: flex;
    flex-wrap: wrap;
  }
  .box-absolute ul li {
    margin-right: 10px;
  }
  .box-absolute ul li a i {
    margin-right: 2px;
  }
}

@media screen and (max-width: 380px) {
  .box-absolute ul li {
    font-size: 13px;
  }
}

@media screen and (max-width: 464px) {
  .services-image-box .image-box-text {
    font-size: 17px;
  }
}

@media screen and (max-width: 409px) {
  .services-image-box .image-box-text {
    font-size: 14px;
  }
}

#typer {
  color: #00b6ed;
  font-weight: 600;
  font-style: italic;
}
#cursor {
  border-left: 0.05em solid #00b6ed;
  animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.bottom-box-image img {
  height: 100% !important;
  width: 100% !important;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.bottom-box-image img:hover {
  cursor: pointer;
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}

.bottom-box-image .overlay-image {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(34, 15, 37, 0.3);
  position: absolute;
  pointer-events: none;
}

@media only screen and (max-width: 1024px) {
  .service-bottom-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .service-bottom-container .services-bottom-box {
    margin-bottom: 10px;
  }
}

.tab-image {
  max-width: 400px;
}

.box-column {
  text-align: center;
  margin-left: 100px;
}
.box-column div {
  display: flex;
  max-width: 500px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  margin-top: 20px;
}

.box-column div li {
  list-style-type: none;
  padding: 0 10px;
  font-weight: unset !important;
}

.box-column div li a {
  font-weight: unset !important;
}

.box-column div li a:hover {
  color: #fff !important;
}

.markets-container {
  position: relative;
}

.home-btn {
  background-color: #37183c;
  padding: 15px;
  border-radius: 5px;
  color: #ffffff;
  margin-top: 20px;
  transition: 0.3s all ease-in-out;
  align-self: center;
}

.home-btn:hover {
  background-color: #492050;
}

.button-container {
  display: flex;
  justify-content: center;
}

.tab_content div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 115px;
  margin: 0 auto;
}

.tab_content div li {
  list-style-type: circle;
  margin-right: 30px;
}

.tab_content div li a {
  font-size: 19px !important;
}

@media only screen and (max-width: 1024px) {
  .tab_content div {
    min-height: 150px;
    font-size: 0px !important;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */
  .service-bottom-container .services-bottom-box {
    display: inline;
  }
}

@supports (-ms-accelerator: true) {
  /* IE Edge 12+ CSS styles go here */
  .service-bottom-container .services-bottom-box {
    display: inline;
  }
}
.bottom-box-text a:hover  {
    color: #53185c;
    text-decoration: underline;
}

