﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.checkbox-group {
    padding: 1% 2%;
}

.info-label {
    font-weight: normal;
    padding-bottom: 5px;
}

/* Hide default arrows Firefox adds to number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    text-align: center;
}
/* ************************************************ */

.btn-number {
    border-radius: 0px;
}

.btn-group {
    border-radius: 5px;
    box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.2);
}

.fc-list-table > tbody > tr.fc-list-item:not(.bg-success):hover > td,
.fc-list-table > tbody > tr.fc-list-item:not(.bg-success):hover > th {
    background-color: #CFF5FF;
}

tr.fc-list-item:hover {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.info {
    font-weight: bold;
    text-decoration: underline;
}

.center {
    text-align: center;
}

.heavy {
    font-weight: bold;
}

.product-name-col {
    width: 65%;
}

.product-description {
    font-weight: 400;
    font-size: .9rem;
    padding: .2rem .7rem;
    white-space: pre-wrap;
}

.product-disclaimer {
    padding: 0 .9rem;
}

.product-row {
    display: flex;
    align-items: start;
    padding: 0 0 0 1vw;
    flex-direction: column;
}

.table th, .table td {
    vertical-align: middle !important;
}

.space-evenly {
    justify-content: space-evenly;
    display: flex;
    align-items: center;
}

.space-between-w-padding {
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 0 1vw;
}

.thumbnail-xsm {
    max-height: 11vh;
    max-width: 9vw;
}

.accordion-button-custom {
    display: flex;
}

    .accordion-button-custom:not(.collapsed) {
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
    }

        .accordion-button-custom:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
            transform: rotate(-180deg);
        }

    .accordion-button-custom::after {
        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-left: auto;
        content: "";
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: 1.25rem;
        transition: transform 0.2s ease-in-out;
    }

.service-description-container {
    padding: 15px 20px 5px 20px;
}

@media only screen and (min-width: 1500px) {
    .wrapper {
        width: 1550px;
        margin: auto;
    }

    .flt-left {
        margin-left: 5%;
        float: left;
    }
}

/* For desktop: */
@media only screen and (min-width: 768px) {
    body:after {
        content: "desktop";
        display: none;
    }

    .flt-left {
        float: left;
    }

    #scroller {
        margin-top: 10px;
        max-height: 80%;
        overflow: auto;
    }

    #sidebar {
        width: 25%;
        float: left;
        display: none;
    }

    .body-content {
        min-width: 325px;
        width: 70%;
    }

    .footer {
        display: none;
    }
}

/* 
  ##Device = Most Mobile Devices (Portrait & Landscape)
  ##Screen = 1px to 767px
*/
@media (min-width: 1px) and (max-width: 768px) {
    body:after {
        content: "mobile";
        display: none;
    }

    html {
        overflow-y: scroll;
        overflow-x: scroll;
    }

    .body-content {
        width: 100%;
    }

    .table td, .table th {
        padding: .6rem .25rem .6rem .25rem;
    }

    /* EXPERIMENTAL - testing responsive table options */
    table.services thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.services tr {
        border-bottom: 1px solid #ddd;
        display: block;
    }

    table.services td {
        /*border-bottom: 1px solid #ddd;
    display: block;
    text-align: right;*/
    }

    table.services th {
        border-top: none;
    }

    table.services td::before {
        content: attr(data-label);
        float: left;
        padding: 10px;
        width: 105px;
    }

    .service-label {
        display: flex;
        align-items: center;
    }

    .service-description {
        color: #737171;
    }

    #success {
        display: flex;
        padding: 5px;
        margin-top: 30%;
    }

    /* Specifically for the date range h2 header generated by fullcalendar */
    div.fc-center > h2 {
        padding-top: 15px;
    }

    /* Hide Sidebar */
    #sidebar {
        display: none;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer {
        display: none;
        /*position: absolute;*/
        bottom: 0;
        width: 100%;
        height: 60px;
        line-height: 30px;
        text-align: center;
        /*background-color: #f5f5f5;*/
    }

    #cart {
        width: 100%;
    }

    #footerAccordion {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #3395ff;
        opacity: .94;
        color: white;
        z-index: 999;
        max-height: 80%;
        overflow: auto;
    }

    hr.white {
        border-top: 1px solid rgb(255, 255, 255)
    }

    hr.white-top {
        border-top: 1px solid rgb(255, 255, 255);
        margin-top: 0px;
    }

    .hidden-on-mobile {
        display: none;
    }

    .panel-default > .footer-panel-heading {
        background: #237ad6;
    }

    .footer-panel-heading {
        padding: 0;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    .panel-group .panel {
        border-radius: 0;
    }

    .panel-title {
        color: white;
        text-align: center;
        width: 100%;
        display: block;
        padding: 15px 0px;
        font-size: 24px;
        font-family: Helvetica,Arial,sans-serif;
        outline: none;
        margin-bottom: 0px;
    }

    /*
.panel-title a:hover, .panel-title a:focus, .panel-title a:active {
    text-decoration: none;
    outline: none;
}*/

    /*.form-control {
      padding: 0px, 2px;
  }*/

    th {
        font-size: 12px;
    }
}
