html, body {
	margin: 0;
	padding: 0;
	border: 0;
}

html {
	height: 100%;
}

body {
	font: 12px/18px Arial, sans-serif;
	height: 100%;
}
.wrapper {
	min-width: 360px;
	max-width: 800px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}


/*********************************************************** 
HEADER
/***********************************************************/
.header {
	min-height: 50px;

}


/*********************************************************** 
MIDDLE SECTION
/***********************************************************/
.middle {
	width: 100%;
	padding: 0 0 100px;
	position: relative;
}

.container {
	width: 100%;
	float: left;
	overflow: hidden;
}
.content {
	padding: 0 270px 0 0;
}


/*********************************************************** 
RIGHT SIDEBAR
/***********************************************************/
.right-sidebar {
	float: left;
	width: 200px;
	margin-left: -200px;
	position: relative;
	background: #FFACAA;
}


/*********************************************************** 
FOOTER
/***********************************************************/
footer {

	padding: 5px;

}




/*********************************************************** 
START HEADER NAVIGATION BAR
/***********************************************************/
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

li {
    float: left;
}

li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1}

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

/*********************************************************** 
END HEADER NAVIGATION BAR
/***********************************************************/


/*********************************************************** 
START TABBED DIV
/***********************************************************/
p {
  margin: 0 0 20px;
  line-height: 1.5;
}

main {
  min-width: 320px;
  width: 600px;
  margin: 0 auto;
  background: #fff;
}

@media screen and (max-width: 800px) {
		main {
		  width: 500px;
	}
}

@media screen and (max-width: 400px) {
		main {
		  width: 360px;
	}
}

section {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
}

input[type=radio] {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
}

label:hover {
  color: #888;
  cursor: pointer;
}

input:checked + label {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid #ddd;
  border-bottom: 1px solid #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2 {
  display: block;
}

#tab3:checked ~ #content3 {
  display: block;
  text-align: right;
}

ul.json {
    background-color: #ffffff;
}

@media screen and (max-width: 400px) {
  label {
    padding: 15px;
  }
}
/*********************************************************** 
END TABBED DIV
/***********************************************************/


/*********************************************************** 
START SIDENAV
/***********************************************************/

/* Fixed sidenav, full height */
.sidenav {
    height: 100%;
    width: 200px;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    padding-top: 20px;
}

/* Style the sidenav links and the dropdown button */
.sidenav a, .dropdown-btn {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 20px;
    color: #818181;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
    color: #f1f1f1;
}



/* Add an active class to the active dropdown button */
.active {
    background-color: green;
    color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
    display: none;
    background-color: #262626;
    padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
    float: right;
    padding-right: 8px;
}

/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

/*********************************************************** 
END SIDENAV
/***********************************************************/






/*********************************************************** 
START TOOLTIP HOVER
/***********************************************************/


.tooltip {
    position: relative;
    display: inline-block;

}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #ddd;
    color: #000;
    text-align: left;
    border-radius: 6px;
    padding: 5px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
	top: 10px;
    right: 10px; 
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}


/*********************************************************** 
END TOOLTIP HOVER
/***********************************************************/



/*********************************************************** 
START HEADLINER DEALS BOX
/***********************************************************/

.headlinerrow
{
    display: table;

    border-spacing: 10px;
}
.headlinercolumn
{
    float: left; 
	padding: 5px;
}

/*********************************************************** 
END HEADLINER DEALS BOX
/***********************************************************/



@media screen and (max-width: 800px) {
.mainimage {max-width: 500px; height: auto; }
}

@media screen and (max-width: 400px) {
.mainimage {max-width: 360px; height: auto; }
}

@media screen and (max-width: 800px) {
		.right-sidebar {
		display: none;
	}
}
