/***************************************************************************/
/*  						Tric Redmine theme
/***************************************************************************/
@import url(../../base/stylesheets/application.css);

#top-menu .menu-children li a:hover {
  background: #000 !important;
}

#top-menu {
  background: #000;
}

#header > h1,
#header a,
#header {
	color: #222 !important;
}

#header {
  background: #fff;
  min-height: 45px;
  box-shadow: 0 4px 8px #999;
  z-index: 1;
}

#header > h1 {
  background: url(../images/logo-tric.png) no-repeat 10px 13px;
  padding: 20px 10px 20px 170px;
  background-size: 150px 42px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
	#header > h1 {
		/* Reference the @2x Sprite */
		background-image: url(../images/logo-tric.png);
		/* Translate the @2x sprite's dimensions back to 1x */
		background-size: 150px 42px;
	}
}

/* Main menu styles */
#main-menu {
	background-color: #e4e4e4;
  color: #222 !important;
}

#main-menu .menu-children {
  background: #000;
  padding-right: 8px;
}

#main-menu li > a {
  color: #222 !important;
  border-bottom: 2px solid #e4e4e4;
}

#main-menu li a:hover {
  border-bottom: 2px solid #000;
}

#main-menu li a.selected,
#main-menu li a.selected:hover {
  background: none;
  border-bottom: 2px solid #e42322;
}

/* Plus menu style */
#main-menu li a.new-object {
  background-color: #e4e4e4;
}

#main-menu .menu-children {
  background: #e4e4e4;
  padding-right: 8px;
  box-shadow: 0 0 15px #eee;
}

#main-menu .menu-children li {
  background: transparent;
}

#main-menu .menu-children li:hover,
#main-menu .menu-children li a:hover {
  background: #e42322;
}

#main-menu .menu-children li:last-child {
  border-bottom: none;
}

#main-menu .menu-children li a,
#main-menu .menu-children li a:hover {
  border-bottom: 0;
  text-shadow: none !important;
}

/* Content styles*/
#content {
  border-bottom: 1px solid #ddd;
}

#main {
  border-top: 1px solid #ededed;
}

#top-menu #loggedas::before {
  font-family: Font Awesome\ 5 Free;
  font-weight: 900;
  content: "\f2bd";
  padding-right: 4px;
}


/* Login styles */
body.action-login #content {
  background-image: url(../images/background-tric.jpeg) !important;
  background-size: cover !important;
}

#login-form {
  background-image: url(../images/logo-tric.png);
  background-position: center 20px;
  background-repeat: no-repeat;
  background-size: 200px 56px;
  padding-top: 80px;
  box-shadow: 0 0 25px #000 !important;
  opacity: 0.9;
}

#footer {
  background: #000;
  padding-bottom: 0;
}

.additionals-footer {
  background-image: url(../images/logo-footer.png);
  background-color: #000;
  background-size: 119px 50px;
  background-position: top 13px left;
  background-repeat: no-repeat;
  min-height: 70px;
  margin-top: 0;
  padding-top: 10px;
}

.additionals-footer,
.additionals-footer a {
  color: #fff;
}

.login-additionals {
  background: #fff;
  padding: 10px;
  border-radius: 3px;
  border: 1px solid #eee;
  opacity: 0.8;
}

#login-form input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 5px #e32522;
  border: 1px solid #e32522;
}

#login-form input#login-submit {
    background: #e32522;
    border: #e32522 1px solid;
}

#login-form input#login-submit:hover {
    background: #cb3e3c;
}


/* Mobile style colors */
@media all and (max-width: 899px) {
  /* Header background color */
  #header {
    background: #000 !important;
    top: 0;
    position: fixed;
  }
  #header,
  #header a.mobile-toggle-button {
    color: #f8f8f8 !important;
  }
}

/* Flyout menu colors */
#wrapper .flyout-menu a {
  color: #000;
}

#wrapper .flyout-menu {
  background-color: #fff;
  color: #000;
  border-left: 1px solid #eee;
}

/* Flyout menu headings background */
#wrapper .flyout-menu h3 {
  background-color: #e32522;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
}
