﻿/*
   Author: Carl Stout
   Date:   1/22/2016 
*/

@font-face {
    font-family: 'BRUSHSCI';
    src: url('BRUSHSCI.TTF') format('truetype');
}
body {
    text-align: center;
     background-color: #58a6eb;
    background-color: rgba(88, 166, 235, 1)
}
header {
    width: 100%;
    font: bolder italic 24pt BRUSHSCI;
    
}

header table {
    margin: 0 auto;
}
header img {
    width: 200px;
}
nav {
    position: absolute;
    text-align: center;
    z-index: 999999;
    width: 100%;
    
}

nav ul {
    
    display: inline;
    margin: 0 auto;
    
    list-style: none;
    
    
}

nav ul a {
    color: white;
    text-decoration: none;
}

nav ul li {
    font: bold 18px sans-serif;
    display: inline-block;
    
    position: relative;
    padding: 5px 20px;
    background-color: #0064ff;
    background-color: rgba(0, 100, 255, 1);
    cursor: pointer;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    border-radius: 14px;
    width: 200px;
    text-align: center;
}

nav ul li.current-menu-item {
    background-color: #0000ff;
    background-color: rgba(0, 0, 255, 1);
}
nav ul li:hover > a {
    color: #ffffff;
    color: rgba(255, 255, 255, .3);
}
nav ul li:hover {
    background-color: #0064ff;
    background-color: rgba(0, 100, 255, .5);
    
}
section {
    margin: 0 auto;
    margin-top: 50px;
    background-color: white;
    width: 80%;
    max-height: 80%;
}
#recipes {
    margin: 0 auto;
    border-width: 1px;
    border: solid;
}

#recipes tr {
    cursor: pointer;
}
#recipes tr td {
    padding: 10px 10px;
}
#recipes tr td img {
    width: 100px;
}
#recipeslist {
    text-align: left !important;
    padding: 10px;
}
#recipeslist h2 {
    font-size: 24pt;
}
#recipeslist img {
    width: 300px;
}
#recipeslist h1 {
    color: #0000ff;
}
#recipeslist li {
    padding: 5px;
    font-size: 15pt;
}
#newrecipe {
    margin-top: 10px;
}
label, input, select ,button{
    display: inline-block;
}

input[type="text"]:focus{
	background-color:yellow;
}

label {
    width: 30%;
    text-align: right;
}

textarea{
    width: 400px;
	height:200px;
}

label + input[type="text"],label + select , label + textarea{
    width: 30%;
    margin: 0 30% 0 .5%;
}

label + input[type="checkbox"]{
    margin: 0 49% 0 .5%;
}

.required::first-letter{
	color:red;	
}

.buttondiv{
	margin: 0 auto;
	text-align:center;
}
div{
	margin-top: 5px;
}

/***Style copied from BootStrap***/
.btn-success,
.btn-info,
.btn-danger {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}

.btn-success:active,
.btn-info:active,
.btn-danger:active,
.btn-success.active,
.btn-info.active,
.btn-danger.active {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn:active,
.btn.active {
  background-image: none;
}

.btn-success {
  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
  background-image:      -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
  background-image:         linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #3e8f3e;
}

.btn-success:hover,
.btn-success:focus {
  background-color: #419641;
  background-position: 0 -15px;
}

.btn-success:active,
.btn-success.active {
  background-color: #419641;
  border-color: #3e8f3e;
}

.btn-info {
  background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
  background-image:      -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
  background-image:         linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #28a4c9;
}

.btn-info:hover,
.btn-info:focus {
  background-color: #2aabd2;
  background-position: 0 -15px;
}

.btn-info:active,
.btn-info.active {
  background-color: #2aabd2;
  border-color: #28a4c9;
}

.btn-danger {
  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
  background-image:      -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
  background-image:         linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #b92c28;
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: #c12e2a;
  background-position: 0 -15px;
}

.btn-danger:active,
.btn-danger.active {
  background-color: #c12e2a;
  border-color: #b92c28;
}

footer {
    width: 100%;
 
}
