﻿#cssload-wrapper {
	height: 3px;
    margin-bottom: 9px;
    display: none;
}

#cssload-border {
	height: 100%;
	padding: 4px 3px;
}

#cssload-whitespace {
	height: 100%;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

#cssload-line {
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: rgb(33,115,70);
	animation: cssload-slide 4.25s steps(40) infinite;
		-o-animation: cssload-slide 4.25s steps(40) infinite;
		-ms-animation: cssload-slide 4.25s steps(40) infinite;
		-webkit-animation: cssload-slide 4.25s steps(40) infinite;
		-moz-animation: cssload-slide 4.25s steps(40) infinite;
}



@keyframes cssload-slide {
	0% {
		left: -100%;
	}
	
	100% {
		left: 100%;
	}
}

@-o-keyframes cssload-slide {
	0% {
		left: -100%;
	}
	
	100% {
		left: 100%;
	}
}

@-ms-keyframes cssload-slide {
	0% {
		left: -100%;
	}
	
	100% {
		left: 100%;
	}
}

@-webkit-keyframes cssload-slide {
	0% {
		left: -100%;
	}
	
	100% {
		left: 100%;
	}
}

@-moz-keyframes cssload-slide {
	0% {
		left: -100%;
	}
	
	100% {
		left: 100%;
	}
}

#wrap_comments {
    display: none;
    position: absolute;
    min-width: 420px;
    max-width: 900px;
    background: white;
    z-index: 35;
    border: 2px solid #217346;
    margin-left: 30px;
}

#wrap_comments .inner {
    max-height: 400px;
    overflow: auto;
}

#wrap_comments.loader {
    border-color: gray;
}

#wrap_comments.loader #cssload-wrapper{
    display: block;
}


#wrap_comments .inner .comment {
    border-bottom: 1px solid #217346;
}
#wrap_comments .comment {
    font: 12px/12px Arial;
    position: relative;
}

#wrap_comments .comment .header {
    background: #eee;
    
    padding: 3px;
}

#wrap_comments .comment .header i {
    margin-left: 1em;
    font-size: 11px;
}

#wrap_comments .comment .content {
    padding: 3px;
    white-space: pre-wrap;
}
#wrap_comments .comment.add {
    position: relative
}

#wrap_comments .comment .btn ,
#wrap_comments #drag-and-drop-zone {
    position: absolute;
    position: absolute;
    right: 15px;
    background-color: #217346!important;
    top: -4px;
    background-image: url(../i/page_attach.png);
    opacity: 0.5;
}
#wrap_comments #drag-and-drop-zone input{
    display: none;
}

#wrap_comments .comment.add .content {
    padding: 0;
}


#wrap_comments .comment.add .comment_delete{
    background-image: url(../i/comments_delete.png);
    right: 40px;
}

#wrap_comments .comment .comment_delete {
    background-image: url(../i/comment_delete.png)
}
#wrap_comments .comment .comment_edit {
    background-image: url(../i/comment_edit.png)
}

#wrap_comments .comment input,     
#wrap_comments .comment textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    max-height: 400px;
    max-width: 900px;
}

    #wrap_comments .comment textarea {
        border: 0;
    }

#wrap_comments .miniprint {
    position: absolute;
    right: 15px;
    z-index: 10;
    background-color: #217346!important;
    top: -4px;
}

@media print {
    body.comment #auth-user,
    body.comment #cubix-main-placer,
    body.comment #drop-cols,
    body.comment #drop-rows,
    body.comment #cubix-main,
    body.comment #cubix-rows,
    body.comment #cubix-cols,
    body.comment #cubix-top,
    body.comment #cubix-wf_place,
    body.comment #cubix-buttonpanel,
    body.comment #cubix-helppanel,
    body.comment #header-resize,
    body.comment #drop-helper,
    body.comment #selection,
    body.comment #selection_cell{
        display: none!important;
    }
    body.comment #cubix-logo p {
        padding: 0;
        background: transparent;
        display: block;
    }
    body.comment #cubix-logo {
        height: auto!important;
        width: auto!important;
        background: transparent;
        border: 0;
        position: static;
        margin: 0;
        margin-bottom: 2em;
    }
    body.comment #cubix-logo div {
        display: block;
    }
    #wrap_comments {
        display: block;
        left: 0!important;
        top: 50px!important;
        margin: 0;
        border: 0;
        max-width: none;
        position: static;
    }
    #wrap_comments .comment.add {
        display: none;
    }
    #wrap_comments .inner .comment {
        border: 0;
        margin-bottom: 4em;
    }
    #wrap_comments .inner {
        max-height: none;
        overflow: visible;
    }
}