html {
	position: relative;
	min-height: 100%;
}
body {
	/* Margin bottom by footer height */
	margin-bottom: 60px;
}

.container {
    max-width: 850px;
	min-width: 600px;
}

.navbar {
    margin: 20px 0;
    padding: 7px 30px;
    font-size: 20px !important;
    font-weight: 200;
    height: 50px;
}

.main {
    margin-top: 70px;
}

.navbar-brand i {
    color: #cb0000;
}

@keyframes pulse_animation {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    font-size:30px;
    padding:0 7px;
    animation-name: pulse_animation;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier;
    vertical-align: middle;
}

.search .form-control {
    width: 55px;
    font-size: 20px;
    margin: 0 7px;
    text-align: right;
    padding: 2px 4px;
}

.row{
	margin-top: 40px;
}

.search {
    font-weight: 200;
    margin-top: 2px;
}

.search label {
    margin: 0;
    vertical-align: middle;
}

button {
    margin-left: 10px;
    font-size: 20px !important;
    font-weight: 200 !important;
    padding: 2px 10px !important;
}

.code {
    text-align: left;
    padding: 10px 40px 20px 40px;
    border: 1px solid #eee;
	font-size: 11pt;
}

.code pre {
    margin: 0;
	white-space: pre-wrap;
	word-wrap: break-word;
}

button.big{
    padding: 10px !important;
    display: block;
    margin: 20px 0;
    float: left;
}

.cnt h1{
    font-weight: 100;
    color: #bbb;
    text-align: left;
}
.cnt fa {
    font-weight: 100 !important;
    padding: 0 10px;
}

#shuffle {
	float: right;
	font-size: 20px;
	display: block;
	padding: 10px !important;
	margin: 20px 0;
}

#next{
	display: block;
	padding: 10px !important;
	margin: 20px 10px;
	float: left;
	font-size: 20px !important;
	font-weight: 200 !important;
}

.d{
    padding: 5px;
}

.ch {
	cursor: pointer;
}

pre.wrong{
    min-width: 60%;
    background-color: #ffc1c3;
}

span.correct{
    min-width: 60%;
    background-color: #cdffcb;
}
span.wrong{
	width: 100%;
	background-color: #ffc1c3;
}

pre.correct{
	width: 100%;
	background-color: #cdffcb;
}

label {
	margin: 0 !important;
	cursor: pointer;
}

#footer{
	color: #ccc;
	text-align: center;
	padding: 10px;
}

.q-num {
	font-weight: 900;
	font-size: 14px;
	padding: 10px 0;
}

pre{
	font-size: 10pt;
}
code {
	font-size: 10pt !important;
}

.fa-exclamation-triangle {
	color: red;
	cursor: pointer;
}

#textans {
	float:left;
	height: 20px;
	padding: 8px 15px 10px 15px;
	margin-top: 20px;
	margin-left: 20px;
	box-sizing: content-box;
	display: none;
}

#ans {
	margin-top: 20px;
	max-width: 300px;
	float: left;
}

div.wrong{
	width: auto !important;
	background-color: #ffc1c3;
}

div.correct{
	width: auto !important;
	background-color: #cdffcb;
}

.d code {
	display: inline;
}

#footer{
	width: 100%;
	text-align: center;
	margin-top: 50px;
	height: 60px;
	position: absolute;
	bottom: 0;
}

#footer span a{
	font-size: 12px;
	color: #57affa;
}