/*
 * Default CSS styles
 *
 * Copyright (C) 2008-2009  DTPA FSci MU
 * Author: Gabriel Szász <gszasz@physics.muni.cz>
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 * This file is part of Phoenix Website (<https://phoenix.physics.muni.cz>).
 *
 * Phoenix Website 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 3 of the License, or (at your option)
 * any later version.
 *
 * Phoenix Website 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 Phoenix Website.  If not, see <https://www.gnu.org/licenses/>.
 */

/* --------------------------------------- */
/* Common styles                           */
/* --------------------------------------- */

html, body, input {
  color: black;
  background: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  margin: 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: white;
  min-height: 500px;
  text-align: center;
}  

h1, h2, h3, h4 {
  font-family: Arial, Helvetica, sans-serif;
}

h1 { font-size: 18px; font-weight: bold; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
h4 { font-size: 12px; font-style: italic; }

a:link, a:visited, a:active, a:hover { 
  color: #223377;
  text-decoration: none;
}

.bold {
  font-weight: bold;
}

.underline {
  text-decoration: underline;
}

.black  {
  color: black;
}

.blue {
  color: blue;
}

.red {
  color: red;
}

.green {
  color: green;
}

.yellow {
  color: black;
  background-color: yellow;
}

a.email  {
  color: blue;
}

p {
  text-align: justify;
}

#page  {
  width: 995px;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5em;
  text-align: left;
}

#header-graphic  {
  position: relative;
  width: 995px;
  height: 136px;
  background: black url("../images/title.jpg") top left no-repeat; 
}

#menu-bar  {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 995px;
  height: 25px;
  margin: 0;
  padding: 0;
}

#menu  {
  margin: 0;
}

#menu ul  {
  position: relative;
  margin: 0;
  font-weight: bold;
  font-size: 13px;
  padding: 4px 0 4px 0;
  margin: 0;
}

#menu li  {
  margin: 0;
  padding: 0;
  display: inline;
  list-style: none;
}

#menu li a  {
  color: white;
  margin: 0;
  padding: 4px 0.6em 4px 0.7em;  
  text-decoration: none;
}

#menu li a:link,
#menu li a:visited,
#menu li a:active  {
  color: white;
}
#menu li a:hover  {
  color: #CCF;
  background: black;
}

#menu li.current a:link,
#menu li.current a:visited, 
#menu li.current a:active,
#menu li.current a:hover  {
  color: yellow;
}

#navigation-bar  {
  position: relative;
  height: 1.1em;
  padding-top: 0.1em;
  font-size: 9pt;
  padding-bottom: 0.3em;
  background: #E6E6E6;
}

#navigation a:link,
#navigation a:visited,
#navigation a:active,
#navigation a:hover  {
  color: #223377;
}

#navigation-bar .message  {
  padding-left: 0.2em;
  font-weight: bold;
}

#navigation  {
  padding-left: 0.1em;
  font-weight: bold;
}

#navigation .current  {
  text-decoration: underline;
}
 
#submenu-sidebar  {
  float: left;
  width: 190px; 
  margin-right: 0.5em;
}

#submenu  {
  background: #396888;
}

#submenu-footer  {
  padding: 0.5em;
  font-size: 10pt; 
}

#submenu ul  {
  width: 190px;
  margin: 0;
  padding: 0.4em 0 0.4em 0;
  font-weight: bold;
  font-size: 10pt;
}

#submenu li  {
  width: 190px;
  margin: 0;
  padding: 0px;
  list-style: none;
}

#submenu li a  {
  display: block;
  width: 180px;
  color: white;
  margin: 0;
  padding: 3px 5px 3px 5px;
  text-decoration: none;
  border-top: solid 1px white;
}

#submenu li a:link,
#submenu li a:visited,
#submenu li a:active  {
  color: white;
}
#submenu li a:hover  {
  color: #CCF;
  background: black;
}

#submenu li.current a:link,
#submenu li.current a:visited, 
#submenu li.current a:active,
#submenu li.current a:hover  {
  color: yellow;
}

 
#header  {
  margin: 0;
  margin-bottom: 1em;
  padding: 0;
  padding-left: 35px;
  border-bottom: solid 1px;
}

#footer  {
  margin-top: 1em;
  font-size: 10px;
  text-align: center;
  border-top: solid 1px;
}

#content-area  {  
  position: relative;
  float: left;
  margin: 0;
  padding: 0;
  padding-bottom: 0.5em;  
}

#content-wrapper  {
  position: relative;
  float: left;
  width: 995px;
  margin: 0;
  padding: 0;
}

#content-area.with-sidebar #content-wrapper  {
  padding-right: 1.5em;
  border-right: solid 1px black;
  width: 770px;
}

#main-area.with-submenu #content-wrapper  {
  width: 770px;
}

#main-area.with-submenu #content-area.with-sidebar #content-wrapper  {
  width: 572px;
}

#content, #content-header, #content-footer  {
  position: relative; 
  margin-left: 1em;
  margin-right: 1em; 
}

#content ol, #content-header ol, #content-footer ol  {
  margin-left: 1.5em;
  padding-left: 0;
}

/*
#content ol  {
  list-style-type: none;
  counter-reset: item;
  margin-left: 1.5em;
  padding-left: 0;
}

#content ol li:before {
  content: counter(item) ". ";
  counter-increment: item;
}
*/

#content-sidebar  {
  position: relative;
  float: left;
  width: 190px;
  margin: 0;
  padding: 0;  
}

.registration-form  {
  position: relative;
  margin-left: 3em;
  margin-right: 3em;
}

/* Event Announcer */
.event-announcer .date  {
  font-weight: bold;
}

.event-announcer .entry  {
  margin: 0;
  margin-bottom: 0.5em;
  padding: 0.5em;
  padding-left: 0.6em;
  font-size: 9pt;
}


/* Registration Form */
.registration-form table td  {
  margin: 0;
  padding: 2px;
  text-align: left;
}

.registration-form .field  {
  width: 500px;
  padding: 2px;
  border: solid 1px #223377;
  background: white;  
}

.registration-form input.button  {
  padding: 1px 6px 1px 6px;
  font-weight: bold;
  font-size: 10pt;
  color: white;
  background: #223377;
}

.error_message  {
  margin: 1em;
  font-weight: bold;
  color: red;
}

/* List of Participants */
.participant-list {
  padding-left: 1em;
}

.participant-list table  {
  padding: 0;
  border-spacing: 0; 
  width: 100%;
}

.participant-list table th  {
  margin: 0;
  padding: 1px 10px 1px 10px;  
  text-align: left;
  background: #223377;
  color: white;
}

.participant-list table td  {
  margin: 0;
  padding: 2px 10px 2px 10px;
  text-align: left;
}

.participant-list table tr.even td  {
  background: #E6E6E6;
}

.participant-list table tr.odd td  {
  background: white;
  
}

.participant-list table tr.invalid td  {
  background: red;
}

.participant-list table tr.incomplete td  {
  background: yellow;
}

.participant-list table tr.redundant td  {
  background: green;
}


.participant-list table tr.last td  {
  border-bottom: solid 2px #223377;
}

/* Poster Review Schedule */
.poster-reviews {
  padding-left: 1em;
}

.poster-reviews table  {
  padding: 0;
  border-spacing: 0; 
  width: 100%;
}

.poster-reviews table th  {
  margin: 0;
  padding: 1px 10px 1px 10px;  
  text-align: left;
  background: #223377;
  color: white;
}

.poster-reviews table td  {
  margin: 0;
  padding: 2px 10px 2px 10px;
  text-align: left;
}

.poster-reviews table tr.even td  {
  background: #E6E6E6;
}

.poster-reviews table tr.odd td  {
  background: white;
  
}
.poster-reviews table tr.last td  {
  border-bottom: solid 2px #223377;
}

/* List of Abstracts */
.abstract-list {
  padding-left: 1em;
}

/* List of Papers */
.paper-list {
  padding-left: 1em;
}

.paper-list table  {
  padding: 0;
  border-spacing: 0; 
  width: 100%;
}

.paper-list table th  {
  margin: 0;
  padding: 1px 10px 1px 10px;  
  text-align: left;
  background: #223377;
  color: white;
}

.paper-list table td  {
  margin: 0;
  padding: 2px 10px 2px 10px;
  text-align: left;
}

.paper-list table tr.even td  {
  background: #E6E6E6;
}

.paper-list table tr.odd td  {
  background: white;
  
}

.paper-list table tr.last td  {
  border-bottom: solid 2px #223377;
}

/* List of Posters */
.poster-list {
  padding-left: 1em;
}

.poster-list table  {
  padding: 0;
  border-spacing: 0; 
  width: 100%;
}

.poster-list table th  {
  margin: 0;
  padding: 1px 10px 1px 10px;  
  text-align: left;
  background: #223377;
  color: white;
}

.poster-list table td  {
  margin: 0;
  padding: 2px 10px 2px 10px;
  text-align: left;
}

.poster-list table tr.even td  {
  background: #E6E6E6;
}

.poster-list table tr.odd td  {
  background: white;
  
}
.poster-list table tr.last td  {
  border-bottom: solid 2px #223377;
}

/* List of Abstracts */
.abstract-list {
  padding-left: 1em;
}

.abstract-list table  {
  padding: 0;
  border-spacing: 0; 
  width: 100%;
}

.abstract-list table th  {
  margin: 0;
  padding: 1px 10px 1px 10px;  
  text-align: left;
  background: #223377;
  color: white;
}

.abstract-list table th .number  {  
  float: left;
}

.abstract-list table th .participant  {  
  float: right;
}

.abstract-list table td  {
  margin: 0;
  padding: 2px 10px 2px 10px;
  text-align: left;
}

.abstract-list table td.justified  {
  text-align: justify;
}

.abstract-list table tr.even td  {
  background: #E6E6E6;
}

.abstract-list table tr.odd td  {
  background: white;
  
}

.abstract-list table tr.last td  {
  border-bottom: solid 2px #223377;
}

/* ---------------------------------------- */
/* Engine dependent styles                  */
/* ---------------------------------------- */

/* filter_query_form.php */

table.filter_query_form  {
  font-size: 9pt;
}

table.filter_query_form a  {
  text-decoration: none;
  font-weight: bold;
  color: black;
}
table.filter_query_form tr.odd  {
  background-color: #BFBFBF;
}

table.filter_query_form tr.even  {
  background-color: #DFDFDF;
}

/* ---------------------------------------- */
/* File dependent styles                    */
/* ---------------------------------------- */

/* index.php */
#index ul.menu li {
  list-style: none;
}

/* credits.php */
#credits .credits  {
  margin: 1.5em 1.5em 1.5em 1.5em;
}

#credits .address  {
  color: #61BEE1;
  font-size: 10pt;
}

/* data_query.php & phased_query.php */
#data_query h3, #phased_query h3 {
  margin-left: 0;
}

#data_query table.star_query, #phased_query table.star_query {
  margin-left: 20px;
  margin-bottom: 10px;
}

/* data_result.php & phased_result.php */
#data_result table.result, #phased_result table.result  {
  margin-bottom: 1em;
}

#data_result table.result thead, #phased_result table.result thead  {
  background-color: #BFBFBF;
}

#data_result table.result tfoot, #phased_result table.result tfoot {
  background-color: #BFBFBF;
}

#data_result table.result tbody, #phased_result table.result tbody {
  background-color: #DFDFDF;
}


/* article_result.php */
#article_result table.result  {
  margin-bottom: 1em;
}

#article_result table.result thead  {
  background-color: #BFBFBF;
}

#article_result table.result tfoot {
  background-color: #BFBFBF;
}

#article_result table.result tbody tr.odd {
  background-color: #DFDFDF;
}

#article_result table.result tbody tr.even {
  background-color: #BFBFBF;
}


/* article_data_result.php */
#article_data_result table.result  {
  margin-bottom: 1em;
}

#article_data_result table.result thead  {
  background-color: #BFBFBF;
}

#article_data_result table.result tfoot {
  background-color: #BFBFBF;
}

#article_data_result table.result tbody tr.odd {
  background-color: #DFDFDF;
}

#article_data_result table.result tbody tr.even {
  background-color: #BFBFBF;
}


/* observations.php */
#observations table.result  {
  margin-bottom: 1.5em;
}

#observations table.result thead  {
  background-color: #BFBFBF;
}

#observations table.result tfoot  {
  background-color: #BFBFBF;
}

#observations table.result tr.odd  {
  background-color: #DFDFDF;
}

#observations table.result tr.even  {
  background-color: #BFBFBF;
}

/* systems.php */
#systems h3  {
  margin-left: 35px;
  font-size: 20px;
}

#systems .table  {
  margin-left: 10px;
}

#systems .references  {
  margin-left: 50px;
  margin-bottom: 1.5em;
  font-size: 16px;
}

/* ../pilot/index.html */
#redirect p.link  {
  margin-left: 35px;
}
