/* general styles */
@import url("font-aw.css");
@import url("font-sm.css");

@font-face {
	font-family: 'Myriad';
	src: url('_fonts/myriad_r.wo') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Myriad';
	src: url('_fonts/myriad_b.wo') format('woff');
	font-weight: bold;
	font-style: normal;
}

body {
	background-color:#4B7827;
	font-family: "Myriad", Myriad, Helvetica, Arial, sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding-bottom: 200px;
}

ul, li, div, html, form {
	padding:0;
	margin:0;
}

#main-content {
	background-color: #fff;
	-moz-border-radius: 15px 0 0 15px;
	-webkit-border-radius: 15px 0 0 15px;
	border-radius: 15px 0 0 15px;
	overflow: auto;
	padding: 0px 0px 10px;
	min-height: 700px;
}

#content{
	display:block;
	padding:0 2em;
	overflow: hidden; /* zajisti, aby <hr class=cleaner> fungoval pouze relaitivne uvnitr #content */
}

/* -------------------------------------------------------------------------- */
/*	                        language                                          */
/* -------------------------------------------------------------------------- */

#lang_area {
	margin-top: 10px;
	position: absolute;
	z-index: 999;
}
#lang {
	display: none;
	background: #E1E0E1;
	color: transparent;
	text-align: center;
	position: absolute;
}
#lang a span {display:none;}
#lang li {display:table-cell; }
#lang a { display: block; width:24px; height:24px; margin:5px 0; opacity:0.3; cursor:pointer; }
#lang li {padding: 0px 5px 0 0;}
.cs a, .en a, .de a,
.pt a, .el a, .fr a,
.it a, .es a, .sk a,
.pl a {
	background:url('../images/flags.png');
	background-repeat: no-repeat;
	height: 24px !important;
	width: 24px !important;
}
.cs a { background-position: 0px 0px; }
.de a { background-position: -24px 0px; }
.en a { background-position: -48px 0px; }
.es a { background-position: -72px 0px; }
.fr a { background-position: -96px 0px; }
.el a { background-position: -120px 0px; }
.it a { background-position: -144px 0px; }
.pl a { background-position: -168px 0px; }
.pt a { background-position: -192px 0px; }
.sk a { background-position: -216px 0px; }
#lang a.active,
#lang a:hover { opacity:1; }
#lang_but a { display:block; float:left; width:24px; height:24px; margin:5px 0; cursor:pointer; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; }
#lang_but a.active { position:absolute; transform: translate(-90px, 0); top:1px; z-index:99; }


/* -------------------------------------------------------------------------- */
/*		                     	          Colors	                                */
/* -------------------------------------------------------------------------- */
.alarm { color:#f00; }
.warning { color:#EB7B27; }
.ok { color:#0a5; }
.on { color:#E76A0A; }
.timeout { color:#DBDBDB; }
.description { color:#999; }
.black { color:#6A6767; }

/* -------------------------------------------------------------------------- */
/*                                 Forms                                      */
/* -------------------------------------------------------------------------- */

input{
	padding:0 0 0 .2em;
	margin: 0;
	width:95%;
	font-size:13px;
}

.input_text_2{
	width:2em;
}

.input_text_port{
	width:3em;
}

.input_text_date{
	width:5em;
}

.checkbox{
	width:auto;
	margin-top:-3px;
	margin-bottom:-2px;
}

#ident input{
	margin-top:-2px;
	margin-bottom:-1px;
}

#inv_cfg input,#inv_cfg select,
#inv_enrg input,#inv_cfg select{
	margin-top:-1px;
	margin-bottom:-2px;
}

/* -------------------------------------------------------------------------- */
/*                                 Bottom line                                */
/* -------------------------------------------------------------------------- */

#bottom-contact {
	margin:1em 0;
	font-size:11px;
	text-align:center;
}

#bottom-contact a{
	color:#fff;
	text-decoration:none;
}

#bottom-contact a:hover {
	color:#000;
}

/* Reset for -webkit / -moz browser
=============================== */
#content select,
#content input[type="button"],
#content input[type="submit"],
#content input[type="search"] {
	-webkit-tap-highlight-color:transparent;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	-webkit-border-radius:0px;
	border-radius:0px;
}

/* Inputs
=============================== */
#content .input { position:relative; }

#content .link {
	border-bottom:1px solid #90caf9;
	color:#1e88e5;
	font-size:14px;
	line-height:inherit;
	text-decoration:none;
}
#content .link:hover { border-bottom:none; }

#content .inline-group { display:inline-block; }

#content .hidden { display:none; }

#content .success { color: #739F1F; }
#content .success:before { content: '\e830'; font-family: font_sm; margin:0 5px; }
#content .error { color: #FF0000; }
#content .error:before { content: '\e814'; font-family: font_sm; margin:0 5px; }

#content .state_on { color: #739F1F; }
#content .state_on:before { content: '\e831'; font-family: font_sm; margin:0 5px; }
#content .state_off { color: #777; }
#content .state_off:before { content: '\e832'; font-family: font_sm; margin:0 5px; }
#content .state_undef { color: #FFBE00; }
#content .state_undef:before { content: '\e82d'; font-family: font_sm; margin:0 5px; }

#content .state_link,
#content .state_unlink { color: #E97925;font-size:26px;padding-top:12px; }
#content .state_link:before { content: '\e82b'; font-family: font_sm; margin:0 5px; }
#content .state_unlink:before { content: '\e82a'; font-family: font_sm; margin:0 5px; }
body.values #content .state_link,
body.values #content .state_unlink { font-size:14px;padding-top:0; }

#content span.hint {
	display: block;
	font-size: 13px;
	color: inherit;
	height: 13px;
	line-height: 13px;
	margin-top: 10px;
	padding: 0 2px;
	text-align: right;
}

#content input[type="text"],
#content input[type="password"],
#content input[type="email"],
#content input[type="search"],
#content input[type="url"],
#content textarea,
#content select {
	background:#fff;
	border:2px solid #A1A1A1;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	color:rgba(0,0,0,.87);
	display:block;
	font-family:inherit;
	font-size:16px;
	line-height: 150%;
	height:32px;
	padding:5px 10px;
	width:100%;
	outline:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-transition:all.4s;
	-moz-transition:all.4s;
	-ms-transition:all.4s;
	-o-transition:all.4s;
	transition:all.4s;
}
#content input[type="text"]:hover,
#content input[type="password"]:hover,
#content input[type="email"]:hover,
#content input[type="search"]:hover,
#content input[type="url"]:hover,
#content textarea:hover,
#content select:hover { border:2px solid rgba(233,109,15,0.6); }

#content input[type="text"]:focus,
#content input[type="password"]:focus,
#content input[type="email"]:focus,
#content input[type="search"]:focus,
#content input[type="url"]:focus,
#content textarea:focus,
#content select:focus { border:2px solid rgba(233,109,15,0.9); }

#content .input textarea {
	height:112px;
	overflow:auto;
	min-height:52px;
	resize:vertical;
}

#content .input textarea:focus { height:128px; }


/* Form element
=============================== */
#content fieldset {
	display: block;
	margin: 10px 1% 0 1%;
	padding: 10px 0 0 0;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	width: 98%;
}
#content #step-8 fieldset {
	margin: 10px 1% 2px 1% !important;
	padding: 10px 0 2px 0;
}

#content fieldset:last-of-type {
	margin-bottom: 0px;
}

#content legend {
	display: table;
	min-width: 0px;
	max-width: 70%;
	position: relative;
	margin: auto;
	padding: 8px 10px 6px 10px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 3px;
	background-color: #fff;
	color: #E96C0E;
	font-size: 18px;
	line-height:90%;
	text-align: center;
	white-space: nowrap;
}
#content legend.small {
	font-size: 14px;
	color: #A1A1A1;
	background-color: #E1E0E1;
}

/* Labels
=============================== */
#content label {
	display:block;
	color:inherit;
	font-weight:normal;
	text-align:left;
	margin-bottom:0;
}
#content .label { font-size:14px; margin: 6px 0 0 0; line-height:16px; height:16px; }
#content .input { margin: 3px 0; }

#content .label-right,
#content .label-center { height:28px; line-height:28px; text-align:center; margin-bottom:0; }
#content .label-right { text-align:right; }

#content .j-row > .label{ padding-left:10px; }

/* Radio and checkbox
=============================== */
#content .radio,
#content .checkbox,
#content .radio-toggle,
#content .checkbox-toggle {
	color:rgba(0,0,0,.87);
	cursor:pointer;
	font-size:15px;
	height:15px;
	margin-bottom:4px;
	position:relative;
	line-height:15px;
}
#content .radio,
#content .checkbox,
#content .inline-group .radio,
#content .inline-group .checkbox { padding:9px 0 8px 32px; }

#content .radio-toggle,
#content .checkbox-toggle,
#content .inline-group .radio-toggle,
#content .inline-group .checkbox-toggle { padding:9px 0 8px 58px; }

#content .radio:last-child,
#content .checkbox:last-child,
#content .radio-toggle:last-child,
#content .checkbox-toggle:last-child { margin-bottom:0; }

#content .inline-group .radio,
#content .inline-group .checkbox,
#content .inline-group .radio-toggle,
#content .inline-group .checkbox-toggle { display:inline-block; margin-right:25px; }

#content .radio input,
#content .checkbox input,
#content .radio-toggle input,
#content .checkbox-toggle input { position:absolute; left:-9999px; }

#content .radio i,
#content .checkbox i,
#content .checkbox-toggle i,
#content .radio-toggle i {
	border:2px solid rgba(0,0,0,.26);
	background-color:rgba(255,255,255,0.4);
	display:block;
	height:18px;
	left:0;
	outline:none;
	position:absolute;
	top:5px;
	-webkit-transition:border-color.2s;
	-moz-transition:border-color.2s;
	-ms-transition:border-color.2s;
	-o-transition:border-color.2s;
	transition:border-color.2s;
}
#content .radio i,
#content .checkbox i { width:18px; }

#content .checkbox-toggle i,
#content .radio-toggle i { width:46px; }

#content .checkbox i,
#content .checkbox-toggle i {
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
}
#content .radio i,
#content .radio i:after,
#content .radio-toggle i:before {
	-webkit-border-radius:50%;
	-moz-border-radius:50%;
	-o-border-radius:50%;
	border-radius:50%;
}
#content .radio-toggle i {
	-webkit-border-radius:13px;
	-moz-border-radius:13px;
	-o-border-radius:13px;
	border-radius:13px;
}
#content .checkbox-toggle i:before {
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
}
#content .radio i:after {
	background-color:rgba(233,109,15,0.9);
	content:"";
	height:8px;
	top:5px;
	left:5px;
	opacity:0;
	position:absolute;
	width:8px;
}
#content .checkbox i:after {
	border-width:0 0 3px 3px;
	border-bottom:solid rgb(233,109,15);
	border-left:solid rgb(233,109,15);
	content:"";
	height:5px;
	top:3px;
	-webkit-transform:rotate(-45deg);
	-moz-transform:rotate(-45deg);
	-ms-transform:rotate(-45deg);
	-o-transform:rotate(-45deg);
	transform:rotate(-45deg);
	left:3px;
	opacity:0;
	position:absolute;
	width:10px;
}
#content .radio input:checked + i:after,
#content .checkbox input:checked + i:after { opacity:1; }

#content .checkbox-toggle i:before,
#content .radio-toggle i:before {
	border:none;
	background-color:rgba(0,0,0,0.4);
	content:"";
	display:block;
	height:14px;
	left:2px;
	position:absolute;
	top:2px;
	width:14px;
}
#content .checkbox-toggle input:checked + i:before,
#content .radio-toggle input:checked + i:before { left:30px; background-color:rgba(233,109,15,0.9); }

#content .checkbox-toggle input:disabled + i:before,
#content .radio-toggle input:disabled + i:before { background-color:rgba(0,0,0,0.26) !important; }
#content .checkbox-toggle input:disabled + i,
#content .radio-toggle input:disabled + i { cursor: no-drop; opacity:0.3; border-color:rgba(0,0,0,.26) !important; }

#content .checkbox-toggle i:after,
#content .radio-toggle i:after,
#content .checkbox-toggle input:checked + i:after,
#content .radio-toggle input:checked + i:after {
	font-size:11px;
	font-style:normal;
	font-weight:bold;
	line-height:10px;
	position:absolute;
	top:5px;
}
#content .checkbox-toggle i:after,
#content .radio-toggle i:after { content:"NE"; left:24px; color:rgba(0,0,0,0.60); }

#content .checkbox-toggle input:checked + i:after,
#content .radio-toggle input:checked + i:after { content:"ANO"; left:4px; color:#000000; }

#content .checkbox-toggle.all i:after,
#content .radio-toggle.all i:after { content:"NIC"; left:24px; color:rgba(0,0,0,0.60); }

#content .checkbox-toggle.all input:checked + i:after,
#content .radio-toggle.all input:checked + i:after { content:"VĹ E"; left:4px; color:#000000; }

#content .checkbox:hover i,
#content .radio:hover i,
#content .checkbox-toggle:hover i,
#content .radio-toggle:hover i { border:2px solid rgba(233,109,15,0.6); }
#content .checkbox-toggle:hover input + i:before,
#content .radio-toggle:hover input + i:before { background-color:rgba(233,109,15,0.8); }

#content .radio input:checked + i,
#content .checkbox input:checked + i,
#content .radio-toggle input:checked + i,
#content .checkbox-toggle input:checked + i { border:2px solid rgba(233,109,15,0.9); }

#content .radio input:checked + i,
#content .checkbox input:checked + i { color:rgba(233,109,15,0.9); }

#content .checkbox-toggle input:checked + i,
#content .radio-toggle input:checked + i { background-color:#ffffff; }


/* Placeholders
=============================== */
#content input::-webkit-input-placeholder,
#content textarea::-webkit-input-placeholder { color:rgba(0,0,0,.54); }

#content input::-moz-placeholder,
#content textarea::-moz-placeholder { color:rgba(0,0,0,.54); }


#content input:-moz-placeholder,
#content textarea:-moz-placeholder { color:rgba(0,0,0,.54); }

#content input:-ms-input-placeholder,
#content textarea:-ms-input-placeholder { color:rgba(0,0,0,.54); }

#content input:focus::-webkit-input-placeholder,
#content textarea:focus::-webkit-input-placeholder { color:rgba(0,0,0,.36); }

#content input:focus::-moz-placeholder,
#content textarea:focus::-moz-placeholder { color:rgba(0,0,0,.36); }

#content input:focus:-moz-placeholder,
#content textarea:focus:-moz-placeholder { color:rgba(0,0,0,.36); }

#content input:focus:-ms-input-placeholder,
#content textarea:focus:-ms-input-placeholder { color:rgba(0,0,0,.36); }


/* Select
=============================== */
#content select { padding-left:7px; }

#content .multiple-select select { height:auto; }

#content .select i {
	background:#fff;
	-webkit-box-shadow:0 0 0 6px #fff;
	-moz-box-shadow:0 0 0 6px #fff;
	-o-box-shadow:0 0 0 6px #fff;
	box-shadow:0 0 0 6px #fff;
	height:15px;
	position:absolute;
	pointer-events:none;
	top:9px;
	right:14px;
	width:14px;
}
#content .select i.icon-more-right {
	right:55px;
}
#content .select i:after,
#content .select i:before {
	border-right:4px solid transparent;
	border-left:4px solid transparent;
	content:'';
	position:absolute;
	right:3px;
}
#content .select i:after { border-top:6px solid rgba(0,0,0,.4); bottom:0px; }

#content .select i:before { border-bottom:6px solid rgba(0,0,0,.4); top:0px; }

#content .select { position:relative; }

/* Icons
=============================== */
#content .icon-left,
#content .icon-right,
#content .icon-left-txt,
#content .icon-right-txt {
	color:rgba(0,0,0,.33);
	background-color:#fff;
	box-shadow: 0 0 0 2px #fff;
	font-size:17px;
	height:23px;
	line-height:23px !important;
	position:absolute;
	text-align:center;
	top:5px;
	width:42px;
	z-index:2;
}
#content .icon-left-txt,
#content .icon-right-txt {
	font-size:14px;
	padding:0 10px;
	width:auto;
}
#content .icon-left, #content .icon-left-txt { border-right:1px solid rgba(0,0,0,.33); left:3px; }

#content .icon-right, #content .icon-right-txt { border-left:1px solid rgba(0,0,0,.33); right:3px; }

#content .icon-left-txt ~ input,
#content .icon-left-txt ~ textarea,
#content .icon-left ~ input,
#content .icon-left ~ textarea { padding-left:58px; }

#content .icon-right-txt ~ input,
#content .icon-right-txt ~ textarea,
#content .icon-right ~ input,
#content .icon-right ~ textarea { padding-right:58px; }

#content .icon-left .fa,
#content .icon-right .fa {
	line-height:20px !important;
	font-size:20px;
}

/* File for upload
=============================== */
#content .file-button input {
	bottom:-1px;
	font-size:34px;
	opacity:0;
	position:absolute;
	width:108px;
	z-index:0;
}
#content .prepend-small-btn .file-button input,
#content .prepend-big-btn .file-button input { left:0; }

#content .append-small-btn .file-button input,
#content .append-big-btn .file-button input { right:0; }

#content .prepend-small-btn .file-button,
#content .append-small-btn .file-button { width:64px; }

#content .prepend-big-btn .file-button,
#content .append-big-btn .file-button { width:106px; }

#content .prepend-small-btn .file-button,
#content .prepend-big-btn .file-button { left:4px; }

#content .append-small-btn .file-button,
#content .append-big-btn .file-button { right:4px; }

#content .append-small-btn .file-button,
#content .append-big-btn .file-button,
#content .prepend-small-btn .file-button,
#content .prepend-big-btn .file-button {
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
}

#content .prepend-big-btn input[type="text"] { padding-left:123px; }

#content .append-big-btn input[type="text"] { padding-right:123px; }

#content .prepend-small-btn input[type="text"] { padding-left:77px; font-size:12px; }

#content .append-small-btn input[type="text"] { padding-right:77px; font-size:12px; }

#content .input input[type="file"] { cursor:pointer; }

/* Buttons
=============================== */
.main-content .small-btn,
.main-content .primary-btn,
.main-content .cancel-btn,
.main-content .secondary-btn {
	border:none;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	color:#fff;
	display:block;
	cursor:pointer;
	float:right;
	font-size:16px;
	height:32px;
	margin:10px 0 10px 20px;
	outline:none;
	padding:0 25px;
	white-space:nowrap;
}
.main-content .small-btn {
	font-size:12px;
	height:24px;
	margin:10px 0 10px 20px;
	outline:none;
	padding:0 10px;
	white-space:nowrap;
}
.main-content .small-btn,
.main-content .primary-btn,
.main-content .cancel-btn { position:relative; }

.main-content .content .primary-btn,
.main-content .content .cancel-btn,
.main-content .content .secondary-btn { margin:0 0 20px 20px; }

.main-content .file-button {
	color:#fff;
	display:block;
	font-size:12px;
	height:24px;
	line-height:26px;
	outline:none;
	overflow:hidden;
	position:absolute;
	text-align:center;
	top:4px;
	z-index:1;
}
.main-content .small-btn,
.main-content .primary-btn,
.main-content .cancel-btn,
.main-content .file-button,
.main-content .secondary-btn {
	background:#E76A0A;
	-webkit-transition:background.2s;
	-moz-transition:background.2s;
	-ms-transition:background.2s;
	-o-transition:background.2s;
	transition:background.2s;
}
.main-content .small-btn:hover,
.main-content .primary-btn:hover,
.main-content .file-button:hover,
.main-content .secondary-btn:hover { background:#F5791B; }

.main-content .primary-btn:hover.processing { background:#E76A0A; cursor:wait; }

.main-content .file-button:hover + input { border:2px solid rgba(231,106,10,0.6); }

.main-content .secondary-btn,
.main-content .secondary-btn:hover,
.main-content .secondary-btn:active { opacity:.5; }

.main-content .primary-btn.processing:before {
	background:rgba(255,255,255,.4);
	content:'';
	height:100%;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	-webkit-animation:processing 3s ease-in-out infinite;
	-moz-animation:processing 3s ease-in-out infinite;;
	-ms-animation:processing 3s ease-in-out infinite;
	-o-animation:processing 3s ease-in-out infinite;
	animation:processing 3s ease-in-out infinite;
}
@-webkit-keyframes processing {
	0% { width:0; }
	100% { width:100%; }
}
@-moz-keyframes processing {
	0% { width:0; }
	100% { width:100%; }
}
@-ms-keyframes processing {
	0% { width:0; }
	100% { width:100%; }
}
@-o-keyframes processing {
	0% { width:0; }
	100% { width:100%; }
}
@keyframes processing {
	0% { width:0; }
	100% { width:100%; }
}

/* Tooltip
=============================== */
#content .info,
#content .help {
	position:relative;
	cursor: pointer !important;
	display: inline-block;
}
#content .help:after {
	font:normal normal normal 14px/1 font_sm;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
	content:"\e82d";
	color:#E76A0A;
	display: inline-block;
	margin: 0 8px;
}
#content .info .tooltip,
#content .help .tooltip {
	min-width: 200px;
}

#content .tooltip,
#content .tooltip-image {
	background-color:#E76A0A;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	display:block;
	left:-9999px;
	opacity:0;
	position:absolute;
	z-index:20px;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
#content .tooltip {
	color:#fff;
	font-size:13px;
	letter-spacing: 0.05em;
	line-height:18px;
	padding:7px 10px 5px 10px;
}
#content .tooltip-image { padding:2px 2px 1px; }

#content .info:hover .tooltip,
#content .help:hover .tooltip,
#content .input:hover .tooltip,
#content .select:hover .tooltip,
#content .input:hover .tooltip-image,
#content .select:hover .tooltip-image { opacity:1; z-index:5; }

#content .tooltip-left-top { bottom:100%; margin-bottom:4px; }

#content .tooltip-left-top:before {
	border-color:#E76A0A transparent;
	border-style:solid;
	border-width:8px 7px 0;
	bottom:-6px;
	content:"";
	left:16px;
	position:absolute;
}
#content .help:hover .tooltip-left-top,
#content .input:hover .tooltip-left-top,
#content .select:hover .tooltip-left-top { left:0; right:auto; }

#content .tooltip-right-top { bottom:100%; margin-bottom:4px; }

#content .tooltip-right-top:before {
	border-color:#E76A0A transparent;
	border-style:solid;
	border-width:8px 7px 0;
	bottom:-6px;
	content:"";
	position:absolute;
	right:16px;
}
#content .help:hover .tooltip-right-top,
#content .input:hover .tooltip-right-top,
#content .select:hover .tooltip-right-top { left:auto; right:0; }

#content .tooltip-left-bottom { margin-top:4px; top:100%; }

#content .tooltip-left-bottom:before {
	border-color:#E76A0A transparent;
	border-style:solid;
	border-width:0 7px 8px;
	top:-6px;
	content:"";
	left:16px;
	position:absolute;
}
#content .help:hover .tooltip-left-bottom,
#content .input:hover .tooltip-left-bottom,
#content .select:hover .tooltip-left-bottom { left:0; right:auto; }

#content .tooltip-right-bottom { margin-top:4px; top:100%; }

#content .tooltip-right-bottom:before {
	border-color:#E76A0A transparent;
	border-style:solid;
	border-width:0 7px 8px;
	top:-6px;
	content:"";
	right:16px;
	position:absolute;
}
#content .help:hover .tooltip-right-bottom,
#content .input:hover .tooltip-right-bottom,
#content .select:hover .tooltip-right-bottom { left:auto; right:0; }

#content .tooltip-right-side { margin-left:8px; top:8px; white-space:nowrap; }
#content .info .tooltip-right-side,
#content .help .tooltip-right-side { margin-left:0; top:-8px; }

#content .tooltip-right-side:before {
	border-color:transparent #E76A0A;
	border-style:solid;
	border-width:7px 8px 7px 0;
	content:"";
	left:-6px;
	position:absolute;
	top:8px;
}
#content .info:hover .tooltip-right-side,
#content .help:hover .tooltip-right-side,
#content .input:hover .tooltip-right-side,
#content .select:hover .tooltip-right-side { left:100%; }

#content .tooltip-left-side { margin-right:8px; top:8px; white-space:nowrap; }
#content .help .tooltip-left-side { margin-right:0; top:-8px; }

#content .tooltip-left-side:before {
	border-color:transparent #E76A0A;
	border-style:solid;
	border-width:7px 0 7px 8px;
	content:"";
	right:-6px;
	position:absolute;
	top:8px;
}
#content .help:hover .tooltip-left-side,
#content .input:hover .tooltip-left-side,
#content .select:hover .tooltip-left-side { left:auto; right:100%; }

/* Disabled state
=============================== */
#content .widget.disabled-view,
#content .input.disabled-view,
#content .select.disabled-view,
#content .checkbox.disabled-view,
#content .radio.disabled-view,
#content .checkbox-toggle.disabled-view,
#content .radio-toggle.disabled-view,
#content .primary-btn.disabled-view,
#content .secondary-btn.disabled-view,
#content .file-button.disabled-view { cursor:default; opacity:.5; }

#content .input.disabled-view input[type="file"] { cursor:default; }

#content .widget.disabled-view input,
#content .input.disabled-view input,
#content .input.disabled-view textarea,
#content .select.disabled-view select { border-color:rgba(0,0,0,.4) !important; }

#content .checkbox.disabled-view i,
#content .radio.disabled-view i,
#content .checkbox-toggle.disabled-view i,
#content .radio-toggle.disabled-view i { border-color:rgba(0,0,0,.5) !important; }

#content .primary-btn.disabled-view,
#content .secondary-btn.disabled-view,
#content .disabled-view .file-button { background:#303f9f; }

#content .widget.disabled-view .addon-btn:hover,
#content .widget.disabled-view .addon-btn:focus { background:#e0e0e0; cursor:default; color:rgba(0,0,0,.56); }

#content .widget.disabled-view .addon-btn i { color:rgba(0,0,0,.24) !important; }

/*=================================================================*/
/* Grid layout */
/*=================================================================*/
#content [class*="span"] {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	float:left;
	padding-left:10px;
	padding-right:10px;
	position:relative;
}
#content [class*="span"].input,
#content [class*="span"].select {
	padding-right:0;
}
#content [class*="flex"] {
	display: flex;
}

#submit_area:after {
	clear:both;
	content:".";
	display:block;
	height:0;
	visibility:hidden;
}
@media (max-width: 767px) {
	#logo {
		position:fixed;
		z-index:97;
	}
	#logo_trans {
		background-position: center 7px;
	}
	#main-content {
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		border-radius: 0;
		padding-top: 75px;
	}
	#content div[class*="span"] {
		width:100%;
	}
	#content input[type="text"],
	#content input[type="password"] {
		height: 48px;
		font-size: 24px;
	}
	#content .icon-right .fa {
		line-height:30px !important;
		font-size:30px;
	}
	#content .icon-right-txt {
		font-size: 24px;
		height: 39px;
		width:42px;
	}
	#content .icon-left,
	#content .icon-right,
	#content .icon-left-txt,
	#content .icon-right-txt {
		font-size: 30px !important;
		height: 38px;
		line-height: 35px !important;
		width: 42px;
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
	#main-content {
		-moz-border-radius: 0 0 0 15px;
		-webkit-border-radius: 0 0 0 15px;
		border-radius: 0 0 0 15px;
	}
}
@media (min-width: 1024px) and (max-width: 1520px) {
	#content div.span4 { width:50%; }
	#content .span4.always3 { width:33.3333%; }
	#content .unit .content.table i.fsm {
		margin: 40px 0 0 25px;
	}
	#content .content.table .space{
		padding: 40px 10px 30px 140px;
	}
	#sidebar{
		width:175px;
	}
	#main-div{
		margin: -38px 0px 0px 175px;
	}
}
@media (min-width: 1024px) and (max-width: 1280px) {
	#content div.span3 { width:50%; }
	#content div.span4 { width:100%; }
	#content .span4.always3 { width:50%; }
	#content div.span6 { width:100%; }
	#content .span6.always2 { width:50%; }
}

@media (max-width: 1440px) {
	#content div.span6.nowide-full { width:100%; }
}

/* Default
=============================== */
.wrapper {
	outline:none;
	box-sizing:content-box;
}

.main-content {
	background-color:#f8f8f8;
	border-radius:15px;
	box-shadow:0 0 10px rgba(0,0,0,.6);
	box-sizing:border-box;
	color:rgba(0,0,0,.54);
	line-height:1;
	position:relative;
	margin: 15px 0;
	overflow: hidden;
}
.main-content .response { text-align: center; }
.main-content .input { position:relative; }

.main-content .unit {
	position: relative;
	margin: 20px 0;
}

.main-content .link {
	border-bottom:1px solid #90caf9;
	color:#1e88e5;
	font-size:14px;
	line-height:inherit;
	text-decoration:none;
}
.main-content .link:hover { border-bottom:none; }

.main-content .inline-group { display:inline-block; }

.main-content .hidden { display:none; }


/* Header
=============================== */
.main-content .header {
	background-color: #EC9207;
	-webkit-box-shadow:0 3px 4px 0 rgba(0,0,0,.3);
	-moz-box-shadow:0 3px 4px 0 rgba(0,0,0,.3);
	-o-box-shadow:0 3px 4px 0 rgba(0,0,0,.3);
	box-shadow:0 3px 4px 0 rgba(0,0,0,.3);
	display:block;
	position:relative;
}
.main-content .header p {
	margin: 0;
	padding: 20px;
	text-align: center;
}
.main-content .header p img {
	max-height: 75px;
}

/* Content
=============================== */
.main-content .content { padding:25px 25px 0; }

.main-content .content:after {
	clear:both;
	content:".";
	display:block;
	height:0;
	visibility:hidden;
}


/* Footer
=============================== */
.main-content .footer {
	background-color: #E1E0E1;
	border-top: 1px solid #A1A1A1;
	display: block;
	padding: 10px 25px;
}
.main-content .footer:after {
	clear:both;
	content:".";
	display:block;
	height:0;
	visibility:hidden;
}

#bottomLinks a {
	text-align:center;
	color:#fff;
	text-decoration:none;
}
#bottomLinks a:hover,
#bottomLinks a.active {
	color:#000;
}

#bottomLinks { position: absolute; bottom: 30px; font-size: 10px; width: 100%; text-align: center; background-color: rgba(0, 0, 0, 0.4); padding: 10px 0; }
#bottomLinks li { display: inline-block; }
#bottomLinks a { font-size:12px; margin-right:15px; letter-spacing:0.05em; }
#bottomLinks a:before { font-family: font_sm; font-size:16px; line-height:16px; vertical-align:middle; margin:0 5px; }
#bottomLinks .web a:before { content: '\e81f'; font-size:16px; font-family: font_sm; }
#bottomLinks .eshop a:before { content: '\f07a'; font-size:16px; font-family: font_aw; }
#bottomLinks .wiki a:before { content: '\e82d'; }
