﻿body {
    padding-top: 0px;
}

.euiHeaderTable {
    width: 100%;
}

#euiLogo {
    width: 162px;
    height: 78px;
}

.euiDepartment {
    width: 335px;
}

.euiDepartmentTitle {
    width: 135px;
}

.euiTitle {
   width: 100%; 
   text-align: left;
}

.product h4 {
    font-size: 24px;
    float: left;
}

.product .buttons {
    width: 100px;
    float: right;
    padding: 5px;
}

.product .buttons a {
    float: right;
}

.product img {
    /*
    float:left;
    clear: both;
    */
    width: 150px;
    height: 150px;    
    position: absolute;
    left: 20px;
    top: 60px;
}

.productDescription {
    float:left;
    clear: both;
    margin-left: 175px;
    
}

#productContainer {
    overflow: visible;
    padding-bottom: 75px;
}

#productContainer .product {
    padding: 10px 25px;
    overflow: hidden;
    position: relative;
    min-height: 230px;
}

.product.selected {
    -webkit-box-shadow: 0px 0px 6px 4px rgba(13,91,143,0.31);
    -moz-box-shadow: 0px 0px 6px 4px rgba(13,91,143,0.31);
    box-shadow: 0px 0px 6px 4px rgba(13,91,143,0.31);
}

.unbuyButton {
    display: block; 
    float:right;
    margin-left: 15px;
}

.buyButton {
    display: none; /* No longer needed with one only product*/
}

#productContainer .product .productInCartWarning,  #productContainer .product .productOrderedWarning {
    display: none;
    margin-left: 170px;
    float:left;    
}

#productContainer .product .productInCartWarning p,  #productContainer .product .productOrderedWarning p {
    color: #826430;
}

.optionContainer {
    margin-left: 170px;
    /* display:none; */ /* With an only product, we start displaying all of its options */ 
    clear: both;
}

/*#productContainer .product .optionContainer .optionTable {
    border: 1px solid #99ccff;
    padding: 1px;
    clear: both;
}
    */
#productContainer .product .optionContainer table {
    cursor: pointer;
}

#productContainer .product .productPrice {
    position: absolute;
    top: 15px;
    height: 35px;
    right: 20px;
    padding: 6px 8px;
    font-size: 18px;
    background: white;
    border-radius: 5px;
    border: 1px solid rgba(13,91,143,0.31);
    box-shadow: 2px 2px 3px 2px #CCC;
    background-color: #FAFAFA;
    color: #004A7C;
}

#productContainer .product .productPrice p {
    padding: 0px;
    margin: 0px;
    font-size: 16px;
    color: #004A7C;
}

#orderRecap {
    float: right;
    display: none;
    overflow: hidden;
    margin-bottom: 10px;
}

#orderRecap div {
    float: right;
    margin: 0px 10px;
}

.confirmButton {
    float: right;
    margin-top: 10px;
}

#purchaseWrapper {
    display: none;
}

#noPurchaseWrapper {
    width: 320px;
    margin: 10px auto 20px auto;
    overflow: hidden;
}

.noPurchaseExtra {
    width: 320px;
    margin: 10px auto 250px auto;
    overflow: hidden;
    font-weight: bold;
}

#noPurchaseWrapper h3 {
    margin: 0px 5px 10px 0px;
}

#loginForm input {
    margin: 5px 10px 10px 0px;
    width: 100%;
}

#noPurchaseWrapper .btn {
    float:right;
    margin-top: 10px;
}

.preloader {
    width: 64px;
    height: 64px;
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 300px;
    display: block;
    z-index: 1;
}

.errorDiv {
    display: none;
}

#orderModal .modal-footer {
    display: none;
}

.modal {
  text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.orderErrorMessage {
    font-weight: bold;
}

.lonelyParagraph {
    min-height: 500px;
}

@media (max-width: 950px) {

    .body-content.container {
        margin-left: 1%;
        margin-right: 1%;
        padding-left: 1%;
        padding-right: 1%;
        width: 96%;
        max-width: 96%;
    }

    body {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .euiDepartment {
        width: 275px;
    }

    #section.euiDepartmentTitle {
        width: 80px;
    }
}
