﻿/* Internet Explorer------------*/
article, aside, details, dialog, figcaption, figure, footer, header, main, nav, section 
{
	display:block;
	
}
@media screen and (max-width: 576px) {
  .my-element {
    font-size: 12px;
  }
}

@media screen and (min-width: 1200px) {
  .my-element {
    float: left;
    width: 50%;
  }
}

audio, canvas, embed, keygen, meter, progress, video 
{
	display:inline-block;
}

[hidden] 
{
	display:none;
}
/* Internet Explorer------------*/


body
{
	margin:auto;
	padding:0;
	background-image:url(obrazki/bodykarbon1.jpg);
	font-family:Arial, sans-serif;
	font-size:18px;
	background-color: black;
}

div.header_bg
{
	/*background-color:#000000;*/
	width:100%;
	height:170px;
}

div.header_bg header.head_main
{
	width:95%;
	height:170px;
	margin:auto;  
	position:center;
	background-image:url(obrazki/lm.png);
	background-repeat:no-repeat;
	background-position:20px 10px;
	border-left: 2px solid #AFAFAF;
	border-top: 2px solid #AFAFAF;
	border-right: 2px solid #AFAFAF;
	border-top-left-radius:15px;
	border-top-right-radius:15px;
	background-color:#000000;
}

header.head_main h1.page_title
{
	color: red;
	text-align: center;
	font-size:20px;
	font-weight:bold;
	width: 50%;
	margin-top:40px;
	margin-left:30%;
	background-color:#000000;
	border-radius:7px;
}
		
nav
{
	width:95%;
	height:5%x;
	margin:auto;
	background-color:#BFBFBF;
	border-left: 2px solid #AFAFAF;
	border-right: 2px solid #AFAFAF;
}		

a
{
	text-decoration:none;
	color:white;
	font-weight:bold;
	font-size:14px;
	line-height: 30px;
	margin-left: 3px;
	padding:3px;
	background-color:#2b4e96;
	border-radius:3px;
}

a:hover
{
	color:#FF0000;
	background-color:#5a7aba;
}

div.main
{
	width:95%;
	height:95%;
	margin:auto;  	
	background-color:#6F6F6F;
	border-left: 2px solid #AFAFAF;
	border-right: 2px solid #AFAFAF;
}

div.main main
{
	position:relative;
	width:98%;
	height:100%;
	margin:auto;  
	top:5px;
	background-color:transparent;
}

main article.article_1
{
	display: block;
	position:relative;
	width:100%;
	height:auto;
	float: relative;
	background-color:white;
}

div.art_div1
{
	display: block;
	position:relative;
	width:100%;
	height:100%;
	padding-left:3px;
	padding-right:3px;
	background-color:transparent;
	overflow:auto;
	margin: auto;
	white-space:pre-line;
}

div.art_div2
{
	display: block;
	position:relative;
	width:100%;
	height:100%;
	padding-left:3px;
	padding-right:3px;
	background-color:transparent;
	overflow:visible;
	margin: auto;
	word-wrap: break-word;
	overflow-wrap: break-word;
}


table.wrapping td, .break-word {
      white-space: normal !important;
      word-wrap: break-word;
   }	

p
{
	text-indent:10px;
	text-align:center;
	 margin: 0 auto;
}

	div.select
{
	text-indent:9px;
	text-align:center;
    margin-left: auto;
    margin-right: auto;
    width:100%;
	height:100%;
	text-decoration:red;
	}
	
	
div.prawa
{
    text-align: right;
}

div.footer_bg
{
/*	background-color:#000000;*/
	width:100%;
	height:30px;
	
}

div.footer_bg footer.footer_main
{
	width:95%;
	height:30px;
	margin:auto;
	color:#FFFF00;
	text-align:center;
	font-size:12px;
	font-weight:bold;
	line-height:30px;
	letter-spacing:5px;
	background-color:#6F6F6F;
	border-bottom-left-radius:20px;
	border-bottom-right-radius:20px;
	border-left: 2px solid #AFAFAF;
	border-right: 2px solid #AFAFAF;
	
}
div.container
{
	color:white;
	text-align: center;
	font-weight:bold;
	background-image:url(obrazki/bodyf.jpg);
	background-repeat:no-repeat;
	background-position:center 25px;
	background-size: 5%;
	height:100px;
}




table 
{
   # color: #333;
   # background: white;
   # border: 1px solid #888;
	border: 1px solid ;
   # font-size: 12pt;
   border-collapse: separate;
   border-spacing: 0;
   border-radius: 3px;
  #  font-family: Arial, Helvetica, sans-serif;
  table-layout: auto;   /* 🔥 bardzo ważne */
   width: 90%;
   
}

table th,
table td 
{
    /* padding: 1rem; */
    border: 1px solid #888;
    # Stext-align: left;
    /* white-space: nowrap; */
   # color: #777;
    white-space: normal;        /* pozwala łamać tekst */
    word-wrap: break-word;      /* starsze przeglądarki */
    overflow-wrap: break-word;  /* nowsze przeglądarki */
}

table th 
{
    background-color: #888;
    color: #fff;
}

table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

table tbody td[scope=row] {
	background-color: #888;
    color: #fff;
    position: sticky;
    left: 0;
    z-index: 9;
    box-shadow: 1px 0 2px rgba(1, 0, 0, 0.2);
    overflow: auto;
}
table td div {
    white-space: normal !important;
}
td .limit {
    max-height: 60px;
    overflow: auto;
}

/* Style domyślne (dla urządzeń mobilnych - mobile first) */
body {
    background-color: lightblue;
}

/* Style tylko dla ekranów o szerokości co najmniej 600px */
@media screen and (min-width: 600px) {
    body {
        background-color: green;
    }
}

.timer {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 10px;
}

.timer.ok {
    color: green;
}

.timer.expired {
    color: red;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.3; }
}
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.devices-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* żeby nie ściskało za bardzo */
}

/* TELEFON */
@media (max-width: 768px) {
    .devices-table {
        font-size: 12px;
        min-width: 500px;
    }

    .devices-table td,
    .devices-table th {
        padding: 6px;
    }
}

/* BARDZO MAŁE EKRANY */
@media (max-width: 480px) {
    .devices-table {
        font-size: 11px;
        min-width: 450px;
    }
}