/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 03.02.2020, 17:27:54
    Author     : nikolay
*/
#content *{
	box-sizing: border-box;
}

.msg{
	margin: 15px 0;
}
.msg span{
	padding: 5px 15px;
	color: #fff;
}
.msg_success span{background-color: #51aa00}
.msg_error span{background-color: #aa2700}


.handbook_editor{
	margin-top: 40px;	
	margin-bottom: 50px;
	width: 100%;
}

.handbook_editor th, .handbook_editor td{
	padding: 5px 10px;
	border: 1px solid;
	font-weight: 400;
	font-size: 14px;
}

.handbook_editor th{
	font-size: 12px;
	font-weight: bold;
	background-color: #0063aa15;
}

.handbook_editor input[type="text"], .handbook_editor input[type="number"]{
	display: block;
	width: 100%;
	border: 1px solid #ccc;
	padding: 7px 7px;
	transition: all .25s ease;
}
.handbook_editor input[type="text"]:hover, .handbook_editor input[type="number"]:hover{
	border-color: #51aa0055;
}
.handbook_editor input[type="text"]:focus, .handbook_editor input[type="number"]:focus{
	border-color: #51aa00;
	outline: none;
}

.handbook_editor input[type="checkbox"]{
    display: block;
	width: 20px;
	height: 20px;
	margin: 0 auto;
}

.handbook_editor .info{
	font-size: 13px;
	color: #666;
}

.new_row{background-color: #51aa0020}

.handbook_editor .remove{
	cursor: pointer;
	padding: 3px 7px;
	background-color: #aa2700;
	color: #fff;
	border-radius: 5px;
	font-size: 11px;
	margin-right: 7px;
	transition: opacity 0.2s ease;
}
.handbook_editor .add{
	cursor: pointer;
	padding: 3px 15px;
	background-color: #51aa00;
	color: #fff;
	border-radius: 5px;
	font-size: 22px;
	transition: opacity 0.2s ease;
}

.add:hover, .remove:hover{
	opacity: .7;
}

#save_handbook{
	background-color: #0063aa;
	color: #fff;
	padding: 15px 35px;
	font-size: 18px;
	border:none;
	float: right;
	transition: opacity 0.2s ease;
}
#save_handbook:hover{
	opacity: .75;
}


#show_success_modal, #show_fail_modal{
    position: fixed;
    display: none;
    top: 30%;
    margin-top: 0;
    /* right: 0; */
    /* width: auto; */
    /* margin-left: 0; */
    padding: 16px 40px;
    text-align: center;
    border-radius: 3px;
    font-size: 20px;
    box-shadow: 2px 2px 3px -2px rgba(0,0,0,.5);
    border: none;
    z-index: 90000;
    cursor: pointer;
    left: 50%;
    color: #fff;
    transform: translateX(-50%);
}
#show_success_modal{
    background-color: #51aa00;
}
#show_fail_modal{
    background-color: #aa2700;
}
#show_success_modal i, #show_fail_modal i{
    margin-right: 6px;
}



#save_handbook{
	position: fixed;
	right: 10px;
	top: 50px;
}


.add{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid #0063aa;
    background: #0063aa;
    color: #fff;
    font-size: 17px;
    cursor: pointer;  
}