html{
    height: 100%;
}
body
{
        height: 100%;
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	background: #EFEFEF;
}

#page
{
	margin-top: 5px;
	margin-bottom: 5px;
	background: white;
	border: 1px solid #C9E0ED;
}

#header
{
	margin: 0;
	padding: 0;
	border-top: 3px solid #C9E0ED;
}

#content
{
	padding: 20px;
}

#sidebar
{
	padding: 20px;
}

#footer
{
	padding: 10px;
	margin: 10px 20px;
	font-size: 0.8em;
	text-align: center;
	border-top: 1px solid #C9E0ED;
}

#logo
{
	padding: 10px 20px;
	font-size: 200%;
}
#logo img
{
    max-width: 60px;
}

#mainmenu
{
	background:white url(bg.gif) repeat left top;
        float: left;
        width: 100%;
}

#mainmenu ul
{
	padding:6px 20px 5px 20px;
	margin:0px;
}

#mainmenu ul li
{
	display: inline;
}

#mainmenu ul li a
{
	color:#ffffff;
	background-color:transparent;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
	padding:5px 8px;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a
{
	color: #6399cd;
	background-color:#EFF4FA;
	text-decoration:none;
}


#mainmenu ul { list-style: none; margin: 0; padding: 0; position: relative; height: 30px; }
 
#mainmenu ul li { display: block; height: 28px; float: left; overflow: visible; }
#mainmenu ul li:hover > ul { display: block; }
 
#mainmenu ul li a { float: left; display: block; }
 
#mainmenu ul li ul { display: none; position: absolute; top: 100%;
                    background: white url(bg.gif) repeat; color: #fff; height: auto;
}

#mainmenu #countAlerts{
    background: url("../images/alert.png") no-repeat;
    display: inline-block;
    height: 24px;
    text-align: center;
    width: 24px;
    color: #ffffff;
}

#menu-top ul li ul li a { color: #ccc; padding: 4px 14px; display: block; }
 
#menu-top ul li ul li.active a,
#menu-top ul li ul li a:hover { color: #fff; }



div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}
.forms input.error{
    background-color: #FBC2C4;
}

/*table.table-scheduler,
table.table-scheduler tr.user_row{
    height: 100%;
}*/
table.table-scheduler{
    /*height: 100%;*/
}

table.table-scheduler.view-type-month{
    font-size: 11px;
}

table.table-scheduler td.user_name{
    padding: 0px; 
	position: relative;
}
table.table-scheduler td.user_name div.userimage_wrapper{
    width:23px;
    display: inline-block;
    float: left;
    margin-top: 9px;
}
table.table-scheduler td.user_name div.username{
    display: inline-block;
    float: left;
    margin-left: 3px; 
    margin-top: 12px;
}
table.table-scheduler td.user_day{
    padding:0;
    /*height: 65px;*/
    height: 48px;
    text-align: center;
    vertical-align:middle ;
}

table.table-scheduler td.user_day table.day_container{
    height: 95%;
    margin:0;
    padding:0;
    width:100%;
}

table.table-scheduler td.user_day table.day_container tr{
    background: #dfd;
}

table.table-scheduler td.user_day.day_vacation table.day_container tr{
    background: #E8E6E6  url("../images/airplane-icon.png") no-repeat center;
}

table#availability td.vacation {
    background: #E8E6E6  url("../images/airplane-icon.png") no-repeat center;
}

table.table-scheduler td.user_day table.day_container td.all_times{
    background: url('../images/red-background.png');
    background-size: 0% 100%;
    background-repeat: no-repeat;
    /*background-color: #dfd;*/
}

table.table-scheduler td.user_day table.day_container tr,
table.table-scheduler td.user_day table.day_container td{
    height: 100%;
    vertical-align: middle;
    text-align: center;
}
table.table-scheduler td.user_day table.day_container,
table.table-scheduler td.user_day table.day_container tr,
table.table-scheduler td.user_day table.day_container td{
    margin:0;
    padding:0;
}

table.table-scheduler td.user_day table.day_container td.no_quota{
    background: url('../images/blue-stripes-background.png');
}

table.table-scheduler td.user_day.day_no_to_assign{
    /*background: #aaa;*/
}

table.table-scheduler td.user_day.day_to_assign{
    /*background: #dfd;*/
}
table.table-scheduler td.user_day.day_full_booked{
/*    background: #faa;*/
}
table.table-scheduler td.user_day table.day_container td.available-time,
table.table-scheduler td.user_day table.day_container td.booked-time{
    height: 100%;
    margin: 0;
    padding: 0;
    /*outline: solid 1px #eee;*/
}

table.table-scheduler td.user_day table.day_container td.available-time{
    /*background: #ffe;*/
    /*background: #dfd;*/
}
table.table-scheduler td.user_day table.day_container td.booked-time{
    /*background: #eed;*/
    /*background: #faa;*/
}

table.table-scheduler .user-speedometer-wrapper{
    /*display: inline;
    float: right;
    width:67px;
    height: 45px;
    margin-top: -5px;
    position: relative;*/
	position: absolute;
	right: 0;
	text-align: right;
}
table.table-scheduler .user-speedometer-wrapper .user-speedometer{
    /*display: inline;*/
    /*float: right;
    width:67px;*/
    /*height: 50px;*/
    /*height: 45px;
    margin-top: -5px;*/
	font-size: 12px;
}
table.table-scheduler .user-speedometer-wrapper .notches{
    position: absolute;
/*    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);*/
    bottom:9px;
    background: url(../images/notches.png);
    width: 67px;
    height: 2px;
    display: none;
}
table.table-scheduler .username{
    display: inline;
    float: left;
}

table.table-scheduler tr.user_row.user_level_taboo{
    background:rgba(255,50,50, 0.8)!important;
}
table.table-scheduler tr.user_row.user_level_specialist{
    background:rgba(50,150,255, 0.8)!important;
}
table.table-scheduler tr.user_row.user_level_expert{
    background:rgba(50,255,0, 0.8)!important;
}

table.table-availability tr.quota-time{
    background: #eed;
}
table.table-availability tr.booked-time{
    background: #faa;
}
table.table-availability tr.available-time{
    background: #dfd;
}

table#assigned_jobs,
table#job_to_assign{
    font-size:11px;
}
table.assigned_jobs form.forms-columnar{
    margin-bottom:2px;
}
table.assigned_jobs .forms-columnar p{
    padding-left: 90px;
}
table.assigned_jobs .forms-columnar p label{
    width: 85px;
}

.ui-tooltip{
    max-width: none;
}
.userDayInfoJobs table{
    font-size:11px;
}
table.userDayInfoJobs td span.job_file,
table#assigned_jobs td.job_file,
table#job_to_assign td.job_file{
    font-size:11px;
    overflow-wrap: normal;  /* не поддерживает IE, Firefox; является копией word-wrap */ 
    word-wrap: normal;
    word-break: break-all;  /* не поддерживает Opera12.14, значение keep-all не поддерживается IE, Chrome */ 
    line-break: loose;  /* нет поддержки для русского языка */ 
    -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto;  /* не поддерживает IE, Opera12.14, значение auto не поддерживается Chrome */ 
    width: 50%;
}
table#job_to_assign td.job_file a{

}

.level_color_keys .key{
    font-weight: bold;
}
.level_color_keys .key.user_level_taboo{
    color:rgba(255,50,50, 1)!important;
}
.level_color_keys .key.user_level_specialist{
    color:rgba(50,150,255, 1)!important;
}
.level_color_keys .key.user_level_expert{
    color:rgba(50,255,0, 1)!important;
}


div.loading {
    background-color: #eee!important;
    background-image: url('../images/ajaxLoader.gif')!important;
    background-position: center center!important;
    background-repeat: no-repeat!important;
    opacity: 1!important;
}
 
div.loading * {
    opacity: .8;
}

.overdue{
    color:red;
}

.wrapScheduler{
    max-height: 50%;
}

.right-bar{
    
    /*max-height: 20%;*/
}

.right-bar #tabJobsToAssign, .right-bar #tabAssignedJobs{
/*    max-height: 1000px;*/
    overflow-x: visible;
    overflow-y: scroll;
}


/* job tasks details */

div#job_details fieldset{
    padding:5px;
}

div#job_details p,
div#job_details ul,
div#job_details ol,
div#job_details dl,
div#job_details blockquote,
div#job_details hr,
div#job_details pre,
div#job_details table,
div#job_details form,
div#job_details fieldset,
div#job_details .units-row,
div#job_details figure {
    margin-bottom: 0.1em;
}

div#job_details .forms-columnar.left-section p{
    padding-left: 115px;
}
div#job_details .forms-columnar.left-section label{
    width: 110px;
}
div#job_details .forms-columnar.right-section p{
    padding-left: 165px;
}
div#job_details .forms-columnar.right-section label{
    width: 160px;
}

div#job_details .left-section p.internal_information,
div#job_details .left-section p.instructions{
    min-height: 70px;
}
div#job_details .left-section p.instructions>span,
div#job_details .left-section p.internal_information>span{
    -moz-hyphens: auto;
    display: inline-block;
    word-break: break-all;
    word-wrap: normal;
    margin:1px;
}
div#job_details .left-section p.instructions>span, div#job_details .left-section p.instructions-us-uk>span{
    display: block;
    position: relative;
    background: #ffdbea;
    padding: 5px 5px;
    padding-right: 14px;
    word-break: normal;
}
div#job_details .left-section p.instructions>span a {
    word-break: break-all;
}
div#job_details .left-section p span{
    margin-left: 17px !important;
}
div#job_details .left-section p.internal_information>span{
    background: #fcf0ad;
    padding: 1px 5px;
}
/**/
input[type="checkbox"].checked-instruction {
    margin: 7px 4px 0 0;
    position: absolute;
    top: auto;
    right: 1px;
    bottom: 6px !important;
    cursor: pointer
}

#original-file-text, #editor-file-text, input[type="checkbox"].checked-instruction/*, input[type="checkbox"].checked-instruction + label*/ {
    display: none;
}
/**/

/*div#job_details p.instructions span.span_label{because class 'label' alredy exists and overrite 
    display: inline-block;
    text-align: right;
    width: 150px;
}*/
div#job_details #check_files_wrapper .filename-wordbreak,
div#job_details #check_files_wrapper #check_uploadfile_form,
div#job_details #check_files_wrapper .feedbackWrapper,
div#job_details #edit_files_wrapper .filename-wordbreak,
div#job_details #edit_files_wrapper #edit_uploadfile_form,
div#job_details #edit_files_wrapper .feedbackWrapper{
    margin-bottom:5px;
}

div#job_details #edit_files_wrapper #edit_uploadfile_form,
div#job_details #check_files_wrapper #check_uploadfile_form{
    background: url("../images/cloud_upload.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 70px;
    width: 200px;
    position: relative;
    border-radius: 15px;
}
div#job_details #edit_files_wrapper #edit_uploadfile_form #File_select,
div#job_details #check_files_wrapper #check_uploadfile_form #File_select{
    position: absolute;
    bottom: 5px;
    right: 20px;
}

div#job_details .halflings_text .bigger{
    font-size: 16px;
}
table#availability tr td,
table#availability tr th{
    font-size: 10px;
    padding: 2px;
}

table#availability tr.quota-time {
    border-top: 2px solid;
}

table#availability td.stuff-name {
    vertical-align: middle;
    background: #fff;
}
#task-grid{
    padding-top: 0;
}

#task-grid th,
#task-grid td{
    font-size: 12px;
    padding: 3px;
}
#task-grid td.filename{
    width: 175px !important;
    max-width: 175px !important;
    overflow-wrap: normal;  /* не поддерживает IE, Firefox; является копией word-wrap */ 
    word-wrap: normal;
    word-break: break-all;  /* не поддерживает Opera12.14, значение keep-all не поддерживается IE, Chrome */ 
    line-break: loose;  /* нет поддержки для русского языка */ 
    -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto;  /* не поддерживает IE, Opera12.14, значение auto не поддерживается Chrome */ 
}
table.table-scheduler td.user_day{
    position: relative;
}
table.table-scheduler td.user_day span.edit_time{
    display: none;
    position:absolute;
/*    right:5px;
    top: 15px;*/
    left: 5px;
    bottom: 15px;
    background-image: url('../images/hourglass.png');
    width: 20px;
    height: 20px;
    cursor: pointer;
}
table.table-scheduler td.user_day:hover span.edit_time{
    display: block;
}
/*table.table-scheduler td.user_day table.day_container td.no_quota:after{
    font-style: italic;
    content: '<span class="hour-glass">QW</span>';
    position: absolute;
    top: 4px;
    right: 4px;
}*/

table.table-scheduler > thead tr.fixed-pos{
    background:#fff;
    display: table;
    position: fixed;
    top: 0;
    z-index: 100000;
	width: auto !important;
}
table.table-scheduler td.user_profile{
    padding: 12px 5px 5px 5px;
}

table.table-scheduler td.user_profile .user_badge,
table.table-scheduler td.user_profile .user_timezone,
table.table-scheduler td.user_profile .user_pdf_editing{
    float: left;
}
table.table-scheduler td.user_profile .user_timezone{
    padding:5px 0 0 0px;
}

table.table-scheduler td.user_profile .user_pdf_editing{
    padding:5px 0 0 0px;
}
table.table-scheduler td.user_profile .user_timezone{
    font-size: 11px;
    height: 24px;
    line-height: 15px;
}

#logUserActivityControl.forms-columnar label,
#logSystemControl.forms-columnar label{
    width: 60px;
}
#logUserActivityControl.forms-columnar p,
#logSystemControl.forms-columnar p{
    padding-left: 80px;
}


.fixed-pos{
    position: fixed;
}

#search_jobs_control p{
    padding-left: 90px;
}
#search_jobs_control p label{
    width: 75px;
}
#search_jobs_control p input,
#search_jobs_control p select{
    max-width: 100%;
}
span.filename-wordbreak{
    -moz-hyphens: auto;
    display: inline-block;
    word-break: break-all;
    word-wrap: normal;
    margin:1px;
}
span.filename-wordbreak{
    font-size: 12px;
}
span.filename-wordbreak a{
    text-decoration: none;
}
span.filename-wordbreak .filesize{
    color: #C0C0C0;
}
/*kube.css fixes*/

input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="phone"], input[type="tel"], input[type="number"], input[type="datetime"], input[type="date"], input[type="search"], input[type="datetime-local"], textarea, select[multiple="multiple"] {
    z-index: auto!important;
}

#job_details .star-rating-control{
    display: block;
    float: left;
    width: 100%;
    margin-bottom: 5px;
}
#job_details .comments fieldset {
    max-height: 200px;
    min-height: 70px;
    overflow-y: scroll;
    overflow-x: hidden;
}
#job_details .comment {
    min-height: 45px;
}
#job_details .comment .comment_label{
    display: inline;
    float: left;
    height: 33px;
    width:100%;
}
#job_details .comment .comment_label .timestamp{
    left: 0px;
    font-size: 10px;
    color: #333333;
    /*width: 90px;*/
    float: right;
}

#alertsAccordionWrapper{
    position: fixed;
    bottom: 0px;
    right: 0px;
    min-width: 250px;
    max-width: 250px;
    margin-bottom:0;
}

#alertsAccordionWrapper .ui-accordion-content{
    height: auto!important;
}

#alertsAccordionWrapper .ui-accordion-content{
    font-size:10px;
}

#alertsAccordionWrapper #playSound{
    height: 0px!important;
}
#alertsAccordionWrapper h3{
    text-align: center;
    background: #ff1111;
    color: #eeffee;
}
#alertsAccordionWrapper h3 span.ui-accordion-header-icon{
    left: auto;
    right: 0.5em;
    
}

#alertsAccordionWrapper #alertsContent td.username,
#alertsAccordionWrapper #alertsContent td.snippet a{
    color:#6399cd;
    text-decoration: none;
}

#job_details #check_uploadfile_form.uploading,
#job_details #edit_uploadfile_form.uploading{
    background-image: url('../images/dots.gif')!important;
    background-position: 50% 20%!important;
    background-repeat: no-repeat!important;
}

#job_details #check_uploadfile_form.uploading #progressbar,
#job_details #edit_uploadfile_form.uploading #progressbar{
    display: block!important;
    border-radius: 10px;
}
#job_details #check_uploadfile_form.uploading #File_select,
#job_details #edit_uploadfile_form.uploading #File_select{
    display: none;
}
#job_details #check_uploadfile_form #progressbar,
#job_details #edit_uploadfile_form #progressbar{
    bottom: 5px;
    position: absolute;
    width:100%;
    background: #4d4d4d;
    color: #fef;
    font-weight: bold;
    text-align: center;
}
#job_details #check_uploadfile_form #progressbar .progress,
#job_details #edit_uploadfile_form #progressbar .progress{
    width:100%;
    background: url("../images/green-progress.png") no-repeat;
    border-radius: 10px;
    background-size: 0% 100%;
}
#scheduler-control #Scheduler_viewType,
#scheduler-control #Scheduler_viewType + label{
    display: inline-block;
}
#scheduler-control #Scheduler_viewType + label{
    padding-right: 15px;
}
.thumb{
    margin-right:3px;
    margin-left:3px;
}

.comments .halflings-wrapper-20 .halflings_text .user-image{
    display: inline;
    float: left;
}
.comments .halflings-wrapper-20 .halflings_text .username-type{
    display: inline;
    float: left;
    line-height: 16px;
}

.comment_inline_area{
    border: 1px solid #e3e3e3;
    height: 50px;
    overflow-y: auto;
}
[placeholder]:empty:before {
    content: attr(placeholder);
    color: #555; 
}

[placeholder]:empty:focus:before {
    content: "";
}

.returnToClientForm.forms-columnar label{
    width:120px;
}
.returnToClientForm.forms-columnar p{
    padding-left:120px;
    margin: 0;
}
.returnToClientForm.forms-columnar p textarea.labeled,
.returnToClientForm.forms-columnar p span.input-prepend{
    height: 45px;
    line-height:40px;
    padding: 0;
    width: 100%;
}
.returnToClientForm.forms-columnar p span.input-prepend{
    width: 100%;
}
.halflings_text pre{
	font-family: 'PT Sans', Arial, "Helvetica Neue", Helvetica, Tahoma, sans-serif;
	font-size: inherit;
	color: inherit;
	background: inherit;
	padding: inherit;
	overflow: inherit;
	display: inline-block;
	text-decoration: underline;
}

.filename-wordbreak pre{
	font-family: 'PT Sans', Arial, "Helvetica Neue", Helvetica, Tahoma, sans-serif;
	font-size: 12px;
	color: inherit;
	background: inherit;
	padding: inherit;
	overflow: inherit;
	display: inline;
	text-decoration: underline;
	-moz-hyphens: auto;
    display: inline-block;
    word-break: break-all;
    word-wrap: normal;
    margin:1px;
	white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.fileRatingWrapper pre{
	font-family: 'PT Sans', Arial, "Helvetica Neue", Helvetica, Tahoma, sans-serif;
	font-size: 12px;
	color: inherit;
	background: inherit;
	padding: inherit;
	overflow: inherit;
	display: inline;
	text-decoration: underline;
	-moz-hyphens: auto;
    display: inline-block;
    word-break: break-all;
    word-wrap: normal;
    margin:1px;
	white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}




/*Templates*/
#ReturnToClientForm_template {
    height: 44px;
}