﻿.MessageBoxBack {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1111111110;
    background-color: #000000;
    opacity: 0.3;
}

.MessageBox {
    display: table;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    color: #000;
    background-color: #f0f0f0;
    /*color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.7);*/
    box-shadow: 5px 5px 20px #404040;
    z-index: 1111111111;
    /*border: 1px solid black;*/
    /*overflow: hidden;*/
    overflow: visible;
    border-radius: 7px;
    box-shadow: rgb(0, 0, 0) 2px 2px 10px;
}

    .MessageBox table tr td {
        background: #f0f0f0;
        background-color: #f0f0f0;
        color: #000;
        line-height: 31px;
    }

.MessageBoxImage {
    width: 50px;
    height: 50px;
    display: inline-block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.MessageBoxButtons {
    padding: 3px !important;
}

.MessageBoxCaption {
    background-color: rgb(204,204,204);
    background: rgb(204,204,204);
    background: -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%);
    background: -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%);
    background: linear-gradient(to bottom, rgb(243,243,243) 0%,rgb(204,204,204) 100%);
    border: 1px solid #a9a9a9;
    padding: 0px !important;
}

.MessageBoxCaptionText {
    text-shadow: 1px 1px 1px #FFFFFF;
    float: left;
    text-align: center;
    left: 0px;
    width: calc(100% - 30px);
    height: 24px;
    line-height: 26px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #000000;
}

.MessageBoxCloseButton {
    transition: box-shadow .2s;
    border-radius: 50%;
    box-shadow: 0px 0px 1px black;
    cursor: pointer;
    float: right;
    width: 20px;
    height: 20px;
    margin: 2px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../Image/Desktop/win_close2.png);
}

.MessageBoxCloseButtonShadow {
    float: right;
    height: 26px;
}

    .MessageBoxCloseButton:hover {
        background-position-y: bottom;
        box-shadow: 0px 0px 5px #ff0000;
    }

.LocalizeButton {
    transition: box-shadow .2s;
    border-radius: 50%;
    box-shadow: 0px 0px 1px black;
    cursor: pointer;
    float: right;
    width: 20px;
    height: 20px;
    margin: 2px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../Image/Desktop/win_locate2.png);
}

    .LocalizeButton:hover {
        background-position-y: bottom;
        box-shadow: 0px 0px 5px #0000ff;
    }

.MessageBoxCaptionSuccess {
    background-color: #8BC34A;
}

.MessageBoxCaptionError {
    background-color: #F44336;
}

.MessageBoxCaptionInfo {
    background-color: #FF9800;
}

/*.MessageBoxMessage, MessageBoxButtons, MessageBoxPage {
    padding: 7px;
}*/

.MessageBoxMessage {
    padding: 7px;
}

#MessageBox_Message {
    padding: 7px;
}

.ajax__calendar_days table tr td {
    padding: 0 0 !important;
}

    .MessageBox .MessageBoxCaptionText {
        color: #0949ab;
    }

.appButton {
    padding-left: 22px;
    color: #0848ab !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 14px;
    background-color: rgb(204,204,204);
    border: 1px solid #a9a9a9 !important;
}

    .appButton:hover {
        box-shadow: 1px 1px 4px #737373 !important;
    }

.ButtonOk {
    background: url(../Image/MessageBox/Ok.png) left center / 25px 25px no-repeat, rgb(204,204,204);
    background: url(../Image/MessageBox/Ok.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/Ok.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/Ok.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(230,230,230) 0%,rgb(170,170,170) 100%);
}

    .ButtonOk:hover {
        background: url(../Image/MessageBox/Ok_hover.png) left center / 25px 25px no-repeat, rgb(204,204,204) !important;
        background: url(../Image/MessageBox/Ok_hover.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/Ok_hover.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/Ok_hover.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
    }

.ButtonSave {
    background: url(../Image/MessageBox/Save.png) left center / 25px 25px no-repeat, rgb(204,204,204);
    background: url(../Image/MessageBox/Save.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/Save.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/Save.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(230,230,230) 0%,rgb(170,170,170) 100%);
}

    .ButtonSave:hover {
        background: url(../Image/MessageBox/Save_hover.png) left center / 25px 25px no-repeat, rgb(204,204,204) !important;
        background: url(../Image/MessageBox/Save_hover.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/Save_hover.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/Save_hover.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
    }

.ButtonCancel {
    background: url(../Image/MessageBox/Cancel.png) left center / 25px 25px no-repeat, rgb(204,204,204);
    background: url(../Image/MessageBox/Cancel.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/Cancel.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/Cancel.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(230,230,230) 0%,rgb(170,170,170) 100%);
}

    .ButtonCancel:hover {
        background: url(../Image/MessageBox/Cancel_hover.png) left center / 25px 25px no-repeat, rgb(204,204,204) !important;
        background: url(../Image/MessageBox/Cancel_hover.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/Cancel_hover.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/Cancel_hover.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
    }

.ButtonNew {
    background: url(../Image/MessageBox/New.png) left center / 25px 25px no-repeat, rgb(204,204,204);
    background: url(../Image/MessageBox/New.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/New.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/New.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(230,230,230) 0%,rgb(170,170,170) 100%);
}

    .ButtonNew:hover {
        background: url(../Image/MessageBox/New_hover.png) left center / 25px 25px no-repeat, rgb(204,204,204) !important;
        background: url(../Image/MessageBox/New_hover.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/New_hover.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/New_hover.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
    }

.ButtonDelete {
    background: url(../Image/MessageBox/Delete.png) left center / 25px 25px no-repeat, rgb(204,204,204);
    background: url(../Image/MessageBox/Delete.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/Delete.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%);
    background: url(../Image/MessageBox/Delete.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(230,230,230) 0%,rgb(170,170,170) 100%);
}

    .ButtonDelete:hover {
        background: url(../Image/MessageBox/Delete_hover.png) left center / 25px 25px no-repeat, rgb(204,204,204) !important;
        background: url(../Image/MessageBox/Delete_hover.png) left center / 25px 25px no-repeat, -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/Delete_hover.png) left center / 25px 25px no-repeat, -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
        background: url(../Image/MessageBox/Delete_hover.png) left center / 25px 25px no-repeat, linear-gradient(to bottom, rgb(243,243,243) 0%,rgb(204,204,204) 100%) !important;
    }

.MessageBox table tr td:first-child {
    padding-left: 10px !important;
}
.MessageBox table tr td:last-child {
    padding-right: 10px !important;
}

.MessageBox table {
    padding-bottom: 5px !important;
}

.MessageBoxFrame {
    width: 100%;
    height: 100%;
    border: 0px;
    display: grid;
}