﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 70px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

#wrapper {
    min-height:500px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
/*.dl-horizontal dt {
    white-space: normal;
}*/

/* Set widths on the form inputs since otherwise they're 100% wide */
/*input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}*/

/* Responsive: Portrait tablets and up */
/*@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}*/

/*.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #900;
    
}*/

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #555;
    background-color: #e7e7e7;
}

/*.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}*/

/*.btn-file {
    position: relative;
    overflow: hidden;
}*/
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.required .control-label:after{
    content: " *";
    color: red;
}

.error-message {
    color: red;
}

/* PRODUCTS PAGE CSS*/
.productPanelDynamic { /*#MainContent_PanelProducts div*/
    float: left;
    height: 250px;  
    width: 250px;
    text-align: center;
}

.productImage {
    /*width: 150px;
    height: 150px;*/
    vertical-align: central;
    margin: 10px;
    /*-moz-border-radius: 50px;
    -ms-border-radius: 50px;
    border-radius: 50px;*/
    border: solid;
    border-color: black;
}

@media only screen and (max-width: 768px) {
    .productPanelDynamic {
        width: 240px;
    }
}

@media only screen and (max-width: 500px) {
    .productPanelDynamic {
        width: 50%;
    }
    .productImage {
        width: 90%;
    }
    .productName {
        font-size: 12px
    }
}

.productName {
    font-size: 14px;
    font-weight: bold;
}

.productPrice {
    font-family: arial, helvetica, sans-serif;
    color: #ff0000;
}

/* PRODUCT DETAIL PAGE*/
.detailsImage {
    width: 100%;
    margin-right: 20px;
    border: solid;
    border-color: black;
}

@media only screen and (max-width: 768px) {
    .detailsImage {
        width: 55%;
    }
}

@media only screen and (max-width: 500px) {
    .detailsImage {
        width: 100%;
    }
}

.detailsDescription {
    max-width: 400px;
    font-style: italic;
}

.detailsPrice {
    font-size: 18px;
    font-weight: bold;
}

.buttonAddToCart {
    padding: 5px;
    margin-top: 10px;
    color: #FFF;
    clear: both;
    background: linear-gradient(to bottom, darkgreen, green);
}

.buttonEdit {
    padding: 5px;
    margin-top: 10px;
    color: #FFF;
    clear: both;
    background: linear-gradient(to bottom, darkred, red);
}

.flags {
    margin: 4px 0 0 15px;
}

.flag-size {
    /*width: 20px;*/
    vertical-align: middle;
}

@media (max-width: 765px) {
    .flags {
        margin: 0;
        text-align: left;
    }
}
