/*region COMMON */
* {
  box-sizing: border-box;
}
body {
  background-color: white;
  color: #26213A;
  text-align: center;
}
body,
input,
select,
textarea {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}
.content {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
  overflow: hidden;
}
#page_wrapper {
  padding-top: 30px;
  padding-bottom: 30px;
}
a {
  cursor: pointer;
  color: #832850;
  text-decoration: none;
  outline: none;
}
a:hover {
  color: #542445;
  text-decoration: underline;
}
.small {
  font-size: 13px;
}
.aleft {
  text-align: left;
}
.acenter {
  text-align: center;
}
.aright {
  text-align: right;
}
.fleft {
  float: left;
  margin-right: 15px;
}
.fright {
  float: right;
  margin-left: 15px;
}
p {
  margin-bottom: 15px;
}
h2,
h3 {
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: bold;
}
h2 {
  border-bottom: 1px solid #DDDDDD;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  vertical-align: middle;
}
h2 .flag {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -2px;
  margin: 0 5px;
}
h3 {
  margin-bottom: 15px;
}
/*endregion*/
/*region HEADER */
header {
  padding: 10px 0;
  background-color: #26213A;
  color: white;
}
header .content {
  height: 32px;
  line-height: 32px;
  vertical-align: middle;
}
header h1 {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 18px;
  float: left;
}
header #login {
  float: right;
}
header #login i {
  vertical-align: middle;
}
header #login a {
  color: white;
  text-decoration: none;
}
header #login a:hover span {
  text-decoration: underline;
}
/*endregion*/
/*region NAV */
nav {
  background-color: #383552;
}
nav ul {
  overflow: hidden;
}
nav ul li {
  list-style-type: none;
  float: left;
  padding: 0 5px;
}
nav ul li a,
nav ul li span {
  background: url("../images/nav_arrow.png?v=2") no-repeat right center;
  color: #FFFFFF !important;
  display: inline-block;
  font-size: 12px;
  height: 37px;
  line-height: 35px;
  padding: 0 21px 0 0;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  outline: none;
}
nav ul li:first-child {
  padding-left: 0;
}
nav ul li:last-child a,
nav ul li:last-child span {
  background-image: none;
}
nav ul li span {
  font-weight: normal;
}
/*endregion*/
/*region SIDEBAR*/
#sidebar {
  width: 275px;
  margin-right: 20px;
  float: left;
  overflow: hidden;
}
#sidebar > ul {
  margin-bottom: 25px;
}
#sidebar > ul > li {
  position: relative;
  margin-bottom: 2px;
}
#sidebar > ul > li > a {
  font-family: 'Roboto Condensed', sans-serif;
  outline: none;
  background-color: #d3d3d3;
  display: block;
  padding: 0 10px;
  height: 50px;
  line-height: 50px;
  color: #000000;
  text-decoration: none;
  opacity: 0.6;
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  vertical-align: middle;
}
#sidebar > ul > li > a:hover {
  opacity: 1;
  background-color: #d3d3d3;
}
#sidebar > ul > li > a.active {
  opacity: 1;
  font-weight: bold;
  background-color: #832850;
  color: #ffffff;
}
#sidebar > ul > li > a.active:after {
  content: "\E5CC";
  font-family: 'Material Icons';
  font-weight: normal;
  display: block;
  font-size: 24px;
  line-height: 50px;
  position: absolute;
  right: 10px;
  top: 0;
}
#sidebar > ul > li > a.disabled {
  cursor: not-allowed;
  opacity: 0.3 !important;
  background-color: #e1e1e1 !important;
}
#sidebar > ul > li > a.disabled:before {
  display: block;
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
}
#sidebar > ul > li.sidebar-child > a {
  background-position: 28px 14px;
  padding-left: 48px;
}
#sidebar > ul > li > a .material-icons {
  font-size: 24px;
  height: 50px;
  line-height: 50px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  display: inline-block;
  margin-right: 5px;
  text-align: center;
  width: 30px;
}
#sidebar > ul > li.sidebar-child > .sidebar-child-tree-drawing {
  border-bottom: 1px dotted white;
  border-left: 1px dotted white;
  display: block;
  height: 43px;
  left: 24px;
  position: absolute;
  top: -24px;
  width: 15px;
  opacity: 0.75;
}
#sidebar > ul > li.sidebar-child > .sidebar-child-tree-drawing-first {
  height: 28px;
  top: -2px;
}
/*endregion*/
/*region FORM*/
table.form {
  border-collapse: collapse;
  vertical-align: top;
  margin: 0 0 10px;
}
table.form td {
  padding: 5px 0;
  vertical-align: top;
}
table.form td.label {
  padding: 13px 20px 5px 0;
}
table.form td.options_group {
  padding-top: 10px;
  padding-bottom: 10px;
}
input,
select,
textarea,
.fake-input {
  color: #000000;
  font-size: 14px;
  border: 1px solid #B3B3B3;
  margin-bottom: 3px;
  border-radius: 4px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #832850;
}
input[type="text"],
input[type="password"],
.fake-input {
  width: 360px;
  padding: 7px 10px;
}
.fake-input {
  border: none;
  padding: 8px 0;
  display: inline-block;
}
input.text-small {
  width: 120px;
}
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  top: 3px;
  border: none;
}
select,
select.select-small {
  width: 360px;
  padding: 6px;
}
select.select-small {
  width: 120px;
}
textarea {
  width: 320px;
  height: 80px;
  padding: 7px 10px;
}
input[type="file"] {
  max-width: 250px;
}
input::-webkit-input-placeholder {
  color: #999999;
}
input:-moz-placeholder {
  color: #999999;
}
input[lang],
textarea[lang],
span.lang_flag[lang] {
  background: no-repeat 10px 11px;
  padding-left: 35px;
}
/*endregion*/
/*region DROPDOWN POPUP */
.dropdown-popup {
  display: none;
  background-color: white;
  color: #26213A;
  font-size: 13px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}
ul.dropdown-popup {
  padding: 0;
}
ul.dropdown-popup li a {
  padding: 5px 10px;
  display: block;
  text-decoration: none;
  cursor: pointer;
  color: #26213A;
}
ul.dropdown-popup li a:hover {
  background-color: #eeeeee;
  color: #000000;
}
/*endregion*/
/*region MESSAGE BOXES */
.msgbox {
  color: #666666;
  background-color: #efefef;
  border-bottom: 1px solid #999999;
}
.msgbox span {
  display: block;
  margin: 0 auto;
  text-align: left;
  width: 1200px;
  padding: 10px 0 10px 20px;
  position: relative;
  font-weight: bold;
}
.msgbox.info {
  color: #316677;
  background-color: #B3D3EF;
}
.msgbox.error {
  color: #832850;
  background-color: #DFC3C3;
}
.msgbox.warning {
  color: #887700;
  background-color: #EFECC3;
}
.msgbox a {
  color: black;
}
/*endregion*/
/*region UPLOADER */
.upload_progress_bar {
  background-color: #dddddd;
  border: 1px solid #cccccc;
  display: block;
  height: 3px;
  margin: 15px auto 10px;
  overflow: visible;
  width: 99%;
}
.upload_progress_bar div {
  background-color: #832850;
  border: 1px solid #542445;
  display: block;
  height: 3px;
  left: 0;
  position: relative;
  top: -1px;
  transition-property: width;
  transition-duration: 0.2s;
  transition-timing-function: linear;
}
.uploader-input-widget {
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
  padding-top: 2px;
  width: 342px;
  height: 33px;
  line-height: 28px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.uploader-input-widget .link {
  font-weight: bold;
  margin-right: 10px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 235px;
  display: inline-block;
  overflow: hidden;
}
.uploader-input-widget[lang] {
  background-repeat: no-repeat;
  background-position: 0 13px;
  padding-left: 25px;
  border-top: 1px solid #dddddd;
  position: relative;
  top: -1px;
  /* To hide the top-border on the first widget, widgets must be wrapped in div[style="overflow: hidden"] */
}
.uploader-input-widget button {
  position: absolute;
  top: 3px;
  right: 0;
  height: 27px;
  line-height: 27px;
  padding: 0 15px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  background: #999999;
}
.uploader-input-widget button:hover,
.uploader-input-widget button:active {
  background: #aaaaaa !important;
}
.image-uploader-input-widget {
  height: auto;
}
.image-uploader-input-widget a,
.image-uploader-input-widget a img {
  display: block;
}
.image-uploader-input-widget-with-image {
  width: auto;
  min-width: 100px;
  /* For the button to be big enough */
  padding-bottom: 32px;
}
.image-uploader-input-widget-with-image button {
  top: auto;
  bottom: 0;
  right: auto;
  left: 0;
}
.image-uploader-input-widget-with-image[lang] {
  min-width: 372px;
  /* For the border */
  margin-bottom: 9px;
  padding-top: 11px;
}
.image-uploader-input-widget-with-image[lang] button {
  left: 25px;
}
.widget_input_error {
  margin-bottom: 10px;
}
/*endregion*/
/*region MODAL */
.lightface * {
  padding: 0;
  margin: 0;
}
.lightface iframe {
  border: none;
}
.lightface .lightfaceContent .lightfaceTitle {
  font-weight: bold !important;
  padding: 0 15px !important;
  height: 45px !important;
  line-height: 45px !important;
  background-color: white !important;
  color: #26213A !important;
  /*noinspection CssOverwrittenProperties*/
  border: 1px solid #CCCCCC !important;
  /*noinspection CssOverwrittenProperties*/
  border-width: 0 0 1px 0 !important;
  border-color: #CCCCCC !important;
  font-size: 14px !important;
  box-shadow: none !important;
  margin: 0 !important;
  position: relative;
  text-transform: none;
  font-family: 'Roboto', sans-serif;
}
.lightface .lightfaceContent .lightfaceTitle:after {
  display: none;
}
.lightface .lightfaceContent .lightfaceTitle .lightfaceTitleIcon {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  padding: 0 11px;
  height: 45px;
  line-height: 45px;
}
.lightface .lightfaceFooter {
  padding: 10px 15px !important;
}
.lightface-simple-title {
  border-bottom: 1px solid #CCCCCC;
  font-weight: bold;
  margin: -15px -15px 15px;
  padding: 0 15px !important;
  height: 45px !important;
  line-height: 45px !important;
  font-size: 14px;
}
.lightface-simple-content {
  width: 320px;
  text-align: center;
  padding: 15px 0;
}
/*endregion*/
/*region SPINNER */
#spinner {
  display: none;
  position: absolute;
  z-index: 4000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
  background-color: white;
  background-image: url("../images/loader-white.gif");
  background-repeat: no-repeat;
  background-position: center 112px;
}
#spinner.visible {
  display: block;
}
/*endregion*/
/*region FLOATING TIPS*/
.floating-tip {
  background-color: #26213A;
  padding: 5px 15px;
  text-align: center;
  max-width: 170px;
  color: #C6B593;
  font-weight: bold;
  font-size: 11px;
  z-index: 50;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
/*endregion*/
/*region FOOTER*/
footer {
  background-color: #ddd;
  font-size: 12px;
  padding: 20px 0;
  margin-top: 50px;
}
footer p {
  margin: 10px 0;
}
/*endregion*/
