body {
	padding-top: 60px;
}

@media (min-width: 768px) {
	body {
		padding-top: 100px;
	}
}

body.login-body {
	padding-top: 0;
	padding-bottom: 0;
	background-color: #f2f2f2;
}

.breadcrumb {
	background-color: white;
	border-bottom: solid 1px #efefef;
}

.navbar .dropdown .square {
	padding: 0;
	margin: 0;
	width: 25px;
	height: 25px;
	background-color: #d45151;;
	border-radius: 3px;
	display: inline-block;
	margin-right: -20px;
	margin-top: -3px;
	float: left;
}
.navbar .dropdown .glyphicon {
	color: white;
}

.navbar .circle {
	padding: 0;
	margin: 0;
	width: 25px;
	height: 25px;
	background-color: white;
	border-radius: 50%;
	display: inline-block;
	margin-right: -20px;
	margin-top: -3px;
	float: left;
}

li.active .circle {
	background-color: #d45151;
}

.navbar li .glyphicon {
	color: #d45151;
}
.navbar li.active .glyphicon {
	color: white;
}

.navbar.navbar-inverse.navbar-fixed-top {
	background-color: #191a1b;
	background-image: none;
}

.navbar.navbar-inverse.navbar-fixed-top .container #navbar > ul.nav.navbar-nav > li {
	border-top: none;
	padding-top: 0;
	background-color: #191a1b;
}
@media (min-width: 768px) {
	.navbar.navbar-inverse.navbar-fixed-top .container #navbar > ul.nav.navbar-nav > li {
		border-top: solid 5px #191a1b;
		min-height: 80px;
		padding-top: 20px;
	}
}

.navbar.navbar-inverse.navbar-fixed-top .container #navbar > ul.nav.navbar-nav > li.active {
	border-top: none;
}
@media (min-width: 768px) {
	.navbar.navbar-inverse.navbar-fixed-top .container #navbar > ul.nav.navbar-nav > li.active {
		border-top: solid 5px #d45151;
	}
}

.navbar.navbar-inverse.navbar-fixed-top .container #navbar > ul.nav.navbar-nav > li > a {
	color: white;
	padding: 5px 15px;
}
.navbar.navbar-inverse.navbar-fixed-top .container #navbar > ul.nav.navbar-nav > li:not(:last-child) > a {
	border-right: solid 1px #505050;
}
.navbar.navbar-inverse.navbar-fixed-top .container #navbar > ul.nav.navbar-nav > li.active > a {
	color: white;
	background-color: #191a1b;
	background-image: none;
}

.user-profile {
	margin-bottom: 40px;
}

.user-profile .avatar-border {
	width: 160px;
	height: 160px;
	display: block;
	border-radius: 160px;
	box-sizing: border-box;
	background-color: #DDD;
	border: 8px solid #191a1b;
	float: left;
}

.avatar {
	display: block;
	border-radius: 140px;
	box-sizing: border-box;
	background-color: #fff;
	border: 8px solid #d45151;
	margin:2px;
}

.avatar-border img.avatar{
	height: 140px;
	width: 140px
}

.user-profile .profile-summary {
	min-height: 160px;
	margin-left: 190px;
}
.user-profile .profile-summary h2 {
	margin: 5px 0;
}

.user-profile img.trophy {
	height: 18px;
}

.user-profile .profile-problems .header {
	margin-top: 20px;
	border-bottom: solid 1px lightgray;
}

.table.table-black thead {
	background-color: #191a1b;
	color: white;
}

.table.table-black tr {
	white-space:nowrap;
  vertical-align:top;
}

.table.table-black thead tr th {
	border: none;
}

.table.table-black tbody tr td {
	border-top: none;
}

.table.table-auto-width {
	width: auto;
}

.btn-judge {
	-webkit-border-radius: 5;
	-moz-border-radius: 5;
	border-radius: 5px;
	color: #ffffff;
	font-size: 14px;
	background: #656565;
	padding: 5px 15px;
	text-decoration: none;
	line-height: 16px;
	border: none;
}

.btn-judge:hover, .btn-judge:focus {
	color: #ffffff;
	background: #757575;
	text-decoration: none;
}

.btn-judge:disabled {
	background: lightgray;
}

.table {
	margin-bottom: 30px;
}

.countdown {
	display: inline-block;
	border: solid 1px #5cb85c;
	background-color: #5cb85c;
	border-radius: 4px;
	padding: 2px 5px;
	font-size: 0.8em;
	color: white;
}

.table.table-black .smaller {
	font-size: 0.9em;
}

.table.table-black .progress {
	margin-bottom: 0;
}

.table.table-black td {
	vertical-align: middle;
}

.table.table-submit {
	margin-bottom: 10px;
}

.table.table-submit thead {
	background-color: #d45151;
	color: white;
}
.table.table-submit thead tr th {
	border: none;
}

.table.table-submit tbody tr td {
	border-top: none;
}

.form-submission {
	margin-bottom: 30px;
	background-color: #f1f2f3;
	padding: 10px 5px;
}

.form-submission .form-submission-button {
	margin: 10px 0;
}

.problem-text-list {
	margin-bottom: 30px;
}

.problem-text-list ul {
	list-style: none;
	padding-left: 0;
}

.problem-text-list ul li {
	margin-bottom: 10px;
}

.ranking-student {
	position: relative;
}

td.ranking-student > img {
	width: 20px;
	position: absolute;
	left: -15px;
	top: 6px;
}

span.student-name > img {
	height: 25px;
	display: inline-block;
	margin-right: 10px;
	margin-left: 10px;
	margin-top: -5px;
}

.login-bg{
	padding: 20px;
	background-color: white;
	border-radius: 5px;
}

.login-label {
	font-size: 18px;
	margin-bottom: 15px;
}

.login-form-icon {
	position: absolute;
	font-size: 1.5em;
	padding-top: 12px;
	padding-left: 15px;
}
.login-form-icon.icon-white {
	color: white;
}

.login-form-control {
	height: 50px;
	font-size: 16px;
	background-color: #f2f2f2;
	border: solid 1px #f2f2f2;
	box-shadow: none;
	border-radius: 5px;
	padding-left: 50px;
}

.btn-login, .btn-login:hover, .btn-login:active, .btn-login:focus {
	height: 50px;
	font-size: 20px;
	text-shadow: none;
	background-image: none;
	background-color: #d55150;
	color: white;
}

.login-logo img {
	margin-top: 30px;
	width: 100px;
}

.login-title {
	font-size: 40px;
	font-weight: bold;
}

.login-title .black {
	color: black;
}

.login-title .red {
	color: #d55150;
}

p.login-msg {
	margin-top: 10px;
	padding: 10px 15px;
}

.current-avatar {
	width: 150px;
	height: 150px;
	border: solid 1px lightgray;
	margin-top: 20px;
	margin-bottom: 10px;
	border-radius: 5px;
}

.current-avatar img {
	width: 100%;
	height: 100%;
}

.hidden-form {
	display: none;
}

.top-players .top-player {
	margin-right: 80px;
}

.top-players .top-player .trophy {
	float: left;
}

.top-players .top-player .trophy img {
	width: 60px;
}

.top-players .top-player .player-profile {
	float: left;
	margin-right: 30px;
	width: 120px;
}

.top-players .top-player .player-profile .player-picture {
	margin: 0 auto;
	width: 80px;
	height: 80px;
}

.top-players .top-player .player-profile .player-picture img {
	width: 100%;
	height: 100%;
}

.top-players .top-player .player-profile .player-name {
	font-weight: bold;
	font-size: 1.1em;
	line-height: 1em;
	margin: 2px 0px;
	text-align: center;
	width: 160%;
	margin-left: -30%;
}

.top-players .top-player .player-profile .player-points {
	text-align: center;
	width: 160%;
	margin-left: -30%;
}

#scoreboard {
	margin-top: 20px;
}
#scoreboard table td {
	white-space:nowrap;
  vertical-align:top;
}

footer.footer {
	background-color: #d63230;
	color: white;
	text-align: center;
	padding: 13px 0;
	margin-top: 30px;
}

/* copied form orignal style.css  - begin */

.score_correct   { background: #60e760; }
.score_first     { background: #1daa1d !important; }
.score_pending   { background: #6666FF; }
.score_incorrect { background: #e87272; }

.list {
	border-collapse: collapse;
	border-spacing: 0px;
}
.list th {
	vertical-align: bottom;
	padding-left: 3px;
	padding-right: 3px;
	text-align: left;
}
td {
	vertical-align: baseline;
}

.list tr {
	color: gray;
	border-top: 1px solid silver;
	border-bottom: 1px solid silver;
}
.list tr.roweven { background: #ededed; }
.list tr:hover { background: #ffffcc; }
.list thead tr {
	#border-bottom-color: black;
}
.list thead tr th {
	padding: 8px 15px 8px 5px;
	text-transform: capitalize;
	vertical-align: middle;
}
.list thead tr:hover { background: white; }
.list tfoot tr:hover { background: white; }
.list a {
	text-decoration: none;
	color: gray;
	display: block;
	padding: 3px;
	padding-left: 5px;
	padding-right: 5px;
}
.list .disabled a  { color: silver;   }
.list .editdel  a  { display: inline; white-space: nowrap; }

/* copied form orignal style.css  - end */

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #646464;
    border-color: #646464;
}

.pagination > li > a,
.pagination > li > span {
    color: #818181;
    border: 1px solid #ddd;
}

td.editdel {
	min-width: 60px;
}

.problems-filter-container .btn-group {
	margin-left: 5px;
}

.problems-filter-container input.dropdown-input {
	margin: 3px 10px;
}

.problems-filter-container ul.dropdown-menu li {
	position: relative;
}
.problems-filter-container .glyphicon.glyphicon-right {
	position: absolute;
  right: 5px;
  top: 5px;
}

.problems-filter-container {
	margin-bottom: 10px;
}
.selected-problem-filters {
	margin-bottom: 10px;
}
.selected-problem-filters .badge {
	margin-right: 5px;
}
