/* Project Stylesheet */
/* v 1.0 */

/* Data Sheet */
/* Accent: #88C559 */
/* Light Accent: #d9f1fb */
/* Button Hover Color: #495057 */
/* Input Placeholder: #b8b8b8 */
/* Failure Color: #ff939e */
/* Basic Text Color: #404040 */
/* Font: Open Sans */

/* Charset */
@charset "UTF-8";

/* Font imports */
@import url("https://fonts.googleapis.com/css?family=Open Sans:400,700");


/* Pseudos */
*::-moz-selection {background: none repeat scroll 0 0 #88C559; color: #fff;}
::selection {background: #88C559; color: #fff;}
::-webkit-input-placeholder {color:#b8b8b8 !important;}
:-moz-placeholder {color:#b8b8b8 !important;}
::-moz-placeholder {color:#b8b8b8 !important;}
:-ms-input-placeholder {color:#b8b8b8 !important;}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
	box-shadow: 0 0 0 50px #88c55938 inset !important;
	-webkit-box-shadow: 0 0 0 50px #88c55938 inset !important;
	background-color: transparent !important;
}


/* Basics */
html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif !important;
	font-weight: 400;
	line-height: 1.2; /* Open Sans Correction */
    color: #404040;
	background: url(../img/bg-tile.jpg) center repeat;
}

.flex-box {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

.panel-design {
	background-color: #fdfdfd;
    box-shadow: 0px 4px 16px rgb(0 0 0 / 5%);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    width: 100%;
	position: relative;
    overflow: hidden;
}

.img-body {
	background: #4f4c47 url(../img/bg-green-light.jpg) center no-repeat;
	background-size: cover;
}

.img-body .modal {
	color: #404040 !important;
}

.modal-body p {
	margin-bottom: 1.75rem;
}

.modal-body ul {
	padding-inline-start: 1.5rem;
    list-style-type: disc;
	margin-bottom: 1.75rem;
}

.list-unstyled {
    padding: 0 !important;
    list-style-type: none !important;
    margin: 0 !important;
}

img, div {
    border: none;
}

nav li a, nav li a:focus, nav li a:hover {
    text-decoration: none;
    outline: 0;
    cursor: pointer;
    color: #fff;
}

a {
    text-decoration: none;
    outline: 0;
    cursor: pointer;
    color: #88C559;
	opacity: 1;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

p a:focus, p a:hover {
	text-decoration: underline;
	color: #88C559;
	opacity: 0.75;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

form, input, textarea {
    border: none;
    -webkit-appearance: none;
    border-radius: 0;
	text-align:center;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
	font-size: 1rem;
    line-height: 1.25;
	text-align:justify;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	margin: 0;
}

/* Add the accent color */
.accented {
	color: #88C559 !important;
}

#answer-details {
    width: 100%;
    max-width: 700px;
    margin-top: 3rem;
}

#answer-details > div {
    margin-bottom: 6px;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #dfdfdf;
    color: black;
    cursor: pointer;
    padding: 6px;
    width: 100%;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .collapsible img {
      height: 50px;
  }
  
  .active, .collapsible:hover {
    background-color: #88C559;
  }
  
  .content {
    padding: 18px;
    display: none;
    justify-content: center;
    overflow: hidden;
    background-color: #fafafa;
    border: 1px solid lightgray;
  }


/* Date Picker */

.date-picker {
    background-color: #fdfdfd;
    box-shadow: 0px 4px 16px rgb(0 0 0 / 5%);
    border-radius: 8px;
    padding: 5px 10px;
    margin: 16px 0;
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid;
    border-color: transparent;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 1rem;
}

.date-picker:hover {
    border-color: #88C559;
}

.daterangepicker .ranges li.active, .daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #88C559 !important;
}

.daterangepicker .drp-buttons .btn {
    margin: 4px !important;
    font-family: "Open Sans", sans-serif;
    text-align: center;
    line-height: 0.1;
    padding: 0rem 1rem !important;
    height: calc(1.85rem + 2px);
    opacity: 1;
    display: inline-block;
    border: none;
    border-radius: 32px;
    box-shadow: none !important;
    outline: none !important;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

.jvm-tooltip {
    background-color: #88C559 !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 1rem !important;
    color: #FFF !important;
}

.btn-primary {
    background-color: #88C559 !important;
    border-color: #88C559 !important;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #bdf593 !important;
    border-color: #bdf593 !important;
}

.btn-primary:hover {
    background-color: #bdf593 !important;
    border-color: #bdf593 !important;
}

#prizes-table img {
    height: 50px;
    margin: 0.5rem;
}


/* Globals */

table {
    display: block;
    overflow-x: auto;
    padding: 0;
    max-width: 700px;
}

table tr {
    border-bottom: 1px solid #dfdfdf;
}

h1 {
	font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

@media (max-width:768px) {
	h1, .subtitle-info { text-align: center; }
}

h2 {
    font-weight: 400;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

h3 {
    font-weight: 700;
    font-size: 1.4em;
	line-height: 2;
    margin-bottom: 0.5rem;
}

.subheadline {
	font-size: 18px;
	line-height: 27px;
	text-align: justify;
}


.center {
    text-align: center;
}

.img-responsive {
	margin-left:0;
	margin-right:0;	
}

/* Section */
section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	padding:75px 0 75px 0;
	position: relative;
}

#introduction {
	max-width: 360px;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
	text-align: center;
}

.panel {
	padding: 32px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 16px 0px rgba(0,0,0,0.3);
}

@media screen and (max-height: 768px) {
	section {
		padding:24px 0 !important;
	}
}

.round-logo {
	max-width: 96px;
    border-radius: 50%;
    box-shadow: 0px 2px 16px #00000060;
}

.round-logo-alt {
    max-width: 104px;
    border-radius: 50%;
    box-shadow: 0px 2px 16px #00000060;
    border: 4px solid white;
}

.prize-graphic {
	height: 128px;
    width: 256px;
    box-shadow: 0px 2px 16px #00000060;
    border: 4px solid white;
}

.prize-slot-btn {
    margin-top: -16px !important;
    margin-left: -18px !important;
}

/* Image slot setup */

.file-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.file-btn {
	color: #88C559 !important;
	opacity: 1;
	background-color: #fff !important;
	
	border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer !important;
    display: inline-block;
    height: 36px;
    width: 36px;
    position: absolute;
    left: 50%;
    margin-left: 24px;
    box-shadow: 0px 2px 8px #00000080;
	
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

.title-line {
	text-align: center;
    font-size: 1.75rem;
    margin-bottom: 4px;
    margin-top: 32px;
	font-weight: 700;
}


.heading {
    display: inline-block;
	text-align: center;
    margin-bottom: 50px;
}

#contactform p {
	min-height:36px;
	text-align: center;
    margin-bottom: 48px;
}





/* Custom checkbox */
.login-remember {
	float: left;
	margin-top: 8px !important;
}
.login-submit {
	float: right;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-wrapper {
    height: calc(2.25rem + 2px);
    position: relative;
    width: 100%;
}

.checkbox-container {
    float: left;
    text-align: left;
    padding-left: 48px;
    padding-top: 8px;
    cursor: pointer;
    font-size: 16px;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    opacity: 1;
    background-color: transparent;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
    top: 0;
    left: 0px;
    height: calc(2.25rem + 2px);
    width: calc(2.25rem + 2px);
    box-shadow: inset 0px 2px 2px #acacac !important;
    outline: 2px solid;
    outline-offset: 0px;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    opacity: 1;
    outline: 2px solid white;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
	background-color: rgba(255,255,255,0.5);
	opacity: 1;
}

/* When the checkbox is checked, add a background */
.checkbox-container input:checked ~ .checkmark {
    background-color: #88C559;
    box-shadow: inset 0px 2px 2px #acacac !important;
    opacity: 1;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
	opacity:0;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
	opacity:1;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
	left: 11px;
    top: 3px;
    width: 16px;
    height: 24px;
    border: solid white;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Login Footer */
#primary-footer {
	width: 100%;
	margin: auto;
	position: absolute;
	bottom: 0;
	color: white;
}

/*
@media screen and (max-height: 624px) {
	#primary-footer {
		display: none;
	}
}
*/

@media screen and (max-height: 768px) {
	.round-logo {
		max-width: 64px;
		border-radius: 50%;
		box-shadow: 0px 2px 8px #00000060;
	}
	p {
		font-size: 0.9rem;
	}
	.title-line {
		font-size: 1.25rem;
		margin-top: 12px;
	}
	.heading {
		margin-bottom:12px;
	}
	#app-sidebar #primary-footer {
		display: block;
	}
	
}

@media screen and (max-height: 600px) {

	#primary-footer > div > div > div > p:nth-child(1), #primary-footer > div > div > div > p:nth-child(2) {
		display: none !important;
	}
	
	.nav-block > li > a {
		font-size: 0.9rem;
	}
}

#primary-footer p {
	margin-bottom: 0;
    text-align: center;
    font-size: 0.9rem;
}

#primary-footer p:nth-child(2), #primary-footer p:last-child {margin: -0.25rem 0 1rem 0 !important;}
.copyright {color:#fff;opacity:0.5}




/* Mobile */
.navbar-toggle {
    margin-top: 12px;
    right: 15px;
}

.navbar-default .navbar-toggle .icon-bar {
    background: #fff;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background: #fff;
}

.navbar-default .navbar-toggle:hover .icon-bar, .navbar-default .navbar-toggle:focus .icon-bar {
    background: #252525;
}

/* Header + Top Bar */
header {
    width: 100%;
	height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
	background:#252525;
}
header.compact {
	height: 200px !important;
}

.top-bar {
    display: inline-block;
    width: 100%;
    height: 60px;
    padding: 15px 0 15px 0;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

.top-bar.slidedown {
	position: fixed;
	top: -80px;
	left: 0;
	width: 100%;
	z-index: 999;
	background: #252525;
	padding: 0 0 15px;
}

.top-bar.slidedown .nav {
    padding-top: 15px;
}

.top-bar.slidedown .logo {
    margin-top: 15px;
}

.top-bar.slidedown .logo a {
    font-size: 36px;
}

.slide-menu .top-bar.slidedown {
    top: 0;
}

/* Logo */
.logo {
    float: left;
	height: 30px;
}

.logo a img {
	height:100%;
}


/* Sidebar menu */
#app-sidebar {
	min-height: 100vh;
    max-width: 224px;
	position: relative;
	z-index: 1000;
	background-size:auto !important;
	background-position:top;
}

#app-sidebar-blocker {
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
	display: none;
}

#app-sidebar-button {
	display: none;
	margin-right: 0.5rem;
	font-size: 1.5rem;
}

#app-sidebar-close {
    position: absolute;
    right: 0;
    margin: 0 auto;
    padding: 12px;
	display: none;
}

@media screen and (max-height: 768px) {
	.nav-block {
		margin: 32px 0 !important;
	}
	.round-logo-alt {
		max-width: 64px !important;
		border: 2px solid white !important;
	}
	#user-info {
	    margin-top: 16px !important;
	}
}

.nav-block {
	margin: 64px 0;
}

.nav-link {
	display: block;
    color: #fff;
	background-color:transparent;
	opacity: 1;
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

.nav-link:hover {
    color: #fff;
	background-color:rgba(255,255,255,0.4);
	opacity:0.9;
	text-decoration: none;
}
.nav-link:hover i {
	color:#88C559;
}

.nav-link:active, .nav-link.active, .nav-link.inactive.active, .nav-link.inactive.active:hover {
    color: #fff;
	background-color:rgba(255,255,255,0.4) !important;
	text-decoration: none;
	cursor: default;
}

.nav-link.active:hover i {
	color:#FFF;
	cursor: default;
}

.nav-link i {
	margin-right: 8px;
    vertical-align: middle;
	color:#fff;
}
.nav-link span {
	vertical-align: text-bottom;
}

/* Tutorial-related sidebar overrides */ 
.nav-link.inactive, .nav-link.inactive:hover, .nav-link.inactive:active, .nav-link.inactive:focus {
	opacity: 0.5 !important;
	cursor: default !important;
	background: transparent !important;
}
.nav-link.inactive:hover i {
	color: white !important;
}

#app-logo {
	display: block;
    margin: 0 auto;
    margin-top: 32px;
    max-width: 50%;
}

#user-info {
	text-align: center;
    margin-top: 32px;
}

#user-info p {
	font-size: 1.4rem;
	line-height:1;
	text-align:center;
}

#user-info p small {
	font-size: 60%;
}

@media screen and (max-height:768px) {
	#user-info img {
		max-width: 80px !important;
	}
}

/* App main view*/
#app-main {
	padding:24px 32px;
}

.page-header {
	margin-bottom:32px;
	position:relative
}

@media (max-width:425px) {
	#app-main {
		padding:16px;
	}
	.page-header div h1 {
		font-size: 1.5rem;
	}
	#app-sidebar-button {
		font-size: 1.25rem;
	}
	.page-header div a {
		font-size: 1.25rem;
	}
}

.action-link {
    display: block;
    float: right;
	text-align: right;
    color: #404040;
    font-size: 1.6rem;
    background-color: transparent;
    opacity: 1;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

.action-link:hover {
	opacity:0.8 !important;
	text-decoration: none;
	color: #404040 !important;
}
.action-link:hover i {
	color:#404040;
}

.action-link:active {
	transform: scale(0.95);
	opacity:0.8 !important;
	text-decoration: none;
}

.action-link i {
    margin-left: 8px;
    vertical-align: middle;
    color: #88C559;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}
.action-link span {
	vertical-align: text-bottom;
}

/* Form settings */
/*////////////////////////*/

/* Buttons */
a.button-a {
	line-height:2.5rem !important;
}

.button-a {
    color: #454545;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    text-align: center;
    line-height: 0.1;
    padding: 0rem 1rem;
    height: calc(2.25rem + 2px);
    background-color: #fff;
	opacity:1;
    display: inline-block;
    border: none;
    border-radius: 32px;
	box-shadow:none !important;
	outline:none !important;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}
.button-a:hover {
	background-color:#495057 !important;
	text-decoration:none;
	color: #FFF;
}
.button-a:active {
	background-color:#495057 !important;
	transform: scale(0.925);
	opacity:0.75;
	color: #FFF;
}
.button-a:focus {
	color: #FFF;
	background-color:#495057 !important;
	text-decoration:none;	
}

.button-b {
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    text-align: center;
    line-height: 0.1;
    padding: 0rem 1rem;
    height: calc(2.25rem + 2px);
    background-color: #88C559;
	opacity:1;
    display: inline-block;
    border: none;
    border-radius: 32px;
	box-shadow:none !important;
	outline:none !important;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}
.button-b:hover {
	background-color:#495057 !important;
	text-decoration:none;
	color: #FFF;
}
.button-b:active {
	background-color:#495057 !important;
	transform: scale(0.925);
	opacity:0.75;
	color: #FFF;
}
.button-b:visited, .button-b:active, .button-b:focus {
	color: #FFF;
	text-decoration:none;	
}

.button-c {
    color: #4e4e4e;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    line-height: 0.1;
    padding: 0rem 1rem;
    height: calc(2.25rem + 2px);
    background-color: #dddddd;
	opacity:1;
    display: inline-block;
    border: none;
    border-radius: 0;
	box-shadow:none !important;
	outline:none !important;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}
.button-c:hover {
	background-color:#495057 !important;
	text-decoration:none;
	color: #FFF;
}
.button-c:active {
	background-color:#495057 !important;
	transform: scale(0.925);
	opacity:0.75;
	color: #FFF;
}
.button-c:visited, .button-c:active, .button-c:focus {
	color: #FFF;
	text-decoration:none;	
}

.btn-full-width {
	width:100%
}

button.close {
	font-size: 2.5rem;
}

/* File Input Button*/
.div-fileinput {
	position: relative;
	white-space: nowrap;
    overflow: hidden;
}

.button-b-fileinput {
    height: 100% !important;
    font-size: 0.9rem !important;
    padding: 0 0.5rem !important;
	position: absolute !important;
    top: 0 !important;
    right: 0 !important;
}


/* Form text boxes */

.form-control {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-align: left;
    color: #404040;
    box-shadow: inset 0px 2px 2px #acacac !important;
    outline: 2px solid;
    outline-offset: 0px;
    outline-color: transparent;
    border: none !important;
    border-radius: 0 !important;
    background-color: #fff;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

.form-control:disabled {
    background-color: #e9ecef !important;
    opacity: 0.5 !important;
	outline: 0 !important;
}

.form-control[readonly] {
	background-color: white !important;
}

.form-control:focus, .form-control:active, .form-control:hover {
	outline-color: #88C559 !important;
    outline-offset: 0px;
    outline: 2px solid;
}

textarea.form-control {
	resize: vertical;
	height: 120px;
}

.form-group {
	margin-bottom:1.75rem !important;
	clear:both;
}

.form-group-btn {
	height: calc(2.25rem + 2px);
}

.form-control-results-length {
	display: inline-block;
    width: auto;
}

.form-control-results-filter {
	display: inline-block;
    width: auto;
}



/* Form labels. Use the bottom one for permanent above-line texts. */
.form-group label:not(.checkbox-container) {
	margin-bottom: 0;
    font-size: 0.75rem;
    /*float: left; Old setting; new is below*/
	text-align: left;
    width: 100%;
}

label .alt {
    display: block;
    text-align: left;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #b9b9b9;
}
	
.help-block {
	font-size: 0.8rem;
    text-align: right;
    float: right;
	color: #ff939e;
}

.added-text {
	clear:both;
	margin:0 auto !important;
	/*padding-top:1em;*/
	text-align:center;
}

/* When using a glyph button next to a text field */
.appended-btn, .appended-btn:hover, .appended-btn:active, .appended-btn:visited, .appended-btn:focus {
	padding: 0.4rem 0.4rem !important;
	color: #fff !important;
}
.appended-btn i {
	font-size: 1.5rem;
}



/*select {
	-webkit-appearance: none;
	-o-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: url(../img/arrow-down.png) no-repeat right;
    overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	padding-right: 32px !important;
}

select.empty {
	color: grey;
}

select::-ms-expand {
    display: none;
}*/

/*
.option-placeholder {color:#b8b8b8 !important;}

select option {
	color: #404040;
    line-height: 0.1;
    padding: 0rem 2rem;
    height: calc(2.25rem + 2px) !important;
    background-color: #fff;
    opacity: 1;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}
option:hover {
	background-color:#88C559 !important;
	text-decoration:none;
	color: #FFF;
}
option:active {
	background-color:#fff !important;
    padding: 0.9rem;
	opacity:0.75;
	color: #404040;
}
option:visited, option:active, option:focus {
	color: #404040;
	text-decoration:none;	
}
*/

.submitaction {
    color: #FFF;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
	font-weight:700;
    margin: 0 auto;
    display: none;
    margin-bottom: 25px;
}
.loader-img {
    margin-right: 8px;
    margin-top: -2px;
}

/*Customizing the time picker*/
.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover, .bootstrap-datetimepicker-widget table td span.active {
    background-color: #88C559;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border-radius: 0;
}

.bootstrap-datetimepicker-widget table td.today.active:before {
	border-bottom-color: #fff !important;
}
.bootstrap-datetimepicker-widget table td.today:before {
	border-bottom-color: #88C559 !important;
}

.bootstrap-datetimepicker-widget table td.day.new, .bootstrap-datetimepicker-widget table td.day.old {
	opacity: 0.75;
} 

a[data-action^="increment"]:hover, a[data-action^="decrement"]:hover, a[data-action^="toggle"]:hover {
	color: #495057 !important;
}

.btn-primary[data-action^="togglePeriod"] {
    color: #fff;
    background-color: #88C559 !important;
    border: 0 !important;
}
.btn-primary[data-action^="togglePeriod"]:hover {
    background-color: #495057 !important;
    border: 0 !important;
}

.icn.glyph_calendar:after {
    content: "Calendar";
    padding-left: 0.5em;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
}

.icn.glyph_time:after {
    content: "Time";
    padding-left: 0.5em;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
}


/*
//
//
STATUS POPUP
//
//
*/


#status-popup {
position: absolute;
    width: 100%;
    text-align: center;
    padding: 8px;
    z-index: 1;
    font-weight: bold;
    box-shadow: 0px 2px 6px #00000040;
    display: none;
}

.popup-success {
	color: white;
	background-color: #88C559;
}

.popup-failure {
	color: white;
	background-color: #ff939e;
}


/*
//
//
LOADING ANIMATION
//
//
*/


#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/bg-tile.jpg) center repeat;
}
#loader-wrapper img {
    position: absolute;
    height: 96px;
    width: 96px;
    top: 50%;
    left: 50%;
    margin: -26px 0 0 -26px;
    opacity: 0;
    -webkit-animation: ball-scale-multiple 1s 0s linear infinite;
       -moz-animation: ball-scale-multiple 1s 0s linear infinite;
         -o-animation: ball-scale-multiple 1s 0s linear infinite;
            animation: ball-scale-multiple 1s 0s linear infinite;
}
.lds-ripple {
    display: block;
    position: absolute;
    width: 96px;
    height: 96px;
    margin: -48px;
    top: 50%;
    left: 50%;
}
.lds-ripple div {
    position: absolute;
    height: 48px;
    width: 48px;
    top: 24px;
    left: 24px;
    border: 4px solid #88C559;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 96px;
    height: 96px;
    opacity: 0;
  }
}

.loader,
.loader:before,
.loader:after {
  background: #252525;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader {
  color: #252525;
  text-indent: -9999em;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

/*
//
//
PDF PROGRESS
//
//
*/



#pdf-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #252525;
}
#pdf-progress img {
    position: absolute;
    height: 52px;
    width: 52px;
    top: 50%;
    left: 50%;
    margin: -26px 0 0 -26px;
}
#progress {
    width: 0%;
    height: 32px;
    background-color: #88C559;
    margin-top: 8px;
    position: absolute;
}
#progress-txt {
	position: absolute;
    display: block;
    height: 32px;
    margin-top: 8px;
    line-height: 32px;
    color: white;
    width: 100%;
}
#progress-bg {
	width: 100%;
    height: 32px;
    position: absolute;
    margin-top: 8px;
    background-color: #313131;
}
#progress-wrapper {
	position: absolute;
    width: 256px;
    top: 50%;
    left: 50%;
    margin: 54px 0 0 -128px;
    text-align: center;
    color: #c3c3c3;
}
#progress-cancel {
	display: block;
    height: 32px;
    width: 72px;
    line-height: 32px;
    color: #88C559;
    margin: 48px auto;
	opacity: 1;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}
#progress-cancel:hover {
	text-decoration: underline;
	opacity: 0.75;
}
/*
//
//
TABLE SETUP
//
//
*/


/* Horizontal table Scrolling */

@media (max-width:720px) {
	.table-wrap {
		overflow-x: scroll;
	}
}


.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: #333 !important;
    border: 1px solid transparent;
    border-radius: 0 !important;
    font-weight: 700;
	transform: scale(1);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #333 !important;
    border: none !important;
    background: white !important;
    cursor: default;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid #88C559;
    background: #88C559;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    outline: none;
    background: #88C559 !important;
    box-shadow: none !important;
	transform: scale(0.95);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: #66666659 !important;
    background: transparent !important;
	transform: scale(1) !important;
}

table.dataTable thead th, table.dataTable thead td, table.dataTable tbody td{
    padding: 8px 10px;
    border-bottom: 1px solid #efefef !important;
}

table.dataTable td:focus {
    outline:none;
}

table.dataTable thead {
    background-color: #f7f7f7;
}

table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc {
	background-color: #d9f1fb !important;
}

table.dataTable tbody tr {
    background-color: #ffffff;
	color: #404040;
	cursor: pointer;
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

table.dataTable tbody tr:active, table.dataTable tbody>tr.selected, table.dataTable tbody>tr>.selected {
	background-color: #88C559 !important;
    color: #fff;
}

table.dataTable.hover tbody>tr.selected:hover, table.dataTable.hover tbody>tr>.selected:hover, table.dataTable.display tbody>tr.selected:hover, table.dataTable.display tbody>tr>.selected:hover {
	background-color: #88C559;
    color: #fff;
}

table.dataTable thead .sorting_asc {
    background-image: url(../img/sort_asc.png);
}


table.dataTable thead .sorting_desc {
    background-image: url(../img/sort_desc.png);
}

table.dataTable thead .sorting {
    background-image: url(../img/sort_both.png);
}

table.dataTable thead .sorting_asc:hover, table.dataTable thead .sorting_desc:hover, table.dataTable thead .sorting:hover {
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    color: white !important;
    background-color: #88C559 !important;
}

#results_length, #results_filter, #results_info {
	border: none;
	display: inline-block;
}

table.dataTable.no-footer {
	border: none;	
}

table.dataTable tbody tr td:nth-of-type(1) {
	white-space: nowrap;
    overflow: hidden;
}

/* bottom bar */

.bottom-bar, .control-bar {
	background-color: #f6f6f6;
    padding: 0.5rem 0;
	width: 100%;
    margin: 0;
}

.bottom-bar-fixed {
    position: fixed;
    bottom: 24px;
    margin-right: 32px;
    width: auto !important;
}
	
.control-bar .form-group {
	margin: 0.25rem 0 !important;
}

.control-bar #submit-element {
	min-height:62px
}


.dataTables_wrapper .dataTables_filter input {
    margin-left: 0em;
}

@media screen and (max-width: 640px) {
	.dataTables_wrapper .dataTables_filter {
		margin-top: 0em;
	}
}


#results_info {
	padding: 0.5rem 0.25rem 0 0;
}

.dataTables_length > label, .dataTables_filter > label {
	margin-bottom: 0rem !important;
}

.dataTables_wrapper .dataTables_paginate {
    float: none !important;
    text-align: center !important;
    padding-top: 0em !important;
	margin-top: 0em;
}

@media (max-width:768px) {
	.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter {
		float: none !important
	}
	.bottom-bar > div {
		text-align: center;
		margin: 0.5em auto 0.5em auto;
	}
}

.dataTables_empty {
	padding: 48px 0 !important;
    font-weight: bold;
	background-color: white !important;
	color:#404040 !important;
	border: 0;
	cursor: default;
}

/* ./bottom bar */

.img-round-mini {
	height: 36px;
    width: 36px;
    border-radius: 50%;
    margin-right: 12px;
}

.row-content {
	text-overflow: ellipsis;
}
.row-actions {
    text-align: right;
    float: right;
	display: none;
}

.row-btn {
	color: #404040 !important;
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
}

.row-btn:hover, .row-btn:active {
	color: #88C559 !important;
    transform: scale(1.2);
    opacity: 0.75;
}


/*
//
//
MEDIA QUERIES
//
//
*/


/* Activate side menu */
@media (max-width: 1024px) {
	#app-sidebar {
		position: fixed !important;
		left: -100%;
	}
	
	#app-sidebar-button {
		display: inline-block !important;
	}
	
	#app-sidebar-close {
		display: block !important;
	}
}

/* Deactivate side menu */
@media (min-width: 1025px) {
	/*
	#app-sidebar {
		position: relative !important;
		left: 0 !important;
	}*/
	#app-sidebar {
		position: fixed !important;
		left: 0 !important;
	}
	
	#app-sidebar-button {
		display: none !important;
	}
	
	#app-sidebar-close {
		display: none !important;
	}
	/*
	#app-main {
		opacity: 1 !important;
	}*/	
	#app-main {
		opacity: 1 !important;
		margin-left: 224px;
	}
}


@media (max-width: 360px) {
	#image-new {
		width: 256px !important;
		height: 256px !important;
	}  
}



/*
//
//
REPORTS SETUP
//
//
*/

.data-area {
	margin-bottom: 64px;
}

.data-area:last-child {
	margin-bottom: 0 !important;
}

.title-area {
    padding: 1.5rem 0;
    text-align: center;
    font-weight: 700;
    background-color: rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,0.1);
    border-left: none;
    border-right: none;
    font-size: 1.1em;
	margin-bottom:32px;
}

.report-loader {
	background-color: #000;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;	
}

.title-area span {
	font-size: 1rem;
    font-weight: 400;
}

.error-area {
    padding: 3rem 0;
    text-align: center;
    font-weight: 700;
}

.calendar-area .row {
	max-width: 1152px;
    margin: 0 auto;
}

.table-area {
	overflow-x:auto;
	/* was scroll */
}
.report-table {
	width:100%;
}

.report-table thead {
	background-color: #f7f7f7;
}

.report-table td, .report-table th {
    padding: .75rem;
    border-top: 1px solid #dee2e6;
}
	
.report-th {
    background-image: url(../img/sort_both.png);
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center right;	
	border: 0;
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
	user-select: none;
}

.report-th:hover {
	color: white !important;
    background-color: #88C559 !important;
	text-decoration: none
}

.report-th-asc {
	background-image: url(../img/sort_asc.png) !important;
	background-color: #d9f1fb !important;
}

.report-th-desc {
	background-image: url(../img/sort_desc.png) !important;
	background-color: #d9f1fb !important;
}


/*
PRIZES
*/

.inline-btn {
	background-color: #88C559 !important;
    color: #fff;
	border: none;
	opacity: 1;
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
	background-color: transparent;
	padding:8px;
}
.inline-btn:hover {
	opacity: 0.5;
}

.inline-btn:active {
	opacity: 0.25;
}


#candidate-table {
	width:100%
}
.candidate-row {
	border-bottom: 1px solid #e0e0e0;
    height: 48px;
	cursor: pointer;
	transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
	background-color: transparent;

}

.candidate-row:hover {
	background-color: #f6f6f6;
}

.candidate-row:active {
	background-color: #88C559 !important;
    color: #fff;
}

.candidate-row td {
	padding:8px;	
}

/*
Chart-related stuff
*/
.main-container {
	width: 80%;
	max-width:1024px;
	margin: 64px auto !important;
	padding-top: 64px;
}
@media(max-width:768px) {	
	.main-container {
		width: 95%;
	}
}
.deco-icon {
    position: absolute;
    bottom: -12px;
    right: -12px;
    transform: rotateZ(340deg);
    opacity: 0.25;
}
	
.chart-container {
	position: relative;
	max-height: 600px;
	max-width: 800px;
	margin: 2rem 1rem;
}
hr.dashed {
	border: 1px dashed #B7B7B7;
	margin:32px 0;
}	

/* Outcomes table*/
#outcomes-table {
	width: 100%;
}

.header th {
	padding:8px;
	background-color:#dfdfdf
}

#outcomes-table td {
	padding:8px;
}

#outcomes-table tr {
	border-bottom: 1px solid #dfdfdf;
}

.king-table {
    width: auto !important;
    overflow-x: unset;
    max-width: unset;
}

.king-table-view {
    display: flex;
    justify-content: center;
}

.king-table tr th {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1rem !important;
    padding: 8px;
    background-color: #dfdfdf;
}

.kt-sort-glyph {
    margin-left: 0.1rem;
    margin-right: 0.2rem;
}

.king-table-region .pagination-bar {
    text-align: center !important;
    margin-bottom: 0.3rem !important;
}

.king-table-region .pagination-bar .separator {
    display: none !important;
}

.king-table-region .tools-region {
    display: none !important;
}

.king-table-region .pagination-bar-refresh {
    display: none !important;
}

.king-table .results-info {
    margin: 0 0.3rem !important;
}

.king-table .anchor-timestamp-info {
    display: none !important;
}

/*
Header-related stuff
*/
.site-header {
    background: url(../img/bg-green-light.jpg) center top no-repeat;
    background-size: cover;
	color: white !important;
	padding:16px;
	min-height: 64px;
	position: fixed;
	top: 0;
	z-index:10000;
	width: 100%;
	box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.05);
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
@media(max-width:768px) {
	.site-header {
		flex-direction: column;
	}
	.link-block {
		margin-top: 16px;
	}
}


.site-header .title-block {
	font-weight: 700;
	line-height: 1.8em;
    font-size: 1.1em;
}
.title-block .logo {
	min-height:32px;
	margin-right:8px;
}
.btn-header {
	color: #fff;
    border-color: #ffffff;
    padding: 4px 16px;
    background: none;
    font-weight: 700;
	transition: all 0.3s ease-in-out;
}
.btn-header:hover {
	opacity: 0.5 !important;
	background: none !important;
}
.btn-left {
	border-radius: 32px 0 0 32px;
}
.btn-right {
	border-radius: 0 32px 32px 0;
	border-left: none
}
/*
//
//
FONT ICON SETUP
//
//
*/


/* Icons for dialog headers */
h3 i {
	font-size: 0.8em;
    color: #88C559;
}