﻿#dlgScrWait {
    position:fixed;
    cursor:wait;
    top: 0;
    left: 0;
    min-height: 100%;
    min-width: 100%;
    z-index: 1100;
}

div.dlg-titlebar, .dlg-titlebar {
    height: 20px;
    padding-top: 10px;
    background-color:white;
    border-bottom-width: 1px;
    border-bottom-color:#ededed;
    
}

div.dlg-titlebar:active, span.dlg-title:active  {
    cursor:move;
}

.k-window-titlebar a.dlg-action, .k-window-titlebar .dlg-action {
    padding-top: 6px;
}

.k-window-titlebar a.dlg-action:hover, .k-window-titlebar .dlg-action:hover {
    border:none;
    background-color:white;
    color:black;

}

span.dlg-title, .dlg-title {
    position: unset;
    float: left;
    padding-left: 10px;
}

div.dlg-template, .dlg-template {
    position: unset;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    /*padding-top: 5px;*/
}

.dlg-panel-noborder {
    border: none;
}

.dlg-panel-footer {
    background-color:white;
    border-top-color: #ededed;
    border-top-width: 1px;
    }
.dlg-middle {
    padding: 0;
    display:flex;
    flex-direction:row;
    justify-content:flex-end;
    align-items:stretch;
}
.dlg-middle-center, .dlg-middle-icon, .dlg-middle-img {
    justify-content:center;
}
.dlg-middle-column {
    flex-direction:column;
}

.dlg-middle-img {
    align-items:center;
}
.dlg-margin-topbottom {
    margin-top: 10px;
    margin-bottom: 10px;    
}
 
.dlg-middle-icon {
    align-items:center;
    font-size:xx-large
}

.dlg-icon {
    font-size:large;
}

.dlg-icon-title {
    float:left;
    font-size:16px;
    padding-left:5px;
}

.dlg-img-container, .dlg-info-container {
    float: left;
    min-height: 80px;
    /*margin-bottom: 5px;*/
    margin-bottom: 0;
}
.dlg-img-container {
    /*min-width:100px;*/
    width: 10%;
    /*height: 100%;*/
}

.dlg-info-container {
    width:100%;
    text-align: center;
}

.dlg-img {
    width:100%;
    height:inherit;
}

.dlg-prompt-control, .dlg-prompt-control-full {
    height:20px; 
    width:auto; 
    margin-top:5px;
}

.dlg-prompt-control-full {
    
    width:95.5%; 
}

select.dlg-prompt-control:invalid {
    color: #9e9e9e;
}

select.dlg-prompt-control > option {
    color:black;
}   
select.dlg-prompt-control > option.placeholder {
    color:#9e9e9e;
}

div.dlg-nomargin, .dlg-nomargin {
    margin: 0;
}

div.dlg-nopadding, .dlg-nopadding {
    padding: 0;
}

.dlg-text-center {
    text-align: center;
}

.dlg-label-content, .dlg-label-control {
    min-width: 500px; 
    text-align:left; 
    margin-left:2px;
}

.dlg-label-content > span.dlg-label-content-center {
    display:inline-block;
    min-width:500px;
    text-align:center;
}

.dlg-label-control {
    margin-top:5px;
    margin-bottom: 0;
}

.dlg-label-control-full {
    width:100%;
    text-align:left;
}

.btn-wndDlg {
    min-width:82px;
}

.dlg-btn-yes {
    margin: 5px 10px 2px 0;
}

.dlg-btn-no {
    margin: 5px 0 2px 10px;
} 

.dlg-btn-ok {
    margin: 5px 0 2px 0;
}

.dlg-color-error {
    color:#d9534f;
}

.dlg-color-warning, 
.dlg-color-alert, 
.dlg-color-selection, .dlg-color-prompt {
    color: #ec971f;
}

.dlg-color-success {
    color:#5cb85c;
}

.dlg-color-info {
    color:#5bc0de;
}

.dlg-color-question, .dlg-color-data {
    color:#337ab7;
}

.dlg-background-error {
    background-image:url(img/error.png);
}

.dlg-background-alert {
    background-image:url(img/alert.png);
    background-repeat: no-repeat;
    background-position:center;
}

.dlg-background-warning {
    background-image:url(img/warning.png);
    background-repeat: no-repeat;
    background-position:center;
}

.dlg-background-info {
    background-image:url(img/info.png);
    background-repeat: no-repeat;
    background-position:center;
}

.dlg-background-success {
    background-image:url(img/success.png);
    background-repeat: no-repeat;
    background-position:center;
}

.dlg-background-question {
    background-image:url(img/question.png);
    background-repeat: no-repeat;
    background-position:center;
}

.dlg-loader,
.dlg-loader:before,
.dlg-loader:after {
  border-radius: 50%;
}
.dlg-text-loader25 {
    float: left;
    width: 25%;
    display: inline-block;
    min-width: 80px;
}
.dlg-text-loader50 {
    float: left;
    width: 50%;
    display: inline-block;
    min-width: 160px;
}
.dlg-loader {
  color: darkorange;
  font-size: 2.5px;
  text-indent: -99999em;
    float: left;
    padding-top: -6.5px;
    margin-left: 2.5px;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1.5em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.dlg-loader:before,
.dlg-loader:after {
  position: absolute;
  content: '';
}
.dlg-loader:before {
  width: 5.2em;
  height: 10.2em;
  background: white;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: dlgspin 1.5s infinite ease 1s;
  animation: dlgspin 1.5s infinite ease 1s;
}
.dlg-loader:after {
  width: 5.2em;
  height: 10.2em;
  background: white;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: dlgspin 1.5s infinite ease;
  animation: dlgspin 1.5s infinite ease;
}

@-webkit-keyframes dlgspin {
    0% {-webkit-transform: rotate(0deg); 
        transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg);
           transform: rotate(360deg); }
}
@keyframes dlgspin {
    0% {-webkit-transform: rotate(0deg); 
        transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg);
           transform: rotate(360deg); }
}

@-webkit-keyframes dlgdash {
  0% {
    stroke-dashoffset: 187;
  }
  50% {
    stroke-dashoffset: 47;
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    -webkit-transform: rotate(450deg);
            transform: rotate(450deg);
  }
}
@keyframes ddlgash {
  0% {
    stroke-dashoffset: 187;
  }
  50% {
    stroke-dashoffset: 47;
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    -webkit-transform: rotate(450deg);
            transform: rotate(450deg);
  }
}


div.k-window.dlg-titlebar-hide {
    padding-top: 0 !important;
}

div.k-window.dlg-titlebar-hide > div.k-window-titlebar {
    display: none !important; 
}

div.k-window.dlg-titlebar-hide > div.k-window-content {
    overflow:hidden;
}

/*own alert dialog*/
.lockedScreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    /* border: 3px solid white; */
    z-index: 11004;
    height: 100%;
    width: 100%;
    background: #000000;
    opacity: 0.3;
    filter: alpha(opacity=30);
    border-radius:3px 4px;
}


.confirmPopup {
    /*display: none;*/
}

.confirmPopupBody {
    display: block;
    position: fixed;
    top:30%;
    right:20%;
    /*bottom: 30%;*/
    min-height:150px;
    left: 20%;
    border: 3px solid white;
    z-index: 11005;
    color: black;
    box-shadow: 1px 1px 1px 1px gray;
    border-radius:3px 4px;
}

.confirmPopup .lockedScreen {
    display: block;
}

.formContainer {
    /*max-width: 800px;
    max-height: 700px;*/
    width:100%;
    height:100%;
    padding: 0;
    /*background: linear-gradient(-45deg, #000000, #4cb7c2, #31817b, #2f1d57);
    animation: gradientBG 15s ease infinite;*/
    background-color: white;
    opacity: 1;
    text-align:center;
    min-height:150px;
}

.formContainer #confirmPopupTitle, .formContainer #alertPopupTitle {
    width:100%;
    height:15%;
    text-align:left;
    margin-left:0;
    font-weight:500;
    min-height:25px;
}

.formContainer #confirmPopupMsg, .formContainer #alertPopupMsg {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:65%;
    border-top:1px solid lightgrey;
    font-weight:700;
    min-height:85px;
}

.formContainer #confirmPopupMsgText, .formContainer #alertPopupMsgText {
    display: inline-block;
    width:100%;
    
    

}

.formContainer .btnpopup {
    /*background: #4cb7c2;*/
    background-color: darkorange;
    color: white;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    color: white;
    width: 60px;
    height: 25px;
    margin-top: 0;
    margin-bottom:0;
    opacity: 0.8;
    border: none;
    border-radius:3px 4px;
    border-color: darkorange;
}
.formContainer #btnPopupYes {
    margin-right:5px;
}

.formContainer #btnPopupNo {
    margin-left:5px;
}


.formContainer .btnpopup.cancel {
    color: black;
    background-color: white;
    border-style:solid;
    border-width:thin;
    border-color: lightgray;
}

.formContainer .btnpopup:hover, 
.formContainer .btnpopup:focus,
.formContainer .btnpopup:active
 {
    opacity: 1;
}

.formContainer .btnpopup.cancel:hover, 
.formContainer .btnpopup.cancel:focus,
.formContainer .btnpopup.cancel:active
 {
    background-color: #ebebeb;
    opacity: 0.8;
    border-color: gray;
}



