@import (reference) "bootstrap3/variables.less";


@order-color: #3ca901;
@highlight-color: #337ab7;
@primary-background-color: #f0f9fd;
@secondary-background-color: #d5eef9;
@menu-color: #fff;


body {
    background-color: @primary-background-color;
    color: #555;

    h1 {
        font-size: 30px;
        margin-top: 10px;
    }

    h2 {
        margin-top: 10px;
    }

    .btn {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 6px;
        background-color: transparent;
    }

    .btn-preview {
        color: @highlight-color;
        border: 1px solid @highlight-color;
        min-width: 130px;

        &:hover {
            color: #fff;
            background-color: @highlight-color;
        }
    }

    .btn-order {
        color: @order-color;
        border: 1px solid @order-color;
        min-width: 130px;

        &:hover {
            color: #fff;
            background-color: @order-color;
        }
    }

    .alert {
        margin-top: 10px;
        font-weight: bold;
        text-align: center;
    }

    footer {
        margin-bottom: 20px;
    }

}


.main {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 0;
    margin-bottom: 30px;
    background-color: @primary-background-color;

    header {
        background-color: @menu-color;
        padding: 5px 15px 0;

        .logo {
            float: left;
            margin-top: 3px;

            a {
                font-size: 26px;

                &:hover {
                    text-decoration: none;
                }
            }
        }

        .nav-button {
            .navbar-toggle {
                color: #fff;
                border-color: #ddd;
                margin: 0;
                background-color: @highlight-color;

                @media (max-width: @screen-sm-max) {
                    display: block;
                }

                .icon-bar {
                    background-color: #fff;
                    display: block;
                    width: 22px;
                    height: 2px;
                    border-radius: 1px;
                }
            }
        }

        .menu {
            float: right;

            @media (min-width: @screen-md-min) {
                .collapse {
                    display: block;

                    li {
                        a {
                            color: #337ab7;
                            border-bottom-left-radius: 0;
                            border-bottom-right-radius: 0;
                        }
                    }
                }
            }

            @media (max-width: @screen-sm-max) {
                margin-bottom: 5px;

                li {
                    width: 100%;
                }
            }

            li {
                font-size: 18px;
                min-width: 130px;
                text-align: center;

                a {
                    color: #337ab7;
                    font-weight: bold;

                    &:hover, &:active, &:focus {
                        background-color: @primary-background-color;
                    }
                }
            }
        }
    }

    .info-bar {
        background-color: @order-color;
        padding: 6px 15px 4px;
        text-align: center;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        line-height: 22px;
        font-weight: bold;

        &:hover {
            background-color: darken(@order-color, 5%);
        }

        a {
            display: block;
            color: #fff;
            text-decoration: none;

        }
    }

    .content {
        padding: 0 15px;

        .previews {
            .preview {
                padding-top: 15px;
                padding-bottom: 30px;
                background-color: @primary-background-color;
                border-bottom: 1px solid #ddd;

                &.row:nth-child(2n+2) {
                    background-color: @secondary-background-color;
                }

                .img-thumbnail {
                    margin-top: 10px;
                    max-height: 200px;
                }

                p {
                    font-size: 16px;
                }
            }
        }

        .products {
            margin: 15px 0 25px;

            .product {
                text-align: center;
                font-size: 15px;
                margin-top: 10px;
                margin-bottom: 25px;

                h2 {
                    color: @highlight-color;

                    span {
                        font-size: 24px;
                    }
                }

                p {
                    text-align: left;
                    background-color: @secondary-background-color;
                    padding: 10px;
                    margin: 0 20px 20px;
                    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
                }

                ul {
                    text-align: left;
                }

                img {
                    margin-bottom: 15px;
                }
            }
        }

        .product-info, .article {
            .info {
                padding-top: 15px;
                padding-bottom: 30px;
                background-color: @primary-background-color;
                border-bottom: 1px solid #ddd;

                &.row:nth-child(2n+2) {
                    background-color: @secondary-background-color;
                }

                .img-thumbnail {
                    margin-top: 10px;
                    max-height: 200px;
                }

                p {
                    font-size: 15px;
                }

                .special-link {
                    font-weight: bold;
                }
            }
        }

        .questions {
            margin-top: 15px;

            .question {
                padding-top: 10px;
                padding-bottom: 15px;
                background-color: @primary-background-color;
                border-bottom: 1px solid #ddd;

                &:nth-child(2n+1) {
                    background-color: @secondary-background-color;
                }

                h2 {
                    font-size: 24px;
                }
            }
        }

        .contact {
            margin: 15px 0;

            .contact-form {
                    margin-top: 10px;
                    background-color: @secondary-background-color;
                    padding: 10px 15px;
                    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);

                border-radius: 5px;

                .info {
                    margin: 0 0 10px;
                    font-size: 16px;
                    font-weight: bold;
                }

                label {
                    font-weight: normal;
                }

                button[type=submit] {
                    margin-top: 15px;
                }
            }
        }
    }
}

