@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/* CUSCOM CSS VARIABLES */

:root {
    --bs-primary-rgb: 229, 182, 17;
    --bs-primary: #e5b611;
    --bs-primary-hover: #d4a810;

    --bs-primary-text-emphasis: black;
    --bs-font-sans-serif: 'Roboto Condensed', sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-color: black;
    --bs-body-bg: #f1f1f1;
    --bs-secondary-color: black;
    --linear-gradient: linear-gradient(to right, #d2a53a, #f2dd03);
    --bs-bg-opacity: 1;

    --bs-link-color: black;
    --bs-link-color-rgb: 0, 0, 0;
    --bs-link-decoration: none;
    --bs-link-hover-color: var(--bs-primary);
    --bs-link-hover-color-rgb: var(--bs-primary-rgb);
}

a {
    transition: color 0.2s;
    text-decoration: none;
}

.lazyload {
    opacity: 0;
}

.lazyloading {
    opacity: 1;
    transition: opacity 300ms;
}

/* CUSTOMIZE COMPONENTS */

.list-group-item {
    --bs-list-group-bg: transparent;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}

.btn-primary {
    border: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    --bs-btn-bg: black;
    --bs-btn-border-color: black;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-active-bg: var(--bs-primary);
}

.btn-info {
    border: none;
    background-color: var(--bs-gray-400);
    color: var(--bs-gray-600);
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: var(--bs-gray-500);
    --bs-btn-active-bg: var(--bs-gray-500);
    
   
}

.btn-secondary {
    border: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary-hover);
    --bs-btn-active-bg: var(--bs-primary-hover);
}

.dropdown-menu {
    --bs-dropdown-color: var(--bs-body-color);
    --bs-dropdown-bg: white;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.125);
}

.fs-5 {
    font-size: 1.1275rem !important;
}

/* modals */

.modal {
    --bs-modal-bg: white;
}
.modal-backdrop {
    
    --bs-backdrop-opacity: 0.75;
  }

/* forms */

.form-label, .col-form-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.form-floating:not(.form-control:disabled)::before {
    background-color: transparent;
}


.form-select, .form-control {
    background-color: white;
}

.form-select:focus, .form-control:focus, .form-select:active, .form-control:active {
    box-shadow: 0 0 0 3px rgb(--bs-primary-rgb, 30%) !important;
}

.form-control::-moz-placeholder {
    color: var(--bs-gray-400);
}

.form-control::placeholder {
    color: var(--bs-gray-400);
}


.form-select-lg {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 0.7rem;
    font-size: 1.175rem;
}

.form-control-lg {
    padding: .5rem 0.7rem;
    font-size: 1.175rem;
}

.form-control:focus, .form-select:focus {
    border-color: rgba(var(--bs-primary-rgb), 60%);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 30%);
    background-color: white;
}

.form-check-input:checked {
    background-color: var(--bs-success);
    border-color:  var(--bs-success);
    box-shadow: 0 0 0 3px rgb(var(--bs-success-rgb), 30%) !important; 
  }
  .form-switch .form-check-input {
    height: 1.5em;
    width: 2.5rem;
    box-shadow: none;
  }
  .form-switch .form-check-label {
    padding-left: 0.75rem;
  }



/* site head top */

.site-head__top {
    background-color: #212121;
    color: white;
}

.site-head__top .navbar-brand img {
    height: 34px;
    transition: height 0.2s;
}

@media (min-width: 768px) {
    .site-head__top .navbar-brand img {
        height: 48px;
    }
}

.user-top-thumb {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.user-top-small {
    font-size: 0.75rem;
    color: white;
    display: block;
    text-decoration: none;
}

.user-top-name {
    font-size: 1.05rem;
    color: white;
    display: block;
    text-decoration: none;
    font-weight: 600;
}

.top-user-link {
    text-decoration: none;
    color: white;
}

.site-head__bottom {
    background-image: var(--linear-gradient);
}

.site-head__bottom .navbar-nav {
    padding: 0;
}

.site-head__bottom .navbar-nav li a.nav-link {
    font-size: 1.225rem;
    color: black;
    font-weight: 400;
    padding: 0.35rem 0.75rem;
    background-color: #212121;
    border-radius: 5px;
    margin-bottom: 2px;
    color: white;
}

.site-head__bottom .navbar-nav li a.nav-link:hover, .site-head__bottom .navbar-nav li a.nav-link:active, .site-head__bottom .navbar-nav li a.nav-link.show {

    color: var(--bs-primary);
    background-color: black;

}

.site-head__bottom .navbar-nav li a.nav-link.active {

    color: var(--bs-primary);
    background-color: black;
    box-shadow: 0 0 1rem rgba(var(--bs-primary-rgb), 0.35);

}

@media (min-width: 992px) {
    .site-head__bottom .navbar-nav li a.nav-link {
        font-size: 1.225rem;
        color: black;
        font-weight: 400;
        padding: 0.35rem 0.75rem;
        background-color: transparent;
        position: relative;
        margin: 0 5px;
    }

    .site-head__bottom .navbar-nav li:not(:last-child) a.nav-link::after {
        content: '';
        position: absolute;
        height: 24px;
        width: 1px;
        z-index: 3;
        background-color: rgba(0, 0, 0, 0.75);
        right: -5px;
        top: 50%;
        transform: translateY(-50%);
    }

    .site-head__bottom .navbar-nav li a.nav-link:hover, .site-head__bottom .navbar-nav li a.nav-link:active, .site-head__bottom .navbar-nav li a.nav-link.active {
        background-color: #212121;
        color: white;
        box-shadow: none;
    }
}

.site-head__bottom .navbar-nav li:last-child a {
    border-right: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.title {
    display: block;
    position: relative;
}

.title::before {
    content: '';
    height: 2px;
    width: 100%;
    background-color: #d2a53a;
    background-image: var(--linear-gradient);
    bottom: -6px;
    z-index: 3;
    position: absolute;
}

.content-box {
    background-color: white;
}

.box-top {
    background-color: #f7f7f7;
    border: 1px solid #eaeaea;
}

/* table */
.table-dark {
    --bs-table-bg: black;
}

.sweepstakes-table tbody {
    border-bottom: 2px solid var(--bs-primary);
}

.sweepstakes-table img.table-img {
    width: 105px;
    transition: all 0.2s;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #c9c9c9;
    box-sizing: border-box;
}

.sweepstakes-table tr:hover img.table-img {

    box-shadow: 0 0 0 1px black;
}

.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

.sweepstakes-table th.image-th {
    width: 100px;
}

.link-icon {
    background-color: var(--bs-body-color);
    color: white;
    display: flex;
    height: 26px;
    width: 26px;
    font-size: 0.925rem;
    border-radius: 50%;
    text-align: center;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.link-icon:hover, .link-icon:active {
    background-color: #dddddd;
    color: black;
}

/* site footer */

.site-foot {
    font-size: 0.925rem;
   
}

@media (min-width: 992px) {
    .site-foot {
        background-image: url(../layout/backgrounds/footer-bg.png);
        background-size: auto 100%;
        background-repeat: no-repeat;
        font-size: 1.05rem;
    }
}

/* Create sweepstake */

.fixed-label-col {
    flex: 1 1 100%;
}

@media (min-width: 992px) {
    .fixed-label-col {
        flex: 0 0 116px;
    }
}

/* overwrite select 2 styles */

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f3f3f3;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding-right: 6px;
    padding-left: 24px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background-color: black;
    color: white;
    outline: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    color: black;
    cursor: pointer;
    padding: 0 6px;
}

.select2-container--default .select2-selection--multiple {

    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative;
    min-height: 38px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: black;
    color: white;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: rgba(var(--bs-primary-rgb), 60%);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 30%);
    background-color: white;
    outline: 0;
}

/* date picker classes */

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: black;
    border-color: transparent;
    color: #fff;
}

/* form preview */

body.form-preview {
    height: 100%;
    /* empty css variable */
    --form-preview-bg-color: #000;
    /* set background color to css variable, defaults to system black color */
    background-color: var(--form-preview-bg-color, #000);
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
}

.sweeps-wrap {
    max-width: 848px;
    margin-left: auto;
    margin-right: auto;
}

.sweeps-img {
    aspect-ratio: 2 / 1;
    background-color: rgba(0, 0, 0, 0.2);
}

.sweeps-content {
    background-color: white;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.sweeps-content .title {
    display: block;
    position: relative;
}

.sweeps-content .title::before {
    content: '';
    height: 3px;
    width: 100%;
    background-color: #d8d8d8;
    background-image: none;
    bottom: -6px;
    z-index: 3;
    position: absolute;
}

.sweeps-spacer {
    padding: 2.5rem 0;
    max-width: 570px;
    margin: 0 auto;
}

.text-box {
    height: 160px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: .375rem;
    padding: 0.75rem;
}

.text-box-content {
    font-size: 0.925rem;
    opacity: 0.9;
    padding-right: 1.5rem;
    text-align: justify;
}

.sweeps-foot-logo {
    width: 150px;
    display: block;
    margin: 0 auto 1rem auto;
}

.sweeps-foot-nav li.nav-item a {
    font-size: 1rem;
    text-transform: uppercase;
    color: white;
    padding: 0 0.75rem;
    position: relative;
}

@media (min-width: 768px) {
    .sweeps-foot-nav li.nav-item a {
        font-size: 1.125rem;
    }
}

.sweeps-foot-nav li.nav-item a:hover, .sweeps-foot-nav li.nav-item a:active {
    color: var(--bs-primary);
}

.sweeps-foot-nav li.nav-item:not(:last-child) a::after {
    content: '';
    position: absolute;
    height: 16px;
    width: 1px;
    z-index: 3;
    background-color: white;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.submit-btn {
    width: 280px;
}

/* Login form */

.login-box {
    position: relative;
    z-index: 9;
    width: 400px;
    padding: 2rem 2rem 0.75rem 2rem;
    box-sizing: border-box;
    background-color: white;
    border-radius: 6px;
    margin-left: 1rem;
    margin-right: 1rem;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
  }
  .login-box .login-box__logo {
    width: 260px;
    display: block;
    margin: 0 auto;
    padding-right: 10px;
    transition: width 0.2s;
  }
  .login-box .login-box__form-wrap {
    margin-top: 1rem;
  }
  .login-box .login-form-spacer {
    margin: 0.5rem 0;
  }
  .login-box .login-box__bottom {
    text-align: center;
    margin: 1rem 0;
    padding: 0.8rem 0;
    border-top: 1px solid var(--bs-primary);
    border-bottom: 1px solid var(--bs-primary);
    font-size: 1rem;
  }
  .login-box .login-box__bottom a {
    text-decoration: underline;
    transition: color 0.2s;
  }
  
  
  /*tablet styles*/
  @media (min-width: 768px) {
    .login-box .login-box__logo {
      width: 280px;
      padding-right: 15px;
    }
    .login-box .login-box__form-wrap {
      margin-top: 2rem;
    }
    .login-box .login-form-spacer {
      margin: 0.75rem 0;
    }
    .login-box .login-box__bottom {
      margin-top: 1.25rem;
    }
  }
  .login-body {
    background-image: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--bs-primary);
  }

  .login-left {
    padding: 2.5rem 0;
    width: 100%;
  }
  
  @media (min-width: 768px) {
    .login-left {
      background-color: white;
      padding: 2.5rem;
      width: 50%;
    }
  
    .login-right {
      padding: 2.5rem;
      background-image: url(../layout/backgrounds/slide-1-xl.jpg);
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      width: 50%;
      text-align: center;
    }
  
    .login-right_content {
      color: white;
      text-align: center;
    }
  
    .login-box {
      width: 340px;
      padding: 0;
      border-radius: 0;
      margin-left: 0rem;
      margin-right: 0rem;
      box-shadow: none;
      background-color: transparent;
    }
    .login-box .login-box__logo {
      width: 300px;
      padding-right: 15px;
    }
  }
  @media (min-width: 992px) {
    .login-left {
      padding: 3rem;
    }
  
    .login-right {
      padding: 4rem;
    }
  
    .login-box .login-box__logo {
      width: 350px;
    }
  }
  @media (min-width: 1200px) {
    .login-left {
      padding: 4rem;
    }
  
    .login-right {
      padding: 6rem;
    }
  }
  @media (min-width: 1400px) {
    .login-right {
      padding: 8rem;
    }
  }
  .social-login {
    margin-top: 1rem;
  }
  .social-login a {
    font-size: 1.65rem;
    color: white;
    margin-right: 0.5rem;
    transition: color 0.2s;
  }
  .social-login a:hover {
    color: #f7941d;
  }

  .login-title {
    font-size: 1.75rem;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    letter-spacing: -0.015em;
    display: block;
    margin-top: 1rem;
    
  }

  .right-title {
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    font-weight: 600;
    letter-spacing: -0.015em;
  }

  /* DASHBOARD */

  .quicklinks-card {
    background-image: url(../layout/backgrounds/quicklinks-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

.dashboard-cards {
   
}

.search-bar-wrap {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.search-bar-wrap input {
    padding-right: 50px;
}
.search-bar-wrap button {
    position: absolute;
    z-index:3;
    right:4px;
    top:4px;
    bottom:4px;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 280px;
 }

@media (min-width: 768px) {
.chart-container {
    height: 310px;
 }
}

.bullet-number {
    --bullet-bg-color: var(--bs-primary); 
    background-color: var(--bullet-bg-color);
    font-size: 1.35rem;
    display: block;
    width: 40px;
    height:40px;
    line-height: 40px;
    text-align: center;
    border-radius: 500px;
    color: white;
    margin-right: 8px;
}

.box-info {
    max-width: 490px;
}

/* Questions modal */

.qa-list {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0.25rem;
    line-height: 1.45em;
}
.a i {
    color: var(--bs-gray-500);
    margin-right: 4px;
}