/* Convergence font from Google. */
@font-face {
  font-family: 'Convergence';
  font-style: normal;
  font-weight: 400;
  src: local('Convergence-Regular'), url(convergence.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
	margin: 0px;
	min-height: 100%;
	width: 100%;
	color: #dddddd;
	background: #101010;
	font-family: sans-serif;
}

body {
	min-height: 100%;
	width: 100%;
	margin: 0px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.42857;
}

select {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #000000;
	background: #dddddd;
	border-radius: 4px;
	cursor: pointer;
	padding: 6px 25px 6px 12px;
}

h2 {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.1;
	padding-bottom: 10px;
	padding-top: 10px;
	margin: 0px;
}

p {
	margin: 0px 0px 10px 0px;
}

label {
	font-weight: 700;
	max-width: 100%;
	display: inline-block;
	padding-top: 7px;
	white-space: nowrap;
}

input {
	margin-top: 7px;
}

input[type=button] {
	background-color: #265a88;
	background-image: linear-gradient(#805090 0px, #403050 100%);
	border-color: #5040a0;
	border-radius: 4px;
	border-width: 1px;
	color: #cccccc;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	text-shadow: #cccccc 0px 1px 0px;
	padding: 6px 12px 6px 12px;
}

input[type=number] {
    width: 50px;
}

.labelCheckBoxCheckall {
	color: #4060a0;
}

.form-horizontal .control-label {
	text-align: right;
	padding-top: 7px;
	margin-bottom: 0px;
}

.form-horizontal .form-group {
	margin-bottom: 15px;
}

.form-horizontal .form-group:before,
.form-horizontal .form-group:after {
	display: table;
	content: " ";
}

.form-horizontal .form-group:after {
	clear: both
}

.col-sm-4 {
	padding-left: 0px;
	padding-right: 10px;
	min-height: 1px;
	width: 25%;
	display: inline-block;
	float: left;
}

.col-sm-8 {
	padding-left: 5px;
	padding-right: 0px;
	min-height: 1px;
	width: 75%;
	display: inline-block;
	float: left;
}

input.helpButton {
	margin-left: 20px;
	border-radius: 100%;
	font-weight: bold;
	text-shadow: #cccccc 0px 0px 0px;
	padding: 2px 6px;
	background-image: linear-gradient(#4060a0 0px, #305090 100%);
	border-color: #1a3c75;
}

#buttonOwnPicHelp {
	margin-left: 0px;
}

#divIntroContainer {
	margin: 10px 0;
	display: flex;
}

#divIntroInstructions {
	font-family: Convergence, Helvetica, Arial, sans-serif;;
	border: 3px solid #6666cc;
	background: #a088b0;
	color: #000000;
	padding: 6px 10px;
	border-radius: 10px;
	flex: 1;
}

#buttonShowRules {
	margin-top: 7px;
	padding: 3px 6px 3px 6px;
	font-weight: 400;
	font-size: 14px;
}

#buttonShowCredits {
	margin-top: 7px;
	padding: 3px 6px 3px 6px;
	font-weight: 400;
	font-size: 14px;
}

#divGenderButtons {
	text-align: center;
}

.iconGender {
	background-color: #265a88;
	background-image: linear-gradient(#805090 0px, #403050 100%);
	border-color: #5040a0;
	border-radius: 4px;
	border-width: 1px;
	color: #cccccc;
	cursor: pointer;
	font-weight: 400;
	text-shadow: #cccccc 0px 1px 0px;
	padding: 3px;
	width: 36px;
	height: 36px;
}

#imgLogo {
	width: 50px;
}

#spanCumPercent,
#spanEdgeDuration {
	margin-left: 32px;
}

#spanRangeEdgeDuration,
#spanRangeCumPercent {
	font-size: 20px;
}

#mainwrapper {
	height: 100%;
}

#choose {
	margin: 0 auto;
	max-width: 1000px;
}

#imgCumPic {
    max-width: 200px;
	max-height: 100px;
}

#mainwrapper.gameModeNormal #choose,
#mainwrapper.gameModeEndurance #choose,
#mainwrapper.gameModeSlideshow #choose {
	display: none;
}

#hiddenPictureLoader {
	display: none;
}

#divMessageContainer {
	display: flex;
	padding: 10px 0px;
}

#mainwrapper.gameModeSlideshow #divMessageContainer {
	display: none;
}

#divImageHead {
	margin: auto;
	padding-left: 50px;
	padding-right: 10px;
}

#imageHead {
	width: 150px;
	height: 150px;
	border-radius: 6px;
	border: 1px solid #303060;
}

#message {
	font-family: Convergence, Helvetica, Arial, sans-serif;
	font-size: 36pt;
	text-align: center;
	border-radius: 10px;
	flex: 1;
}

#divRightMessage {
	margin: auto;
	width: 110px;
	height: 80px;
	padding-left: 20px;
	padding-right: 10px;
}

#imageContainer {
    height: 100%;
	width: 100%;
	text-align: center;
	position: relative;
	display: inline-block;
	overflow: hidden;
	margin: 0;
}

#imageDisplayed,
#imageDisplayed2,
#imgDisplayedCum {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	height: 100%;
	width: 100%;
	object-fit: contain;
	transform: translate(-50%, -50%);
}

.row {
	z-index: 1;
}

.row.header {
  flex: 0 1 auto;
}

.row.content {
  flex: 1 1 auto;
}

#progress {
	margin: 10px auto 10px auto;
	width: 75%;
	max-width: 1000px;
	height: 25px;
	border-radius: 20px;
	background-color: #222222;
	overflow: hidden;
	box-shadow: 0 0 1px 2px #6666cc;
}

#progress .jerkbar, 
#progress .cumbar {
	height: 100%;
	float: left;
	width: 100%;
	position: relative;
}

#progress .jerkbar .text,
#progress .cumbar .text {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	text-align: center;
	color: #000000;
	vertical-align: middle;
	line-height: 25px;
	color: #ffffff;
	display: none;
}

#progress .cumbar {
	background-color: green;
	width: 25%;
	font-size: 12pt;
	display: none;
	background: linear-gradient(to right, #007800 0%, #64ff64 100%);
}

#progress .cumbar .separator
{
	height: 100%;
	background: #6666cc;
	width: 2px;
	float: left;
}

#progress .bar {
	height: 100%;
	float: left;
	background-color: #ffffff;
	width: 0px;
	position: absolute;
	top: 0;
	left: 0;
}

#divGameControls {
	display: none;
	margin: 10px auto;
	text-align: center;
}

#gamewrapper.first #divGameControls,
#gamewrapper.go #divGameControls,
#gamewrapper.finish #divGameControls {
	display: block;
}

#divGameControls input {
	margin-top: 0px;
}

#buttonBlacklistPicture {
	background-image: linear-gradient(#801000 0px, #400000 100%);
}

#buttonSlideshowBackToMenu {
	margin-left: 50px;
}

#divBackToMenu {
	display: none;
	margin: 10px auto;
	text-align: center;
}

#gamewrapper.done #divBackToMenu,
#gamewrapper.cancel #divBackToMenu,
#gamewrapper.stop #divBackToMenu{
	display: block;
}

#buttonBackToMenu {
	margin-top: 0px;
	margin-left: 50px;
}

#gamewrapper {
	display: none;
	flex-flow: column;
	height: 100%;
}

#gamewrapper.go,
#gamewrapper.first {
	background-color: #001100;
}

#gamewrapper.stop {
	background-color: #330000;
}

#gamewrapper.cancel {
	background-color: #550000;
}
#gamewrapper.finish {
	background-color: #006600;
}

#gamewrapper.done {
	background-color: #101010;
}

#mainwrapper.gameModeNormal #gamewrapper,
#mainwrapper.gameModeEndurance #gamewrapper,
#mainwrapper.gameModeSlideshow #gamewrapper {
	display: flex;
}

#gamewrapper.stop #progress {
	background-color: red;
}

#gamewrapper.stop #progress .bar {
	background-color: #000000;
}

#gamewrapper.go #progress,
#gamewrapper.first #progress,
#gamewrapper.finish #progress {
	background-color: #007800;
}

#gamewrapper.done #progress,
#gamewrapper.cancel #progress {
	display: none;
}

#gamewrapper.showCumbar #progress .jerkbar,
#gamewrapper.finish #progress .jerkbar {
	width: 75%;
}

#progress .bar {
	background-color: #000000;
}

#gamewrapper.showCumbar #progress .cumbar,
#gamewrapper.finish #progress .cumbar {
	display: block;
}

#progress .cumbar .bar {
	background-color: red;
}

#gamewrapper.go #progress .text,
#gamewrapper.first #progress .text,
#gamewrapper.finish #progress .text {
	display: block;
}

#mainwrapper.gameModeSlideshow #progress .text {
	display: none;
}

#flash {
	border-radius: 50%;
	width: 80px;
	height: 80px;
}

#flashBg {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
}

#flash.on {
	background: rgba(0, 128, 0, 0.75);
}

#flash.off {
	background: rgba(0, 0, 0, 0.75);
}

#flashBg.on {
	background: rgba(0, 128, 0, 0.15);
}

#flashImg {
	width: 80px;
	height: 80px;
}