/* header */
#t4-header {
    background-color: #2d2676;
    width: 100%;
    padding-top: 0px;
    padding-bottom: 0px; 
    height: 100%;
  }

  #t4-header .container {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

/*Language, cart and search */
div#t4-masthead {
    height: 65px;
    background-color: #444;
}

.t4-section-inner {
    padding: 0px;
    height: inherit
}

.t4-masthead .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

div.t4-row.row {
    height: 100%;
}

.topbar-r {
    float: right;
}

.topbar{
    float: right;
    margin: auto;
}

/*languages*/

.mod-languages {
    height: 100%;
}

div.mod-languages ul {
    height: inherit;
}

div.mod-languages li {
    height: inherit;
}

div.mod-languages img {
    vertical-align: text-bottom;
}

div.mod-languages a {
    padding: 0.5rem;
    vertical-align: sub;
    text-decoration: none;
}

/*Search*/

input#mod_virtuemart_search {
    float: right;
    margin: auto;
}

/*Cart*/

.t4-col.topbar-r.col-sm {
    margin: auto;
    height: 100%;
}

div#vmCartModule {
    height: inherit;
    float: inherit;
    display: flex;
    align-items: center;
}

a.details,
a.details:hover {
    color: #22afff;
} 

/*Banner*/
.djslider-loader-default {
    height: 140px;
}


/*Side Menu*/

#Mod99 li, #Mod100 li {
background-color: #2d2676;
margin-top: 1px;
margin-bottom: 10px;
margin-right: 0px;
padding-bottom: 5px;
padding-top: 5px;
padding-left: 20px;
padding-right: 20px;
display: inline-block;
vertical-align: middle;
box-shadow: 5px 5px 6px #888888;
border-radius: 25px;
font-weight: 200;
margin-right: 0px;
margin-bottom: 10px;
height: auto;
}

#Mod99 .module-title span, #Mod100 .module-title span{
    display: none;
}

#Mod99 .module-title, #Mod100 .module-title{
    border-bottom: 0px;
    display: none;
}

#Mod99 a, #Mod100 a {
    background-color: #2d2676;
    color: #22afff;
}

#Mod99 a:hover, #Mod100 a:hover {
    background-color: #2d2676;
    color: #eee;
}

#Mod99 .navbar, #Mod100 .navbar {
    padding-top: 0px;
}
.image-link {
    max-width: 15%;
    margin-right: 10px;
}


/*category*/

.category {
    margin: 5px;
    padding: 2px;
    background: lightgray;
    width: 20%;
    border-width: 1px;
    border-radius: 20px;
    box-shadow: 5px 5px 6px rgba(0,0,0,0.3);
}

.browseCategoryImage {
    width: 100px;
    margin-bottom: 10px;
    border-radius: 20px;
    box-shadow: 5px 5px 6px rgba(0,0,0,0.5);
}

/* Footer menu */
.footer .nav a:hover {
    background-color: #A9A9A9;
    color: #eee;
}

.t4-footer .nav > li:before {
    display: none;
}

/* Product preview box*/

.vm-product-media-container {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    height: 20%;
    max-width: 30%;
}

.quantity-controls {
    display: none;
}

.parent-price-add-to-cart{
    display: flex;
    width: auto;
}

.vm3pr-1 {
    float: left;
    vertical-align: middle;
    width: 50%;
}

.vm3pr-1 .product-price{
    float: left;
    vertical-align: middle;
    width: 90%;
}

.vm3pr-1 .clear{
    float: right;
    vertical-align: middle;
    width: 10%;
}


.vm3pr-0 {
    float: right;
    vertical-align: middle;
    width: 50%;
}

.browse-view .row .product .spacer .PricebasePrice span {
    font-size: 24px;
}

div.vm-details-button {
    text-align: center;
    margin-bottom: 15px;
}

.spacer.product-container {
    border: 0px;
    margin: 2px;
}

.product-price {
    margin: 0px;
    text-align: inherit;
    line-height: unset;
}

div.product {
    border: 5px solid #ddd;
    height:auto;
}

.spacer.product-container {
    height: 90%;
}

.parent-price-add-to-cart {
    display: flex;
    width: auto;
    height: 18%;
    margin-bottom: 10px;
    align-items: stretch;
}

div.vm-details-button {
    text-align: center;
    height: 12%;
    margin-bottom: 15px;
}

.vm-product-descr-container-1 {
    min-height: 150px;
    margin-bottom: 6px;
    height: 50%;
}

/* Pagination top */
.floatleft.vm-order-list {
    width: 25%;
}
.vm-pagination.vm-pagination-top {
    width: 48%;
}

.vm-pagination ul {
    text-align: center !important;
    margin: auto;
    display: flex;
    justify-content: center;
    padding-left: 0px;
    flex-wrap: nowrap;
    font-size: 12px;
}

.vm-pagination ul li {
    display: inherit;
    margin: 1px;
}

.vm-page-counter {
    font-size: 12px;
    float: none;
}

.floatright.display-number {
    width: 25%;
}

.display-number, .control-buttons {
    font-size: 12px;
    display: inline-block;
    text-align: right !important;
    margin: 0 8px 0 0;
}

select#limit {
    font-size: 12px;
}


/* Pagination bottom */
.vm-pagination.vm-pagination-bottom {
    width: 100%;
}


/* Learn More */

.leading-articles {
    width: 70%;
    margin-left: 0;
    float: right;
    display: flex;
    flex-direction: column;
}


/*PRODUCT-DETAILS*/

.vm-product-data div.vm-product-details {
    float: left;
    mrgin-left: 5px;
}

.vm-product-data div {
    float: rigt;
}

.price-and-cart .product-price{
    float: left;
    vertical-align: middle;
    height: 40px;
    margin-right: 15px;

}

.price-and-cart .PricebasePrice{
    display: flex;
    align-items: center;
    height: inherit;
}

.productdetails-view .addtocart-bar {
    margin: 0;
    padding: 0;
    position: relative;
    bottom: 0;
    text-align: left;
}