/*  ASCENSE SOLUTIONS TECHNOLOGIQUES INC. 
    18 FEVRIER 2017
*/

html, body
{
    height: 100%;
    margin: 0;
    overflow-x: hidden;
}

html
{
    width: 100%;
    font-size: 100%;
}

*:focus 
{
    outline: none;
}

*
{
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

a
{
    text-decoration: none;
}

.hide {
    display: none;
}

.logo {
    cursor: pointer;
}

img
{
    border: none;
}

body
{
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

header
{
    width: 1200px;;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 15px 15px 0px 0px;
    padding: 20px;
    height: 200px;
}

h1
{
    float: left;
    margin: 0;
    padding: 0;
}

h1 img
{
    width: 160px;
    height: 161.7px;
}

#conteneur-nav
{
    float: right;
    width: 80%;
}

form
{
    float: right;
    width: 100%;
}

input
{
    -webkit-appearance: none;
    border-radius: 0;
}

#champ
{
    float: right;
    width: 80%;
    height: 50px;
    border: 0;
    border-bottom: 2px solid #4391cf;
    background-color: transparent;
    background-image: url(../images/recherche.svg);
    background-position: right;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-left: 20px;
    transition: all 0.3s;
}

#champ:focus
{
    border-bottom: 2px solid #1a618f;
    transition: all 0.3s;
}

nav
{
    float: right;
    clear: both;
    margin-top: 50px;
    text-align: right;
}

nav ul
{
    margin: 0;
    padding: 0;
}

nav ul li
{
    display: inline-block;
    margin-right: 20px;
    font-family: 'chunkfiveroman';
    font-size: 20px;
    color: #4391cf;
    transition: all 0.3s;
}

nav ul li:hover
{
    color: #1a618f;
    transition: all 0.3s;
}

section
{
    width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 0px 0px 15px 15px;
}

section button
{
    cursor: pointer;
    width: 150px;
    margin-right: 10px;
    margin-top: 10px;
    padding: 10px 0 10px 0;
    border-radius: 10px;
    background-color: #4391cf;
    color: white;
    border: none;
    border-bottom: 4px solid #1a618f;
    border-right: 3px solid #1a618f;
}

/*section button:hover,*/
section button.joue
{
    border-bottom: 4px solid #4391cf;
    border-right: 3px solid #4391cf;
    border-top: 4px solid #3487ca;
    border-left: 3px solid #3487ca;
    padding: 6px 0px 10px 0;
    background-color: #4390ce;
}

.categorie:not(:last-child) {
    margin-bottom: 50px;
}

h2
{
    font-family: 'chunkfiveroman';
    text-transform: uppercase;
    color: #1a618f;
    margin-top: 0px;
    margin-bottom: 10px;
}

/*.categorie:first-child h2
{
    margin-top: inherit;
}*/

#conteneur-commentaires
{
    margin: 50px -7px 0 -7px;
}

footer
{
    width: 100%;
    background-color: rgba(255,255,255,0.8);
    text-align: center;
    font-size: 13px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 50px;
}

footer p
{
    margin: 0;
}

footer img
{
    display: block;
    margin: auto;
    width: 180px;
    height: auto;
}

/* responsive */
@media only screen and (max-width: 1225px)
{
    header, section
    {
        width: 870px;    
    }
}
@media only screen and (min-width: 1226px)
{
    section button {
        width: 152px;
    }
}

@media only screen and (max-width: 900px)
{
    header, section
    {
        width: 700px;
    }
    
    #conteneur-nav
    {
        width: 75%;
    }
    
    nav
    {
        margin-top: 25px;
    }
    
    nav ul li
    {
        padding-top: 10px;
    }
}

@media only screen and (max-width: 715px)
{
    header, section
    {
        width: 530px;
    }
    
    h1 img
    {
        width: 120px;
    }
    
    #champ
    {
        width: 300px;
    }
    
    ::-webkit-input-placeholder 
    { 
        color: transparent;
    }
    
    ::-moz-placeholder 
    { 
        color: transparent;
    }
    
    :-ms-input-placeholder 
    { 
        color: transparent;
    }
    
    :-moz-placeholder 
    { 
        color: transparent;
    }
    
    nav ul li
    {
        font-size: 17px;
    }
    
}

@media only screen and (max-width: 555px)
{
    header, section
    {
        width: 365px;
    }
    
    h1
    {
        float: inherit;
    }
    
    h1 img
    {
        display: block;
        margin: auto;
        float: inherit;
    }
    
    #conteneur-nav
    {
        width: 100%;
    }
    
    #champ
    {
        width: 100%;
    }
    
    nav 
    {
        text-align: left;
        margin-bottom: 25px;
    }
    
    nav ul li
    {
        font-size: 14px;
    }
}

@media only screen and (max-width: 380px)
{
    header, section
    {
        width: 95%;
    }
    
    section button
    {
        width: 100%;
    }
}
