/** HACKPOINT **/

/* Conteneur principal du plugin hackpoint */
.hackpoint {
	height: 100%;
}

#hackpoints {

}

/* formulaire d'édition de part */
.hackpoint .part-form {
	
}

#part-form {

}
#sketchs {

	margin:0;
	padding:0;
	
}

/* liste des sketchs */

#sketchs li{
	display: inline-block;
	margin:0;
	padding:5px;
	list-style-type: none;
	border:0;
}


/* fiche sketch */

.page-sheet-sketch,.page-sheet-sketch body,.page-sheet-sketch .container-fluid{
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

.page-sheet-sketch .cm-s-monokai.CodeMirror {
	background: #2e363e;
}

.page-sheet-sketch #mainMenu .navbar-brand {
    padding-left: 99px;
}

.page-sheet-sketch .footer{
	display: none;
}
.page-sheet-sketch .container-fluid{
    padding: 50px 0px 0 0px;
}

#sketch-form{
	display: flex;
  	width: 100%;
  	height: 100%;
}
#resources-toolbar,#sketch-workspace{
	height: 100%;
}

#sketch-workspace .form-control-plaintext {
    color: #8e8e8e;
}

#sketch-workspace .input-group-text{
	 background: #2e363e;
	 color:#fefefe;
	 border-color:#2e363e;
}

#resources-toolbar{
	width:120px;
	background-color: #2b2f35;
	color:#fefefe;
	height:100%;
	min-height: 100%;
	position:relative;
}
#sketch-workspace{
	flex: 1;
	padding:15px;
	 background: #3e4750;
	box-sizing: border-box;
}
#resources-toolbar ul,#resources-toolbar li{
	margin:0;
	padding:0;
	list-style-type: none;
}
#resources-toolbar ul li{
	padding:10px;
	cursor: pointer;
	text-align: center;
	border-bottom: 1px solid #21252b;
	transition: background 0.15s ease-in-out,transform 0.15s ease-in-out;
	position: relative;
}

#resources-toolbar ul li .delete-resource{
	position: absolute;
	right: 10px;
	top:10px;
	cursor:pointer;
	font-size: 12px;
	opacity:0;
	transition: opacity 0.2s ease-in-out;
}

#resources-toolbar ul li.active{
	background:#212223;
}

#resources-toolbar ul li:hover{
	background: #222222;
}

#resources-toolbar ul li:hover i{
	transform: scale(1.1);
	color:#cecece;
}
#resources-toolbar ul li:hover h3{
	
	color:#ffffff;
}

#resources-toolbar ul li:hover .delete-resource{
	opacity:0.7;
}

#resources-toolbar ul li h3{
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
	margin:5px 0;
	padding:0;
	color:#dedede;
}

#resources-toolbar ul li h3 input{
	text-align: center;
    width: 100%;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: 0;
    color: #dedede;
}

#resources-toolbar ul li i{
	font-size: 30px;
	color: #7b7b7b;
	transition: transform 0.1s ease-in-out;
}

#resources-toolbar ul li > small{
	color:#ffffff;
	border-radius: 3px;
	padding: 0 3px;
	font-size: 10px;
}

#resources-toolbar .btn-add-resource{
	margin: auto;
	display: block;
}

.fast-spin {
  -webkit-animation: fa-spin 0.5s infinite linear;
  animation: fa-spin 0.5s infinite linear;
}

.sketch-preloader{
	display: none;
}

.resource-dropdown{
	position: absolute;
	bottom: 0;
}
.resource-dropdown.dropright .dropdown-menu{
	border-radius: 0;
    background: #333;
    top: 0;
    max-width: 550px;
    min-width: 350px;
    right: auto;
    left: 100%;
    margin-top: 0;
    margin-left: 0;
    color: #fefefe;
}
.resource-dropdown.dropright .dropdown-menu .dropdown-item:focus,.resource-dropdown.dropright .dropdown-menu  .dropdown-item:hover{
	background-color: #131313;
}
.resource-dropdown.dropright .dropdown-menu,.resource-dropdown.dropright .dropdown-menu a{
	white-space: normal;
}

#sketch-workspace [data-type="dropzone"]{
	background:transparent;
	color:#cecece;
	border:0;
}

div.hackpoint-type-image[data-type="dropzone"] > div{
	padding: 15px;
    text-align: center;
    margin: auto auto 10px auto;
    width: 50%;
    background: #444e58;
 
}

#sketch-editor{
	overflow: auto;
	height: 100%;
	box-sizing: border-box;
}

.hackpoint-type-image img{
	max-width: 100%!important;
    max-height: 100%!important;
    margin:5px 0!important;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}
.hackpoint-type-image li > a{
	display: none;
}

div.hackpoint-type-image[data-type="dropzone"] > ul > li {
    vertical-align: top;
    display: inline-block;
    position: relative;
    padding: 5px;
    border-bottom: 0;
    background: transparent;
}

div.hackpoint-type-image[data-type="dropzone"] > ul > li > i.pointer{
	top:15px;
	right:5px;
	background-color: #333333;
	display: inline-block;
	padding:5px;
	width: 20px;
	height: 20px;
	font-size: 10px;
	text-align: center;
	box-sizing: border-box;
	border-radius: 100%;
	transform: translateY(0px);
}