.section_diy { max-width: 1180px; margin-right: auto; margin-left: auto; background-image: url(../img/bg-diy.jpg); background-position: center; /*background-repeat: no-repeat; background-attachment: fixed;*/ padding: 0 15px; padding-bottom: 60px; } .section_diy .gauche { max-width: 500px; margin-right: auto; margin-left: auto; } .section_diy .gauche .top { padding-top: 160px; padding-bottom: 25px; text-align: center; position: relative; } .section_diy .gauche .top .img { background-image: url(../img/logo_diy.png); background-position: center; background-repeat: no-repeat; -webkit-background-size: 145px; background-size: 145px; width: 145px; height: 145px; display: inline-block; vertical-align: bottom; position: absolute; left: 0; top: 20px; right: 0; margin: 0 auto; } .section_diy .gauche .top .texte { font-size: 16px; font-family: "Roboto"; color: #fff; line-height: 1.125; display: inline-block; vertical-align: bottom; width: 150px; margin-bottom: 0; text-align: left; margin-left: 25px; margin-bottom: 10px; } .section_diy .gauche .top .btn_cyb { display: inline-block; vertical-align: bottom; margin-top: 20px; } .section_diy .gauche .bottom { background-color: rgba(255,255,255,.8); padding: 30px 20px; } .section_diy .gauche .bottom .titre { font-size: 20px; font-family: "Roboto"; color: #485b6d; line-height: 1.2; font-weight: 500; } .section_diy .gauche .bottom .texte p{ font-size: 14px; font-family: "Roboto"; color: #485b6d; line-height: 1.2; margin-bottom: 18px; } .section_diy .gauche .bottom .small { margin-bottom: 0; } .section_diy .gauche .bottom .small small { font-size: 10px; font-family: "Roboto"; color: #485b6d; line-height: 1; font-style: italic; } .section_diy .droite { } .section_diy .droite ul { padding-top: 30px; } .section_diy .droite ul li { margin-bottom: 15px; display: block; text-align: center; } .section_diy .droite ul li .nom { font-size: 16px; line-height: 38px; font-family: "Roboto"; color: #fff; text-transform: uppercase; font-weight: 500; display: inline-block; width: 180px; margin-bottom: 0; background-image: url(../img/fleche_diy.png); background-repeat: no-repeat; background-position: right center; -webkit-background-size: 59px; background-size: 59px; text-align: left; } .section_diy .droite ul li .btn_cyb { display: inline-block; padding-left: 10px; } .section_diy .droite ul li .btn_cyb a{ font-size: 12px; padding: 10px 5px 10px 25px; background-repeat: no-repeat; background-position: 5px center; background-size: 16px; font-weight: 100; transition : all .2s ease; } .section_diy .droite ul li .btn_cyb a:hover{color: #8fc43e !important;} .section_diy .droite ul li:nth-of-type(1) .btn_cyb a{background-image: url(../img/diy-nicotine.png);} .section_diy .droite ul li:nth-of-type(2) .btn_cyb a{background-image: url(../img/diy-aromes.png);} .section_diy .droite ul li:nth-of-type(3) .btn_cyb a{background-image: url(../img/diy-accessoires.png);} .section_diy .droite ul li:nth-of-type(4) .btn_cyb a{background-image: url(../img/diy-bases.png);} .section_diy .droite ul li:nth-of-type(5) .btn_cyb a{background-image: url(../img/diy-packs.png);} #main a:hover{ color: #8fc43e; } @media screen and (min-width: 768px) { .section_diy .gauche .top{ font-size: 0; padding-top: 20px; } .section_diy .gauche .top .img { right: inherit; left: 10px; top: 20px; } .section_diy .gauche .top .texte{ font-size: 18px; font-weight: bold; margin-left: 175px; margin-right: 30px; padding-top: 5px; line-height: 16px; } .section_diy .gauche .bottom { padding: 25px 35px; } .section_diy .droite ul { padding-top: 50px; } .section_diy .droite ul li { margin-bottom: 40px; } .section_diy .droite ul li .nom { font-size: 28px; line-height: 48px; width: 270px; } .section_diy .droite ul li .btn_cyb { padding-left: 30px; } .section_diy .droite ul li .btn_cyb a{ font-size: 14px; padding: 15px 20px; font-weight: bold; background-size: 32px; padding-left: 60px; background-position: 15px center; } .section_diy .gauche .bottom .titre { padding-left: 150px; } } @media screen and (min-width: 1024px) { .section_diy{ text-align: center; background-attachment: inherit; /*-webkit-background-size: cover; background-size: cover;*/ padding-bottom: 40px; } .section_diy .gauche, .section_diy .droite{ display: inline-block; vertical-align: top; text-align: left; } .section_diy .droite ul{ padding-left: 70px; padding-top: 140px; } } @media screen and (min-width: 1024px) { .section_diy .droite ul{ padding-left: 90px; } }