/* Plik ze wszystkimi lokalnymi stylami Przemka - 2015-07-28 14:06 */

/* Style korygujace tresc wpisow w node'ach */

div.content-node h3 {
  margin-top: 10px;
}

div.content-node h4 {
  margin-top: 8px;
  margin-bottom: 4px;
}

div.content-node hr {
margin-top: 10px;
}

/* Above added 2017-10-17 22:44 */

/* Below added 2017-10-18 21:39 */

div.node-inner div.links {
  margin-top: 20px;
  margin-bottom: 20px;
}

/*
div.content-node div.event-nodeapi:nth-last-of-type(1) {
  margin-bottom:20px;
}
*/
/* https://learn.shayhowe.com/advanced-html-css/complex-selectors/ - czasami select nie działa... - 2017-10-18 23:32  */

div.content-node div.event-nodeapi div.event-start.dtstart {
  margin-bottom: 20px;
}
div.content-node div.event-nodeapi div.event-end.dtend {
  margin-top: -20px;
  margin-bottom: 20px;
}

/* Commented below on Bas's request - 2018-05-10 18:25 */
/* 
div#tresc_wlasciwa h1.title {
  text-transform: none;
  font-size: 14px;
  line-height: 20px;
  color: #8c2633;
}
*/


div.node-inner div.submitted {
  color:gray;
  margin-bottom: 20px;
  font-size: 10px;
}

.event-nodeapi div label {
  color: inherit;
}

.content-node p {
  margin-top: 5px;
}

.content-node p {
  line-height: 1.4em;
}
/* Added above after Michal indicated text lines in nodes were looking cramped - PK 2018-05-20 12:55 */

/*
div.content-node h2 {
  font-size: 15px;
}
*/
/* Above added 2017-11-08 14:38 ; Commented out - this setting was causing h2 to look too small. H2 in nodes now falls back on user-agent style; maybe we will want more control at some point - PK 2018-05-20 13:34 */

/* Table of webleaders - moved from css in node 418 - 2017-11-09 23:23 */
.wl_pk td {
  padding-left:3px;
  padding-right:3px;
}

.content-node ul {
  margin-top: 5px;
}
/* added 2017-11-11 11:52 */

.content-node ul li > ul {
  margin-top: 0px;
}
/* added above to prevent extra margin in embedded nested ul sublists 2017-11-11 11:57, maybe add margin-bottom 5x for all ul's? instead */

div#tresc_wlasciwa hr { /* added 2017-11-16 00:13 */
color: lightgray; 
background-color: lightgray;
}
/* Added above to force lighter separators in nodes, 2017-11-16 00:21 */

div.content-node h3 {
  font-size: 130%;
}
/* Added 2017-11-16 14:55 */

div.content-node h4 {
  font-size: 115%;
}
/* Added 2017-11-16 14:55 */

div.content-node img {
  /* max-width: 560px; */ /* modified - 2019-01-16 13:42 */
  max-width: 100%;
  height:auto;
}
/* Added 2017-12-16 00:14 - powinno zapobiec wyswietlaniu obrazków wiekszych niż szerokość srodkowego bloku w widoku node'a; corrected to 100% - 2019-01-16 13:42 */

img.pk_fullwidth {
  width: 100%;
  height:auto;
}
/* Added 2019-01-16 13:38 - class for explicitly making pics on homepage events to display / scale appropriately on small-screen devices */


div.dayview img {
  max-width: 540px;
  height:auto;
}
/* Powinno skalować do max 540 pikseli obrazki w widoku kaledarza; tu max nie moze przekraczac 540, 2018-01-15 23:25 */


table.PKspecjalizacje td {
padding-right:10px;
}
/* Moved from node 3407 (="dla_kandydatow") - 2017-11-17 21:11 */

img.right_block_bordered_img {
border: 1px solid silver;
}
/* Dla obrazków z obwódką w prawym bloku, tak jak A+ - 2017-11-17 21:11 */

table.pk_borderless_table {
border-width: 0px;
border-collapse: unset;
margin-left:10px;
}
/* Dla np tabelek na stronach zakladow, gdzie zerowa krawedz w polaczeniu z ustawieniem collapse generuje dziwna kreskę na górze, pomaga ustawienie unset - 2017-11-21 22:41 */

table#oh_pk {
margin-left: auto;
margin-right: auto;
margin-top: 10px;
margin-bottom: 10px;
border: 1px solid black;
}
table#oh_pk tbody {
border-top: 1px solid black;
}
table#oh_pk td {
padding-left:3px;
padding-right:3px;
}
/* Tabela Office hours na http://wa.amu.edu.pl/wa/duty_hours - przeniesione spod node'a + adjusted - 2017-11-23 10:31 */

table.nekrolog {
text-align:center;
font-family: 'Times New Roman', Times, serif;
font-size:16px;
font-style:italic;
font-weight:bold;
border-collapse: unset;
width:100%;
border: 4px solid black;
}
table.nekrolog td {
border: 1px solid black;
padding-bottom:8px;
padding-right:5px;
padding-left:5px;
}
/* Tabela z podstawowymi ustawieniami do nekrologów na głównej, testowane na http://wa.amu.edu.pl/wa/node/4534 - 2018-01-04 21:50 */

div#footer {
text-align: center;
}
/* Added above to align centrally the footer of the bottom of each page, PK 2018-05-11 17:18 */


div.p-like {
    line-height: 1.4em;
    margin-top: 5px;
    margin-bottom: 15px;
}
/* This class, to be entered by hand in plain text HTML editor can make divs look like p's - useful e.g. for Strona Glowna, when n'th text segment in the text is to be used as a teaser. I can then use the "Normalny (div)" for the first opening text segments, add the p-like class, and reserve the first p tag for the teaser - Added - 2019-02-01 12:38. */
/* 2019-04-12 23:27 */

/* Alert Classes below copied from Moodle 365 Boost, PK 2020-03-02 21:15 */

.alert {
 position:relative;
 padding:.75rem 1.25rem;
 margin-bottom:1rem;
 border:0 solid transparent
}

.alert-primary {
 color:#093e6d;
 background-color:#cfe4f6;
 border-color:#bcd9f2
}

.alert-secondary {
 color:#6b6e71;
 background-color:#f5f6f8;
 border-color:#f1f3f5
}

.alert-success {
 color:#306030;
 background-color:#def1de;
 border-color:#d1ebd1
}

.alert-info {
 color:#2f6473;
 background-color:#def2f8;
 border-color:#d1edf6
}

.alert-warning {
 color:#7d5a29;
 background-color:#fcefdc;
 border-color:#fbe8cd
}

.alert-danger {
 color:#712b29;
 background-color:#f7dddc;
 border-color:#f4cfce
}

.alert-light {
 color:#818182;
 background-color:#fefefe;
 border-color:#fdfdfe
}

.alert-dark {
 color:#1d1e1f;
 background-color:#d7d8d8;
 border-color:#c7c8c8
}

/* End alert classes based on Moodle */