@import "https://fonts.googleapis.com/css?family=Open+Sans:400,700";

html
{
    background-color: #fff;
    font-family: "Open Sans", Arial, Helvetica, Verdana, sans-serif;
    font-size: 62.5%;
}

/* NAVBAR */

#topnav {
    background-color: #3B3B95;
    margin-bottom: 15px;
}

.navbar {
    margin-bottom: 0;
}

.navbar-default .navbar-brand a {
    color: white;
}

.navbar-default .navbar-brand a:hover {
    color: white;
}

.navbar-default {
    background-color: transparent;
    border: none;
}

.navbar-default .navbar-nav>li>a {
    color: white;
}

.navbar-default .navbar-nav>li>a:hover {
    color: white;
    text-decoration: underline;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: white;
}

/* HEADER */

#header {
    position: relative;
}

#inoxia-logo {
    margin-left: 30px;
    margin-right: 50px;
    max-width: 100%;
    height: auto;
}

#search-form {
    display: inline-block;
}

#search-form .form-control[type=text] {
    font-size: 18px;
    font-size: 1.8rem;
    width: 100%;
    margin-right: 20px;
    border: none;
    height: 100%;
}

#search-box {
    position: relative;
    border: 1px solid #CCCCCC;
    padding-right: 38px;
    width: 350px;
    height: 50px;
    display: inline-block;
}

#search-btn {
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -16px;
    margin-right: 10px;
}

#user-cart {
    position: absolute;
    right: 0;
    top: 0;
}

#user, #cart {
    display: inline-block;
    text-align: center;
    border-left: 1px solid #DDD;
    width: 180px;
    vertical-align: middle;
    height: 100px;
}

#user {
    cursor: pointer;
}

#cart {
    border-right: 1px solid #DDD;
}

#basket-toplink {
    display: none;
}

@media (max-width: 1200px) {
    #search-box {
        width: 350px;
    }
    #user, #cart {
        width: 160px;
    }
    #inoxia-logo {
        margin-right: 30px;
    }
}

@media (max-width: 992px) {
    #inoxia-logo {
        height: 75px;
    }
    #search-box {
        width: 220px;
        height: 36px;
    }
    #search-form .form-control[type=text] {
        font-size: 1.6rem;
        font-size: 16px;
    }
    #search-btn {
        width: 24px;
        height: 24px; 
        top: 50%;
        margin-top: -12px;
        margin-right: 8px;
    }
    #user, #cart {
        width: 130px;
        height: 75px;
        font-size: 12px;
        font-size: 1.2rem;
    }
    #user>img, #cart>a>img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 768px) {
    #inoxia-logo {
        height: 60px;
        margin-right: 20px;
        margin-left: 0;
    }
    #user-cart {
        position: relative;
        text-align: center;
    }
    #top-login-known b, #top-login-known br {
        display: none;
    }
    #user, #cart {
        width: auto;
        border: none;
        height: auto;
        text-align: left;
        margin-right: 20px;
        margin-bottom: 6px;
    }
    #user>img, #cart>a>img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }
    #search-box {
        width: 200px;
    }
    #basket-toplink {
        display: inline;
    }
}

/* CATALOGUE */
.catmenu {
    display: flex;
    list-style-type: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    font-size: xx-large;
}

#catalogue {
    margin-top: 20px;
    background-color: #EAEAEA;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
}

.catalogue-section {
    border: none;
    background: none;
    width: 100%;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-size: 1.6rem;
}

@media (max-width: 992px) {
    #catalogue .dropdown {
        padding-left: 0;
        padding-right: 0;
    }
    .catalogue-section {
        font-size: 14px;
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .catalogue-section {
        font-size: 12px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .catalogue-section {
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

#catalogue .dropdown-menu>li {
    padding: 3px 0;
}
#catalogue .dropdown-menu a:hover {
    background-color: #CCCCFF;
}
#catalogue .dropdown-menu>li:first-child {
    font-style: italic;
}

#footer
{
	clear: both;
	text-align: center;
	padding: 30px 10px;
	letter-spacing: 0.152rem;
	position: relative;
	z-index: 10;
}

#footerLinks, #footerSocial
{
	margin-top: 10px;
}

#footerSocial img.social
{
	margin-right: 5px;
	position: relative;
}

#footerSocial span {
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    #footerSocial span {
        display: block;
    }
}

/* BASKET */

table.list {
    width: 100%;
}
table.list tr:first-child {
    font-weight: bold;
}

.message .ui-icon {
    float: left;
    margin-right: 0.3em;
}
.message {
    padding: 0.4em;
    margin-bottom: 15px;
}
.message p {
    margin-bottom: 0;
}

#breadcrumb {
    font-size: 12px;
    font-size: 1.2rem;
    color: #888;
    margin-top: 0;
}
#breadcrumb span {
    margin-left: 10px;
    margin-right: 6px;
}
#breadcrumb a {
    color: #888;
    text-decoration: none;
}
#breadcrumb a:hover {
    text-decoration: underline;
}

#breadcrumb span.selected {
    color: #666;
    font-weight: bold;
}

.validation-summary-errors {
    color: red;
    margin: 5px 0;
}

.validation-summary-errors ul {
    list-style: none;
}

a #basket-items {
    text-decoration: underline;
}

.field-validation-error {
    color: red;
    font-weight: bold;
}


/* HOME PAGE */
#carousel {
    height: 236px;
    margin-bottom: 20px;
    text-align: center;
}

#carousel img {
    display: inline;
}

/* HOME PAGE - CATALOGUE */


#main-catalogue .section {
    text-align: center;
    color: #0090e3;
}

#main-catalogue .section a {
    text-decoration: none;
    color: #0090e3;
}

#main-catalogue .section a:hover {
    text-decoration: underline;
}

#main-catalogue .section .image {
    border-right: 1px dashed #0090e3;   
}

#main-catalogue .section .name {
    font-weight: bold;
    margin: 5px 0;
    font-size: 16px;
    font-size: 1.6rem;
}

/* LATEST PRODUCTS */

#latest-products {
    overflow-x: scroll;
    white-space: nowrap;
    border: 1px solid #CDCDCD;
    background-color: #F9F9F9;
    padding: 15px;
}

.latest-product {
    display: inline-block;
    margin-right: 20px;
    text-align: center;
    max-width: 280px;
    vertical-align: top;
    max-width: 150px;
    white-space: normal;
}

.latest-product .thumbnail {
    display: inline;
    margin-bottom: 0;
}

.latest-product .img {
    min-height: 100px;
}

@media (max-width: 768px) {
    .latest-product .title {
        display: none;
    }
}

/* LOGIN DIALOG */

.dialog {
    display: none;
    position: absolute;
    top: 40px;
    border: 1px solid #BBB;
    -webkit-box-shadow: 5px 5px 8px rgba(0,0,0,.25);
	-moz-box-shadow: 5px 5px 8px rgba(0,0,0,.25);
    background: white;
}

.dialog .inner {
    padding: 20px;
}

.dialog .title {
    color: #285dab;
    font-size: 22px;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.dialog label {
    margin-bottom: 8px;
    color: #666;
    display: block;
}

.dialog input[type=text], .dialog input[type=password] {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-size: 1.2em;
    padding: 3px;
    width: 260px;
}

#login.dialog button {
    margin-right: 20px;
}

#login.dialog p {
    text-align: left;
}

/* CHECKOUT */
.form-table {
    margin: 0 auto 30px auto;
}
.form-table td {
    height: 36px;
}
.form-table td:first-child {
    padding-right: 20px;
    font-weight: bold;
    white-space: nowrap;
}
.form-table input[type=text], .form-table input[type=password], .form-table textarea {
    margin-right: 20px;
    padding: 2px;
}
.form-table input#EmailAddress {
    width: 320px;
}
.form-table input#PostCode {
    width: 90px;
}
.form-table tr.multi-line td {
    vertical-align: top;
    padding-top: 4px;
}
.error {
    color: red;
}
