/*
Theme Name: FLOMAC BIGMAC
Theme URI: http://florentmacrez.fr/
Version: 4000
Author: Antoine Demacon
*/

@font-face {
    font-family: sporting_normal;
    src: url("http://www.florentmacrez.fr/wp-content/themes/flomac-bigmac/fonts/sporting_normal.otf") format("opentype");
}
@font-face {
    font-family: sporting_gras;
    src: url("http://www.florentmacrez.fr/wp-content/themes/flomac-bigmac/fonts/sporting_gras.otf") format("opentype");
}

@keyframes smiley {
    0% {    transform: rotate(90deg) scaleX(4) scaleY(1); }
    50% {   transform: rotate(90deg) scaleX(4) scaleY(9.5); }
    100% {  transform: rotate(90deg) scaleX(4) scaleY(1); }
}
@keyframes loading {
    0% {    transform:  scaleX(2); }
    50% {   transform:  scaleX(7); }
    100% {  transform:  scaleX(2); }
}

html, body {
    padding: 0;
    margin: 0;
    border: 0;
    height: 100%;
    width: 100%;
    background: black;
    color: white;
    font-family: sporting_normal;
}
img {
    width: 100%;
    height: auto;
}
li {
    list-style: none;
}
li, ul, h1, h2, h3, h4, p {
    margin: 0;
    border: 0;
    padding: 0;
}
.header-widget {
    position: fixed;
    right: 30px;
    text-align: right;
    top: 30px;
    z-index: 100;
}
.blaze {
    color: white;
    display: block;
    margin-bottom: 50px;
    transform: rotate(5deg);
}
.blaze h1, .menu-item {
    font-size: 18pt;
}
#loading {
    bottom: 30px;
    display: none;
    font-size: 10pt;
    position: fixed;
    right: 30px;
    transform: scaleX(2);
    transform-origin: right top 0;
    animation: loading 1.5s infinite;
}
.smiley {
    bottom: 10px;
    font-size: 24pt;
    position: fixed;
    right: 28px;
    transform: scaleX(4);
    transform-origin: right top 0;
    z-index: 30;
    transition: transform 0.2s;
}
.thumb {
    display: inline-block;
    margin-bottom: 10px;
    transition: all 0.2s ease 0s;
    vertical-align: middle;
    width: calc(20% - 21px);
}
.post_page {
    margin: 20px 40px;
    max-width: calc(100% - 80px);
    width: 450px;
}
.slide {
    height: 100vh;
    left: 0;
    position: fixed!important;
    top: 0;
    width: 50%;
}
p {
    font-size: 14pt;
    line-height: 17pt;
    margin-bottom: 12pt;
}

.thumb:hover{
    opacity: 0.6;
}

.black_cover {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    position: fixed;
    display: none;
}

.wrap_projects {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    display: none;
}

.main.single {
    position: relative;
    z-index: 11;
}

.attachment {
}

.wrap{
	
}

.main_thumb {
    height: 100%;
    width: calc(100% - 350px);
    margin-top: 10px;
    margin-left: 10px;
}

.slick-arrow {
    background: transparent none repeat scroll 0 0;
    border: medium none transparent;
    color: white;
    font-size: 60px;
    height: 60px;
    line-height: 0;
    outline: medium none;
    position: absolute;
    top: calc(50% - 30px);
    vertical-align: top;
    width: 60px;
    z-index: 10;
    cursor: pointer;
}
.slick-next.slick-arrow {
    right: 0;
}
.slick-prev.slick-arrow {
    display: block;
    line-height: 0;
    transform: rotate(-180deg);
}

.prev, .next { width: 25%; }
.next {left: 25%}

.post-title {
    font-size: 14pt;
}

.post-info {
}

.post-content {
    font-size: 9pt;
    line-height: 1.5;
}
#cross {
    display: none;
}
.post {
    display: block;
    float: right;
    position: absolute;
    right: 30px;
    top: 250px;
    width: 300px;
}

a {
    color: white;
    text-decoration: none;
    transition: color 0.15s;
}
a:hover {
    color: #47c3bc;
}

.form {
}

@media all and (min-width: 0px) and (max-width: 1100px) {
    .thumb {
        width: calc(33% - 21px);
    }
}

@media all and (min-width: 0px) and (max-width: 900px) {
    .header-widget {
        width: calc(100% - 60px);
    }
    header {
        display: block;
        height: 120px;
        width: 100%;
    }
    .blaze {
        float: left;
    }
    .prev, .next { width: 50%; }
    .next {left: 50%}
    .main_thumb {
        margin-left: 30px;
        margin-top: 20px;
        width: calc(100% - 60px);
    }
    .thumb {
        width: calc(33% - 4px);
    }
    .post_page {
        margin-top: 20px;
    }
    .slide {
        display: inline-block;
        height: 100vh;
        left: 30px;
        position: relative !important;
        top: auto;
        width: calc(100% - 60px);
    }
    .slick-slide {
        height: auto !important;
        max-height: 100vh;
        width: 100%;
    }
    .post {
        background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
        display: inline-block;
        float: right;
        padding: 30px;
        position: relative;
        right: 0;
        top: 0;
        width: calc(100% - 60px);
    }
    .post-content_page {
        overflow-wrap: break-word;
    }
    #cross {
        background: black none repeat scroll 0 0;
        border: 1px solid white;
        content: "X";
        cursor: pointer;
        display: inline-block;
        font-size: 25px;
        left: 0;
        line-height: 0.7;
        padding: 9px 3px 2px;
        position: fixed;
        z-index: 70;
    }
}

@media all and (min-width: 0px) and (max-width: 450px) {
    .blaze h1, .menu-item {
        font-size: 13pt;
    }
    .thumb {
        width: calc(50% - 4px);
    }
}
