﻿html, body, form {
    min-height: 100%; /* Element height has to grow with the browser window. */
    height: 100%;
    margin: 0; /* No distance to outer elements. */
    padding: 0; /* No distance to inner elements. */
    background-color: #0c8094;
}

body, input, select, button {
    font-family: Helvetica, Arial, Sans-Serif;
    font-size: inherit;
    color: #414345;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    box-sizing: border-box;
}

button {
    overflow: visible; /* Fix "buttons too wide" in IE */
    padding: 0.25em;
}

input, select, textarea {
    outline-color: #71b2bd;
}

button img, button span {
    vertical-align: middle;
}

div.clear {
    clear: left;
    height: 0;
    margin: 0;
    padding: 0;
    font-size: 0;
}

/* Used to create the main content element that contains all other elements. */
.Container {
    min-height: 100%; /* Element height has to grow with the parent element. */
    height: 100%;
    width: 100%;
    margin: 0; /* No distance to outer elements. */
    padding: 0; /* No distance to inner elements. */
    position: relative; /* The div is to be positioned relatively. */
}


/*******************************
            Header
 *******************************/

/* Used to create the header element on top of all other elements. */
.HeaderPanel {
    width: 100%; /* Maximum width. */
    height: 65px; /* Precise height. */
    overflow: hidden; /* Crop content when to big. */
    z-index: 1; /* Highest layer. */
    position: absolute; /* The div is to be positioned absolutely to its parent element. */
    background-color: #ffffff;
    color: #414345;
}

/* Used to create the header splash image on the left side. */
.HeaderPanelSplash {
    float: left; /* The div is to be positioned on the left. */
    width: 302px; /* Maximum width. */
    height: 65px; /* Maximum height. */
    margin-left: 10px;
    background-color: #ffffff;
    background-image: url(../Public/EsysLogo.png);
    background-repeat: no-repeat;
    background-position: center;
}

/* Used for the header title. */
.HeaderPanelTitle {
    float: left;
    height: 60px;
    line-height: 60px; /* We need this to make vertical center alignment work. */
    align-items: center;
}

/* Used to create an additional splash image on the right side. */
.HeaderPanelSplashAdditional {
    float: right; /* The div is to be positioned on the right. */
    width: 150px; /* Maximum width. */
    height: 65px; /* Maximum height. */
    margin-right: 10px;
    background-color: #ffffff;
    background-image: url(../Public/MadeInBerlinSplash.png);
    background-repeat: no-repeat;
    background-position: right;
    text-align: left;
    line-height: 65px; /* We need this to make vertical center alignment work. */
    align-items: center;
}

/* Used for flexible header content like breadcrumbs. */
.HeaderFlexibleContent {
    float: right;
    margin-top: 2.75em;
}

/* Used to create the header login element. */
.HeaderPanelLogin {
    float: right; /* The div is to be positioned on the right. */
    margin-right: 6px; /* Distance to outer elements. */
    white-space: nowrap;
}

.SiteMapPath {
    margin-right: 30px;
    float: left;
    position: relative;
}

.HeaderSeparation {
    top: 65px;
    width: 100%;
    height: 10px;
    overflow: hidden;
    z-index: 1;
    position: absolute;
    background-color: #71b2bd;
}

/* Used to create an appropriate distance on elements that would be covered by the header. */
.HeaderSpacer {
    height: 80px; /* Maximum height. */
}

.ClearFloats {
    clear: both;
}

.LoginName {
    background-color: #ffffff;
    font-weight: bolder;
    font-size: inherit;
}


.LoginStatus {
    background-color: #ffffff;
}

/*******************************
            Login
 *******************************/

.LoginMainContent {
    display: inline-block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background: url(LoginBackground.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    min-height: 580px;
    min-width: 480px;
}

.LoginPanel {
    color: #ffffff;
    background: #44a12b;
    display: inline-block;
    padding: 0.5em;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.LoginButton {
    border-radius: 2px;
    /*background-color: #44a12b;
    color: #ffffff;*/
    background-color: #ffffff;
    color: #44a12b;
    border: 0px;
    width: 100%;
    padding: 0.5em;
}

.LoginFooter {
    position: fixed;
    bottom: 0;
    background: #ffffff;
    text-align: left;
    width: 100%;
    height: 15px;
}

.ImprintModalPopup {
    background-color: #ffffff;
    border: 1px solid Gray;
    padding: 3px;
    width: 420px;
    position: absolute;
}

.ImprintLink {
    background-color: #ffffff;
    font-weight: bold;
    font-size: inherit;
    color:#414345;
}

/*******************************
            Navigation
 *******************************/

/* Used to create the navigation element on the left. */
.NavigationPanel {
    float: left; /* The div is to be positioned on the left. */
    width: 15em; /* Maximum width. */
    margin: 0; /* No distance to outer elements. */
    padding: 0; /* No distance to inner elements. */
    position: relative; /* The div is to be positioned relatively. */
    color: #ffffff;
}

.SiteMapTreeViewNode {
    color: #ffffff;
}

.SiteMapTreeViewHoverNode {
    background-color: #ffffff;
    color: #0c8094;
}

.SiteMapTreeViewSelectedNode {
    background-color: #ffffff;
    color: #0c8094;
}

.SiteMapPathNode {
    background-color: #ffffff;
}

.SiteMapPathSeparator {
    background-color: #ffffff;
}

.SiteMapPathCurrentNode {
    background-color: #ffffff;
}

.StationListBox {
    color: #414345;
    border: solid thin #ffffff;
}


/*******************************
            Master
 *******************************/

/* Used to create the content element on the right. */
.MasterPanel {
    margin-left: 17em; /* Space for the navigation element. */
    padding-left: 1em; /* Left distance to inner elements. */
    padding-right: 1em; /* Right distance to inner elements. */
    min-height: 100%; /* Element height has to grow with the parent element. */
    height: auto !important;
    height: 100%;
    position: relative; /* The div is to be positioned relatively. */
    background-color: #ffffff;
}

.MasterHeadline {
    font-size: larger;
    font-style: normal;
    font-weight: bolder;
}

.ErrorLabel {
    color: #DF4417;
}

.PanelQuery {
    background-color: #ebebeb;
    border: solid 1px #aaa;
    white-space: nowrap;
}

.PanelEditRole {
    background-color: #ebebeb;
    border: solid 1px #aaa;
}


/* Small */

.SmallLabel {
    font-style: italic;
    font-size: 65%;
    white-space: nowrap;
    margin: 0.25em 0;
}

.SmallInput {
    font-style: italic;
    font-size: 65%;
    white-space: nowrap;
    margin: 0.25em 0;
    text-align: center;
}

.SmallPageInput {
    font-style: italic;
    font-size: 65%;
    white-space: nowrap;
    margin: 0.25em 0;
    padding: 0;
    width: 2em;
    text-align: center;
}

/* DataGrid */
.DataGrid {
    width: 100%;
    border: none 1px white;
}

    .DataGrid td {
        border: solid 1px #ddd;
        padding: 2px 5px 2px 5px;
    }

/* DataGridHeader */
.DataGridHeader {
    font-weight: bold;
    background-color: #ebebeb;
    color: #414345;
    border-top: solid 1px #aaa;
    border-left: solid 1px #aaa;
    border-right: solid 1px #aaa;
    white-space: nowrap;
}

    .DataGridHeader a {
        color: #414345;
        text-decoration: none;
    }

        .DataGridHeader a:hover {
            text-decoration: underline;
        }

    .DataGridHeader td {
        border: none 1px white;
        padding: 4px 5px 4px 5px;
        font-weight: bold;
        text-align: left;
    }

/* DataGridNormalRow */
.DataGridNormalRow {
    background-color: #ffffff;
    white-space: nowrap;
}

tr.DataGridNormalRow:hover {
    color: #ffffff;
    background-color: #0c8094;
}

/* DataGridAlternatingRow */
.DataGridAlternatingRow {
    background-color: #f5f5f5;
    white-space: nowrap;
}

tr.DataGridAlternatingRow:hover {
    color: #ffffff;
    background-color: #0c8094;
}

/* DataGridEditRow */
.DataGridEditRow {
    background-color: #f6fff3;
    white-space: nowrap;
}

tr.DataGridEditRow:hover {
    color: #ffffff;
    background-color: #0c8094;
}

/* DataGridFooterRow */
.DataGridFooterRow {
    background-color: #d7d7d7;
    white-space: nowrap;
}

    .DataGridFooterRow td {
        border: solid 1px #aaa;
        padding: 2px 5px 2px 5px;
    }

/* DataGridPagerRow */
.DataGridPagerRow td {
    border: none 1px white;
    padding: 2px 5px 2px 5px;
}

.NonWrapableLabel {
    white-space: nowrap;
}

.WrapableLabel {
    white-space: pre-wrap;
}

/* IndividualTable */

.IndividualTable {
    border-spacing: 0px;
}

.IndividualTableHeader {
    text-align: center;
    background-color: #ebebeb;
    border: solid 1px #aaa;
    white-space: nowrap;
}

.LabelMsg {
    color: #DF4417;
}

.ModalBackground {
    background-color: black;
    filter: alpha(opacity=50);
    opacity: 0.5;
}

.ModalPopup {
    background-color: #ffffff;
    border: 1px solid Gray;
    padding: 3px;
    width: 250px;
    position: absolute;
}

.ModalUploadPopup {
    background-color: #ffffff;
    border: 1px solid Gray;
    padding: 3px;
    position: absolute;
}

.ModalColumnConfigPopup {
    background-color: #ffffff;
    border: 1px solid Gray;
    padding: 3px;
    width: 450px;
    position: absolute;
}

.Watermark {
    color: #555;
}

.ChannelConfiguratorTableElement {
    white-space: nowrap;
}

.ImageAndTextButton {
    height: 24px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: left;
    padding: 1px 1px 1px 17px;
}

/*******************************
            Footer
 *******************************/

.FooterPanel {
    background-color: #3465a4;
    color: #69b0b9;
    clear: both;
    margin: 0;
    padding: .5em;
}




/*******************************
         CalendarExtender
 *******************************/

.CalendarComfort .ajax__calendar_container {
    background-color: #ebebeb;
    border: solid 1px #d7d7cb;
}

.CalendarComfort .ajax__calendar_header {
    background-color: #ffffff;
    margin-bottom: 4px;
}

.CalendarComfort .ajax__calendar_title,
.CalendarComfort .ajax__calendar_next,
.CalendarComfort .ajax__calendar_prev {
    color: #004080;
    padding-top: 3px;
}

.CalendarComfort .ajax__calendar_body {
    background-color: #f5f5f5;
    border: solid 1px #d7d7cb;
}

.CalendarComfort .ajax__calendar_dayname {
    text-align: center;
    font-weight: bold;
    margin-bottom: 4px;
    margin-top: 2px;
}

.CalendarComfort .ajax__calendar_day {
    text-align: center;
}

.CalendarComfort .ajax__calendar_hover .ajax__calendar_day,
.CalendarComfort .ajax__calendar_hover .ajax__calendar_month,
.CalendarComfort .ajax__calendar_hover .ajax__calendar_year,
.CalendarComfort .ajax__calendar_active {
    color: #004080;
    font-weight: bold;
    background-color: #e4edfb;
}

.CalendarComfort .ajax__calendar_today {
    font-weight: bold;
}

.CalendarComfort .ajax__calendar_hover .ajax__calendar_today {
    color: #004080;
}

.CalendarComfort .ajax__calendar_other,
.CalendarComfort .ajax__calendar_hover .ajax__calendar_title {
    color: #cdc7b7;
}

div.ajax__calendar_days table tr td {
    padding: 0px;
    border: none 1px white;
}



/*******************************
     ValidatorCalloutExtender
 *******************************/

.CalloutComfort div, .CalloutComfort td {
    border: solid 1px Black;
    background-color: #fffacd;
}

.CalloutComfort .ajax__validatorcallout_popup_table {
    display: none;
    border: none;
    background-color: transparent;
    padding: 0px;
}

.CalloutComfort .ajax__validatorcallout_popup_table_row {
    vertical-align: top;
    height: 100%;
    background-color: transparent;
    padding: 0px;
}

.CalloutComfort .ajax__validatorcallout_callout_cell {
    width: 20px;
    height: 100%;
    text-align: right;
    vertical-align: top;
    border: none;
    background-color: transparent;
    padding: 0px;
}

.CalloutComfort .ajax__validatorcallout_callout_table {
    height: 100%;
    border: none;
    background-color: transparent;
    padding: 0px;
}

.CalloutComfort .ajax__validatorcallout_callout_table_row {
    background-color: transparent;
    padding: 0px;
}

.CalloutComfort .ajax__validatorcallout_callout_arrow_cell {
    padding: 8px 0px 0px 0px;
    text-align: right;
    vertical-align: top;
    font-size: 1px;
    border: none;
    background-color: transparent;
}

    .CalloutComfort .ajax__validatorcallout_callout_arrow_cell .ajax__validatorcallout_innerdiv {
        font-size: 1px;
        position: relative;
        left: 1px;
        border-bottom: none;
        border-right: none;
        border-left: none;
        width: 15px;
        background-color: transparent;
        padding: 0px;
    }

        .CalloutComfort .ajax__validatorcallout_callout_arrow_cell .ajax__validatorcallout_innerdiv div {
            height: 1px;
            overflow: hidden;
            border-top: none;
            border-bottom: none;
            border-right: none;
            padding: 0px;
            margin-left: auto;
        }

.CalloutComfort .ajax__validatorcallout_error_message_cell {
    font-family: Verdana;
    font-size: 10px;
    padding: 2px;
    border-right: none;
    border-left: none;
    width: 100%;
}

.CalloutComfort .ajax__validatorcallout_icon_cell {
    width: 20px;
    padding: 2px;
    border-right: none;
}

.CalloutComfort .ajax__validatorcallout_close_button_cell {
    vertical-align: top;
    padding: 0px;
    text-align: right;
    border-left: none;
}

    .CalloutComfort .ajax__validatorcallout_close_button_cell .ajax__validatorcallout_innerdiv {
        border: none;
        text-align: center;
        width: 10px;
        padding: 2px;
        cursor: pointer;
    }


/* Custom styles for printing */
@media print {

    /* Hide navigation column */
    .NavigationPanel {
        display: none !important;
    }

    /* Nor borders or padding around page content */
    .MasterPanel {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Use smaller fonts */
    html {
        font-size: small;
    }

    /* Print background colors and images (Chrome only) */
    body {
        -webkit-print-color-adjust: exact;
    }
}
