html,
body {
    height: 100%;
}

body {
    /* only to force vertical scroll on browsers */
    overflow-y: scroll;
    /* remove default paddings and margins on browsers */
    padding: 0;
    margin: 0;
}

#wrap {
/*    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: table;
    width: 100%;
    height: 100%;*/
}

#innerwrap {
/*    display: table-row;
    height: 100%;*/
}

#footer {
/*    display: table-row;
    height: 1px;*/
}

/* Sticky footer ends here
-------------------------------------------------- */

#map-canvas {
    height: 200px !important;
}

.tm-article-list {
    padding-left: 0;
}

.checkout-button-wrapper {
    margin: 1em 0 1em 1em;
}

input.qtyplus, input.qtyminus {
    width:25px;
    height:25px;
    background-color: white;
    border: 1px solid;
}

input.qtyplus:hover, input.qtyminus:hover {
    background-color: #338dca;
    color: white;
}

.listing-item:hover {
    /*position: absolute;*/
    /*z-index: 10;*/
    border: 1px solid #2a86d1;
    /*width: 100%;*/
    /*top: 0;*/
    /*display: block;*/
    /*    overflow: hidden;*/
}
.listing-item {
    /*overflow: hidden;*/
}

/*.dark.header .navbar.navbar-default {
    border-color: #222222;
    background-color: #222222;
}*/

.cart.table .btn-remove {
    top: 5px;
}

/* action column */
.cart.table tr th:nth-child(3) {
    width: 1px;
}
.cart.table tr td:nth-child(3) {
    white-space: nowrap;
}

/* Below is for responsive logo
-------------------------------------------------- */
#logo_img_toggle {
    max-height: 50px;
}
@media (max-width: 450px) {
    #logo_img,
    #logo_img_toggle {
        /*max-width: 150px;*/
        max-height: 50px;
    }

}

/* Below is marketeer css overwrite
-------------------------------------------------- */

.marketeer-quantity-wrapper {
    margin-bottom: 1em;
}

#marketeer-total-price-value {
    display: none;
}
.marketeer-item-total-price {
    /*display: none !important;*/
}
#marketeer-rating-table {
    margin-top: 1em;
}
#marketeer-rating-table tr td {
    width: auto !important;
}
#marketeer-item-reviews tr td,
.marketeer-review-ratings table tr td,
#marketeer-cart-total tr td {
    padding: 0.3em;
}
#marketeer-cart-total tr td {
    width: auto;
}
#marketeer-cart-total {
    min-width: 100%;
}
.marketeer-review-ratings table {
    border: none;
    background: none;
    margin-bottom: 0;
}
.marketeer-review-ratings {
    width: 30%;
}
#marketeer-item-reviews {
    border: none;
    min-width: 100%;
}
.marketeer-review-content {
    vertical-align: top;
}
.marketeer-item-picture {
    margin : 0.2em;
    display: inline;
}
.marketeer-select-options {
    width: auto;
    padding: 0.1em;
    margin-bottom: 0;
}
.marketeer-align-center {
    text-align: center;
}
.marketeer-item-pictures-colorbox #cboxContent {
    background-color:rgba(0,0,0,0.7);
}
.marketeer-item-pictures-colorbox #cboxLoadedContent {
    border: none;
}
#marketeer-user-orders th {
    text-align: center;
}
#marketeer-cart-table tr td {
    vertical-align: top;
}
#marketeer-cart-table tr td.cart-action span a:hover {
    color: black;
}
table {
    /*min-width: 100%;*/
}
.marketeer-yes {
    color: blue;
}
.marketeer-no {
    color: red;
}
#marketeer-order-items {
    text-align: left;
}
.marketeer-item-subscription span {
    color: white;
    background-color: black;
    width: auto;
    padding: 1px;
}
.marketeer-hr-data {
    margin-top: 0;
    margin-bottom: 0.5em;
}
#marketeer-total-price-beforetax,
#marketeer-total-price,
#marketeer-total-tax,
#marketeer-shipping-cost {
    float: right;
}
#marketeer-confirmorder-button-wrapper {
    margin-bottom: 1em;
}
.marketeer-subscriptionlist-actions a {
    padding: 1em;
    /*color: black;*/
}
.marketeer-email-table th {
    text-align: left !important;
}

.social-links li.googleplay a {
    width: auto;
    height: auto;
    padding: 1px;
}

/* https://www.google.com/design/spec/style/color.html#color-color-palette */
.social-links li.googleplay a:hover {
    background-color: #FFB74D;
    border-color: #FFB74D;
    color: #fff;
}

.header-dropdown-buttons .btn-group .dropdown-menu.cart {
    min-width: 450px;
}

.focused {
    border-color: #ccc;
    border-color: rgba(82,168,236,.8);
    outline: 0;
    -webkit-box-shadow: 0 0 8px rgba(82,168,236,.6);
    box-shadow: 0 0 8px rgba(82,168,236,.6);
}

.input-group.tm-input-group .btn {
    padding: 3px;
    margin: 0;
}

.input-group.tm-input-group input.form-control {
    height: auto;
}

.thumb-container {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.tm-profile-menus li a:hover {
    color: black !important;
}

td.amount {
    text-align: right;
}

.tm-submenu-link {
    margin-right: 30px;
}
.tm-btn-group-dropdown {
}
.tm-btn-dropdown {
    position: absolute;
    top: 8px;
    right: 0;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
}
.tm-btn-dropdown.submenu {
    top: 1px !important;
}

li.submenu {
    position: relative;
}

@media (max-width: 767px) {
    .tm-btn-dropdown {
        top: 2px;
    }
}

:required  {
    background: url(https://cdn0.iconfinder.com/data/icons/fugue/icon/asterisk-small.png) no-repeat;
    background-position:right top;
}

/* logo_img */
#logo.logo {
    max-height: 470px;
}
#logo_img {
    margin: 10px auto;
    max-height: 56px;
}
/* logo-img-mobile */

#logo-img-mobile {
    margin: 3px 0;
}
@media (max-width: 767px) {
    #logo-img-mobile {
        max-height: 30px;
    }
    .navbar.navbar-default.tm-navbar-mtb0 {
        margin-top: 0;
        margin-bottom: 0;
    }
}

table#marketeer-cart-table.autoHeight {
    display: block;
    overflow-y: auto;
}
table#marketeer-cart-table thead.autoHeight {
    position: absolute;
    z-index: 200;
}

table#marketeer-cart-table tbody.autoHeight {
    display: block;
}

table#marketeer-cart-table tfoot.autoHeight {
    position: absolute;
    z-index: 200;
    bottom: 56px;
}
header table#marketeer-cart-table thead.autoHeight,
header table#marketeer-cart-table tfoot.autoHeight {
    background-color: rgba(255,255,255, 0.9);
}
header.dark table#marketeer-cart-table thead.autoHeight,
header.dark table#marketeer-cart-table tfoot.autoHeight {
    background-color: rgba(0, 0, 0, 0.9);
}

/* bugfix on safari */
.row:before,
.row:after {
    display: inline;
    content: normal;
}

/* custom style for dynamic content in ClientConfig */
.header-top .list-inline > ul {
    display: inline-block;
    margin-left: -5px;
    padding-left: 0;
    margin-bottom: 0;
}

.header-top .list-inline > ul > li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}

/* login drop down went bottom flyout */
/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
	.header-top-dropdown .btn-group {
		/*position: static;*/
        position: relative;
	}
}

.header-top.dark .dropdown-menu > li > a {
    color: white;
}