html,
body {
    font: 0.9em sans-serif;
    color: #555353;
    background: #fff;
    margin: 0;
    padding: 0;
    height: 100%;
}

.application {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.application h1 {
    font-size: 2.0em;
    font-weight: 600
}

.application h2 {
    font-size: 1.5em;
    font-weight: 600;
}

.application h3 {
    font-size: 1.3em;
    font-weight: 400;
}

.application {
    font-weight: 300;
}

.application a {
    color: #d12027;
}

header {
    height: 165px;
}

nav,
footer {
    background: #eaeaea;
}

article {
    height: -webkit-calc(100% - 200px);
    height: calc(100% - 200px);
    background: #fff;
}

#navigation_toggle {
    display: none;
    padding: 10px 15px;
    line-height: 30px;
    font-size: 1.4em;
    color: #d12027;
    font-weight: bold;
    cursor: pointer;
}

.application td.label,
li.Login_Plugin .login_left_labels_cell,
li.Forgotten_Password_Plugin td:first-child {
    padding-left: 120px;
    width: 150px;
    text-align: left !important;
}

.application label,
li.Blog_Add_Post_Plugin .label.thumbnail {
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
}

.application input[type=text],
input[type=password],
textarea {
    font-family: 'Open Sans', sans-serif;
    padding: 8px;
    font-size: 1.2em;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    width: 300px;
    -moz-box-shadow: 1px 1px 2px #ccc inset;
    -webkit-box-shadow: 1px 1px 2px #ccc inset;
    box-shadow: 1px 1px 2px #ccc inset;
}

.application input[type=submit],
a.update_basket_button,
a.paypal_express_checkout_link {
    font-family: 'Open Sans', sans-serif;
    padding: 10px 30px;
    font-size: 1.0em;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    color: #fff;
    background: #555353 !important;
    border: none !important;
    cursor: pointer;
}

a.update_basket_button,
a.paypal_express_checkout_link {
    color: #fff !important;
    text-decoration: none;
    display: block;
    margin: 4px 0;
}

.proceed_to_checkout {
    display: none !important;
}

tr.total_row td.label {
    text-align: right !important;
}

.clear {
    clear: both;
}

.wrapper {
    width: 960px;
    margin: auto;
}

.columns {
    float: left;
}

.columns.right {
    float: right;
}

.columns.one_half {
    width: 50%;
}

.columns.one_thirds {
    width: 33.3%;
}

li.Products_Plugin .product_highlights {
    border: 0;
}

li.Basket_Plugin .basket_container {
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
}

footer .one_thirds {
    min-height: 10px;
}


/* Menu */

nav li.Menu_Plugin ul li a {
    display: block;
    vertical-align: middle;
    padding: 10px 15px;
    line-height: 30px;
    text-decoration: none;
    font-size: 1.2em;
    color: #d12027;
    font-weight: bold;
}

nav li.Menu_Plugin ul li a:hover {}

nav li.Menu_Plugin {
    overflow: hidden;
}

nav li.Menu_Plugin>div {
    overflow: hidden;
}

nav li.Menu_Plugin>div>ul {
    float: left;
}

nav .columns.right li.Menu_Plugin>div>ul {
    float: right;
}

nav li.Menu_Plugin ul>li {
    margin-left: 0;
    /* -1 (border width px) */
}

nav li.Menu_Plugin ul li.menu_plugin_current_page_list {}

nav li.Menu_Plugin ul li a.menu_plugin_current_page {}

nav li.Menu_Plugin ul li {}

nav li.Menu_Plugin ul li:hover {}

nav li.Menu_Plugin ul li ul li {}

nav li.Menu_Plugin ul li ul li:hover {}

nav li.Menu_Plugin ul li ul li ul li {}

nav li.Menu_Plugin ul li ul li ul li:hover {}

nav li.Menu_Plugin ul li div.display_text {}


/* the rest of the styling is in the plugin css */

li.Blog_List_Thumbnails_Plugin ul li {
    display: inline-block;
    position: relative;
    width: 33.3%;
    transition: min-height 0.5s, height 0.5s, min-width 0.5s, width 0.5s;
}

li.Blog_List_Thumbnails_Plugin .blog_title {
    font-weight: bold;
}

li.Blog_List_Thumbnails_Plugin .blog_author {
    font-size: 0.9em;
    display: inline-block !important;
}

li.Blog_List_Thumbnails_Plugin .blog_date {
    font-size: 0.9em;
    display: inline-block !important;
}

li.Blog_List_Thumbnails_Plugin .blog_date::before {
    content: '- ';
}

li.Blog_List_Thumbnails_Plugin .blog_read_more {
    font-size: 0.9em;
    display: block !important;
}

.blog_dummy_width {
    padding-top: 100%;
    /* 1:1 aspect ratio */
}

.blog_content,
.blog_content a {
    color: #fff;
}

.blog_content {
    position: absolute;
    /*top: 0;*/
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.6);
    height: 30%;
    padding: 10px;
}

li.Register_Plugin,
li.Profile_Update_Plugin,
li.Forgotten_Password_Plugin,
li.Blog_Add_Post_Plugin {
    margin: 20px 0;
}

li.Profile_Update_Plugin table tr td,
li.Blog_Add_Post_Plugin table tr td {
    vertical-align: middle !important;
}

li.Profile_Update_Plugin input[type=text],
li.Profile_Update_Plugin textarea {
    width: 400px;
}

li.Profile_Update_Plugin textarea {
    height: 70px;
    font-size: 1.0em;
}

li.Profile_Update_Plugin .label.textarea,
li.Blog_Add_Post_Plugin .label.post {
    vertical-align: top !important;
    padding-top: 10px;
}

li.Profile_Update_Plugin .field.textarea span {
    display: inline-block;
    vertical-align: top !important;
    margin-top: 10px;
}


/*li.Profile_Update_Plugin label { display: block; width: 140px; padding-left: 120px; }*/

li.Avatar_Plugin .upload_avatar_wrapper {
    overflow: hidden;
}

li.Avatar_Plugin .upload_avatar_form {
    vertical-align: top;
    float;
    left;
    width: 150px;
    display: inline-block;
    padding-left: 120px;
    margin: 0;
}

li.Avatar_Plugin .upload_avatar_form h3 {
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
}

li.Avatar_Plugin .upload_avatar_thumbnail {
    margin-left: 5px;
    vertical-align: top;
    float;
    left;
    width: 85px;
    display: inline-block;
}

li.Avatar_Plugin .upload_avatar_form_return {
    vertical-align: middle;
    float;
    left;
    width: 300px;
    display: inline-block;
}

li.Profile_Update_Plugin {
    margin-top: 5px;
}

li.Basket_Management_Plugin {
    margin-top: 20px;
}

li.Profile_List_Plugin {
    margin-top: 20px;
}

li.Profile_List_Plugin .user_profile_list tr {
    margin-bottom: 10px;
}

li.Profile_List_Plugin .user_profile_list img {
    padding: 5px;
    background: #eee;
    border: 1px solid #ddd;
    margin: 0 5px 5px 0;
}

li.Profile_List_Plugin .user_profile_list .profile_name {
    font-weight: bold;
    text-decoration: none;
}

li.Profile_Display_Plugin td.label {
    padding-left: 0;
}


/*@media screen and (max-width: 1500px) {
  li.Blog_List_Thumbnails_Plugin ul li {
    width: 33.3%;
}*/

@media screen and (max-width: 960px) {
    .wrapper {
        width: auto;
        padding: 0px 10px;
        box-sizing: border-box;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    input[type="text"] {
        max-width: 90%;
    }
    li.Blog_List_Thumbnails_Plugin ul li {
        width: 33.3%;
    }
}

@media screen and (min-width: 751px) and (max-width: 960px) {
    .ecommerce.grid .category_outer,
    .ecommerce.grid .product_outer {
        height: 180px !important;
    }
}

@media screen and (min-width: 602px) and (max-width: 790px) {
    nav li.Menu_Plugin ul li a {
        padding: 10px 8px;
        font-size: 1.0em;
    }
}

@media screen and (max-width: 750px) {
    .columns.one_half,
    .columns.one_thirds {
        float: none;
        display: block;
        width: auto;
    }
    nav .columns.one_half {
        float: left;
        display: inline;
        width: 50%;
    }
    .ecommerce.grid.per_row_5 .product_outer,
    .ecommerce.grid.per_row_5 .category_outer {
        width: 50% !important;
    }
    header {
        height: auto;
    }
    li.Blog_List_Thumbnails_Plugin ul li {
        width: 50%;
    }
    li.Blog_List_Thumbnails_Plugin .blog_read_more,
    li.Blog_List_Thumbnails_Plugin .blog_read_more a {
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 601px) {
    nav .columns.one_half {
        float: none;
        display: block;
        width: auto;
    }
    .menu_container {
        display: none;
    }
    nav .columns.right li.Menu_Plugin>div>ul {
        float: none;
    }
    nav li.Menu_Plugin ul li {
        float: none;
        display: block;
    }
    nav li.Menu_Plugin ul li {
        float: none;
        display: block;
    }
    nav li.Menu_Plugin ul li a {
        line-height: 30px;
        padding: 2px 10px;
    }
    nav li.Menu_Plugin ul li ul {
        display: block;
        position: relative;
        bottom: 0;
        padding-left: 10px;
    }
    nav li.Menu_Plugin ul li ul li {
        background: none;
        width: auto;
    }
    nav li.Menu_Plugin ul li ul li ul {
        left: auto;
    }
    #navigation_toggle {
        display: block;
    }
}

@media screen and (max-width: 500px) {
    .ecommerce.grid.per_row_5 .product_outer,
    .ecommerce.grid.per_row_5 .category_outer {
        width: 100% !important;
        text-align: center;
    }
    .product_right_column,
    .product_left_column {
        float: none !important;
        width: auto !important;
    }
    .product_right_column>div {
        margin: 0 !important;
    }
}

@media screen and (max-width: 400px) {
    li.Blog_List_Thumbnails_Plugin ul li {
        width: 100%;
    }
}
