body {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background: white;
}

#page{
    width: 900px;
    margin: 0 auto;
}

#header{
    background: url('../images/DCom_logo.png') no-repeat left 0;

    height: 80px;
    width: 100%;
    padding-left: 230px;
    padding-top: 25px;
    margin-bottom: 45px;
}

#header .user{
    color: #660000;
    padding: 0 0 0 15px;
}

#menu {
    width: 100%;
    background-color: #333333;
    height: 45px;
    position: absolute;
    top: 95px;
}

#menu ul{
    list-style: none;
    width: 900px;
    margin: 0 auto;
    padding: 13px 0 0 0;
}

#menu ul li{
    float: left;
    padding-right: 35px;
}

#menu ul li a{
    color: #fff;
    float: left;
    font-size: 118%;
    font-weight: bold;
    border-bottom: 1px dotted #fff;
}

#menu ul li a:hover{
    text-decoration: none;
    border: 0;
}

h1, h2 {
    color: #660000;
}

label {text-align: right; padding-right: 5px;}
.required {font-weight: bold;}

#ajax-spinner {
    margin: 15px 0 0 15px;
    padding: 13px;
    background: white;/*url('../images/spinner.gif') no-repeat 50% 50%;*/
    font-size: 0;
    z-index: 123456;
    display: none;
}

div.flash {
    color: black;
    background: #FFF9D7;
    border: 1px solid #E2C822;
    padding: 1em;
    margin: 1em 0;
}

a[href^="error:"] {
    background: red;
    color: white;
}


#context{

}

.cb{
    clear: both;
    width: 100%;
    height: 1px;
    padding: 0;
    margin: 0;
}

.pb20{
    clear: both;
    width: 100%;
    height: 1px;
    padding: 0 0 20px 0;
    margin: 0;
}

.pb10{
    clear: both;
    width: 100%;
    height: 1px;
    padding: 0 0 10px 0;
    margin: 0;
}

.user_info{
    width: 60%;
    float: left;
}

.user_photo{
    width: 30%;
    float: left;
}

.check{
    position: relative;
    top: 6px;
    left: 10px;
}

.icheck{
    position: relative;
    top: -6px;
    left: 10px;
}

img.userphoto {border: 1px solid #333333; padding: 10px;}

.curses {
    padding-left: 25px;
}

input.big {
    width: 500px;
}

.btn-mini [class^="icon-"], .btn-mini [class*=" icon-"]{
    margin-top: 3px !important;
}


table.appView{
    min-width: 100%;
    border-collapse: collapse !important;
    border: 1px solid black !important;
}
table.appView tr{
    min-width: 100%;
}
table.table-bordered tr td,table.table-bordered tr th{
    display: table-cell;
    padding: 4px 4px;
    min-width: 50px;
    max-width: 50px;
    /* margin: 3px;
    
     border-style:solid; 
       border-width:1px; 
       border-color:#333333; 
       padding:5px;
    */
}
table.table-bordered tr td a.btn,table.table-bordered tr th a.btn{
    font-size: 9px;
    padding: 8px 0;
    width: 100%;
    height: 100%;
    text-align: center;
    margin-left: -1px;
    line-height: 20px;
    word-wrap: break-word;
    overflow: auto;
}

.selected,.selectedFn{
    /*background-color: red;*/
}
.pbxCall{background-color: #EDFDCD;}
.gsmCall{background-color: #CDFDD1;}
.mbCall{background-color: #d399f1;}

.radio{background-color: #e9c4fc;}
.trs{background-color: #E987AE;}
.announcer{background-color: #D9FD93;}
.gsmr{background-color: #CDF0FD;}
.sms{background-color: #FDF0CD;}

.conf {background-color: #FFE489;}
.vnc {background-color: #FFDBB3;}
.screensaver {background-color: #CAEF80;}


.okBtn{
    background: url('../images/gui/ok.gif') no-repeat center 15px !important;
}

.cancelBtn{
    background: url('../images/gui/cancel.gif') no-repeat center 13px !important;
}
.telephoneBtn{
    background: url('../images/gui/telphone.gif') no-repeat center 6px !important;

}
.handsfreeBtn{
    background: url('../images/gui/handsfree.gif') no-repeat center 4px !important;
}
.arrowBtn{
    background: url('../images/gui/arrow-left-right.gif') no-repeat center 0 !important;
    margin-top: 10px !important;
}
.playBtn{
    background: url('../images/gui/play.gif') no-repeat center 9px !important;
}
.playBtnTop{
    background: url('../images/gui/playTop.gif') no-repeat center 9px !important;
}
.playBtnBottom{
     background: url('../images/gui/playBottom.gif') no-repeat center 9px !important;
}
.playBtnRight{
      background: url('../images/gui/playRight.gif') no-repeat center 9px !important;
}

.telephoneBtn,.handsfreeBtn{
    margin-left: 0 !important;
}

.importantBlack {
    color: black !important;
}

.whiteBox{
    height: 48px;
    display: block;
    overflow: hidden;
    margin: 0 3px;
    text-align: center;
    border: 1px solid black;
    vertical-align: middle;
    font-size: 11px;
    line-height: 15px;
    background: white;
}
.whiteBox >div{
    padding-top: 18px;
}

.mark0{
    background: url("../images/gui/purple.png") no-repeat 2px 2px;
}
.mark1{
    background: url("../images/gui/blue.png") no-repeat 2px 2px;
}
.mark2{
    background: url("../images/gui/green.png") no-repeat 2px 2px;
}
.mark3{
    background: url("../images/gui/yellow.png") no-repeat 2px 2px;
}
.mark4{
    background: url("../images/gui/red.png") no-repeat 2px 2px;
}


.smsBlock{
    height: 107px;
    display: block;
    overflow: hidden;
    margin: 0 3px;
    border: 1px solid black;
    background: white;
}

.tbl{
    border: 1px solid #ddd;
    border-collapse: collapse;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    table-layout: fixed;
    width: 150px;
}
.tbl tr{
    padding:0;
}
.tbl tr td,.tbl tr th{
    /*background-color: red;*/
    border: 1px solid #ddd;
    padding: 0;
    margin: 0;
    width: 55px !important;
    max-width: 55px !important;
}

.tbl tr td div.wraper,.tbl tr th div.wraper{
    padding: 3px;
    height: 50px;
    display: block;
    overflow: hidden;
    /*    width: 100%;
        max-width: 100%;*/
}
.tbl tr td a.btn,.tbl tr th a.btn{
    width: 100% !important;
    margin: 0;
    display: block !important;
    padding: 0;
    height: 100% !important;
    left: -1px;
    font-size: 9px;
    line-height: 15px;
    text-align: center;
    vertical-align: middle;
    top: -1px;
    overflow: hidden;
    position: relative;
}

.tbl tr td a.btn p,.tbl tr th a.btn p{
    margin: auto auto;
    padding:  3px ;
    display: block;
    vertical-align: middle;
    height: 100%;
}

p.trsLink {
    background: url('../images/gui/trs.png') no-repeat center 0 !important;

}

/**
Styly pro vertikalni align gui...
*/
/* This parent can be any width and height */
.block {
    text-align: center;
    height: 100%;
}

/* The ghost, nudged to maintain perfect centering */
.block:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.35em; /* Adjusts for spacing */
}

/* The element to be centered, can
   also be of any width and height */
.centered {
    display: inline-block;
    vertical-align: middle;
    width:100%;
}


