/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.8;
    font-family: 'PT Sans';
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

body, html {
    background: #FFF;
    height: 100%;
    color: #212121;
    font-family: 'PT Sans';
}

h1 {
  font-family: 'Arvo';
  font-size: 1.5em;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

h2 {
  font-size: 1em;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;

}

#contentWrapper {
    width: 50%;
    margin: auto;
  }

@media only screen and (max-width: 1280px) {
#contentWrapper {
    width: 85%;
  }
}

.content {
	width: 100%;
	float: left;
  padding-bottom: 40px;
}

.nav {
  float: left;
  width: 100%;
  padding-top: 10px;
  color: #c0c0c0;
}

.nav ul{
  font-family: 'Arvo';
  font-size: 1.2em;
  padding: 0px;
  margin: 0px;
}

.nav li{
  list-style: none;
  float: left;
  margin-right: 15px;
}

.footer {
  width: 100%;
  float: left;
  color: #c0c0c0;
  font-size: .75em;
  margin-bottom: 15px;
}

.dropdown-old {
    background-color: #212121;
    color: white;
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    width: 60px;
    font-size: .75em;
    float: right;
    margin-left: 10px;
}

.dropdown {
    color: #212121;
    border: 1px solid #c0c0c0;
    position: relative;
    display: inline-block;
    padding: 3px 15px;
    width: 60px;
    font-size: .75em;
    margin-left: 10px;
    float: right;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0px;
    top: 31px;
    min-width: 200px;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
}

.dropdown-content a {

}

.dropdown-content a:hover {
  background-color: red;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-entry {
  border-color: 1px solid black;
}

.dropdown-entry:hover {
  background-color: black;
}

.item {
  width: 100%;
  margin: 15px 0px;
  padding: 10px 0px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #c0c0c0;
}

.item .category {
  font-style: italic;
}


.new {
  font-size: .75em;
  letter-spacing: 4px;
  font-weight: bold;
  background-color: #8bc34a;
  color: white;
  margin-left: 20px;
  padding: 0px 5px;
  float: left;
}

.left{
    float: left;
}

.right{
	float: right;
}

.small {
  font-size: .75em;
  vertical-align: middle;
}

.tiny {
  font-size: .5em;
  vertical-align: middle;
}

.huge{
  font-size: 1.5em;
  font-weight: normal;
  line-height: 0em;
  font-family: 'Arvo';
}

.box {
  float: left;
  margin: 0px 20px 20px 0px;
  height: 145px;
  width: 200px;
  padding: 5px;
  text-align: right;
}

.bgcolor-red {
  color: white;
  background-color: #f44336
}

.bgcolor-pink {
  color: white;
  background-color: #e91e63;
}

.bgcolor-purple {
  color: white;
  background-color: #9c27b0;
}

.bgcolor-deeppurple {
  color: white;
  background-color: #673ab7;
}

.bgcolor-blue {
  color: white;
  background-color: #2196f3;
}

.bgcolor-teal {
  color: white;
  background-color: #009688;
}

.bgcolor-green {
  color: white;
  background-color: #4caf50;
}

.bgcolor-orange {
  color: white;
  background-color: #ff9800;
}

.bgcolor-brown {
  color: white;
  background-color: #795548;
}

.bgcolor-white {
  color: white;
  background-color: #000;
}

.bgcolor-black {
  color: white;
  background-color: #fff;
}

.textcolor-red {
  color: #f44336
}

.textcolor-pink {
  color: #e91e63;
}

.textcolor-purple {
  color: #9c27b0;
}

.textcolor-deeppurple {
  color: #673ab7;
}

.textcolor-blue {
  color: #2196f3;
}

.textcolor-teal {
  color: #009688;
}

.textcolor-green {
  color: #4caf50;
}

.textcolor-orange {
  color: #ff9800;
}

.textcolor-brown {
  color: #795548;
}

.textcolor-white {
  color: #000;
}

.textcolor-black {
  color: #fff;
}

.textcolor-gray {
  color: #c0c0c0;
}


/* divs for the patched products section */
.entry {
  width: 100%;
  float: left;
  margin: 5px 0px;
}

/* tooltip */
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: black;
    opacity: .75;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: .75em;
    font-family: 'Arvo';
    text-align: center;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    left: 100%;
    margin-left: 15px;
    z-index: 1;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%; /* To the left of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

a {
	color: #212121;
	text-decoration: none;
  border-bottom: 1px dotted #c0c0c0;
}

a:active {
  border-bottom: 3px solid #c0c0c0;
}

a:hover {
  text-decoration: none;
  border-bottom: 1px solid #c0c0c0;
}
