body {
    background-color: #f5f7fb;
    font-size:16px;
}

section.profile {
    padding-top:15px;
    word-break: break-word;
}

section.profile img {
    margin-bottom:15px;
}

section.profile .container {
    max-width: 450px;
    padding:30px;
}

section.profile .profile-block .block-header {
    border-bottom: 1px solid #f5f7fb;
    margin-bottom:15px;
    padding-bottom:5px;
}

section.profile .profile-block {
    background-color:#ffffff;
    padding:20px;
    margin-top:25px;
    margin-bottom:25px;
    border-radius:5px;
    box-shadow: 0px 3px 7px -1px rgba(0,0,0,.1);
    text-align:center;
}

section.profile .profile-block h1 {
    font-size:18pt;
    color: #B70000;
}

section.profile .profile-block h2 {
    font-size:20pt;
    font-weight:bold;
}

section.profile .profile-block ul li button {
    background-color: transparent;
    border: none !important;
    color: #54A800;
    font-weight:bold;
}

section.profile .profile-block ul li button i {
    margin-left:5px;
    font-size: 12pt;
}

section.profile .profile-block .buttons {
    display:flex;
    justify-content: center;
    align-items: center;
}

section.profile .profile-block .buttons a {
    display:inline-block;
    width: 50px;
    height: 50px;
    margin:10px;
    background:#B70000;
    border-radius:5px;
    line-height:58px;
}

section.profile .profile-block .buttons.large a {
    width: auto;
    padding: 0px 15px;
    color: #ffffff;
    line-height:48px;
}

section.profile .profile-block .buttons i {
    font-size: 22pt;
    color:#ffffff;
}

section.profile .profile-block .login-button {
    font-size: 18pt;
    color: #B70000;
}

.highlighted {
    box-shadow: 0px 2px 55px -5px #B70000 !important;
}

.product-image {
    height: 250px !important;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#topbar {
    font-size: 10pt;
    padding: 5px 0px !important;
}

#topbar .top-bar-element {
    display:inline-block;
    padding: 0px 10px;
}

#topbar .top-bar-element a, #topbar .top-bar-element i {
    color: #ffffff;
}

.checkbox {
    display: flex;
    align-items: center;
    line-height: 18px;
}

.checkbox > label {
    padding-left:10px;
}

.custom_main_row {
    display: flex;
    flex-wrap: wrap;
}

.shoppage_block {
    background-color: #fbfbfb;
    border-radius: 0.42rem 0.42rem 0.42rem 0.42rem;
    display: block;
    padding: 20px;
    width: 32%;
    margin-right: 1%;
    margin-bottom: 20px;
}

.shoppage_block .image_info {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width:100%;
    height:150px;
}

.shoppage_block .company_info {
    display:block;
    width:100%;
}

.shoppage_block .price_info {
    display:block;
    width:100%;
    color: #444;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    text-decoration: none;
    position:relative;
}

.shoppage_block .price_info span {
    display: inline-block;
    border-radius: 0.42rem 0.42rem 0.42rem 0.42rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-decoration: none;
    outline: none;
    padding: 8px 16px;
    background-color: #CA0027;
    text-transform: uppercase;
    color: #ffffff;
    right:0;
    position:absolute;
    top:-10px;
}

.shoppage_block .company_info h2 {
    font-size:20px;
    margin-top:15px;
}

.shoppage_block .company_info span {
    font-size:16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2; 
    -webkit-box-orient: vertical;
    min-height:58px;
    color:#000000;
}

.shoppage_block.product h2 {
    margin-top:0px !important
}

.shoppage_block.product .company_info span {
    min-height:0px;
}

.shoppage_block .company_info span {
    margin-top:15px;
}

.icon-box.custom-effect .icon {
    transition: all .2s ease-in-out !important; 
}

.icon-box.custom-effect .icon:hover {
    transform: scale(1.2);
}

#header-login-user > div {
    padding-left: 6px;
    padding-right: 6px;
    float: left;
    font-size: 13px;
    font-weight: 400;
    position: relative;
}

#header-login-user .p-dropdown-content {
    width: 200px;
}

#header-login-user .p-dropdown-content i {
    font-size:12px;
    position:relative;
    top:0px;
}

#header-login-user .dropdown-title,
#header-a11y .dropdown-title,
#header-language .dropdown-title {
    font-weight:bold;
    padding-bottom:10px;
    border-bottom:1px solid rgba(0,0,0,.2);
    margin-bottom:10px;
    display:block;
}

#header-login-user i {
    font-size:20px;
    position:relative;
    bottom:-5px;
    right:-5px;
}

#page-title {
    padding: 25px 0;
}

#footer .copyright-content {
    padding-left:25px;
    padding-right:25px;
}

#footer .copyright-content .copyright-text {
    font-size: 12px;
    line-height:20px;
}

#footer .copyright-content .copyright-text a {
    text-decoration: underline;
}

#image-block {
    background-color: #fafafa;
}

#image-block p {
    color: #000000;
    font-weight: 400 !important;
}

#footer .widget-title, #footer .widget-title a {
    color: #B70000 !important;
    font-weight: 600;
}

#main_banner .btn-white {
    color: #B70000 !important;
}

#main_banner .btn-white:active {
    background-color: #B70000 !important;
    border-color: #B70000 !important;
    color: #ffffff !important;
}

#navigation-btn {
    font-size: 16px;
}

#navigation-btn i {
    font-size: 16px;
}

.a11y-wrapper {
    display: block;
    position: absolute;
    margin: 0 auto;
    padding: 0 10px;
    width: calc(4 * 30px);
    bottom:-20px;
    left: 0;
    right: 0;
    height: 40px;
    background-color: #ffffff;
    border-radius: 20px;
    z-index:1;
}

.profile-wrapper .a11y-wrapper {
    position:static;
    margin-top: 10px;
    background-color: transparent;
}

.a11y-wrapper .a11y-container {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    padding:0;
    margin:0;
    height: 100%;
}

.a11y-wrapper .a11y-container .a11y-option {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    cursor: pointer;
    position:relative;
}

.a11y-wrapper .a11y-container .a11y-option.active:after {
    height:2px;
    width:90%;
    content: "";
    background-color:#000000;
    bottom:5px;
    left:0;
    right:0;
    margin: 0 auto;
    position:absolute;
}

i.fa.custom-icon-small {
    font-size:14px !important;
    line-height:14px !important;
}

i.fa.custom-icon-medium {
    font-size:17px !important;
    line-height:14px !important;
}

i.fa.custom-icon-large {
    font-size:21px !important;
    line-height:14px !important;
}

/* A11y dropdown in header */
.a11y-dropdown a.active,
#header-language a.active {
    font-weight: bold;
}

#header-a11y .p-dropdown > a > i {
    font-size:22px !important;
    position:relative;
    bottom:-4px;
}

#header-language .p-dropdown > a > i {
    font-size:20px !important;
    position:relative;
    bottom:-3px;
}

/* A11y dropdown on page (e.g. checkout) */
.a11y-page-dropdown {
    position: absolute;
    right: 15px;
    bottom:-75px;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    max-width: 1170px;
    margin: -20px auto 0;
    padding: 0 15px;
    list-style: none;
}

.a11y-page-dropdown .p-dropdown > a > i {
    font-size: 30px !important;
    color: #333;
}

#mainMenu nav > ul > li .dropdown-menu,
.header-extras .p-dropdown .p-dropdown-content,
.header-extras .p-dropdown ul.p-dropdown-content {
    margin-top: -25px;
}


@media only screen and (max-width: 768px) {

    #header-a11y .p-dropdown > a > i {
        font-size:25px !important;
    }

    .custom_main_row {
        justify-content: space-between;
    }

    .shoppage_block {
        flex: 1 1 calc(100%);   /* Each item will take 48% of the container width */
        box-sizing: border-box; /* Ensures padding/border don't affect width */
        width: auto;
        margin: 0;
        margin-bottom:10px;
    }

    .shoppage_block:nth-child(odd) {
        margin-right:5px;
    }

    .shoppage_block:nth-child(even) {
        margin-left:5px;
    }
    
    .shoppage_block .company_info h2 {
        font-size:15px;
    }
    
    .shoppage_block .company_info span {
        font-size:12px;
        line-height:20px;
        min-height:40px;
    }

    section.small-padding {
        padding-top:40px;
        padding-bottom:40px;
    }

    #custom-home-usps .icon-box {
        margin-bottom:15px;
    }
}