﻿html,
.body,
.dx-viewport {
    background-color: #434343;
    height: 100%;
}

.body {
    margin: 0;
    padding: 0;
}

.item-panel {
    padding: 10px;
    border: 1px solid rgb(207, 207, 207);
    border-image: none;
    background-color: white;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.2);
    border-radius: 5px;
    overflow: hidden;
}

.panel-header {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    display: block;
    max-width: 250px;
}

.legaltext {
    font-size: 2em;
    text-align: center;
    float: right;
    width: 75%;
}

.link-back {
    font-family: sans-serif;
    font-size: 1.5em;
    flex: 2 60%;
    position: relative;
    text-align: center;
    margin-left: -250px;
}

@media screen and (max-width: 1080px) {
    .legaltext {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .link-back {
        -webkit-flex: 0 1 100%;
        flex: 0 1 100%;
        margin-left: 0;
        text-align: center;
    }

    .logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 250px;
    }
}

.dx-button-text {
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap; /* Opera <7 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* IE */
}
/*------------------------------------------Flex CSS------------------------------------------*/
.flexcontainer {
    background-color: white;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    /*align-items: center;*/
    -webkit-align-items: center;
    align-items: center;
    /* Or do it all in one line with flex flow */
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    /* tweak the where items line up on the row */
    /* valid values are: flex-start, flex-end, space-between, space-around, stretch */
    -webkit-align-content: flex-end;
    align-content: flex-end;
    min-height: 100px;
    margin: 0 150px 0 150px;
    padding: 20px;
}

.maxitem {
    /* This will always take one line. */
    -webkit-flex: 0 1 100%;
    flex: 0 1 100%;
    margin: 10px 5px;
    position: relative;
}

.bigitem {
    /* This will be twice as big as the small item. */
    -webkit-flex: 2 60%;
    flex: 2 60%;
    margin: 10px 5px;
    align-self: stretch;
    position: relative;
}

.smallitem {
    -webkit-flex: 1 30%;
    flex: 1 30%;
    margin: 10px 5px;
    align-self: stretch;
    position: relative;
}

@media screen and (max-width: 1350px) {
    .flexcontainer {
        margin: 0 20px 0 20px;
    }
}

/*------------------------------------------End Flex CSS------------------------------------------*/
/*------------------------------------------UI Highlighting CSS------------------------------------------*/
.dx-datagrid-rowsview .dx-row > .dx-master-detail-cell {
    padding: 10px;
    padding-left: 0;
}

.dx-field-item-required label.dx-field-item-label span.dx-field-item-label-content span.dx-field-item-label-text {
    color: #ea4444;
}

.dx-state-disabled.dx-widget,
.dx-state-disabled .dx-widget {
    opacity: 1;
    pointer-events: painted;
}

.dx-state-disabled .dx-checkbox-text {
    opacity: 1;
}

.dx-state-disabled.dx-checkbox .dx-checkbox-icon,
.dx-state-disabled .dx-checkbox .dx-checkbox-icon {
    opacity: 1;
}

.dx-datagrid-focus-overlay {
    border: none;
}

.dx-texteditor-input:enabled {
    background: #EDF5FF;
}

.dx-state-disabled .dx-texteditor-input {
    background: #fff;
}

.dx-editor-cell .dx-texteditor :enabled.dx-texteditor-input {
    background: #EDF5FF;
}

.dx-textarea .dx-texteditor-input:enabled {
    background: #EDF5FF;
}

.dx-state-disabled .dx-textarea .dx-texteditor-input {
    background: #fff;
}

.dx-datagrid-checkbox-size .dx-checkbox-icon {
    background: #EDF5FF;
}

.dx-checkbox-has-text .dx-checkbox-icon {
    background: #EDF5FF;
}

.dx-checkbox-icon {
    background: #EDF5FF;
}

.dx-state-disabled.dx-checkbox .dx-checkbox-icon, .dx-state-disabled .dx-checkbox .dx-checkbox-icon {
    background: #fff;
}

.dx-lookup {
    background: #EDF5FF;
}

.dx-lookup-empty .dx-lookup-field {
    color: #999999;
    background: #EDF5FF;
}

.dx-state-disabled .dx-lookup-empty .dx-lookup-field {
    color: #999999;
    background: #fff;
}

.dx-state-disabled .dx-dropdowneditor, .dx-state-disabled .dx-dropdowneditor {
    background: #fff;
}

.dx-state-disabled .dx-lookup-field, .dx-state-disabled .dx-lookup-empty .dx-lookup-field {
    background: #fff;
}

.dx-form-group-caption {
    font-weight: bold;
}

.dx-texteditor.dx-state-readonly {
    border-color: black;
}

.dx-widget  .dx-checkbox-icon  {
    background-color: #EDF5FF;
}

.dx-texteditor.dx-state-focused, .dx-texteditor.dx-state-active {
    border: 1px solid rgba(81, 203, 238, 1);
    -webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    -moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

.dx-tile.dx-state-hover {
    border: 1px solid rgba(81, 203, 238, 1);
    -webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    -moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    box-shadow: 0 0 5px rgba(81,203,238,1);
}

.dx-texteditor-container.dx-tag-container {
    background: #EDF5FF;
}

.dx-state-disabled .dx-texteditor-container.dx-tag-container {
    background: #fff;
}
/*------------------------------------------End UI Highlighting CSS------------------------------------------*/
