body,
html {
    height: 100%;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: "Instrument Sans", "Calibri", "Gill Sans", "Gill Sans MT", "Lucida Grande", "Lucida", "Verdana", sans-serif;
    color: #000;
    font-size: 12px;
    padding: 0;
    margin: 0;
    background-color: #fff;
    line-height: 1.5;
}

table {
    border-spacing: 0;
}

td {
    padding: 10px 50px 10px 0;
}

input[type="button"] {
    padding: 5px 10px 5px 10px;
}

#page {
    margin: auto;
    margin-bottom: 30px;
    padding: 0px;
    width: 924px;
    min-height: 100%;
    background-color: #fff;
}

#header {
    margin: 0;
    padding: 0;
}

#header-name {
    color: #000;
    font-weight: bold;
    font-size: 14px;
    vertical-align: top;
    margin: 20px 10px 10px 20px;
    display: inline-block;
    width: 200px;
}

#header-links {
    display: inline-block;
    vertical-align: top;
    margin: 20px 10px 10px 10px;
    width: 600px;
}

.nav {
    text-transform: uppercase;
    text-decoration: none;
    color: #3865B2;
    font-size: 14px;
    margin: 10px;
}

.active {
    font-weight: bold;
    color: #000;
}

#content {
    height: 100%;
}

#main {
    display: inline-block;
    vertical-align: top;
    margin: 10px 10px 10px 10px;
    width: 600px;
    text-align: justify;
}

#sidebar {
    display: inline-block;
    vertical-align: top;
    margin: 10px 10px 10px 20px;
    width: 200px;
}

hr {
    background-color: #3865B2;
    border: thin #3865B2 solid;
}

a {
    color: #3865B2;
    text-decoration: none;
}

a:hover {
    color: #688ECF;
}

p {
    margin: 0px;
    margin-bottom: 10px;
}

ul {
    margin: 0px;
}

.section {
    padding: 0;
    margin-bottom: 10px;
    color: #666;
    text-transform: uppercase;
    font-weight: bold;
}

.subsection {
    font-weight: bolder;
    padding: 0;
    margin: 10px 0px 5px 0px;
}

.strong {
    font-weight: bold;
}

.gray {
    color: #666;
}

.blue {
    color: #0000ff;
}

.red {
    color: #ff0000;
}

.incorrect {
    text-decoration: line-through;
}

#info-name {
    display: none;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    vertical-align: top;
    text-transform: uppercase;
    text-decoration: none;
}

#badges .badge {
    max-width: 114px;
    max-height: 100px;
    margin: 1px 3px;
}

.badge {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: fit-content;
}
  
.badge img {
    max-height: 16px;
}
  
.shining-badge::before, .badge.shining::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.60) 50%, rgba(255, 255, 255, 0) 85%);
    animation: shining 3s linear infinite;
}

#certifications .badge,
#training .badge,
#activities .badge,
#languages .badge,
#driving-licenses .badge,
#computer-skills .badge,
#skills .badge,
#hobbies .badge,
#social-activities .badge,
#references .badge {
    height: 16px;
    max-height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

.profile {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 10px;
    display: block;
}

#bio,
#projects,
#experiences,
#certifications,
#training,
#activities,
#languages,
#driving-licenses,
#computer-skills,
#skills,
#hobbies,
#social-activities,
#references,
#badges {
    margin-bottom: 25px;
}
#badges a {
    cursor: default;
    display: inline-block;
}

.center#badges  {
    text-align: center;
}

.badge-placeholder {
    background-color: #f2f2f2;
    width: 120px;
    height: 43px;
}

ul.list {
    list-style-type: none;
    padding: 0;
}

#main ul.list li {
    margin-bottom: 5px;
}

#main #projects ul.list li {
    margin-bottom: 0;
}

.rainbow-text {
    position: relative;
    color: #000;
    background: #fff;
    mix-blend-mode: multiply;
    overflow: hidden;
    cursor: default;
    
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    padding: 2px 4px 6px;
    margin: -2px -4px -6px;
}

.rainbow-text::before {
    content: "";
    position: absolute;
    top:0;right:0;bottom:0;left:-100%;
    background: white repeating-linear-gradient(90deg, #14c8ff 0%, #ff9800 16.66666%, #ff00e0 33.33333%, #14c8ff 50.0%);
    mix-blend-mode: screen;
    pointer-events: none;
  animation: move 5s linear infinite;
}

@keyframes move {
  0%{transform: translateX(0);}
  100%{transform: translateX(50%);}
}

@supports not (mix-blend-mode: multiply) {
    .rainbow-text{
    -webkit-text-fill-color: transparent;
    background-clip: text !important;
    background: white repeating-linear-gradient(90deg, #14ffe9, #ffc800, #ff00e0, #14ffe9);
    text-shadow: none;
    }
    .rainbow-text::before{ content: none; }
}

@media print {
    #info-name {
        display: inline-block !important;
    }

    #header,
    #header-links {
        display: none;
    }
}

@keyframes shining {
    0% {
        top:-200%;
        left:-200%;
    }

    75% {
        top:100%;
        left:100%;
    }

    100% {
        top:100%;
        left:100%;
    }
}
  
.highlight, .highlight * {
    color: #00377d;
}

.highlight a, .highlight a * {
    font-weight: 600;
    text-decoration: underline;
}

.highlight a:hover, .highlight a:hover * {
    color: #0059CA;
}

.disabled, .disabled * {
    color: #ababab;
    font-style: italic;
}

.disabled a:hover, .disabled a:hover * {
    color: #7c7c7c;
}

.hidden {
    display: none;
}
