/*
Theme Name: Tiptoks custom
Author: Sylvain Geinoz
Author URI: http://sylvain-geinoz.ch/
Version: 1.2
*/

:root {
    --color-light: #BCD1E4;
    --color-dark: #2E3047;
    --color-txt: #333333;
    --color-txt-light: white;
    --color-highlight: #99FF99;
    --color-highlight-rgb: 153, 255, 155;
}
html{
    height: 100%;
}
body {
    font-family: Poppins, sans-serif;
    font-size: 1em;
    color: #333;
    background-color: var(--color-light);
    min-height: 100%;
    
}
.background-image{
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: block;

}

.background-image::after{
    content: "";
    background-attachment: fixed;
    background-image: url(/wp-content/background.png);
    background-repeat:repeat;
    opacity: 0.05;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1; 
    }

a:link,
a:visited {
    color: black;
    text-decoration: none;
}

p {
    line-height: 1.65em;
}

h1{
    font-size: 2em;
    font-weight: bold;
}
h2{
    font-size: 1.5em;
}
h3{
    margin-top: 15px;
}
h3>i{
    color: var(--color-highlight);
    margin-right: 13px;
    vertical-align: middle;
    font-size: 30px;
}

/* General layout */
div.container {
    max-width: 920px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

article.post {
}

article.post:last-of-type {
}

.cv{
    padding-bottom: 100px;
}
/* CV Header */
.cv-header{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding-top: 2em;
    margin-bottom: 28px;;
}

.cv-profile-picture{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: auto;
    padding: 0;
    border-style: solid;
    border-color: var(--color-highlight);
    border-width: 3px;
}

.cv-name{
    margin-top: 20px;
    text-align: left;
    text-transform: uppercase;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: var(--color-highlight);
    text-decoration-thickness: 4px;
    text-underline-offset: 4px;
    line-height: 1.3;

}
.cv-profession>i,.cv-email i,.cv-link i {
    /*margin-right: 13px;*/
    font-size: 29px;
    vertical-align: middle;
    display: inline-block;
    width: 48px;
}
.cv-name>i{
    margin-right: 13px;
    font-size: 34px;
    vertical-align: middle;
}
.cv-email i{
    font-size: 34px;
    margin-left: -3px;
    margin-right: 3px;
}
.cv-status i{
    font-size: 16px;
    display: inline-block;
    width: 22px;
}
.cv-link i{
    /*font-size: 29px;*/
}
.cv-line{
    width: 100px;
    height: 4px!important;
    margin-left: calc(50% - 50px);
    text-align: left;
    opacity: 1;
    color: var(--color-highlight);
    background-color: var(--color-highlight);
}
h2.cv-profession, h2.cv-email, h2.cv-link, h2.cv-status{
    margin-top: 0.8em;
    text-align: left;
    font-size: 1.3em;
    font-weight: 500;
}
h2.cv-status{
    font-size: 16px;
    font-weight: 200;
    font-style: italic;
    margin-top: 0;
}
h2.cv-email a,h2.cv-link a{
    color: #333;
    text-decoration-color: rgba(var(--color-highlight-rgb), 0);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 4px;
    text-underline-offset: 4px;
    transition: text-decoration-color 300ms;
    
}
h2.cv-email a:hover,h2.cv-link a:hover{
    text-decoration-color: rgba(var(--color-highlight-rgb), 1);
}

/* CV Block */
.cv-block{
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 200;
    background-color: var(--color-dark);
    padding: 20px;
    /*box-shadow: -8px 8px 30px rgba(0, 0, 0, 0.1);*/
    margin-top: 10px;
    margin-bottom: 28px;
    border-radius: 15px;
    border: solid var(--color-highlight) 3px; 
}

.cv-block-children{
    background-color: white;
    border-radius: 10px;
}
.cv-block-children p{
    margin: 0;
    padding: 10px;
}

.cv-block ul{
    margin: 0;
    font-size: 1.5em;
    list-style-position: inside;
}

/* CV Block video */
.cv-vimeo-content{
    position: relative;
}
.cv-vimeo-content iframe{
    position: absolute;
    width: 100%;
    height: 100%;
}
.cv-block-video h4{
    color: white;
    margin-bottom: -5px;
    margin-top: 10px;
    text-align: right;
    text-transform: uppercase;
}
/* Header */
.site-header {
}

.site-title{
    font-size: 0.5em;
}

/* Footer */
.site-footer {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 200;
    margin-top: 30px;
}

/* Navigation Menus */
.site-nav ul {
    margin: 0;
    padding: 0;
}

.site-nav ul:before,
.site-nav ul:after {
    content: "";
    display: table;
}

.site-nav ul:after {
    clear: both;
}

.site-nav ul {
    *zoom: 1;
}

.site-nav ul li {
    list-style: none;
    float: left;
}

/* Navigation site header */
.site-header nav ul li {
    margin-right: 5px;
}

.site-header nav ul li a:link,
.site-header nav ul li a:visited {
    display: block;
    padding: 10px 18px;
    border: 1px solid #999;
    margin-bottom: 1em;
    text-decoration: none;
}



.site-header nav ul li.current-menu-item a:link,
.site-header nav ul li.current-menu-item a:visited {
    background-color: #006ec3;
    color: white;
}


/* CV Block Mes docks */
.cv-docks{
    width: auto;
    padding: 0;
    margin-right: 10px;
    margin-left: 10px;
}
.cv-docks-bubble{
    background-color: var(--color-highlight);
    height: 80px;
    width: 80px;
    margin: auto;
    border-radius: 50%;
    border: white solid 2px;
    display: flex;
    justify-content: center;
    align-content: center;

}
.cv-docks-bubble i{
    margin: auto;
    font-size: 2em;
    color: var(--color-txt);
}
.cv-docks-title{
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: var(--color-txt);
    text-transform: uppercase;
}

/* CV Block Photos */
.cv-block-photos-multi{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    justify-content: center;
}
.cv-block-photos-single{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    justify-content: center;
}
.cv-block-photos-multi .cv-photo{
    width: calc(50% - 6px);
    height: 0;
    padding-bottom: calc(50% - 6px);
    overflow: hidden;
    margin: 3px;
}
.cv-block-photos-single .cv-photo{
    width: 100%;
    height: 0;
    padding-bottom: calc(100% - 6px);
    overflow: hidden;
    margin: 3px;
}

/* CV Block Mes docks */
.cv-block-quote{
    font-size: 25px;
    text-align: center;
    color: var(--color-txt-light);
}
.cv-block-quote p{
    margin-bottom: 0;
}
.cv-quote hr{
    width: 50%;
    height: 3px;
    opacity: 1;
    margin: 20px auto;
    text-align: center;
    color: var(--color-highlight);
}
.cv-quote-author{
    font-style: italic;
    text-align: right;
    font-size: 18px;
}

/* Navigation site footer */
.site-footer nav ul li {
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px dotted #999;
}

.site-footer nav ul li:last-of-type {
    border-right: none;
}
footer{
    display: none;
}

/* Homepage */
.wp-block-button{
    margin:auto!important;
    
}
.wp-block-button a{
    background-color: black!important;
    color: white!important;
    border: 4px solid rgba(255, 0, 0, 0)!important;
    
}
.wp-block-button a:hover{
    border: 4px solid var(--color-highlight)!important;
}



/* Page loader */
.background-image>.container{
    display: none;
}

.page-loader {
	height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: absolute;
    
}
.page-loader>div{
    height: 150px;
    width: 150px;
   
    border: 15px solid var(--color-highlight);
    border-top-color: grey;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    animation: spin 1.5s infinite linear;
    
}
@keyframes spin{
    100%{
        transform: rotate(360deg);
    }
}

/* Bug Correction */
mark{
    padding: 0!important;
}
