/*!
 * eLogger v3.0
 *
 * Copyright 2013 eSportwise Oy
 *
 * http://www.elogger.net/
 *
 */

/* eLogger CSS Code conventions
 *
 * Declaration order:
 * 1. Positioning (position, top, bottom, left, right, z-index)
 * 2. Display & Box model (display, overflow, width, height, padding, border, margin)
 * 3. Color (background, color)
 * 4. Text: (font-family, font-size, font-weight, line-heigth, text-align)
 *
*/


/* --- Modifications to bootstrap default styles --- */

html,body {
  height: 100%;
  background: #ffffff;  /* Bootsrap default: #ffffff */
  color: #333333;       /* Bootsrap default: #333333 */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;      /* Bootsrap default: #13px */
}

/* Links */

/* Remove shadow */
a,button,.btn {
  outline: none !important;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
/* Remove link text underline */
a,a:hover,a:focus {
  text-decoration: none;
}

/* Form components */

/* Remove shadow for input and textarea boxes */
textarea:hover, input[type="text"]:hover, input[type="password"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="date"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover, input[type="number"]:hover, input[type="email"]:hover, input[type="url"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="color"]:hover, .uneditable-input:hover,textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus,.btn-primary:hover, .btn-warning:hover, .btn-danger:hover, .btn-success:hover, .btn-info:hover, .btn-inverse:hover,.btn-default:hover,.form-control:hover,.form-control:focus,.has-success .form-control:focus,.has-warning .form-control:focus,.has-error .form-control:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* Remove browser default styling for textarea and input */
textarea, input[type="text"], input[type="submit"] {
  -webkit-appearance: none;
}

/* Form labels */
/* Set label text normal (Bootsrap default: bold) */
label {
  display: block;
  font-weight: normal;
}

/* Form fieldsets and legends settings */

fieldset {
  margin-top: 10px;
}

/* Remove borders for fieldsets and set font size */
legend {
  position: relative;
  border: none;
  margin: 0;
  font-size: 18px;
}

/* Add horizontal line after fieldset legend */
legend:after {
  display: block;
  width: 100%;
  height: 16px;
  margin-top: 2px;
  border-top: 1px dashed #e7e7e7;
  content: '';
}


/* --- Static page settings (index.html etc..) --- */

.disabled {
  color: #999999;
}

.static_page {
  padding-top: 60px; /* Do not put anything under top header bar */
}

.static_page #top_headerbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100; /* Make this allways front */
}

.static_page nav {
  margin: 0;
}

.static_page nav a {
  display: block;
  padding: 10px 12px 4px 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.static_page nav a:hover {
  color: #424242;
}

.static_page nav a:focus {
  color: #424242;
}

.static_page nav .page_active a {
  color: #424242;
}

.static_page nav a.notice {
  /*color: #D61110; */
  color: #b9b8b6;
}

.static_page #footer {
  height: auto;
}

/* owl carousel slide show settings */
.owl-carousel {
  padding: 20px 20px 40px 20px;
}

.owl-buttons {
  padding-top: 10px;
  text-align: center;
}

.owl-prev,.owl-next {
  display: inline-block;
  padding: 2px 8px 2px 8px;
  border: 1px solid #e7e7e7;
  margin: 0px 2px;
  background: #f8f8f8;
  color: #bbbbbb;
  font-size: 18px;
}

.owl-prev:hover,.owl-next:hover {
  background: #3d8cc5;
  color: #ffffff;
}

/* Content section settings */
.content_sections {
  overflow: hidden;
}

.content_sections section {
  min-height: 500px;
  padding: 40px 0px;
  border-top: 1px solid #e7e7e7
}

.content_sections section.contacts {
  min-height: 500px;
  padding: 40px 0px;
  border-top: 1px solid #e7e7e7;
  background: #f7f7f7;
}

.features_section {
  text-align: center;
}

.features_section [class*="li_"] {
  font-size: 34px;   /* Make icons larger */
}

.references_section {
  /* Nothing */
}

.references_box {
  position: relative;
  padding: 10px;
  border: 1px solid #e7e7e7;
  margin: 10px 0px;
  background: #f2f2f2;
}

.reference_text {
  height: 160px;
  padding: 10px;
  font-size: 14px;
  font-style: italic;
}

.reference_client .header_text {
  margin: 0px 0px 4px 0px;
}

address .name {
  font-size: 15px;
  font-weight: 700;
}

/* --- Register page settings --- */

body.register {
  padding: 40px 0px 0px 0px;
}


/* --- Login page settings --- */

/* Move login box down */
body.login {
  padding: 80px 0px 0px 0px;
}

/* Set login box width */
.login_wrapper {
  position: relative;
  width: 360px;
  margin: 0px auto;
}

/* Login panel */
.login_panel {
  position: relative;
  padding: 20px;
  border: 1px solid #ddd;
  background: #f8f8f8;
}

.login_header {
  margin-bottom: 20px;
}

.login_header h3 {
  margin: 0;
}

.login_submit {
  padding: 10px 0px;
}

/* --- Common UI component settings -->

/* Top header bar */
#top_headerbar {
  height: 52px;
  padding: 2px 0px;
  border-bottom: 1px solid #dddddd;
  background: #2e6ba7;
}

/* Top header bar product logo */
#top_headerbar .product_logo {
  display: inline-block;
  height: 44px;
  line-height: 44px;
}

/* Top header bar new product logo */
#top_headerbar h1.logo {
  font-family: "Russo One", arial, sans-serif;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 26px;
  float: left;
  line-height: 1.8;
}

#top_headerbar h1.logo a {
  color: #fff;
}

#top_headerbar h1.logo a:hover {
  text-decoration: none;
}

#top_headerbar h1.logo a .highlight {
  color: #71c4e0;
}

/* Top header bar separator line */
.topheader_separator {
  position: relative;
  top: 4px;
  display:inline-block;
  width: 2px;
  height: 30px;
  margin: 0px 4px 0px 10px;
  background: #e7e7e7;
  text-indent: 9999px;
  vertical-align: middle;
}

/* Top header bar dropdown menus */
.topheader_dropdown {
  position: relative;
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.topheader_dropdown a {
  padding: 6px 10px 4px 10px;
  color: #ffffff;
}

.topheader_dropdown a:focus {
  color: #424242;
}

.topheader_dropdown .dropdown_icon {
  position: relative;
  display: block;
  color: #ffffff;
}

.topheader_dropdown .dropdown_icon span {
  position: absolute;
  top: -3px;
  right: -7px;
  display: block;
}

.topheader_dropdown .dropdown-menu {
  width: 220px;
  margin-left: -90px;
}

.topheader_dropdown .dropdown-menu-wide {
  width: 280px;
  margin-left: -120px;
}

.topheader_dropdown .dropdown_headerline {
  height: 32px;
  padding: 0px 10px;
  border-bottom: 1px solid #e7e7e7;
  line-height: 32px;
  font-weight: 700
}

.topheader_dropdown .dropdown_content {
  padding: 10px;
}

.topheader_dropdown .dropdown_content a {
  padding: 0px 0px 0px 2px;
  color: #0088cc;
}

.topheader_dropdown .dropdown_footerline {
  padding: 10px;
  border-top: 1px solid #e7e7e7;
}

.dropdown_item {
  margin: 0px;
  padding: 0px;
}

.dropdown_item li {
  position: relative;
  display: block;
  margin: 0px;
  list-style: none;
  font-size: 12px;
  line-height: 14px;
}

.dropdown_item li + li {
  padding-top: 5px;
  border-top: 1px solid #e7e7e7;
  margin-top: 5px
}

.dropdown_item h4 {
  margin: 0px 0px 2px 0px;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.dropdown_item h4 .date_info {
  float: right;
  margin-left: 4px;
}

.dropdown_item p {
  margin: 0;
}

.dropdown_item .date_info {
  color: #999999;
  font-weight: normal;
}

.dropdown_item .sender_info {
  padding: 2px 0px 0px 0px;
  color: #999999;
  font-weight: normal;
}

/* Footer section */
#footer_space {
  height: 120px;
  clear: both;
}

#footer {
  position: relative;
  height: 40px;
  margin-top: -42px;
  border-top: 1px solid #e7e7e7;
  background: #fafafa;
  -webkit-box-shadow: 0 2px 0 #fafafa;
  -moz-box-shadow: 0 2px 0 #fafafa;
  box-shadow: 0 2px 0 #fafafa;
  line-height: 40px;
}

#footer ul {
  overflow: hidden;
  padding: 0px;
  margin: 0px;
}

#footer li {
  display: inline-block;
  list-style: none;
  line-height: 40px
}

#footer li + li {
  padding-left: 5px;
}

.version_text {
  color: #999999;
}

/* Main navication section */
#main_navigation {
  position: relative;
  display: block;
  padding: 8px 0px;
  border-bottom: 1px solid #e7e7e7;
  background: #f9f9f9;
}

#mobile_navigation {
  display: none;
  padding: 12px 0px;
  border-bottom: 1px solid #e7e7e7;
  background: #f9f9f9;
}

.main_nav_boxes {
  list-style: none;
  padding:  0px;
  margin: 0px;
}

.main_nav_boxes li {
  float: left;
  margin: 4px 8px 4px 0px
}

.main_nav_boxes li a {
  position:relative;
  min-width: 100px;
  height: 78px;
  display: block;
  padding: 12px 4px 10px 4px;
  border: 1px solid #e7e7e7;
  background: #ffffff;
  color: #333333;
  text-align: center;
}

.main_nav_boxes li a i {
  display: inline-block;
  line-height: 30px;
}

.main_nav_boxes li a:hover,.main_nav_boxes li.active a {
  background: #4a8ec6;
  /*background: #428bca;*/
  /*background: #47a5c4;*/
}

.main_nav_boxes li a span.menu_label {
  display: block;
  padding-top: 4px;
  font-size: 12px;
  font-weight: 300;
}

.main_nav_boxes .label {
  position: absolute;
  right: -4px;
  top: -4px
}

/* Main content sections */
#wrapper_all {
  min-height: 100%;
  height: auto;
}

#main_content_outer {
  width: 100%;
  float: left;
}

#main_content {
  min-height: 1px;
  margin: 0px 0px 0px 0px;
}

#hidden_content {
  display: none;
}

#hidden_content1 {
  display: none;
}
#hidden_content2 {
  display: none;
}

.main_section {
  margin-top: 16px;
}

.panel_topline {
  padding: 10px;
  border-bottom: 1px solid #e7e7e7;
  background: #fafafa;
}

#row_space {
  height: 10px;
  clear: both;
}

/* Tabs  */

.nav-tabs > li > a {
  padding: 6px 10px;
  background: #f4f4f4;
}

.nav-tabs > li > a:hover {
  background: #f4f4f4;
  color: #333333;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  border-top-width: 0;
  padding: 6px 10px 7px 10px;
  line-height: 20px;
}

.tabbable-bordered > .nav-tabs {
  margin: 0;
  border: none;
}

.tabbable-bordered > .tab-content {
  min-height: 150px;
  padding: 10px;
  border: 1px solid #dddddd;
}

.tabbable-bordered .nav-tabs > li {
  margin-right: 2px;
}

.tabbable-bordered .nav-tabs > li > a {
  margin-right: 0;
  padding: 6px 10px;
  background: #f4f4f4;
}

.tabbable-bordered .nav-tabs > li.active {
  position: relative;
  margin-top: 0;
}

.tabbable-bordered .nav-tabs > li.active > a {
  padding:  6px 10px 8px 10px;
  border-top-width: 0;
  border-color: #ddd #ddd transparent;
  background: #ffffff;
  line-height: 20px;
  -webkit-box-shadow: 0 -2px 0 #428bca;
  -moz-box-shadow: 0 -2px 0 #428bca;
  box-shadow: 0 -2px 0 #428bca;
}

.nav-tabs > li > a:hover, .nav-tabs > li > a:focus, .tabs-below > .nav-tabs > li > a:hover, .tabs-below > .nav-tabs > li > a:focus,.tabs-left > .nav-tabs > li > a:hover, .tabs-left > .nav-tabs > li > a:focus,.tabs-right > .nav-tabs > li > a:hover, .tabs-right > .nav-tabs > li > a:focus {
  border-color:transparent;
}

/* Buttons */
.setting_btn button {
  margin-left: 14px;
}

/* Summary boxes */
.summary_box {
  position: relative;
  min-height: 60px;
  margin: 2px 0px 2px 0px;
  border: 1px solid #d3d3d3;
  background: #f7f7f7;
  text-align: center
}

.summary_box h4 {
  margin: 8px 0 2px;
  font: 300;
}

.summary_box small {
  display: block;
  color: #999999;
  font-size: 11px;
}

.peity_chart {
  padding-right: 67px;
}

.summary_box .peity_box {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 66px;
  height: 100%;
  border-left: 1px solid #e1e1e1;
  background: #eeeeee;
  text-align: center;
}

.summary_box .peity_box .peity_bar_green,
.summary_box .peity_box .peity_bar_lightgreen,
.summary_box .peity_box .peity_bar_blue,
.summary_box .peity_box .peity_bar_lightblue,
.summary_box .peity_box .peity_bar_yellow,
.summary_box .peity_box .peity_bar_orange,
.summary_box .peity_box .peity_bar_red,
.summary_box .peity_box .peity_bar_pink,
.summary_box .peity_box .peity_bar_purple,
.summary_box .peity_box .peity_bar_cyan,
.summary_box .peity_box .peity_bar_brown,
.summary_box .peity_box .peity_bar_grey,
.summary_box .peity_box .peity_bar_black {
  visibility: hidden;
}

.summary_box .peity_box .peity {
  margin-top: 16px;
}

/* Charts */
.chart_wrapper {
  padding: 10px;
}

.chart_box {
  height: 380px;
  width: 100%;
  overflow: hidden;
}

.chart_box_big {
  height: 320px;
  width: 100%;
  overflow: hidden;
}

.flot_label {
  padding: 2px 6px;
  color: white;
  font-size: 10px;
  text-align: center;
}

.legendLabel + .legendColorBox {
  padding-left: 10px
}

#flotTip {
  padding: 2px 6px;
  background: #292929;
  background: rgab(0,0,0,.8);
  color: #ffffff;
  font-size: 11px;
}

.dataitem {
  padding: 0px 0px 0px 10px;
}

.dataitem_left {
  padding: 0px 0px 0px 2px;
}

.dataitem_small {
  padding: 0px 0px 0px 0px;
  font-size: 11px;
}

.linkcell a {
  color: #333333;
}

.linkcell a:hover {
  color: #555555;
}

.linkcell a:focus {
  color: #555555;
}


.xs-margin  {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Style for OpenStreetMap */
#mapdiv {
  width: auto;
  height: 450px;
}

div.olControlAttribution {
  bottom:3px;
}

/* Form validation */

/* Parsley errors */
input.parsley-error,textarea.parsley-error,select.parsley-error {
  border: 1px solid #cc0000 !important;
  background: #fff2f2 !important;
}

.parsley-error-list {
  padding: 5px 0px 0px 0px;
  margin: 0;
}

.parsley-error-list li {
  list-style: none;
  font-size: 12px;
  color: #cc0000;
}


/* Modifications for different devices */

/* Desktops */

@media (min-width: 1200px) {
 /* Do nothing */
}

@media (max-width: 1199px) {
 [class*="col-lg"] {
  margin-bottom: 20px;
  }
}

@media (max-width: 1420px) {
 /* Do nothing */
}

/* Tablets */
@media (max-width: 1024px) {
  /* Do nothing */
}

/* Desktops, tablets */
@media (min-width: 992px) {
 /* Do nothing */
}

/* Phones, tablets and desktops  */
@media (max-width: 991px) {
  /* navigation */
  #mobile_navigation {
    display:block
  }
  .main_nav_boxes {
    font-size: 0;
    text-align: center;
    margin-top: 8px
  }
  .main_nav_boxes li {
    display: inline-block;
    margin-bottom: 8px;
    float: none
  }
  .main_nav_boxes li a {
    display: inline-block;
    min-width: 61px;
    height: auto
  }
  .main_nav_boxes li a span.menu_label {
    display: none
  }
  .main_nav_boxes li a i {
    font-size: 24px
  }
  .main_nav_boxes .label {
    display: none
  }

  #main_content {
    margin:0 !important
  }

  #style_switcher #sidebar_switch,#style_switcher #layout_switch,#style_switcher #style_pattern {display:none}
}

@media (min-width: 768px) and (max-width: 991px) {
  [class*="col-md"],[class*="col-lg"] {margin-bottom:20px}
}

/* Phones to portrait tablets ]=== */
@media (max-width: 767px) {
  body {
    padding-left: 0;
    padding-right: 0
  }

  .container {
    padding-left: 20px;
    padding-right: 20px
  }

  .col-xs-12 {
    clear: both
  }

  [class*="col-sm"],[class*="col-md"],[class*="col-lg"],[class*="col-xs"] {
    margin-bottom:20px
  }

  form [class*="col-sm"], form [class*="col-md"], form [class*="col-lg"], form [class*="col-xs"] {
    margin-bottom: 10px
  }

  #top_headerbar {
    height: 60px
  }

  #top_headerbar [class*="col-xs"] {
    margin-bottom: 0
  }

  #top_headerbar .col-xs-12 {
    padding-top: 10px
  }

  .panel_heading .form-control {
    width: 100px
  }

	.static_page #top_header {
    position: static
  }

  .static_page #top_header {
    height: auto
  }

  .static_page #top_header .col-xs-12 {
    padding-top: 0px;
    text-align: center
  }

  .static_page #top_header .col-xs-12 + .col-xs-12 {
    padding-top: 10px
  }

  body.login {
    padding-top: 20px
  }

  body.register {
    padding-top: 20px
  }

  .static_page .list-inline > li {
    padding-left: 2px;
    padding-right: 2px
  }

  .owl-carousel {
    padding: 40px 20px
  }

  .navbar {
    display: none
  }

  #footer {
    height: auto;
    line-height: 24px;
    padding: 10px 0;
    text-align: center}

  #footer li {
    line-height: 30px
  }
  #footer .text-right {
    text-align: center
  }
  #footer .row [class*="col-lg"] {
    min-height: 24px
  }
}

/* Phones */
@media (max-width: 479px) {

  .login_wrapper {
    width: 300px;
    margin: 0px auto;
    position: relative
  }
}

/* Print */
@media print {
  a[href]::after {
      content: none !important;
  }
}

/* The loader spinner */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 5s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}