/* Print-specific optimizations for PDF generation */
@page {
  size: A4;
  margin: 1.5cm 1.5cm 2cm 1.5cm;
}

@media print {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Prevent page breaks inside elements */
  .tab_education,
  .soft-skills,
  h2 {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  /* Allow SAP section to break across pages if needed to fit on first page */
  .sap-section {
    page-break-inside: auto;
    break-inside: auto;
    page-break-before: avoid;
  }

  /* Allow individual rows within SAP to break */
  .sap-section tr {
    page-break-inside: auto;
    page-break-after: auto;
  }

  /* Ensure tables stay together when possible */
  table {
    page-break-inside: auto;
  }

  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }

  /* Keep headings with their content */
  h2 {
    page-break-after: avoid;
  }
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  /*background-color: rgb(70,70,70); */
  background-image: url(./img/backgroundStrip.png);
  background-repeat: repeat-x;
}

section,
nav,
footer,
header,
article {
  margin: 0;
}

#wrapper {
  margin: auto;
  position: relative;
  max-width: 60em;
  min-width: 20em;
}

.head_info {
  font-family: 'Press Start 2P', cursive;
  font-size: small;
  float: none;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0.5ex;
  text-align: right;
  color: #333;
}

.cv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5ex;
  padding-bottom: 1ex;
}

.header-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5ex;
}

.moje_meno {
  font-family: 'Comfortaa', cursive;
  /*font-family: 'Press Start 2P', cursive;*/
  font-size: xx-large;
  font-weight: 700;

  width: auto;
  float: none;

  margin-top: 0.5ex;
  /*border: solid black 2px;*/
}

.moje_meno>span {
  color: rgb(0, 102, 255);
}

#article {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 95%;

  float: left;
  clear: left;
  position: relative;

  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 2ex;
  max-width: 36.2em;

  margin-bottom: 1.5ex;
  background-color: white;

  /*box-shadow:5px 7px 7px black;
  border-radius:11px; */
}

#article H3 {
  text-align: center;
  margin: auto auto;
  width: 10em;
  clear: both;
  /*border: solid black 2px; */
}

.techno {
  font-size: 85%;
  font-weight: bolder;
}

.tdyear {
  padding-right: 0px;
}

#section_left {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;

  position: absolute;
  padding: 1em;
  padding-top: 0;
  margin-bottom: 1ex;
  width: 9em;
  right: 0;
  bottom: 0.5ex;
  top: 0ex;
  /*15ex*/
  background-color: white;
  border-left: thin dotted rgb(80, 80, 80);
  /*box-shadow:5px 7px 7px black;    */
  /*border-radius:11px;	*/

  overflow-y: auto;
  overflow-x: hidden;
  /*display: none;   */
}

#article h2 {
  text-align: left;
  color: rgb(0, 0, 0);
  font-size: medium;
  margin-bottom: 0.5ex;
  border-bottom: 1.5px solid #0066cc;
  padding-bottom: 3px;
  margin-top: 1ex;
}

.other-projects-heading {
  margin-top: 5ex !important;
  padding-top: 2ex !important;
}

#section_left h2 {
  text-align: center;
  color: rgb(0, 0, 0);
}

#section_left h6 {
  text-align: left;
  margin: 0;
  margin-top: 0.5ex;
  margin-bottom: -0.2ex;
  color: rgb(0, 0, 0);
}

#section_left h5 {
  text-align: left;
  margin: 0;
  margin-top: 1.5ex;
  margin-bottom: 0.2ex;
  color: rgb(0, 0, 0);
}

#section_left>img {
  text-align: center;
  margin: 1em 0.1em;
  width: 8.8em;
  text-decoration: none;
  border: none;
}

.left_sec {
  font-size: small;
}

#header {
  border-radius: 11px;
  margin-bottom: 1ex;
  padding-top: 1ex;
  background-color: rgb(0, 0, 0);

  background-image: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(0, #9E9C9E),
      color-stop(1, #808080));
  background-image: -o-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -moz-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -webkit-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -ms-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: linear-gradient(to bottom, #9E9C9E 0%, #808080 100%);

  height: 13ex;
  position: relative;

  box-shadow: 5px 7px 7px black;
}

#header img {
  border: 0;
}

#header .search {
  position: absolute;
  right: 1em;
  bottom: 1ex;
  width: 193px;
  height: 48px;
  border: 2px black solid;

  background-image: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(0, #9E9C9E),
      color-stop(1, #808080));
  background-image: -o-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -moz-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -webkit-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -ms-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: linear-gradient(to bottom, #9E9C9E 0%, #808080 100%);

  border-radius: 8px;
}

#header .search>img {
  width: 193px;
}

#searchInput {
  /*input text*/
  position: absolute;
  width: 140px;
  height: 28px;
  right: 44px;
  top: 6px;
  z-index: 2;
  font-size: 120%;

  border-radius: 5px;
}

#searchButton {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 35px;
  height: 35px;
}

#header>div:nth-of-type(1) {
  position: absolute;
  right: 1em;
  top: 1ex;
  font-weight: bold;
  font-size: 110%;
  color: white;
  text-decoration: underline;

  text-align: right;
}

#header>div:nth-of-type(1):first-line {
  text-decoration: none;
}

.imga>img {
  display: block;
  margin: auto;
  margin-top: 1ex;
}

#footer {
  visibility: hidden;

  position: relative;
  /*padding: 1em; */
  height: 1px;
  clear: both;
  background: rgb(150, 150, 150);
  color: white;

  /*background-image: -webkit-gradient(
    	linear,
    	left top,
    	left bottom,
    	color-stop(0, #9E9C9E),
    	color-stop(1, #808080)
    );
    background-image: -o-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
    background-image: -moz-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
    background-image: -webkit-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
    background-image: -ms-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
    background-image: linear-gradient(to bottom, #9E9C9E 0%, #808080 100%);
            
  border-radius:11px;
  box-shadow:5px 7px 7px black; */
}

#footer a {
  color: white;
}

#footer a:visited {
  color: white;
}

.sluzba {
  font-weight: bold;
  font-size: 0.9em;
  width: 15em;
  height: 8ex;
}

.footart {
  position: absolute;
  width: 10em;
  top: 1.5ex;
  left: 17em;
}

.sluzba>img {
  height: 9ex;
  float: left;
  margin-right: 1em;
  vertical-align: middle;
}

.credits {
  text-align: center;
  margin-bottom: 1ex;
}

.credits>a {
  font-weight: bold;
}

.socialButtons,
.fav-programs,
.low_edu,
#header>h1 {
  display: none;
}

.button {
  background-color: White;
  width: 50px;
  height: 40px;
  float: left;
  margin-right: 1em;
}

ul[class=hlava] {
  list-style-image: url('img/MirtanHla16.ico');
}

.innerUl {
  list-style: square url();
}

.telefon {
  width: 13em;
  border: solid rgb(0, 0, 205) 3px;
  margin: auto;
  padding: 1ex;
}

.telefon:first-line {
  margin-bottom: 0.7ex;
}

.orange {
  color: orange;
}

.blue {
  color: #3399FF;
}

.pink {
  color: #FF00CC;
}

li {
  margin-bottom: 0.8ex;
}

.video_player {
  margin-bottom: 2em;
}

#gaWrapp {
  margin-top: 15px;
  /*border: solid black 1px;*/
  position: relative;
  width: 100%;

  height: 96%;
  text-align: center;
  background-image: url('./img/backblack.png');
}

.gallerybck {
  padding-top: 20px;
  border: solid black 1px;
  text-align: center;
  background-image: url('./img/backblack.png');
}

#galleryInfo {
  width: 100%;
  padding-left: 10px;
  padding: 5px;
  margin-left: 5px;
  margin-top: 5px;
  font-size: medium;
  color: white;

  /*http://www.colorzilla.com/gradient-editor/*/
}

.textLong {
  font-weight: 500;
}

#galleryIMGwrap {
  width: 70%;
  float: right;
}

.small {
  width: 40%;
}

.mid {
  display: block;
  margin: auto;
  text-align: center;
}

.blueHeader {
  font-size: large;
  background: rgb(45, 146, 229);
  /* Old browsers */
  margin-top: 0.5ex;
  margin-bottom: 0.5ex;
  background: rgb(150, 150, 150);
  /* Old browsers */

  background-image: -webkit-gradient(linear,
      left top,
      left bottom,
      color-stop(0, #9E9C9E),
      color-stop(1, #808080));
  background-image: -o-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -moz-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -webkit-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: -ms-linear-gradient(bottom, #9E9C9E 0%, #808080 100%);
  background-image: linear-gradient(to bottom, #9E9C9E 0%, #808080 100%);
}

.dashedBorder {
  border-bottom: blue dashed 1px;
}

.signature {}

.contact {
  /*position:absolute; 
  right:0;            */
  float: none;
  width: auto;
  margin-right: 0;
  margin-top: 0;
  font-size: small;
  color: rgb(0, 102, 255);
  text-align: right;
}

.contact a {
  color: rgb(0, 102, 255);
}

.content {
  clear: both;
  padding-top: 0.5ex;
}

.progsdyfms {
  background-color: black;
  color: lime;
}

.tab_education td {
  min-width: 5em;
  padding: 0.6ex 0.8em;
}

.tab_education tr {
  padding-top: 0.05ex;
  padding-bottom: 0.05ex;
}

tr td:first-child {
  width: 6em;
}

.tab_education {
  width: 100%;
  border-collapse: collapse;
  background-color: #dcf1f8;
  margin-bottom: 1ex;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

table {
  border-collapse: collapse;
}

.paddingTop {
  border-top: 8px solid transparent;
}

.soft-skills-label {
  font-weight: bold;
  vertical-align: top;
  padding-top: 4px !important;
  font-size: 90%;
}

.soft-skills {
  font-size: 85%;
  font-style: italic;
  color: #333;
  padding-top: 4px !important;
  padding-bottom: 6px !important;
  line-height: 1.3;
}

img.fb {
  width: 30px;
  background: url(social30.png) 0 0;
}

img.gplus {
  width: 30px;
  background: url(social30.png) 30px 0;
}

img.in {
  width: 30px;
  background: url(social30.png) 60px 0;
}

img.you {
  width: 30px;
  background: url(social30.png) 90px 0;
}

img.blog {
  width: 30px;
  background: url(social30.png) 120px 0;
}

img.mail {
  width: 30px;
  background: url(social30.png) 150px 0;
}

.qr>img {
  width: 7.5em;
}

a {
  text-decoration: none;
  color: black;
}


progress {
  width: 9.5em;
  height: 14px;
  margin: 2px auto;
  display: block;
  /* Important Thing */
  -webkit-appearance: none;
  border: none;
}

/* All good till now. Now we'll style the background */
progress::-webkit-progress-bar {
  background: lightgray;
  border-radius: 50px;
  padding: 2px;
}

/* Now the value part */
progress::-webkit-progress-value {
  border-radius: 50px;
  background:
    -webkit-linear-gradient(left, rgb(51, 102, 255), rgb(0, 102, 255));

  /* Looks great, now animating it */
  background-size: 25px 14px, 100% 100%, 100% 100%;
}

progress::-moz-progress-bar {
  background: lightgray;
  border-radius: 50px;
  padding: 2px;
}

.x_small {
  font-size: x-small;
  font-weight: 500;
}

.page-break {
  page-break-before: always;
  /* or 'after' or 'inside' */
  break-before: page;
  /* modern syntax */
  padding-top: 20px;
}

/* Improve print quality for colored backgrounds */
.tab_education {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* Optimize links for print */
a[href]:after {
  content: none;
  /* Don't show URLs in print */
}

/* Better spacing for readability in print */
.techno {
  margin-top: 4px;
  display: block;
}
