@page {
  margin: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #444444;
  margin: 0;
  /* background-image: linear-gradient(to bottom, #e1bc5d 0%, #e1bc5d 50%, #bda669 100%); */
  height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/*
body.single-cv header::before {
  content: '';
  height: 210px;
  width: 100%;
  background: #444444;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0
}
*/

body.single-cv .site-header,
body.single-cv footer {
  display: none;
}

body.single-cv .site-main {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 10px 30px 30px 30px;
  position: relative;
}




body.single-cv #credit {
  margin: 0;
  text-align: right;
  font-size: 0.6em;
  position: relative;
  color: #ccaf65;
}

body.single-cv #credit .custom-logo {
  max-width: 25px;
}


body.single-cv .entry-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  color: #d8a219
	  
}

body.single-cv .post-thumbnail {
  display: flex;
  justify-content: center;
  margin: auto;
  border-radius: 50%;
  background: white;
  width: 200px;
  height: 200px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

/*
body.single-cv::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 250px;
  background: #000000;
  top: 0;
  left: 0;
}
*/
body.single-cv .post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover
}
body.single-cv .main-info {
  margin: 40px 0 40px 0;
  padding: 10px;
  border: 1px solid #bebebe;
}

body.single-cv .main-info .info {
  margin-bottom: 10px;
	  border-bottom: 1px solid #bebebe;
}

body.single-cv .cv-dob,
body.single-cv .cv-location,
body.single-cv .cv-phone,
body.single-cv .cv-bio {
  margin-bottom: 10px;
}

body.single-cv h1,
body.single-cv h2,
body.single-cv h3,
body.single-cv h4,
body.single-cv h5,
body.single-cv h6 {
  margin: 0;
  color: #333;
  font-weight: bold;
}


body.single-cv .entry-footer {
  text-align: right;
}

body.single-cv .print-button {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

body.single-cv .print-button:hover {
  background-color: #555;
}

.cv-roles-container {
  margin-top: 10px;
  margin-bottom: 20px;
}

.cv-roles-row {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.cv-roles-dates {
  font-weight: bold;
}

.cv-start-date,
.cv-end-date {
  display: inline-block;
}

.cv-roles-info {
    flex-wrap: wrap;
    padding: 10px;
    border: 1px solid #bebebe;
}

.cv-role-property {
    margin-right: 20px;
    margin-top: 5px;
    display: block;
    border-bottom: 1px solid #bebebe;
}



@media (max-width: 767px) {

  body.single-cv .site-main {
    padding: 15px;
  }
  body.single-cv {
    padding: 20px;
  }
}

@media print {
  @page {
    margin: 0px;
  }
  body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #acacac;
    margin: 0;
    background-image: linear-gradient(to bottom, #e1bc5d 0%, #e1bc5d 50%, #bda669 100%);
    height: 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

   #back-gold, #back-black {
    display: none;
}
  
  body.single-cv {
    padding: 40px;
  }
  
  dbody.single-cv header::before {
    content: '';
    height: 210px;
    width: 100%;
    background: #444444;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0
  }
  
  
  body.single-cv .site-header,
  body.single-cv footer {
    display: none;
  }
  
  body.single-cv .site-main {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px 30px 30px 30px;
    position: relative;
  }
  
  
  
  
  body.single-cv #credit {
    padding-bottom: 30px;
    margin: 0;
    text-align: right;
    font-size: 0.6em;
    position: relative;
    color: #d8a219;
  }
  
  body.single-cv #credit .custom-logo {
    max-width: 25px;
  }
  
  
  body.single-cv .entry-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    color: #d8a219
  }
  
  body.single-cv .post-thumbnail {
    display: flex;
    justify-content: center;
    margin: auto;
    border-radius: 50%;
    background: white;
    width: 200px;
    height: 200px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  body.single-cv::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 250px;
    background: #000000;
    top: 0;
    left: 0;
  }
  
  body.single-cv .post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover
  }
  body.single-cv .main-info {
    margin: 40px 0 40px 0;
  }
  
  body.single-cv .main-info .info {
    margin-bottom: 10px;
  }
  
  body.single-cv .cv-dob,
  body.single-cv .cv-location,
  body.single-cv .cv-phone,
  body.single-cv .cv-bio {
    margin-bottom: 10px;
  }
  
  body.single-cv h1,
  body.single-cv h2,
  body.single-cv h3,
  body.single-cv h4,
  body.single-cv h5,
  body.single-cv h6 {
    margin: 0;
    color: #333;
    font-weight: bold;
  }
  
  
  body.single-cv .entry-footer {
    text-align: right;
  }
  
  body.single-cv .print-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  body.single-cv .print-button:hover {
    background-color: #555;
  }
  

  body {
    margin: 0.2cm;
  }
  #print-button,
  body.single-cv footer {
    display: none;
  }
}

#back-gold {
	  width: 100%;
  rect {
  width: 100%;
  height: 100%;
  }
}
#back-grey {
	  width: 100%;
  rect {
  width: 100%;
    height: 210px;
  }
}
#back-black {
	  width: 100%;
  rect {
    width: 100%;
    height: 250px;
  }

}
.print-only {
  position: absolute;
  top: 0;
  left: 0;

}

        .print-background-wrapper {
            position: relative;
			  padding: 40px;
        }

        .print-background-wrapper > *:not(svg) {
            position: relative;
            z-index: 1;
        }

