﻿.home-section {
    padding-left: 30px;
    padding-right: 30px;
}

.home-section h1 {
    margin-top: 25px;
    margin-bottom: 0px;
    font-size: 30px;
    font-weight: 700;
}

.home-section .button-container {
    padding-left: 0px;
    padding-right: 0px;
}

.callout-block .title-wrapper {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.callout-block .title-wrapper h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0px;
}

.callout-block {
    padding: 20px;
    border-radius: 10px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.callout-block p {
    line-height: 19px;
    margin-top: 15px;
}

.callout-block.orange {
    background: #DB9533;
}

.callout-block.blue {
    background: #7495A2;
}

.callout-block.green {
    background: #A19947;
}

.callout-block.brown {
    background: #454231;
}

.icon-wrapper img {
    max-height: 50px;
    height: 50px;
    width: auto!important;
    max-width: unset;
}

.title-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
}

.callout-btn {
    color: white;
    border-radius: 50px;
    padding: 6px 6px 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min-content;
    gap: 10px;
    transition: all .5s ease;
}

.callout-btn i {
    font-size: 20px;
}

p.align-right {
    display: flex;
    justify-content: end;
    margin-bottom: 0px;
    margin-top: auto !important;
}

.green-btn {
    background: #A09751;
}

.brown-btn {
    background: #454231;
}

.callout-btn:hover {
    background: white;
    color: #454231;
}

/* OL Styles */

.content-block ol {
    list-style: none;
    padding-left: 0;
}

.content-block ol li {
  position: relative;
  padding-left: 45px;
  margin-bottom: 25px;
}

.content-block ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Pro"; 
  font-weight: 900; 
  font-size: 28px;
  color: #A19947;
}

.content-block ol li:nth-child(1)::before {
  content: "\e0ee"; 
}

.content-block ol li:nth-child(2)::before {
  content: "\e0ef"; 
}

.content-block ol li:nth-child(3)::before {
  content: "\e0f0"; 
}

.content-block ol li:nth-child(4)::before {
  content: "\e0f1"; 
}

.content-block ol li:nth-child(5)::before {
  content: "\e0f2"; 
}

.content-block ol li:nth-child(6)::before {
  content: "\e0f3"; 
}

.top-row {
    margin-top: 40px;
    margin-bottom: 60px;
}

.bottom-row {
    margin-bottom: 30px;
}

/* Videos */

.carousel-thumbnails {
    display: flex;
    align-items: center;
    gap: 19px;
    padding-top: 20px;
}

.carousel-thumbnails img {
    width: 31%;
    padding: 0px;
    border-radius: 6px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; 
    overflow: hidden;
    width: 100%; 
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

h3.tutorial-title {
    font-weight: 700;
    font-size: 21px;
}

.content-block {
    /*padding-top: 50px;*/
}

div#videoCarousel {
    border-radius: 6px 0px 6px 6px;
    overflow: hidden;
}

.arrows {
    height: 39px;
    width: 82px;
    background: #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 9px 8px 9px;
    border-radius: 40px;
}

.arrows a {
    background: none !important;
    position: relative;
    height: unset;
    opacity: 1;
    text-shadow: none;
    display: inline-block;
    width: 27px;
    height: 27px;
    /*margin-top: 2px;*/
}

.arrows a i {
    font-size: 27px;
    color: #DB9533;
}

.top-video-container {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.row.bottom-row {
    display: flex;
}

.single-video {
    border-radius: 15px;
}

.carousel-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

h3.tutorial-title {
    margin-bottom: 0px;
}

/***************************/

/* YOUR CSS simplified */  
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
        display: block;
        height: auto;
        width: 100%;
        line-height: 1;
    }

.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}    
.carousel-fade .carousel-inner .active {
  opacity: 1;
}    
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}    
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}    
.carousel-fade .carousel-control {
  z-index: 2;
}

/*WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}


@media (min-width: 1200px) and (max-width: 1366px) {
    .icon-wrapper img {
        max-height: 30px;
        height: 30px;
    }

    .title-wrapper {
        gap: 10px;
    }

    .callout-block p {
        margin-top: 10px;
        font-size: 15px;
    }

    .row.bottom-row > div {
        padding-left: 7px;
        padding-right: 7px;
    }

    .row.bottom-row > div:first-child {
        padding-left: 15px;
    }

    .row.bottom-row > div:nth-last-of-type(1) {
        padding-right: 15px;
    }

    .callout-block {
        padding: 17px 10px 10px;
    }

    .carousel-thumbnails {
        gap: 14px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .row.bottom-row {
        flex-wrap: wrap;
    }

    .row.bottom-row > div {
        margin-bottom: 14px;
    }

    .carousel-thumbnails {
        gap: unset;
        justify-content: space-between;
        padding-top: 10px;
    }

    .content-block ol li {
        font-size: 15px;
        line-height: 21px;
    }

    .row.bottom-row > div {
        padding-left: 7px;
        padding-right: 7px;
    }

    .row.bottom-row > div:first-child,
    .row.bottom-row > div:nth-of-type(3) {
        padding-left: 15px;
    }

    .row.bottom-row > div:nth-last-of-type(1),
    .row.bottom-row > div:nth-of-type(2) {
        padding-right: 15px;
    }

    .home-section h1 {
        font-size: 24px;
    }

    h3.tutorial-title {
        font-size: 18px;
        margin-bottom: 13px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .row.bottom-row {
        flex-wrap: wrap;
    }

    .row.bottom-row > div {
        margin-bottom: 14px;
    }

    .carousel-thumbnails {
        gap: unset;
        justify-content: space-between;
        padding-top: 20px;
    }

    .content-block ol li {
        font-size: 15px;
        line-height: 21px;
    }

    .row.bottom-row > div {
        padding-left: 7px;
        padding-right: 7px;
    }

    .row.bottom-row > div:first-child,
    .row.bottom-row > div:nth-of-type(3) {
        padding-left: 15px;
    }

    .row.bottom-row > div:nth-last-of-type(1),
    .row.bottom-row > div:nth-of-type(2) {
        padding-right: 15px;
    }

    .home-section h1 {
        font-size: 24px;
    }

    h3.tutorial-title {
        margin-bottom: 13px;
    }

    .content-block {
        padding-top: 25px;
    }
}

@media (max-width: 767px) {
    .row.bottom-row {
        flex-wrap: wrap;
    }

    .row.bottom-row > div {
        margin-bottom: 14px;
    }

    .carousel-thumbnails {
        gap: unset;
        justify-content: space-between;
        padding-top: 20px;
    }

    .content-block ol li {
        font-size: 15px;
        line-height: 21px;
    }

    .home-section h1 {
        font-size: 24px;
    }

    h3.tutorial-title {
        margin-bottom: 11px;
        font-size: 19px;
    }

    .content-block {
        padding-top: 25px;
    }

    .home-section {
        padding-left: 0px;
        padding-right: 0px;
    }
}