/* Copyright (C) 2010-2011, David Earl. All rights reserved. */

#ensembling {
    min-height: 600px;
    /* max-width: 1000px; */
    margin-right: 20px;
    font-family: Arimo, sans-serif;
    font-size: 10pt;	
    line-height: 12pt;
}

#ensembling a {
    text-decoration: none;
    color: #dcb900;
    font-weight: bold;
    padding: 2px;
    outline: none;
}
#ensembling a:hover {
    background-color: black;
}
#ensembling a:active {
    outline: none;
}
#ensembling img {
    border-width: 0;
}

#ens_global_menu {
    float: right;
    margin: 2px 0 0 0;
}

#ens_breadcrumb { 
    clear: both;
    margin: 0.5em 0 0 0;
}

#ens_breadcrumb div.ec_bc_t,
#ens_breadcrumb div.ec_bc_separator
{ 
    float: left;
}

#ens_breadcrumb div.ec_bc_separator {
    font-size: 12pt;
    font-weight: bold;
    padding: 1em;
    padding-top: 12pt;
	position: relative;
	top: 7px;
}

#ens_breadcrumb span.ec_children img {
    width: 12px;
    margin: 0;
    padding: 0;
}

#ens_breadcrumb div.ec_name {
    font-size: 12pt;
    font-weight: bold;
    vertical-align: top;
    line-height: 18pt;
}

#ens_breadcrumb .ec_bcicon {
	vertical-align: middle;
}

#ens_breadcrumb .ec_bcnextlast {
	position: relative;
	top: 6px;
}

div.ec_being_edited {
    color:tomato;
    font-weight: bold;
    font-size: 1.2em;
}

div.ec_popup {
    background-color: black;
    border: 2px solid #FFEB0B;
    margin : 4px;
    font-weight: bold;
    z-index: 999;
}

div.ec_popup ul {
    list-style-type: none;
    padding: 0;
    margin-left: 4px;
    margin-right: 4px;
}

#ens_headline {
    clear: both;
    line-height: 24pt;
}

#ens_headline img {
    margin : 0;
    padding-right: 5px;
	position: relative;
	top: 5px;
}

#ens_document_folder_headline,
#ens_version_headline {
    display: inline;
}

#ens_postinfo {
    clear: both;
}

#ens_document_folder_headline span.ec_category,
#ens_document_folder_headline span.ec_type,
#ens_document_folder_headline span.ec_author,
#ens_version_headline span.ec_author {
    font-size: 75%;
}

#ens_document_folder_headline span.ec_name {
    font-weight: bold;
    font-size: 200%;
}

#ens_version_headline span.ec_versioning {
    font-size: 150%;
    padding-left: 5px;
    white-space: nowrap;
}

#ens_version_headline span.ec_no_version {
    color: green;
}

#ens_version_headline span.ec_older_version {
    color: red;
}

#ens_version_headline div.ec_versionsgoto {
    display: inline-block;
	position: relative;
    top: 7px;
    left: -4px;
	padding: 0;
	overflow: hidden;
	width: 25px;
	height: 25px;
    margin: 0 5px;
}

#ens_menu {
    clear: both;
    margin-top: 0.1em;
}

#ens_intro {
    clear: both;
    margin-top: 50px;
    background-color: #f8f8f8;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    min-height: 35px;
    padding: 5px;
}

#ens_intro span.ec_text {
}

#ens_intro_menu {
    padding: 2px;
    float: right;
}

#ens_intro_text a {
    font-weight: normal !important;
    color: blue !important;
	word-break: break-word;
}

#ens_deadline div.ec_menuentry {
    float: right;
}

.ec_clickable {
	cursor: pointer;
}

/* see also div.ecf_menu */
div.ec_menuentry {
    float: left;
    font-size: 12px;
    white-space: nowrap;
    background: url(menu_bg.png) repeat-x;
    border: 1px solid #ababab;
    height: 27px; 
    margin: 0 2px 2px 2px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    position: relative;
    min-width: 25px;
    color: #555533 /* #dcb900 */;
    font-weight: bold;
	cursor: pointer;
}

div.ec_menuentry:hover {
	border-color: #444444;
}

div.ec_pulldown {
    position: absolute;
    top: 20px;
    left: 5px;
    display: none;
    background: white;
    padding: 2px 2px 2px 2px; /* doh, IE8 fails if I just write a single 2px here */
    border: 1px solid silver;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    z-index: 999;
}

#ens_global_menu div.ec_pulldown {
    left: auto; /* inherit would be better, but IE7 doesn't do it */
    right: 5px;
}

div.ec_pulldown div.ec_menuentry {
    float: left;
}

div.ec_pulldown_text div.ec_menuentry {
    float: none;
}

div.ec_pulldown_close {
    width: 15px;
    height: 15px;
    font-size: 1px;
    background: url(close.png) no-repeat right;
    margin: 0 0 2px 2px;
}

#ensmenuentry_shownewest {
    float: none;
    display: inline-block;
    position: relative;
    top: 5px;
}

div.ec_menuentry div.ec_menu_caption {
    position: relative;
    top: 5px;
    padding-left: 27px;
}

span.nowrap {
    white-space: nowrap;
}

div.ec_menuicon_container {
    float: left;
    position: relative;
    padding: 0 !important;
    width: 25px;
    height: 25px;
    overflow: hidden;
}

img.ec_menuicon {
    position: relative;
    padding: 0 !important;
}

#ens_listing {
    background-color: white;
    z-index: 10;
}

#ens_listing ul {
    list-style-type: none;
    padding: 0;
    margin-left: 4px;
    margin-right: 4px;
}

#ens_listing ul span.ec_name,
#ens_listing td span.ec_name {
    font-weight: bold;
    font-size: 130%;    
}

td.ec_folderthumb {
    width: 102px;
    vertical-align: top;
}

img.ec_thumb {
    border-top: 1px solid #eee ! important ;
    border-left: 1px solid #eee ! important ;
    border-bottom: 3px solid #bbb ! important ;
    border-right: 3px solid #bbb ! important ;
	cursor: pointer;
}

td.ec_folderdetail {
    vertical-align: top;
}

span.ec_name.ec_folderdetail {
   line-height: 1.5em;
}

#ens_body {
    margin-top: 1em;
    position: relative;
}

#ens_preview {
    position: absolute;
    top: 0;
    left: 250px;
}

.ec_preview_image {
	cursor: crosshair;
}

div.ec_preview_page_number {
    position: absolute;
    top: 0;
    right: 45px;
    font-weight: bold;
    color: #dcb900;
}

div.ec_preview_page_image {
    border: 1px solid black;
}

div.ec_preview_padding {
    height: 4px;
    width: 4px;
    border: 0px;
    margin: 0;
    padding: 0;
}

#ens_sidebar {
    width: 245px;
    top: 0;
    /* float: left; */
    position: absolute;
    z-index: 997;
}

img.ef_dogear {
    z-index: 99;
    position: absolute;
    top: 1px;
    left: 1px;
}

div.ec_preview_page {
    position: relative;
}

#ens_pagenumbers {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding-top: 12px;
    width: 25px;
}

div.ec_pagenumber {
    /* width: 2.5em; */
    text-align: right;
    font-size: 10px;
}

#ens_help {
    border: 2px solid gray;
    margin: 3px;
    background-color: white;
}

#ens_form {
    border: 3px outset darkgray;
    background-color: #efefef;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    z-index: 9999;
}

div.ec_tab {
    background: #dcb900;
    border: 1px solid black;
    position: relative;
}

div.ec_tab img.ec_add_comment {
    position: absolute;
    left: 160px;
    top: 4px;
}

div.ec_tab div.ec_tab_title {
    height: 22px;
    padding-left: 5px;
    width: 238px; /* only necessary to work round IE7 bug */
    background: #dcb900; /* ditto */
}

div.ec_tab img.ec_toggle_commentary_icons {
    position: absolute;
    left: 150px;
    top: 2px;
	cursor: pointer;
}

div.ec_tab img.ec_previous_commentary {
    position: absolute;
    left: 174px;
    top: 4px;
	cursor: pointer;
}

div.ec_tab img.ec_next_commentary {
    position: absolute;
    left: 196px;
    top: 4px;
	cursor: pointer;
}

div.ec_tab img.ec_this_commentary {
    position: absolute;
    left: 224px;
    top: 1px;
	cursor: pointer;
}

/* this is an animated set of concentric circles to draw the eye to the place where the comment is */
.ec_current_commentary_locator {
  width: 100px;
  height: 100px;
  border: 10px solid #dcb900;
  box-sizing: border-box;
  border-radius: 100px;
  animation-duration: 0.7s;
  animation-name: cc;
  animation-iteration-count: 3;
}

@keyframes cc {
  from {
	  transform: scale(1.0);
	  border-thickness: 10px;
  }
  
  50% {
	  transform: scale(0.1);
	  border-thickness: 100px;
  }
  
  to {
	  transform: scale(1.0);
	  border-thickness: 10px;
  }
}

#ens_flagicon_container {
    position: absolute;
    left: 125px;
    top: 2px;
    padding: 0 !important;
    width: 18px;
    height: 18px;
    overflow: hidden;
}

#ens_flagicon_img {
    position: relative;
}

div.ec_comment {
    border: 1px solid black;
    border-top: 0;
}

div.ec_comment_menu {
    padding: 2px 0 3px 0;
}

div.ec_comment_text {
    padding-right: 5px;
    word-wrap: break-word;
}
div.ec_comment_text a {
    font-weight: normal !important;
    color: blue !important;
}
div.ec_comment_text a:hover {
    background: white !important;
    text-decoration: underline !important;
}

div.ec_comment_hint {
    margin: 0;
    margin-top: 1em;
}

div.ec_comment_hint ul {
    margin: 0;
}

div.ec_report_path {
    font-weight: bold;
    margin-top: 1em;
    clear: both;
}

div.ec_report_total {
    margin: 1em 0 1em 0;
    font-style: italic;
    font-weight: bold;
}

div.ec_report_buttons {
    height: 35px;
}

span.ec_report_status {
    font-weight: bold;
    padding: 1px 0.5em 1px 0.5em;
    margin-left: 1em;
}

iframe.ec_form {
    width: 243px;
    height: 460px;
    border: 1px solid black;
    overflow: hidden;
}

img.ec_hourglass {
    padding: 5px;
}

div.ec_comment_status {
    float: right;
    width: 5.5em;
    height: 1.2em;
    margin: 1px 1px 1px 4px;
    border: 2px outset black;
    font-weight: bold;
    text-align: center;
    vertical-align: center;
}

*.ec_comment_status.new { 
    background-color: #f1f1f1;
    color: black;
}
*.ec_comment_status.accepted { 
    background-color: #7abb81;
    color: black;
}
*.ec_comment_status.rejected { 
    background-color: #ee3b28;
    color: white;
}
*.ec_comment_status.undecided { 
    background-color: #f5f21b;
    color: black;
}
*.ec_comment_status.optional { 
    background-color: #fdb303;
    color: black;
}
*.ec_comment_status.noted { 
    background-color: #baffaf;
    color: black;
}
*.ec_comment_status.revised { 
    background-color: #6376ec;
    color: white;
}

@media print {
  *.ec_comment_status { 
    color: black; 
    border-width: 4px;
    border-style: solid;
    line-height: 2em;
  }
}

#ens_filter_warning {
    color: tomato;
    font-weight: bold;
}

#ens_deadline {
    line-height: 24px;
    margin: 8px 0 8px 0;
}

span.ec_deadline_status_past {
    background-color: tomato;
    font-weight: bold;
    padding: 1px 2px 1px 2px;
}

span.ec_deadline_status_today {
    background-color: yellow;
    font-weight: bold;
    padding: 1px 2px 1px 2px;
}

span.ec_deadline_status_tomorrow {
    background-color: lightgreen;
    font-weight: bold;
    padding: 1px 2px 1px 2px;
}

#ensmenuentry_changedeadline {
    float: none;
    display: inline-block;
    margin-left: 10px;
    position: relative;
    top: 8px;
}

span.ec_author {
    font-size: 0.8em;
}

div.ec_inline_comment {
    font-family: Arial, Helvetica, sans-serif;
    color: #2222dd;
}

div.ec_searchcontext {
    color: #22bb22;
    font-style: italic;
    font-weight: bold;
    font-size: 1em;
}

div.ec_pending_delete {
    color: tomato; 
    font-weight: bold;
}

#ens_scale_warning {
    font-weight: bold;
    color: tomato;
}

#ens_commentary {
    background-color: white;
}

#ensl_intro h1 {
    font-size: 20pt;
    line-height: 22pt;
}

#ensl_intro {
    padding: 5px !important;
}

#ens_signed_in_as {
    float: left;
    margin: 7px 5px 0 5px;
    font-weight: bold;
    color: #777;
}

#ens_alarms {
    float: left;
    padding: 0 5px 0 0;
}

div.ec_report_flag {
    height: 18px; 
    width: 18px; 
    display: inline-block;
}

div#ens_grayed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(80,80,80,0.4);
    z-index: 998;
}

span.ec_buttons {
    padding-left: 8px;
}
span.ec_buttonssmall {
    padding-left: 3px;
}

.ec_indicator {
	cursor: pointer;
}

#ens_goingslow {
	display: none; /* initially */
	position: fixed;
    top: 10vh;
    left: 25%;
    text-align: center;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
    background: orange;
    border: 1px solid black;
    color: black;
    font-weight: bold;
    z-index: 1100;
}
