﻿h1 {
    border-bottom: 1px solid #fdde7a;
    color: #6b7a8f;
}

nav.navbar {
    padding: 0.5rem 1rem 0 1rem;
    border-bottom: 1px solid #6b7a8f;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    width: 106px;
    height: 40px;
    background: url(/imgs/logo.png) no-repeat;
}

.nav-home, .nav-sites, .nav-sales-orders, .nav-credentials, .nav-notifications, .nav-dealers, .nav-umctags, .nav-sync {
    width: 50px;
    height: 30px;
    text-align: center;
    vertical-align: bottom;
}

.nav-link {
    padding: 0;
}

.nav-home {
    background: url(/imgs/menu_home.png) no-repeat;
}

.nav-sites {
    background: url(/imgs/menu_sites.png) no-repeat;
}

.nav-sales-orders {
    background: url(/imgs/menu_sales_orders.png) no-repeat;
}

.nav-credentials {
    background: url(/imgs/menu_credentials.png) no-repeat;
}

.nav-notifications {
    background: url(/imgs/menu_notifications.png) no-repeat;
}

.nav-dealers {
    background: url(/imgs/menu_dealers.png) no-repeat;
}

.nav-umctags {
    background: url(/imgs/menu_umctags.png) no-repeat;
}

.nav-sync {
    background: url(/imgs/menu_sync.png) no-repeat;
}

.account-menu-notifications {
    border: none;
    width: 50px;
    height: 30px;
    padding: 0;
}

.notification {
    padding: 2px 2px;
    position: relative;
    display: inline-block;
    width: 30px;
    margin-right: 10px;
}

    .notification .notification-icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        background: url(/imgs/menu_notifications.png) no-repeat;
        background-position: right 0 center;
    }

    .notification .badge {
        position: absolute;
        top: -10px;
        right: -10px;
        padding: 2px 4px;
        border-radius: 50%;
        background: red;
        color: white;
        font-size: 10px;
    }

.account-menu-button {
    border: none;
    height: 39px;
    padding-right: 30px;
    background: url(/imgs/arrow_down.png) no-repeat;
    background-position: right 10px center;
}

.account-menu {
    position: relative;
    display: inline-block;
}

.account-menu-content {
    display: none;
    position: absolute;
    background-color: #bdc3cb;
    min-width: 160px;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    z-index: 1;
    right: 0;
    border-top: 1px solid #6b7a8f;
    opacity: 0.9;
}

    .account-menu-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .account-menu-content a:hover {
            background-color: #e7c141;
        }

.account-menu:hover .account-menu-content {
    display: block;
}

.account-menu:hover .account-menu-button {
    background-color: #bdc3cb;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #6b7a8f;
}

.border-bottom {
    border-bottom: 1px solid #6b7a8f;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 40px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 41px;
    line-height: 40px; /* Vertically center the text there */
}

.login-form {
    background: #edf4f4;
    margin-top: 20px;
    margin-left: 15px;
}

.btn-login {
    font-weight: bold;
    width: 150px;
    color: white;
    background: #47a777;
}

.breadcrumb {
    background: inherit;
    padding: 0;
}

.breadcrumb-item {
    color: #6b7a8f;
}

    .breadcrumb-item + .breadcrumb-item::before {
        display: inline-block;
        padding-right: 0.5rem;
        content: ">";
        color: #6b7a8f;
    }

.home-dealers, .home-sites, .home-account, .home-notifications {
    width: 200px;
    min-height: 200px;
    text-decoration: none;
    display: block;
    margin-top: 20px;
    margin: 20px auto 0 auto;
}

.home-dealers {
    background: url(/imgs/home_dealers.png) no-repeat center;
}

.home-sites {
    background: url(/imgs/home_sites.png) no-repeat center;
}

.home-account {
    background: url(/imgs/home_account.png) no-repeat center;
}

.home-notifications {
    background: url(/imgs/home_notification.png) no-repeat center;
}

.row-header {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
}

.row-value {
}

.row-buttons {
    padding-top: 10px;
}

/*----- Sites styles -----*/

#grid {
    position: relative;
    overflow: hidden;
}

.sites-container {
    background: #d0e1e2;
}

figure.site-item {
    margin: 0;
}

.site-panel {
    width: 269px;
    height: 200px;
    margin: 4px;
    border: 1px solid #a2c4c6;
    background: white;
}

.site-panel-legacy {
    border: 1px solid #ff8c8c;
    background: #fff0f0;
}

.site-panel-customer {
    height: 50px;
    overflow: hidden;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    color: black;
}

    .site-panel-customer:hover {
        color: #0176d4;
    }

.site-panel-exp {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.site-panel-exp-text {
    height: 16px;
    padding-left: 5px;
    line-height: 1em;
}

.site-panel-exp-icon {
    width: 16px;
    height: 16px;
    background: #47a777;
    color: white;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    display: inline-block;
    line-height: 16px;
    content: ' ';
}

.site-panel-exp-icon-red {
    background: #bf2302;
}

.site-panel-exp-icon-yellow {
    background: #e47a02;
}

.site-panel-product {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.site-panel-doors {
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    position: relative;
}

    .site-panel-doors > span {
        margin-right: 10px;
        float: left;
    }

.site-panel-soldto {
    font-size: 11px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
    position: relative;
    white-space: nowrap;
}

.site-panel-buttons {
    padding-left: 5px;
    padding-right: 5px;
    margin: 0 auto;
    text-align: center;
}

.site-panel-btn {
    width: 50px;
    padding: 2px;
    margin: 2px;
    font-size: 10px;
}

.site-panel-suspended {
    font-size: 12px;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
}

    .site-panel-suspended > span {
        border: 1px solid #cecece;
        border-radius: 3px;
        background: #e4e4e4;
        color: #666666;
        display: inline-flex;
        line-height: 1.1;
        padding: 1px;
    }

.btn-green {
    background: #47A777;
    color: white;
}

    .btn-green:hover {
        color: white;
    }

.site-panel-btn-mobile {
    background: #ffc000;
    color: #747b6a;
}

    .site-panel-btn-mobile:hover {
        color: #747b6a;
    }

.btn-gray {
    background: #627084;
    color: white;
}

    .btn-gray:hover {
        background: #959fac;
        color: white;
    }

.sites-filter-container {
    margin-bottom: 5px;
}

.table-sites {
    font-size: 14px;
}

    .table-sites th {
        border-top: none;
    }

/*----- END Sites styles -----*/

/*----- Dealers styles -----*/

.dealer-panel {
    width: 269px;
    height: 128px;
    margin: 4px;
    border: 1px solid #a2c4c6;
    background: white;
}

/*----- END Dealers styles -----*/

/*----- Filter styles -----*/

#btn-filter {
    background: #f7882f;
    border-color: #f7882f;
    border-radius: 4px;
    color: white;
    height: 27px;
    line-height: 1em;
    font-weight: bold;
    font-size: 14px;
    width: 110px;
}

    #btn-filter:hover {
        background: #ffbd88;
        border-color: #f7882f;
    }

    #btn-filter:active {
        background: #ffbd88;
    }

#filter-block {
    width: 260px;
    min-width: 260px;
    padding: 5px;
}

#filter-panel {
    position: relative;
}

.filter-panel-caption {
    margin-left: 5px;
    font-size: 20px;
    font-weight: bold;
}

.filter-panel-sites-count {
    display: inline-block;
    position: absolute;
    top: 5px;
    right: 10px;
}

#filter-active-panel {
    display: inline-block;
    position: relative;
    padding: 0;
    line-height: 0;
}

.filter-active-item {
    display: inline-block;
    border: 2px solid #f89d54;
    border-radius: 4px;
    margin: 0 3px;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    height: 27px;
    line-height: 1em;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

    .filter-active-item > a {
        display: inline-block;
        margin: 0 0 0 5px;
        font-weight: bold;
        color: #627084;
    }

        .filter-active-item > a:hover {
            cursor: pointer;
        }

.list-group-item {
    user-select: none;
    padding: 5px 10px;
}

.list-group input[type="checkbox"] {
    display: none;
}

    .list-group input[type="checkbox"] + .list-group-item {
        cursor: pointer;
        background-color: #a2c4c6;
    }

        .list-group input[type="checkbox"] + .list-group-item:before {
            content: "\2713";
            color: transparent;
            font-weight: bold;
            margin-right: 1em;
        }

    .list-group input[type="checkbox"]:checked + .list-group-item {
        background-color: #f89d54;
        color: #FFF;
    }

        .list-group input[type="checkbox"]:checked + .list-group-item:before {
            color: inherit;
        }

.list-group input[type="radio"] {
    display: none;
}

    .list-group input[type="radio"] + .list-group-item {
        cursor: pointer;
        background-color: #a2c4c6;
    }

        .list-group input[type="radio"] + .list-group-item:before {
            content: "\2022";
            color: transparent;
            font-weight: bold;
            margin-right: 1em;
        }

    .list-group input[type="radio"]:checked + .list-group-item {
        background-color: #f89d54;
        color: #FFF;
    }

        .list-group input[type="radio"]:checked + .list-group-item:before {
            color: inherit;
        }

/*----- END Filter styles -----*/


/*----- Account styles -----*/

.contact-block {
    border: 1px solid #909aa8;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 20px;
}

.contact-value {
    height: 30px;
    border-bottom: 1px solid #909aa8;
}

.contact-edit {
    float: right;
    margin-top: 16px;
}

.res-block {
    background: #627084;
    color: white;
    font-size: 18px;
}

.res-items .row {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 2px 0;
    margin-top: 2px;
}

.res-title {
    font-weight: bold;
    font-size: 1.5em;
}

.res-icon {
    width: 56px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 10px;
}

.res-icon-sites {
    background-image: url('/imgs/res_sites.png');
}

.res-icon-sites-current {
    background-image: url('/imgs/res_sites_current.png');
}

.res-icon-sites-expires {
    background-image: url('/imgs/res_sites_expired.png');
}

.res-icon-sites-hosted {
    background-image: url('/imgs/res_cloud.png');
}

.res-icon-sites-credentials {
    background-image: url('/imgs/res_credentials.png');
}

.res-icon-sites-notifications {
    background-image: url('/imgs/res_notifications.png');
}

.res-icon-sites-salesorder {
    background-image: url('/imgs/res_sales_order.png');
}

/*----- END Account styles -----*/

.contact-icon {
    width: 56px;
    height: 60px;
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 10px;
}

.contact-col-dot {
    width: 30px;
    text-align: right;
}

.contact-icon-address {
    background-image: url('/imgs/contact_address.png');
}

.contact-icon-phone {
    background-image: url('/imgs/contact_phone.png');
}

.contact-icon-email {
    background-image: url('/imgs/contact_email.png');
}

.contact-icon-website {
    background-image: url('/imgs/contact_website.png');
}

/*----- Common -----*/

.row-v-center {
    display: flex;
    align-items: center;
}

.numberCircle {
    width: 32px;
    height: 32px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid white;
    display: inline-block;
}

.btn-download {
    padding: 0 10px;
}

.modal-content-opal {
    background: #a2c4c6;
}

.form-control-gray {
    background: #a6a6a6;
}

    .form-control-gray:focus {
        background: #a6a6a6;
    }

.read-circle {
    color: #f7882f;
    text-align: center;
}

#btn-read {
    background: #f7882f;
    border-color: #f7882f;
    border-radius: 2px;
    color: white;
    height: 27px;
    line-height: 1em;
    font-size: 10px;
    width: 55px;
}

    #btn-read:hover {
        background: #ffbd88;
        border-color: #f7882f;
        cursor: pointer;
    }

    #btn-read:active {
        background: #ffbd88;
    }

.nfctag-ids {
    font-size: 12px;
}

/*----- END Common -----*/
