﻿/* Global
   ======
   Styles that apply to most or all pages. */

body {
    padding: 50px 15px 50px 15px;
    /* Full-size background: */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

body > .container {
    min-width: 300px;
    background-color: #fff;
    padding: 60px 60px 45px 60px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

body > .container > footer {
    text-align: center;
    margin-top: 60px;
}

#p-background-shade {
    background-color: rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

#p-loading-overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    /* "Loading..." message: */
    text-align: center;
    color: #fff;
    padding-top: 160px;
}

#p-header {
    text-align: center;
    margin-bottom: 45px;
    padding: 10px;
}

#p-header #p-brand-logo img {
    max-height: 100px;
    max-width: 100%;
}

#p-header #p-brand-title {
    font-weight: bold;
}

#p-header #p-brand-title a:hover {
    text-decoration: none;
}

#p-cart-nav {
    margin-bottom: 45px;
}

input.input-validation-error {
    margin-bottom: 10px;
    background-color: #ffc8c8;
    border: 1px solid #e1270d;
}

.p-item-thumbnail {
    max-width: 100%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {

    .p-item-thumbnail {
        margin-bottom: 15px;
    }

    #p-step-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 30px;
        float: none !important; /* blame Bootstrap */
    }

    body > .container {
        padding: 30px;
    }
}

#p-test-mode-alert {
    z-index: 99999;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 10px;
    background-color: #222;
    color: #fff;
    font-size: 0.95em;
    text-align: center;
    opacity: 0.35;
    transition: opacity linear 0.5s, color linear 0.5s;
}

#p-test-mode-alert:hover {
    opacity: 1;
    color: #80D4FF;
    cursor: default;
}

/* "Subtotal, shipping, total" table: */

.p-prices-table {
    margin-bottom: 45px;
}

.p-prices-table th {
    text-align: right;
}

/* Cart
   ====
   Styling specific to the cart page. */

#p-cart .p-item {
    line-height: 2;
    margin-bottom: 45px;
}

#p-cart .p-item-thumbnail {
    max-height: 90px;
}

#p-cart .p-item-quantity input {
    padding: 6px;
}

#p-cart .p-item-options-summary {
    /*border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;*/
    margin: 25px 0;
}

#p-cart .p-item-options-summary .p-edit-btn  {
    margin-top: 7px;
}

/* Details
   =======
   Styling specific to the details page. */

#p-details,
#p-details #p-step-buttons {
    padding-top: 30px;
}

#p-details #p-details-shipping-toggle {
    margin: 25px 0 45px 0;
}

#p-details #p-details-shipping {
    margin-bottom: 45px;
}

#p-details h4 {
    margin-bottom: 25px;
}

/* Overview
   ========
   Styling specific to the overview page. */

#p-overview .p-item {
    line-height: 2;
    margin-bottom: 45px;
}

#p-overview #p-overview-shipping,
#p-overview #p-overview-billing {
    line-height: 2;
    margin-bottom: 30px;
}

#p-overview .p-item-thumbnail {
    max-height: 90px;
}

/* Configurator
   ============
   Styling specific to the configurator page. */

#p-configurator #p-item {
    line-height: 2;
    margin-bottom: 45px;
}

#p-configurator .p-item-thumbnail {
    max-height: 127px;
}

#p-configurator .p-choice {
    margin-bottom: 30px;
}

#p-configurator .p-option h4 {
    margin-bottom: 20px;
}

#p-configurator .p-option .p-choice,
#p-configurator .p-option .p-choice label {
    cursor: pointer;
}

#p-configurator .p-option .p-choice-active .panel-body {
    background-color: #f9f9f9;
}

#p-configurator #p-step-buttons {
    padding: 20px;
}

/* Result
   ======
   Styling specific to the success/failure pages. */

#p-result {
    padding-top: 40px;
    padding-bottom: 70px;
}

#p-result h1,
#p-result p {
    margin-bottom: 20px;
}

#p-result p {
    line-height: 1.8em;
}

#p-result #p-result-graphic {
    text-align: center;
    padding-top: 60px;
}

#p-result #p-result-graphic .glyphicon {
    font-size: 5em;
}

#p-result.p-result-success #p-result-graphic {
    color: #89cc1a;
}

#p-result .p-error-links li {
    padding-bottom: 5px;
}

/* Errors
   ======
   Styling specific to the error pages. */

#p-error {
    line-height: 1.5em;
}

#p-error h1,
#p-error .p-error-message {
    margin-bottom: 30px;
}

#p-error .p-error-links li {
    padding-bottom: 5px;
}

/* Bootstrap overrides
   =================== */

/* For properties that cannot be changed within the Boostrap Customizer. */

.nav > li.disabled > a:hover, .nav > li.disabled > a:focus,
.nav > li.disabled > a:hover, .nav > li.disabled > a:hover {
    cursor: default;
}

.form-horizontal .control-label {
    text-align: left;
}

label, th, dt {
    font-weight: normal;
}

.alert {
    margin-bottom: 45px;
}

.text-success {
    color: #78B61E;
}