﻿@media (max-width: 1023px) {
    #projectGrid tr td:nth-child(4), #projectGrid tr th:nth-child(4) {
        display: none;
    }

    #projectGrid tr td:nth-child(5), #projectGrid tr th:nth-child(5) {
        display: none;
    }

    #orderGrid tr td:nth-child(1), #orderGrid tr th:nth-child(1) {
        display: none;
    }

    #orderGrid tr td:nth-child(4), #orderGrid tr th:nth-child(4) {
        display: none;
    }

    #orderGrid tr td:nth-child(5), #orderGrid tr th:nth-child(5) {
        display: none;
    }

    #orderGrid tr td:nth-child(6), #orderGrid tr th:nth-child(6) {
        display: none;
    }

    #orderGrid tr td:nth-child(7), #orderGrid tr th:nth-child(7) {
        display: none;
    }
}

@media all and (min-width: 1024px) {
    #projectGrid tr td:nth-child(4), #projectGrid tr th:nth-child(4) {
        display: table-cell;
    }

    #projectGrid tr td:nth-child(5), #projectGrid tr th:nth-child(5) {
        display: table-cell;
    }

    #orderGrid tr td:nth-child(1), #orderGrid tr th:nth-child(1) {
        display: table-cell;
    }

    #orderGrid tr td:nth-child(4), #orderGrid tr th:nth-child(4) {
        display: table-cell;
    }

    #orderGrid tr td:nth-child(5), #orderGrid tr th:nth-child(5) {
        display: table-cell;
    }

    #orderGrid tr td:nth-child(6), #orderGrid tr th:nth-child(6) {
        display: table-cell;
    }

    #orderGrid tr td:nth-child(7), #orderGrid tr th:nth-child(7) {
        display: table-cell;
    }
}

.thumbnail .caption {
    margin-left: 0;
}

.thumbnail .caption .label {
    position: absolute;
    right: 30px;
    top: 15px;
}

.thumbnail {
    padding: 15px;
}

.search-data.k-widget * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#delivery-address-window .thumbnail, #invoice-address-window .thumbnail {
    height: 204px;
    max-height: 204px;
}

/* Suva specific changes */
#md-login body .row > div:nth-child(1) {
    background-color: #f2f2f2;
}

body .sidebar {
    background-color: #f2f2f2;
}

body .sidebar .panel-default > .panel-heading a {
    color: #333;
}

.navbar-inverse .navbar-brand {
    background-color: #f2f2f2;
}

body .sidebar .panel-default > .panel-heading {
    background-color: #f2f2f2;
    border-bottom: 0;
}

body .sidebar .panel-default > .panel-heading.active {
    background-color: #6F6F6E;
}

body .sidebar .panel-default > .panel-heading.active a {
    color: #fff;
}

.fa { 
    color: #666;
}

.fa:hover { 
    color: #ff8200;
}

.btn-primary {
    background-color: #00b8cf;
    border: 0;
}

.btn-primary:hover {
    background-color: #007180;
    border: 0;
}