Skip to content
Snippets Groups Projects
main.css 34.6 KiB
Newer Older
Augustin Lemesle's avatar
Augustin Lemesle committed
/* Paths */
/* Colors */
/* Global Media Queries */
/* Direction */
/* Icon fonts */
Augustin Lemesle's avatar
Augustin Lemesle committed

Augustin Lemesle's avatar
Augustin Lemesle committed
pre {
	background-color: floralwhite;
	white-space: pre;
Augustin Lemesle's avatar
Augustin Lemesle committed
	border: 1px cornsilk inset;
	border-radius: 5px;
	box-shadow: inset 0 0 .2em darkgray;
        padding: 3px 2px;
        font-size: smaller;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
Augustin Lemesle's avatar
Augustin Lemesle committed
        margin-left:1.5em;
Augustin Lemesle's avatar
Augustin Lemesle committed
@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.woff'), url('../fonts/icomoon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
[class*="icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  display: inline-block;
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Enable Ligatures ================ */
  letter-spacing: 0;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  -moz-font-feature-settings: "liga";
  -ms-font-feature-settings: "liga" 1;
  -o-font-feature-settings: "liga";
  font-feature-settings: "liga";
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-code:before {
  content: "\e900";
}
.icon-lock:before {
  content: "\e901";
}
.icon-search:before {
  content: "\e902";
}
.icon-thumb:before {
  content: "\e903";
}
.icon-arrow-down:before {
  content: "\e904";
}
.icon-arrow-left:before {
  content: "\e905";
}
.icon-arrow-right:before {
  content: "\e906";
}
.icon-arrow-thin-dwn:before {
  content: "\e907";
}
.icon-arrow-thin-lft:before {
  content: "\e908";
}
.icon-arrow-thin-rgt:before {
  content: "\e909";
}
.icon-arrow-thin-up:before {
  content: "\e90a";
}
.icon-arrow-up:before {
  content: "\e90b";
}
.icon-btn-submit:before {
  content: "\e90c";
}
.icon-close:before {
  content: "\e90d";
}
.icon-curly-left:before {
  content: "\e90e";
}
.icon-curly-right:before {
  content: "\e90f";
}
.icon-download-arrow:before {
  content: "\e910";
}
.icon-spinner2:before {
  content: "\e97b";
}
.icon-warning:before {
  content: "\ea07";
}
.icon-info:before {
  content: "\ea0c";
}
.icon-facebook:before {
  content: "\ea90";
}
.icon-twitter:before {
  content: "\ea96";
}
/* Google Font family - Muli */
@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 300;
  src: local('Muli Light Italic'), local('Muli-LightItalic'), url(https://fonts.gstatic.com/s/muli/v16/7Au9p_0qiz-afTf-hCDGzWQN.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 400;
  src: local('Muli Italic'), local('Muli-Italic'), url(https://fonts.gstatic.com/s/muli/v16/7Au-p_0qiz-afTf2LwLW.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 600;
  src: local('Muli SemiBold Italic'), local('Muli-SemiBoldItalic'), url(https://fonts.gstatic.com/s/muli/v16/7Au9p_0qiz-afTf-8CbGzWQN.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 700;
  src: local('Muli Bold Italic'), local('Muli-BoldItalic'), url(https://fonts.gstatic.com/s/muli/v16/7Au9p_0qiz-afTf-lCfGzWQN.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 800;
  src: local('Muli ExtraBold Italic'), local('Muli-ExtraBoldItalic'), url(https://fonts.gstatic.com/s/muli/v16/7Au9p_0qiz-afTf-iCTGzWQN.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 900;
  src: local('Muli Black Italic'), local('Muli-BlackItalic'), url(https://fonts.gstatic.com/s/muli/v16/7Au9p_0qiz-afTf-rCXGzWQN.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 300;
  src: local('Muli Light'), local('Muli-Light'), url(https://fonts.gstatic.com/s/muli/v16/7Au_p_0qiz-adZnkOCX2yg.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 400;
  src: local('Muli Regular'), local('Muli-Regular'), url(https://fonts.gstatic.com/s/muli/v16/7Auwp_0qiz-afTLGKA.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 600;
  src: local('Muli SemiBold'), local('Muli-SemiBold'), url(https://fonts.gstatic.com/s/muli/v16/7Au_p_0qiz-ade3iOCX2yg.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 700;
  src: local('Muli Bold'), local('Muli-Bold'), url(https://fonts.gstatic.com/s/muli/v16/7Au_p_0qiz-adYnjOCX2yg.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 800;
  src: local('Muli ExtraBold'), local('Muli-ExtraBold'), url(https://fonts.gstatic.com/s/muli/v16/7Au_p_0qiz-adZXgOCX2yg.ttf) format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 900;
  src: local('Muli Black'), local('Muli-Black'), url(https://fonts.gstatic.com/s/muli/v16/7Au_p_0qiz-adbHhOCX2yg.ttf) format('truetype');
}
/*---------------------------- 1. Global styles ------------------------------*/
html,
body {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: #484848;
  font: 500 16px/1.2 'Muli', sans-serif;
  word-break: break-word;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
div,
section,
header,
footer {
  box-sizing: border-box;
}
a {
Allan Blanchard's avatar
Allan Blanchard committed
  color: #b4ab65;
Augustin Lemesle's avatar
Augustin Lemesle committed
  cursor: pointer;
  text-decoration: none;
}
Allan Blanchard's avatar
Allan Blanchard committed
a:hover {
  text-decoration: underline;
}
Augustin Lemesle's avatar
Augustin Lemesle committed
a.link {
  border-bottom: 1px solid;
  transition: all 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.nonTouch a.link:hover {
  color: #f36521;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
figure {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
html,
body,
.hfeed,
.pageContent {
  height: 100%;
}
p {
  line-height: 1.5;
  text-align: justify;
}
li {
	text-align: justify;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.pageContent {
  overflow: visible;
  padding-bottom: 125px;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
@media (min-width: 768px){
  .pageContent {
	  padding-bottom: 120px;
  }
}
@media (min-width: 1280px){
  .pageContent {
	  padding-bottom: 128px;
  }
}

Augustin Lemesle's avatar
Augustin Lemesle committed
::-moz-selection {
  background: #f7931c;
  color: #fff;
}
::selection {
  background: #f7931c;
  color: #fff;
}
::-webkit-media-controls-play-button,
::-webkit-media-controls-start-playback-button {
  opacity: 0;
  pointer-events: none;
  width: 5px;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-animation: autofill 0s forwards;
  animation: autofill 0s forwards;
}
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.5;
}
::-moz-placeholder {
  color: inherit;
  opacity: 0.5;
}
:-ms-input-placeholder {
  color: inherit;
  opacity: 0.5;
}
:-moz-placeholder {
  color: inherit;
  opacity: 0.5;
}
@keyframes autofill {
  100% {
    background: transparent;
    color: inherit;
  }
}
@-webkit-keyframes autofill {
  100% {
    background: transparent;
    color: inherit;
  }
}
input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}
a:active,
img:active,
input:active,
button:active,
[role="button"]:active,
a:focus,
img:focus,
input:focus,
button:focus,
[role="button"]:focus {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: #f36521 !important;
}
.btnDownload:focus,
.btn:focus {
	color: #000 !important;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
/*---------------------------- 2. Helper classes ------------------------------*/
.hide {
  display: none !important;
}
.pullLeft {
  float: left;
}
.pullRight {
  float: right;
}
.textCenter {
  text-align: center;
}
.textLeft {
  text-align: left;
}
.textRight {
  text-align: right;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
.img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f6f6f6;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}
.fullScreen {
  position: relative;
}
Augustin Lemesle's avatar
Augustin Lemesle committed
.bgCover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.fillParent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.verticalFlex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.preload {
  position: absolute;
  background-repeat: no-repeat;
  top: -2px;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}
.swiper-slide {
  outline: none;
}
.inviewTop {
  position: absolute;
  top: 0;
  height: 10px;
  transform: none !important;
}
.inviewCenter {
  position: absolute;
  top: 25%;
  height: 50%;
  transform: none !important;
  width: 100vw !important;
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0) !important;
  pointer-events: none;
}
.alert {
  position: relative;
  background: #faf9ff;
  text-align: center;
  padding: 13px;
  margin: 10px 0;
  color: #5d6d91;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.05);
}
/*---------------------------- 3. Admin Bar Styles ------------------------------*/
html.framac-site {
  margin-top: 0 !important;
}
div#wpadminbar {
  background: none;
  height: 27px;
}
div#wp-toolbar {
  transition: all 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
  transform: translateY(-100%);
  height: 27px;
  background: #23282d;
}
div#wpadminbar:hover div#wp-toolbar {
  transform: translateY(-5px);
}
@media screen and (max-width: 960px) {
  html #wpadminbar {
    display: none;
  }
  html.touchevents,
  html.no-touchevents {
    margin-top: 0 !important;
  }
}
/*---------------------------- 4. Header styles ------------------------------*/
@media (min-width:  768px) {
  #magic-line {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100px;
    height: 2px;
    background: #f7931c;
  }
}
.siteHeader {
  background: #fff;
Augustin Lemesle's avatar
Augustin Lemesle committed
  width: 100%;
  left: 0;
  top: 0;
  height: 64px;
  z-index: 52;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
@media (min-width:  768px) {
  .siteHeader {
    height: 60px;
  }
}
@media (min-width: 1280px) {
  .siteHeader {
    height: 65px;
    padding-left: 35px;
  }
}
.siteHeader nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  width: 100%;
  z-index: 61;
}
.siteHeader nav > div {
  background: #f2ae22;
  width: 70%;
  max-width: 310px;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width:  767px) {
  .siteHeader nav > div {
    animation: slideLeftIn 0.5s;
  }
}
.siteHeader nav ul {
  list-style: none;
  padding: 0;
  display: table;
  margin: auto;
  position: relative;
}
.siteHeader nav li {
  display: block;
}
.siteHeader nav li a {
  color: #fff;
  text-transform: uppercase;
  font-size: 18px;
  padding: 10px;
  display: block;
}
Augustin Lemesle's avatar
Augustin Lemesle committed
.siteHeader nav li.current-menu-item a {
  color: #000;
}
@media (max-width:  767px) {
  .siteHeader nav li {
    animation: slideLeftIn 0.5s;
  }
  .siteHeader nav li:nth-child(2) {
    animation-duration: 0.6s;
  }
  .siteHeader nav li:nth-child(3) {
    animation-duration: 0.7s;
  }
  .siteHeader nav li:nth-child(4) {
    animation-duration: 0.8s;
  }
  .siteHeader nav li:nth-child(5) {
    animation-duration: 0.9s;
  }
  .siteHeader nav li:nth-child(6) {
    animation-duration: 1s;
  }
}
.siteHeader .btnDownload {
  display: none;
}
.siteHeader #top_point {
  position: absolute;
  top: 0;
  width: 20px;
  height: 4px;
  visibility: hidden;
}
@media (min-width:  768px) {
  .siteHeader nav {
    display: block;
    position: static;
    background: none;
    width: auto;
    float: right;
  }
  .siteHeader nav > div {
    background: none;
    position: static;
    width: auto;
    max-width: none;
    float: left;
  }
  .siteHeader nav ul {
    display: block;
    margin-right: 68px;
  }
  .siteHeader nav li {
    float: left;
  }
  .siteHeader nav li a {
    color: #717171;
    border-bottom: 2px solid #fff;
    font-size: 11px;
    position: relative;
    padding: 24px 10px 21px;
    line-height: 1;
    transition: color 0.1s, background 0.1s, border 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
  .siteHeader nav li.current-menu-item a {
    color: #f26521;
Augustin Lemesle's avatar
Augustin Lemesle committed
	border-bottom: #f26521 1px solid;
  .menu-item.download {
	display: none;
  }
  
Augustin Lemesle's avatar
Augustin Lemesle committed
  .siteHeader nav li a:hover {
Allan Blanchard's avatar
Allan Blanchard committed
    text-decoration: none;
	  border-bottom: #f26521 1px solid;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
Augustin Lemesle's avatar
Augustin Lemesle committed
  
Augustin Lemesle's avatar
Augustin Lemesle committed
  .siteHeader .btnDownload {
    float: right;
    display: block;
    box-sizing: border-box;
    background: #f7931c;
    color: #fff;
    font-size: 20px;
    height: 58px;
Augustin Lemesle's avatar
Augustin Lemesle committed
    width: 68px;
    text-align: center;
    line-height: 62px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 61;
  }
  .siteHeader .btnDownload .icon-download-arrow {
    display: inline-block;
    margin: 0 5px;
    font-size: 16px;
    position: relative;
    top: -2px;
  }
  .siteHeader .btnDownload span {
    position: relative;
    z-index: 2;
  }
  .siteHeader .btnDownload span i {
    transition: transform 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
  .siteHeader .btnDownload:before,
  .siteHeader .btnDownload:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
  .siteHeader .btnDownload:before {
    background: #f26521;
    background: -moz-linear-gradient(-150deg, #f26521 0%, #f7931c 80%);
    background: -webkit-linear-gradient(-150deg, #f26521 0%, #f7931c 80%);
    background: linear-gradient(-150deg, #f26521 0%, #f7931c 80%);
  }
  .siteHeader .btnDownload:after {
    background: #f7931c;
    background: -moz-linear-gradient(-150deg, #f7931c 0%, #f26521 80%);
    background: -webkit-linear-gradient(-150deg, #f7931c 0%, #f26521 80%);
    background: linear-gradient(-150deg, #f7931c 0%, #f26521 80%);
    opacity: 0;
  }
  .nonTouch .siteHeader .btnDownload:hover:after {
    opacity: 1;
  }
  .nonTouch .siteHeader .btnDownload:hover span i:first-child {
    transform: translateX(-2px);
  }
  .nonTouch .siteHeader .btnDownload:hover span i:last-child {
    transform: translateX(2px);
  }
  .nonTouch .siteHeader .btnDownload:hover span i.icon-download-arrow {
    animation: intimateDownload 0.8s ease;
  }
  .siteHeader .btnDownload.sticky {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  }
}
@media (min-width: 1280px) {
  .siteHeader nav ul {
    margin-right: 80px;
  }
  .siteHeader nav li a {
    font-size: 13px;
    padding: 25px 22px 22px;
    line-height: 1.2;
  }
  .siteHeader .btnDownload {
    font-size: 23px;
    height: 64px;
Augustin Lemesle's avatar
Augustin Lemesle committed
    width: 80px;
    line-height: 67px;
  }
  .siteHeader .btnDownload .icon-download-arrow {
    margin: 0 6px;
    font-size: 20px;
  }
}
@media (min-width: 1600px) {
  .siteHeader nav li a {
    font-weight: 600;
    padding: 25px 25px 22px;
  }
}
@media (min-width:  768px) {
  .nonTouch .siteHeader nav li:not([class*="current-menu-item"]) a {
    transition: 0.1s ease-out;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
}
.brandLogo {
  position: absolute;
  top: 0px;
  left: 10px;
Augustin Lemesle's avatar
Augustin Lemesle committed
  display: block;
}
.brandLogo.u3cat {
  height: 100%;
  align-items: center;
  display: flex;
}
Augustin Lemesle's avatar
Augustin Lemesle committed
.brandLogo span {
  display: none;
}
.brandLogo img {
  height: 64px;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.brandLogo.u3cat img {
  height: 50px;
}
Augustin Lemesle's avatar
Augustin Lemesle committed
@media (min-width:  768px) {
  .brandLogo {
    position: static;
    padding-left: 10px;
Augustin Lemesle's avatar
Augustin Lemesle committed
    float: left;
  }
  .brandLogo img {
    height: 60px;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
  .brandLogo.u3cat img {
    height: 40px;
  }
Augustin Lemesle's avatar
Augustin Lemesle committed
}
@media (min-width: 1280px) {
  .brandLogo {
    padding: 0;
  }
  .brandLogo img {
    height: 65px;
Augustin Lemesle's avatar
Augustin Lemesle committed
  }
  .brandLogo.u3cat img {
    height: 40px;
  }
}
@media (min-width: 1430px) {
  .brandLogo.u3cat img {
    height: 50px;
  }
Augustin Lemesle's avatar
Augustin Lemesle committed
}

.burger {
  display: inline-block;
  border: 0;
  background: none;
  outline: 0;
  padding: 0;
  cursor: pointer;
  border-bottom: 4px solid #f7931c;
  border-radius: 2px;
  width: 28px;
  transition: border-bottom 1s ease-in-out;
  -webkit-transition: border-bottom 1s ease-in-out;
Augustin Lemesle's avatar
Augustin Lemesle committed
  position: absolute;
  right: 15px;
  top: 15px;
Augustin Lemesle's avatar
Augustin Lemesle committed
  z-index: 62;
  backface-visibility: hidden;
  margin: 8px 0 8px 8px;
}
.burger::-moz-focus-inner {
  border: 0;
  padding: 0;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.burger:before {
  content: "";
  display: block;
  border-bottom: 4px solid #f7931c;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 5px;
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.burger:after {
  content: "";
  display: block;
  border-bottom: 4px solid #f7931c;
  width: 100%;
  margin-bottom: 5px;
  border-radius: 8px;
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
Augustin Lemesle's avatar
Augustin Lemesle committed
}

.burger-check {
Augustin Lemesle's avatar
Augustin Lemesle committed
  display: none;
}

.burger-check:checked ~ .burger {
  border-bottom: 4px solid transparent;
  border-radius: 0px;
  transition: border-bottom 0.8s ease-in-out;
  -webkit-transition: border-bottom 0.8s ease-in-out;
}
.burger-check:checked ~ .burger:before {
  border-radius: 0px;
  border-bottom: 4px solid white;
  transform: rotate(-405deg) translateY(1px) translateX(-3px);
  -webkit-transform: rotate(-405deg) translateY(1px) translateX(-3px);
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
}
.burger-check:checked ~ .burger:after {
  border-radius: 0px;
  border-bottom: 4px solid white;
  transform: rotate(405deg) translateY(-4px) translateX(-5px);
  -webkit-transform: rotate(405deg) translateY(-4px) translateX(-5px);
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
Augustin Lemesle's avatar
Augustin Lemesle committed
}

.burger-check:checked ~ #menu {
Augustin Lemesle's avatar
Augustin Lemesle committed
  display: block;
}
Augustin Lemesle's avatar
Augustin Lemesle committed
@media (min-width:  768px) {
  .burger {
Augustin Lemesle's avatar
Augustin Lemesle committed
    display: none;
  }
}
@keyframes slideLeftIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0%);
  }
}
@keyframes intimateDownload {
  0% {
    opacity: 1;
    transform: translateY(0px);
  }
  45% {
    opacity: 0;
    transform: translateY(10px);
  }
  55% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
/*---------------------------- 5. Common button ------------------------------*/
.btn {
  background: #f7931c;
  border-radius: 80px;
  border: 0 none;
  box-shadow: 0 8px 16px rgba(244, 116, 31, 0.5);
  outline: 0 none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 18px;
  font-weight: 300;
  padding: 16px 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.1s, box-shadow 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
  backface-visibility: hidden;
  z-index: 1;
}
.btn span {
  position: relative;
  z-index: 2;
}
.btn span span {
  margin-left: 8px;
}
.btn span i {
  top: 2px;
}
.btn span .icon-download-arrow {
  font-size: 17px;
  margin: 0 7px;
  top: 1px;
}
.btn i {
  position: relative;
  z-index: 2;
}
.btn small {
  position: relative;
  text-transform: uppercase;
  z-index: 2;
  font-size: 70%;
  font-weight: 600;
  line-height: 1;
  display: block;
  margin: 0 15px;
}
@media (min-width: 1024px) {
  .btn small {
    margin: 0 25px;
  }
}
.btn b {
  font-weight: 700;
}
.btn:before,
.btn:after {
  content: '';
  display: block;
  border-radius: 80px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}
.btn:before {
  background: #f26521;
  background: -moz-linear-gradient(-150deg, #f26521 0%, #f7931c 80%);
  background: -webkit-linear-gradient(-150deg, #f26521 0%, #f7931c 80%);
  background: linear-gradient(-150deg, #f26521 0%, #f7931c 80%);
}
.btn:after {
  background: #f7931c;
  background: -moz-linear-gradient(-150deg, #f7931c 0%, #f26521 80%);
  background: -webkit-linear-gradient(-150deg, #f7931c 0%, #f26521 80%);
  background: linear-gradient(-150deg, #f7931c 0%, #f26521 80%);
  opacity: 0;
}
.nonTouch .btn:hover:after {
  opacity: 1;
}
.nonTouch .btn:hover .icon-download-arrow {
  animation: intimateDownload 0.8s ease;
}
@media (min-width: 1280px) {
  .btn {
    font-size: 22px;
    padding: 20px 45px;
    box-shadow: 0 10px 20px rgba(244, 112, 32, 0.5);
  }
  .btn span .icon-download-arrow {
    font-size: 19px;
    margin: 0 8px;
  }
}
.btn.btnCancel {
  background: #f3f3f3;
  box-shadow: none;
  color: rgba(0, 0, 0, 0.5);
}
.btn.btnCancel:before {
  display: none;
}
.nonTouch .btn.btnCancel:hover {
  color: #fff;
}
.btn.btnCancel.active {
  color: #fff;
}
.btn.btnCancel.active:before {
  display: block;
}
.btn.cta-download span i {
  transition: transform 0.1s;
Augustin Lemesle's avatar
Augustin Lemesle committed
}