body{   
    margin: 0;
    padding: 0;
	width: 100%;
}

nav {
    height: 40px;
    width: 100%;
    background: #455868;
    font-size: 11pt;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: bold;
    position: relative;
    border-bottom: 2px solid #283744;
    text-align: center;
}
nav ul {
    display: inline-block;
    padding: 0;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    height: 40px;
}
nav li {
    display: inline-block;
    float: left;
}
nav a {
    color: #fff;
    display: inline-block;
    width: 8.5em;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    text-shadow: 1px 1px 0px #283744;
}
nav li a {
    border-right: 1px solid #576979;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
nav li:last-child a {
    border-right: 0;
}
nav a:hover, nav a:active {
    background-color: #8c99a4;
}
nav a#pull {
    display: none;
}

.main{
    background-color: white !important;
	left: 0;
	width: 100%;
}

.display{
	width: 70%;
    background-color: white !important;
	margin-left: auto;
	margin-right: auto;
}

.item{
	width: 30%;
	border: 1px solid black;
	margin-left: 3%;
	float: left;
	margin-top: 2.5%;
}

.logout{
	width: 100%;
	text-align: right;
	border-bottom: 1px solid black;
	padding-bottom: 1em;
}

.welcome{
	margin-top: -1.9em;
	margin-right: 5.4em;
}

.header{
    margin: 0 0;
	width: 100%;
    background-color: #42A2BC;
    padding-bottom: 1em;
}

.title{
	width: 100%;
}

h1{
    font-family: 'Lato', Calibri, Arial, sans-serif;
    margin: 0;
    padding-top: .75em;
    padding-left: 1em;
    color: white;
    font-size: 2em;
}

img{
	width: 100%;
}

p{
	margin-left: 1em;
}

h2{
	font-family: 'Lato', Calibri, Arial, sans-serif;
	padding-left: .75em;
    padding-right: .75em;
}
table{
	margin-left: 1em;
}

td{
	font-family: 'Lato', Calibri, Arial, sans-serif;
}

tr.spacerow > td{
	padding-top: .5em;
}

td.last{
	padding-bottom: .5em;
}

.colinfo{
	padding-left: 1em;
}

.price{
    width: 50%;
    text-align: center;
    float: right;
    background-color: #42A2BC;
    display: table-cell;
    vertical-align: top;
    position:relative;

}

.lowerfeatures{
    width: 100%;
    background-color: #42A2BC;
    overflow: hidden;
}

.edit{
    width: 50%;
    float: left;
    text-align: center;
    background-color: #42A2BC;
}

.edithl {
    color: white;
    text-decoration: none;
}

.edithl:hover{
    text-decoration: underline;
}

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.itemimage {
  width: 100%;
  position: relative;
  z-index: 90;
}

.ribbon-wrapper-green {
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: -3px;
  right: -3px;
}

.ribbon-green {
  font: bold 15px Sans-Serif;
  color: #333;
  text-align: center;
  text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -5px;
  top: 15px;
  width: 120px;
  background-color: #FF0000;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#FFDC7A), to(#FFBF45)); 
  background-image: -webkit-linear-gradient(top, #FFDC7A, #FEBF45); 
  background-image:    -moz-linear-gradient(top, #FFDC7A, #FEBF45); 
  background-image:     -ms-linear-gradient(top, #FFDC7A, #FFBF45); 
  background-image:      -o-linear-gradient(top, #FFDC7A, #FEBF45); 
  color: #6a6340;
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-green:before, .ribbon-green:after {
  content: "";
  border-top:   3px solid #FFBC00;   
  border-left:  3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}

.ribbon-green:before {
  left: 0;
}

.ribbon-green:after{
    right: 0;
}

footer{
    display: inline;
    width: 100%;
    text-align: center;
    clear: both;
}

/* iPhone Query */
@media only screen and (max-width : 859px){ 
    body{   
        margin: 0;
        padding: 0;
        width: 100%;
    }

    section.display{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    section.item{
        width: 100%;
        border: 1px solid black;
        margin-left: auto;
        margin-right: auto;
        float: left;
        margin-top: 2.5%;
    }

    img{
        width: 100%;
    }

    section.logout{
        display: none;
    }

    section.header{
        padding-bottom: 1em;
    }

    nav ul.clearfix:after{
        margin-bottom: 0px;
    }

    nav {
        background-color: #455868;
        z-index: 100;
    }
    nav ul {
        display: none;
        height: auto;
    }

    nav li {
        display: block;
        float: none;
        width: 100%;
        background-color: #455868;
    }
    nav li a {
        border-bottom: 1px solid #576979;
        border-right: 0;
    }

    nav a#pull {
        margin-top: 0;
        display: block;
        background-color: #283744;
        width: 100%;
        position: relative;
        z-index: 99;
    }
    nav a#pull:after {
        content:"";
        background: url('nav-icon.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 10px;
    }
}

/* iPad Media Query */
@media only screen and (min-width : 860px) and (max-width : 1280px) { 
    body{   
        margin: 0;
        padding: 0;
        width: 100%;
    }

    section.display{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    section.item{
    width: 45%;
    border: 1px solid black;
    margin-left: 2.5%;
    float: left;
    margin-top: 2.5%;
    }

    img{
        width: 100%;
    }

    nav {
        height: auto;
    }
    nav ul {
        width: 100%;
        display: block;
        height: auto;
        margin-bottom:0;
    }
    nav li {
        width: 50%;
        float: left;
        position: relative;
    }
    nav li a {
        border-bottom: 1px solid #576979;
        border-right: 1px solid #576979;
    }
    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }
}