/*!
 * Theme Name: Ranking 42916
 * Author: DKiT
 * Version: 1.0.0
 */
/* =Global styles
----------------------------------------------- */
html {
  font-size: 16px;
}

html, body {
  height: 100%;
}

body {
  display: table;
  table-layout: fixed;
  width: 100%;
  color: #525252;
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

body * {
  outline: none !important;
}

#wrap {
  display: table-row;
  height: 100%;
}

footer {
  display: table-row;
  height: 1px;
}

b, strong {
  font-weight: 800;
}

p, ul, ol {
  margin-bottom: 1.6rem;
}

a {
  color: #FFADAD;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

a:hover {
  color: #89d878;
  text-decoration: none;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 300;
  text-align: left;
}

.h1 b, .h1 strong, .h2 b, .h2 strong, .h3 b, .h3 strong, .h4 b, .h4 strong, .h5 b, .h5 strong, .h6 b, .h6 strong, h1 b, h1 strong, h2 b, h2 strong, h3 b, h3 strong, h4 b, h4 strong, h5 b, h5 strong, h6 b, h6 strong {
  font-weight: 300;
}

/* =Helper classes
----------------------------------------------- */
.header-lg {
  margin: 50px 0;
  padding: 15px 25px;
  background-color: #CAFFBF;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: 300;
  text-transform: uppercase;
  text-align: center;
}

.header-lg small {
  display: block;
  margin-top: 5px;
  font-size: 1.1rem;
  text-transform: none;
}

#scroll-top {
  position: fixed;
  z-index: 1030;
  right: 15px;
  bottom: 77px;
  background: url("images/scroll-top-arrow.svg") no-repeat center;
  background-color: #FFADAD;
  text-indent: -99999px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

#scroll-top.show {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background-color: #FDFFB6;
}

.lead {
  margin-bottom: 1.6rem;
  font-weight: 600;
  line-height: normal;
}

/* =UI
----------------------------------------------- */
.btn {
  padding: 8px 15px;
  font-size: .9rem;
  font-weight: 600;
  text-transform: lowercase;
  border-radius: 8px;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.btn-primary {
  background: #FFADAD;
  border-color: #FFADAD;
  color: #525252;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:not([disabled]):not(.disabled).active, .btn-primary:not([disabled]):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  background: #FDFFB6;
  border-color: #FDFFB6;
  color: #525252;
}

.btn-secondary {
  background: #CAFFBF;
  border-color: #CAFFBF;
  color: #525252;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:not([disabled]):not(.disabled).active, .btn-secondary:not([disabled]):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
  background: #FDFFB6;
  border-color: #FDFFB6;
  color: #525252;
}

/* =Page modules
----------------------------------------------- */
#header {
  position: relative;
  padding: 100px 0;
  background: rgba(253, 255, 182, 0.5);
  text-transform: uppercase;
}

#header .h1 {
  display: block;
  margin-bottom: 0;
  color: #525252;
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

#header .h1:hover {
  color: #89d878;
}

#header .h1:hover .small::before {
  background: #89d878;
}

#header .small {
  position: relative;
  margin-top: 20px;
  padding-top: 24px;
  font-size: 1.6rem;
  font-weight: 600;
}

#header .small::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0;
  left: 0;
  margin: auto;
  width: 100px;
  height: 4px;
  background: #525252;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

#page-bg {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("images/header.png") no-repeat center bottom;
  background-size: cover;
  opacity: .45;
}

#content-main {
  padding: 50px 0;
}

#content-main img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.ranking {
  margin-bottom: 50px;
}

.ranking-item {
  position: relative;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
  border: 2px solid #89d878;
  border-radius: 10px;
}

.ranking-item + .ranking-item {
  margin-top: 40px;
}

.product-image {
  margin-right: 15px;
  min-width: 180px;
  max-width: 180px;
}

.product-image img {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.product-image a:hover img {
  opacity: .85;
  -webkit-transform: scale(0.98);
          transform: scale(0.98);
}

.ranking-number {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  color: #525252;
  font-weight: 800;
  font-size: 1.4rem;
  text-align: center;
  line-height: 40px;
  border-radius: 8px;
}

.ranking-number::before, .ranking-number::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #CAFFBF;
  border-radius: 8px;
}

.ranking-number::after {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.product-top-content {
  padding-top: 7px;
  padding-right: 55px;
}

.product-title {
  margin-bottom: .8rem;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.product-title a {
  color: #000000;
  text-decoration: none;
}

.product-title a:hover {
  color: #89d878;
}

.product-info {
  font-size: .85rem;
  font-style: italic;
  line-height: 1.5;
}

.product-info p {
  margin-bottom: .6rem;
}

.product-info strong {
  color: #89d878;
  font-style: normal;
}

.product-content {
  padding-top: 15px;
}

.product-excerpt {
  font-size: .9rem;
}

.product-excerpt p, .product-excerpt ul, .product-excerpt ol {
  margin-bottom: 1.2rem;
}

.product-excerpt ul li + li, .product-excerpt ol li + li {
  margin-top: .5rem;
}

.product-btn a {
  display: block;
}

.ranking-item.first {
  border-color: #FFADAD;
}

.ranking-item.first .ranking-number {
  color: #000000;
}

.ranking-item.first .ranking-number::before, .ranking-item.first .ranking-number::after {
  background: #FFADAD;
}

.ranking-item.first .product-title a:hover {
  color: #FFADAD;
}

.ranking-item.first .product-info strong {
  color: #FFADAD;
}

#sidebar {
  margin-top: 2px;
  font-size: .9rem;
  line-height: 1.4;
}

#content {
  text-align: justify;
}

#content .box {
  margin: 30px 0;
}

.box {
  padding: 20px;
  background: #FFFFFC;
  border-radius: 10px;
}

.box + .box {
  margin-top: 1.6rem;
}

.box p:last-child {
  margin-bottom: 0;
}

.box-primary {
  background: #CAFFBF;
}

.box-secondary {
  background: #FDFFB6;
}

#footer {
  padding: 15px 0;
  background: #FFADAD;
  text-align: center;
  color: #000000;
}

.widget + .widget {
  margin-top: 1.6rem;
}

.sticky-sidebar .theiaStickySidebar {
  width: 350px !important;
}

.error404 #header {
  height: 100%;
}

.error404 #content-main {
  display: none;
}

/* =Media queries
----------------------------------------------- */
@media (max-width: 1199px) {
  .sticky-sidebar .theiaStickySidebar {
    width: 290px !important;
  }
}

@media (max-width: 991px) {
  .sticky-sidebar .theiaStickySidebar {
    width: auto !important;
  }
}

@media (max-width: 767px) {
  .h3, h3 {
    font-size: 1.35rem;
  }
  #content {
    text-align: left;
  }
  .box {
    padding: 10px;
  }
  #scroll-top {
    right: 0;
    bottom: 35px;
    border-radius: 8px 0 0 8px;
  }
  #header {
    padding: 30px 0;
  }
  #header .h1 {
    font-size: 1.7rem;
  }
  #content-main {
    padding: 30px 0;
  }
  .header-lg {
    margin: 30px 0;
    font-size: 1.5rem;
  }
  .ranking-item {
    padding: 10px;
  }
  .ranking-item + .ranking-item {
    margin-top: 25px;
  }
  .product-image {
    margin-left: auto;
    margin-right: auto;
  }
  .product-title {
    margin-bottom: 2rem;
    text-align: center;
  }
  .product-top-content {
    padding-right: 0;
  }
}

@media (max-width: 479px) {
  .product-title {
    font-size: .9rem;
  }
}
