/* Redmine - project management software
 * Copyright (C) 2006-  Jean-Philippe Lang
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 *  of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA. */

@import url("/assets/application-863e4c2d.css");

body, #wrapper { background-color:#EEEEEE; }
#header, #top-menu { margin: 0px 10px 0px 11px; }
#main { background: #EEEEEE; margin: 8px 10px 0px 10px; }
#content, #main.nosidebar #content { background: #fff; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; border-left: 1px solid #d7d7d7; border-top: 1px solid #d7d7d7; }
#footer { background-color:#EEEEEE; border: 0px; }

/* Headers */
h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}

/* Menu */
#main-menu li a { background-color: #507AAA; font-weight: bold;}
#main-menu li a:hover { background: #507AAA; text-decoration: underline; }
#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#EEEEEE; }
#main-menu li a.new-object { background-color:#507AAA; text-decoration: none; }

#main-menu .menu-children {
  border-right: 1px solid #507AAA;
  border-bottom: 1px solid #507AAA;
  border-left: 1px solid #507AAA;
}
#main-menu .menu-children li a:hover { background-color: #507AAA;}


/* Tables */
table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }
table.list thead th {
    border-width: 1px;
    border-style: solid;
    border-top-color: #d7d7d7;
    border-right-color: #d7d7d7;
    border-left-color: #d7d7d7;
    border-bottom-color: #999999;
}

/* Issues grid styles by priorities (provided by Wynn Netherland) */
table.list tr.issue a { color: #666; }

tr.odd.priority-highest, table.list tbody tr.odd.priority-highest:hover { color: #900; font-weight: bold; }
tr.odd.priority-highest { background: #ffd4d4; }
tr.even.priority-highest, table.list tbody tr.even.priority-highest:hover { color: #900; font-weight: bold; }
tr.even.priority-highest { background: #ffc4c4; }
tr.priority-highest a, tr.priority-5:hover a { color: #900; }
tr.odd.priority-highest td, tr.even.priority-highest td { border-color: #ffb4b4; }

tr.odd.priority-high2, table.list tbody tr.odd.priority-high4:hover { color: #900; }
tr.odd.priority-high2 { background: #ffd4d4; }
tr.even.priority-high2, table.list tbody tr.even.priority-high4:hover { color: #900; }
tr.even.priority-high2 { background: #ffc4c4; }
tr.priority-high2 a { color: #900; }
tr.odd.priority-high2 td, tr.even.priority-high4 td { border-color: #ffb4b4; }

tr.odd.priority-high3, table.list tbody tr.odd.priority-high3:hover { color: #900; }
tr.odd.priority-high3 { background: #fff2f2; }
tr.even.priority-high3, table.list tbody tr.even.priority-high3:hover { color: #900; }
tr.even.priority-high3 { background: #fee; }
tr.priority-high3 a { color: #900; }
tr.odd.priority-high3 td, tr.even.priority-high3 td { border-color: #fcc; }

tr.odd.priority-lowest, table.list tbody tr.odd.priority-lowest:hover { color: #559; }
tr.odd.priority-lowest { background: #f2faff; }
tr.even.priority-lowest, table.list tbody tr.even.priority-lowest:hover { color: #559; }
tr.even.priority-lowest { background: #eaf7ff; }
tr.priority-lowest a { color: #559; }
tr.odd.priority-lowest td, tr.even.priority-lowest td { border-color: #add7f3; }

/* Buttons */
input[type="button"], input[type="submit"], input[type="reset"] { background-color: #f2f2f2; color: #222222; border: 1px outset #cccccc; }
input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { background-color: #ccccbb; }

/* Fields */
input[type="text"], input[type="password"], textarea, select { border: 1px solid #d7d7d7; }
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus { border: 1px solid #888866; }
option { border-bottom: 1px dotted #d7d7d7; }

/* Misc */
.box { background-color: #fcfcfc; }
/* ===============================
   Qaz OS Premium Login v2
================================ */

body.controller-account.action-login #top-menu,
body.controller-account.action-login #main-menu,
body.controller-account.action-login #quick-search,
body.controller-account.action-login #project-jump,
body.controller-account.action-login #footer,
body.controller-account.action-login .lost_password,
body.controller-account.action-login label {
  display: none !important;
}

body.controller-account.action-login {
  background:
    radial-gradient(circle at 20% 20%, rgba(45,111,168,.35), transparent 28%),
    radial-gradient(circle at 80% 25%, rgba(24,54,84,.35), transparent 30%),
    linear-gradient(135deg, #071523 0%, #10283f 45%, #e9edf3 45%, #f7f9fc 100%) !important;
  min-height: 100vh !important;
}

body.controller-account.action-login #header {
  height: 92px !important;
  background: rgba(7,21,35,.72) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

body.controller-account.action-login #header h1 {
  color: transparent !important;
  font-size: 0 !important;
  margin: 0 !important;
  padding: 0 32px !important;
  line-height: 92px !important;
}

body.controller-account.action-login #header h1:before {
  content: "Qaz OS";
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.8px;
}

body.controller-account.action-login #header:after {
#  content: "Enterprise Ticket Platform";
  position: absolute;
  left: 34px;
  top: 58px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  letter-spacing: .6px;
}

body.controller-account.action-login #qaz-login-link {
  position: fixed !important;
  top: 30px !important;
  right: 36px !important;
  z-index: 99999 !important;
}

body.controller-account.action-login #qaz-login-link a {
  color: #fff !important;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.controller-account.action-login #content {
  background: transparent !important;
  border: 0 !important;
  padding-top: 105px !important;
}

body.controller-account.action-login #login-form {
  width: 430px !important;
  margin: 0 auto !important;
  padding: 42px !important;
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(255,255,255,.75) !important;
  border-radius: 24px !important;
  box-shadow: 0 35px 90px rgba(0,0,0,.24) !important;
}

body.controller-account.action-login #login-form:before {
  content: "Вход в систему";
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #10283f;
  margin-bottom: 8px;
}

body.controller-account.action-login #login-form:after {
#  content: "Введите логин и пароль для доступа к Qaz OS";
  display: block;
  font-size: 13px;
  color: #6b7785;
  margin-top: -178px;
  margin-bottom: 154px;
}

body.controller-account.action-login input[type=text],
body.controller-account.action-login input[type=password] {
  width: 100% !important;
  height: 54px !important;
  border: 1px solid #d9e1ea !important;
  border-radius: 14px !important;
  padding: 0 16px !important;
  margin-bottom: 16px !important;
  box-sizing: border-box !important;
  font-size: 15px !important;
  background: #fff !important;
}

body.controller-account.action-login input:focus {
  border-color: #1d5f99 !important;
  box-shadow: 0 0 0 4px rgba(29,95,153,.12) !important;
  outline: none !important;
}

body.controller-account.action-login #login-submit {
  width: 100% !important;
  height: 54px !important;
  background: linear-gradient(135deg, #183654 0%, #0c2238 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 14px 28px rgba(16,40,63,.28);
}
/* Mobile адаптация */

@media (max-width: 768px) {
  body.controller-account.action-login #qaz-login-link {
    left: 18px !important;
    right: auto !important;
    top: 24px !important;
  }

  body.controller-account.action-login #header h1 {
    padding-left: 20px !important;
  }

  body.controller-account.action-login #header:after {
    left: 22px !important;
    top: 58px !important;
    font-size: 11px !important;
  }

  body.controller-account.action-login #login-form {
    width: calc(100% - 40px) !important;
    margin: 30px auto !important;
    padding: 28px !important;
    border-radius: 18px !important;
  }

  body.controller-account.action-login input[type=text],
  body.controller-account.action-login input[type=password],
  body.controller-account.action-login #login-submit {
    height: 52px !important;
    font-size: 16px !important;
  }
}
