body, html {
	margin:0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

body {
	font-family: Raleway-Regular, Raleway;
	font-weight: bold;
	font-size: 14px;
	background-color: rgb(186,216,229);
	background-image: url(../img/bg.png);
	background-size: cover;
	background-repeat:   no-repeat;
	background-position: center center;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
	background-color: #DCE7EF;
}

::-webkit-scrollbar-thumb{
	background-color: #4d87c0;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: 0 0 2px rgba(0,0,0,0.5);
	width: 20px;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.layer {
	-webkit-box-shadow: 0px 0px 21px 1px rgba(0,0,0,.16);
	-moz-box-shadow: 0px 0px 21px 1px rgba(0,0,0,.16);
	box-shadow: 0px 0px 21px 1px rgba(0,0,0,.16);
	background-color: rgb(207,226,237);
}

.ctxmenu {
	position: absolute;
	background-color: rgb(197,222,233);
	border: solid;
	border-color: rgb(0,86,137);
	border-width: 1px;
	margin: 0;
	padding: 0;
	color: rgb(0,86,137);

	-webkit-box-shadow: 0px 0px 21px 1px rgba(0,0,0,.16);
	-moz-box-shadow: 0px 0px 21px 1px rgba(0,0,0,.16);
	box-shadow: 0px 0px 21px 1px rgba(0,0,0,.16);
}

.ctxmenu li {
	margin: 0;
	padding: 3px 5px;
	list-style: none;
	cursor: pointer;
}

.ctxmenu li:hover{
	background-color: #DDD;
}

.button {
	box-sizing: border-box;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	cursor: pointer;
	font-size: 13px;
	border: none;
	border-radius: 5px;
	padding: 8px;
	height: 30px;
	text-align: center;
}

.button:focus{
    outline: 0;
}

.button:active {
	-webkit-box-shadow: inset 3px 3px 3px 0px rgba(0,0,0,.16), 1px 1px 1px 0px rgba(255,255,255,0.5);
	-moz-box-shadow: inset 3px 3px 3px 0px rgba(0,0,0,.16), 1px 1px 1px 0px rgba(255,255,255,0.5);
	box-shadow: inset 3px 3px 3px 0px rgba(0,0,0,.16), 1px 1px 1px 0px rgba(255,255,255,0.5);
}

.propertiestab #packagestab,  .propertiestab #skillstab, .propertiestab #contentsaddtab,
.skillstab #packagestab, .skillstab #propertiestab, .skillstab #contentsaddtab,
.packagestab #propertiestab, .packagestab #skillstab, .packagestab #contentsaddtab,
.contentsaddtab #packagestab, .contentsaddtab #propertiestab, .contentsaddtab #skillstab
 {
	background-color: rgb(186,216,229);
}

.propertiestab #propertiestab, .packagestab #packagestab, .skillstab #skillstab, .contentsaddtab #contentsaddtab {
	background-color: rgb(207,226,237);
}

.propertiestab #packagesbody, .propertiestab #skillsbody, .propertiestab #contentsaddbody,
.packagestab #propertiesbody, .packagestab #skillsbody, .packagestab #contentsaddbody,
.skillstab #propertiesbody, .skillstab #packagesbody, .skillstab #contentsaddbody,
.contentsaddtab #propertiesbody, .contentsaddtab #packagesbody, .contentsaddtab #skillsbody {
	display: none;
}

#packagesbody #leftCol, #packagesbody #rightCol, #contentsaddbody #leftCol, #contentsaddbody #rightCol{
	flex-grow: 2;
}

#packagesbody .packageItem.label .edit, #packagesbody .packageItem.edit .label,
#skillsbody .skillItem.label .edit,  #packagesbody .skillItem.edit .label{
	display: none;
}

.packageItem, .skillItem, .contentItem {
	padding: 5px;
	margin-bottom: 1px;
	outline: 1px solid #777;
}

.packageItem.label, .skillItem.label {
	background-color: #E7EFF2;
	cursor: pointer;
}

.packageItem.label .label {
	height: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.skillItem.label .label {
	overflow: hidden;
}


.packageItem.edit, .skillItem.edit,.contentItem.active  {
	background-color: #61A2E2;
}

#packagesbody #midCol, #contentsaddbody #midCol {
	width: 30px;
}

#packagesbody #btnCreatePackage, #skillsbody #btnCreateSkill, #contentsaddbody #btnCreatePackage {
	float: right;
}

#packagesbody #midCol img, #contentsaddbody #midCol img {
	display: block;
	position: absolute;
}

#packagesbody #projectPackages, #packagesbody #allPackages, #skillsbody #allSkills, #contentsaddbody #addedContents, #contentsaddbody #allContents{
	clear: both;
	box-sizing: border-box;
	overflow: auto;
	background-color: rgb(230,238,242);
	border-radius: 10px;
	height: 400px;
	width: 215px;
	border: 1px solid black;
}
#contentsaddbody #addedContents, #contentsaddbody #allContents{
	height: 370px;
}


#skillsbody #allSkills {
	width: auto;
	height: 410px;
}

#packagesbody, #contentsaddbody{
	position: relative;
	display: flex;
	flex-direction: row;
}

.metadatawindow {
	width: 570px;
	height: 580px;
	position: absolute;
	box-sizing: border-box;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	margin: auto;
	padding: 40px 40px 0px 68px;
	color: rgb(0,85,140);
}

.metadata-field {
    display: block;
    width: 100%;
    margin-bottom: 7px;
    height: 25px;
    border: none;
    border-radius: 5px;
    padding: 3px;
    background-color: rgb(230,238,242);
    -webkit-box-shadow: inset 3px 3px 3px 0px rgba(0,0,0,.16), 1px 1px 1px 0px rgba(255,255,255,0.5);
    -moz-box-shadow: inset 3px 3px 3px 0px rgba(0,0,0,.16), 1px 1px 1px 0px rgba(255,255,255,0.5);
    box-shadow: inset 3px 3px 3px 0px rgba(0,0,0,.16), 1px 1px 1px 0px rgba(255,255,255,0.5);
    box-sizing: border-box;
    margin-right: 20px;
    color: rgb(0,85,140);
}

.metadata-select-arrow{
	position: absolute;
	right: -3px;
	bottom: 3px;
	pointer-events: none;
}

#metadata-field-serie{
}

#metadata-field-disciplina{width: 255px;margin-right: 0px;}

#metadata-field-autor{width: 400px;}

#metadata-field-ano{width: 40px;text-align: center;}

#metadata-field-escolaeditora{width: 330px;margin-right: 10px;}

#metadata-field-idexterno{width: 145px;}


.metadatawindow .inputField{
	float: left;
	margin-right: 30px;
	position: relative;
}

#logOut {
	float: right;
	margin-right: 10px;
	margin-top: 15px;
	cursor: pointer;
}

#logoEscribo{
	height:22px;
	vertical-align:middle;
	cursor:pointer;
}

#helpContainer,#termsContainer,#policyContainer {
	position: absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.5);
	display:none;
	z-index: 9999999;
}

#helpFrame,#termsFrame,#policyFrame{
	border-style: none;
	border-width: 0;
	position: absolute;
	width: 80%;
	height: 80%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

#userTerms,#policy{
	text-decoration:underline;
	cursor:pointer;
}
#footer{
	position: absolute;
	margin:auto;
	left:0;
	right:0;
	bottom: 3px;
	width:330px;
	font-size:10px;
	color: rgb(0,86,137);
}

[draggable] {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  /* Required to make elements draggable in old WebKit */
  -khtml-user-drag: element;
  -webkit-user-drag: element;
}


input#metadata-field-description {
    height: 80px;
}

textarea#metadata-field-descrio {
    height: 132px;
    width: 428px;
    resize: none;
}

.button.btnConfirm, .button.btnCancel {
    position: absolute;
    color: white;
    bottom: 40px;
    right: 172px;
    background-color: rgb(7, 136, 195);
}

.button.btnConfirm {
    background-color: rgb(243, 78, 78);
    right: 70px;
}

#packagesbody #middleColumn {
    position: relative;
    top: 0;
    bottom: 0;
    margin: auto 10px;
}

div#exportContainer, #projectShareContainer {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999999;
}

.editor-export-window, .editor-import-window, .editor-projectShare-window {
    width: 500px;
    height: 250px;
    position: absolute;
    box-sizing: border-box;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    margin: auto;
    overflow: hidden;
    padding: 30px;
}

.editor-projectShare-window{
    height: 150px;
}

.editor-export-btn-select{
	color: white;
	margin-top: 10px;
	width: 150px;
	float:right;
	background-color: rgb(244, 77, 79);
	margin-right: 10px;
}

.editor-export-btn-cancel{
	color: white;
	margin-top: 10px;
	background-color: rgb(8, 136, 193);
	width: 150px;
	float:right;
}

.exportForm {
    position: relative;
    margin-bottom: 30px;
}

#exportProgress img {
    mix-blend-mode: multiply;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
}

.editor-projectShare-window #projectShareField {
    border: none;
    display: block;
    background: transparent;
    font-size: 24px;
    width: 100%;
}

.editor-import-window #projectShareField {
    border: none;
    border-radius: 5px;
    font-size: 24px;
    width: 100%;
    margin-bottom: 20px;
}

.editor-import-window {
    height: 220px;
}
.pure-material-progress-circular {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    border: none;
    border-radius: 50%;
    padding: 0.25em;
    width: 3em;
    height: 3em;
    color: rgb(var(--pure-material-primary-rgb, 33, 150, 243));
    background-color: transparent;
    font-size: 16px;
    overflow: hidden;
}

.pure-material-progress-circular::-webkit-progress-bar {
    background-color: transparent;
}

/* Indeterminate */
.pure-material-progress-circular:indeterminate {
    -webkit-mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%);
    mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%);
    animation: pure-material-progress-circular 6s infinite cubic-bezier(0.3, 0.6, 1, 1);
}

:-ms-lang(x), .pure-material-progress-circular:indeterminate {
    animation: none;
}

.pure-material-progress-circular:indeterminate::before,
.pure-material-progress-circular:indeterminate::-webkit-progress-value {
    content: "";
    display: block;
    box-sizing: border-box;
    margin-bottom: 0.25em;
    border: solid 0.25em transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    width: 100% !important;
    height: 100%;
    background-color: transparent;
    animation: pure-material-progress-circular-pseudo 0.75s infinite linear alternate;
}

.pure-material-progress-circular:indeterminate::-moz-progress-bar {
    box-sizing: border-box;
    border: solid 0.25em transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background-color: transparent;
    animation: pure-material-progress-circular-pseudo 0.75s infinite linear alternate;
}

.pure-material-progress-circular:indeterminate::-ms-fill {
    animation-name: -ms-ring;
}

@keyframes pure-material-progress-circular {
    0% {
        transform: rotate(0deg);
    }
    12.5% {
        transform: rotate(180deg);
        animation-timing-function: linear;
    }
    25% {
        transform: rotate(630deg);
    }
    37.5% {
        transform: rotate(810deg);
        animation-timing-function: linear;
    }
    50% {
        transform: rotate(1260deg);
    }
    62.5% {
        transform: rotate(1440deg);
        animation-timing-function: linear;
    }
    75% {
        transform: rotate(1890deg);
    }
    87.5% {
        transform: rotate(2070deg);
        animation-timing-function: linear;
    }
    100% {
        transform: rotate(2520deg);
    }
}

@keyframes pure-material-progress-circular-pseudo {
    0% {
        transform: rotate(-30deg);
    }
    29.4% {
        border-left-color: transparent;
    }
    29.41% {
        border-left-color: currentColor;
    }
    64.7% {
        border-bottom-color: transparent;
    }
    64.71% {
        border-bottom-color: currentColor;
    }
    100% {
        border-left-color: currentColor;
        border-bottom-color: currentColor;
        transform: rotate(225deg);
    }
}