﻿body {
    background-color: #1b1a3a;
    /*background-color: #BADA55;*/
    color: #1b1a3a;
    /*color: green;*/
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
    font-size: 15px;
    min-width: 875px;
    /*margin:0px;*/
}

header {
    background-color: white;
    text-align: center;
    padding: 5px;
    height: 85px;
}

    header h1 {
        font-family: 'Times New Roman', Times, serif;
        font-size: 48px;
        margin-top: -5px;
    }

    header div {
        font-family: 'Times New Roman', Times, serif;
        font-size: 24px;
        font-weight: 900;
        margin-top: -35px;
    }

#bapanel {
    width: 225px;
    height: 75px;
    display: block;
    float: left;
}

#dnvpanel {
    width: 150px;
    height: 100px;
    display: block;
    float: right;
}

#homepanel{
    display: none;
    visibility: hidden;
}

nav {
    background-color: #007B9A;
    color: aliceblue;
    display: block;
    min-width: 720px;
    overflow: hidden;
}

   nav ul {
        padding: 10px;
        margin: 0px 4px 0px 0px;
    }
    nav ul li {
        display: inline-block;
        list-style-type: none;
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
    }

        nav ul li a .caret {
            border-top: 4px solid #aaa;
            border-right: 4px solid transparent;
            border-left: 4px solid transparent;
            content: "";
            display: inline-block;
            height: 0;
            width: 0;
            margin-left: 4px;
            vertical-align: middle;
            -webkit-transition: color 0.1s linear;
            -moz-transition: color 0.1s linear;
            -o-transition: color 0.1s linear;
            transition: color 0.1s linear;
        }

        nav ul li a {
            color: #aaa;
            display: block;
            line-height: 44px;
            margin: 1px;
            padding: 0px 16px;
            text-decoration: none;
        }

        nav ul li:hover {
            background-color: darkorange;
            border-radius: 4px 4px 4px 4px;
        }

            nav ul li:hover a {
                color: rgb( 255, 255, 255 );
            }

                nav ul li:hover a .caret {
                    border-top-color: rgb( 255, 255, 255 );
                }

        nav ul li div {
            background-color: rgb( 40, 44, 47 );
            border-top: 0;
            border-radius: 0px 4px 4px 4px;
            box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
            display: none;
            margin: 0;
            opacity: 0;
            position: absolute;
            width: 200px;
            visibility: hidden;
            z-index: 1000;
        }

        nav ul li:hover div {
            display: block;
            opacity: 1;
            visibility: visible;
        }

        nav ul li div ul li {
            display: block;
        }

            nav ul li div ul li a {
                color: #fff;
                display: block;
                font-size: small;
                text-decoration: none;
            }

            nav ul li div ul li:hover a {
                background-color: darkorange;
            }

            nav ul li div ul li:first-child:hover a {
                border-radius: 0 4px 0 0;
            }

            nav ul li div ul li:last-child:hover a {
                border-radius: 0 0 4px 0;
            }

    nav li .selected {
        background: darkorange;
        font-weight: 400;
        color: #FFF;
        border-radius: 4px;
    }

section {
    background-color: #BADA55;
    padding: 10px;
    overflow: hidden;
}

article {
    background-color: #FFFFFF;
    padding: 10px;
    border-radius: 15px;
    margin: 10px;
    min-width: 300px;
    overflow: hidden;
    position: relative;
}

    article header {
        background-color: #FFFFFF;
        color: #1b1a3a;
        text-decoration: none;
        min-width: 200px;
    }

    article.top p {
        margin-top: -60px;
        font-weight: 800;
        text-align: center;
    }

    article.tiledlarge {
        float: left;
        width: 45%;
        min-width: 300px;
    }

        article.tiledlarge img {
            border-radius: 15px;
            width: 300px;
            height: 175px;
            display: block;
            margin-top: -35px;
            margin-left: auto;
            margin-right: auto;
        }


    article.tiledmedium {
        float: left;
        width: 30%;
        min-width: 300px;
    }

        article.tiledmedium img {
            border-radius: 15px;
            height: 175px;
            display: block;
            margin-top: -35px;
            margin-left: auto;
            margin-right: auto;
        }

    article.tiledsmall {
        float: left;
        width: 21%;
        min-width: 250px;
    }

        article.tiledsmall img {
            border-radius: 15px;
            height: 175px;
            display: block;
            margin-top: -35px;
            margin-left: auto;
            margin-right: auto;
        }

        article.tiledsmall .dnvpanel {
            border-radius: 15px;
            height: 125px;
            width: 225px;
            display: block;
            margin-top: -35px;
            margin-left: auto;
            margin-right: auto;
        }

.outofstock {
    border-radius: 0px;
    position: absolute;
    left: -7px;
    top: 30px;
    z-index: 100;
    /*opacity: 0;*/
}


footer {
    background-color: black;
    color: white;
    clear: both;
    text-align: center;
    padding: 5px;
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

    .modalDialog:target {
        opacity: 1;
        pointer-events: auto;
    }

    .modalDialog div {
        width: 400px;
        position: relative;
        margin: 10% auto;
        padding: 5px 20px 13px 20px;
        border-radius: 10px;
        background: #fff;
        background: -moz-linear-gradient(#fff, #999);
        background: -webkit-linear-gradient(#fff, #999);
        background: -o-linear-gradient(#fff, #999);
    }

        .modalDialog div h2 {
            text-align: center;
        }

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 22px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 22px;
    height: 22px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

    .close:hover {
        background: #BADA55;
    }

.paypal {
    position: fixed;
    bottom: 1em;
    right: 3em;
    background-color: grey;
    padding: 10px;
    border: 3px solid #000000;
    border-radius: 10px;
    color: white;
}

    .paypal form {
        margin-top: -14px;
        color: white;
    }

        .paypal form table {
            font-weight: 300;
            color: white;
        }

.clickme {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 15px;
    margin: 10px auto;
    width: 150px;
    color: #ccc;
    background-color: #555;
    background: -webkit-linear-gradient(#888, #555);
    background: linear-gradient(#888, #555);
    border: 0 none;
    border-radius: 5px;
    text-align: center;
    text-shadow: 0 -1px 0 #000;
    cursor: pointer;
    -webkit-transition: all 150ms ease;
    transition: all 150ms ease;
}

    .clickme:hover, .clickme:focus {
        color: #FFF;
    }

#contact-form {
    background-color: #F2F7F9;
    min-width: 465px;
    padding: 20px;
    border: 6px solid #8FB5C1;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    position: relative;
}

    #contact-form h1 {
        font-size: 42px;
    }

    #contact-form h2 {
        margin-bottom: 15px;
        font-style: italic;
        font-weight: normal;
    }

    #contact-form input,
    #contact-form select,
    #contact-form textarea,
    #contact-form label {
        font-size: 15px;
        margin-bottom: 2px;
    }

    #contact-form input,
    #contact-form select,
    #contact-form textarea {
        width: 450px;
        border: 1px solid #CEE1E8;
        margin-bottom: 20px;
        padding: 4px;
    }

        #contact-form input:focus,
        #contact-form select:focus,
        #contact-form textarea:focus {
            border: 1px solid #AFCDD8;
            background-color: #EBF2F4;
        }

    #contact-form textarea {
        height: 150px;
        resize: none;
    }

    #contact-form label {
        display: block;
    }

    #contact-form .required {
        font-weight: bold;
        color: #F00;
    }

    #contact-form #submit-button {
        width: 150px;
        background-color: #333;
        color: #FFF;
        border: none;
        display: block;
        float: left;
        margin-bottom: 0px;
        margin-right: 6px;
        background-color: #8FB5C1;
        -moz-border-radius: 8px;
    }

        #contact-form #submit-button:hover {
            background-color: #A6CFDD;
        }

        #contact-form #submit-button:active {
            position: relative;
            top: 1px;
        }

    #contact-form #loading {
        width: 32px;
        height: 32px;
        background-image: url(../img/loading.gif);
        display: block;
        position: absolute;
        right: 130px;
        bottom: 16px;
        display: none;
    }

    #contact-form .fullname{
        display:none;
    }

#errors {
    border: solid 1px #E58E8E;
    padding: 10px;
    margin: 25px 0px;
    display: block;
    width: 437px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #FFE6E6 url(../img/cancel_48.png) no-repeat 405px center;
    display: none;
}

    #errors li {
        padding: 2px;
        list-style: none;
    }

        #errors li:before {
            content: ' - ';
        }

    #errors #info {
        font-weight: bold;
    }

        #errors #info:before {
            content: '';
        }

#success {
    border: solid 1px #83D186;
    padding: 25px 10px;
    margin: 25px 0px;
    display: block;
    width: 437px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #D3EDD3 url(../img/accepted_48.png) no-repeat 405px center;
    font-weight: bold;
    display: none;
}

    #errors.visible, #success.visible {
        display: block;
    }

#req-field-desc {
    font-style: italic;
}

/* Remove box shadow firefox, chrome and opera put around required fields. It looks rubbish. */
input:required, textarea:required {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}

/* Normalize placeholder styles */

/* chrome, safari */
::-webkit-input-placeholder {
    color: #CCC;
    font-style: italic;
}

/* mozilla */
input:-moz-placeholder, textarea:-moz-placeholder {
    color: #CCC;
    font-style: italic;
}

/* ie (faux placeholder) */
input.placeholder-text, textarea.placeholder-text {
    color: #CCC;
    font-style: italic;
}

img.floatleft {
   
    margin: 0px 20px 10px 0px;
}