html{
    height:100%;
}
body #main__content {
    font-size:  calc(.3em + 2vw);
}
body > section .main-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
}

.content-header {
    padding:    2em 1em;
}


/* IT COVERED THE MOST PART OF MAIN CONTAINER DIV */

.block_33, .block_66, .block_50, .block_100 {
    margin-bottom: .5em;
    padding: 0 .5em;
    width:	100%;
}


.block_100 .block_33,
.block_100 .block_50,
.block_100 .block_66,
.block_33 .block_100,
.fullwidth{
    padding: 0!important;
}

.block_100 .block_33:last-child,
.block_100 .block_50:last-child,
.block_100 .block_66:last-child{
    margin-bottom: 0;
}

body.open-menu{
    height: 100%;
}

.open-menu #main__content,
.open-menu #main__footer,
.open-menu #main__legals{
    display: none;
}

h1 { font-size: 4.7em; }
h2 { font-size: 3.2em; }
h3 { font-size: 2.8em; }
h4 { font-size: 2.6em; }
h5 { font-size: 2.4em; }
h6 { font-size: 2em; }


/* text on software button */
.widget-software .button > span{
    font-size: 1.3em;
}
/*******************************************                                *******************************************
-----------------------------------------------------------------------------------------------------------------------
BLOCK TABLE : USEFULL FOR THE SOFTWARE BLOCK WICH TAKE 50% WIDTH
-----------------------------------------------------------------------------------------------------------------------
*********************************************                                ******************************************/
.block_100.block_table{
    display: table;
    overflow: hidden;
    padding: 0 .6em;
}

.block_table .block_33{
    position: relative;
    display: table-cell;
    float: none;
    padding-left: .3em;
    background-color: #fff;
    vertical-align: top;
}

.block_table .block_33:before{
    position: absolute;
    top:0;
    left: -.3em;
    z-index: 1;
    padding-bottom: 1em;
    width: .6em;
    height: 100%; /* bugfix => "unexpected 1px white border at bottom" => solution => "it takes the full height of table which have an overflow: hidden;" */
    background-color: #404040;
    content:'';
}

.block_table .block_33.fake_cell{
    background-color: #404040;
}

#main__content .block_table .block_33:not(:last-child){
    padding-right: .3em;
    padding-left: 0;
}

#main__content .block_table .block_33:not(:last-child):before{
    display: none;
}
/*******************************************                                *******************************************
-----------------------------------------------------------------------------------------------------------------------
MAIN HEADER
-----------------------------------------------------------------------------------------------------------------------
*********************************************                                ******************************************/
#main__header{
    position: relative;
    overflow-y: auto;
    min-height: 100%;
}

.open-menu #main__header{
    background-size: contain    ;
}

#main__header a.logo{
    position: absolute;
    top: 0;
    left: 0;
    display:    block;
    float:      none;
    width:      80%;
    height:     100%;
    background-position: 10% center;
    background-size: auto 90%;
}

#main__header {
    background: #a62394;
}

/*---------------------------------------------------------------------------------------------------------------------
MENU
---------------------------------------------------------------------------------------------------------------------*/
.headbar{
    position: relative;
    padding-top: 15%;
    width: 100%;
    height: 0;
    background: #a62394 url(../images/mobile-header.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    content:'';
}

#toggle-menu{
    position:  absolute;
    top:       0;
    right:     0;
    display:   block;
    padding-left: 15%;
    width: 0;
    height:    100%;
    background:    #a62394 url(../images/mobile-picto-toggle-menu.svg) no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
#toggle-menu:active
{
    background: none;
}

.open-menu #toggle-menu{
    background-position: top center;
}


nav.main-wrapper{
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
    display: none;
    height: 100%;
    animation: slideInFromRight 300ms cubic-bezier(0,.8,0,1);
    -webkit-backface-visibility: hidden;
}
@keyframes slideInFromRight {
    0%  { transform: translate3d(30%,0,0); opacity: 0; }
    100% { transform: translate3d(0%,0,0); opacity: 1; }
}
.open-menu nav.main-wrapper{
    display: block;
}

.submenu{
    display: none;
}

nav ul{
    padding: 0 2em;
    width: 100%;
}

nav li{
    width: 100%;
    border-bottom: 1px solid #de13c5;
}

nav li:last-child{
    border: 0;
}

nav li a{
    display: block;
    padding: 1em;
    padding-left: 0;
    text-transform: uppercase;
    font-size: 2em;
}

#main__header form{
    padding: 2em;
    padding-top: 0;
    width: 100%;
}

.main-wrapper #account{
    float: none;
    height: auto;
}

.main-wrapper #account a{
    margin-bottom:  .1em;
    padding:        1.4em 2em;
    height:         100%;
    text-align:     center;
    font-size:      1.6em;
}

.main-wrapper #account a:before{
    left:           50%;
    margin-left:    -5.5em;
    width:          1.5em;
    background-size: 100% auto;
}

.main-wrapper #account div + div a:before{
    margin-left: -4.5em;
}




.main-wrapper #account div > div:first-child a:after{
    position: absolute;
    top: 30%;
    left: 50%;
    display: block;
    margin-left: -4.9em;
    width: 2em;
    height: 2em;
    background-size: 100% auto;
    color: white;
    content: '+';
    font-size: 1.5em;
}

.main-wrapper #account div{
    width: 100%;
}

.main-wrapper #account .logout,
.main-wrapper #account .create,
.main-wrapper #account .log
{
    display: block;
}


/*---------------------------------------------------------------------------------------------------------------------
REDUCE HEIGHT ON LANDSCAPE
---------------------------------------------------------------------------------------------------------------------*/
@media screen and (orientation: landscape) {
    #toggle-menu {
        padding-left: 11%;
    }
    #main__header h1 {
        padding-top:18%;
    }
    #main__header nav ul {
        overflow: hidden;
        padding: 0;
    }
    #main__header nav li a{
        padding: .8em;
        font-size: 1.8em;
    }
    #main__header nav > div {
        width:    100%;
    }
    #main__header nav div form {
        float:    left;
        padding:  1em!important;
        width:    80%;
    }
    #main__header nav > div > div {
        position:     relative;
        float:        right;
        width:        20%;
        height:       5em;
    }

    nav li{
        float: left;
        width: 50%;
        text-align: center;
        border-bottom: 1px solid #de13c5;
    }

    nav li:last-child{
        border-bottom: 1px solid #de13c5;
    }

    .headbar{
        padding-top: 10%;
    }
}


/*******************************************                                *******************************************
-----------------------------------------------------------------------------------------------------------------------
MAIN FOOTER
-----------------------------------------------------------------------------------------------------------------------
*********************************************                                ******************************************/
#main__footer #footer-sitemap > div{
    float:none;
    overflow: hidden;
    padding: 0;
    width: 100%!important;
    height: auto;
}

#main__footer #footer-sitemap > div > div,
#main__footer #footer-sitemap > div.col2 > div /* surcharge */
{
    position: relative;
    display: block;
    padding: 0!important;
    width: auto!important;
    text-align: center;
}

#main__footer #footer-sitemap > div ul {
    padding:   0!important;
    width:     100%!important;
}
#main__footer #footer-sitemap > div.col1 ul li{
    border-bottom:1px dotted #484848;
} #main__footer #footer-sitemap > div ul + ul li:last-child{
    border-bottom: 0;
  }
    #main__footer #footer-sitemap > div.col1 ul:first-child li:first-child{
        border-top:1px dotted #484848;
    }


#main__footer #footer-sitemap > div ul li a{
    padding: 1em;
    height: 100%;
    color:#a5a5a5;
    font-size: 1.4em;
}

#main__footer #footer-sitemap > div.col2 li{
    width: 50%!important;
    background-position: center;
    background-size: auto 37%;
}
/* li which contains cpuid link */
#main__footer #footer-sitemap > div.col2 li:last-child{
    background-position: center 35%;
}
#main__footer #footer-sitemap h6,
#main__footer #footer-sitemap div.col1 h6{
    margin-bottom: 0;
    padding: 1.5em;
    width: 100%;
    text-align: center;
    font-size: 1.3em;
}
#main__footer #footer-sitemap div.col1 h6{
    margin: 0 auto;
    width: 22em;
    background-position: 4.5em center;
}
#main__footer #footer-sitemap div.col1 h6:before {
    background-position: center;
    background-size: auto 90%;
}

#main__footer #footer-sitemap > div.col2 > div:before{
    display: none;
}

#main__footer:before{
    display: none;
}


#main__footer #footer-sitemap > .col1{
    background-color: #141414;
}
#main__footer #footer-sitemap > .col2{
    background-color: #191919;
}
/* cpuid.com label, below cpuid link */
#main__footer #footer-sitemap > div.col2 li + li:before{
    top: 4.5em;
    left: 50%;
    margin-left: -5.8em;
    letter-spacing: .25em;
    font-size: 0.85em;
}
/*---------------------------------------------------------------------------------------------------------------------
LEGALS
---------------------------------------------------------------------------------------------------------------------*/
#main__legals{
    background-color: #0f0f0f;
}

#main__legals p{
    float: none;
    padding: 0;
    padding-top: 1em;
    background-position: center;
    background-size: auto 2em;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.1em;
}

#main__legals ul{
    float: none;
    margin: 1em auto;
    text-align: center;
    font-size: 1.4em;
}

#main__legals ul li + li{
    position: relative;
    padding-left: 2.8em;
}

#main__legals ul li + li:before{
    top: -.2em;
    left: 0.5em;
}

#main__legals #footer-legals > a{
    display: block;
    padding-left: 1em;
    color: #414141;
    text-align: center;
    text-decoration: underline;
    font-size: 1.6em;
}

/*---------------------------------------------------------------------------------------------------------------------
                                                    FORM STYLE
---------------------------------------------------------------------------------------------------------------------*/
form .form-fields-wrapper > div{
    height: 4em;
    font-size: 1.1em;
}

form .form-fields-wrapper label{
    padding: 1.2em;
    padding-right: .8em;
}



/*******************************************                                *******************************************
-----------------------------------------------------------------------------------------------------------------------
                                                      IE BUGFIX
-----------------------------------------------------------------------------------------------------------------------
*********************************************                                ******************************************/

/*---------------------------------------------------------------------------------------------------------------------
                                                    IE MOBILE (windows phone
---------------------------------------------------------------------------------------------------------------------*/
.ie.mobile #main__footer #footer-sitemap > div.col2 li + li:before{
    top: 5em;
    font-size: 1.2em;
}
