/**
 * Make logo smaller on mobile
 */
@media screen and (max-width: 480px) {
    .mod-main-navigation .my3dp-logo  {
        margin-left: 0px;
    }
    img.my3dpm-logo {
        height: 64px;
        padding-left: 0px;
    }
    .my3dp-logo .sirim-logo {
        height: 50px;
        padding-left: 2px;
    }
    .sticky-header-spacer {
        height: 126px;
    }
}

/**
  * Style section heading to look smaller on small screen, mobile and tablet.
  */

/**
  *  ================== HOMEPAGE ========================================== 
  */

/**
  * Style project card
  */
.fcard-wrapper {
    padding: 0px;
    height: auto;
    margin-bottom: 8px;
    border-radius: 20px;
}
.slick-slider .fcard-wrapper {
    width: 200px;
}
.fcard-body {
    padding: 8px;
}

.fcard-body_title {
    margin-top: 0px;
}

/** Make title 2 lines and ellipsis */
.caption.fcard-body .fcard-body_title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    height: 56px;
    line-height: 24px;
    white-space: normal;
}

.fcard-body_title a {
    font-weight: normal;
    text-transform: capitalize;
    font-size: 16px;
    color: #444;
}
.fcard-body_title a:hover,
.fcard-body_title a:active,
.fcard-body_title a:focus {
    color: #d02229;
    text-shadow: 0 0 2px #d02229;
    text-decoration: none;
}


.fcard-body_subtitle a {
    color: #888888;
    font-weight: normal;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}
.fcard-body_subtitle a:hover,
.fcard-body_subtitle a:active,
.fcard-body_subtitle a:focus {
    text-decoration: none;
    color: #d02229;
}
.fcard-body_icon-label {
    font-size: 80%;
    padding-right: 4px;
}

.fcard-body_price {
    height: 32px;
}
.price-before-discount {
    font-weight: normal;
    /* font-style: oblique; */
    color: #ababab;
    overflow: hidden;
    line-height: 10px;
    margin-top: 4px;
}
.price-before-discount::before {
    content: "";
    display: block;
    background-color: #d40000;
    width: 50%;
    height: 1px;
    transform: rotateZ(-9deg);
    line-height: 12px;
}

.fcard-footer {
    padding: 4px 0;
}
.fcard-footer_item {
    text-align: center;
    color: #ababab;
    font-size: 12px;
}

.fcard-separator {
    margin: 4px 0;
    border-top-color: #f5f5f5;
}
/* tablet */
@media screen and (min-width: 1200px) {
}
/* desktop */
@media screen and (min-width: 480px) {
}


@media screen and (max-width: 768px) {
    .product-wrapper,
    .project-wrapper {
        padding: 0 4px;
    }
}

/**
  * Styles section in homepage
  */
.section-wrapper {
    padding: 30px 0;
    background-color: #eddc75;
}
.section-wrapper_bg-white {
    background-color: #fff;
}
.section-header {
    text-align: left;
    position: relative;
    line-height: 20px;
    padding: 8px;
}
.section-header_title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    /* text-transform: uppercase; */
    margin: 0px;
    padding: 8px 0;
    color: #888;
}
@media screen and (max-width: 600px) {
    .section-header_title {
        font-size: 20px;
        font-weight: normal;
        text-align: center;
        /* text-transform: uppercase; */
        margin: 0px;
        padding: 8px 0;
        color: #888;
    }
  }

.section-header_button {
    position: absolute;
    right: 8px;
    top: 12px;
    font-size: 12px;
    color: #444;
    padding: 8px 0;
    letter-spacing: 0.04em;
}
.section-header_button:hover{
    text-decoration: none;
}

.section-body {
    padding: 32px 0;
}

.section-separator {
    margin: 1px 0;
    border-top-color: #f5f5f5;
}
@media screen and (min-width: 768px) {
    .section-header_title {
        color: #444;
    }
    .section-header_button {
        background-color: #3097d1;
        color: #ffffff;
        padding: 4px 16px;
        border-radius: 14px;
    }
    .section-header_button:hover{
        background-color: #03598b;
    }

}

/**
  * Homepage -> Main sponsorship
  */
.main-sponsorship_sponsor {
    box-sizing: border-box;
    vertical-align: bottom;
}
.main-sponsorship_sponsor > a{
    display: block;
    box-sizing: border-box;
    text-align: center;
}
.main-sponsorship_sponsor-image {
    box-sizing: border-box;
    height: 100px;
    width: auto;
}


/**
  * Components for multilple lines simple list
  */
.simple-list_item {
    list-style: none;
    padding: 8px;
    padding-right: 0px;
    font-style: oblique;
}
.simple-list_item > i{
    color: #d40000;
}

/**
  * Social button
  */
.social-buttons-wrapper {
    margin: 0 auto;
    list-style-type: none;
    text-align: center;
}
.social-buttons-wrapper > li {
    display: inline-block;
}

.social-button {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    margin: 8px;
    background-color: #777;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 2px 4px #777;
}

.social-button:focus,
.social-button:active,
.social-button:hover {
    box-shadow: 0 4px 16px #777;
    color: #fff;
    background-color: #999;
}

/**
  * Pill component
  */
.pills-list {
    padding: 8px 0;
    list-style: none;
    box-sizing: border-box;
}
.pills-list li {
    padding: 4px 0;
    display: inline-block;
}
.pill-item {
    box-sizing: border-box;
    background-color: #fff;
    padding: 4px 16px;
    margin: 4px;
    border: solid 1px #999;
    border-radius: 17px;
    font-size: 12px;
    line-height: 16px;
}
.pill-item.active {
    background-color: #3097d1;
    border-color: #3097d1;
    color: #fff;
}


/**
  * Mobile menu component
  */
.mobile-top-bar {
    position: fixed;
    top: -80px;
    left: 0;
    z-index: 100;
    background-color: #F5F8FA;
    width: 100%;
    border-top: solid 1px #f5f5f5;
    transition: ease-in-out all 300ms;
}

.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    background-color: #fff;
    width: 100%;
    border-top: solid 1px #f5f5f5;
    height: 60px;
}
.mobile-menu_items {
    display: flex;
    flex-flow: row;
}
.mobile-menu_item {
    display: flex;
    flex-flow: column;
    background: none;
    border: none;
    flex-grow: 1;
    padding: 8px;
    text-align: center;
    align-items: center;
    border: solid 1px #f5f5f5;
    color: #1E3948;
    text-decoration: none;
}
.mobile-menu_item:hover {
    background-color: #d40000;
    text-decoration: none;
    color: #fff;
}
.mobile-menu_item-icon {
    font-size: 20px;
}
.mobile-menu_item-label {
    font-size: 10px;
    padding-top: 4px;
}

.mobile-menu_search-box,
.mobile-menu_menu-links,
.mobile-menu_profile-links {
    position: fixed;
    bottom: 40px;
    right: 4px;
    z-index: 100;
    width: 70%;
    background-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .25);
}
.mobile-menu_profile-links {
    right: 10%;
}
.mobile-menu_menu-links {
    left: 7%;
}
.mobile-menu_search-box {
    width: 100%;
    left: 0;
}

.mobile-menu_search-box {
    background-color: #fff;
    padding: 8px;
}
.mobile-menu_search-form {
    display: flex;
    width: 100%;
}
.mobile-menu_search-input {
    flex-grow: 1;
    background-color: #ececec;
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 12px;
    border: solid 1px #fafafa;
    color: #444444;
}
.mobile-menu_search-button {
    background-color: #d02229;
    color: #f5f5f5;
    border: none;
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 16px;
    border: none;
    margin-left: 4px;
    position: relative;
}

.fmodal-blanket {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .75);
    z-index: 90;
}