﻿body {
    margin: 0px;
    padding: 0px;
}

h1, h2, h3, h4, h5 {
    font-family: sans-serif;
}

h1 {
    font-size:200%;
    padding-top: 10px;
    padding-bottom: 6px;
}

h2 {
    font-size: 22pt;
    padding-top: 6px;
    padding-bottom: 5px;
}


p {
    font-size: 1em;
    line-height: 1.25em;
    font-family: Georgia, 'Times New Roman', serif;
}

dt {
    font-weight:bold;
}

li {
    font-family:sans-serif;
}

@media (orientation: portrait) {
}

@media (orientation: landscape) {
}

@media handheld {
}

@media print {
}

@media screen {
}

@media projection {
}

@media only screen and (min-resolution: 117dpi) and (max-resolution: 119dpi), only screen and (min-resolution: 131dpi) and (max-resolution: 133dpi), only screen and (min-resolution: 145dpi) and (max-resolution: 154dpi), only screen and (min-resolution: 162dpi) and (max-resolution: 164dpi), only screen and (min-resolution: 169dpi) {
    /* Your touch-specific css goes here */
}

@media only screen and (min-resolution: 165dpi) and (max-resolution: 168dpi), only screen and (min-resolution: 155dpi) and (max-resolution: 160dpi), only screen and (min-resolution: 134dpi) and (max-resolution: 144dpi), only screen and (min-resolution: 120dpi) and (max-resolution: 130dpi), only screen and (max-resolution: 116dpi) {
    /* Your click-specific css goes here */
}

@media (min-width: 668px) {
    /* Assume Desktop */
}

@media (max-width: 667px) and (min-width: 400px) {
    /* Assume mobile/landscape */
}

@media (max-width: 399px) {
    /* Assume mobile/portrait */
}

/* Master Page */

nav {
}

    nav #pageTitle {
        text-align: right;
        background-color: Black;
        height: 75px;
        background-image: url(../images/dbbg.gif);
    }

    nav .TitleImage {
        padding-top: 12px;
    }

#navBorderUpper {
    background: url(../images/silverTop.jpg) repeat-x;
    height: 12px;
    border-bottom: 1px solid silver;
}

#navBorderLower {
    background: url(../images/silverBottom.jpg) repeat-x;
    height: 12px;
    border-top: 1px solid silver;
}

#footerBannerLower /* The lower border */ {
    background: url(../images/silverBottom.jpg) repeat-x;
    height: 12px;
    border-top: 1px solid silver;
    margin-top: 10px;
}


#footerBannerBottom {
    background-color: Black;
    text-align: center;
    font-size: xx-small;
    font-family: Sans-Serif;
    color: White;
    padding: 1em;
    background-image: url(../images/dbbg.gif);
}

nav ul {
    list-style-type: none;
    height: 30px;
    margin: 0px;
    overflow: hidden;
    background: url(../images/silverMiddle.jpg) repeat-x;
    padding-left: 30px;
}

    nav ul li {
        float: left;
    }

        nav ul li a {
            display: block;
            height: 30px;
            padding-top: 7px;
            text-align: center;
            color: black;
            text-decoration: none;
            font-family: Segoe, Arial;
            font-size: 10pt;
            width: 80px;
        }

            nav ul li a:hover {
                background-color: darkgray;
            }


.login {
    float: right;
    xdisplay: block;
    height: 30px;
    padding-top: 7px;
    padding-right: 10px;
    xtext-align: center;
    xcolor: black;
    xtext-decoration: none;
    font-family: Segoe, Arial;
    font-size: 10pt;
    xwidth: 80px;
}
/* General Page Content */
.pageLayout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.pageRight {
    order: 1;
}

.pageContent {
    order: 2;
    max-width: 600px;
    min-width: 200px;
}

.pageLeft {
    order: 3;
}

/* Bars */
.bar dt {
    font-size:200%;
    font-weight: bold;
    font-family: sans-serif;
    padding-top: 10px;
    padding-bottom: 6px;
}
.bar dd {
    font-size: 130%;
    line-height: 130%;
    font-family: Georgia, 'Times New Roman', serif;
}


/* Cocktails */
.recipeHasWriteup {
    font-weight: bold;
}

.recipeOnSSN {
    font-style: italic;
}

.taglist {
    margin-left: 1em;
}

.tagheading {
    margin-bottom: 0px;
    font-family: sans-serif;
    background-color: silver;
    padding-left: 1em;
    margin-left: -1em;
    font-size: 125%;
}

/* Articles */

.articlesList {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    margin-bottom: 2em;
}

.articlesPicture {
    order: 1;
    xflex-grow: 1;
    max-width: 100px;
    min-width: 100px;
    padding: 1em;
}

.articlesBlurb {
    order: 2;
    xflex-grow: 1;
    min-width: 200px;
    max-width: 700px;
    padding-left: 1em;
    border-left: 1px solid black;
    margin-top: 0px;
    padding-top: 0px;
    padding-right: 2em;
}

.articlesTitle {
    font-size: 1.25em;
    font-weight: bold;
    font-family: sans-serif;
}

.articlesDate {
    color: gray;
}

.articlesSummary {
}

/* Article */

.articleImage {
    float: left;
    padding: 10px;
}

.articleTitle {
    font-weight: bold;
    font-size: 24pt;
    font-family: sans-serif;
    padding-top: 10px;
    padding-bottom: 10px;
}

.articleDate {
    color: gray;
}

.articleSummary {
    font-style: italic;
    font-size: 14pt;
}

.articleContent {
    clear: both;
    font-size: 16pt;
    line-height: 1.5em;
    padding-left: 100px;
}

    .articleContent image {
        padding: 10px;
    }


/* Recipes */

.WriteupImages {
    float: right;
    padding-left: 2em;
}

.writeup {
    font-size: 14pt;
    line-height: 1.3em;
}

.thumbnail {
    float: left;
    padding-right: 15px;
    padding-bottom: 15px;
}

.description {
    font-size: 14pt;
    line-height: 1.3em;
}

.recipe {
    width: 4in;
    border: dotted 1px black;
    margin: 2em;
    clear: left;
}

    .recipe .name {
        font-weight: bold;
        font-size: 1.2em;
        background-color: #F1F1F1;
        border-bottom: solid 1px silver;
        padding: .25em;
        margin-top: 0px;
    }


    .recipe .ingredient {
        xmargin-left: 2em;
        font-weight: bold;
        line-height: 1.5em;
    }

    .recipe .garnish, .recipe .source, .recipe .comments, .recipe .directions {
        margin-left: 1em;
        padding-top: .5em;
    }

    .recipe .source {
        font-style: italic;
    }

    .recipe .ssn {
        margin: 0px;
        padding: 0px;
        padding-top: 0px;
        background-color: #6a3600;
        margin-top: 5px;
    }


/* Products */
.product .name {
    font-weight: bold;
    font-size: 24pt;
    font-family: sans-serif;
    padding-top: 10px;
    padding-bottom: 10px;
}

.recipes dt {
    font-size: 1.2em;
    font-weight: bold;
}

/* Flex Box*/

.wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    text-align: center;
}

    .wrapper > * {
        flex: 1 100%;
    }

.header {
}

.footer {
}

.main {
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}

.aside {
    max-width:20%;
    padding:10px;
}

.aside-1 {
    text-align: left;
}

.aside-2 {
    text-align: center;
}


/* Flex Box for Tools*/

.toolSet, .bookSet {
    padding:10px;
    margin: 0;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    justify-content: space-around;
    flex-flow: row wrap;

    background-color:#F1F1F1;
}

.tool {
    padding: 5px;
    width: 125px;
    margin-top: 10px;
    text-align: center;
    border: 1px solid #d8d8d8;

    background-color:white;
}

.book {
    padding: 5px;
    width: 200px;
    margin-top: 10px;
    text-align: left;
    border: 1px solid #d8d8d8;
     
    background-color:white;
}

.book img {
    float:left;
    padding-right:5px;
    padding-bottom:10px;
}
.bookTitle {
    font-size:12pt;
}
.bookAuthor {
    font-size:10pt;
    color:gray;
}
.bookRank {
    padding-top:4px;
}


.tool:hover, .book:hover{
    border: 1px solid gray;
}

    .tool div { /* color for tools 'label' */
        border-top: 1px solid black;
        color: black;
        text-decoration: none;
        font-size: 14pt;
    }

    .tool a, .book a {
        text-decoration: none;
    }

@media all and (min-width: 600px) {
    .aside {
        flex: 1 auto;
    }
}

@media all and (min-width: 800px) {
    .main {
        flex: 3 0px;
    }

    .aside-1 {
        order: 1;
    }

    .main {
        order: 2;
    }

    .aside-2 {
        order: 3;
    }

    .footer {
        order: 4;
    }
}

.defunct {
    background-color:silver;
}