﻿
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Common
# Structure
    ## Header
    ## Carousel
    ## Footer
# Normalize
    ## General Usage
    ## Bootstrap over-ride classes
# Page specific styles
    ## Index
    ## Contact etc.
# Media
    ## Logos/Icons
# Google Maps
# Backend Styles
--------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
    # Common
---------------------------------------------------------------------------------*/
.standard-text {
    color: #333 !important;
}

.flex-1{
    flex:1;
}

p {
    margin: 0 0 10px;
}

a {
    color: #3282e6;
    text-decoration: none;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left:0;
    margin-right:0;
    border: 0;
    border-top: 1px solid #eee;
}

.hr-dark {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
    border: 0;
    border-top: 1px solid #DDD;
}

.kce-center-container {
    display: inline-block;
}

.kce-center {
    vertical-align: middle;
}

.kce-margin-top-sm {
    margin-top: 15px;
}

.kce-margin-bottom-sm {
    margin-bottom: 15px;
}

.kce-width-60 {
    width: 60%;
}

.kce-pointer {
    cursor: pointer;
}
/**** Custom font styles 
.lead {
    font-size: 21px;
    font-weight: 200;
    margin-bottom: 20px;
}*****/
/**** Box Styles ****/
.kce-box {
    padding: 30px;
    border-radius: 15px;
    margin-top: 10px;
    background-color: #ffffff;
    border: solid 5px
}

.kce-services .kce-box {
    height: 355px;
}

.kce-fill-horizontal {
    width: 100%;
}

.green-box-header {
    border-color: #629c44;
    border-radius: 30px;
}

.green-box {
    border-color: #629c44;
}

.green-box h1 {
    color: #629c44;
}

.green-box h2 {
    color: #629c44;
}

.green-box h3 {
    color: #629c44;
}

.red-box {
    border-color: #ff0000;
}

.red-box h1 {
    color: #ff0000;
}

.red-box h2 {
    color: #ff0000;
}

.red-box h3 {
    color: #ff0000;
}

.blue-box {
    border-color: #3282e6;
}

.blue-box h1 {
    color: #3282e6;
}

.blue-box h2 {
    color: #3282e6;
}

.blue-box h3 {
    color: #3282e6;
}

/*--------------------------------------------------------------------------------
    # Structure - Header
---------------------------------------------------------------------------------*/
#kce-internal-container {
    margin: 15px auto 15px;
    max-width: 1920px;
    background-color: white;
    padding: 15px;
}

#kce-page-header h2 {
    margin-top: 0;
}

#kce-page-header hr {
    margin: 5px;
}

.kce-page-header-mobile {
    display: none;
}

@media(max-width: 762px) {
    #kce-header-title {
        margin-top: 15px;
        text-align: center;
    }
}

/*smaller image height for mobile */
@media screen and (max-width: 586px) {
    .kce-page-header-mobile {
        display: block;
    }
}


/*--------------------------------------------------------------------------------
    # Structure - Footer
---------------------------------------------------------------------------------*/
footer {
    margin: 25px auto;
}

/***** Carousel ******/
#kce-carousel {
    overflow: hidden;
    min-height: 300px;
    max-height: 600px;
    /*margin-left:-15px;
    margin-right:-15px;*/
    max-width: 1920px;
    margin: 0 auto;
}

#kce-carousel img {
    min-height: 300px;
    max-height: 600px;
    height: 450px;
    margin: 0 auto;
    width: 1920px;
    max-width: none;
}

.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

.carousel-caption {
    z-index: 10;
    right: 20%;
    left: 20%;
    padding-left: 20px;
    padding-right: 20px;
    background: rgba(0,0,0,0.5);
    margin-bottom: 50px;
    border-radius: 25px;
    height: 200px;
}

.carousel-caption a {
    margin-top: 15px;
}

/*--------------------------------------------------------------------------------
    # Normalize
---------------------------------------------------------------------------------*/

/*height/width*/
.h-85{
    height: 85%;
}

.h-80{
    height: 80%;
}

.h-70{
    height: 70%;
}

.h-64{
    height: 64%;
}

.w-12{
    width: 12%;
}

.w-10{
    width:10%
}

.w-8{
    width: 8%;
}

.w-95{
    width: 95%;
}

/*--------------------------------------------------------------------------------
    # Override Bootstrap
---------------------------------------------------------------------------------*/
.kce-content {
    background-color: white;
    box-shadow: -10px 0 8px -8px grey, 10px 0 8px -8px grey;
    max-width: 1920px;
    margin: 0 auto;
}
/***** Custom Navbar ****/

/* hover on nav link */
.kce-nav-top-link:hover {
    box-shadow: -10px 0 8px -8px grey, 10px 0 8px -8px grey;
}

/*increase navbar hight*/
.navbar {
    background-color: white;
}

/* float nav elements right */
.nav {
    float: right;
}

/* raise top nav links from bottom to top of resized navbar */
.kce-nav-top-link {
    font-size: 16px;
    margin-top: -15px;
    margin-bottom: -15px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

/* dont highlight dropdown link on select */
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: white;
}

/* contain nav brand */
.navbar-brand {
    width: 200px;
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width: 100%;
}

.navbar-nav {
    margin: 0;
}

.navbar-static-top .navbar-collapse.in {
    overflow-y: visible !important; /* Bootstrap default is "auto" */
}

@media (max-width: 1200px) {
    .navbar-collapse {
        margin-top: 15px;
        overflow: hidden;
    }

    .kce-nav-top-link:hover {
        box-shadow: 0 1px 2px 1px grey;
        border-radius: 5px;
    }

    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
        max-height: 100%;
    }

    .navbar-collapse.in {
        overflow-y: hidden;
    }

    .dropdown-menu li {
        text-align: center;
    }
}


.navbar-default .navbar-nav > .open > a {
    background-color: transparent;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background-color: transparent;
}

.navbar-nav > li > a:hover {
    background-color: transparent;
}
/***** /Custom Navbar ****/

h1 {
    font-size: 30px;
}

@media(max-width: 768px) {
    h1 {
        font-size: 20pt !important;
    }
}

@media(max-width: 480px) {
    h1 {
        font-size: 16pt !important;
    }
}
/*--------------------------------------------------------------------------------
    # Structure - GENERAL USAGE
---------------------------------------------------------------------------------*/
.featurette {
    padding-right: 15px;
    padding-left: 15px;
}

/*--------------------------------------------------------------------------------
    # Contact
---------------------------------------------------------------------------------*/
#kce-contact-row {
    margin-top: 15px;
    color: #629c44;
}

#kce-contact-row a {
    color: inherit !important;
}

#kce-contact-details {
    padding-top: 20px;
}

#kce-hours-info {
    padding-top: 20px;
}

.kce-contact-card {
    color: green;
    padding: 20px
}
/*--------------------------------------------------------------------------------
    # Media
---------------------------------------------------------------------------------*/
#kce-header-logo {
    max-height: 100px;
    max-width: 300px;
}

.kce-img-responsive {
    width: 100%;
    height: auto;
}

.kce-contact-img {
    margin: 0;
}

.kce-feature-img {
    max-height: 400px;
}

/*smaller image height for tablet */
@media screen and (max-width: 991px) {
    #kce-feature-img {
        margin-top: 15px;
    }
}

/*smaller image height for mobile */
@media screen and (max-width: 767px) {
    #kce-carousel img {
        height: 450px;
    }

    .kce-full-width-mobile {
        width: 100%;
    }
}

/*smaller image height for mobile */
@media screen and (max-width: 586px) {
    .kce-contact-img {
        margin-top: 15px;
    }

    #kce-carousel {
        display: none;
    }
}

/*--------------------------------------------------------------------------------
    # Map
---------------------------------------------------------------------------------*/
#map {
    height: 400px;
    padding-right: 15px;
    margin-bottom: 15px;
}

.kce-hidden {
    display: none;
}


body {
    background: #e2e1e0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    /*text-align: center;*/
}

body a {
    cursor: pointer;
}

.card {
    background: #fff;
    color: #444;
    border-radius: 2px;
    display: inline-block;
    position: relative;
    /*min-height: 120px;*/
    width: 100%;
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}


.backend-content {
    margin-top: 20px;
    min-height: 450px;
}

.card-hover:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}


/*Expenses*/
#timesheet-lastWeek-gross {
    display: none;
}

#timesheet-lastWeek-vat {
    display: none;
}

#timesheet-thisWeek-gross {
    display: none;
}

#timesheet-thisWeek-vat {
    display: none;
}

#expense-actions {
    display: none;
}

.card-row-totals-container {
    text-align: right;
}

@media(max-width: 762px) {
    #this-week-expense-header {
        text-align: center;
    }

    #last-week-expense-header {
        text-align: center;
    }

    .week-totals {
        float: none !important;
    }

    .day-totals {
        float: none !important;
    }

    .card-row-totals-container {
        text-align: center;
    }
}


#add-expense-form {
    display: none;
}

#expense-saved-alert {
    display: none;
}

#view-day-expenses {
    display: none;
}

#expense-upload-img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin-top: 10px;
    display: none;
}

.img-loading {
    display: none;
}

#expense-upload-img {
    width: 100%;
}

#expense-upload-img-compressed img {
    width: 100%;
    display: none;
}

/*Timesheets*/
#timesheet-lastWeek-hours {
    display: none;
}

#timesheet-lastWeek-mileage {
    display: none;
}

#timesheet-thisWeek-hours {
    display: none;
}

#timesheet-thisWeek-mileage {
    display: none;
}

@media(max-width: 762px) {
    #this-week-timesheet-header {
        text-align: center;
    }

    #last-week-timesheet-header {
        text-align: center;
    }

    .week-totals {
        float: none !important;
    }
}

#timesheet-actions {
    display: none;
}

#view-day-timesheets {
    display: none;
}

.kce-card-data-exists {
    background-color: #B2D8B2;
}

.kce-card-data-none {
    background-color: #FFADAD;
}

#txtHoursValidation {
    display: none;
}

#add-timesheet-form {
    display: none;
}

#timesheet-saved-alert {
    display: none;
}

#view-day-timesheet {
    display: none;
}

tr {
    text-align: left
}

/*Manage Timesheets*/
.week-header {
    float: left;
}

.week-totals {
    float: right;
}

.card-row {
    min-height: 0px;
    padding: 15px;
}

.table-card-action {
    float: right;
    width: 100px;
    margin-left: 10px;
}

@media(max-width: 762px) {
    .table-card-action {
        float: none;
        width: 100%;
        margin-top: 5px;
    }
}

@media(max-width: 762px) {
    .week-totals {
        width: 100%;
    }

    .timesheet-container {
        text-align: center;
    }
}


@media(max-width: 762px) {
    .kce-responsive-action-button {
        margin-top: 2%;
        float: none;
        width: 100%;
    }
    
    #desktop-view-management-resources{
        display: none;
    }

    #phone-view-management-resources{
        display: block;
    }
}

#job-card-display {
    display: none;
}

#site-card-display{
    display: none;
}

#site-card-display{
    display: block;
}

@media screen and (max-width: 992px) {
    #job-card-display {
        display: block;
    }
    #job-table-display{
        display: none;
    }

    #site-card-display {
        display: block;
    }

    #holiday-card-display {
        display: block;
    }

    #site-tble-display {
        display: none;
    }
    
    #holiday-tble-display {
        display: none;
    }
    
    #view-schedule-card-display{
        display: block;
    }

    #view-schedule-table-display{
        display: none;
    }

    #edit-schedule-desktop-view{
        display: none;
    }

}

.table-body-spacing tr td{
    padding: 5px 0;
}


@media screen and (min-width: 762px){


    #desktop-view-management-resources{
        display: block;
    }

    #phone-view-management-resources{
        display: none;
    }
    
}
@media screen and (max-width: 768px){


    #department-card-append{
        display: block;
    }

    #department-view-table{
        display: none;
    }
    
}

@media screen and (min-width: 768px){


    #department-card-append{
        display: none;
    }
    
    #department-view-table{
        display: block;
    }
    
    
}


@media screen and (min-width: 992px) {
    #job-card-display {
        display: none;
    }

    #job-table-display {
        display: block;
    }

    #site-card-display {
        display: none;
    }

    #holiday-card-display {
        display: none;
    }

    #site-tble-display {
        display: block;
    }

    #holiday-tble-display {
        display: block;
    }

    #view-schedule-card-display{
        display: none;
    }

    #view-schedule-table-display{
        display: block;
    }

    #schedule-mobile-view {
        display: none;
    }

    #edit-schedule-mobile-view{
        display: none;
    }

    #schedule-desktop-view {
        display: block;
    }

    #edit-schedule-desktop-view{
        display: block;
    }
}

@media screen and (max-width: 500px) {

    #schedule-mobile-view {
        display: block;
    }

    #edit-schedule-mobile-view
    {
        display: block;
    }

    #footer-section-add {
        display: none;
    }
}


/*Vehicles*/
#isDeliveredDate {
    display: none;
}

/*prevent placeholder being cut on selectize*/
.selectize-input > input[placeholder] {
    width: 100% !important;
}

.reg-card {
    min-height: 30px;
    background-color: yellow;
    color: black;
    font-weight: bold;
    border: solid 2px;
    border-color: black;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 5px;
}

.spinner {
    width: 40px;
    height: 40px;
    background-color: #333;
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
    margin-left:50%;
    margin-top:35%;
    position:absolute;
    top:0;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

