*{
    margin: 0;
    padding: 0;
    font-family: "Arial";
}

html, body { 
    height: 100%;           
}

a {
    text-decoration: none;
    color: inherit;   
}

a, img {
    border:none;
}

body {
    background-color: #f1e3a4;
}

/*------------------------------------------------------------------*/

div.ui-datepicker {    
    margin: 0px;  
    font-size: 9pt;  
    font-weight: bold;
    -webkit-box-shadow: 0px 0px 30px black;
    -moz-box-shadow: 0px 0px 30px black;
    box-shadow: 0px 0px 30px black;
}
/*
.ui-datepicker-prev {  
    background-image: url('images/arrow-left-20.png');  
    background-repeat: no-repeat;    
}  

.ui-datepicker-next {    
    background-image: url('images/arrow-right-20.png');  
    background-repeat: no-repeat;    
}
*/

/*------------------------------------------------------------------*/

#top-tools {
    height: 38px;
}

#top-tools .top-months {
    height: 20px;
    width: 980px;
    padding: 7px 0 0 20px;
}

#top-tools .top-months .top-months-left {
    float: left;
    width: 10px;
    height: 20px;
    background: url(images/top-months-left.png) no-repeat;
    border-radius: 15px 0 0 10px;
}

#top-tools .top-months .top-months-right {
    float: left;
    width: 10px;
    height: 20px;
    background: url(images/top-months-right.png) no-repeat;
    border-radius: 0px 10px 10px 0px;
}

#top-tools .top-months .top-months-center {
    float: left;
    height: 20px;
    background: url(images/top-months-center.png) repeat-x;
}

#top-tools .top-months .top-months-center .top-months-name {
    float: left;
    height: 19px;
    width: 80px;
    padding-top: 1px;
    color: black;
    text-align: center;
    font-size: 10pt;
    font-weight: bold;
    -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none; 
}
/*------------------------------------------------------------------*/

#center {
    overflow: auto;
    min-height: 300px;
    width: 1290px;
    margin: 0px auto 0px auto;
    background: url(images/Background-1.jpg);
    -moz-box-shadow: 0px 0px 10px black;   
    -webkit-box-shadow: 0px 0px 10px black; 
    box-shadow: 0px 0px 10px black;
}

/*------------------------------------------------------------------*/

#center .toplogin {
    padding: 30px;
    border: 1px #472c0a solid;
    width: 280px;
    margin: 0px auto 200px auto;
    -moz-box-shadow: 0px 0px 10px #472c0a;   
    -webkit-box-shadow: 0px 0px 10px #472c0a; 
    box-shadow: 0px 0px 10px #472c0a;
}

#center .toplogin-head {
    width: 230px;
    margin: 0px auto 20px auto;
}

#center .toplogin-head p{
    font-size: 18pt;
    font-weight: bold;
    color: #86470f;
    text-align: center;
    padding-top: 8px;
}

#center .toploginlabel {
    padding-bottom: 10px;
}

#center .toploginlabel p {
    float: left;
    width: 100px;   
}

#center .toploginbutton {
    width: 100px;
    height: 30px;
    margin-top: 10px;
    margin-left: 99px;
}

#center .toplogout {
    padding: 5px 20px 0px 0px;
    float: right;
    width: 250px;
    height: 38px;
    
    /*background-color: yellow;*/
    font-size: 10pt;
}

#center .tophomebutton {
    width: 32px;
    height: 32px;
    float: left;
    /*margin-top: 5px;*/
}

#center .topkorisnik {
    float: left;
    width: 128px;
    margin: 0 10px 0 10px;
}

#center .toppagebutton {
    width: 32px;
    height: 32px;
    float: left;
    margin-right: 5px;
}

#center .toplogoutbutton {
    width: 32px;
    height: 32px;
    float: left;
    /*margin-top: 5px;*/
}

/*------------------------------------------------------------------*/

#top-tools #up-top-months {
    height: 24px;
    width: 966px;
    padding: 0px 7px 0 27px;
    position: relative;
    top: -23px;
    cursor: pointer;
}

#top-tools #up-top-months #select-month {
    width: 80px;
    height: 20px;
    border: 3px solid white;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

#top-tools #up-top-months #select-month #select-names-area {
    width: 960px;
    height: 20px;
    background: url(images/Background-1.jpg) no-repeat;
    position: relative;
}

#top-tools #up-top-months #select-month #select-names-area .select-names {
    float: left;
    width: 80px;
    height: 19px;
    padding-top: 1px;
    color: white;
    text-align: center;
    font-size: 10pt;
    font-weight: bold;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/*------------------------------------------------------------------*/

#start-area {
    width: 1100px;
    padding: 20px;
    margin: 70px auto 80px auto;
    -moz-box-shadow: 0px 0px 10px black;   
    -webkit-box-shadow: 0px 0px 10px black; 
    box-shadow: 0px 0px 10px black;
}

#start-area .flex-container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    width: 100%;
    /*height: 250px;*/
}

#start-area .flex-item {
    width: 100px;
    height: 100px;
    margin: 10px;
}

#start-area .icon {
    width: 128px;
    padding: 20px;
    float: left;
    text-align: center;
    font-size: 14pt;
}

#start-area .icon:hover {
    background-color: #f1e3a4;
}

/*------------------------------------------------------------------*/

#karban {
    margin-top: 20px;
    width: 316px;
    border: 1px solid #808080;
    background-color: #E0E0E0;
    padding: 10px;
}

#karban .karb_text {
    margin-top: 5px;
    width: 306px;
    min-height: 100px;
    padding: 5px;
    font-size: 9pt;
    white-space:pre-wrap;
}

#karban .karb_text option{
    white-space: pre;
    font-family: Monospace;
}

/*------------------------------------------------------------------*/

#calendar-area {
    float: left;
    width: 980px; /* 1100 */
    height: 1120px; /*605px*/
    overflow-x: scroll;
    overflow-y: hidden;
    -moz-box-shadow: 0px 0px 10px black;   
    -webkit-box-shadow: 0px 0px 10px black; 
    box-shadow: 0px 0px 10px black;
    border-radius: 20px;
}

#left-margo {
    float: left;
    width: 20px;
    height: 590px;
}

#right-margo {
    float: left;
    width: 20px;
    height: 590px;
}

#calendar-area #monthScroll{
    float: left;
    width: 9802px; /*10538px;*/
    /*height: 789px; *//*590px*/
    /* background-color: #fda134; */
    background-color: #d1d1d0;
    position: relative;
    padding-bottom: 20px;
}

#calendar-area .month {
    float: left;
    width: 786px; /*842px;*/
    height: 1080px;  /*575px;*/
    border: 3px solid green;
    border-radius: 25px 25px 15px 15px;
    margin: 5px 5px 0px 5px;
    overflow: hidden;
    background-color: white;
}

#calendar-area .month-name {
    /*width: 820px;*/
    height: 25px;
    padding: 0px 10px 3px 10px;
    background-color: #92E294;
    color: #4a754b;
    font-size: 18pt;
    text-align: center;
    font-weight: bold;
    border-radius: 22px 22px 0 0;
    line-height: 110%;
}

#calendar-area .month-days-names {
    /*width: 798px;*/
    height: 15px;
    padding-top: 1px;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: bold;
    color: black;
    text-align: center;
}

#calendar-area .month-days-area {
    width: 770px; /*826*/
    height: 651px;
    padding: 2px 8px 2px 8px;
}

#calendar-area .day {
    overflow: visible;
    float: left;
    width: 102px;   /*110*/
    height: 164px;  /*80*/
    margin: 1px 3px 4px 3px;
    background: url(images/day-back.png) no-repeat;
    background-color: #fafafa;
    border: solid #dad9d9;  /* #ededed; */
    border-width: 1px 1px 1px 1px;
    border-radius: 10px 10px 0 0;
}

#calendar-area .day.day-back-vasarnap {
    background: url(images/day-back-vasarnap.png) no-repeat;
    background-color: #fff9f9;
}

#calendar-area .dayEmpty {
    float: left;
    width: 110px; /*118*/
    height: 87px;
    background-color: white;
}

#calendar-area .day-num {
    height: 13px;
    padding: 0px 4px 3px 5px;
    text-align: center;
    font-size: 11pt;
    font-weight: bold;
    color: #979696;
}

#calendar-area .day-event-center {
    height: 12px;
    padding: 0px 0px 1px 10px;
    margin-bottom: 2px;
    text-align: left;
    font-size: 9pt;
    /*font-weight: bold;*/
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    position: relative;
    z-index: 1000;
    left: -12px;
    overflow: hidden;
    cursor: pointer;
    line-height: 110%;
}

#calendar-area .day-event-start {
    height: 12px;
    padding: 0px 0px 1px 9px;
    text-align: left;
    font-size: 9pt;
    /*font-weight: bold;*/
    border-radius: 7px 0 0 7px;
    margin-left: 10px;
    border-style: solid;
    border-width: 0px 0px 1px 1px;
    margin-bottom: 2px;
    position: relative;
    z-index: 1000;
    overflow: hidden;
    cursor: pointer;
    line-height: 110%;
}

/*
#calendar-area .day-event-start:hover {
    background: url(images/animated.gif) repeat-x;
}
*/

#calendar-area .day-event-end {
    height: 12px;
    width: 94px;   /*102*/
    padding: 0px 5px 1px 5px;
    text-align: left;
    font-size: 9pt;
    /*font-weight: bold;*/
    border-radius: 0px 10px 10px 0px;
    margin-right: 0px;
    border-right: 1px solid black;
    margin-bottom: 2px;
    border-style: solid;
    border-width: 0px 1px 1px 0px;
    overflow: hidden;
    position: relative;
    left: -12px;
    cursor: pointer;
    line-height: 110%;
}

#calendar-area .day-event-stend {
    height: 12px;
    padding: 0px 5px 1px 10px;
    text-align: left;
    font-size: 9pt;
    /*font-weight: bold;*/
    color: black;
    border-radius: 10px 10px 10px 10px;
    margin-right: 10px;
    margin-left: 10px;
    border-style: solid;
    border-width: 0px 1px 1px 1px;
    margin-bottom: 2px;
    overflow: hidden;
    cursor: pointer;
    line-height: 110%;
}

#calendar-area .day-event-empty {
    height: 16px;
}

#calendar-area .day-event-overflow {
    height: 16px;
    background-image: url('images/arrow_down_overflow.png');
    background-repeat: no-repeat;
    background-position: top center;
}

#calendar-area .blinkWork {
    background-color: #505050!important;
    color: white!important;
}

#bottom-tools {
    height: 500px;
    background-color: #FFD7AE;
}

/*------------------------------------------------------------------*/

#right-tools {
    width: 245px;
    height: 1110px;  /*560px;*/
    float: left;
}

#right-menu {
    height: 28px;
    padding: 0px 0 0px 0;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin-bottom: 10px;
}

#right-menu .menu-back {
    height: 22px;
    padding: 3px 2px 3px 2px;
    /*background: url(images/menu-1.jpg) repeat-x;*/
    background-color: #824337;
}

#right-menu .menu-back .menu-item {
    height: 19px;
    float: left;
    padding: 3px 6px 0px 6px;
    margin: 0px 4px 0px 2px;
    /*border-right: 2px solid #dfaa64;*/
    background: url(images/menu-2.png) repeat-x;
    text-align: center;
    font-size: 10pt;
    font-weight: bold;
    cursor: pointer;
}

#right-menu .menu-back .menu-item:hover {
    background: url(images/menu-2_hover.png) repeat-x;
}

#right-tabs {
    padding: 5px 10px 0 10px;
    background-color: #D1D1D0;
    border-radius: 10px 10px 0 0;
}

#right-tabs .tab {
    float: left;
    width: 90px;
    height: 28px;
    background-color: #b8b8b8;
    color:black;
    border: none;
    margin: 0 5px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: #824337;
}

#right-tabs .tab.selected {
    background-color: #fdc15c;
}

#right-area {
    overflow-x: hidden;
    overflow-y: scroll;
    width: 240px;
    height: 1030px;
    padding: 5px 0 5px 5px;
    background-color: #d1d1d0;
    /*
    box-shadow: 0px 0px 10px black;
    -moz-box-shadow: 0px 0px 10px black;   
    -webkit-box-shadow: 0px 0px 10px black; 
    */
    border-radius: 0 0 10px 10px;
}

#right-area .list {
    display: none;
}

#right-area .list.selected {
    display: block;
}

#right-area .right-item {
    margin: 0px 0px 10px 0px;
    padding: 0px;
    width: 215px;
    border: solid 1px;
    border-radius: 10px 10px 0 0;
}

#right-area .right-item .right-head {
    padding: 2px 5px 2px 5px;
    font-size: 11pt;
    font-weight: bold;
    border-radius: 9px 9px 0 0;
    cursor: pointer;
    text-align: center;
    line-height: 130%;
}

#right-area .right-item .right-body {
    font-size: 10pt;
    font-weight: normal;
    padding: 5px;
    cursor: pointer;
}

/*------------------------------------------------------------------*/

#popup-work {
    background: rgba(0,0,0,0.7);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 0;
}

#window-work {
    margin: 30px auto 0 auto;
    width: 1100px;
    min-height: 300px;
    background-color: #EAEAEA;
    border-radius: 20px 20px 0 0;
    border: 2px solid white;
    font-size: 10pt;
    -moz-box-shadow: 0px 0px 30px #000000;   
    -webkit-box-shadow: 0px 0px 30px #000000; 
    box-shadow: 0px 0px 30px #000000;
    position: relative;
}

#window-close {
    position: absolute;
    right: 8px;
    top: -20px;
    width: 0;
    height: 0;
}

#window-close img {
    cursor: pointer;
}

#window-work .column-1 {
    width: 380px;
    float: left;
}

#window-work .column-2 {
    width: 380px;
    float: left;
    padding: 0;
    margin-left: 20px;
}

#window-work .column-3 {
    width: 250px;
    float: left;
    margin-left: 20px;
}

#window-work .column fieldset {
    padding: 5px;
    margin-bottom: 10px;
}

#window-work .column fieldset:last-child {
    padding: 5px;
    margin-bottom: 0;
}

#befejezett-area {
    margin: 10px;
    border: 1px solid white;
    border-radius: 20px;
    width: 100px;
    height: 20px;
    background-color: silver;
    padding: 6px 15px 4px 15px;
    position: relative;
}

#befejezett-area label{
    font-size: 11pt;
    font-weight: bold;
}

#befejezett-area input[type=checkbox] {
    /* Double-sized Checkboxes */
  -ms-transform: scale(1.2); /* IE */
  -moz-transform: scale(1.2); /* FF */
  -webkit-transform: scale(1.2); /* Safari and Chrome */
  -o-transform: scale(1.2); /* Opera */
  margin-right: 10px;
}

#window-head {
    padding: 3px 5px 3px 5px;
    font-size: 12pt;
    font-weight: bold;
    text-align: center;
    border-radius: 20px 20px 0 0;
    line-height: 150%;
    /*border-radius: 10px 10px 0 0;*/
}

#window-table {
    border-collapse: collapse;
    width: 400px;
    font-size: 10pt;
    margin: 0px;
}

#window-table tr td {
    padding: 5px;
}

#window-table tr .left {
    width: 100px;
    text-align: right;
    border-right: solid 1px #C7C7C7;
}

#window-table tr .right {
    text-align: left;
}

#window-table tr .right .inputtext {
    width: 250px;
}

#input_megrendelo_id {
    background-color: #fff9e2;
}

#window-table tr .right .button {
    width: 120px;
    font-size: 90%;
    padding: 2px 10px 2px 10px;
    float: left;
    margin: 0px 8px 0 0;
    cursor: pointer;
}

#window-table2 {
    border-collapse: collapse;
    width: 400px;
    font-size: 10pt;
    margin: 0px;
}

#window-table2 tr td {
    padding: 3px;
    text-align: center;
    border: 1px solid #939393;
}

#window-dinamika-buttons {
    padding: 10px 0;
}

#window-dinamika-buttons button {
    display: inline-block;
    min-width: 80px;
    padding: 2px 10px;
    margin: 0 5px;
}

#table-rok-zavrsetka {
    font-size: 10pt;
    border-collapse: collapse;
    width: 320px;
    margin: 0px;
}

#table-rok-zavrsetka tr td:nth-child(1) {
    width: 70px;
    font-weight: bold;
    padding: 5px;
    text-align: left;
}

#table-rok-zavrsetka tr td:nth-child(2) {
    padding: 5px;
}

#table-rok-zavrsetka tr:nth-child(1) td:nth-child(3),
#table-rok-zavrsetka tr:nth-child(2) td:nth-child(3) {
    text-align: center;
    width: 180px;
}

#table-rok-zavrsetka tr td .over_dani {
    font-weight: bold;
    display: block;
    text-align: center;
    background-color: #791010; /* RED */
    padding: 0 5px 0 5px;
    color: white;
}

#table-rok-zavrsetka tr td .normal_dani {
    font-weight: bold;
    display: block;
    text-align: center;
    background-color: #006B00; /* GREEN */
    padding: 0 5px 0 5px;
    color: white;
}

#table-rok-zavrsetka tr td input {
    padding: 1px;
    text-align: right;
    width: 80px;
}

#input_leiras {
    font-size: 10pt;
    padding: 3px;
    margin: 0;
    width: 100%;
    height: 60px;
}

.window-buttons {
    float: right;
    width: 300px;
    height: 50px;
}

.window-buttons .button {
    float: right;
    min-width: 80px;
    padding: 3px 5px 3px 5px;
    margin-left: 8px;
    margin-top: 10px;
}

/*--------------------------------------------------------------------------*/
#window-dates {
    padding: 5px 10px 5px 10px;
    height: 300px;
    overflow-y: scroll;
    line-height: 130%;
    text-align: center;
}

#list_dates {
    padding: 3px 0;
    width: 220px;
    height: 300px;
    text-align: center;
    margin-left: 8px;
}

#list_dates_buttons {
    /*height: 150px;*/
    /*margin-top: 5px;*/
}

#list_dates_buttons .button {
    float: left;
    width: 65px;
    padding: 1px 0 1px 0;
    margin: 10px 6px;
}

/*--------------------------------------------------------------------------*/
#popup_input_dates_area {
    width: 0;
    height: 0;
}

#popup_input_dates_back {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

#popup_input_dates {
    display: none;
    width: 200px;
    min-height: 90px;
    position: relative;
    border: 2px solid #3594f2;
    background-color: #b9dafc;
    -moz-box-shadow: 0px 0px 30px #000000;   
    -webkit-box-shadow: 0px 0px 30px #000000; 
    box-shadow: 0px 0px 30px #000000;
    z-index: 2001;
}

#popup_input_dates h1{
    font-size: 10pt;
    font-weight: bold;
    height: 20px;
    background-color: #3594f2;
    color: white;
    padding-left: 5px;
}

#popup_input_dates h1 .datesin_close{
    float: right;
    font-size: 8pt;
    font-weight: bold;
    padding: 2px 5px 2px 5px;
    background-color: #14477a;
    color: white;
    text-align: center;    
    cursor: pointer;
}

#date_start {
    width: 80px;
    background-color: white;
    text-align: center;
    cursor: pointer;
    border: 2px solid #A7A7A7;
}

#date_end {
    width: 80px;
    background-color: white;
    text-align: center;
    cursor: pointer;
    border: 2px solid #A7A7A7;
}

.date_error {
    border-color: red!important;
}

#popup_input_dates .button {
    float: right;
    width: 60px;
    padding: 0;
    margin-right: 10px;
    font-size: 9pt;
}

#popup_input_dates_error {
    clear: both;
    display: none;
    color: #d70101;
    font-size: 8pt;
    padding: 5px;
    font-weight: normal;
}

/*------------------------------------------------------------------*/

#year-container {
    position: relative;
    z-index: 1800;
}

#year-container:hover > #yearlist ul{
    -moz-transition-property: top; /* Firefox 4 */
	-webkit-transition-property: top; /* Safari and Chrome */
	-o-transition-property: top; /* Opera */
    transition-property: top;
	-webkit-transition-delay: 0s; /* Safari */
    transition-delay: 0s;
    top: -3px;
}

#yearlist {
    width: 0px;
    height: 0px;
}

#yearlist ul {
    position: relative;
    width: 110px;
    left: -118px;
    -webkit-box-shadow: 0px 0px 4px 2px black;
    -moz-box-shadow: 0px 0px 4px 2px black;
    box-shadow: 0px 0px 4px 2px black;
    -moz-transition-property: top; /* Firefox 4 */
	-webkit-transition-property: top; /* Safari and Chrome */
	-o-transition-property: top; /* Opera */
    transition-property: top;
	-webkit-transition-delay: 0.5s; /* Safari */
    transition-delay: 0.5s;
    top: -1000px;
}

#yearlist ul li {
    list-style: none;
    width: 100px;
    padding: 3px 5px 2px 5px;
    margin: 0;
    text-align: center;
    background: url(images/menu-2.png) repeat-x;
}

#yearlist ul li a {
    text-decoration: none;
    color: inherit;
}

#yearlist ul li:hover {
    background: url(images/menu-2_hover.png) repeat-x;
}

/*----------------------------------------------------------------------------------------*/

#window_client .client-datas-table tr td {
    padding: 4px 0;
}

#window_client .client-datas-table .left {
    font-size: 10pt;
    text-align: right;
    padding-right: 5px;
    width: 100px;
}

#window_client .client-datas-table .right {
    text-align: left;
}

#window_client .client-datas-table input {
    padding: 2px;
    width: 300px;
}

/*----------------------------------------------------------------------------------------*/

#clients_list_id {
    width: 360px;
    margin: 10px 20px 10px 20px;
    padding: 0px;
}

#clients_list_id option {
    /*margin-bottom: 4px;*/
    padding: 2px 10px 2px 10px;
    font-size: 10pt;
    font-family: Arial, Helvetica, sans-serif;
}

/*----------------------------------------------------------------------------------------*/

#rok_zavrsetka {
    cursor: pointer;
}

.errorOutline {
    outline: 2px solid red;
}