@media print { 
 /* All your print styles go here */
  html, body, #peel, #post-space {
    margin: 0;
  }
  
  div#top-block, 
  div#new-post, 
  form.insertRecord, 
  div.showLess,
  label.showAlways {
    display: none;
  }
  
  div.deadline-window li {
    list-style-type: disc; 
    margin: 0;
  }
  

  
  
  div.post_it, 
  div.postQuick {
    overflow: hidden; /* IE8 hack */
    position: relative; 
    float: left;
    margin: 7px;
    box-shadow: 0 3px 6px rgba(0,0,0,.25);
      -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
    transition: width 0.5s;
    min-height: 300px; /* 02022017 */
  }
  
  .post_it:not(.post-type2), #new-post, .postQuick {
    min-width: 300px; /* 02022017 */
    height: 350px;  
    padding: 2px;
  }
  
  div.postit-title {
    font-weight: bold;
  }
  
  div.records ul li,
  div.deadline-window li {
    line-height: 1.25em;
  }
  
  div.record .strike {
    text-decoration: line-through;
    color: #222; 
  }
   
}


/* CSS data for all Posts*/
/*
AREAS_STYLES 
POST_STYLES
SETTINGS_POPUP_WINDOWS
FRAMES_STYLES
INLINE_MENU
PHP_CALENDAR 
DIALOG_UI
LABEL_FORM_UI
*/

@media screen and (-webkit-min-device-pixel-ratio:0) { 
select,
  textarea,   
  input {
    font-size: 16px;
    padding: 0px;
  }
  /*
  select.timeSelect {
  padding: 0 .2em 0 .2em;
  }
  */
}

@media (max-width: 400px){
  table.searchResults tbody tr td:nth-child(2) {
    width: 14em;
  } 
  table.searchResults tbody tr td:nth-child(n+3), tr.gray  {
    display: none;
  } 
  #show-quick-record  #quick-record-count:not(.empty) {
    margin-right: -1.6em;
  } 
}

@media (max-width: 500px){
  table.searchResults tbody tr td:nth-child(2) {
    width: 16em;
  } 
  table.searchResults tbody tr td:nth-child(n+4) {
    display: none;
  } 
}



@media (max-width: 930px){
  .top-button .label {
    display: none;
  }
}


/* Hide calendar .day-name-day when small width */
@media (max-width: 630px){
  div.day-name-day {
    visibility: hidden;
  }
}

@media (min-width: 575px){
  .post_it.width2w,
  .post_it.width3w,
  .post_it.width4w,
  #new-post.width2w,
  #new-post.width3w,
  #new-post.width4w,
  #click-new-post.width2w,  
  #click-new-post.width3w,  
  #click-new-post.width4w {
    width: 543px;
  }
  /*
  body.modal-open {
    width: calc(100% - 20px);
    margin-right: 20px;
  }
  */
}

@media (min-width: 750px){
  .post_it.width3w,
  .post_it.width4w,
  #new-post.width3w,
  #new-post.width4w,
  #click-new-post.width3w, 
  #click-new-post.width4w {
    width: 718px;
  }
}


@media (min-width: 925px){
  .post_it.width4w,
  #new-post.width4w,
  #click-new-post.width4w {
    width: 893px;
  }
  #show-quick-record  #quick-record-count:not(.empty) {
    margin-right: -.6em;
  }  
}


@media (any-hover: hover) {
  input[type=submit]:hover, input[type=button]:hover, button:hover {  
    background-color: #999999;
    border: 1px solid #999999;
    cursor:pointer;
  }
  div.record a:hover{
    text-decoration: none;
    color: #222;
  }
}


@media (max-height: 600px){
  .modal-bg, .modal-bg2, .modal-bg3, #modal-bg, .soft-modal-bg {
    padding-top: 65px; /* Location of the box */
  }
 /* 
  #modal-dialog.deleted-post .dialog-text {
    height: 440px;
  }
  */
}

@media (min-height: 601px){
  .modal-bg, .modal-bg2, .modal-bg3, #modal-bg, .soft-modal-bg {
    padding-top: 100px; /* Location of the box */
  }
  /*
  #modal-dialog.deleted-post .dialog-text {
    height: 500px;
  }  
  */
}




input[type=button].active {
  background-color: #999999;
}

input[type=button]#hideWeekend {
  margin-right: 1em; 
  float: right; 
  text-decoration: line-through;
}

input[type=button]#hideWeekend.active {
  text-decoration: none;
}

#calendar-notice-type.button {
  color: #666;
}

#calendar-notice-type.button div{
  margin-top: 2px;
}

.showMore, .showLess  {
  position: absolute;
  vertical-align: bottom;
  cursor: pointer;
  display: none;
  bottom: 0;   
  width: 100%;
  height: 1.15em;
  padding: .15em 0 0 1.3em;
  left: 0; 
  font-weight: bold;
   filter: brightness(0.9);
    -webkit-filter: brightness(0.9);

    -o-filter: brightness(0.9);
    -ms-filter: brightness(0.9);    
  
}

.showLess {
  box-sizing: border-box;
  padding-right: 8.5em;
}

.showAlways {
  position: absolute;
  box-sizing: border-box;
  z-index: 1;
  right: .4em;
  bottom: 0;
  display: none;
  height: 1.15em;
  padding: .15em 0 0 .4em;
  white-space: nowrap;
  cursor: pointer;
  font-weight: bold;
  filter: brightness(0.9);
  -webkit-filter: brightness(0.9);
  -o-filter: brightness(0.9);
  -ms-filter: brightness(0.9);
}

.showAlways input[type="checkbox"] {
  margin: 0 .25em 0 0;
  vertical-align: middle;
}

textarea,
body{
  margin: 0 auto 0 auto;
  font-family: "Arial CE", sans-serif;   
}


body.modal-open {
  height: 100vh;
  overflow-y: hidden;
}

body.canvas-edit-open {
  box-sizing: border-box;
  overscroll-behavior: none;
  touch-action: none;
}

body.modal-open canvas.draw {
  touch-action: none;
}



body.wait *, body.wait
{
  cursor: progress !important;
}


h1{
  text-align: center;
  font-size: 2em;
  margin: 5px;
}

#top-block {
  position: fixed; /* Make it stick/fixed */
  top: 0; /* Stay on top */
  width: 100%; /* Full width */
  display: block;
   transition: top 0.3s; /* Transition effect when sliding down (and up) */  
  z-index: 50;
}


#top-menu {
  background-color: #f9f9f9;
  height: 2.2em;
  /* border-top: 1px solid #AAA; */
  border-bottom: 1px solid #CCCCCC; 
}

#top-menu-left {
  padding-left: .2em;
  overflow: hidden;
  height: 2.2em;
  white-space: nowrap;
}

#top-menu-right, .floatRight {
  float: right;
}

.topText{
  display: inline;
  position: relative;
  top: .5em;
}

.top-button{
  height: 2.2em;
  padding: 0 .3em 0 .5em; 
  display: inline-flex;
  display: inline-block;
  align-items: center;
  cursor: pointer;
}

.top-button * {
  height: 2.2em;
  display: inline;
  vertical-align: middle; 
}


.top-button .img, .top-button .iconLoader, .top-button .imgTemp, .submit.iconLoader {
  background-repeat: no-repeat, no-repeat;
  background-position: center;
  display: inline-block;
}

.submit.iconLoader {
  color: #E1E1E1;
}

.top-button .img, .top-button .iconLoader, .top-button .imgTemp {
  width: 1.25em;  
}

.top-button.disabled .img{
  opacity: 0.5;
}

/*
.top-button .label{
  margin-left: .3em;
}
*/

.top-button.disabled {
  cursor: default;
  color: #888;
}

.top-button.disabled:hover {
  background-color: #f9f9f9;  
}

.topTitle {
  margin: .3em 0 0 .2em; 
  font-weight: bold;
  display: inline-block;
}

#goto-new-post .img{
  background-image: url('/images/addPostIcon20x20.png');
}

#show-post-nav .img {
  background-image: url('/images/morePostsIcon20x20.png');
}

#show-favorites .img {
  background-image: url('/images/favorite_icon20x20.png');
  
}

#show-search-form .img, #top-menu-left #quick-search-form div.submit.img, input[name=searchString]+div.submit.img{
  background-image: url('/images/search_icon_16x16.png');
}


.iconLoader,
.showArea.iconLoader,
.iconMenu.iconLoader,
.iconAlarm.iconLoader,
.icon-alarm-grey.iconLoader,
.icon-alarm-green.iconLoader,
.icon-alarm-yellow.iconLoader,
.icon-alarm-red.iconLoader,
.iconCalendarGrey.iconLoader,
.iconCalendarGreen.iconLoader,
.iconCalendarYellow.iconLoader,
.iconCalendarRed.iconLoader,
.iconClose.iconLoader { 
  background-image: url('/images/ajax-loader18.gif');
  background-position: center;
  background-repeat: no-repeat, no-repeat;
}

.iconLoader16 {
  background-image: url('/images/ajax-loader16.gif');
}

.iconCreatePost {
  background-image: url('/images/createPost16x16.png'); 
}



#quick-search-form {
  display: none;
  position: relative;
  top: -.2em;
}


#quick-search-form * {
  display: inline-block;
}

#quick-search-form input {
  vertical-align:top;
}

#quick-search-form #searchSubmit {
  width: 1.3em;
  cursor: pointer;
}

.button.iconLoader16,
#searchSubmit {
  background-repeat: no-repeat, no-repeat;
  background-position: center;  
  vertical-align: top;
}


#show-calendar .img{
  background-image: url('/images/calendar_icon20x20.png');
} 

#show-quick-record .img{
  background-image: url('/images/addFlash20x20BW.png');
}

#show-quick-record  #quick-record-count:not(.empty) {
  border-radius: 50%;
  display: inline-block;
  width: 15px;
  height: 15px;
  padding: 1px;
  background-color: #FFDE33;
  font-size: .8em;
  text-align: center;
  position: relative;
  z-index: 10;
  left: -.8em;
  top: .2em;
}

#quick-history .img{
  background-image: url('/images/iconHistory_20x20.png');
}

#menu-user-show {
  background-image: url('/images/user_icon_16x16.png');
  background-repeat: no-repeat;
  background-position: center;
  padding-right: .5em;
  width: 1.1em;
}

img{
  border: 0px;
}




img.loader-img {
  display: block;
  margin: auto;
  vertical-align: middle; 
  position: relative;
  z-index:10;
}

 /* .tick, .untick, .activated, .deactivated{ */
 .record span+div, .activated, .deactivated{ 
  display: inline-block; 
  background-repeat: no-repeat, no-repeat;
  background-position: center bottom;
  cursor: pointer;
  width: 18px;
  height: 18px;
  line-height: 18px;
  margin-left: .2em;
}

.tick, .activated {
  background-image: url('/images/check_icon_green.png');
}

.untick, .deactivated {
  background-image: url('/images/check_icon_gray.png');
} 

.image-record-icon {
  background-image: url('/images/image-icon-16x16.png'); 
}

.record-quick {
  background-image: url('/images/flash_icon16.png');  
}


#toggleDeadline.icon-alarm16 {
  opacity: 0.75;
}




div + .deadline {
  margin-left: .25em;
}

 
   
/* .tick:hover, .untick:hover,  div.closeFieldset:hover, topSpan:hover{ */   
.showMore:hover,
.showLess:hover,
.showAlways:hover,
.tick:hover,
.untick:hover,
topSpan:hover,
activated:hover{
  filter: brightness(0.6);
}


.record .prestrike{
  color: #666; 
}
.record .strike {
  text-decoration: line-through;
  color: #222; 
}
.record .strike:hover {
  text-decoration: none;
  color: #333; 
}


.record { 
  /* position: sticky; */
  margin: -0.15em 0 -0.15em 0;
  width: 100%;
  vertical-align: text-top;
/* Long word without spaces wrap */
  white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
  white-space: -webkit-pre-wrap; /*Chrome & Safari */ 
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  white-space: pre-wrap;       /* css-3 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
  word-break: break-all;
  white-space: normal;  
} 

[class*="join-"].record,
.record.one-line {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;  
}

.calendar-day:not(.week-no-cell + .calendar-day) [class*="join-"].record:not(.calendar-day-joined) {
	visibility: hidden;
}

.calendar-day-np:not(.week-no-cell + .calendar-day-np) [class*="join-"].record:not(.calendar-day-joined) {
  visibility: hidden;
}


.record span:hover{
  color: #444;
}


.record a img{
  margin-left: .1em;
}

.record img.deadline{
  margin-left: .25em;
  cursor: pointer;
}

.record > div,
div.export-icon {
  margin-right: .15em;
}

.record > div.xs-icon {
  background-position: center bottom;  
}

.record > span > .iconGlobe,
.record > span > .iconLocalStorage,
.record > span > .attach-icon,
.record > span > .image-record-icon {
  margin-right: .2em;
}



div.record a{
 text-decoration: underline;
 color: #000;
}


#calendar-window .record:not(.calendar-day-joined) {
  background-color: #eee;
}
 
.calendar-day-joined,
#calendar-window .record {
  border: 1px solid #BBB;
  border-radius: 3px; 	
  width: calc(100% - 4px);
  margin: 0 1px 0  1px;
}

/* TADYJSEMBYL */

.calendar-day-joined {
  display: flex;  
  justify-content: center;
  position: relative;
  background-color: #f9f9f9;
}


.calendar-day-joined:hover,
#calendar-window .record:hover {
	background-color: #ccc;
}

.highLightStr,
.high-light{
  background-color: #ffff00; 
  border-radius: 2px;
  padding: 0;  
  opacity: 0.9;
}

.highLightStr {
  border: 1px solid #aaa;
  padding: 0 1px 0 6px;  
}

span.goTo{
  display: none;
}



.cat_orders{
  float: right;
  text-align: right;
}

.cat-edit [name=cat-edit-title] {
  width: 90%;
  cursor: text;
}

.cat-edit td.catColorBoxItem {
  margin-right: .5em;
}

.cat-color-box{
  margin-top: .3em;
}

.cat-color-box div{
  width: 25px;
  height: 25px;
  padding: .15em .15em 0 0;
  display: inline-block;
  cursor: pointer;   
  border: 1px solid #CCC; 
}

.changeCatColor {
  /*cursor: pointer;*/
}

/*
.catColorBoxItem{
  border: 1px solid #CCC;
  width: 25px;
  height: 25px;
}
*/


input[type=checkbox] + label {
  margin-left: .3em;
}

label input {
  margin-left: .3em;
}

input[type=checkbox] + .checkIcon, input[type=checkbox] + .button  {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

input[type=checkbox]:checked + .checkIcon, input[type=checkbox]:checked + .button {
  -webkit-filter: none; /* Safari 6.0 - 9.0 */
  filter: none;
}

label > input[type=checkbox]:checked + .button {
  background-color: #999999;
  
}

label[for="calendar"] {
  margin-right: 1.5em;
}

label div.button div.xs-icon{
  vertical-align: text-bottom;
}


h3{
  margin: 0 0 .3em 0;
}


/*
textarea[name="new-rec-text"],
[name="new-rec-text"] {
  border: 1px solid #444;
  opacity: 0.3;
  margin-right: .4em;
  width: calc(100% - 2.3em);
}


[name="new-rec-text"]:hover,
[name="new-rec-text"].active{  
  opacity: 0.9;
}

textarea[name="new-rec-text"] {
  resize: none;
  padding: .15em;
  border: 1px solid #B4B4B4;
  word-break: break-all;
}
*/



form.insertRecord .editable-box {
    flex: 1;
}

.editable-box {
	  border: 1px solid #999;
    background-color: rgb(255,255,255);
    
    margin-right: .4em;
    width: calc(100% - 1.8em);

    min-height: 1.7em;
    padding: .3em .15em 0 .1em;

    white-space: pre-wrap;
    word-break: break-word;

    overflow-wrap: break-word;
    box-sizing: border-box;

    outline: none;
    cursor: text;
    display: inline-block;
}

form.insertRecord .submit {
    display: inline-block;
    vertical-align: top;
    margin-top: .1em;
}


.post_it form[name=add_record] .editable-box {
    border: 1px solid rgba(255,255,255,0.05);
    background-color: rgba(255,255,255,0.35);
}



.post_it form[name=add_record] .editable-box:hover,
.post_it form[name=add_record] .editable-box:focus,
.post_it form[name=add_record] .editable-box:not(.is-empty) 
{
    opacity: 0.9;
    background-color: #FFF;
}

.post_it form[name=add_record] .editable-box:focus,
.post_it form[name=add_record] .editable-box:not(.is-empty) 
{
    border: 1px solid #999;
}

#calRecordForm form[name=add_record] div.row .editable-box {
  width: calc(100% - 2.8em);
  line-height: 1em;
  
   min-height: 1.6em;
   max-height: calc(2em * 2);

   overflow-y: auto;
   overflow-x: hidden;
}

.editable-box.is-empty::before {
    content: attr(data-placeholder);
    color: #666;
    pointer-events: none;
}

.editable-box.url-title-loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 2em;
    height: 1.15em;
    padding: .12em .3em;
    transform: translate(-50%, -50%);
    border-radius: .35em;
    background:
      radial-gradient(circle, #555 45%, transparent 50%) 0 70% / .42em .42em no-repeat,
      radial-gradient(circle, #555 45%, transparent 50%) 50% 50% / .42em .42em no-repeat,
      radial-gradient(circle, #555 45%, transparent 50%) 100% 50% / .42em .42em no-repeat;
    background-color: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    animation: url-title-loading-dots .75s infinite ease-in-out;
    pointer-events: none;
}

.editable-box.url-title-loading {
    position: relative;
}

@keyframes url-title-loading-dots {
    0%, 100% {
        background-position: 0 50%, 50% 50%, 100% 50%;
    }
    16% {
        background-position: 0 20%, 50% 50%, 100% 50%;
    }
    33%, 66% {
        background-position: 0 50%, 50% 50%, 100% 50%;
    }
    50% {
        background-position: 0 50%, 50% 20%, 100% 50%;
    }
    83% {
        background-position: 0 50%, 50% 50%, 100% 20%;
    }
}

.editable-box .editable-link-title {
    display: inline-block;
    border: 1px dashed #999;
    border-radius: .2em;
    background-color: rgba(255, 255, 255, .65);
    margin: 1px 0 1px 1px;
    padding: .05em .3em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.editable-box.has-link-title {
    padding: 0 .15em 0 0;
}

.editable-link-remove {
    border: 0;
    background: transparent;
    color: #555;
    cursor: pointer;
    font: inherit;
    line-height: 1;
    margin: 0 0 0 .3em;
    padding: 0 .1em;
}

.editable-link-remove::before {
    content: "×";
}

.editable-link-remove:hover,
.editable-link-remove:focus {
    color: #c00;
}

/*
input#newQuickRecord {
  width: calc(95% - 15px);
}

input.edited {
  border: 1px solid #000;
}
*/

/* AREAS_STYLES */

#top-tabs{
  height: auto;
  position: relative;
  /* top: 1.15em; */
  z-index: 1;
}

#top-tabs-left{
  white-space: nowrap;
  overflow: hidden;
}

.area-tab, #expand-areas-btn, .area-tab-others, #add-area-tab{
  line-height: 1.8em;
  height: 1.8em;
  text-decoration: none;
  font-weight: bold;
  padding: 0 .5em 0 .5em;
  display: inline-block;
  vertical-align: middle; 
  margin-left: -.30em;
  border-left: 1px solid #c9c9c9;
  border-top: 2px solid transparent;
} 

.area-tab:not(.areaActive):hover, select[name=area-color-selector] option:hover {
  filter: brightness(0.8);
}


.areaActive {
  border-top: 2px solid #666;
}

#expand-areas-btn, .area-tab-others, #add-area-tab{
  background-color: #f9f9f9;
}


.nextTabsWindow > ul > li > b {
  margin:0 .5em 0 .5em;
}

#showNextTabs {
  cursor: pointer;
}


#expand-areas-btn{
  margin-left: .01em; /*FIX*/
  border-left: 1px solid #c9c9c9;
  float: right; 
  cursor: pointer;
  display: none;
}

#expand-areas-btn.expanded {
  transform: rotate(-90deg);
}

div.areas {
  margin-top: -1em;
  margin-bottom: 0.5em;
}

select[name=area-color-selector] {
  padding: 0;
  width: 100%;
}

select[name=area-color-selector] option {
  padding-top: 10px;
  margin: 0;
  text-transform: uppercase;
}

select[name=area-color-selector] option:hover::after {
  content: " \2713";
  float: right;
  color: #000;
}


/*
.button + .button, button + .button, .button + button  {
  margin-left: .5em;
}
*/
  

div.button.disabled, a.button.disabled {
  cursor: initial;  
  color: #888;
}

  
div.button, a.button, .button-more {
  cursor: pointer;
  padding: .1em .25em .1em .20em;;
  letter-spacing: 0.05em;
  border: 1px solid #B4B4B4;
  position: relative;
  font-size: .95em;
  line-height: 1.4em;
  background-repeat: no-repeat, no-repeat;
  background-position: center;
}

div.button:not(.hidden), a.button:not(.hidden) {
  display: inline-block;  
}

div.button:not(.statusRed):not(.active),
a.button:not(.statusRed):not(.active),
div.button-more:hover {
  background-color: #E1E1E1;
}

div.button-more {
  border: 0;
  display: inline-block;
}



a.button {
  text-decoration: none;
}


div.button:hover:not(.disabled), a.button:hover:not(.disabled) {
  background-color: #999999;
}

input[type=radio]:checked + .button, input[type=submit].active, .button.active {
  background-color: #868686;
}

 
#expand-areas-btn:hover, .top-button:hover, #searchSubmit:hover, .area-tab-others:hover {
  background-color: #c9c9c9; 
}


#menu-area-show {
  position: relative;
  top: .3em;  
  left: .3em; 
  touch-action: manipulation !important;
}

.areaRename {
  /*background-color: #FFF273;*/
  line-height: 1.8;
  height: 1.8em;
  padding: 0 .5em 0 .2em;
  margin-left: -.25em;
  display: inline-block;
  vertical-align: middle;   
}


#modal-dialog.deleted-post .dialog-outter {
  max-width: 370px;
}

#modal-dialog.deleted-post .dialog-text {
  overflow-y: scroll;
  height: 330px;
}

.modal-bg, .soft-modal-bg, .soft-modal-bg-btn {
  z-index: 10;   
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(120,120,120,0.4); /* Black w/ opacity */ 
}

.modal-bg.page_reload {
  z-index: 999;  
}

/* The Modal (background) */
.modal-bg, .modal-bg2, .modal-bg3, #modal-bg, .soft-modal-bg, .soft-modal-bg-btn {
  position: fixed; /* Stay in place */
  /* padding-top: 100px; /* Location of the box, ajuste by media query */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}

.modal-bg2 {
  z-index: 11; 
  margin: 1.1em 0 0 1em;

}

.modal-bg3 {
  z-index: 12;  
  margin: 1.3em 0 0 1em;
}

.calendar-peel {
  border: 2px solid #CCC;
  margin: auto;
  padding: .2em;
  background-color: #DDDDDD; /* HACK SAMSUNG TABLET */
  background-color: #DDDDDD8a;
  min-width: 22em;
  max-width: 50em;
  min-height: 1.5em;
}

.calendar-peel > .showArea {
	overflow-y: scroll;
	overflow-x: hidden;
  max-height: 75vh;
  scrollbar-width: thin;
}


.reload-bg {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 10;  
  background: url('/images/ajax-loader.gif') 
    50% 50% no-repeat rgba(120,120,120,0.4);
}

.reload-bg > div {
  left: 47%;
  font-weight: bold;
  z-index: 1000;
  color: #111;
  position: relative;
  top: 45%;
}


/* SETTINGS_POPUP_WINDOWS */

.settingsWindow, .window-menu {
  border: 1px solid #959595; /* rgb(149,149,149); */
  background-color: #C0C0C0; /* rgba(192,192,192, 0.9); */
  display: none; 
  position: absolute; 
  z-index: 2;
  font-weight: normal;
}

.window-menu {
  width: 10em;
}

.settingsWindow ul, .window-menu ul{
  margin: 0 0 0 -1.7em;
  display: inline-block;
}

.settingsWindow ul li, .window-menu ul li{
  list-style-type: none;
  margin-left: -0.8em;
}

.settingsWindow ul li:hover, .window-menu ul li:hover{
  cursor: pointer; 
  background-color: rgba(210,210,210,0.9);
}

.settingsWindow ul li > div, .window-menu ul li > div{ 
  padding: 0 .5em 0 .5em;   
  color: #000; 
  cursor: pointer; 
}

.settingsWindow ul li a, .window-menu ul li a {
  text-decoration: none;
}

.settingsWindow ul li a div, .window-menu ul li a div, .settingsWindow ul li a span {
  padding: 0 .2em 0 .2em; 
}

.settingsWindow ul li img, .window-menu ul li img {
  margin: 0 .4em 0 .3em;
}

.settingsWindow.windowFavorites ul li a {
  text-decoration: underline;
}

.settingsWindow.windowFavorites ul li a:hover {
  text-decoration: none;
  cursor: pointer;
}

.settingsWindow .postUp.middle {
  display: inline-block;
}

.settingsWindow .postDown.middle {
  display: inline-block;
  margin-left: .5em;
}

/* Setting window positions */ 
.settingsWindowPost {
  /*margin-top: -.3em; */
  width: 10.5em;
}

.window-menu-area {
  margin: 0 -.55em;
}

.window-menu-user { 
  right: 0;
}

.quickNavWindow, .window-menu-user, .window-menu-area  {
  border-top: 2px solid #959595;
}

.quickNavWindow {
  max-width: calc(100vw - 1em);
  overflow-x: auto;
}

.quickNavWindow > ul {
  display: block;
  max-height: calc(100vh - 5em);
  column-width: 12em;
  column-gap: .75em;
  column-fill: auto;
}

.quickNavWindow > ul > li {
  break-inside: avoid;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .quickNavWindow {
    position: absolute;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: .45em;
  }

  .quickNavWindow > ul {
    columns: 1;
  }

  .quick-nav-scroll-indicator {
    position: absolute;
    right: 2px;
    width: 4px;
    min-height: 24px;
    border-radius: 3px;
    background-color: rgba(70, 70, 70, .7);
    pointer-events: none;
    z-index: 3;
  }
}

.windowFavorites {
  max-width: 18em;
}

.windowFavorites li{
  padding-right: .3em;
}

.windowFavorites .iconGoTo{
  background-position: center bottom;
}


.settingsWindow .changePostAreaSubmit {
  margin-left: .5em;
  padding: 0;
  vertical-align: middle;
}

a{
 color: #000;   
}

a:hover { 
 text-decoration: none; 
}
 
a.img {
  border-bottom: 1px solid transparent;
  margin: .1em;
}


a div.user{
  text-decoration: none;
  padding: .1em;
}

a div.user:hover{
  background-color: rgba(192,192,192,0.6);
  text-decoration: none;
}

div.link-emphasized input {
  padding: .2em;
  border: 1px solid #d7d7d7;
  min-width: 10em;
  display:inline-block;
  height: 1.2em;
  width: 80%;
}


#pop-up {
  /* display: none;  */
  position: absolute;
  z-index: 110;
  border: 1px solid #959595;
  background-color: #c4c4c4;
  text-align: justify;
  font-size: 1em;
  min-height: 1.4em;

  background-color: #C9C9C9;
  white-space: nowrap;
}


#pop-up > div, #pop-up div.classic, #pop-up > div > div > div {
  display: inline-block;
}

#pop-up div {
  background-position: center; 
}


#pop-up div.m-icon{
  padding: .2em .15em .6em .15em;
  margin-bottom: -.25em;
}

#pop-up div.m-icon:hover{
  background-color: #999999;
  cursor: pointer;
}


form.areaRename {
    display: inline-block;
}

#insert-area-form { 
  display: none;  
}

.rC2px, .dl-post{
 border-radius: 2px;
 -webkit-border-radius:2px;
 -khtml-border-radius:2px;
}

.rC3px {
  border-radius: 3px;
 -webkit-borderradius:3px;
 -khtml-border-radius:3px;
}



.changeDeadline {
  background-color: #FFF;
  border: 0px;
  margin: 0 .3em .2em -1em;
}

.change {
  padding: .3em;
  background-color: #FFF;
  border: 0px;
  margin-bottom: -1.1em;
}

.insertRecord {
  padding: .2em;
  margin: 0 .2em .2em .2em;
  z-index: 10;
  /*position: absolute;*/
  width: calc(100% - 15px);
}

.insertRecord * {
 vertical-align: middle;
 background-position: center;
}

.insertRecord button.hidden,
.insertRecord .button.hidden,
.insertRecord input.hidden {
  display: none;
}


.insertRecord > .row {
  margin-top: .3em;
  width: 100%;
}

.insertRecord > .rec-add-dl input[name=rec_pass_check] {
  margin: 0 .3em 0 .4em;
}

/*
.insertRecord .iconAdd {
  position: absolute;
  float: right;
}
*/

.post_it .insertRecord .iconAdd {
  right: 3%;
}


/*
.insertRecord > .row {
  margin-top: .5em;
}
*/

.shadowFrame {
  background-color: #FEFEFE;
  border: 0px;
 -webkit-border-radius:2px;
 -khtml-border-radius:2px;
 border-radius: 2px;    
 font-weight: normal;
}



.post-dl-chg + a + .dl-post-frame {
  margin: 0 .2em .5em -.2em;  
  padding: 0 0 .2em .2em;
}

div[class^="post-dl-value-"] {
  display: inline-block;
}

.record fieldset {
  padding: 0px;
}

fieldset.shadowFrame{
  padding: .2em .3em .3em;
  margin-bottom: .2em;
}

shadowFrame > div.row:not(:first-child) {
  margin-top: .3em;
}


div.row {
  vertical-align: middle;
  min-height: 1.8em;
  margin: 0 0 .1em 0;
}

.row > *:not(.hidden), .row > .buttons-set > .button {
  margin-right: .2em;
  display: inline-block;
  vertical-align: middle;
}

.rec-add-dl {
  margin-top: .3em; 
}

.rec-add-dl > * {
  display: inline-block;
}

.rec-add-dl .toggle-next{
  margin: 0 .3em;
}

.rec-add-dl label {
  vertical-align: middle;
}

.rec-dl-datetime{
  display: none;
}

.rec-dl-datetime.show{
  display: inline;
}

.rec-pass-sel-type {
  font-weight: bold;
}

.day-offset-selecion {
  display: inline-block;
}

.shadowFrame select, .rec-add-dl select {
  height: 1.7em;  
  margin: 0em 0em 0em .15em;
  border-color: #B4B4B4;
}


.shadowFrame textarea.changeText {
  resize:vertical;
  width: 99%;

  max-height:10em; 
  min-height:1.1em;
  margin-bottom: .4em;
  border: 1px solid #B4B4B4;
}

select[name="rec_pass_time_hours"] {
  margin-left: .5em;
}


select[name="rec_pass_time_hours"] + span::after {
  content: ":";
}


/*
.shadowFrame input, .shadowFrame select, .menu input {
  margin-top: .2em;
}
*/

#recordDestArea {
  width: calc(100% - 6.15em);
  box-sizing: border-box;
}

#recordDestPost {
  margin-bottom: .5em;
  width: calc(100% - 5em);
  box-sizing: border-box;
}

div.row.record-destination-row > label,
#recordDestArea,
#recordDestPost {
  vertical-align: top;
}

div.row.record-destination-row > label {
  position: static;
  line-height: 1.7em;
}


input[name=rec-chg-file]{
  margin-bottom: .3em;
  width: 81%;
}

.record-link-field {
  display: flex;
  align-items: center;
  gap: .2em;
}

.record-link-field input[name=rec-chg-file] {
  flex: 1;
  min-width: 0;
  width: auto;
}

.clear-record-link {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-left: .2em;
  padding: 0;
  border: 0;
  vertical-align: middle;
  color: #000;
  background: transparent;
  font-size: 26px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

.clear-record-link:hover,
.clear-record-link:focus {
  color: #000;
  text-decoration: none;
}

form[name=record-edit] {
  
  /* z-index: 100; ONLY for float */
  position: relative; 
}

form[name=record-edit] .editable-box {
  display: block;
  width: 100%;
  margin-right: 0;
}

.record .recordEdit{
  margin-left: -1em;
}

.deadline-window .record .recordEdit{
  margin-left: -.2em;
} 

strike { color: #666666; }


input[type=submit],
input[type=button],
button{ 
  background-color: #E1E1E1;
  font-size: .95em;
  margin: 0;
  padding: .2em;
  border-radius: 0px;
  -webkit-border-radius:0px;
  -khtml-border-radius:0px;
  -webkit-appearance: none;  
}

input[name=area_add_submit] {
  margin-left: .3em;
}

.datefield, select {
 -webkit-border-radius:0px;
 -khtml-border-radius:0px;
 border-radius: 0px;  
}


input[type=text], 
input[type=password] {
 margin-top: 0;
 height: 1.6em;
}


.css_expand option {
 height: 1.6em; 
}


table.collapse{
  border-collapse: collapse;
}
table.collapse tr th{
  padding: 0 .4em 0 .4em;  
}
table.collapse tr td{
  padding: .1em;
}

.closeFieldset {
  margin-top: .1em;
  float: right;
}

.records ul, div.deadline-window ul{
  margin: 0 0 0 -1.2em;
}

.records ul li, .deadline-window li, .settingsWindow li, .window-menu li{
  line-height: 1.55em;
}

.records ul li .record, .deadline-window li .record{
  display: inline-block;
}

.record-area {
  line-height: 1.35em;
  margin-left: .5em;
}

.record-area  ul, .record-area  ol{
  margin-left: -1em;
}

.record-area > p  {
  word-wrap: break-word; 
}

.record-area:empty::after {
  content: 'Dvojklikem zobrazíte editor...';
  color: #444;
  font-decoration: italic;
}

div.deadline-window{
  min-height: 90px;
  float: left;
  padding: 2px;
  margin: 7px;
  box-shadow: 0 3px 6px rgba(0,0,0,.25);
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
}

div.deadline-window li{
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0 0 0 -1em; /* Remove margins */
}

.deadline-window .postit-title {
  padding-left: .3em;
  font-weight: bold;
}

#post-space > .post_it .postit-title {
  cursor: grab;
}

.postit-title{ 
  margin: 0px;
  padding: 0px;
  font-size: 1.3em;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow: hidden; 
  white-space: nowrap;  
}

.postit-title > div {
  margin-right: .4em;
}

#peel{
  margin-top: 4.2em;
  position: relative;
}

#peel > .clanek {
  margin: 0 .4em;
}

#peel > .clanek  > h2 {
  margin: .7em 0 .1em .5em;
  color: #344e6a;
}

#peel > .clanek h3 {
  color: #344e6a;
}


#peel > .clanek .napoveda{
  border: 1px solid #CCC;
  margin: .3em;
  padding: .2em;
  background-color: #FFF;
  min-width: 22em;
  max-width: 65em;
  min-height: 1.5em;
  display: inline-block;
}

/* POST_STYLES*/
.post_it, .postQuick, .deadline-window {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

div.deadline-window, .post_it, #new-post, #dialog-record, .postQuick{
  width: 350px;
}

.post_it, .postQuick, #click-new-post {
  overflow: hidden; /* IE8 hack */
  position: relative;
  float: left;
  margin: 7px;
  box-shadow: 0 3px 6px rgba(0,0,0,.25);
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
  min-height: 300px; /* 02022017 */
  margin: 7px;
  padding: 2px;
}

.post_it, .postQuick, #click-new-post, .deadline-window {
  transition: width 0.5s;
}

.post_it:focus-within {
  z-index: 1;
}

#peel.area-loading {
  opacity: .55;
  transition: opacity .15s ease;
  pointer-events: none;
}

.post_it.post-drag-armed,
.post_it.post-drag-source {
  z-index: 3;
  outline: 2px solid #666;
  outline-offset: 0;
  transform: translateY(-2px) scale(1.01);
  transition: transform .12s ease;
}

.post-drag-helper {
  outline: 2px solid #666;
  outline-offset: 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .35);
}

#post-space > .post_it.ui-sortable-placeholder {
  transition: none;
}

.area-tab.area-drag-armed,
.area-tab.area-drag-source {
  z-index: 3;
  outline: 2px solid #666;
  outline-offset: 0;
  transform: translateY(-2px) scale(1.01);
  transition: transform .12s ease;
}

.area-drag-helper {
  outline: 2px solid #666;
  outline-offset: 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .35);
}

.record-drag-helper {
  z-index: 10000;
  max-width: 320px;
  border: 1px solid #777;
  border-radius: 3px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
  padding: .35em .55em;
  pointer-events: none;
  white-space: normal;
}

.record-drag-armed,
.record-drag-source {
  position: relative;
  z-index: 2;
  opacity: .85;
  border-radius: 2px;
  background-color: transparent;
  transform: translateY(-2px) scale(1.02);
  transition: transform .12s ease, box-shadow .12s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.record-drag-helper::before {
  content: "+";
  display: inline-block;
  margin-right: .25em;
  color: #000;
  font-size: 1.35em;
  font-weight: 900;
  line-height: .75;
  vertical-align: -.08em;
}

.record-order-placeholder {
  height: 3px;
  min-height: 3px;
  margin: 2px 0;
  border: 0;
  border-radius: 2px;
  background: #555;
  list-style: none;
  pointer-events: none;
}

.record-drag-armed::after,
.record-drag-source::after {
  content: "";
  position: absolute;
  top: -2px;
  right: .5em;
  bottom: -2px;
  left: -2px;
  border: 1px solid #666;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .35);
  pointer-events: none;
  z-index: -1;
}

.record-drag-armed *,
.record-drag-source * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.record-drag-armed,
.record-drag-armed * {
  cursor: grab !important;
}

.post_it.record-drop-active,
.postQuick.record-drop-active {
  outline: 2px dashed rgba(80, 80, 80, .45);
  outline-offset: 2px;
}

.post_it.record-drop-hover,
.postQuick.record-drop-hover {
  outline: 3px solid rgba(255, 255, 255, .9);
  outline-offset: 2px;
}

.record-dragging,
.record-dragging * {
  cursor: grabbing !important;
  user-select: none;
  -webkit-user-select: none;
}

#new-post {
  overflow: hidden; /* IE8 hack */
  position: fixed;
  margin: 7px;
  box-shadow: 0 3px 6px rgba(0,0,0,.25);
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
  height: 300px; /* 02022017 */
  margin: 7px;
  padding: 2px;
  
  margin: auto;
  max-width: 35em;
  position: relative;
  z-index: 100;
  padding: 0 .5em 0 .5em;
}

#click-new-post {
  background-color: #f3f75b;
  color: #555;
  border: 4px dashed #999;
  border-radius: 20px;
  opacity: .4; 
  height: 340px;
  width: 340px;
}

#click-new-post .str {
  font-size: 2em;
  
}

#click-new-post #new-post {
  margin-left: -1.5em;
  box-shadow: none ;
    -webkit-box-shadow: none;  
}


#click-new-post.active,
#click-new-post:hover{
  opacity: .9;
  cursor: pointer;
  
}

#click-new-post {
  text-align: center;
  color: #000;
}


.post_it:not(.post-type2), #new-post, .postQuick {
  min-width: 300px; /* 02022017 */
  min-height: 350px;  
}

.post_it.post-type2 {
  min-height: 350px;
}

.post_it.post-type2 table{
  border-color: #000;
}

.post_it.post-type2 > .postit-head {
  margin-bottom: .5em;
}

.post_it > div.row {
  margin: 0 auto 0 auto;
}

.post_it > .record-area {
   width: 95%;
   height: 90%;
   -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   -moz-box-sizing: border-box;    /* Firefox, other Gecko */
   box-sizing: border-box;         /* Opera/IE 8+ */
   background: transparent;
   border: 0;

}


.post-canvas {
  overflow: auto;
  max-width: 800px;
  max-height: 600px;
  min-width: 350px;
  min-height: 300px;
}

.post-canvas > canvas {
  padding: 3px; 
  width: calc( 100% - 20px);
  height: calc( 100% - 120px);
  resize: inherit;
  overflow: auto; 
}

.post-canvas > img.canvas {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100% - 1.55em);
  object-fit: contain;
  object-position: left top;
}


.canvas-box {
  position: relative;
}

.canvas-control {
  position: absolute;
  top: -1.55em;
  right: 0;
  z-index: 1;
  display: block;
  white-space: nowrap;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  /*background-color: #FFF;
  
   left: calc(50% - 390px);
   top: 50px;
   border: 1px dotted black;*/
}

canvas.draw {
  cursor: crosshair;
  background: #ecf0f1;
}

.tox-edit-area {
  background-color: rgba(0,0,0,0.05) !important;
}

.tox-toolbar__primary {
  background-color: rgba(0,0,0,0.03) !important; /* uses !important or override .mce-panel background-color/image */
  background-image: none !important;
}

div.row > div, div.row > button{
  /*vertical-align: text-bottom;*/
}

.row > label {
  position: relative; 
}

.postMoveOpacity{
  opacity: .4;
}

/*
#new-post{
  opacity: .4; 
}

#new-post.active,
#new-post:hover{
  opacity: .9;
}
*/
#new-post > form > fieldset {
  border: 0;
}

#new-post .title{
  margin: .2em 0 .2em 1.8em;
  font-size: 1.8em;
}

#new-post > form > .submit {
  margin-top: 1.3em;
}

[name=new-post-form] > fieldset > .new-post-params, .post-type-selection {
  margin: .3em 0 0 0;
  font-size: 1.1em;
}

.post-type-selection {
  text-align: center;
}

[name=new-post-form] > fieldset > .new-post-params {
   margin: .4em 0 0 3em;
}

[name=new_cat_name] {
  margin-left: 1.3em;
  width: 90%;
}

.new-post-params > div > div {
  margin: .1em 0 .3em .8em;
}

.new-post-params .cat-color-box {
  margin: 0 0 .2em 1em;
}

.new-post-params .submit {
  margin: .2em 0 0 10em;
}


.br {
  margin-bottom: .2em;
  /*height: 1.6em*/
}

.br > input[type="radio"]:nth-child(n+2) {
  margin-left: 1em;
}

div.postit-head{
  padding: .1em .2em 0 .2em;
}


/*
.postit-head fieldset {
  margin: 0;
  padding: .2em;
  font-size: .9em;
}
*/

#changePostAreaDiv {
  display: none;    
}

.postSort select {
  width: 10em;
  margin-left: -.4em;
}

#changePostAreaDiv {
  margin-left: -.4em; 
}

#quick-record-frame {
  margin: 0 0 .5em 0;
}

#quick-record-frame h3{
  margin: .3em 0 .2em;
  font-size: 1em;
}

#quick-record-frame * .datefield{
  height: 1.6em;
}

#quick-record-frame * select#recordDestArea{
  width: 12em;
}

#quick-record-frame * select#recordDestPost{
  width: 13.2em;
}

.datefield {
  width: 5.5em;
}

.datefield.disabled {
  background-color: #E1E1E1;
  cursor: default;
}


.dialog-quickpin {
  float: right; 
  font-size: .6em;
  margin-right: 1.3em;
  filter: brightness(2) grayscale(100%);  
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  cursor: pointer;
  border: 1px solid #AAAAAA;
  border-radius: 4px; 
  padding: 2px; 
}

.dialog-quickpin:hover {
    filter: brightness(.2) grayscale(100%); 
}

.dialog-text > div > form {
  display: inline;
}

.dialog-text > form > div.row {
  margin-bottom: .4em;
}


/* FRAMES_STYLES */

select[name="cat_color"] {
  height: 1.5em;
}



.vAlignMiddle{
  vertical-align: middle;
}


ul.inline {
  display: block;
  margin: 0;
  padding: 0;
}

ul.inline li{
  list-style: none;
  float: left;
  margin: 0 .1em;
}


/* INLINE_MENU in Search.class.php*/
ul.inline_menu{
  padding: 0;
  margin: -.35em -.3em 0 -.30em;
  line-height: 1.8em;
  background-color: rgba(192,192,192,0.9);
}
  
ul.inline_menu li{
  height: 1.8em;
  display: inline-block;

}

ul.inline_menu li a, ul.inline_menu li div{
  padding: 0 .2em 0 .2em;
  color: #000;
  text-decoration: none;
}

ul.inline_menu li:hover{  
  background-color: rgba(210,210,210,0.9);
  cursor: pointer;  
}

ul.inline_menu li.active, ul.inline_menu li div.selected{
  color: #000;
  background-color: rgba(210,210,210,0.9);
  font-weight: bold;
}

div.inlineMenu{
  border-bottom: 1px solid black; 
  padding-bottom: .1em;
  text-align: center;
  margin-bottom: .1em;
}



.inlineMenu span {
  display: inline-block;
  padding: .3em .5em; 
}

.inlineMenu span:hover, div.inlineMenu span.selected {
  background-color: #DDD;
  background-color: rgba(208,208,208,0.8);
}

.inlineMenu span:not(.selected):hover{
  cursor: pointer;
}


.searchResults  a + .deadline {
  margin-left: .5em;
}

.searchResults tr > td{
  padding-bottom: .3em;
}

.searchResults tr td:nth-child(4) {
  text-overflow: ellipsis;
  overflow: hidden; 
  white-space: nowrap;  
  max-width: 10em;
}

.searchResults td > div.row > * {
  display: inline-block;
}



td.goto {
  width: 10px;
}

.searchResults td.string {
  /* width: 200px; */
}

td.inserted-passed {
  width: 110px;
  white-space: nowrap;
}

/*
table.searchResults tr td:nth-child(1), .quick-search-results.records tr td:nth-child(1){
  width: 1em;
} 

.quick-search-results.posts tr td:nth-child(1){
  min-width: 70%;
} 
*/
tr.header {
  font-weight: bold;
  color: #555;
}


/* PHP_CALENDAR */

#calendar-window table {
  /* margin-top: .4em; */
}

#calendar-window {
  min-height: 13em;
}

table.calendar    { 
  border-left:1px solid #999; 
}

table.buttons tr {
  height: 1.9em;
}

table.calendar-rows {
  width: 100%;
}

.calendar-row > td > * {
  /* margin-top: .1em; */
}


td.calendar-day-head { 
  background:#ccc; 
  font-weight:bold; 
  text-align:center; 
  width:120px; 
  padding:5px; 
  border-bottom:1px solid #999; 
  border-top:1px solid #999; 
  border-right:1px solid #999; 
}

td.calendar-day-head.week-no {
  width: 30px;
}

td.calendar-day, td.week-no-cell { 
  min-height:80px; 
  font-size:1em;
  /* position:relative; */
  background-color: #FFF;
} 

td.calendar-week {
  font-size:1em;
  background-color: #FFF; 
  padding: 3px;
  border-bottom: 1px solid #999;
  border-right: 1px solid #999;
}

td.calendar-week > * {
  display: block;
}

.week-no-cell {
  text-align: center;
  vertical-align: inherit;
  border-bottom: 1px solid #999;
  border-right: 1px solid #999;
  width: 10px;
}


* html div.calendar-day { height:80px; }


td.calendar-day-np  { 
  background:#fff; 
  min-height:80px; 
} 

* html div.calendar-day-np { height:80px;
}

span.day-number { 
  background:#666;
  padding:2px 5px 2px 1px; 
  color:#fff; 
  font-weight:bold; 
  float:left;
  /*margin:1px 0 -3px -3px;*/
  width:15px; 
  text-align:center; 
  /*position: relative;
  top: -4px;*/
  cursor: pointer;
}

div.day-name-day {
  display: inline-block;
  width: calc(100% - 21px);
  /*top: -4px;
  position: relative;*/
  padding: .2em 0 .1em 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-day div.day-name-day {
  background-color: #78c0ff;
}

.calendar-day-np div.day-name-day {
  background-color: #aed9ff;
}

div.day-name-day.today {
  background-color: #4bbc34;
  /*background-color: #53ff53;
  /* border-bottom: 1px solid #ccc;
  /* background-color: #53ff53;*/
}

div.day-name-day.shop-closed {
  background-color: red;
}


span.calenderDayRest {
  background:#999; 
}  

.post-deadline-nameday {
	float: right;
	margin: .2em .2em 0 0;
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
}
  
  
div.record[id^="cal"]:not([class^="join"]) {
  position: relative;
}
  

.firstRec {
  margin-top: 2px;
}

.nextRecs {
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
}

td.calendar-week .nextRecs{
  border: none;
}

.calendar-day-np span.nextRecs {
   border: 1px solid #bbb;  
}

.calendar-day-np span.nextRecs:hover {
   background:#ddd;   
}
  

/* shared */
td.calendar-day, td.calendar-day-np { 
  vertical-align:top;
  width:120px; 
  /*padding:3px; */
  border-bottom:1px solid #999; border-right:1px solid #999;
  max-width: 45px;
  cursor: text;
 }
 

 

/* Green today */
.day-number-today, td.day-number-today {
  background: #80ff80; 
}

/* Green today hover */
td.day-number-today:hover {
  /* background: #53ff53; */ 
}

#monthBefore, #monthNext {
width: 1.8em;
font-weight: bold;
margin: 0 .5em 0 .5em;
}

/* DIALOG_UI */

.hideDialog{
  display: none;
}

#calRecordForm{
/*font-size: 90%; */
}

#calRecordForm form{
padding: 0;
margin: 0;
}


#calRecordForm form #newCalendarRecord{
  width: 86%;
}

#datepickerNewRecord {
  width: 5.3em;
}


div#calRecordForm form [name="newCalendarArea"]{
  width: 14.6em;
}

div#calRecordForm form #main_cat_ID{
  width: 15.65em;
}


div#calRecordForm form #newCalendarPost{
  width: 12.65em;
}



/* LABEL_FORM_UI */
.labelFormDialog {
  margin-bottom: 1em; 
}

.labelFormDialog label{
  float: left;
  text-align: right;
  padding-right: .5em;
  width: 65px;
}

.labelFormDialog label, .labelFormDialog input{
  display: inline-block;
  float: left;
  margin-bottom: 5px
}

.labelFormDialog label.checkbox {
  width: 70%;
}

.labelFormDialog input.button, .labelFormDialog input.center{
  float: none;
  display: block;
  margin: 0 auto;
}

.labelFormDialog h3.center{
  margin: 1em 0 1em 0;
}

form[name="user_data"].label-form li span{
  width: 4em;
}


label input[type="radio"], label input[type="checkbox"] {
  display: none;
}



select.css_expand  {
  position: absolute;
  z-index: 120;
  /* padding-top: .2em; */
}

.user-manual-sections > a {
  margin-right: .8em;
}

.post_size_selector div {
  display: inline-block;
  width: 1.5em;
  border: 1px solid #999999;
  margin: 1px;
  border-radius: 1px;
  background-color: #C9C9C9;
  text-align: center;
  padding-top: .4em;
}

#pop-up .post_size_selector div {
  height: 1.5em;  
}

.new-post-params-width .post_size_selector div {
  height: 25px;
}


.post_size_selector div:hover, .post_size_selector div.selected {
  background-color: #999999;
  cursor:pointer;
}

.post_size_selector:hover div{
  background-color: #999999;
}

.post_size_selector div:hover ~ div{
  background-color: #C9C9C9;
}

#resize_post0.post_size_selector {
  width: 7.5em;
}

#searchWindow h4 {
  display: inline-block;
}

#searchWindow h4 + a.go-back{
  margin-left: .5em;
  color: #666;
}

.userMessage > h3 {
  display: inline-block;
}

.userMessage > h3 + a.go-help {
  margin-left: .5em;
}

.quick-search-results {
  margin: .3em 0 1em 0; 
}

.quick-search-results table {
  width: 100%; 
}

.quick-search-results .more-results{
  margin: .3em 0 .3em 0;
}

#user-space .post_it > .postit-head{
  margin-bottom: .4em;
}

#user-space .post_it > .content{
  margin-left: 1em;
}

#user-space .post_it > .content > div{
  margin-bottom: 1em;
}

#post-deadline-cancel {
  margin-left: .6em;
}

/* DEADLINE */
#deadline-missed {
  background-color: #e80d0d;
}

#deadline-today {
  background-color: #4bbc34;
}

#deadline-tomorrow {
  background-color: #fcc10f;
}

.deadline-window {
  display: inline-block
}


.post-item {
  padding: .1em .2em 0 .2em;
  /* margin: 0 0 .2em .2em; */
  display: inline-block;
  /*
  text-overflow: ellipsis;
  overflow: hidden; 
  white-space: nowrap;  
  max-width: 90%; 
  */
 }

.post-item:hover {
  opacity: 0.6;
}

a > .post-item {
  margin-left: .05em;
  text-decoration: none;
  display: inline-block;
}

.deleted.post-item, label[for] {
  cursor: pointer;
}

.deleted.post-item, .post-deleted {
  background-color: #BBB; 
  
}
