﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */


/* Palette

Raisin: #242121
Mint: #48A684
Sea: #425C7B
Paygora blue: #1a5aa2;

 */


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

a {
    color: #1a5aa2;
}


/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

.message-thread{
    min-height: 398px;
    background-color: white;
    max-height: 550px;
    overflow-y: auto;
    border: none !important;
}

.button-form-group {
    margin-top: 32px
}

.message {
    margin: 6px;
    margin-right: 20%;
    padding: 12px;
    background-color: white;
    color: #242121;
    border-radius: 10px;
    font-weight: 200;
    border: 1px solid grey;
}

.message-metadata {
    margin-left: 6px;
    margin-right: 20%;
    font-size: 0.7em;
    font-style: italic;
}

.message-from-current-user {
    margin-right: 6px;
    margin-left: 20%;
    border-bottom-left-radius: 10px;
}

.message-bg {
    background-color: #dddddd;
    color: #242121;
    border: none;
}

.grad-bg {
    background: #1a5aa2;
    background: -moz-linear-gradient(-45deg, #1a5aa2 0%, #48A684 50%);
    background: -webkit-linear-gradient(-45deg, #1a5aa2 0%,#48A684 50%);
    background: linear-gradient(135deg, #1a5aa2 0%,#48A684 50%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a5aa2', endColorstr='#48A684',GradientType=1 );
    color: white;
}

.mark-as-processed {
    cursor: pointer;
}

.mark-as-processed label {
    cursor: inherit;
}

.rate-label {
    font-size: 12px;
}

.mint {
    color: #48A684;
}

/* Typography */

h1, h2, .navbar-brand {
    font-family: 'Titillium Web', sans-serif;
}

/* NAV */

.navbar-nav .nav-link {
    color: white !important;
}

.navbar-nav .dropdown-menu {
    left: auto;
}

/* Panels / layout components */


.badge {
    font-weight: 600 !important;
}

.badge-status {
    padding: 12px;
    background-color: #1a5aa2;
    color: white;
    font-size: 16px;
    margin-bottom: 12px;
    border-radius: 6px;
}

.badge-unread {
    font-size: 12px;
    background-color: red;
}

/* Controls */

input {
    background: #fff;
    -webkit-box-shadow: inset 0px 3px 4px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: inset 0px 3px 4px 0px rgba(0,0,0,0.15);
    box-shadow: inset 0px 3px 4px 0px rgba(0,0,0,0.15);
}

::placeholder {
    color: lightgray;
    opacity: 1;
}

:-ms-input-placeholder {
    color: lightgray;
}

::-ms-input-placeholder {
    color: lightgray;
}

.material-icons {
    position: relative;
    top: 6px;
}

.small-icon {
    font-size: 16px;
    top: 3px;
}

.img-logo {
    height: 32px;
}

.img-footer-logo {
    height: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.list-status {
    border: 1px solid lightgray;
    padding: 4px 9px;
    border-radius: 6px;
    margin-top: 6px;
}

.btn {
    font-weight: 200 !important;
    -webkit-border-radius: 6px !important;
    -moz-border-radius: 6px !important;
    border-radius: 6px !important;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.15) !important;
    -moz-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.15) !important;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.15) !important;
}

.btn-primary, .btn-primary:visited {
    background-color: #48A684 !important;
    border: 1px solid #48A684 !important;
}

.btn-primary:not(:disabled):hover, .btn-primary:not(:disabled):active {
    background-color: white !important;
    color: #48A684 !important;
    border: 1px solid #48A684 !important;
}

.btn-status, .btn-status:visited{
    background-color: white !important;
    color: #425C7B !important;
    border: 1px solid #425C7B !important;
}

.btn-status:not(:disabled):hover, .btn-status:not(:disabled):active{
    color: white !important;
    background-color: #425C7B !important;
}

.btn-default, .btn-default:visited{
    background-color: white !important;
    color: #242121 !important;
    border: 1px solid #242121 !important;
}

.btn-default:not(:disabled):hover, .btn-default:not(:disabled):active {
    color: white !important;
    background-color: #242121 !important;
}

.btn:active:not(:disabled) {
    opacity: 0.5;
}

.btn-addon {
    border-radius: 0px 6px 6px 0px !important;
}

@media (min-width: 576px) {
    .form-inline .form-control {
        display: block !important;
        width: 100% !important;
        vertical-align: middle !important;
    }
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.supplier-suggestion:not(:last-child) {
    border-bottom: solid 1px #d4d4d4 !important;
}

/****** Style Star Rating Widget *****/

.rating {
    border: none;
    float: left;
    font-size: 2em;
}

.rating > input { display: none; }
.rating > label:before {
    margin: 5px;
    font-size: 1.25em;
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    content: "\f005";
}

.rating > .half:before {
    content: "\f089";
    position: absolute;
}

.green-check
{
    color: #48A684;
}

/* .home-list {
    padding-bottom: 22px;
    padding-top: 22px;
} */

.rating > label {
    color: #ddd;
    float: right;
}

/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFED85;  }


.pagination {
    justify-content: center;
}

.pagination > li > a, .pagination > li > span {
    color: #1a5aa2;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background-color: #1a5aa2; border-color: #1a5aa2;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #1a5aa2;
    border-color: #1a5aa2;
}

.order-status-widget {
    white-space: nowrap;
    margin-bottom: 20px;
}

.order-status-widget > .order-status-item {
    display: inline-block;
    padding: 0;
    border: 0;
    margin: 0;
}

.order-status-widget > .order-status-item > .order-status-indicator {
    width: 12px;
    height: 12px;
    margin: auto;
    border-radius: 6px;
    background: #425C7B;
    margin-top: -7px;
}

.order-status-widget > .order-status-item > .order-status-line {
    border-top: 2px grey solid;
    width: 100%;
}

.order-status-widget > .order-status-item:first-child > .order-status-line {
    margin-left: 50%;
    width: 50%;
}

.order-status-widget > .order-status-item:last-child > .order-status-line {
    width: 50%;
}

.order-status-widget > .order-status-item > .order-status-indicator.completed {
    background: #48A684;
}

.order-status-widget > .order-status-item > .order-status-name {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8em;
}

.loader {
    font-size: 10px;
    margin: 50px auto;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #425C7B;
    background: -moz-linear-gradient(left, #425C7B 10%, rgba(255, 255, 255, 0) 42%);
    background: -webkit-linear-gradient(left, #425C7B 10%, rgba(255, 255, 255, 0) 42%);
    background: -o-linear-gradient(left, #425C7B 10%, rgba(255, 255, 255, 0) 42%);
    background: -ms-linear-gradient(left, #425C7B 10%, rgba(255, 255, 255, 0) 42%);
    background: linear-gradient(to right, #425C7B 10%, rgba(255, 255, 255, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }

  .loader:before {
    width: 50%;
    height: 50%;
    background: #425C7B;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
  }
  .loader:after {
    background: #ffffff;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  @-webkit-keyframes load3 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes load3 {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

.payment-card-front, .payment-card-back {
    background-color: black;
    border-radius: 12px;
    color: white;
    padding-top: 60px;
    font-family: Courier;
    font-size: 1.1em;
    height: 220px;
    width: 350px;
    flex: none;
    margin-bottom: 10px;

}

.payment-card-logo {
    font-size: 3em;
}

.payment-card-front .payment-card-number {
    letter-spacing: 1px;
    font-size: 1.3em;
}

.payment-card-back {
    background-color: #444;
    padding-top: 130px;
    top: -110px;
    left: 30px;
    z-index: -1;
    margin-bottom: -100px;
}

.payment-card-cvv {
    background-color: #dcc;
    color: #333;
    text-align: right;
    padding: 8px 6px 6px 6px;
}
