/*
Theme Name: Twenty Twenty
Text Domain: twentytwenty
Version: 3.0
Tested up to: 6.9
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns, block-styles, wide-blocks, accessibility-ready
Author: the WordPress team
Author URI: https://wordpress.org/
Theme URI: https://wordpress.org/themes/twentytwenty/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Document Setup
	2. 	Element Base
	3. 	Helper Classes
	4. 	Site Header
	5. 	Menu Modal
	6. 	Search Modal
	7. 	Page Templates
		a. 	Template: Cover Template
		c. 	Template: Full Width
	8.  Post: Archive
	9.  Post: Single
	10. Blocks
	11. Entry Content
	12. Comments
	13. Site Pagination
	14. Error 404
	15. Widgets
	16. Site Footer
	17. Media Queries

----------------------------------------------------------------------------- */


/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */


    html, body, div, span, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    abbr, address, cite, code,
    del, dfn, em, img, ins, kbd, q, samp,
    small, strong, sub, sup, var,
    b, i,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section, summary,
    time, mark, audio, video {
        margin:0;
        padding:0;
        border:0;
        outline:0;
        font-size:100%;
        vertical-align:baseline;
        background:transparent;
    }

    body {
        line-height:1;
    }

    img{
        max-width: 100%;
    }

    article,aside,details,figcaption,figure,
    footer,header,hgroup,menu,nav,section { 
        display:block;
    }

    nav ul {
        list-style:none;
    }

    blockquote, q {
        quotes:none;
    }

    blockquote:before, blockquote:after,
    q:before, q:after {
        content:'';
        content:none;
    }

    a {
        margin:0;
        padding:0;
        font-size:100%;
        vertical-align:baseline;
        background:transparent;
        color: #454545;
    }

    /* change colours to suit your needs */
    ins {
        background-color:#ff9;
        color:#000;
        text-decoration:none;
    }

    /* change colours to suit your needs */
    mark {
        background-color:#ff9;
        color:#000; 
        font-style:italic;
        font-weight:bold;
    }

    del {
        text-decoration: line-through;
    }

    abbr[title], dfn[title] {
        border-bottom:1px dotted;
        cursor:help;
    }

    table {
        border-collapse:collapse;
        border-spacing:0;
    }

    /* change border colour to suit your needs */
    hr {
        display:block;
        height:1px;
        border:0;   
        border-top:1px solid #cccccc;
        margin:1em 0;
        padding:0;
    }

    input, select {
        vertical-align:middle;
    }


/* -------------------------------------------------------------------------- */

/*	1. Document Setup
/* -------------------------------------------------------------------------- */



/*

    Template Author : pixelhint.com
    Author Email    : contact@pixelhint.com
    Template Name   : Magnetic
    
    
    *****************************************
    
    
    - Fonts
    - General CSS
    - Header
    - Home/portfolio 
    - Inner page 
    - Map/Contact page  
    - Tooltip 
    - Responsive code
  
    
*/



/*  Fonts  */
@font-face {
    font-family: 'raleway-regular';
    src: url('<?php bloginfo( 'template_url' )?>/assets/fonts/raleway-regular.eot');
    src: url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-regular.woff') format('woff'),
         url('../fonts/raleway-regular.ttf') format('truetype'),
         url('../fonts/raleway-regular.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-bold';
    src: url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-bold.eot');
    src: url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-bold.eot?#iefix') format('embedded-opentype'),
         url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-bold.woff') format('woff'),
         url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-bold.ttf') format('truetype'),
         url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-bold.svg#ralewaybold') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-semibold';
    src: url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-semibold.eot');
    src: url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-semibold.eot?#iefix') format('embedded-opentype'),
         url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-semibold.woff') format('woff'),
         url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-semibold.ttf') format('truetype'),
         url('<?php bloginfo( 'template_url' )?>/assets//fonts/raleway-semibold.svg#ralewaysemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}



/*  General CSS*/
body{
    background: #fff;
}

.wrapper{
    width: 92.72727272727273%;
    margin: 0 auto;
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 22px;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1, h2, h3, h4, h5 ,h6{
    color: #454545;
    font-family: "raleway-regular", arial;
    letter-spacing: 1px;
}

h1              { font-size: 2em; margin: .67em 0 }
h2              { font-size: 1.5em; margin: .75em 0 }
h3              { font-size: 1.17em; margin: .83em 0 }
h5              { font-size: .83em; margin: 1.5em 0 }
h6              { font-size: .75em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6          { font-weight: bolder }

.clearfix:before,  
.clearfix:after {  
    content: " ";  
    display: table;  
}  
.clearfix:after {  
    clear: both;  
}  
 
.clearfix {  
    *zoom: 1;  
}







/*  Header  */
@media (min-width:1099px){
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        min-height: 100%;
        padding: 0 0 0 50px;
        /*background: rgb(238,248,243);*/
        /*background: #fff;*/
        background: rgb(17, 90, 78);
        float: left;
        overflow: hidden;
        z-index: 9999;
        color: #ffff;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        letter-spacing: 1px;
    }

    header .logo{
        margin-top: 80px;
    }

    header .logo a{
        text-decoration: none;
        color: #fff;
    }

    header .logo h1{
        color: #fff;
    }

    header nav ul{
        display: block;
        overflow: hidden;
        margin-top: 80px;
        list-style: none;
    }

    header nav ul li{
        display: block;
        margin-bottom: 30px;
    }

    header nav ul li a{
        /*color: #454545;*/
        color: #fff;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
        /* color: #969595;*/
        color: rgb(169,213,206);
    }

    header .footer{
        position: absolute;
        bottom: 50px;
    }

    header ul.social{
        list-style: none;
        margin-bottom: 5px;
    }

    header ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 20px 20px 0;
    }

    header ul.social li img{
        height: 25px;
    }


    header ul.social li a{
        display: block;
        height: 25px;
    }


    header ul.social li a:hover{
        background-color:  #ffffffbb;
    }



    header ul.social li a.fb,
    header ul.social li a.fb:hover{
        background-position: 0 0;
    }


    header ul.social li a.google,
    header ul.social li a.google:hover{
        background-position: -31px 0;
    }

    header ul.social li a.behance,
    header ul.social li a.behance:hover{
        background-position: -62px 0;
    }

    header ul.social li a.twitter,
    header ul.social li a.twitter:hover{
        background-position: -93px 0;
    }

    header ul.social li a.dribble,
    header ul.social li a.dribble:hover{
        background-position: -124px 0;
    }

    header ul.social li a.rss,
    header ul.social li a.rss:hover{
        background-position: -155px 0;
    }

    header .rights p{
        color: #fff;
        font-family: "raleway-regular", arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: "raleway-bold", arial;
        font-weight: bold;
        text-decoration: none;
    }
    #menu_icon,
    .close_menu{
        display: none;
    }

}

#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('<?php bloginfo( 'template_url' )?>/assets/images/men_icons.png') no-repeat;
}

#menu_icon{    
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}






/*  Main  */
.main{
    width: 100%;
    height: 100%;
    padding-left: 300px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #f6f6f6;
    /*background: rgb(238,248,243);*/
    clear: both;
}


/* Home */
.main .hero {
    padding: 60px 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    color: #454545;
    font-family: "raleway-regular", arial;
    text-decoration: none;
    letter-spacing: 1px;

}
.sidebyside {
    display: flex;
    align-items: center;
}
.sidebyside .left {
    flex: 1;
    padding-right: 20px;

}
.sidebyside .right { 
    flex: 1;
    padding-left: 20px;
}

.sidebyside .larger{
    flex: 7;
}

.sidebyside .smaller{
    flex: 3;
}

.sidebyside img{
    width:100%;
}

.round-image {
  border-radius: 50%;
}



/*  Highlights  */
.main .work{
    display: block;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 33.33333%;
    aspect-ratio: 3 / 3.2;
    float: left;
    position: relative;
}

.main .work .media{
    display: block;
    width: 80%;
    align-content: center;
    margin: auto;
}

.main .work .caption{
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: rgb(169,213,206);
    /*background: #454545;*/
    opacity: 0;
    align-items: center;      /* vertical */
    justify-content: center;  /* horizontal */
}


.main .work a:hover .caption{
    opacity: 1;
}


.work .caption .work_title{
    display: block;
    width: 100%;
    text-align: center;
}

.work .text_only{
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    align-items: center;      /* vertical */
    justify-content: center;  /* horizontal */
}

.work .text_only a{
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #454545;
    font-family: "raleway-semibold", arial;
    font-size: 20px;
    line-height: 22px;
    text-decoration: none;
}

.work .text_only a:hover{
    color: rgb(169,213,206);
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color:  #454545;
    /*color: #fff;*/
    font-family: "raleway-regular", arial;
    font-size: 16px;
    line-height: 22px;
    border-bottom: 1px solid  #454545;
    border-top: 1px solid  #454545;
    /*border-bottom: 1px solid  #fff;
    border-top: 1px solid  #fff;*/
}







/*  Inner Page  */
.top{
    width: 100%;
    /*height: 350px;*/
    padding-top: 50px;
    overflow: hidden;
    display: block;
    position: relative;
    /*background: url('../img/hero_image.jpg') no-repeat;
    background-color: rgb(238,248,243);
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;*/
}

.work_nav{
    display: block;
    width: 100%;
}

.work_nav .btn{
    float: right;
}

.work_nav ul{
    list-style: none;
}

.work_nav ul li{
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a{
    display: block;
    width: 40px;
    height: 40px;
    background: url('<?php bloginfo( 'template_url' )?>/assets/images/p_navigation.png') no-repeat;
    background-position: 0 0;
}

.work_nav a.previous{
    background-position: 0 0;
}

.work_nav a.grid{
    background-position: -41px 0;
}

.work_nav a.next{
    background-position: -82px 0;
}

.top h1{
    display: block;
    width: 100%;
    /*color: #4b4848;*/
    /*color: #454545;
    font-family: "raleway-semibold", arial;
    font-size: 28px;*/
    /*background: rgba(255, 255, 255, .7);*/
    padding: 10px;
    line-height: 40px;
    /*margin: 0!important;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;*/

}

.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 50%;
    margin-left: -46.36363636363637%;
}

.content{
    padding: 60px 30px;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.content p{
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 30px;
}

.bottom{
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 24px;
    display: flex;
    align-content: center;
    /*width: 100%;*/
    /*margin: 40px 20px;
    margin-bottom: 60px;*/
    /*padding: 30px;*/
    /*margin-top: -30px;*/
    margin-bottom: 60px;
}
.bottom p{
    flex:1;
    margin-top: 30px;
}

.button{
    flex:1;
    display: block;
    min-width: 300px;
    /*width: 50%;*/
    height: 40px;
    float: left;
    /*padding: 10px 100px;*/
    text-align: center;
    align-content: center;
    background: rgb(17, 90, 78);
    color: #fff;
    text-decoration: none;
    font-family: "raleway-bold", arial;
    outline: solid 1px #fff;
}

.button:hover{
    background: rgb(169,213,206);
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #454545;
    font-family: "raleway-semibold", arial;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 30px;

}







/*  Contact page map  */
#map .map_adresse{
    font-family: 'raleway-regular', arial;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
}

#map .map_address,
#map .map_tel{
    padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel{
    font-family: 'raleway-bold', arial;
    font-weight: bolder;
}

#map img{
    max-width: none;
}







/*  Tooltip  */
.tooltip{
    display: block;
    padding: 5px 15px;
    background: rgb(17, 90, 78);
    color: #fff;
    font-family: "raleway-regular", arial;
    font-size: 12px;
    position: absolute;
    white-space: nowrap;
    z-index: 999;
    opacity: 0;
    text-align: center;
    letter-spacing: .5px;
}

.tooltip:after{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #454545 transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    /*margin-left: -3px;*/
}







/*  Responsive code  */
@media (max-width:1099px){

    header{
        display: block;
        width: 100%;
        min-height: 150px;
        padding: 0;
        position: relative;
        background: rgb(17, 90, 78);
        color:#fff;
        font-family: "raleway-regular", arial;
    }
    header .logo{
        margin: 40px 0 0 30px;
        float: left;
        text-decoration: none;
    }
    header .logo a{
        text-decoration: none;
        color: #fff;
    }
    header .logo h1{
        color: #fff;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
    }
    
    header nav{
        width: 100%;
        position: absolute;
        top: 150px;
        left: 0;
        z-index: 9999;
        background: rgb(17, 90, 78);
    }

    header nav ul{
        list-style: none;
        display: none;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #fff;
        font-family: "raleway-regular", arial;
        font-size: 16px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: rgb(17, 90, 78);
    }
    header nav ul li a:active{
        background: rgb(169,213,206);
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 50%;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 0;
    }
    #map{
        margin: 0!important;
    }

}

@media (max-width:768px){
    header{
        min-height: 220px;
        background: rgb(17, 90, 78);
        color:#fff;
        font-family: "raleway-regular", arial;
    }

    header a{
        text-decoration:none;
        color: #fff;
    }

    header h1{
        color:#fff;
    }
    header nav{
        background: rgb(17, 90, 78);
    }
     .main .work{
        width: 100%;
    }
    .main .sidebyside {
        flex-direction: column;
        flex: 0 0 auto;
        width: 100%;
        padding: 0px;    
    }
    .sidebyside img{
        width:70%;
        margin-left: 15%;
        margin-right: 15%;
        margin-bottom: 30px;
    }

    .sidebyside h1{
        line-height: 125%;
    }

    .bottom {
        flex-direction: column;
        flex: 0 0 auto;
        width: 100%;
        height: 80px;
        /*padding: 10px;*/    
    }
}