/*

#
# --- BEGIN_HEADER ---
#
# core - site style overrides for all pages
# Copyright (C) 2003-2020  The MiG Project lead by Brian Vinter
#
# This file is part of MiG.
#
# MiG 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.
#
# MiG 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.
#
# -- END_HEADER ---
#

*/

/* MiGrid Basic skin style sheet */

body {
  /* Fonts in line with UCPH style guidelines */
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Fixed width layout in line with UCPH style guidelines */
body.staticpage {
  margin: 0 auto;
  width: 984px;
  border-right: 1px solid #CCC;
  border-left: 1px solid #CCC;
}
/* Hide systemwarn announcement 'hack' for reqoid and similar narrow pages
   where it almost always leads to overflow. */
body.staticpage #logotitle span.systemwarn {
    display: none;
}

/* adjust to fit logo background */
.sidebar-header {
  padding-left: 10px;
}
.home-nav-logo {
  background-image: url("home-logo.png");
  background-color: #147;
  width: 70px;
}

a {
  color: #0b76AE;
  /* body font selection hides bottom of e.g. urllink icons */
  font-family: Verdana, Helvetica, Aria, sans-serif;
}

a:hover, a:active {
  color: #000;
}


h1 {
  color: #eee;
  padding: 2px 4px;
}

h1.staticpage {
  border: 0;
  margin: 12px 0;
  color: #000;
  background: none;
  font-size: 18px;
  padding: 4px;
}

h2.staticpage {
  padding: 10px 2px 2px 2px;
  border-bottom: 0;
}

h3.staticpage {
  padding: 3px;
}

h4.staticpage {
  /*border: 1px solid #fff;*/
  padding: 2px;
}
/* Exclude JQuery UI accordions from padding tweaks */
h4.staticpage:not(.ui-accordion-header) {
  /*border: 1px solid #fff;*/
  padding: 2px 0px;
}

div.quickstartfields {
  color: #000;
}
div.loginfield, div.signupfield {
  display: inline-block;
  border: 2px solid #448dae;
  color: #fff;
  background-color: #0078ae;
  margin: 0px 4px;
  font-size: 12px;
  /* NOTE: narrow to fit inside UCPH/Other user tabs here */
  width: 440px;
  border-radius: 4px;
}
div.loginfield > h2, div.signupfield > h2 {
  padding: 0px;
}
div.loginfield {
    float: right;
}

table {
  /* no background color or border */
  color: #000;
  border: 0;
}

#nomenu.staticpage {
  margin: 0;
}

#content.staticpage {
  border-radius: 0;
}
.contentblock.staticpage {
  /* NOTE: spacing to footer now uses #content.staticpage instead */
}

/* Legacy nav menu */
.navmenu {
  background: white;
  border: none;
}

.navmenu ul li a:hover, .navsubmenu ul li a:hover {
  background-color: #369;
}

.navmenu ul li.selected a {
  background-color: #147;
}

.navmenu ul li a, .navsubmenu ul li a {
  /* Use defaults here */
}

.styled_button:hover {
  background-color: #369;
}

.styled_button.selected {
  background-color: #147;
}



/* Used in one place... maybe that place should be fixed? to use h1 instead */
#migheader {
  color: #eee;
  background: url("background.png") repeat scroll left center #eee;
}

#toplogo {
  border: 0;
  background: url("background.png") repeat scroll left center #eee;
  color: white;
}
#toplogo.staticpage {
  height: 36px;
  font-size: 28px;
}
#toplogoleft.staticpage {
  display: none;
}
#toplogocenter.staticpage {
  float: none;
  margin: 0;
  text-align: center;
}
#toplogoright.staticpage {
  display: none;
}
#logoimageleft {
  opacity: 1.0;
}
#logoimagecenter {
  display: none;
}
#logoimagecenter.staticpage {
  display: none;
}
#logoimageright {
  display: none;
}
#logoimageright.staticpage {
  display: none;
}
#logotitle {
  vertical-align: top;
}
#logotitle.staticpage {
  vertical-align: top;
  text-align: center;
}

#bottomspace {
  display: none;
}
#bottomlogo {
  color: #eee;
  /* repeat background tile horizontally and stretch vertically */
  background: url("background.png") repeat-x scroll left center #eee;
  background-size: auto 100%;
  height: 39px;
  border: 0;
}
#bottomlogo.staticpage {
  color: #eee;
  /* repeat background tile horizontally and stretch vertically */
  background: url("background.png") repeat-x scroll left center #eee;
  background-size: auto 100%;
  height: 39px;
  border: 0;
  padding: 10px 10px 2px 10px;
  font-size: 10px;
  font-weight: normal;
  line-height: 1.35em;
  border-bottom: 1px solid #CCC;
}
#bottomlogoleft {
  background-color: white;
  color: black;
  height: 39px;
}
#bottomlogoright {
  background-color: white;
  color: black;
  height: 39px;
}
/* We inline privacy notice as much as possible in the *-basic skins */
#bottomlogo p.privacytitle {
  display: none;
}
#privacy {
  /* use defaults */
}
#credits {
  /* use defaults */
}

.even_row {
  background: #eef;
}

.odd_row {
  background: #ddf;
}

.settingsbutton {
  background-color: #fff;
}
a:hover.settingsbutton {
  background-color: #eef;
  color: #147;
}
.activebutton {
  border: 2px solid #369;
  background-color: #acf;
  color: white;
}

.genericbutton {
  border: 1px solid #666;
  background-color: #fff;
  color: #147;
}
a.genericbutton {
  font-weight: normal;
}
a:hover.genericbutton {
  font-weight: normal;
  border: 1px solid #147; 
  background-color: #369;
  color: #fff;
}

/* Override colors on 2FA dialog */
#twofactorbox input[type=submit] {
    background-color: #369;
}
#twofactorbox input[type=submit]:hover {
    background-color: #147;
}

#sitefeedback-button {
    color:#147;
}


/* IMPORTANT: these overrides must come after .*link settings to work */
.owner {
  border: 1px solid gold;
}
.member {
  background-color: transparent;
}
.public {
  background-color: silver;
}
