/* GENERAL */
*
{
    margin: 0;
    max-width: 100%;
}

body
{
    font-family: 'Lato', sans-serif;
}

h1,h2,h3,h4,h5,h6
{
    font-weight: bold;
}

img
{
    
    height: auto;
}

.row
{
    margin-left: 0px;
}

section
{
    padding-top: 2%;
}

section .heading
{
    text-align: center;
}

section .heading h3
{
    text-align: center;
    padding-bottom: 40px;
    text-transform: uppercase;
}

.red-divider
{
    width: 100px;
    height: 2px;
    background: #4D99EF;
    margin: 0 auto;
}

.white-divider
{
    width: 100px;
    height: 2px;
    background: white;
    margin: 0 auto;
}

ul, ol, li
{
    list-style: none !important; 
}

li {
    list-style-type: none !important;
}

/*MENU*/

.navbar
{
    background: white;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar .navbar-nav
{
    display: inline-block;
    float: none;
    vertical-align: top;
}

.navbar .navbar-collapse
{
    text-align: center;
}

.navbar li a 
{
    color: darkslategrey!important;
    transition: all 300ms ease-in 0s;
}

.navbar-nav li a:hover, .navbar-nav li.active a
{
    color: white !important;
    background-color: #4D99EF !important;
}

.navbar-default .navbar-toggle
{
    border-style: none;
}

.icon-bar
{
    background-color: darkslategrey !important;
}

.wallpaper_site
{
    max-width: 100%;
}

.title_web
{
    margin-bottom: 50px;
    font-size: 5em;
}

/* ABOUT*/

#about
{
    padding-bottom: 2%;
}

.picture_nour
{
    border-radius: 20px;
}

.info_contact
{
    margin: 0px;
    width: 100%;
    position: relative;
/*
    bottom: 20px;
    padding: 20px;
*/
    display: none;
}
.block_pres
{
/*    margin-right: 20px;*/
    width: 18%;
    max-height: 100%;
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    border-radius: 20px;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.block_pres h1
{

    text-align: center;
    font-size: 2em;
    color: white;
}

.block_pres h2
{

    text-align: center;
    font-size: 1.8em;
    color: white;
}

.block_pres p
{
    text-align: center;
    font-size: 1.5em;
    color: white;
}

.contact_to
{
    display:block;
    text-align: center;
    font-size: 1.5em;
    color: #4D99EF;
}

.contact_to:hover
{
    text-decoration: none;
    color: #D53F1E;
}

.com_line
{
    background-color: white;
    height: 100%;
}

.com_icone
{
    width: 64px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    transition: all 200ms ease-in 0s;
    animation-duration: 1s;
    animation-delay: 0.2s;
}

.com_icone:hover
{
    width: 54px;
}

.block_pres span
{
    color: white;
    font-size: 1em;
}

.profile-picture
{
    text-align: center;
    margin: 0 auto;
    float: none;
}

.button1
{
    font-weight: bold;
    text-transform: uppercase;
    background-color: #D53F1E;
    color: white;
    font-size: 1.8em;
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    padding: 18px 40px;
    border-radius: 3px;
    transition: all 400ms ease-in 0s;
    animation-duration: 2s;
    animation-delay: 0.5s;
}

.button1:hover
{
    background-color: skyblue;
    color: white;
    text-decoration: none;
}

#my_prez
{
    color: darkslategrey;
/*    width: 50%;*/
    margin: 0 auto;
    position: relative;
    padding: 1%;
    background-color: #EEEEEE;
    border-bottom: 5px #D53F1E solid;
    border-right: 5px #D53F1E solid;
    text-align: center;
    font-size: 1.5em;
    font-style: italic;
    text-align: justify;
    animation-duration: 2s;
    animation-delay: 1s;
}

/*EDUCATION*/

#education
{
    background: linear-gradient(90deg,#4D99EF, white);
}

#education .heading h3
{
    color: white;
}

.education-block
{
/*    width: 80%;*/
    height: 650px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background: #ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
}

.education-block h5
{
    color: #888;
    font-size: 15px;
    margin-bottom: 15px;
}

.education-block .glyphicon
{
    font-size: 40px;
}

li {
    list-style-type: circle;
}

.icone_langage
{
    max-width: 64px;
    max-height: 64px;
}

.education-block h3
{
    color: darkslategrey;
}

.education-block h4
{
    margin-bottom: 20px;
}

.education-block p
{
    font-weight: bold;
}

.education-block .red-divider
{
    margin-bottom: 20px;
}


/* SKILLS*/

#skills
{
    background: white;
}
#skills .heading h3
{
    color: darkslategrey;
}

#skills .progress
{
    height: 100%;
    margin: 30px 20px;
    background: #ddd;
}

#skills .progress-bar
{
    background: #D53F1E;
}

#skills .progress h5
{
    font-size: 1.3em;
    text-shadow: 1px 1px 1px darkslategrey;
}

/*EXPERIENCES*/

#experience
{
    background: linear-gradient(-90deg,#4D99EF, white);
    max-width: 100%;
    overflow: hidden;
}

#experience .heading h3
{
    color: white;
}

.glyphicon-briefcase
{
    top: 0.1em;
    left: 0.01em;
}
.timeline
{
    padding: 30px 10px;
    position: relative;
}

.timeline:before
{
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 5px;
    background: #333;
    left: 50%;
    margin-left: -2.5px;
}

.timeline > li
{
    margin-bottom: 20px;
    position: relative
}

.timeline > li:after
{
    clear: both;
}

.timeline > li:before, .timeline > li:after
{
    content: " ";
    display: table;
}

.timeline li .timeline-badge
{
    color: darkslategrey;
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #ddd;
    border-radius: 50%;
}

.timeline-panel-container
{
    width: 50%;
    float: left;
}

.timeline-panel-container-inverted
{
    width: 50%;
    float: right;
}

.timeline-panel
{
    width: 90%;
    float: right;
    margin-right: 40px;
    border: 1px solid #d4d4d4;
    border-radius: 7px;
    padding: 20px 25px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0,0,0,0.175);
    background: #fff;
}

.timeline-panel-container-inverted .timeline-panel
{
    float: left;
    margin-left: 40px;
}

.timeline-panel:after
{
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline-panel-container-inverted .timeline-panel:after
{
    border-left-width: 0;
    border-right-width: 14px;
    left: -13px;
    right: auto;
}

.timeline-heading h3
{
    margin-top: 5px;
    font-size: 20px;
}

.timeline-heading h4
{
    color: darkslategrey;
}

.timeline-body p
{
    font-size: 1.2em;
}

/*PORTFOLIO*/

#portfolio
{
    background: white;
}

.title_tab
{
    font-size: 1.5em;
}

#portfolio .heading h3
{
    color: #333;
}

#portfolio .thumbnail img
{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

#portfolio .thumbnail img:hover
{
    filter: none;
    -webkit-filter: none;
}

.desc_demo
{
    text-align: center;
    color: darkslategrey;
    font-size: 1em;
    margin-bottom: 5%;
}

/*RECOMMANDATION*/

#recommandations
{
/*    background: linear-gradient(90deg,#4D99EF, white);*/
}

#recommandations .heading h3
{
    color: darkslategrey;
}

.carousel-control.left, .carousel-control.right
{
    background-image: none;
    color: darkslategrey;
}

.carousel-indicators
{
    bottom: 0px;
}

.carousel-indicators li
{
    border-color: darkslategrey;
}

.carousel-indicators li.active
{
    background-color: darkslategrey;
}

#myCarousel .item
{
    padding: 40px 30px;
}

#myCarousel .item h3
{
    color: darkslategrey1;
    font-style: italic;
}

#joke
{
    color : darkslategrey;
    font-size: 1.5em;
    font-weight: bold;
}

/*CONTACT*/

#contact
{
    background: #4D99EF;
}

#contact .heading h3
{
    color: white;
}

.coord
{
    color: white;
    font-size: 2em;
}
/*FOOTER*/

footer
{
    background: #333;
    padding: 20px 0 40px;
}

footer .glyphicon
{
    font-size: 25px;
    margin: 20px;
    color: white;
    height: 30px;
}

footer .glyphicon:hover
{
    font-size: 27px;
}

footer h5
{
    color: white;
    font-size: 1.3em;
    font-weight: 100;
}

/*Responsive*/
@media screen and (max-device-width: 1700px)
{
    .block_pres h1
    {
        font-size: 1.2em;
    }
    
    .block_pres h2
    {
        font-size: 1.2em;
    }
    
    .block_pres a
    {

        font-size: 1.2em;
    }
    
    .button1
    {
        font-size: 1em;
        padding: 20px 20px;
    }
    
    .block_pres
    {
        margin-right: 0px;
        width: 12%;
/*        height: 37%;*/

    }
}

@media screen and (max-device-width: 1470px)
{
    #my_prez
    {
        width: 75%;
    }
    
    #about
    {
        padding-top: 100px;
    }
    
/*
    .block_pres
    {
        margin-right: 0px;
        width: 18%;
        height: 37%;
    }

    .block_pres h1
    {
        font-size: 1.5em;
    }

    .block_pres h2
    {
        font-size: 1.4em;
    }

    .block_pres p
    {

        font-size: 1.5em;
    }
*/

    .contact_to
    {
        font-size: 1.2em;
    }

    .contact_to:hover
    {
        color: #D53F1E;
    }

    .block_pres span
    {
        font-size: 1em;
    }
    
/*
    .button1
    {
        font-size: 1.3em;
    }
*/
    
    .com_line
    {
        background-color: white;
        height: 100%;
    }

    .com_icone
    {
        width: 54px;
        margin-top: 10px;
        margin-left: 10px;
        margin-right: 10px;
        transition: none;
    }

}

@media screen and (max-device-width: 1370px)
{
    #myNavbar ul li a
    {
        font-size: 0.8em;
    }
    
    .block_pres
    {
        display: none;
    }

    #my_prez
    {

        margin-top: 0 !important;
    }
    
    .info_contact
    {
        display: block;
        max-width: 100%;
    }
    
    .info_contact div
    {
        margin-top: 2%;
    }
    
    .mail
    {
        font-size: 0.8em !important;
    }
    
    .phone
    {
        font-size: 0.8em !important;
    }
    
    .name_title, .dev_title
    {
        margin-top: 0px !important;
    }
    
    .info_contact h1, h2
    {
        font-size: 1.4em;
        
    }
    
    .dif_barre
    {
        display: none;
    }
    
    .band_prez
    {
        width: 100%;
        margin: 0 auto;
    }
    
    .band_contact_to
    {
        font-size: 1.5em;
        color: #4D99EF;
    }

    .band_contact_to:hover
    {
        text-decoration: none;
        color: #D53F1E;
    }
    
    .band_com_icone
    {
        width: 4rem;
        margin-left: 10px;
        margin-right: 10px;
        transition: all 200ms ease-in 0s;
        animation-duration: 1s;
        animation-delay: 0.2s;
    }

    .band_com_icone:hover
    {
        width: 54px;
    }
    
    .button2
    {
        font-weight: bold;
        text-transform: uppercase;
        background-color: #D53F1E;
        color: white;
        font-size: 1em;
        display: inline-block;
/*        margin-top: 20px;*/
        text-align: center;
        padding: 10px 10px;
        border-radius: 3px;
        transition: all 400ms ease-in 0s;
        animation-duration: 2s;
        animation-delay: 0.5s;
    }

    .button2:hover
    {
        background-color: skyblue;
        color: white;
        text-decoration: none;
    }
    
    .button1
    {

    }

}

@media screen and (max-device-width: 1166px)
{ 
    #myNavbar ul li a
    {
        font-size: 0.8em;
        margin: 0;
        padding: 10px 4px 10px;
    }
    
    .block_pres
    {
        
    }
    
    .button2
    {
        padding: 20px;
    }
    
}

@media screen and (max-device-width: 990px)
{
    .dif_barre
    {
        display: block;
    }
}

@media screen and (max-device-width: 820px)
{
    #about
    {
        padding-top: 0;
    }
     .picture_nour
    {
        max-width: 70%;
        margin: auto;
        margin-bottom: 15%;
    }
    
    .wallpaper_site
    {
        position: relative;
        margin-top: 7%;
    }
    
    
    .button1
    {
        position: relative;
        padding: 14px 10px;
        background-color: #4D99EF;
        color: white;
        border: 1px solid darkslategrey;
        margin-bottom: 10px;
        top: -130px;
    }
    
    #about .heading h1
    {
        margin-top: 0px;
        right: 0;
        top: -200px;
        color: darkslategray;
/*        font-size: 1.6em;*/
        
    }
    
    .container-fluid
    {
        margin: 0;
        margin-bottom: 0px;
        padding-bottom: 0;
    }
    
    #about .heading h2
    {
        margin-top: 0px;
        margin-bottom: 260px;
        right: 0;
        top: -210px;
        margin-left: 0px;
        color: darkslategray;
    }
    
    #my_prez
    {
        width: 90%;
        margin-top: 0px;
        margin-bottom: 0px;
        top: -80px;
        text-align: justify;
    }
    
    .education-block
    {
        width: 50%;
    }

}

@media screen and (max-device-width: 720px)
{
    #about .heading h1
    {
        margin-top: 50px;
        right: 0;
        top: -180px;
        color: darkslategray;     
    }

    
    #about .heading h2
    {
        margin-top: 0px;
        margin-bottom: 150px;
        right: 0;
        top: -180px;
        margin-left: 0px;
        color: darkslategray;
    }
    
    .button1
    {
        position: relative;
        margin-bottom: 0px;
        top: -345px;
    }
    
    #skills
    {
        margin-top: 0px;
        padding-top: 0px;
        position: relative;
        top: -40px;
    }
}

@media screen and (max-device-width: 576px)
{
    .title_web
    {
        display: none;
    }

    .button1
    {
        position: relative;
        padding: 14px 10px;
        background-color: #4D99EF;
        color: white;
        border: 1px solid darkslategrey;
        margin-top: 0;
        top: 0;
        margin-bottom: -50px;
        top: 170px;
    }
    
    #my_prez
    {
        width: 90%;
        top: 0px;
        text-align: justify;
        margin-bottom: 50px;
    }
    
    
    .timeline
    {
        position: relative;
        text-align: center; 
        right: 150px;
    }
    
    .timeline-panel-container
    {
        position: relative;
        left: 220px;
        width: 85%;
    }
    
    .timeline-panel-container-inverted
    {
        position: relative;
        left: 120px;
        width: 85%;
    }
    
    .timeline-panel:after
    {
        display: none;
    }
    
    #portfolio .thumbnail img
    {
        width: 100%;
        height: 100%;
        filter: none;
        -webkit-filter: none;
    }
    
    footer h5
    {
        margin: 5px;
    }
  
}

@media screen and (max-device-width: 470px)
{
    .wallpaper_site
    {
        position: relative;
        margin-top: 12%;
    }
    
    .jumbotron {
        max-width: 90%;
        border-radius: 20px;
    }
    
    #my_prez
    {
        width: 100% !important;
        padding: 15px;
        text-align: justify;
    }
    
    .button1
    {
        margin-top: 0px;
        top: 50px;
        margin-bottom: 80px;
    }
    
    #education
    {
        padding-bottom: 50px !important;
    }
    
    .education-block
    {
        width: 100%;
    }
    
    #portfolio
    {
        padding: 0px !important;
    }
    
    .title_tab
    {
        font-size: 1.2em;
        font-weight: bold;
        margin: 0;
        padding: 2px 5px !important;
    }
    
    .nav-tabs
    {
        margin-left: 30px;
    }
    
    .title_tab2
    {
        font-size: 1.2em;
    }
}

@media screen and (max-device-width: 380px)
{
    
    .button1
    {
        margin-top: 20px;
        top: 50px;
        margin-bottom: -50px;
    }
    
    .timeline
    {
        position: relative;
        text-align: center; 
        right: 125px;
    }
    
    .timeline-panel-container
    {
        position: relative;
        left: 200px;
        width: 85%;
    }
    
    .timeline-panel-container-inverted
    {
        position: relative;
        left: 100px;
        width: 85%;
    }
}

@media screen and (max-device-width: 365px)
{
    .wallpaper
    {
        padding-top: 100px;
        background-image: url(/images/img1.jpg);
        background-position: center;
        background-repeat:no-repeat;
        background-size:cover;
        position: relative;
        top: 600px;
        margin-bottom: -50px;
    }
    
    #about
    {
        background-image: none;
    }
    
    .button1
    {
        margin-bottom: 0px;
    }

}