﻿* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.btn-default {
    color: #31323d;
    background-color: #fff;
    border-color: #cccccc;
    text-transform: none;
    border-radius: 2px;
}

.k-button, .k-calendar .k-footer, .k-calendar .k-header .k-link {
    text-transform: none;
}

/*#region kendo widgets */


/*#region Kendo Tabstrip */
.k-tabstrip-items .k-state-active, .k-panelbar .k-tabstrip-items .k-state-active > .k-link {
    background-color: transparent;
    letter-spacing: 2px;
    border: none;
    padding: 0 5px;
    font-weight: bold;
    font-size: 1.4em;
    line-height: 1em;
}

.k-tabstrip-items .k-state-default .k-link, .k-panelbar > li.k-state-default > .k-link {
    padding: 8px 10px;
    font-size: 1em;
    /*font-size: 14px;*/
}

/*#endregion */



/*#region kendo Nummeric textbox */

/*This was also in the example: .k-combobox .k-dropdown-wrap:before, .k-picker-wrap:before,*/
.k-numeric-wrap:before { /*Or else there will com two lines*/
    content: "";
    display: inline;    
}

.k-numeric-wrap.k-state-default {
    height: 36px;
    padding-right:25px;

}

.k-dropdown-wrap .k-select, .k-numeric-wrap .k-select, .k-picker-wrap .k-select {
    width: 25px;
}

/*#endregion */



/*#region kend dropdownlist */

.k-list-container div.k-group-header { /*When using groups*/
    color: white;
    background-color: #008888;
}

.k-popup .k-list .k-item > .k-group {
    color: white;
    background-color: #008888;
}

/*#endregion */


.k-textbox:focus, .k-autocomplete.k-state-focused, .k-dropdown-wrap.k-state-focused, .k-picker-wrap.k-state-focused, .k-numeric-wrap.k-state-focused {
    border-color: gray;
    box-shadow: none;
}

.k-datepicker:hover, .k-textbox:hover, .k-overflow-anchor:hover, .k-autocomplete.k-state-hover, .k-picker-wrap.k-state-hover, .k-numeric-wrap.k-state-hover, .k-dropdown-wrap.k-state-hover, .k-multiselect.k-header:hover {
    border-color: gray;
    box-shadow: none;
}

.k-sprite {
    font-size: medium;
}

/*#region Kendo grid edit */

.grid-top-posistion {
    padding: 0;
    margin: -8px -15px -10px -15px;
}


/*Filterrow are to weak*/
.k-filter-row {
    /*background-color: #cccccc;*/
}

/*Padding are to wide in cells and headers*/
.k-grid-header th.k-header {
    padding: 0.4em 0.4em 0.4em 0.4em;
}

.k-grid td {
    padding: 0.4em 0.4em 0.4em 1em;
}


/*Padding are to wide in cells and headers - when editing*/
.k-grid .k-edit-cell {
    padding-left: 0;
    padding-right: 0;
}

/*The borders are to waek - I cannot see them*/
.k-multiselect.k-header {
    border-color: #cccccc;
}

.k-header.k-grid-toolbar { /*It has a blue border*/
    border: none;
}

.k-grid-toolbar, .k-grouping-header { /*This toolbar header is to heigh*/
    padding: 1px;
}

.k-grid tr:last-child > td {
    border-bottom: solid 1px #e6e6e6;
}

/*The text in the header of the grid are to weak*/
.k-grid-header .k-header .k-link, .k-grid-header .k-header, .k-grid-header .k-link, .k-grid-header .k-link:link {
    color: #808080;
}

.k-grid tr:hover {
    /*background-color: #ccc;*/
}

/*Get an action when using links in cells*/
.k-grid-content > .k-virtual-scrollable-wrap > table > tbody > tr > td > a,
.k-grid.k-widget > table > tbody > tr > td > a {
    color: #41424d;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.k-grid.k-widget a:hover {
    color: #808080;
}

.k-picker-wrap.k-state-default {
    color: red;
}

#visual-dialog_wnd_title {
    font-size: 20px;
    margin: -4px;
}

#visual-dialog-content {
    margin: 5px;
    font-size: 18px;
}

/*#endregion */

/*#endregion */

/*#region Buttons */
.grid-btn { /*Buttons used in grid*/
    color: #41424d;
    display: inline-block;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    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-primary {
    font-weight: bold;
    color: #fff;
    background-color: #008788;
    border-color: #ccc;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #006667;
        border-color: #ccc;
    }

    .btn-primary:active, .btn-primary:active:hover, .btn-primary:focus {
        color: #fff;
        background-color: #029d9f;
        border-color: #ccc;
    }

.btn-danger {
    color: #fff;
    background-color: #535353;
    border-color: #ccc;
}

    .btn-danger:hover {
        color: #fff;
        background-color: #444444;
        border-color: #ccc;
    }

    .btn-danger:active, .btn-danger:active:hover, .btn-danger:focus {
        color: #fff;
        background-color: #808080;
        border-color: #ccc;
    }



/*#endregion */

/*#region Forms */
.form-control {
    width: 100%;
    height: auto;
    border: 1px solid #cccccc;
}

.form-separator {
    border-bottom: 1px solid #cccccc;
    margin-bottom: 15px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 8px;
}

    .form-group.header {
        margin-bottom: 0;
    }

        .form-group.header p {
            margin-bottom: 2px;
            display: inline-block;
            font-weight: bold;
            font-size: 16px;
        }

        .form-group.header > div > .form-tooltip {
            margin-top: 2px;
            margin-left: 10px;
            font-size: 14px;
            font-style: italic;
            color: #414042;
        }

/*.k-widget.k-numerictextbox.form-control.k-textbox {
    box-shadow: none;
}*/

.form-help-text {
    font-weight: normal;
    font-style: italic;
    position: relative;
    top: 2px;
    font-size: 14px;
}

.col-padding-0 {
    padding: 0;
}

.form-log {
    /*padding:-70px;*/
    margin: 8px 0 0 0;
    /*margin:0 -50px 0 15px;*/
    /*width:83%;*/
    /*border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;*/
    color: #808080;
}

.form-mandatory-field {
    position: absolute;
    right: 0;
    top: 4px;
    font-size: 25px;
    color: red;
}

.form-text { /*A simple text that is in a form */
    position: relative;
    top: 3px;
    font-size: 14px;
}

.form-tooltip {
    position: absolute;
    margin-top: 8px;
    margin-left: -10px;
    font-size: 18px;
    color: #008788;
    line-height: 15px;
    z-index: 1;
}

@media all and (max-width:767px) {
    .form-mandatory-field {
        margin-top: 0;
        margin-left: 2px;
    }

    .form-tooltip {
        margin-top: 2px;
        margin-left: -10px;
    }
}

.control-label {
    /*margin-top: -3px;*/
}

.k-checkbox-label {
    margin-top: 5px;
}


/*#endregion */


/*#region misc elements */

#approvalFlowDiagram .button-panel > code {
    background-color: transparent;
    margin-top: 3px;
}

.k-card-header {
     display: flex;
     height: 50px;
 }

.user-info {
    padding-left: 10px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.cards-container > div {
    margin: 2%;
}

.cards-container .k-card .k-card-subtitle {
    margin-top: 5px;
}

.avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.k-card {
    width: 800px;
    max-width: 95%;
    margin-right: 0px !important;
    margin-bottom: 0px !important;
    /*height: 350px;*/
}

.k-card-footer {
    text-align: center;
}

