/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 0.8em;
    line-height: 1.4;
}

::-moz-selection {
    background: #45bca6;
    color:white;
    text-shadow: none;
}

::selection {
    background: #45bca6;
    color:white;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* BALISES */
* {
    box-sizing: border-box;
}
html, body {
    background-color: #F5F5F5;
    font-family: "Open Sans", "Helvetica", "sans-serif";
}
select {
    height: 30px;
    background-color: #f3f3f3;
    border: 1px solid #DDD;
    border-radius: 3px;
    text-transform: uppercase;
}
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
}
p {
    text-align: justify;
}
button {
    background-color: #EBEDE8;
    box-shadow: none;
    border: 1px solid #E1E0DC;
    padding: 2px 8px;
}

table {
    width:100%;
    table-layout: fixed;
}
img {
    max-width: 100%;
}
a {
    color: black;
}
input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea {
    font-size: 12px;
    padding: 6px 10px;
    font-weight: normal;
    color: #333;
    background-color: #FFF;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;

    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -ms-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

    -webkit-appearance: none;
    -webkit-border-radius: 0;
}
input[type='text']:not([readonly]):focus, input[type='password']:focus, textarea:focus, select:focus{
    border-color: #999999;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
input[type=radio] {
    margin-right: 8px;
}
input.error {
    border-color: red !important;
}
label.error {
    color:red;
}
label {
    margin-right: 10px;
}

/* TRANSITION */
.bg-primary, .color-primary, nav li, button, .loading {
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
.loading, #video .filter {
    -webkit-transition: all .6s;
    -moz-transition: all .6s;
    -ms-transition: all .6s;
    -o-transition: all .6s;
    transition: all .6s;
}

/* CLASS */
.color-primary {
    color: #45bca6 !important;
}
.bg-primary {
    background-color: #45bca6 !important;
    color: white !important;
}
.bg-primary:hover, .button:hover {
    -webkit-box-shadow: inset 100px 100px 100px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 100px 100px 100px rgba(0, 0, 0, 0.2);
    box-shadow: inset 100px 100px 100px rgba(0, 0, 0, 0.2);
}
a .color-primary:hover, a.color-primary:hover {
    color:#737373 !important;
}

.bg-title {
    padding: 5px 10px;
    background-color: #F2F2F2;
}

.button {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    border: 0;
    margin: 15px 0;
    text-decoration: none;
    padding: 6px 5px;
    cursor:pointer;
    min-width: 100px;
}

.box {
    display: block;
    max-width: 1000px;
    width: 95%;
    margin:auto;
    position: relative;
}
.portlet {
    background-color: white;
    padding:20px;
    margin: 20px auto;
    position: relative;
}
.portlet>*:first-child {
    margin-top: 0;
}

.clear {
    clear: both;
}

.col-1-2 {
    width: 48%;
    float:left;
}
.col-1-3 {
    width: 33%;
    float:left;
}
.col-1-4 {
    width: 25%;
    float:left;
}

.left {
    float:left;
}
.right {
    float:right;
}

.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}

.input-full {
    width: 100%;
}
.input-group {
    margin: 5px 0;
}

.table {
    display: table;
    width: 100%;
    height: 100%;
}
.table-cell {
    display: table-cell;
    vertical-align: middle;
}
.valign-top {
    vertical-align: top;
}
.valign-middle {
    vertical-align: middle;
}
.valign-bottom {
    vertical-align: bottom;
}

.title-style-1 {
    text-align: center;
    border-bottom: 1px solid #A9A9A9;
    padding-bottom: 10px;
    margin-top: 30px;
}

.table-style-1 {
    font-size: 14px;
}
.table-style-1 tr>td:first-child {
    color: #737373;
}

.table-style-2 {
    table-layout: fixed;
    font-style: italic;
}

.loading {
    position: absolute;
    width: 100%;
    height: calc(100% + 61px);
    left: 0;
    top: -61px;
    background-color: rgba(115, 115, 115, 0.3);
    font-size: 30px;
    opacity: 0;
    z-index: 1;
}
.loading.active {
    opacity: 1;
}

.ui-accordion-header:focus {
    outline: 0;
}

/* HEADER */
header {
    background-color: white;
}
header .title h1 {
    margin:0;
    padding:20px 0;
}
header .icon-cart .fa {
    padding: 4px 7px;
    background-color: #EEE;
    font-size: 26px;
    cursor:pointer;
    position: relative;
}
header .badge {
    position: absolute;
    font-size: 8px;
    top: -7px;
    left: -10px;
    width: 17px;
    height: 17px;
    line-height: 17px;
    text-align: center;
    border-radius: 50%;
}

/* NAV */
nav {
    background-color: black;
    color:white;
    z-index: 10;
}
nav li.icon {
    font-size: 16px;
    padding: 0 12px;
}
nav ul {
    padding:0;
}
nav ul li {
    list-style: none;
    padding: 0 20px;
    line-height: 40px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
}
nav ul li:not(#main-menu-select):hover, nav ul li.selected {
    background-color: #45bca6;
    -webkit-box-shadow: inset 100px 100px 100px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 100px 100px 100px rgba(0, 0, 0, 0.2);
    box-shadow: inset 100px 100px 100px rgba(0, 0, 0, 0.2);
}
nav li.show-on-scrolling {
    margin-right: -52px;
    opacity: 0;
}
nav li.show-on-scrolling.show {
    margin-right: 0;
    opacity: 1;
}
#main-menu-select {
    display: none;
    text-align: center;
}
#main-menu-select select {
    background-color: #A9A9A9;
    border: 0;
}

/* CONTAINER */
#container {
    margin: 0 auto;
    padding-bottom: 200px;
}

aside {
    position: fixed;
    width: 175px;
    left: 50%;
    margin-left: 510px;
    background-color: #000;
    color: #FFF;
    padding: 7px;
    margin-top: 20px;
}
aside .price-original {
    text-decoration: line-through;
    margin-right: 4px;
}
aside .remise {
    padding:1px 4px;
    font-size: 11px;
}
aside .price-current {
    font-size: 22px;
    margin: 5px 0;
}
aside .assistance {
    font-size: 18px;
    text-align: center;
    margin: 5px 0;
}
aside .block-white {
    padding: 9px;
    background-color: #FFF;
    color: #000;
}
aside .quantity {
    font-weight: bold;
    text-transform: uppercase;
}
aside .button {
    padding: 10px 0;
    margin: 5px 0;
}
aside .retirer-magasin {
    color:white;
    background-color: #737373;
    font-size: 12px;
}
aside .horaires {
    color: #737373;
    font-size: 10px
}

/* PRODUCT */
#product .pictures, #video>.left {
    width: 43%;
    position:relative;
}
#product .pictures {
    margin-top: 20px;
}
#main-picture {
    max-width:100% !important;
    max-height: 300px !important;
}
#product-gallery {
    margin-top: 5px;
}
#product-gallery a {
    width: 25%;
    max-height: 85px;
    position: relative;
    float: left;
    text-align: center;
    padding:2px;
}
#product-gallery img {
    max-width: 100%;
    max-height: 100%;
}
#product .box-buy, #video>.right {
    width: 54%;
}
#product h2 {
    margin:0;
    font-weight: normal;
    font-size: 23px;
}
#product .mini-infos {
    margin-top: 7px;
    margin-bottom: 30px;
    text-transform: uppercase;
}
#product .mini-infos>span {
    margin-right: 7%;
}
#product .mini-infos .fa {
    font-size:15px;
}
#product label {
    text-transform: uppercase;
    color: #727272;
}
#add-cart {
    margin: 25px 0;
}
#add-cart .col-1-2 {
    width:48%;
}
#add-cart .button[type=submit] {
    padding: 10px;
}
#product .price {
    margin-top: 15px;
}
#product .price-current {
    font-size: 30px;
}
#product .price-original {
    color: #727272;
    text-decoration: line-through;
    margin-left: 10px;
}
#product #quick-infos .ui-accordion-header {
    background-color: #F5F5F5;
    padding: 10px;
    text-transform: uppercase;
    font-size: 14px;
    margin: 3px 0;
    cursor:pointer;
}
#product #quick-infos .ui-accordion-content {
    padding: 10px;
}

.share-label {
    line-height: 30px;
    padding-right: 20px;
    color: #737373;
}
.share-buttons .jssocials-share {
    margin-right: 8px;
}

#video .col-1-2 {
    position: relative;
}
#video .filter {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 100px;
    cursor: pointer;
}
#video .filter:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.list-products {
    list-style: none;
    margin: 0;
    padding: 0;
}
.list-products .items {
    float:left;
    width: 16.65%;
    text-align: center;
    padding: 0 8px;
}
.list-products .image {
    background-color: #fefefe;
    padding: 7px;
}
.list-products .image img {
    max-width: 100%;
    max-height: 100px;
}
.list-products .stars {
    font-size: 16px;
}
.list-products .title {
    text-transform: uppercase;
    color: #737373;
    padding: 7px 0;
}
.list-products .price {
    font-size: 16px;
    font-weight: bold;
}
.list-products .button {
    margin-bottom: 0;
}

.list-products.style-2 .items {
    width:23.5%;
    background-color: white;
    padding:0;
    margin:0 1%;
}
.list-products.style-2>.items:first-child {
    margin-left: 0;
}
.list-products.style-2>.items:last-child {
    margin-right: 0;
}
.list-products.style-2 .image {
    padding:0;
}
.list-products.style-2 .image img {
    max-width: 100%;
    max-height: 310px;
}
.list-products.style-2 .content {
    padding:10px;
}

#product-description .col-1-2.left {
    width: 55%;
}
#product-description .col-1-2.right {
    width: 43%;
}
#product-description .block {
    padding-top: 15px;
}
#product-description .block + .block {
    border-top: 1px dashed #cccccc;
}
#product-description .block h4 {
    font-size: 17px;
    margin: 0;
}
#product-description .block .picture {
    width: 230px;
    margin-left: 15px;
    margin-bottom: 15px;
    max-height: 140px;
}
#product-description .block .picture img {
    width: 100%;
}

#product-opinion h3 {
    margin-bottom: 4px;
}
#product-opinion .note-global-label {
    margin-left: 5px;
}
.list-opinions {
    list-style: none;
    padding: 0;
}
.list-opinions li {
    border-top: 1px dashed #cccccc;
    padding-top: 10px;
}
.list-opinions li h4 {
    margin-top: 2px;
    margin-bottom: 2px;
}
.list-opinions li .author, .list-cart .title {
    color: #737373;
}

.list-cart>tbody>tr:not(.hidden) + tr {
    border-top: 1px dashed #C5C5C5;
}
.list-cart>tbody>tr>td {
    padding: 15px;
}
.list-cart>tbody>tr>td:nth-child(1){
    width:150px;
}
.list-cart>tbody>tr>td:nth-child(3){
    width:130px;
}
.list-cart>tbody>tr>td:nth-child(4){
    width:100px;
}
.list-cart .quantity input {
    width: 50px;
    text-align: center;
}
.list-cart img {
    max-height:100px;
    max-width:100%;
}


.cart-total td {
    text-align: right;
}
.cart-total tr>td:first-child {
    width:65%;
}
.cart-total .amount-total td {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    padding-top: 10px;
}

#paiement .number {
    width: 22px;
    display: inline-block;
    text-align: center;
    height: 21px;
    background-color: #F5F5F5;
    border-radius: 50%;
    margin-right: 10px;
}
#paiement h3 {
    margin-bottom: 0;
}
#paiement>.portlet + h3 {
    margin-top: 15px;
}
#paiement .ui-accordion-content {
    margin-top: 0;
    padding-left: 58px;
    padding-top: 0;
    margin-bottom: 0;
}
#paiement .etape-content {
    padding-top: 10px;
    border-top: 1px solid #C2C2C2;
}
#paiement .etape-edit {
    font-weight: normal;
    font-size: 13px;
    float: right;
    text-transform: none;
}
#paiement .etape-edit button {
    margin-left: 10px;
}
#etape-content-1 .table-cell {
    width: 33.3%;
    padding:0 20px;
}
#etape-content-1 .table-cell:first-child {
    padding-left: 0;
}
#paiement h4 {
    font-weight: normal;
    margin:5px 0 2px 0;
}
.list-coordonnees {
    margin-top: 20px;
}
.list-coordonnees tr>td:last-child {
    padding: 5px;
}
#etape-content-2 h4 {
    margin: 12px 0 5px;
    font-size: 16px;
}
#etape-content-3 .block + .block {
    margin-top: 10px;
}
#etape-content-3 .block {
    padding: 15px;
    background-color: #F5F5F5;
}
#etape-content-3 .input-group {
    width: 250px;
    margin: 12px 0;
}
#etape-content-3 select {
    background-color: #FFF;
    text-transform: none;
}
#paiement .logo-paiement img {
    height: 30px;
    margin-top: -4px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1300px) {
    aside {
        display: none;
    }
}
@media only screen and (max-width: 900px) {
    nav ul li {
        padding: 0 10px;
    }
    #share-block .col-1-2 {
        width:100%;
        text-align: center;
    }
    #share-block .left {
        float:none;
    }
}
@media only screen and (max-width: 750px) {
    table {
        table-layout: auto;
    }

    #main-menu-select {
        display: block;
    }
    nav ul li:not(#main-menu-select) {
        display: none;
    }

    .list-products .items {
        width:33.3%;
    }
    #other-products .col-1-2 {
        float:none;
        width:100% !important;
        margin: 10px 0;
    }
    #product-description .col-1-2 {
        float:none;
        width:100% !important;
    }
}
@media only screen and (max-width: 650px) {
    #product .mini-infos>span {
        display: block;
        text-align: center;
        margin: 5px 0;
    }
}
@media only screen and (max-width: 550px) {
    .col-1-2, #product .left, #product .right {
        float:none !important;
        width:100% !important;
    }
    #product .title {
        text-align: center;
        margin-bottom: 20px;
    }
    #product .price {
        text-align: center;
    }

    .list-products .items {
        width:48% !important;
    }

    #product-description .block .picture {
        width: 100%;
        margin-left: 0;
        margin-bottom: 15px;
        max-height: none;
        float: none;
        text-align: center;
    }

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}