/* General
================================== */
.header-link img{
	max-width: 200px;
	width: 100%;
}

.message.hidden {
	display: none;
}

.error-message {
	padding: .75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: .25rem;

	background-color: #f2dede;
	border-color: #ebcccc;
	color: #a94442;
}

html {
	min-height: 100%;
}

body {
	min-height: 100vh;
}

#main-content {
	padding-top: 80px;
	padding-bottom: 71px;
}

@media (min-width: 992px) {
	#main-content {
		padding-top: 101px;
	}
}

/* Flex Table */

/* Tables
================================== */
.Rtable {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 3em 0;
	padding: 0;
	flex-direction: column;
}

.Rtable-row {
	display: flex;
	box-sizing: border-box;
	flex-grow: 1;
	overflow: hidden;
	flex-direction: row;
	margin-bottom: 15px;
	border: solid 3px #7a99ac;
	position: relative;
}

.Rtable-row.not-in-study {
	border-color: #4BACC6;
}

.Rtable-row.lqm {
	border-color: #C0504D;
}

.Rtable-row.tau {
	border-color: #7030A0;
}

.Rtable-cell {
	box-sizing: border-box;
	flex-grow: 1;
	width: 100%;
	padding: 0.8em 1.2em;
	overflow: hidden;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.Rtable-row > .Rtable-cell {
	border-right: 1px solid #7a99ac;
}

.absolute-block-link {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.checkbox.big.form-group {
	margin-bottom: 0px;
}

.checkbox.big .custom-control-inline {
	margin-right: 0px;
}

.checkbox.big .custom-control.custom-checkbox.custom-control-inline {
	min-height: 2.3rem;
	padding-left: 2.5rem;
}

.checkbox.big .custom-control-label::after, .checkbox.big .custom-control-label::before {
	width: 2rem;
	height: 2rem;
}

/* Table column sizing
================================== */
.Rtable--2cols > .Rtable-row > .Rtable-cell  { 
	width: 50%;
}

.Rtable--3cols > .Rtable-row > .Rtable-cell  { 
	width: 33.33%;
}

.Rtable--4cols > .Rtable-row > .Rtable-cell  { 
	width: 25%;
}

.Rtable--5cols > .Rtable-row > .Rtable-cell  { 
	width: 20%;
}

.Rtable--6cols > .Rtable-row > .Rtable-cell  {
	width: 16.6%;
}

/* Responsive
==================================== */
@media all and (max-width: 500px) {
	.Rtable--collapse, .Rtable--collapse .Rtable-row{
		display: block;	
	}

	.Rtable--collapse > .Rtable-row > .Rtable-cell { 
		width: 100% !important;
	}

	.Rtable--collapse > .Rtable-cell--foot {
		margin-bottom: 1em;
	}
}

/* Surveys
================================== */
.legend ul {
	margin: 0;
	padding: 10px 0px;
}

.legend li {
	/*display: inline-block;*/
	list-style: none;
}

.legend li::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1rem;
	height: 1rem;
}

.legend li.color-not-questioned::before {	
	background-color: #7a99ac;
}

.legend li.color-not-in-study::before {	
	background-color: #4BACC6;
}

.legend li.color-lqm::before {	
	background-color: #C0504D;
}

.legend li.color-tau::before {	
	background-color: #7030A0;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group > label {
	font-weight: bold;
}

.mixed-radio-input {
	display: none;
}

.mixed-radio-input.show {
	display: block;
}

/* List
================================== */
.custom-list-group .list-group-item {
	margin-bottom: 10px;
	border: solid 3px #7a99ac;
	text-align: center;
}

.custom-list-group .checkbox.big.form-group {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
}


/* Headlines
================================== */
h1 .not-in-study {
	color: #4BACC6;
}

h1 .lqm {
	color: #C0504D;
}

h1 .tau {
	color: #7030A0;
}

/* Phone survey
================================== */
.info-box {
	padding: 10px;
	border: 1px solid #000;
	display: flex;
	flex-direction: row;
	margin-bottom: 20px;
}

.info-box .info-row {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.info-box .info-column {
	font-size: 1.3rem;
}

.info-box .info-column .form-group {
	margin-bottom: 0;
}

.info-box .info-column-left {
	margin-right: 10px;
	font-weight: bold;
}

.phone-survey .form-group > label {
	margin-bottom: 1rem;
}

.interview-box {
	padding: 10px;
	border: 1px solid #000;
	margin-bottom: 20px;
	font-weight: bold;
}

.interview-box .text-secondary {
	font-weight: normal;
}

.bg-grey {
	background-color: #ddd;
}

/* Evaluation
================================== */

.round_number {
	border-radius:50%;
	width: 70px;
	height: 70px;
	margin:0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.round_number + h6 {
	text-align: center;
}

.round_number.low {
	background-color: green;
}

.round_number.low + h6 {
	color: green;
}

.round_number.high {
	background-color: red;
}

.round_number.high + h6 {
	color: red;
}

.round_number.middle {
	background-color: #FFD700;
}

.round_number.middle + h6 {
	color: #FFD700;
}

.round_number.unknown {
	background-color: #000;
}

.round_number h1{
	margin: 0;
	color:#FFF;
}

select[name="localization"] {
	max-width: 30%;
}

/* Custom
================================== */
.exportlist .list-group-item i {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}

.bg-header {
	background-color: #f0f0f0;	
}
.bg-header::after {
	max-width: 50%;
	width: 200px;
	height: 15px;
	background:#009dca;
}

.bg-header.navbar-dark .navbar-nav .nav-link {
	color: #009dca;	
}