/*!
 *   Custom CSS
 *   Author: Synchrotheme
 *	 Website: Synchrotheme <https://synchrotheme.com>
 */
/*
 * Core: General Layout Style
 * -------------------------
 */

.btn-custom-invoice {
	font-size: 14px;
	margin-top: 45px;
}
.btn-info,
.btn-primary {
	background-color: var(--main-color);
	border: 1px solid var(--main-color);
}
.btn-primary:hover,
.btn-info:hover {
	background-color: #000;
}
.select-invoice select {
	width: 155px;
	height: 26px;
}
.select-invoice textarea {
	width: 155px;
}
.invoice-col h6 {
	font-size: 18px;
	font-weight: 600;
}

.invoice-col p {
	font-size: 16px;
	margin-bottom: 5px !important;
}
.invoice-info h4 {
	font-size: 25px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #3276b1;
}
.table-invoice th {
	font-weight: 700;
	font-size: 16px;
	border-color: #222;
}

.table-invoice td {
	font-size: 16px;
}
.table-invoice th,
.table-invoice td {
	border-color: #5a5a5a !important;
}
table.table.table-bordered.table-invoice.border.border-dark th {
	background: #f9f9f9;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
	border-bottom-width: 1px;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
	border: 1px solid #847e7e;
}
.table > caption + thead > tr:first-child > td,
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > td,
.table > thead:first-child > tr:first-child > th {
	border-top: 1px solid #847e7e;
}
.table-full thead {
	background: #f9f9f9;
}
.table-full {
	margin-top: 50px;
}
.select2-container .select2-selection--single {
	height: 34px !important;
	border-radius: 0px !important;
}

.datepicker {
	border-radius: 0px !important;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
	background: var(--main-color);
	border-color: var(--main-color);
}

.dt-buttons button.dt-button {
	background: var(--main-color);
	border-color: var(--main-color);
	color: #fff;
}
.dt-buttons button.dt-button:hover {
	background: var(--main-color);
	border-color: var(--main-color);
}

.bg-green {
	background: #abebc6;
	color: #fff;
}
.bg-lightgreen {
	background: #daf7a6;
	color: #fff;
}
.bg-yellow {
	background: #ffc300;
	color: #fff;
}
.bg-orange {
	background: #ff5733;
	color: #fff;
}
.bg-lightred {
	background: #cb4335;
	color: #fff;
}
.bg-mediumred {
	background: #b03a2e;
	color: #fff;
}
.bg-darkred {
	background: #943126;
	color: #fff;
}

.bg-darkgray {
	background-color: #5a5a5a;
	color: white;
}

.bg-purple {
	background-color: #7c4093;
	color: white;
}

.bg-roles {
	color: #6e7809;
	background-color: #fff430;
}

.bg-reviews {
	background-color: brown;
	color: white;
}

.bg-roles:hover {
	color: #6e7809;
}

.fn-roles {
	color: #6e7809 !important;
}

.bg-questions {
	color: #ffffff;
	background-color: #1f6024;
}

.fn-questions {
	color: #ffffff;
}

.star-gold {
	color: gold;
}

.dead-star {
	color: #d6d4d4;
}

.th-width {
	width: 200px;
}

.item-margins {
	margin: 2px;
}

#modal-reviews {
	width: 100%;
	height: 70px;
	border-radius: 5px;
	border: 1px solid rgba(220, 220, 220, 0.656);
	background-color: rgb(240, 236, 236);
	resize: none;
}

textarea {
	resize: none;
}

.upper-case {
	text-transform: uppercase;
}

.td-actions {
	display: inline-flex;
	align-items: center;
}

.margin-3 {
	margin: 3px;
}

.credits {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	background: linear-gradient(to right, white, #dd4b39, white);
	color: white;
}

@media only screen and (max-width: 600px) {
	.credits {
		background: var(--main-color);
	}
}

/* Estilos pertenecientes a Reviews y Questions */

.question-color {
	background-color: #ececec;
}

.answer-color {
	background-color: #ececec5c;
}

.answer-card,
.question-card {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 10px;
	margin: 10px;
}

.answer-card_user-info,
.question-card_user-info {
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 10px;
	overflow: hidden;
}

.answer-card_user-info-image,
.question-card_user-info-image {
	width: 75px;
	height: 75px;
	border-radius: 50px;
	background-size: cover;
}

.answer-card_content,
.question-card_content {
	padding: 10px;
	display: flex;
	flex-flow: column;
	justify-content: space-between;
}

.answer-card_content-footer,
.question-card_content-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	font-size: 12px;
}

.question-card_content-body-date,
.answer-card_content-body-date {
	display: none;
}

@media only screen and (max-width: 600px) {
	.question-card,
	.answer-card {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		margin-bottom: 30px;
	}

	.answer-card_user-info,
	.question-card_user-info {
		display: flex;
		flex-flow: row-reverse;
		justify-content: end;
		padding: 10px;
		background-color: #84acb05c;
	}

	.answer-card_user-info p,
	.question-card_user-info p {
		margin: 0;
	}

	.answer-card_user-info-image,
	.question-card_user-info-image {
		width: 30px;
		height: 30px;
		margin-left: 10px;
	}

	.question-card_content-footer {
		justify-content: end;
	}

	.question-card_content-body-date {
		display: block;
	}

	.question-card_content-footer-date {
		display: none;
	}
}

/* Information section styles */
.last_update {
	text-align: right;
	font-size: 12px;
}

.team-carrier {
	text-align: right;
	font-weight: bold;
	font-size: 16px;
}

.information {
	padding: 20px;
}

.information .container {
	padding: 30px;
	background: white;
	border-radius: 10px;
	text-align: justify;
}

.information .container p {
	line-height: 1.5;
}

.information h1 {
	font-size: 24px;
	margin-bottom: 10px;
}

.information h2 {
	font-size: 20px;
	margin-bottom: 10px;
}
