.resource-bar-button {
	height:100%;
	width:100px;
	cursor:pointer;
	text-align:center;
	display:inline-block;
	position: relative;
}

.resource-bar-button div {
	position: absolute;
	left: 0px;
	width: 100%;
	top: 0px;
	height: 100%;
	display: none;
	vertical-align: middle;
	line-height: 60px;
	text-align: center;
	font-size: 15px;
	color: #fff;
	overflow: hidden;
}

.resource-bar-button:hover {
	background-color: #368bc4;
}

.resource-bar-button:hover i {
	opacity: 0.3;
}

.resource-bar-button:hover div {
	display: block;
}

.resources-window {
	position:relative;
	display:inline-block;
	margin: 5px;
	min-width: 500px;
	height: 0px;
	background-color: #eee;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition-duration: 0.3s;
    transition-property: height, margin-top, opacity;
    margin-top: 98%;
    opacity: 0;
    vertical-align: top;
}

.resources-window.open {
    height: 98%;
    margin-top: 5px;
    opacity: 1;
}

.resources-window .resources-window-title-bar {
	background-color: #1774b1;
    color: #fff;
    font-size: 1.1em;
    padding: 6px;
    cursor: default;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.resources-window .resources-window-title-bar i {
    font-size: 26px;
    vertical-align: middle;
    padding: 2px;
    padding-right: 4px;
}

.resources-window .resources-window-title-bar div {
	float: right;
    font-size: 40px;
    line-height: 20px;
    cursor: pointer;
    background-color: rgba(0,0,0,0);
    width: 35px;
    height: 35px;
    text-align: center;
    border-radius: 100%;
    transition-property: background-color;
    transition-duration: 0.3s;
}

.resources-window .resources-window-title-bar div:hover {
	background-color: rgba(0,0,0,0.2);
}

.resources-window .category-dropdown {
	flex-grow: 1;
    padding: 10px;
    font-size: 1.1em;
    font-weight: bold;
    background-color: rgba(0,0,0,0);
    transition-property: background-color;
    transition-duration: 0.3s;
    cursor: pointer;
}

.resources-window .category-dropdown i {
    position: absolute;
    right: 5;
    font-weight: bold;
    font-size: 30px;
    top: 7;
}

.resources-window .category-dropdown:hover {
	background-color: rgba(0,0,0,0.2);
}

.resources-window .note-element {
    border: 2px solid #f7941d;
    margin-left: 10px;
    padding: 7px;
    white-space: pre-wrap;
    font-size: 0.8em;
    line-height: 1.2;
    width: 100%;
    background-color: #f7941d2e;
    margin-right: 10px;
}

.resources-window input[type=text] {
    width: 100%;
    border: 1px solid #ccc;
    height: initial;
    background-color: #fff;
    padding: 7px;
    font-size: 0.8em;
    margin: 0;
    box-sizing: border-box;
}

.resources-window .input-dropdown {
    position: relative;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 7px;
    font-size: 0.8em;
    box-sizing: border-box;
    height: 30px;
    vertical-align: middle;
    cursor: pointer;
}

.resources-window .input-dropdown div {
    position: absolute;
    right: 10px;
    top: 3px;
    color: #888;
    font-size: 15px;
}

.resources-window .input-toggle-buttons {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #bbb;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    margin-right: 5px;
    margin-top: 5px;
    color: #eee;
    vertical-align: middle;
    font-weight: bold;
}

.resources-window .input-toggle-buttons.selected {
    background-color: #1774b1;
}

.resources-window .input-anciallary-buttons {
    border: 2px solid #1774b1;
    color: #1774b1;
    text-align: center;
    width: 25px;
    height: 25px;
    margin: 2px;
    font-size: 1.2em;
    padding-top: 2px;
    cursor: pointer;
}

.resources-window .multi-page-element {
    padding: 10px;
}

.resources-window .multi-page-element .tab-modification-button {
    width: 18px;
    height: 18px;
    line-height: 18px;
    vertical-align: middle;
    font-size: 18px;
    text-align: center;
    color: #eee;
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
    background-color: #ccc;
    border-radius: 100%;
    cursor: pointer;
}

.resources-window .multi-page-element .tab-list {
    overflow-x: scroll;
}

.resources-window .multi-page-element .multi-tab {
    position: relative;
    background-color: #e6e6e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    display: inline-block;
    font-size: 0.9em;
    padding: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: middle;
    color: #a7a6a6;
    cursor: pointer;
}

.resources-window .multi-page-element .multi-tab.selected {
    background-color: #fff;
    color: #000;
    z-index: 1;
    cursor: default;
}

.resources-window .multi-page-element .page-body {
    position: relative;
    z-index: 1;
    background-color: #fff;
    box-shadow: 0 2px 3px rgba(0,0,0,0.12), 0 2px 2px rgba(0,0,0,0.24);
    padding-bottom: 5px;
    padding-top: 5px;
}

.resource-element-edit-menu-button {
    opacity:0.2;
    vertical-align:top;
    cursor:pointer;
}

.resource-element-edit-menu-button:hover {
    opacity:1.0;
    background-color: rgba(0,0,0,0.1);
}