/* -----------------------
Base styles
------------------------*/

.chapter
{
	margin: 0;
	padding: 0;
	color: #333;
	background-color: #fff;
	font: 1em/1.2 "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
}
.chapter h1,h2,h3,h4,h5,h6
{
	margin: 0 0 .5em;
	font-weight: 500;
	line-height: 1.1;
}

.chapter h1 { font-size: 2.25em; color: black} /* 36px */
.chapter h2 { font-size: 1.75em; } /* 28px */
.chapter h3 { font-size: 1.375em; } /* 22px */
.chapter h4 { font-size: 1.125em; } /* 18px */
.chapter h5 { font-size: 1em; } /* 16px */
.chapter h6 { font-size: .875em; } /* 14px */

.chapter p
{
	margin: 0 0 1.5em;
	line-height: 1.5;
}

.chapter blockquote
{
	padding: 1em 2em;
	margin: 0 0 2em;
	border-left: 5px solid #eee;
}

.chapter hr
{
	height: 0;
	margin-top: 1em;
	margin-bottom: 2em;
	border: 0;
	border-top: 1px solid #ddd;
}

.chapter table
{
	background-color: transparent;
	border-spacing: 0;
	border-collapse: collapse;
	border-top: 1px solid #ddd;
}

.chapter th, td
{
	padding: .5em 1em;
	vertical-align: top;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.chapter a:link { color: royalblue; }
.chapter a:visited { color: purple; }
.chapter a:focus { color: black; }
.chapter a:hover { color: green; }
.chapter a:active { color: red; }

/* -----------------------
Layout styles
------------------------*/

.chapter .container
{
	max-width: 50em;
	margin: 1em auto;
	background-color: #fff;
	width:70%;
	margin: auto;
}

.chapter .header
{
	color: #fff;
	background: #555;
	padding: 1em 1.25em;
}

.chapter .header-heading { margin: 0; }

.chapter .nav-bar
{
	background: #000;
	padding: 0;
}

.chapter .content { padding: 1em 1.25em; }

.chapter .footer
{
	color: #fff;
	background: #000;
	padding: 1em 1.25em;
}

/* -----------------------
Nav
------------------------*/

.chapter .nav
{
	margin: 0;
	padding: 0;
	list-style: none;
}

.chapter .nav li
{
	display: inline;
	margin: 0;
}

.chapter .nav a
{
	display: block;
	padding: .7em 1.25em;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid gray;
}

.chapter .nav a:link { color: white; }
.chapter .nav a:visited { color: white; }

.chapter .nav a:focus
{
	color: black;
	background-color: white;
}

.chapter .nav a:hover
{
	color: white;
	background-color: green;
}

.chapter .nav a:active
{
	color: white;
	background-color: red;
}

/* -----------------------
Single styles
------------------------*/

.chapter .img-responsive { max-width: 100%; }

.chapter .btn
{
	color: #fff !important;
	background-color: royalblue;
	border-color: #222;
	display: inline-block;
	padding: .5em 1em;
	margin-bottom: 0;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: .2em;
	text-decoration: none;
}

.chapter .btn:hover
{
	color: #fff !important;
	background-color: green;
}

.chapter .btn:focus
{
	color: #fff !important;
	background-color: black;
}

.chapter .btn:active
{
	color: #fff !important;
	background-color: red;
}

.chapter .table
{
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
}
.chapter li{
	margin-top:30px;
}
.chapter .list-unstyled
{
	padding-left: 0;
	list-style: none;
}

.chapter .list-inline
{
	padding-left: 0;
	margin-left: -5px;
	list-style: none;
}

.chapter .list-inline > li
{
	display: inline-block;
	padding-right: 5px;
	padding-left: 5px;
}

/* -----------------------
Wide styles
------------------------*/


@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
	.chapter .container {width:95%}
}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
	.chapter .container {width:95%}
}

/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
	.chapter .container {width:95%}
}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
	.chapter .container {width:95%}
}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
	.chapter .container {width:95%}
}

/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
	.chapter .container {width:95%}
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
	.chapter .container {width:70%}
}

/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
	.chapter .container {width:70%}
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
	.chapter .container {width:95%}
}
.login-form {
	width:80%;
	color: white;
	margin: auto;
	font-size: 35px;
	font-weight:bold;
}
.login-button{
	color:white;
	background-color:#FFA71E;
	border-color: #FFA71E;
	width:40%;
	padding: 1px 6px;
	border-width: 2px;
	border-style: outset;
	font-family:Arial, Helvetica, sans-serif;
}
.login-form .input-wrap{
	margin-top:50px;
    font-size: 20px;
    font-weight:normal;
}

.login-form .input-wrap input[type=text],.login-form .input-wrap textarea{
	width:100%;
    font-size: 20px;
    line-height: 35px;
    padding-left:10px;
}
.login-form .input-wrap label{
	width:60%;
	float: left;
	font-weight: normal;
	font-size: smaller;
}
.login-form .input-wrap .errors {
    text-align:left;
    color:red;
    width: 100%;
    padding:0;
}
.login-form .input-wrap .inputbox{
    margin-bottom: 25px;
}
.login-form a.login-button{
	margin: 5px 0 0 0;
	text-align: center;
	font-size: 32px;
	padding: 1px 6px;
	border-width: 2px;
	border-style: outset;
	font-family:Arial, Helvetica, sans-serif;
	font-weight: normal;
	text-decoration: none;
}
.float-right{
	float: right;
	display: inline;
}
.float-left{
	float: left;
	display: inline;
}
.likes {
	float: right;
	width: 50px;
	text-align: left;
	font-size: 1.3em;
	font-weight: 200;
	margin-left:10px;
}
.addquestion .box{
	display: table-cell;
	border-radius:5px;
}
.addquestion  .text{
	color:white;
	font-weight:bold;
	text-align:center;
	padding: 10px 0;
}

.addquestion .wrapper {
	display: table;
	width: 100%;
}

.addquestion .middle {
	display: table-cell;
	width: 10%;
}