﻿html,
body,
#parent,
#grid {
    margin: 0;
    padding: 0;
    border-width: 0;
    height: 100%; /* DO NOT USE !important for setting the Grid height! */
}

    html
    {
    overflow: hidden;
    font: 13px sans-serif;
    }

    /* centres the image */
    .k-grid .k-button-icontext .k-icon {
    display: inline-block;
    }
    /* changes default width of the button */
    .k-grid tbody .k-button {
    -moz-min-width: 22px;
    -ms-min-width: 22px;
    -o-min-width: 22px;
    -webkit-min-width: 22px;
    min-width: 22px;
    width: 22px;
    /*height:22px;*/
    padding: 0px 5px;

    }

    /*
.k-master-row:hover {
    background-color: transparent !important;
}*/

.k-detail-row:hover {
    background-color: transparent !important;
} 


.k-grid {
    height: 100%;
}

.k-grid-content {
    min-height: 200px;
}

.subgrid > .k-grid {
    margin: 25px;
}

.dynamic {
    background-color: #FAF2FB !important;
}

.k-alt .dynamic {
    background-color: #F5E4F8 !important;
}

.k-header.dynamic {
    background-color: #F5E4F8 !important;
}

.k-state-selected .dynamic {
    background-color: #A459B0 !important;
}


.nopaddingleft {
    padding-left: 0px !important;
}

.addspacing {
    margin: 25px;
}

.Fill > .container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}



    .Fill {
    top:86px;    
    bottom:0px;

    width:100%;
    /*min-height: 100%;
    height: 100%;*/
    position:absolute;
    }

    .Fill .container-fluid {
    width:100%;
    min-height: 100%;
    height: 100%;
    position:absolute;
    }

.SubFill {
    top: 81px;
    bottom: 0px;
    width: 100%;
    /*min-height: 100%;
    height: 100%;*/
    position: absolute;
}

.SubFill .container-fluid {
    width: 100%;
    min-height: 100%;
    height: 100%;
    position: absolute;
}

.SubFill > .container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

    body {
    padding-top: 50px;
    }




    .breadcrumb-arrow {
    height: 36px;
    padding: 0;
    line-height: 36px;
    list-style: none;
    background-color: #e6e9ed
    }
    .breadcrumb-arrow>li, .breadcrumb-arrow>li>a, .breadcrumb-arrow>li.active span {
    display: inline-block;
    vertical-align: top
    }
    .breadcrumb-arrow>li:not(:first-child) {
    /*
        This was causing an odd 5px line before the arrows...
        margin-left: -5px*/
    }
    .breadcrumb-arrow>li+li:before {
    padding: 0;
    content: ""
    }
    .breadcrumb-arrow>li.active span {
    padding: 0 10px
    }
    .breadcrumb-arrow>li>a, .breadcrumb-arrow>li:not(:first-child).active span {
    height: 36px;
    /*was padding: 0 10px 0 25px;*/
    padding: 0 10px 0 20px;
    line-height: 36px
    }
    .breadcrumb-arrow>li:first-child a {
    padding: 0 10px
    }
    .breadcrumb-arrow>li>a {
    position: relative;
    color: #fff;
    text-decoration: none;
    background-color: #337ab7;
    border: 1px solid #337ab7
    }
    .breadcrumb-arrow>li:first-child>a {
    padding-left: 10px
    }
    .breadcrumb-arrow>li>a:after, .breadcrumb-arrow>li>a:before {
    position: absolute;
    top: -1px;
    width: 0;
    height: 0;
    content: '';
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent
    }
    .breadcrumb-arrow>li>a:before {
    right: -10px;
    z-index: 3;
    border-left-color: #337ab7;
    border-left-style: solid;
    border-left-width: 11px
    }
    .breadcrumb-arrow>li>a:after {
    right: -11px;
    z-index: 2;
    border-left: 11px solid #2494be
    }
    .breadcrumb-arrow>li>a:focus, .breadcrumb-arrow>li>a:hover {
    background-color: #4fc1e9;
    border: 1px solid #4fc1e9
    }
    .breadcrumb-arrow>li>a:focus:before, .breadcrumb-arrow>li>a:hover:before {
    border-left-color: #4fc1e9
    }
    .breadcrumb-arrow>li>a:active {
    background-color: #2494be;
    border: 1px solid #2494be
    }
    .breadcrumb-arrow>li>a:active:after, .breadcrumb-arrow>li>a:active:before {
    border-left-color: #2494be
    }
    .breadcrumb-arrow>li.active span {
    color: #434a54
    }


    .breadcrumb-plain {
    height: 36px;
    padding: 0;
    line-height: 36px;
    list-style: none;
        background-color: #333333;
    }
    .breadcrumb-plain>li, .breadcrumb-plain>li>a, .breadcrumb-plain>li.active span {
    display: inline-block;
    vertical-align: top
    }
    .breadcrumb-plain>li:not(:first-child) {
    margin-left: -5px
    }
    .breadcrumb-plain>li+li:before {
    padding: 0px 0px 0px 5px;
    color: #9d9d9d;
    content: "\f0da";
    font-family: FontAwesome;
    }
    .breadcrumb-plain>li.active span {
    padding: 0px
    }
    .breadcrumb-plain>li>a, .breadcrumb-plain>li:not(:first-child).active span {
    height: 36px;
    padding: 0 10px 0 10px;
    line-height: 36px
    }
    .breadcrumb-plain>li:first-child a {
    padding: 0 10px
    }
    .breadcrumb-plain>li>a {
    position: relative;
    color: #9d9d9d;
    text-decoration: none;
    }
    .breadcrumb-plain>li:first-child>a {
    padding-left: 10px
    }
    .breadcrumb-plain>li>a:after, .breadcrumb-plain>li>a:before {
    position: absolute;
    top: -1px;
    width: 0;
    height: 0;
    content: '';
    }
    .breadcrumb-plain>li>a:before {
    right: -10px;
    z-index: 3;
    }
    .breadcrumb-plain>li>a:after {
    right: -11px;
    z-index: 2;
    }
    .breadcrumb-plain>li>a:focus, .breadcrumb-plain>li>a:hover {
    }
    .breadcrumb-plain>li>a:focus:before, .breadcrumb-plain>li>a:hover:before {
    }
    .breadcrumb-plain>li>a:active {
    }
    .breadcrumb-plain>li>a:active:after, .breadcrumb-plain>li>a:active:before {
    }
    .breadcrumb-plain>li.active span {
    color: #fff;
    }


    .breadcrumb-plain > li:not(:first-child) {
        display:none;
    }

    .breadcrumb-plain > li:nth-last-child(-n+3) {
        display: inline;
    }

    .breadcrumb-plain > li:nth-last-child(4) + li:before {
        font-weight: bold;
        content: "\f067";
    }

    .breadcrumb-plain > li:first-child + li:before {
        font-weight: normal;
        content: "\f0da";
    }

    .breadcrumb-plain > li > * {
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        /* two items */
        .breadcrumb-plain > li:first-child:nth-last-child(2) > span,
        .breadcrumb-plain > li:first-child:nth-last-child(2) ~ li > span {
            max-width: 300px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* three items */
        .breadcrumb-plain > li:first-child:nth-last-child(3) > *,
        .breadcrumb-plain > li:first-child:nth-last-child(3) ~ li > * {
            max-width: 150px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }


    .EditGrid
    {
    margin: 15px 30px;
    }

    .km-native-scroller
    {
    overflow-y:auto;
    }








    .navbar-text {
    float:left;
    margin: auto;
    padding-top: 17px;
    text-decoration:none;
    }

    a.navbar-text:hover {
    text-decoration:none;
    color:#ffffff;
    }

    .btn-breadcrumbs {
        background-color: #e6e9ed;
        border-color: #ccc;
        margin-left:5px;
    }

        .btn-success {
            background-color: #5cb85c;
            border-color: #4cae4c;
        }

.btn-danger {
    background-color: #d9534f;
    border-color: #d43f3a;
}



.eventname-subheading {
    max-width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-left: 10px;
}

    .menu-text {
        max-width:250px;
        overflow:hidden;
        white-space: nowrap; 
        text-overflow: ellipsis;
        vertical-align:middle;
        display:inline-block;
    }


/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px)
{
        .eventname-subheading {
        max-width:150px;
    }

    .menu-text {
        max-width:120px;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) 
{ 
        .eventname-subheading {
        max-width:350px;
    }
}

    /*
    DROPDOWNBOX ITEMS AFTER EACH OTHER IF SOME CLASS IS DEFINED...AND IF NOT MOBILE VIEW...
    */
    @media (min-width: 768px) {
    .dropdown-menu.dropdown-xs-only {
    display: inline;
    left: inherit;
    top: inherit;
    position: relative;
    margin: inherit;
    padding: inherit;
    border: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    background-color: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
    }

    .dropdown-menu.dropdown-xs-only > li {
    display: block;
    float: left;
    }

    .dropdown-menu.dropdown-xs-only > li > a {
    /* bnt */
    display: inline-block;
    padding: 4px 8px;
    margin-bottom: 0;
    margin-top: -4px;
    margin-right: 4px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    /* btn default */
    color: #333;
    background-color: #e6e9ed;
    border-color: #ccc;
    }

        .btn-breadcrumbs {

            margin-top: -2px;
        }

    .btn-group .dropdown-toggle {
    display: none;
    }

    .btn-group.open .dropdown-toggle {
    display: none;
    }

   
}

.font-weight-bold {
    font-weight: bold;
}


@media (max-width: 960px) {
    .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-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }
}

label.required:after {
    content: " *";
    color: red;
}

.k-window.k-dialog {
    min-width:300px;
}

.k-edit-field.readonly {
    padding: .65em 0 1em;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.k-dialog .k-content {
    padding: 0em 1em 1.8em 1em !important;
}

.k-dialog.k-alert {
    padding: 0 !important;
}

.k-dialog .k-content a {
    text-decoration:underline;
}

.Soldout {
    background-color: #d9534f !important;
    border-color: #d9534f !important;
}

.k-unavailable {
    background-color: #F8E0DF !important;
}

    .k-unavailable.k-nonwork-hour {
        background-color: #F1C0BF !important;
    }

.k-edit-form-container
.k-fullwidth {
    float: left;
    clear: both;
    width: 90%;
    padding: 1em 0;
    margin-left: 2%;
    text-align: left
}

.k-mobile-list
.k-fullwidth {
    padding: 1em 0;
    margin-left: 2%;
    text-align: left
}

.k-edit-form-container .k-input {
    width: 100%;
}

.k-upload {
    /*background-color: #449d44 !important;*/
}

.k-upload-files {
    z-index: 10000;
    position: relative;
}

input.k-textbox {
    background-color: #e6e9ed !important;
    padding-left: 1% !important;
}

.form-id {
    font-weight: bold;
    color: #337ab7;
    padding-top:0 !important;
    min-height:initial !important;
}

.bgAccepted{
    background-color: #5cb85c;
    border-color: #50b050;
}


div.k-edit-form-wrapper {
    /*min-height: 300px;*/
    max-height: 70vh;
    height: auto;
    overflow-y: scroll;
}

div.k-edit-form-container {
    max-width: 90vw;
}

div.k-popup-edit-form div.k-edit-buttons {
    height: 2.5em;
    padding: 0.5em;
    border-top: 1px solid #ccc;
}

div.k-popup-edit-form div.k-edit-buttons a {
    float: right;
    margin-right: 1em;
}

div.k-window > div.k-scheduler-edit-form {
    padding-top: 1em;
    padding-bottom: 0;
}



.bgAccepted.Min60 {
    background: linear-gradient(90deg, #5cb85c 75%, #cccccc 25%);
}


.bgpending.Min60 {
    background: linear-gradient(90deg, #3174ad 75%, #cccccc 25%);
}

.tooltip-inner {
    word-break: break-all;
}