@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 0.856rem;
    color: #094f88;
    padding-top: 4.5rem;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}

.main-content {
    flex-grow: 1;
}



.main-card {
    min-height: 440px;
}

.custom-select .select2-selection {
    border: 1px solid #095088 !important;
    height: 36px !important;
}

.alert {
    width: max-content;
}

/*   BACKGROUNDS   */
.bg-nav {
    background-color: #cbe5e5;
}

.login-bg {
    background-image: url("../../images/Home Screen image_New.jpg");
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-size: cover;
    background-position: top;
    height: 100vh;
    position: relative;
}

.text-content {
    margin: 0;
    margin-left: 12%;
    position: absolute;
    top: 15%;
    width: 70%;
    left: 10%;
    transform: translateY(-50%);
}

.certifier-login-bg {
    background-image: url("../../images/certifier_login_img.png");
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-size: cover;
    background-position: top;
    height: 100vh;
}

.laboratory-login-bg {
    background-image: url("../../images/laboratory-login-bg.jpg");
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-size: cover;
    background-position: top;
    height: 100vh;
    position: relative;
}


.bg-dashboard {
    background: linear-gradient(#004e8a, #004e8a 49.9%, #fff 50.1%, #fff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: 100% 700px;
    background-repeat: no-repeat;
}

.bg-laboratory-dashboard {
    background: linear-gradient(#9cfff7, #258087 49.9%, #fff 50.1%, #fff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: 100% 700px;
    background-repeat: no-repeat;
}

.bg-buyer-dashboard {
    background: linear-gradient(#0881b3, #0881b3 49.9%, #fff 50.1%, #fff 100%);
    min-height: 560px;
}

.bg-certifier-dashboard {
    background: linear-gradient(#894206, #894206 49.9%, #fff 50.1%, #fff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-size: 100% 700px;
    background-repeat: no-repeat;
}

.dashboard {
    max-width: 92%;
    min-height: 580px;
}

.card-shadow {
    box-shadow: 2px 2px 14px -9px rgb(0 0 0 / 45%);
}

/*  FONTS & COLORS */
.primarycolor {
    color: #094f88 !important;
}

.greencolor {
    color: #00a700;
}

.orangecolor {
    color: #ff4500 !important;
}

.bg-orange {
    background-color: orangered;
    color: #fff;
}

.text-orange {
    color: orangered;
}

.bg-lightblue {
    background-color: #e5f4f4;
}

.bg-lighterblue {
    background-color: #f2faff;
}

h1,
h2,
h3 {
    font-family: 'Nexa', sans-serif;
    color: #094f88;
    font-weight: bold;
}

th {
    font-size: 0.7rem;
    color: #094f88;
}

.no-border {
    border: none;
}

.border-bottom {
    border-bottom: 0.9px solid #111 !important;
    padding-bottom: 0.6rem;
}

.font-light {
    font-weight: 300 !important;
}

.text-underline {
    text-decoration: underline;
}

.thin {
    font-weight: 100 !important;
}

.no-underline {
    text-decoration: none !important;
}

h7 {
    font-size: 14px;
    width: 100%;
    display: block;
    font-weight: 600;
}


/*  NAVIGATION BAR  */
.nav-link {
    color: #094f88;
    font-size: 0.85rem;
    padding-right: 2rem !important;
    font-weight: 700;
}

.page-link {
    color: #094f88;
}

.nav-top-login {
    font-size: 0.85rem;
    text-align: right;
    padding-right: 3.4rem;
    font-weight: bold;
}

.logo {
    top: -12px;
    left: 18px;
    position: relative;
}

/*  SIDE NAVIGATION   */
.side_nav_item {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #094f88;
}

.active {
    color: orangered;
}

/*  FORM FIELDS   */
.form-label {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    border: 1px solid #095088;
    font-size: 0.9rem;
    max-width: 22rem;
}

.form-border {
    border-left: 1px solid #c9c9c9;
    padding-left: 2rem;
}

.login-box {
    display: grid;
    justify-content: center;
    align-items: center;
}

/*  BUTTONS  */
.btn-orange {
    background-color: orangered;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-orange:hover {
    background-color: #095088;
    color: #fff;
}

.btn-blue {
    background-color: #095088;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-blue:hover {
    color: orangered;
}

.btn-gray {
    background-color: #808080;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #095088;
    border-color: #095088;
}

/*  FOOTER  */
footer {
    background-color: #f1f1f1;
    color: #111;
    width: 100%;
    position: relative;
    left: 0;
    bottom: 0;
}

footer ul li {
    list-style-type: none;
}

footer a {
    color: #111;
    text-decoration: none;
}

.footer-text {
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer {
    display: flex;
    padding-left: 40px;
    padding-right: 40px;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: auto;
}

/*  ON MOBILE */
@media only screen and (max-width: 768px) {

    .form-border {
        border-left: none;
        padding-left: 1rem;
    }
}

/*  CARDS CAROUSEL  */

/* equal card height */
.row-equal>div[class*='col-'] {
    display: flex;
    flex: 1 0 auto;
}

.row-equal .card {
    width: 100%;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: flex;
}

/* ensure equal card height inside carousel */
.carousel-inner>.row-equal.active,
.carousel-inner>.row-equal.next,
.carousel-inner>.row-equal.prev {
    display: flex;
}

/* prevent flicker during transition */
.carousel-inner>.row-equal.active.left,
.carousel-inner>.row-equal.active.right {
    opacity: 0.5;
    display: flex;
}


/* control image height */
.card-img-top-250 {
    max-height: 250px;
    overflow: hidden;
}

.carousel-item {
    font-size: 14px;
}

.image-wrap {
    max-height: 200px;
    overflow: hidden;
}

.product-list-image {
    min-height: 200px;
    width: 100% !important;
}

.disabled-link {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: gray !important;
}



/* star rating begins here  */

.rate {
    float: left;
    height: 46px;
    padding: 0 10px;
}
.rate:not(:checked) > input {
    position:absolute;
    top:-9999px;
}
.rate:not(:checked) > label {
    float:right;
    width:1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:30px;
    color:#ccc;
}
.rate:not(:checked) > label:before {
    content: '★ ';
}
.rate > input:checked ~ label {
    color: #ffc700;
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
    color: #deb217;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
    color: #c59b08;
}


/* star rating ends here  */


.rating-stars ul {
    list-style-type:none;
    padding:0;

    -moz-user-select:none;
    -webkit-user-select:none;
  }
  .rating-stars ul > li.star {
    padding-right: 0.5rem;
    display:inline-block;

  }

  /* Idle State of the stars */
  .rating-stars ul > li.star > i.fa {
    font-size:1.7rem; /* Change the size of the stars */
    color:#ccc; /* Color on idle state */
  }

  /* Hover state of the stars */
  .rating-stars ul > li.star.hover > i.fa {
    color:#FFCC36;
  }

  /* Selected state of the stars */
  .rating-stars ul > li.star.selected > i.fa {
    color:#FF912C;
  }
