@import url('grid.css');
@import url('icofont.css');
@import url('https://fonts.googleapis.com/css?family=Great+Vibes');
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');

/* Background & login header */

#dialogBox
{
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 10;
	margin: auto;
	padding: 15px;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 16px;
	color: #fff;
	background: #23272f;
}

body
{
	background: #222;
}

#header
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#header #logo
{
	width: 300px;
	margin: 20px auto 0 auto;
	color: #fff;	
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 40px;
	font-weight: bold;
	text-align: center;
}

@media only screen and (max-height: 349px)
{
	#header #logo
	{
		display: none;
	}
}

/* Login form */

#form
{
	position: absolute;
	top: 0;
	right: 0;
    bottom: 0;
	left: 0;
    margin: auto;
	width: 90%;
	height: 200px;
	max-width: 400px;
	text-align: center;
	z-index: 10;
}

#form .formTitle
{
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 36px;
	color: #fff;
	display: block;
}

#form input, #formLogin
{
	width: 100%;
	padding: 10px;
	margin: 10px auto;
	border: 0;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 18px;
	display: block;
	resize: none;
}

#formLogin
{
	border: solid 3px #345;
	background: #345;
	color: #fff;
	transition: all 0.1s ease-in-out;
	cursor: pointer;
}

#formLogin:hover
{
	box-shadow: inset 0 0 0 2px #ddd;
}

.formError
{
	border: solid 1px #800;
	padding: 10px;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px;
	color: #800;
	background: #fff;
}

/* Panel */

.menu
{	
	background: #23272f;
}

.menu .logo
{
	margin: 20px auto;
	padding-right: 5px;
	color: #fff;	
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 40px;
	font-weight: bold;
	text-align: center;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.tab
{
	padding: 20px;
	overflow: auto;
	background: #fff;
}

@media only screen and (max-width: 1199px)
{
	.menu .logo
	{
		padding-left: 25px;
		text-align: left;
	}
	#menuList
	{
		display: none;
	}
}

#menuBtn
{
	padding-right: 14px;
	padding-top: 8px;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 50px;
	text-align: right;
	color: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

.menuItem
{
	padding-left: 20px;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 16px;
	line-height: 60px;
	color: #80888e;
	cursor: pointer;
}

.menuItem:hover, .activeTab
{
	background: #303945;
	color: #fff;
}

.menuItem > i
{
	padding-right: 3px;
}

@media only screen and (max-width: 1199px)
{
	
	.menuItem
	{
		padding-left: 0;
		text-align: center;
	}
}

@media only screen and (min-width: 1200px)
{
	.menu
	{
		position: absolute;
		top: 0;
		left: 0;
		width: 200px;
		height: 100%;
	}
	
	#menuBtn
	{
		display: none;
	}
	
	.menuItem
	{
		font-size: 18px;
	}
	
	.menuItem > i
	{
		padding-right: 10px;
	}
	
	.tab
	{
		position: absolute;
		top: 0;
		right: 0;
		left: 200px;
		width: auto;
		height: 100%;
	}
}

.tableOps
{
	position: relative;
	width: 100%;
	height: 145px;
}

button
{
	border: 0;
	margin-top: 2px;
	margin-bottom: 2px;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
	text-align: center;
	background: #303945;
	color: #fff;
	cursor: pointer;
}

.searchInput
{
	width: 100%;
	height: 42px;
	padding: 5px;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 20px;
}

.searchInputIst
{
	width: 95%;
	height: 38px;
	padding: 5px;
	margin: 0 2.5% 12px 2.5%;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 16px;
}

.tableSearchBtn, .newEntryBtn
{
	width: 90%;
	margin-left: 10%;
	font-size: 20px;
	line-height: 40px;
}

.newEntryInfo
{
	display: none;
}

.newEntryInfo .col
{
	margin-top: 10px;
}

.newEntryInfo input, .newEntryInfo select, .newEntryField
{
	width: 90%;
	margin: 0 5%;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
}

.newEntryField
{
	font-size: 14px;
}

.newEntryInfo input, select
{
	padding: 5px;
	font-size: 16px;
}

.newEntryAddBtn
{
	width: 90%;
	margin: 10px 5%;
	font-size: 20px;
	line-height: 40px;
}

table
{
	width: 100%;
	padding: 20px 10px 0 10px;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
	background: #fff;
	border-spacing: 0;
}

table th
{
	padding: 7px 5px 10px 5px;
	border-bottom: solid 1px #80888e;
	font-size: 16px;
}

table td
{
	padding: 5px;
	border-bottom: solid 1px #ddd;
	text-align: center;
	font-size: 14px;
}

table td input
{
	width: auto;
}

table a
{
	text-decoration: none;
	color: #306899;
}

table a:visited
{
	color: #306899;
}

table button
{
	padding: 2px 5px 4px 5px;
	font-size: 16px;
}

select
{
	padding: 3px 5px;
}

#messageSelect
{
	margin-bottom: 22px;
}
@media only screen and (max-width: 1199px)
{
	#messageSelect
	{
		width: 100%;
	}
}

.detaliiRow
{
	height: 38px;
	background: #f0f0f0;
}

.lastRow td
{
	border-top: solid 1px #80888e;
	font-weight: bold;
}

table td.emptyRow
{
	height: 20px;
	border-bottom: 0;
}

textarea
{
	width: 100%;
	height: 300px;
	padding: 10px;
	font-size: 16px;
	resize: none;
}

#messageTemplate
{
    margin-bottom: 7px;
}

.rataInput[type=text]
{
	width: 95px;
	background: transparent;
	font-size: 14px;
	text-align: center;
	border: 0;
	border-bottom: black 2px solid;
	outline: none;
}

.msgVars
{
	padding: 5px 5px 0 5px;
}

.msgVars > button
{
	width: 100%;
	font-size: 16px;
	line-height: 36px;
	margin-bottom: 5px;
}

.saveBtn
{
	width: 150px;
	margin: 10px auto;
	font-size: 20px;
	line-height: 40px;
	display: block;
}

/* Config */

.configOption
{
	width: 100%;
	text-align: left;
}

.customInput
{
	position: relative;
	margin: 0px 20px 15px 0;
	cursor: pointer;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 20px;
	color: #333;
	display: inline-block;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.customInput input
{
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.checkmark
{
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	border: solid 2px #345;
	background: #eee;
}

.customInput:hover input[type="checkbox"] ~ .checkmark
{
	background-color: #d0d0d0;
}

.customInput input[type="checkbox"]:checked ~ .checkmark
{
	background-color: #345;
}

.checkmark:after
{
	content: "";
	position: absolute;
	display: none;
}

.customInput input[type="checkbox"]:checked ~ .checkmark:after
{
	display: block;
}

.customInput .checkmark:after
{
	left: 5px;
	top: 2px;
	width: 6px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#msgPrev
{
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 580px;
    border: solid 1px #444;
    background: #fff;
    z-index: 10;
    display: none;
}

#msgPrevClose
{
	width: 20%;
	margin: 20px 40% 5px 40%;
	font-size: 15px;
	line-height: 30px;
}

#msgPrevTo
{
	width: 95%;
	padding: 5px;
	margin: 5px 2.5%;
	font-family: Segoe, "Segoe UI", Optima, Arial, sans-serif;
	font-size: 14px;
}

#msgPrevText
{
    margin: 5px 2.5%;
	width: 95%;
	height: 400px;
	padding: 10px;
	font-size: 14px;
	resize: none;
}

#msgPrevSend
{
	width: 50%;
	margin: 5px 25%;
	font-size: 20px;
	line-height: 40px;
}