/* -----------------------------------------------------------------------------
   USTAWIENIA GLOBALNE
   ----------------------------------------------------------------------------- */

body {
    font-size: 9pt;
    font-family: sans-serif;
    text-align: left;
    position: relative;
}

table {
    border-spacing: 0;
    width: 100%;
}

/* -----------------------------------------------------------------------------
   USTAWIENIA DRUKU
   ----------------------------------------------------------------------------- */

@page { 
    size: A5; 
}

@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        color-adjust: exact !important;
    }
    
    .sheet {
        display: block;
    }
    
    .page-break { 
        page-break-before: always; 
    }
}

@media screen {
    .sheet {
        /*display: none;
        opacity: 0;
        overflow: hidden;*/
    }
}

/* -----------------------------------------------------------------------------
   NAGŁÓWKI
   ----------------------------------------------------------------------------- */

h1 {
    font-weight: 400;
    font-size: 1.8em;
    margin: 0; 
    padding: 0;
}

h1 span {
    color: #888;
}

/* -----------------------------------------------------------------------------
   HEADER - NAGŁÓWEK DOKUMENTU
   ----------------------------------------------------------------------------- */

header {
    border-bottom: 2px dashed #eee;
    padding: 2em 3em 0.8em 3em;
    text-align: left;
}
.first-page header {
    border-bottom: 2px solid #0955e0;
}
.last-page header p {
	float:right;
	margin:0;
	padding:0;
}
.last-page header p span {
	display:block;
	margin-top:0.4em;
    background-color: #ddd;
    padding: 0.4em 0.6em;
    border-radius: 0.4em;
    font-weight: bold;
}

header:after {
    content: " ";
    clear: both;
    display: block;
}

header h1.event-title {
    text-transform: uppercase;
    font-weight: 400;
    color: #0955e0;
}

header span.event-date {
    float: right;
    background-color: #ffd633;
    padding: 0.4em;
    border-radius: 0.4em;
    font-weight: bold;
}
header span.event-label {
	float:right;
    background-color: #eee;
    padding: 0.4em;
    border-radius: 0.4em;
    font-weight: bold;
}
header span.event-date i {
	margin-right:0.3em;
}

header img {
    height: 3em;
    width: auto;
}

header p {
    margin:0.2em 0 0 0;
    padding: 0.6em 0;
    max-width: 70%;
}

/* -----------------------------------------------------------------------------
   TAGI I METADANE WYDARZEŃ
   ----------------------------------------------------------------------------- */

.first-page section.event-meta {
    background-color: #eee;
    padding: 1.4em 3em;
	background-image:url(https://fortis.szczecin.pl/resources/fts-bg-1.png);
	background-repeat:no-repeat;
	background-position:center right;
	background-size:120px;
	display:flex;
	align-items:center;
}
.first-page section.event-meta p {
	margin:0; padding:0;
	flex-grow:1;
}
.first-page section.event-meta i {
	margin-right:1em;
	color:#555;
}

.event-tags span {
    padding: 0.1em 1em;
    font-size: 0.85em;
    margin: 0.2em 0;
    border-radius: 0.5em;
    line-height: 150%;
    background-color: #ddd;
    display: inline-block;
    color: #333 !important;
}
.event-tags span i {
	margin-right:0.3em;
}

/* -----------------------------------------------------------------------------
   GŁÓWNA TREŚĆ
   ----------------------------------------------------------------------------- */

main { 
    padding: 1em 3em; 
    position: relative; 
	z-index:999;
}
.page-content article {
	font-size:1.05em;
	line-height:140%;
}

.back-contact {
	position:absolute;
	bottom:80px;
	left:0;
	right:0;
	display:flex;
	gap:2em;
	background-image:url(https://fortis.szczecin.pl/resources/fts-bg-4.png);
	background-repeat:no-repeat;
	background-size:cover;
	justify-content:space-between;
	padding:1em 3em 3em;
	background-color:#eee;
}
.back-contact h3 {
    color: #0955e0;
	text-transform:uppercase;

}

/* -----------------------------------------------------------------------------
   FORMULARZE I OPCJE
   ----------------------------------------------------------------------------- */

main .form-options {
    list-style: none;
    padding: 0 1em; 
    margin-bottom: 1em;
}

main .form-options li {
    line-height: 2em;
    padding: 0.2em;
}

main span.box {
    display: inline-block;
    width: 2em;
    height: 2em;
    border: 1px solid #333;
    vertical-align: middle;
}

main .public-funds {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 2px dashed #aaa;
}

main .public-funds span.box {
    float: left;
}

main .public-funds p {
    padding-top: 0;
    margin-top: 0;
    margin-left: 3em;
}

main .terms {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 2px dashed #aaa;
}
.custom-notice {
	display:block;
	padding:1em;
	border-radius:0.6em;
	color:#333;
	background:#ffeb99;
	margin:0.5em 0;
}
.custom-info {
	display:block;
	padding:1em;
	border-radius:0.6em;
	background:#0955e0;
	color:#fff;
	margin:0.5em 0;
}
.custom-warning {
	display:block;
	padding:1em;
	border-radius:0.6em;
	background:#f9a199;
	margin:0.5em 0;
}

/* -----------------------------------------------------------------------------
   TABELE
   ----------------------------------------------------------------------------- */

main table {
    border-collapse: collapse;
}

main table td {
    border: 1px solid #888;
    padding: 0.5em;
    vertical-align: top;
}

main table td.address {
    width: 50%;
}

main table td span {
    display: block;
    padding: 0 0 1.5em 0;
    color: #444;
}

main table td ol {
    display: block;
    padding: 0 2em 1.2em 2em;
    margin: 0;
}

main table td ol li {
    border-bottom: 2px dotted #555;
    padding-top: 1em;
}

/* -----------------------------------------------------------------------------
   PROFIL WYKŁADOWCY
   ----------------------------------------------------------------------------- */

main .lecturer-profile-mini {
    width: 100px !important;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 2em;
    border: 3px solid #fff;
    box-shadow: 0.2em 0.5em 1.2em rgba(0,0,0,0.2);
    position: relative;
    display: block;
}

/* -----------------------------------------------------------------------------
   PODPIS I CERTYFIKAT
   ----------------------------------------------------------------------------- */

main .signature {
    text-align: right;
    font-size: 0.9em;
    padding: 1em;
}

main .signature-field {
    display: inline-block;
    width: 27em;
    border-bottom: 2px dotted #555;
}


/* -----------------------------------------------------------------------------
   KOD QR
   ----------------------------------------------------------------------------- */

.qr-code-section {
    margin-top: auto;
    text-align: right;
    padding:0;
	width:30mm;
}

.qr-code {
    width: 30mm;
    height: 30mm;
    border: 1px solid #ddd;
	border-radius:0.8em;
}

.qr-caption {
    font-size: 8pt;
    margin-top: 2mm;
    color: #666;
}

/* -----------------------------------------------------------------------------
   STOPKA
   ----------------------------------------------------------------------------- */

footer {
    position: absolute;
    background-color: rgba(255,255,255,0.9);
    bottom: 0em;
    left: 0em;
	display:flex;
	align-items:center;
	justify-content:space-between;
    text-align: left;
    right: 0em;
    padding: 1.4em 3em 1.4em;
    font-size: 0.7em;
    color: #555;
}
@media print {

	footer {
	}
}

footer .logo {
    display: block;
    margin: 1em;
    width: 70px;
}
footer p span {
	margin:0 0.6em;
	color:#888;
}
