﻿/* 
    *=====================================================================
    * Site.css acts as the overwrite CSS file across all Muse MVC projects
    * Use this for OrderLogistics only styles
    *=====================================================================
*/

/*#region Native HTML elements*/

input[type="submit"]:hover, 
input[type="button"]:hover, 
button:hover {
    background: #0F4456;
    color: #f0f0f0;
    border: 1px solid #0F4456;
}

input[value="Save"]:hover:disabled {
   background-color: #EFEFEF;
   border:solid 1px #cecece;
   color:#bbb;
}

.Label_suppliersOrdersForm_OrderKey
{
    font-weight:bold;
}

input[forcedcontrolid="suppliersOrdersForm_OrderKey"] {
    color: red;
    /*font-weight: bold;*/
}

input[musesubtype='CheckBox']:before {
    background-color: transparent;
    border: transparent 1px solid;
    padding: 0px;
    color: #428bca;
    content: "";
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    left: 1px;
    top: 1px;
}

input[musesubtype='CheckBox']:focus
{
    outline: none;
}

input[musesubtype='CheckBox']:checked:before {
    background-color: #428bca;
    border: #FFF 1px solid;
}

input[type='checkbox'],
input[type='checkbox']:checked {
    content: "";
    -webkit-appearance: none;
    box-sizing: border-box;
    z-index: 1;
    border: 1px solid #CCC !important;
    position: relative;
    cursor: pointer;
    margin-right: 0px;
}

/*#endregion Native HTML elements*/

/*#region Header*/

.BurgerMenuIcon:hover {
    background: #0F4456;
}

.BurgerMenuIcon:hover .bar1, 
.BurgerMenuIcon:hover .bar2, 
.BurgerMenuIcon:hover .bar3, 
#BurgerIconClick:hover .bar1, 
#BurgerIconClick:hover .bar2, 
#BurgerIconClick:hover .bar3, 
.bar1:hover, 
.bar2:hover, 
.bar3:hover {
    background-color: #f2f2f2 !important;
    border: 1px solid #f2f2f2 !important;
}

/*#endregion Header*/

/*#region Burger Menu*/

.BurgerMenuItemSelected {
    color: #fff !important;
    background: #0F4456 !important;
}

.BurgerMenuItem:hover, 
.BurgerMenuItemSelected:hover {
    background: #0F4456 !important;
    color: white !important;
}

/*#endregion Burger Menu*/

/*#region Left Filter*/

.MuseLeftFilter {
    padding: 0;
}

.MuseLeftFilter .MusePanel {
    border-bottom: 1px solid #EEE;
    margin-bottom: 0;
    padding-top: 0;
}

.MuseLeftFilter .MusePanel .MuseControlContent .col-auto:hover, 
.MuseLeftFilter .MusePanel .MuseControlContent .col-auto label:hover {
    background: #f0f0f0;
    cursor: pointer;
}

.MuseLeftFilter .MusePanel .MuseControlContent .col-auto {
    width: 100%;
    padding-right: 0px;
    padding-left: 5px;
    overflow: hidden;
}

.MuseLeftFilter .MusePanel .MuseControlContent .col-auto label{
    width: calc(100% - 14px);
    display: inline-block;
    padding-right: 0px;
    max-width: unset !important;
}

.MuseLeftFilter .PanelTitleContainer {
    top: 0px;
    transition: all 0.3s cubic-bezier(0.4,0,.2,1);
}

.MuseLeftFilter .PanelTitleContainer:hover {
    background: #f0f0f0;
}

.MuseLeftFilter .MusePanelTitle {
    background: none;
}

.MuseLeftFilter input[type='checkbox'] + label:before {
    margin-left: -17px;
    margin-top: -2px;
}

.MuseLeftFilter input[type='checkbox']:checked + label:before {
    margin-left: -17px;
    margin-top: -2px;
}

.MuseLeftFilter .MusePanelTitleContainer:hover {
    background: #F0F0F0;
}

/*#endregion Left Filter*/

/*#region Grid*/

.k-grid-content.k-auto-scrollable {
    box-sizing: border-box;
    overflow-x: hidden;
}

#OrgUnits > .k-grid-header {
    box-shadow: 0 4px 5px -2px #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    position: relative;
    z-index: 1;
}

/* Expand grid */
.k-grid .k-hierarchy-cell .k-i-expand:hover, 
.k-grid .k-hierarchy-cell .k-i-collapse:hover {
    background-color: #c4c4c494;
    border-radius: 100%;
}

.k-grid .k-hierarchy-col {
    width: 3%;
}

.k-grid .k-hierarchy-cell .k-i-expand, 
.k-grid .k-hierarchy-cell .k-i-collapse {
    margin: 0 auto;
}

.k-detail-row .k-detail-cell .k-widget.k-tabstrip
{
    margin-top:0px;
}

/* Datepicker */
.k-calendar td.k-state-focused .k-link {
    background: #0F4456;
    color: #f0f0f0;
}

.k-calendar td.k-state-focused .k-link {
    box-shadow: inset 0 0 1px 0 #76abd9;
}

.k-calendar .k-today .k-link {
    box-shadow: inset 0 0 2px 0 #76abd9;
    color: #76abd9;
}

/* Loading SVG */
.k-loading-mask .k-loading-image {
    background-image: url("data:image/svg+xml;utf8,<svg version='1.1' id='loader-1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='50px' height='50px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50;' xml:space='preserve'> <path fill='%23006666' d='M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z'><animateTransform attributeType='xml' attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='1s' repeatCount='indefinite'/></path></svg>");
}

/* Rows */
#OrgUnits table tbody tr {
    height: 45px;
    min-height: 45px;
    position: relative;
    border: 1px;
}

/*master row hover*/
tr.k-master-row:hover + tr.k-detail-row {
    background-color: #e2e2e2 !important;
}
.k-master-row:hover {
    background-color: #e2e2e2 !important;
}
.k-detail-row:hover {
    background-color: #e2e2e2 !important;
}


#OrgUnits table tbody tr[class='k-master-row']:hover {
    border-top: 1px solid #e2e2e2 !important;
}

div[forcedcontrolid='orderItemsGrid'] .k-detail-cell .container-fluid {
    border-bottom: 1px solid #e2e2e2;
}

div[forcedcontrolid='orderItemsGrid'] tbody tr {
    box-shadow: none !important;
}

div[forcedcontrolid='orderItemsGrid'] tbody[role=rowgroup] tr[role=row] td:hover {
    box-shadow: 0 0 0 0 #e2e2e2 !important;
}

div[forcedcontrolid='orderItemsGrid'] table tbody tr[class='k-master-row']:hover {
    border-top: 1px solid #e2e2e2;
    box-shadow: none !important;
}

.k-grid .k-detail-row:hover .k-hierarchy-cell, .k-grid .k-detail-row .k-hierarchy-cell {
    background-color: white;
}

.k-grid-norecords {
    line-height: 4em;
}

.k-grid-content {
    overflow-y: auto;
}

#OrgUnits .MuseDetailRowLoading {
    background-image: url("data:image/svg+xml;utf8,<svg version='1.1' id='loader-1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='50px' height='50px' viewBox='0 0 50 50' style='enable-background:new 0 0 50 50;' xml:space='preserve'> <path fill='%23006666' d='M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z'><animateTransform attributeType='xml' attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='1s' repeatCount='indefinite'/></path></svg>");
}

/*#endregion Grid*/

/*#region Muse Controls*/

.MainPageContent {
    padding: 0 !important;
    border-top: 0px transparent !important;
}

.MusePanelTitle:first-of-type {
    border-top: 0px solid transparent;
}

.MusePanelTitle {
    text-indent: 15px;
}

.MuseControlContent {
    padding: 0px;
}

.MusePanel .MuseControlContent .row:first-of-type {
    margin: 0 !important;
}

.MuseFormLabel {
    max-width: 220px !important;
    text-overflow: ellipsis;
    z-index: 10;
    white-space: nowrap;
}

/* Kebab icon */
#BurgerIconRight:hover {
    background: #0F4456 !important;
}

#BurgerIconRight.hovered {
    background: #0F4456 !important;
}

#BurgerIconRight.hovered div {
    background: #f0f0f0;
}

input[forcedcontrolid='fc_Span'] {
    width: 150%;
}

/*#endregion Muse Controls*/
