/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

body{font-family: "Segoe UI",Arial,sans-serif; background-color:#000;}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

img{max-width:100%;}
/*Bof margin classes*/
.margl1m{margin-left:1em;}
/*Eof margin classes*/

/*BOF Colors*/
.white{color:#FFF;}
/*EOF Colors*/

/*BOF Aligns*/
.txtLeft{text-align:left;}
.txtCenter{text-align:center;}
.txtRight{text-align:right;}
/*EOF Aligns*/

/*BOF Flexible*/
.flexWrap{display:flex;}
.flexible{flex:1;}
/*EOF Flexible*/

.forward{float:right;} .back{float:left;} .clearBoth{clear:both;}
#menuToggle{display:none;visibility:hidden;}
 #headerWrapper {background-image: url(images/header_bg.jpg);background-repeat: no-repeat;
background-size: 100%;
background-position: top;}
 #headerWrapper ul#navMenu {text-align: center;padding: 0px;margin-top: 0px;}
 #headerWrapper ul#navMenu li{width:24%;margin-bottom: .25em;}
 #headerWrapper li { display: inline-block; /*margin-left:2%;*/background-color: rgba(255, 255, 255, 0.5);border: solid 2px #CCC;

border-radius: 4px;}
 #headerWrapper li:hover { background-color: rgba(255, 255, 255, 0.7)}
 #headerWrapper li a { display: block;padding: .5em 0px;text-decoration:none;color:#22238D; font-weight:bold;}
 #headerWrapper li a:hover {color:#22238D;}
 
 #logo{margin: .25em 0em 3em .5em;/*max-width:702px; background-image: url('../../css/images/logo_trans.png');*margin: 0px auto;margin-bottom: -2px;*/}
 
 #footer{margin-bottom:3em;}
 
 /*BOF Pages*/
 #pageContentWrapper{margin-bottom:1em; background-color:#888; min-height:200px;padding-top: 1em;}
 .projectPictures{max-width:300px; max-height:300px;}
 
 .pageContentImageWrapper{width:30%; max-width:400px;}
 .pageContentTextWrapper{width:70%; background-image: url('../../css/images/bg_sliver.jpg');background-repeat: repeat-x;}
 
 .projectWrapper{padding: 8px;border: solid 3px #444;margin: .5em;border-radius: 8px;}
 .projectTitle span{text-decoration:underline;}
 #listPartsPageNav{padding: .5em;text-align: center;}
 #listPartsPageNav a:hover{color:blue;}
 #listPartsPageNav a{color:#fff; border: solid 1px #fff;padding: 2px 4px;text-decoration: none;border-radius: 4px;margin: 4px 10px; display: inline-block;}
 
 #listPartsPageSort a{color:#fff; border: solid 1px #fff;padding: 2px 4px;text-decoration: none;border-radius: 4px;margin: 4px 10px; display: inline-block;}
 
 #wrapperSubFrameLP{background-color:#000;}
 
 
 
 /*Parts page*/
 H3.partName{margin-bottom:1px; padding:3px 4px; border-bottom:solid 1px #000;background-color:#888;color: #585858;
font-size: 1.75em;}
 .partWrapper{ padding:8px;background-color:#888;margin-bottom: 2em;}
 #magicTopButton, #magicAddPartButton {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 24px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: blue; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}
#magicAddPartButton {
right: 100px; /* Place the button 30px from the right */
background-color: orange; /* Set a background color */
}
#magicTopButton:hover, #magicAddPartButton:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}
 
 
 
 
 span.packageType{color:orange; text-decoration:underline;}
 span.packageType:hover{cursor:pointer;}
 .partPicture{padding: 1em 0px; float:left;}
 .partDescription{float: right; width: 70%;padding: 1em;max-height:18em; overflow:auto;}
 
 .partEditLinks{font-size:70%;}
 #loginFormWrapper{width:30%; margin: 0px auto;}
 /*EOF Pages*/
 
 .recipeResultNameHeader h2,.recipeResultNameHeader h2 a{margin: 1em 1em 0px 1em;background-color: rgba(255,255,255,.40);color:#222;}
 .recipeResultNameHeader.beef{background-image: url('../../css/images/beef.jpg');background-size: 10%;background-repeat: repeat-x;background-position: bottom;}
 .recipeResultNameHeader.chicken{background-image: url('../../css/images/chicken.jpg');background-size: 8%;background-repeat: repeat-x;background-position: bottom;}
 .recipeResultNameHeader.duck{background-image: url('../../css/images/duck.jpg');background-size: 8%;background-repeat: repeat-x;background-position: bottom;}
 .recipeResultNameHeader.fish{background-image: url('../../css/images/fish.jpg');background-size: 8%;background-repeat: repeat-x;background-position: bottom;}
 .recipeResultNameHeader.pork{background-image: url('../../css/images/pork.jpg');background-size: 8%;background-repeat: repeat-x;background-position: bottom;}

 .recipeResultNameHeader{position:relative; margin: 1em 1.5em 0px 1.5em; border:solid 1px #CCC; border-bottom:none; border-radius:6px 6px 0px 0px;}
 
 .recipeOwner{font-size: 1.2em;padding: 2px 4px;position:absolute;top:0; right:0;}
 .recipeResultWrapper{border: solid 1px #CCC;margin: 0px 1.5em; padding:1em;}
 .recipeMethod{background-color:orange; text-align:right;padding: .25em 1.5em; margin-top: -1em;margin-right: -1em;border:solid 1px orange; border-radius:0px 0px 0px 12px;}
 h4.cookProcessHeader{margin-bottom:0px;}
 h4.ingredientsHeader{margin-bottom:0px;}
 ul.ingredients{margin-top:2px;}
 
 .partImage{max-width:200px;max-height: 160px;}
 .recipePicsContainer a {width: 20%;text-align: center;}
 .recipePicsContainer{padding:4px 6px; background-color:#CCC;border-radius:4px;}
 
 #recImgContainer{position:relative; max-width:400px;}
 #recImgContainer #imgDelLink{position:absolute; bottom:0; right:0px; font-size:1.25em;}
 #recImgContainer #imgDelLink a{text-decoration:none; color:#fff;}
 #recImgContainer #imgDelLink a:hover{text-decoration:none; color:blue;}
 
 
 form#addpartForm, form#projeditForm{width:90%; margin:0px auto;padding-top: 3em;}
 form#addpartForm textarea, form#projeditForm textarea{width:80%;min-width:50%;max-width:90%;resize: both;overflow: auto;}
 form#addpartForm inputform, #projeditForm input[type='text']{width:80%;overflow: auto;}
 
 .form-group {margin-bottom:1em;}
 input[type=text], input[type=password]{border: 2px solid #FFCC00;border-radius: 4px;font-size: 1.5em;padding: .25em .25em;}
  input[type=text]:focus, input[type=password]:focus{background-color:#FFCC00;}
  
  select {
  font-size: 1.5em;
    max-width: 300px;
	padding: .25em .25em;
	margin-left:.5em;
    border: none;
    border-radius: 4px;
    background-color: #f1f1f1;
}


 input[type=button], input[type=submit], input[type=reset] {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
}
#formSubmitButtonWrapper{margin:2em 0px; padding:2em 0px; border-top:1px solid #CDCDCD;}


 
 
 @media (min-width:600px) and (max-width:800px){
  #loginFormWrapper{width:65%; margin: 0px auto;}
 }
 
 
 @media (min-width:0px) and (max-width:800px){
	#menuToggle{display:block;visibility:visible;height: 2.5em;}
	#headerWrapper ul#navMenu{display:none;}
	#headerWrapper li { display: block;}
	#headerWrapper ul#navMenu li{width:100%;}
	#headerWrapper ul#navMenu li{width:90%;margin:0px auto; padding:0px; margin-bottom: .25em;}
	#headerWrapper ul#navMenu {background-color: rgba(255, 255, 255, 0.4);}
	#loginFormWrapper{width:90%; margin: 0px auto;}
	.partPicture, .partDescription{float:none;width:100%;} 
 }
 

 
 @media (min-width:0px) and (max-width:800px){
	.recipeResultNameHeader{margin: 1em 0px 0px 0px;}
	.recipeResultWrapper{margin: 0px;}
	
	.recipeResultNameHeader.beef{background-image: url('../../css/images/beef.jpg');background-size: 17%;background-repeat: repeat-x;background-position: bottom;}
	.recipeResultNameHeader.chicken{background-image: url('../../css/images/chicken.jpg');background-size: 17%;background-repeat: repeat-x;background-position: bottom;}
	.recipeResultNameHeader.duck{background-image: url('../../css/images/duck.jpg');background-size: 17%;background-repeat: repeat-x;background-position: bottom;}
	.recipeResultNameHeader.fish{background-image: url('../../css/images/fish.jpg');background-size: 17%;background-repeat: repeat-x;background-position: bottom;}
	.recipeResultNameHeader.pork{background-image: url('../../css/images/pork.jpg');background-size: 18%;background-repeat: repeat-x;background-position: bottom;}

 }