/*
 Theme Name:   DRatings Customizr Pro
 Theme URI:    https://dratings.com
 Description:  Customizr Pro child theme for DRatings
 Template:     customizr-pro
 Version:      1.0.5
*/

/* *************************************
  Fonts
************************************* */

html {
  font-size: 14px !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 65em) {
  html {
    font-size: 16px !important;
  }
}

.site-title, .site-description, h1, h2, h3, .tc-dropcap {
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
}

h4 {
  font-family: 'IBM Plex Serif', serif !important;
  font-weight: 600 !important;
}

body, .navbar .nav > li > a {
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-weight: 400 !important;
}

/* *************************************
  Drawer
************************************* */

.drawer {
  background: #282727;
  bottom: 0;
  box-shadow: 1px 0 0 1px #282727;
  left: 100%;
  overflow-y: scroll;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}
@media (min-width: 55em) {
  .drawer {
    display: none;
  }
}

/* ----- Close ----- */

.is-drawerClose .drawer {
  animation: drawerClose 600ms cubic-bezier(0.23, 1, 0.32, 1);
}
body.is-drawerOpen {
  overflow-y: hidden;
}
@keyframes drawerClose {
  from {
    left: 0;
  }
  to {
    left: 0;
    transform: translateX(100%);
  }
}

/* ----- Open ----- */

.is-drawerOpen .drawer {
  animation: drawerOpen 600ms cubic-bezier(0.23, 1, 0.32, 1);
  left: 0;
}
@keyframes drawerOpen {
  from {
    left: 0;
    transform: translateX(100%);
  }
  to {
    left: 0;
    transform: none;
  }
}

/* ----- Close ----- */

.drawer-close {
  background: transparent;
  border: 0;
  color: #F78C40;
  cursor: pointer;
  line-height: 1;
  padding: 0.8rem;
  position: absolute;
  right: 0.4rem;
  top: 1.2rem;
}
.drawer-close:hover,
.drawer-close:focus {
  color: #E16309;
}
@media (min-width: 30em) {
  .drawer-close {
    top: 1rem;
  }
}

/* ----- List ----- */

.drawer-list {
  border-top: 5rem solid #111111;
  color: #999999;
  list-style: none;
  margin: 0;
  padding: 0;
}
.drawer-list a {
  color: #BBBBBB;
  display: block;
  padding: 0.8rem 1.2rem;
}
.drawer-list a:hover,
.drawer-list a:focus {
  color: #F78C40;
  text-decoration: none;
}
.drawer-list > li > a {
  color: white;
  font-size: 1.3195em;
  line-height: 2rem;
}
.drawer-list > li > a:hover,
.drawer-list > li > a:focus {
  color: #F78C40;
}
.drawer-list li {
  border-bottom: 2px solid #5A5A5A;
  margin: 0;
}
.drawer-list li:last-child {
  border: 0;
}
.drawer-list ul {
  border-top: 1px solid #111111;
  list-style: none;
  margin: 0;
  padding: 0;
}
.drawer-list ul li {
  border-bottom: 1px solid #111111;
}



/* *************************************
  Footer
************************************* */

.footer {
  background-color: #282727;
  color: white;
  margin-top: auto;
  position: relative;
  padding: 1px 0;
}

/* ----- Footer ----- */

.footer-footer {
  background-color: #111111;
  color: white;
  padding: 1px 0;
  position: relative;
}
.footer-footer-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
@media (min-width: 55em) {
  .footer-footer-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ----- Grid ----- */

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}
.footer-grid-box {
  box-sizing: border-box;
  flex: 0 1 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}
@media (min-width: 35em) {
  .footer-grid-box--2 {
    flex-basis: 50%;
  }
}
@media (min-width: 55em) {
  .footer-grid-box--2,
  .footer-grid-box--3 {
    flex-basis: 33.333%;
  }
}
@media (min-width: 75em) {
  .footer-grid-box--1,
  .footer-grid-box--2,
  .footer-grid-box--3 {
    flex-basis: 25%;
  }
}

/* ----- Heading ----- */

.footer-heading {
  align-items: flex-end;
  display: flex;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  position: relative;
}
.footer-heading::after {
  background: currentColor;
  bottom: 0;
  content: '';
  height: 1px;
  left: 0;
  opacity: 0.2;
  position: absolute;
  right: 0;
}
.footer-heading h3 {
  color: white;
  font-size: 1.3195em;
  font-weight: bold;
  line-height: 2rem;
  margin-bottom: 0;
  margin-top: 0;
  text-shadow: none;
}
@media (min-width: 55em) {
  .footer-heading h3 {
    font-size: 1.5157em;
  }
}

/* ----- Inner ----- */

.footer-inner {
  margin-bottom: 0.4rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  max-width: 80rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  position: relative;
}
@media (min-width: 55em) {
  .footer-inner {
    margin-bottom: 2.4rem;
    margin-top: 4rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ----- List ----- */

.footer-list {
  list-style: inherit;
  margin: 0 0 1.6rem;
  padding-left: 2rem;
}
.footer-list a {
  color: white;
}
.footer-list a:hover,
.footer-list a:focus {
  color: #F78C40;
  text-decoration: none;
}
.footer-list li {
  margin-bottom: 0.8rem;
  line-height: 1.6rem;
}
.footer-list--cta li:last-child a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-list--cta li:last-child a:hover,
.footer-list--cta li:last-child a:focus {
  color: #F78C40;
}

/* ----- Logo ----- */

.footer-logo {
  margin-bottom: 1.2rem;
  margin-top: 0.4rem;
}
.footer-logo a {
  display: block;
  margin-bottom: 0.4rem;
}
.footer-logo img {
  height: 2rem;
}
.footer-logo span {
  color: #E16309;
  font-size: 0.7579em;
  font-style: italic;
}

/* ----- Meta ----- */

.footer-meta {
  align-items: center;
  display: flex;
  font-size: 0.8706em;
  justify-content: space-between;
}
.footer-meta a {
  color: inherit;
}
.footer-meta a:hover,
.footer-meta a:focus {
  color: white;
  text-decoration: none;
}
.footer-meta > * {
  line-height: 2.4rem;
}
.footer-meta-twitter {
  align-items: center;
  display: flex;
}
.footer-meta-twitter span {
  background: #1D8DEE;
  border-radius: 50%;
  display: flex;
  height: 1.6rem;
  margin-right: 0.6rem;
  width: 1.6rem;
}
.footer-meta-twitter span > * {
  margin: auto;
  width: 0.9rem;
}

/* ----- Motifs ----- */

.footer-motif1,
.footer-motif2 {
  display: block;
  max-width: 100%;
  position: absolute;
}
.footer-motif1 > *,
.footer-motif2 > * {
  fill: #3D3D3D;
}
.footer-motif1 {
  display: none;
  height: 100%;
  left: 0;
  top: 0;
  width: auto;
}
@media (min-width: 55em) {
  .footer-motif1 {
    display: block;
  }
}
.footer-motif2 {
  height: 33%;
  top: 0;
  right: 0;
  width: auto;
}
@media (min-width: 55em) {
  .footer-motif2 {
    height: 65%;
  }
}



/* *************************************
  Header
************************************* */

.header {
  box-shadow: inset 0 -1px #BBBBBB, inset 0 4px #E16309;
  line-height: 1.6rem;
  padding: 1.6rem 1.2rem calc(1.6rem - 4px);
  position: relative;
}
@media (min-width: 55em) {
  .header {
    padding-bottom: 0;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ----- Actions ----- */

.header-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

/* ----- Drawer ----- */

.header-drawer {
  background: transparent;
  border: 0;
  color: #5A5A5A;
  cursor: pointer;
  font-size: 100%;
  line-height: 1rem;
  padding: 0.8rem;
  position: absolute;
  right: 0.4rem;
  top: 1.2rem;
}
.header-drawer:hover,
.header-drawer:focus {
  color: #282727;
}
@media (min-width: 30em) {
  .header-drawer {
    top: 1rem;
  }
}
@media (min-width: 55em) {
  .header-drawer {
    display: none;
  }
}

/* ----- Logo ----- */

.header-logo a {
  display: block;
  width: 6.8rem;
}
.header-logo a img {
  display: block;
}
.header-logo span {
  color: #E16309;
  display: block;
  font-size: 0.7579em;
  font-style: italic;
}
@media (min-width: 30em) {
  .header-logo {
    align-items: center;
    display: flex;
  }
  .header-logo > * + * {
    margin-left: 0.8rem;
  }
}

/* ----- Nav ----- */

.header-nav {
  display: none;
  list-style: none;
  margin: 0 0 0 -0.8rem;
  padding-left: 0;
}
.header-nav a:hover,
.header-nav a:focus {
  text-decoration: none;
}
.header-nav li {
  line-height: 1.6rem;
  margin: 0;
}
@media (min-width: 55em) {
  .header-nav {
    display: flex;
  }
}

.header-nav > li {
  position: relative;
  z-index: 20;
}
.header-nav > li:hover::after {
  opacity: 1;
  transform: none;
  transition: transform 200ms ease;
}
.header-nav > li:hover ul {
  opacity: 1;
  transform: none;
  visibility: visible;
}
.header-nav > li::after {
  background-color: #F78C40;
  bottom: 0;
  content: '';
  height: 4px;
  left: 0.8rem;
  opacity: 0;
  position: absolute;
  right: 0.8rem;
  transform: scale(1, 0);
  transform-origin: center bottom;
  transition: opacity 0ms 200ms, transform 200ms ease;
}
.header-nav > .menu-item-has-children > a {
  padding-right: 1.6rem;
  position: relative;
}
.header-nav > .menu-item-has-children > a::after {
  border-bottom: 2px solid #F78C40;
  border-right: 2px solid #F78C40;
  content: '';
  height: 0.25rem;
  pointer-events: none;
  position: absolute;
  right: 0.8rem;
  top: 1.7rem;
  transform: rotate(45deg);
  width: 0.25rem;
}

.header-nav ul {
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.15);
  background: white;
  left: 0.8rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  padding: 0.4rem 0;
  position: absolute;
  top: 100%;
  transform: translateY(0.4rem);
  transition: all 200ms ease;
  visibility: hidden;
  min-width: 14rem;
}
.header-nav ul a {
  display: block;
  color: inherit;
  font-size: 0.8706em;
  padding: 0.4rem 0.8rem;
  white-space: nowrap;
}
.header-nav ul a:hover,
.header-nav ul a:focus {
  color: #C57033;
}

.header-nav > li > a {
  display: block;
  color: inherit;
  padding: 1.2rem 0.8rem;
}
.header-nav > li > a:hover,
.header-nav > li > a:focus {
  color: #282727;
}

/* ----- Toggles ----- */

.header-toggles {
  display: flex;
  padding-top: 1rem;
  width: 100%;
}
.header-toggles > * {
  width: 100%;
}
.header-toggles > * + * {
  margin-left: 0.8rem;
}
@media (min-width: 35em) {
  .header-toggles {
    width: auto;
  }
}
@media (min-width: 55em) {
  .header-toggles {
    padding-bottom: 1rem;
  }
}
