html, body  {
min-height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
border: 0px;
outline: 0px;
font-size: 100%;
z-index: 1;
background: #000000ab;
font-family:Arial, Sans-Serif;
overflow: overlay;
}

/* sitas prieks particles js vajadzigs */

canvas { 
display: block;
vertical-align: bottom;
display: block;
vertical-align: bottom;
position: absolute;
top: 0%;
z-index: -1;
}

/* sitas prieks background wallpaper */
.background-video {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      object-fit: cover;}

body {
font-family:Arial, Sans-Serif;
position: absolute;
z-index: 1;
}


.clearfix:before, .clearfix:after { content: "";  } /*display: table;*/
.clearfix:after { 
clear: both; 
}


p {color:#d4d4d4; text-decoration:none;}
p:hover {text-decoration: none;}
.form{width: fit-content; margin: 0 auto;}


input[type='text'], input[type='email'], input[type='password'] {
width: -webkit-fill-available;
border-radius: 2px;
border: 1px solid #CCC; 
padding: 10px; color: #333; 
font-size: 14px; 
margin-top: 10px;
}

/* old style
input[type='submit']{
padding: 10px 25px 8px; 
color: #545454; 
background-color: #878787; 
text-shadow: rgba(0,0,0,0.24) 0 1px 0; 
font-size: 16px;  
border: 1px solid #343434; 
border-radius: 2px; 
margin-top: 10px; 
cursor:pointer;
}
*/

/* New style below */

input[type='submit']{
background-color: #878787; 
text-shadow: rgba(0,0,0,0.24) 0 1px 0;
border: 1px solid #bfbfbf; 
border-radius: 2px; 
margin-top: 1px; 
cursor:pointer;
color: #b1b1b1;
margin-bottom: 0vh;
border:none;
  border-radius: 0.35em;
  color: #333333;
  cursor: pointer;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  transition-duration: 0.5s;
  
} input[type='submit']:hover {
  background-color: #3eb89d;
 font-size: 1.1em;
  color: #b0ebff;
  box-shadow: 0px 0px 0.9em #377a94;
  text-shadow: 0px 0px 0.75em #6400b9
}  


input[type='submit']:hover {
background-color: #878787;
 font-size: 1.1em;
}


tr {
background: #3e3e3e;
color: #ebebeb;
font-size: 1em;
}


p {
font-size: 1em;
display: flex;
justify-content: center;
width: inherit;
max-width: 100%;
margin-left: auto;
margin-right: auto;
text-align: -webkit-center;
color: #d4d4d4;
}


h1 {
font-size:1em;
font-style:bold;
}


h2 {
color: #ffffff;
display: block;
margin-left: auto;
margin-right: auto;
}


h3 {
font-size: 1em;
display: flex;
justify-content: center;
width: inherit;
max-width: 100%;
margin-left: auto;
margin-right: auto;
text-align: -webkit-center;
color: #d4d4d4;

/*
color: #282828
font-size: 2em;
*/
}


h5 {
color: #ababab;
text-align: center;
max-width: 80vw;
font-size: 0.83em;
margin: 3px;
}


h6 {
margin: 0px;
color: red;
margin-left: auto;
margin-right: auto;
text-align: -webkit-center;
margin-top: 25px;
}


.izvelne {
justify-content: center;
display: flex;
flex-direction: inherit;
color: #c3c3c3;
margin-bottom: 0vh;
flex-wrap: wrap;
}


.izvelne2 {
justify-content: center;
display: grid;
}


button {
background-color: #878787; 
text-shadow: rgba(0,0,0,0.24) 0 1px 0;
border: 1px solid #bfbfbf; 
border-radius: 2px; 
margin-top: 1px; 
cursor:pointer;
color: #b1b1b1;
margin-bottom: 0vh;
border:none;
  border-radius: 0.35em;
  color: #333333;
  cursor: pointer;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  transition-duration: 0.7s;
  border: solid 0.1em silver;
  
} button:hover {
  background-color: #3eb89d;
 font-size: 1.1em;
  color: #b0ebff;
  box-shadow: 0px 0px 0.9em #377a94;
  text-shadow: 0px 0px 0.75em #6400b9
}  

td {font-size: 1em;}
tr {font-size: 1em;}


rp {
font-size: 12px;
color: #bbbbbb;
width: 107px;
height: 100px;
position: relative;
display: block;
margin-left: auto;
margin-right: auto;
left: 3px;
}


.hidden {
opacity: 0;
transition: opacity 0.5s ease;
}
.hidden:hover {
opacity: 1;
}


.footer{
position: absolute;
bottom: 0;
left: 0;
right: 0;
height:100px;
background:#ccc;
}



/* ---------------------------------------------------------------- MEDIJU QUERY PRIEKS MELNAA KVADRATA KUR IEKSA IRA TEKSTS */



@media only screen and (min-width: 1px){
.center {
margin-top:1.1em;
display: block;
margin-left: auto;
margin-right: auto;
border: solid 1px black;
border-radius: 8px;
background: #000000de;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: stretch;
opacity: 65%;
justify-content: space-evenly;
align-items: center;
margin-bottom: 2em;
}
}


@media only screen and (min-width: 240px){
.center {
margin-top:1.1em;
display: block;
margin-left: auto;
margin-right: auto;
border: solid 1px black;
border-radius: 8px;
background: #000000de;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: stretch;
opacity: 65%;
justify-content: space-evenly;
align-items: center;
width:98vw;
margin-bottom: 2em;
}
}


@media only screen and (min-width: 720px){
.center {
margin-top:1.1em;
display: block;
margin-left: auto;
margin-right: auto;
border: solid 1px black;
border-radius: 8px;
background: #000000de;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: stretch;
opacity: 65%;
justify-content: space-evenly;
align-items: center;
width:95vw;
margin-bottom: 2em;
}
}


@media only screen and (min-width: 1080px){
.center {
margin-top:1.1em;
display: block;
margin-left: auto;
margin-right: auto;
border: solid 1px black;
border-radius: 8px;
background: #000000de;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: stretch;
opacity: 65%;
justify-content: space-evenly;
align-items: center;
width: 85vw;
margin-bottom: 2em;
}
}


@media only screen and (min-width: 1920px){
.center {
margin-top:1.1em;
display: block;
margin-left: auto;
margin-right: auto;
border: solid 1px black;
border-radius: 8px;
background: #000000de;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: stretch;
opacity: 65%;
justify-content: space-evenly;
align-items: center;
width: 75vw;
margin-bottom: 2em;
}
}


@media only screen and (min-width: 2048px){
.center {
margin-top:1.1em;
display: block;
margin-left: auto;
margin-right: auto;
border: solid 1px black;
border-radius: 8px;
background: #000000de;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: stretch;
opacity: 65%;
justify-content: space-evenly;
align-items: center;
width:85vw;
margin-bottom: 2em;
}
}


@media only screen and (min-width: 9999px){
.center {
margin-top:1.1em;
display: block;
margin-left: auto;
margin-right: auto;
border: solid 1px black;
border-radius: 8px;
background: #000000de;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-content: stretch;
opacity: 65%;
justify-content: space-evenly;
align-items: center;
width:55vw;
margin-bottom: 2em;
}
}


/* ---------------------------------------------------------------------------------------- MEDIJU QUERY PRIEKS LOGO */


@media only screen and (min-width: 1px){
.bilde{
width:6em;
height: 4.2em;
margin-top: 1vh; 
border-radius: 5px; 
opacity: 60%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}

@media only screen and (min-width: 240px){
.bilde{
width:10em;
height: 5em;
margin-top: 1vh; 
border-radius: 5px; 
opacity: 100%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}



@media only screen and (min-width: 420px){
.bilde{
width: 15em;
height: 5.5em;
margin-top: 0vh; 
border-radius: 5px; 
opacity: 100%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}


@media only screen and (min-width: 720px){
.bilde{
width:15.5em;
height: 6em;
margin-top: 0vh; 
border-radius: 5px; 
opacity: 100%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}


@media only screen and (min-width: 1080px){
.bilde{
width: 18.5em;
height: 6.5em;
margin-top: 0vh; 
border-radius: 5px; 
opacity: 100%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}


@media only screen and (min-width: 1600px){
.bilde{
width: 18em;
height: 7.5em;
margin-top: 0vh; 
border-radius: 5px; 
opacity: 100%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}


@media only screen and (min-width: 1920px){
.bilde{
width: 20em;
height: 9.5em;
margin-top: 0vh; 
border-radius: 5px; 
opacity: 100%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}


@media only screen and (min-width: 2048px){
.bilde{
width: 20em;
height:8em;
margin-top: 0vh; 
border-radius: 5px; 
opacity: 100%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}


@media only screen and (min-width: 9999px){
.bilde{
margin-top: 1vh; 
border-radius: 5px; 
opacity: 40%; 
display: block;
margin-left: auto;
margin-right: auto;
}
}

 /* ------------------------ STILS PRIEKŠ LAUKIEM KURI IZLEC KAD UZSPIEŽ UZ TIEM, Ķipa papildus info. kgan huļi es to vispār taisu, kāda no tā jēga... */

.accordion {
  background-color: #131313;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color:#817d7d;
  color:#212121;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.panel1 {
  padding: 0 18px;
  display: none;
  background-color: #2e2e2e6b;
  transition: max-height 0.2s ease-out;
}




/* ----------------------------- Dropdown izvelne ---------------- */

.dropdown {
  display: inline-block;
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  color: #bfbfbf;
  padding: 5px;
  text-decoration: none;
  font-size: 0.86em;
  text-align: center;
}
.dropdown-content a:hover {
  color: #FFFFFF;
  background-color: #00A4BD;



/* ------------ TEST ------------------ */

