@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    background-image: url('/static/background.jpg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;;
}

nav .logo {
    height: 50px;
}

.navbar-menu-action-button {
    font-size: 24px;
    color: #149289;
}

.centered-text {
    text-align: center;
}

/*HOME*/
.index-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.index-meta p {
    color: grey;
    margin: 0;
    padding: 0;
}

.index-meta h5 {
    margin: 0;
    padding: 0;
}

.home-section-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-section-container-header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.home-section-container-header .header-title {
    margin: 0;
}

.home-section-container-header .header-link {
    margin: 0;
}

.small-text {
    color: grey;
    flex-basis: 100%;
    margin: 0;
    padding: 0;
}

.section-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.section-item {
    background-color: white;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 0 6px 0 6px;
}

.section-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 6px 6px 6px 6px;
    border-bottom: 1px solid lightgrey;
}


.section-item-header p {
    margin: 0;
    width: 25%;
}


/*  CUSTOMERS   */
.card-items {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 24px;
}

.card-item {
    min-width: 360px;
    width: 30%;
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    padding: 20px 8px;
    border: 1px solid lightgrey;
}

.card-item:hover {
    scale: 1.1;
}

.card-header {
    display: flex;
    width: 100%;
    justify-content: stretch;
    margin-bottom: 16px;
    align-items: center;
    padding: 0 8px;
    border-bottom: 1px solid lightgrey;
}

.card-header .customer-id {
    font-size: 12px;
    flex-basis: 20%;
    color: grey;
}

.card-header .customer-name {
    flex-basis: 60%;
    text-align: center;
}

.card-header .customer-icon {
    font-size: 32px;
    flex-basis: 20%;
    text-align: end;
}

.ind-icon i {
    color: lightcoral;
}

.bus-icon {
    color: cadetblue;
}

.card-info {
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid lightgrey;
    margin-bottom: 16px;
}

.info-text {
    padding: 0;
    margin: 4px;
    font-weight: 500;
}

.info-text-detail {
    color: #0d6efd;
    font-weight: 450;
}

.text-negative {
    color: darkred;
    font-weight: 600;
}

.text-positive {
    font-weight: 600;
    color: green;
}

.card-actions {
    display: flex;
    padding: 0 24px;
    justify-content: space-around;
    align-items: center;
}

/*  SERVICE ORDERS  */

.order-card-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-card-item {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
    min-width: 1244px;
    background-color: white;
    border: 2px solid lightgrey;
    align-items: center;
    padding: 8px 4px;
}

.order-card-item.card-header {

}

.order-card-item.card-main.subscription {
    background: rgb(19, 214, 91);
    background: radial-gradient(circle, rgba(19, 214, 91, 0.3981967787114846) 0%, rgba(255, 255, 255, 0.36738445378151263) 100%);
}

.order-card-item.card-main.regular {
    background: rgb(214, 169, 19);
    background: radial-gradient(circle, rgba(214, 169, 19, 0.3981967787114846) 0%, rgba(255, 255, 255, 0.36738445378151263) 100%);
}

.order-card-item.card-main.sla {
    background: rgb(19, 141, 214);
    background: radial-gradient(circle, rgba(19, 141, 214, 0.3981967787114846) 0%, rgba(255, 255, 255, 0.36738445378151263) 100%);
}

.order-card-item.card-header {
    border-color: black;
}

.order-card-item .card-item-text-content {
    text-align: center;
    flex-basis: 10%;
    margin: 0;
}

.card-item-text-content {
    margin: 0;
}

.order-card-item-status-label {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0 6px 0 6px;
    align-items: center;
    border-radius: 5px;
    border: grey 1px solid;
    min-width: 150px;
}

.order-card-item.card-header {
    font-weight: 600;
}

.order-card-item .actions-fixed {
    flex-basis: 15%;
}

.order-list-title {
    margin-top: 20px;
    text-align: left;
    font-weight: 500;
    color: #149289;
}

.order-list-title:first-of-type {
    margin-top: 4px;
}

/*Service Requests*/
.service-request-card {
    display: flex;
    width: 100%;
    justify-content: space-between;
    border: grey 1px solid;
    border-radius: 5px;
    /*min-height: 50px;*/
    flex-wrap: wrap;
    padding: 4px;
    margin-bottom: 6px;
    background-color: white;
}

.service-request-card .sr-card-header {
    text-align: center;
    display: flex;
    gap: 24px;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;

}

.service-request-card .sr-requestor-info {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    /*margin: 0 20% 0 20%;*/
    gap: 24px;
}

.service-request-card .sr-requestor-info .sr-order-type {
    justify-self: left;
    /*float: left;*/
    flex-basis: 20%;
}

.service-request-card .sr-requestor-info p {
    flex-basis: 40%;
}

.service-request-card .sr-card-status {
    display: flex;
    align-items: center;
    gap: 6px;
    /*border: 1px solid grey;*/
    /*border-radius: 5px;*/
    padding: 0;
    /*background-color: grey;*/
    /*width: 250px;*/
    flex-basis: 25%;
    justify-self: left;
}

.service-request-card .sr-card-info {
    flex-basis: 50%;
    justify-self: center;
}

.service-request-card .sr-card-actions {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 12px;
    flex-basis: 25%;
    justify-self: right;
}

.service-request-card .sr-card-title {
    display: flex;
    width: 100%;
    flex-direction: column;
    border-bottom: 1px solid lightgrey;

}

.service-request-card .sr-body {
    border-bottom: 1px solid lightgrey;
    margin-bottom: 6px;
    width: 100%;
}

.service-request-card .sr-timestamps {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.service-request-card .sr-actions {

}

.vertical-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bold-block {
    display: block;
    font-weight: 500;
}

.bold {
    font-weight: 500;
}


/*  PRINT OUTS  */

@page {
    size: Letter;
    margin: 0in 0.44in 0.2in 0.44in;
}

section.tracking-content-container {
    background-color: white;
    padding: 50px 20px;
    margin-top: 20px;
    border: 2px solid rgb(179, 211, 208);
}

header.tracking-order-header {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.header-logo img {
    display: -webkit-box;
    margin-left: auto;
    justify-content: right;
    align-items: center;
}

.header-qr-code {
    display: -webkit-box;
    margin-left: auto;
    justify-content: left;
    align-items: center;
}

p.scan-qr-text {
    margin-top: 0;
    padding-left: 10px;
    font-size: 8px;
}

h1.track-order-title {
    flex: 1;
    text-align: center;
    padding-bottom: 0;
    font-weight: bold;
    margin-bottom: 0;
    display: block;
}

section.track-order-info {
    padding-left: 20px;
    padding-bottom: 5px;
}

section.track-order-info p {
    padding: 0;
    margin: 0;
}

.track-order-sub-title {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 20px;
}

.track-order-sub-title:nth-child(2) {
    padding-bottom: 20px;
}

.amount-due {
    text-align: right;
}

.handover-info {

}

p.handover-left {
    padding-left: 20px;
    margin-bottom: 24px;
}

span.handover-right {
    float: right;
    margin-right: 5%;
}

.contact-info {
    font-style: italic;
    text-align: center;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    font-size: 12px;
}

/*div.g-recaptcha {*/
/*  margin: 0 auto;*/
/*  width: 304px;*/
/*}*/

.styled-table {
    border-collapse: collapse;
    margin: 4px 0;
    font-size: 1em;
    /*font-family: sans-serif;*/
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: rgb(181, 181, 181);
    color: #000000;
    text-align: center;
}

.styled-table th,
.styled-table td {
    padding: 4px 8px;
    text-align: center;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.checkbox-holder {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 700px) {
    .index-meta h5 {
        display: none;
    }

    .index-meta p {
        font-size: small;
        display: none;
    }

    .home-section-container-header {
        font-size: small;
    }

    .section-item-header p {
        margin: 0;
        width: 100%;
    }

    .section-item-header {
        display: flex;
        flex-direction: column;
    }

    .section-item-header a {
        align-self: end;
        order: -1;
        font-size: small;
        width: 100%;
    }

    .service-request-card {
        flex-direction: column;
    }

    .sr-card-title {
        flex-direction: column;
    }

    .service-request-card .sr-card-header {
        gap: 2px;
        flex-direction: column;
        align-items: start;
    }

    .service-request-card .sr-requestor-info {
        gap: 2px;
        flex-direction: column;
        align-items: start;
    }

    .sr-requestor-info {
        flex-direction: column;
    }

    .service-request-card .sr-timestamps {
        flex-direction: column;
        align-items: start;
    }

    .service-request-card .sr-card-actions {
        flex-basis: 100%;
        width: 100%;
        justify-content: center;
        order: -1;
    }

    .sr-actions {
        font-size: small;
        width: 100%;
    }

    .sr-actions a {
        width: 32%;
    }

    .checkbox-holder {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
}