/**
 * Shop
 */
/** Shop: Index **/
/* General */
.shop-index__section {
    position: relative;
    margin-bottom: 60px;
}

.shop-index__section.alt {
    background-color: #f5f5f5;
    padding-top: 60px;
    padding-bottom: 60px;
    border-width: 1px 0 1px 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.05);
}

.shop-index__heading {
    margin-top: 0;
    margin-bottom: 60px;
    font-family: 'Questrial', sans-serif;
}

.shop-index__heading + p {
    margin-top: -50px;
    margin-bottom: 60px;
    color: #777777;
}

/* Shop: Slideshow */
.shop__slideshow {
    margin-top: -18px;
    margin-bottom: 60px;
}

.shop__slideshow .carousel-inner .item__container {
    display: table;
    width: 100%;
    height: 100%;
}

.shop__slideshow .carousel-inner .item-container__inner {
    display: table-cell;
    vertical-align: middle;
}

.shop__slideshow .carousel-inner .item {
    width: 100%;
    height: 600px;
}

.shop-slideshow__heading {
    margin: 0 0 20px 0;
    font-family: 'Questrial', sans-serif;
    font-size: 46px;
    line-height: 1.2;
    color: white;
}

.shop-slideshow__subheading {
    margin-bottom: 30px;
    font-family: 'Questrial', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: white;
}

.shop-slideshow__btn {
    border: 2px solid white;
    border-radius: 0;
    color: white;
    font-weight: 600;
}

.shop-slideshow__btn:hover,
.shop-slideshow__btn:focus {
    color: #333333;
    background-color: white;
}

@media (max-width: 767px) {
    .shop__slideshow .carousel-inner .item {
        height: 400px;
        padding: 0 30px;
        text-align: center;
    }

    .shop-slideshow__heading {
        font-size: 32px;
    }

    .shop-slideshow__subheading {
        font-size: 16px;
    }
}

/* Carousel controls */
.shop-slideshow__control {
    display: block;
    position: absolute;
    top: 50%;
    left: 10px;
    width: 30px;
    height: 70px;
    opacity: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}

.shop-slideshow__control:hover {
    opacity: 1 !important;
}

.shop-slideshow__control[data-slide="next"] {
    left: auto;
    right: 10px;
}

.shop__slideshow:hover .shop-slideshow__control {
    opacity: .3;
}

/* Features */
.shop-index-features__item {
    margin-bottom: 40px;
    text-align: center;
}

.shop-index-features__icon {
    margin-bottom: 20px;
    width: 90px;
    height: 100px;

    display: block;
    margin-left: auto;
    margin-right: auto;
    line-height: 100px;
    text-align: center;
    font-size: 24px;
}

.shop-index-features__heading {
    margin-bottom: 15px;
}

.shop-index-features__heading + p {
    color: #777777;
}

/* Blog post */
.shop-index-blog__posts > [class*="col-"] {
    padding-top: 20px;
    padding-bottom: 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-index-blog__posts > [class*="col-"]:last-child {
    border-right: 0;
}

.shop-index-blog__post {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.shop-index-blog__img {
    position: relative;
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    width: 90px;
    height: 100px;
    overflow: hidden;
}

.shop-index-blog__img:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

}

.shop-index-blog__img > img {
    height: 100%;
    width: auto;
}

.shop-index-blog__body {
    overflow: hidden;
}

.shop-index-blog__heading {
    position: relative;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.5;
}

.shop-index-blog__heading:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
}

.shop-index-blog__content {
    margin-bottom: 20px;
    color: #777777;
}

@media (max-width: 991px) {
    .shop-index-blog__img {
        float: none;
        margin-right: 0;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .shop-index-blog__heading {
        text-align: center;
    }

    .shop-index-blog__heading:after {
        left: 50%;
        margin-left: -15px;
    }
}

@media (max-width: 767px) {
    .shop-index-blog__posts > [class*="col-"] {
        padding-top: 0;
        padding-bottom: 60px;
        border-right: 0;
    }

    .shop-index-blog__posts > [class*="col-"]:last-child {
        padding-bottom: 0;
    }

    .shop-index-blog__post {
        width: 100%;
    }
}

/* Newsletter */
.shop-index__newsletter {
    padding-bottom: 20px;
}

.shop-index__newsletter .shop-index__heading {
    margin-bottom: 20px;
    line-height: 42px;
    text-align: center;
}

.shop-index__newsletter input[type="email"] {
    height: 42px;
    padding: 11px 12px;
}

.shop-index__newsletter button[type="submit"] {
    padding: 11px 30px;
    width: 100%;
}

@media (min-width: 768px) {
    .shop-index__newsletter .shop-index__heading {
        margin-bottom: 0px;
        text-align: right;
    }

    .shop-index__newsletter input[type="email"] {
        border-radius: 21px 0 0 21px;
    }

    .shop-index__newsletter button[type="submit"] {
        margin-left: -3px;
        border-radius: 0 21px 21px 0;
        width: auto;
    }
}

/* Grid container */
.flex-sm-column {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Default to 2 columns */
    gap: 10px;
}

/* Medium screens (≥ 768px) */
@media (min-width: 768px) {
    .flex-sm-column {
        grid-template-columns: repeat(2, 1fr); /* 3 columns */
    }
}

/* Large screens (≥ 992px) */
@media (min-width: 992px) {
    .flex-sm-column {
        grid-template-columns: repeat(4, 1fr); /* 4 columns */
    }
}

.view-toggler {
    margin-left: auto;
}

.breadcrumb-item:nth-last-child(1) {
    max-width: 100% !important;
}

tr {
    cursor: pointer;
}

.table-img {
    width: 6em; /* Fixed small size */
    height: 6em; /* Fixed small size */
    object-fit: cover; /* Ensure image fits within the specified dimensions */
}

/** Shop: Thumbnails **/
.shop__thumb {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.shop__thumb > a {
    color: #333333;
    text-decoration: none;
}

.shop__thumb > a:hover {
    text-decoration: none;
}

.shop-thumb__img {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.shop-thumb__title {
    font-weight: 430;
    text-decoration: none;
}

.shop-thumb__description {
    font-weight: 70;
    text-decoration: none;
}

.shop-thumb__price {
    color: #777777;
}

.shop-thumb-price_old {
    text-decoration: line-through;
}

.shop-thumb-price_new {
    color: red;
}

/** Shop: Item **/
.shop-item__info {
    padding: 30px;
    margin-bottom: 40px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-item-cart__title {
    margin-bottom: 20px;
    line-height: 1.3;
}

.shop-item-cart__price {
    font-size: 28px;
    font-weight: 400;
    color: #F7C41F;
}

.shop-item__intro {
    color: #777777;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.shop-item__add button[type="submit"] {
    padding: 15px 20px;
}

.shop-item__img {
    margin-bottom: 40px;
}

.shop-item-img__main {
    width: -webkit-calc(100% - 110px);
    width: calc(100% - 110px);
    height: auto;
    float: left;
}

.shop-item-img__aside {
    width: 100px;
    height: auto;
    float: left;
}

.shop-item-img__aside > img {
    cursor: pointer;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: .5;
}

.shop-item-img__aside > img:hover,
.shop-item-img__aside > img.active {
    border-color: rgba(0, 0, 0, 0.05);
    opacity: 1;
}

@media (max-width: 767px) {
    .shop-item-img__main {
        width: -webkit-calc(100% - 60px);
        width: calc(100% - 60px);
    }

    .shop-item-img__aside {
        width: 50px;
    }
}

/** Shop: Filter **/
.shop__filter {
    margin-bottom: 40px;
}

/* Shop filter: Pricing */
.shop-filter__price {
    padding: 15px;
}

.shop-filter__price [class*='col-'] {
    padding: 2px;
}

/* Shop filter: Colors */
.shop-filter__color {
    display: inline-block;
    margin: 0 2px 2px 0;
}

.shop-filter__color input[type="text"] {
    display: none;
}

.shop-filter__color label {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    cursor: pointer;
}

/** Shop: Sorting **/
.shop__sorting {
    list-style: none;
    padding-left: 0;
    margin-bottom: 40px;
    margin-top: -20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: right;
}

.shop__sorting > li {
    display: inline-block;
}

.shop__sorting > li > a {
    text-decoration: none;
    display: block;
    padding: 20px 10px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    color: #757575;
    -webkit-transition: all .05s linear;
    -o-transition: all .05s linear;
    transition: all .05s linear;
}

.shop__sorting > li > a:hover,
.shop__sorting > li > a:focus {
    color: #333333;
    text-decoration: none;
}

.shop__sorting > li.active > a {
    color: #ed3e49;
    border-bottom-color: #ed3e49;
}

@media (max-width: 767px) {
    .shop__sorting {
        text-align: left;
        border-bottom: 0;
    }

    .shop__sorting > li {
        display: block;
    }

    .shop__sorting > li > a {
        padding: 10px 15px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .shop__sorting > li.active > a {
        font-weight: 600;
    }
}

/** Shop: Checkout **/
.checkout__block {
    margin-bottom: 40px;
}

.checkout-cart__item {
    margin-bottom: 15px;
}

.checkout-cart-item__img {
    max-width: 80px;
    margin-right: 10px;
    float: left;
}

.checkout-cart-item__content {
    overflow: hidden;
}

.checkout-cart-item__heading {
    margin-top: 0;
}

.checkout-cart-item__footer {
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px solid #eee;
}

.checkout-cart-item__price {
    font-weight: 600;
}

.checkout-total__block {
    margin-bottom: 40px;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.checkout-total__block > .row > [class*="col-"] {
    padding: 40px 40px;
    border-right: 1px solid #e9e9e9;
    color: #aaa;
}

.checkout-total__block > .row > [class*="col-"]:last-child {
    border-right: 0;
    color: #333333;
}

@media (max-width: 767px) {
    .checkout-total__block {
        border: 0;
    }

    .checkout-total__block > .row > [class*="col-"] {
        padding: 15px 20px;
        border: 0;
        border-top: 1px solid #e9e9e9;
    }

    .checkout-total__block > .row > [class*="col-"]:last-child {
        border-bottom: 1px solid #e9e9e9;
    }
}

.checkout-total__heading {
    float: left;
}

.checkout-total__price {
    float: right;
    margin: 9px 0;
    font-size: 17px;
}

.checkout__submit {
    padding: 15px 40px;
}

/** Shop: Order Confirmation */
.shop-conf__heading {
    margin-bottom: 40px;
}

.shop-conf__heading + p {
    margin-bottom: 100px;
}


/**
 * Forms
 */
.form-control,
.form-control:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

/* Has error */
.has-error .form-control {
    border-color: #d9534f;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.has-error .form-control:focus {
    border-color: #b52b27;
}

.has-error .help-block {
    color: #d9534f;
}

/* Checkboxes */
.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox label {
    padding-left: 0;
}

.checkbox label:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    background-color: #eee;
    text-align: center;
    font-family: "FontAwesome";
}

.checkbox input[type="checkbox"]:checked + label::before {
    content: "\f00c";
}

/* Radios */
.radio input[type="radio"] {
    display: none;
}

.radio label {
    padding-left: 0;
}

.radio label:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 10px solid #eee;
    background-color: #333333;
}

.radio input[type="radio"]:checked + label:before {
    border-width: 7px;
}

/* Quantity */
.input_qty {
    margin-bottom: 10px;
}

.input_qty input[type="text"] {
    display: none;
}

.input_qty label {
    width: 100%;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 40px;
    text-align: center;
}

.input_qty label > span:not(.output) {
    width: 40px;
    height: 40px;
    float: left;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input_qty label > span:not(.output):last-child {
    float: right;
    border-right: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.input_qty label > span:not(.output):hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.input_qty label > output {
    display: inline-block;
    line-height: inherit;
    padding: 0;
}

.input_qty_sm label {
    width: 80px;
    height: 20px;
    border: 0;
    line-height: 20px;
    color: #ccc;
}

.input_qty_sm label > span:not(.output) {
    width: 20px;
    height: 20px;
    border: 0 !important;
}

.input_qty_sm label > span:not(.output):hover {
    background-color: transparent;
    color: #333333;
}

.input_qty_sm label output {
    color: #ccc;
    font-weight: 600;
}
.font-sm {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 400;
}

.section-box {
    display: inline-block;
    width: 100%;
}

.shop-template .font-sm {
    font-weight: 500;
}

.mt-30 {
    margin-top: 30px;
}

.pt-20 {
    padding-top: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.border-bottom {
    border-color: #dde4f0;
}

.color-gray-500 {
    color: #8c9ec5;
}

.font-medium {
    font-weight: 500;
}

ul.no-bullets {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidebar-border {
    border: 1px solid #dde4f0;
    margin-bottom: 30px;
}

.sidebar-border .sidebar-head {
    border-bottom: 1px solid #dde4f0;
    padding: 10px 10px 10px 10px;
}

.sidebar-border .sidebar-content {
    padding: 10px;
}

.list-nav-arrow {
    display: flex;
    flex-direction: column;
    gap: 7px; /* Space between grid items */
}

.grid-item {
    text-decoration: none;
    display: flex;
    flex: 1;
    width: 100%;
}

.category-card { /* Changed from card to category-card */
    background-color: var(--background-main-color); /* Card background */
    width: 100%;
    border: 1px solid; /* Card border */
    border-color: var(--card-secondary-border-color);
    border-radius: 5px; /* Rounded corners */
    padding: 5px; /* Inner padding */
    text-align: center; /* Center text */
    transition: transform 0.2s; /* Smooth hover effect */
    cursor: pointer; /* Change cursor to pointer */
}

.category-card:hover { /* Changed from card:hover to category-card:hover */
    background-color: #f0f3f8 /* Slightly enlarge on hover */
}

.card-content {
    display: flex;
    justify-content: space-between; /* Space between name and number */
    align-items: center; /* Center items vertically */
}

.category-name {
    font-size: 16px; /* Font size for category name */
    color: #425a8b; /* Text color */
    flex-grow: 1; /* Allow name to take available space */
}

.number {
    background-color: #f0f3f8; /* Background color for the number */
    border-radius: 7px; /* Rounded corners */
    font-size: 12px; /* Font size */
    line-height: 18px; /* Line height */
    font-weight: 500; /* Font weight */
    color: #425a8b; /* Text color */
    padding: 3px;
    min-width: 25px; /* Minimum width */
    max-width: max-content; /* Maximum width */
    text-align: center; /* Center text */
    transition-duration: 0.2s; /* Transition for hover effects */
}

.category-card:hover .number { /* Changed from card:hover to category-card:hover */
    background-color: #fd3636; /* Change background on hover */
    color: #fff; /* Change text color on hover */
}

.card-grid-style-3 .card-grid-inner {
    border-radius: 4px;
    background-color: #ffffff;
    border: 1px solid #d5dfe4;
    padding: 15px;
    position: relative;
    transition-duration: 0.2s;
}

.card-grid-style-3 .card-grid-inner .tools {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    z-index: 12;
    transition-duration: 0.2s;
    transition: all 0.3s ease 0s;
}

.card-grid-style-3 .card-grid-inner .image-box {
    position: relative;
    text-align: center;
    width: 100%;
    display: inline-block;
    height: 165px;
    overflow: hidden;
    line-height: 165px;
    margin-bottom: 10px;
}

.card-grid-style-3 .card-grid-inner .image-box img {
    max-height: 100%;
    max-width: 95%;
    vertical-align: middle;
}

.card-grid-style-3 .card-grid-inner .image-box .label {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    border-radius: 30px;
    padding: 4px 10px;
    color: #ffffff;
    font-size: 12px;
    line-height: 12px;
}

.card-grid-style-3 .card-grid-inner .info-right a:hover {
    color: #425a8b;
}

.card-grid-style-3 .card-grid-inner .info-right a.btn:hover {
    color: #fff;
}

.card-grid-style-3 .card-grid-inner .info-right .rating {
    margin-top: 5px;
}

.card-grid-style-3 .card-grid-inner .price-info {
    margin-top: 10px;
}

.card-grid-style-3 .card-grid-inner .price-info .price-line {
    text-decoration: line-through;
    font-size: 16px;
    line-height: 24px;
}

.card-grid-style-3 .card-grid-inner .price-info .price-main {
    margin-right: 10px;
}

.card-grid-style-3 .card-grid-inner .list-features {
    margin: 20px 0px 0px 0px;
}

.card-grid-style-3 .card-grid-inner .list-features p {
    font-size: 10px;
    line-height: 18px;
    padding: 0px;
}

.box-content .card-grid-style-3 .card-grid-inner .image-box {
    height: 133px;
    line-height: 135px;
}

@media (min-width: 768px) {
    .display-list .card-grid-style-3 .card-grid-inner {
        display: flex;
    }

    .display-list .card-grid-style-3 .card-grid-inner .image-box {
        width: 25%;
        min-width: 260px;
        max-width: 260px;
    }

    .display-list .card-grid-style-3 .card-grid-inner .info-right {
        width: 100%;
    }

    .display-list .card-grid-style-3 .card-grid-inner .info-right .btn-cart {
        max-width: 260px;
    }

    .display-list .card-grid-style-3 .card-grid-inner .tools {
        bottom: 10px;
        left: 10px;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 260px;
    }

    .display-list .card-grid-style-3 .card-grid-inner .tools .btn {
        margin-bottom: 0px !important;
        margin-right: 10px;
    }
}

@media (max-width: 1399.98px) {
    .display-list .card-grid-style-3 .card-grid-inner .image-box {
        min-width: 210px;
        max-width: 210px;
    }
}

.display-list .btn-tooltip {
    position: relative;
}

.display-list .btn-tooltip:after {
    color: #425a8b;
    background-color: #d5dfe4;
    top: -35px;
    left: 0;
    position: absolute;
    white-space: nowrap;
    border-radius: 5px;
    font-size: 11px;
    padding: 7px 10px;
    content: attr(aria-label);
    line-height: 1.3;
    box-shadow: 0;
    transition: 0;
    opacity: 0;
    visibility: hidden;
    transform: 0;
    transition-duration: 0.2s;
    bottom: unset;
    right: unset;
}

.display-list .btn-tooltip:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    border: 7px solid transparent;
    border-top-color: #d5dfe4;
    z-index: 9;
    margin-bottom: 0;
    transition: 0;
    opacity: 0;
    visibility: hidden;
    margin-left: -8px;
}

.display-list .btn-tooltip:hover:after {
    opacity: 1;
    visibility: visible;
    transform: 0;
    transition-duration: 0.2s;
}

.display-list .btn-tooltip:hover:before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-8px);
}

.color-brand {
    color: #425a8b;
    text-decoration: none;
}

@media (max-width: 768px) {
    .sidebar-border {
        position: relative; /* Change to relative on small screens */
        top: auto; /* Reset top */
    }
}

.sidebar-border {
    position: sticky;
    top: 10%; /* Adjust this value to set the distance from the top */
    z-index: 100; /* Ensures it stays above other content */
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }