/* Typography */
body,
p,
h1,
h2,
h3,
h4 {
  letter-spacing: normal;
  line-height: normal;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;  
}

body,
p {
  font-weight: 400;  
}

@media (min-width: 1200px) {
  h5 {
      font-size: 17px;
      font-weight: 600;
      line-height: normal;
  }
}

/* Navigation */

.navbar-nav {
  --bs-nav-link-padding-x: 0;
  --bs-nav-link-padding-y: 0.5rem;
  --bs-nav-link-font-weight: 500;
  --bs-nav-link-color: #000;
}

/* Logo */

.logo {
  width: 160px;
}

/* Video Header */

/* Begin horizontal scrollbar fix - video container */
.ua-video-container .row {
    margin-right: 0;
}
.ua-video-container .row .col-md-12 {
    padding-right: 0;
}
/* End horizontal scrollbar fix - video container */

header {
  position: relative;
  background-color: black;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  
  
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

header * {
  color: #fff;  
}

.video-text-block {
  width: 800px;
  margin: 0 auto;  
}

.video-text-block .input-group-btn button, 
.video-text-block .input-group input {
  height: 45px;
}

@media (pointer: coarse) and (hover: none) {
  header {
    background: url('https://files.clinchtalent.com/38ebbcda79019998e0c90f548420ce79/1d52e2874db95a17c708f2d8a3ad4ed1/Screenshot%202024-11-26%20at%201.42.54%E2%80%AFp.m..png') black no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}

.no-gutters .container-fluid {
  padding: 0;
}

a, 
a:visited,
a:hover {
  color: #000;
  text-decoration: none;
}

header .form-control {    
  border: 0;
}

@media (min-width: 765px) {  
  header h1 {
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 50px;
  }
  
  header .btn {
    font-size: 14px;  
  }
}

/* Buttons */

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:visited {
  border: 3px solid #320e9f;
  background: #320e9f;
  color: #ffffff;
}

/* Card */

.card {
  padding: 15px;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

/* Posts Cards */

.posts-cards .posts-card {
  padding: 0;
  box-shadow: none;
}

/* New Tabbed Code Block */

.tab-block .nav-link {
  padding: 1.5rem 1.5rem 1.5rem 1rem;
}

.tab-block .nav-tabs .nav-link {
  color: #161616;
  font-weight: 600;
  font-size: 16px;
  border-top: 1px solid #c3c3c3;
  border-bottom: 1px solid #c3c3c3;
  border-right: 5px solid #dcdcdc;
  border-left: 0;
  border-radius: 0;
}

.tab-block .nav-tabs .nav-link.active, 
.tab-block .nav-tabs .nav-item.show .nav-link {
  color: #161616;
  font-weight: 600;
  font-size: 16px;
  background-color: #dcdcdc;
}

.tab-block .padding-right-none {
  padding-right: 0;
}

.tab-block .nav-tabs .nav-link:hover, 
.nav-tabs .nav-link:focus {
  border-radius: 0;
}

.tab-block .tab-pane {
  padding: 4rem;  
}

.tab-block .nav-link:hover:after {
  display: none;  
}

.tab-block .nav-tabs .nav-link:hover, 
.tab-block .nav-tabs .nav-link:focus {
  border-right: 5px solid #00f;
  border-left: none;
}

.tab-block .details h3 {
  padding-bottom: 15px;  
}

.no-padding {
  padding: 0!important;  
}

.tab-block li {
  margin-bottom: 0;
}

@media screen and (min-width: 575px) {
  .tab-block .col-sm-7.col-lg-9.white-bg {
    background-color: #fff;
  }
  
  .no-padding-left .col-md-12 {
    padding-left: 0!important; 
  }
  
  .no-padding-left {
    padding-left: 0!important; 
  }
}

@media screen and (max-width: 575px) {
  .tab-block .tab-content>.tab-pane {
    display: block !important;
    opacity: 1 !important;
  }
  
  .tab-block .tab-pane {
    padding: 15px;
    background-color: #fff;
    margin-bottom: 15px;
  }
  
  .no-padding-mobile {
   padding: 0!important; 
  }
  
  .read-more-blue-button {
    margin-bottom: 15px;  
  }
}

/* Carousel */

.carousel-inner {
  height: 0;
  padding-bottom: 50%; /* this sets carousel aspect ratio (4:1 here) */
}

.carousel-item {
  position: absolute !important; /* Bootstrap is insistent */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.carousel-item img {
  height: 100%; /* Bootstrap handles width already */
  object-fit: cover; /* or 'contain' if you want stretch instead of crop */
}

@media screen and (max-width: 768px) {
  .block-carousel .carousel-item .carousel-item-block.col-12 h2, 
  .block-carousel .carousel-item .carousel-item-block.col-12 .h2 {
    font-size: 18px;
  }
  
  .block-carousel .carousel-item .carousel-item-block.col-12 p {
    font-size: 12px;
  }
  }

/* Flip  cards */


.card-block .btn-outline-primary,
.card-block .btn-outline-success,
.card-block .btn-outline-danger,
.card-block .btn-primary,
.card-block .btn {
    width: 100%;
    border-radius: 0 0 4px 4px;
    bottom: 0;
    left: 0;
    position: absolute;
}

.card {
    margin: 20px 0;
}

/* Flip Cards CSS */
.card-container {
    perspective: 700px;
    padding: 0 3rem;
}

.card-flip {
    display: grid;
    position: relative;
    justify-items: center;
    justify-content: center;
    grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    width: 100%;
    height: auto;
    background: #f7f8f8;
    border: none;
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}

.card-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    height: 100%;
    width: 100%;
    border: none;
    padding: 3rem;
}

.card-flip .front {
    display: grid;
    position: relative;
    z-index: 1;
    grid-area: frontAndBack;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.card-flip .back {
    display: grid;
    position: relative;
    z-index: 0;
    align-items: center;
    justify-content: center;
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding-top: 1.5rem;
}

.card-container:hover .card-flip {
    transform: rotateY(180deg);
}

.card-with-bg-img {
    background: #fff url('https://images.pexels.com/photos/159027/bokeh-blue-light-blue-neon-159027.jpeg?auto=compress&cs=tinysrgb&w=600&h=400&dpr=1') 30% 50% no-repeat;
    background-size: cover;
    text-shadow: 3px 3px 3px #18077d;
    border-radius: 4px;
}

.card-with-bg-img .card-subtitle {
    font-weight: 600;
    letter-spacing: normal;
}
    

/* Padding */

.no-padding .col-md-12 {
  padding: 0!important;
}

/* Footer Logo */

.footer-logo {
  width: 160px;
}