/* Import Font GothamPro */
@import url('../fonts/GothamPro/stylesheet.css');
/* Import Font SanFranciscoPro */
@import url('../fonts/SanFranciscoPro/stylesheet.css');
/* Impport Range slider styles */
@import url('./range-slider.css');

body {
    background: linear-gradient(90deg, #F0E9F3 0.45%, #FFF 99.81%);
}

h2 {
	color: rgba(0, 0, 0, 0.85);
	font-family: "Gotham Pro";
	font-size: 2rem;
	font-style: normal;
	font-weight: 700;
	line-height: 2.875rem;
	text-transform: uppercase;
	margin-bottom: 2.63rem;
	letter-spacing: 0;
}

a {
	color: #006999;
}

header {
  display: flex;
  align-items: center;
  font-family: 'Gotham Pro';
  width: 100%;
  height: 3.75rem;
  background: linear-gradient(90deg, rgba(255, 120, 116, 0.88) 0%, rgba(108, 92, 209, 0.88) 19.48%, rgba(0, 0, 0, 0.88) 86.45%);
}

.alert.alert-danger {
	font-weight: normal;
}

.amount {
	color: #006999;
	font-weight: 600;
	font-size: 16px;
}

.btn {
	border: none;
	font-size: 16px;
  	min-height: 40px;
  	padding: 0 14px;
	position: relative;
  	display: inline-flex;
	gap: 2px;
 	align-items: center;
  	justify-content: center;
  	border-radius: 8px;
  	line-height: 1;
  	font-weight: 500;
  	transition: background-color .15s ease-in-out;
}

.btn > .btn-holder {
	display: flex;
  	align-items: center;
  	-moz-column-gap: 8px;
  	column-gap: 8px;
  	position: relative;
}

.btn-link {
	font-weight: 400;
	color: #007bff;
	text-decoration: none;
}

.btn.btn-primary {
	background-color: #7B68EE;
}

.btn.btn-primary:hover {
	background-color: #722ED1;
}

.btn.btn-secondary {
	background-color: #FFC53D;
	color: #000000;
}

.btn.btn-secondary:hover {
	background-color: #FAAD14;
}

.card-body.login, 
.card-body.register {
    padding: 2.5rem;
}

/* Admin */
.manager-panel {
	border-radius: 8px;
  	background-color: #ffffff80;
  	box-shadow: 0 2px 8px #00466626;
	display: flex;
  	align-items: center;
  	justify-content: space-between;
  	-moz-column-gap: 12px;
  	column-gap: 12px;
  	min-height: 80px;
  	padding: 0 16px;
}

.manager-panel.bidder {
	justify-content: flex-end;
}

.list-items { 	
}

.list-items.manager > table {
	width: 100%;
	box-sizing: border-box;
	border-radius: 8px;
  	background-color: #ffffff80;
  	box-shadow: 0 2px 8px #00466626;
}

.list-items.manager > table > thead {
	color: #006999;
  	min-height: 40px;
  	background: transparent;
	display: inline-flex;
	width: 100%;
}

.list-items.manager > table > thead > tr,
.list-items.manager > table > tbody > tr {
	padding: 8px 16px;
	display: flex;
	align-items: center;
	column-gap: 10px;
	width: inherit;
}

.list-items.manager > table > thead > tr > th,
.list-items.manager > table > tbody > tr > td  {
	flex: 0 0 auto;
    flex-basis: auto;
	font-weight: normal;
	font-size: 17px;
	background-color: transparent;
  	border: none;
}

/* Table Tariffs */
table.list-tariffs > thead > tr > th:nth-child(1),
table.list-tariffs > tbody > tr > td:nth-child(1) {
	flex-basis: 35px;
}

table.list-tariffs > thead > tr > th:nth-child(2),
table.list-tariffs > tbody > tr > td:nth-child(2) {
	flex-basis: 50px;
}

table.list-tariffs > thead > tr > th:nth-child(3), 
table.list-tariffs > tbody > tr > td:nth-child(3) {
	flex: 0 1 100%;
}

table.list-tariffs > thead > tr > th:nth-child(4),
table.list-tariffs > tbody > tr > td:nth-child(4) {
	flex-basis: 135px;
	text-align: center;
}

/* Table Users */
table.list-users > thead > tr > th:nth-child(1),
table.list-users > tbody > tr > td:nth-child(1) {
	flex-basis: 5%;
}

table.list-users > thead > tr > th:nth-child(2),
table.list-users > tbody > tr > td:nth-child(2) {
	flex-basis: 5%;
}

table.list-users > thead > tr > th:nth-child(3), 
table.list-users > tbody > tr > td:nth-child(3) {
	flex: 0 1 30%;
}

table.list-users > thead > tr > th:nth-child(4),
table.list-users > tbody > tr > td:nth-child(4) {
	flex-basis: 30%;
	text-align: center;
}

table.list-users > thead > tr > th:nth-child(5),
table.list-users > tbody > tr > td:nth-child(5) {
	flex-basis: 10%;
	text-align: center;
}

table.list-users > thead > tr > th:nth-child(6),
table.list-users > tbody > tr > td:nth-child(6) {
	flex-basis: 20%;
	text-align: center;
}

/* Table adverts */
table.list-adverts > thead > tr > th:nth-child(1),
table.list-adverts > tbody > tr > td:nth-child(1) {
	flex-basis: 15%;
}

table.list-adverts > thead > tr > th:nth-child(2),
table.list-adverts > tbody > tr > td:nth-child(2) {
	flex-basis: 30%;
}

table.list-adverts > thead > tr > th:nth-child(3),
table.list-adverts > tbody > tr > td:nth-child(3) {
	flex: 0 1 10%;
}

table.list-adverts.auctions > thead > tr > th:nth-child(3),
table.list-adverts.auctions > tbody > tr > td:nth-child(3) {
	flex: 0 1 20%;
}

table.list-adverts > thead > tr > th:nth-child(4),
table.list-adverts > tbody > tr > td:nth-child(4) {
	flex-basis: 20%;
  	text-align: center;
}

table.list-adverts > thead > tr > th:nth-child(5),
table.list-adverts > tbody > tr > td:nth-child(5) {
	flex-basis: 7%;
  	text-align: center;
}

table.list-adverts > thead > tr > th:nth-child(6),
table.list-adverts > tbody > tr > td:nth-child(6) {
	flex-basis: 7%;
  	text-align: center;
}

/* Table logs */
table.list-logs > thead > tr > th:nth-child(1),
table.list-logs > tbody > tr > td:nth-child(1) {
	flex-basis: 60%;
}

table.list-logs > thead > tr > th:nth-child(2),
table.list-logs > tbody > tr > td:nth-child(2) {
	flex-basis: 10%;
}

table.list-logs > thead > tr > th:nth-child(3),
table.list-logs > tbody > tr > td:nth-child(3) {
	flex: 0 1 10%;
}

table.list-logs > thead > tr > th:nth-child(4),
table.list-logs > tbody > tr > td:nth-child(4) {
	flex-basis: 20%;
}

table.list-logs p {
	margin-bottom: 0;
}

table.list-logs > tbody > tr {
	border-bottom: 1px solid #ccc;
}

/* Table subscription */
table.list-subscriptions > thead > tr > th:nth-child(1),
table.list-subscriptions > tbody > tr > td:nth-child(1) {
	flex-basis: 20%;
}

table.list-subscriptions > thead > tr > th:nth-child(2),
table.list-subscriptions > tbody > tr > td:nth-child(2) {
	flex-basis: 10%;
}

table.list-subscriptions > thead > tr > th:nth-child(3), 
table.list-subscriptions > tbody > tr > td:nth-child(3) {
	flex: 0 1 20%;
}

table.list-subscriptions > thead > tr > th:nth-child(4),
table.list-subscriptions > tbody > tr > td:nth-child(4) {
	flex-basis: 10%;
	text-align: center;
}

table.list-subscriptions > thead > tr > th:nth-child(5),
table.list-subscriptions > tbody > tr > td:nth-child(5) {
	flex-basis: 20%;
	text-align: center;
}

table.list-subscriptions > thead > tr > th:nth-child(6),
table.list-subscriptions > tbody > tr > td:nth-child(6) {
	flex-basis: 20%;
	text-align: center;
}

/* List manager */
.list-items.manager .action-btns {
	width: 100%;
	display: flex;
  	align-items: center;
  	-moz-column-gap: 15px;
  	column-gap: 15px;
	justify-content: space-around;
}

.list-items.manager .action-btns > .btn {
	display: block;
  	line-height: 0;
  	min-width: 35px;
  	min-height: 35px;
  	background-color: transparent;
  	border-radius: 50%;
	padding: 0;
}

.list-items.manager .action-btns > .btn.update > svg:hover 
{
	fill: #722ED1;
}

.btn.btn-edit-post::after,
.btn.btn-delete-post::after {
	content: "";
	width: 1rem;
	height: 1rem;
	display: flex;
	flex-shrink: 0;
}

.btn.btn-edit-post::after {
	background: url("../images/icons/btn-edit-post.svg") 0 0 no-repeat;
}

.btn.btn-delete-post::after {
	background: url("../images/icons/btn-delete-post.svg") 0 0 no-repeat;
}

/* Search Form */
.search-form {
	display: flex;
	margin-bottom: 2.81rem;
	background-color: #FFF1F0;
	padding: 2rem;
	gap: 2rem;
	align-items: center;
	flex-direction: row;
}

.search-form .form-control, 
.search-form .form-select {
	height: 3rem;
	padding: .75rem 1rem;
	border-radius: 0.125rem;
	border: none;
	box-shadow: none !important;
	color: #000;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5rem;
}

.search-form {
	display: flex;
	align-items: center;
	align-self: stretch;
	margin-bottom: 1rem;
	font-family: "Gotham Pro";
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.375rem;
	text-transform: uppercase;
	letter-spacing: 0;
}

.search-form .btn {
	height: 3rem; 
	margin-top: 2rem;
}

/* Bidder panel */
.list-items.bidder {}

.list-elements.bidder .group-index {
	padding: 16px;
	/*background-color: #ffffff80;*/
	background: linear-gradient(90deg, #F0E9F3 0.45%, #FFF 99.81%);
  	box-shadow: 0 2px 8px #00466626;
	border-radius: 8px;
}

.list-elements.bidder .group-index .group-main-info {
	display: flex;
  	align-items: center;
  	gap: 16px;
	min-height: 48px;
}

.list-elements.bidder .group-enable {
	display: flex;
  	align-items: center;
	flex: 0 0 fit-content;
}

.list-elements.bidder .group-name {
	display: flex;
  	align-items: center;
  	-moz-column-gap: 8px;
  	column-gap: 8px;
  	flex: 0 1 240px;
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
	color: #006999;
}

.list-elements.bidder .group-info {
	flex: 1 1 auto;
}

.list-elements.bidder .group-info .group-count-view,
.list-elements.bidder .group-info .rate-price,
.list-elements.bidder .group-info .general-amount {
	font-weight: 600;
	font-size: 16px;
	color: #006999;
}

.list-elements.bidder .group-actions {
	display: flex;
  	-moz-column-gap: 8px;
  	column-gap: 8px;
  	align-items: center;
  	justify-content: flex-end;
  	flex: 0 0 fit-content;
	gap: 1.5rem;
}

.list-elements.bidder .group-actions > button.btn {
	padding: 0;
	box-shadow: none;
}

.list-elements.bidder .group-actions > button.btn.btn-primary,
.list-elements.bidder .group-actions > button.btn.btn.btn-secondary {
	padding: .5rem;
}

.list-elements.bidder .group-actions .btn.adverts-group,
.advert-index .btn.advert-stat {
	color: #64748b;
  	transform: rotate(0);
  	transition: transform .2s ease 0s;
	box-shadow: none;
}

.list-elements.bidder .group-actions .btn.adverts-group.open,
.advert-index .btn.advert-stat.open {
	transform: rotate(-180deg);
}

/* List group adverts */
.group-adverts {
	display: none;
}

.group-adverts.show {
	display: block;
}

.group-adverts .advert-index {
	background-color: #fff;
	border-radius: 8px;
	padding: 1rem 0 0;
	box-shadow: 3px 0 7px #00466626;
}

.group-adverts .advert-main-info, 
.group-adverts .advert-promotion-info {
	display: flex;
	flex-direction: row;
}

.group-adverts .advert-promotion-info {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #ccc;
}

.group-adverts .advert-main-info > div {
	padding: 0 1rem;
	width: 30%;
}

.group-adverts .advert-main-info > div:last-child {
	width: 10%;
	display: inline-flex;
	flex-direction: row;
}

.group-adverts .advert-main-info > div > div:last-child {
	display: flex;
	flex-direction: column;
}

.group-adverts .advert-promotion-info > div {
	padding: 0 1rem;
}

.group-adverts .advert-promotion-info > div > div:last-child {
	display: inline-flex;
	flex-direction: column;
	gap: .5rem;
}

.group-adverts .advert-promotion-info > div.advert-thumb {
	width: 15%;
}

.group-adverts .advert-promotion-info > div.advert-promo-counts {
	width: 25%;
}

.group-adverts .advert-promotion-info > div.advert-position-range {
	width: 40%;
}

.group-adverts .advert-promotion-info > div.advert-rate {
	width: 20%;
}

.group-adverts .advert-promotion-info > div.advert-position-range .posRange {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 1rem;
}

.group-adverts .advert-main-info div.adv-name {
	display: inline-flex;
	overflow: hidden;
}

.group-adverts .advert-main-info div.adv-name .advert-enable {
	padding-top: 1rem;
}

.group-adverts .advert-statistics {
	display: none;
}

.group-adverts .advert-statistics.show {
	display: block;
}

.advert-statistics .datepicker {
	width: 20%;
	padding: 1.5rem 1rem;
}

.advert-statistics .chart-notify {
	font-weight: bold;
	padding: 0 1.3rem;
}

/* Form */
.modal-body .modal-form-block {
	font-size: 14px;
	font-weight: 500;
}

/* Notify */
.notify-message
{
	position: fixed;
	left: 30px;
	bottom: 50px;
	min-width: 200px;
	max-width: 300px;
	padding: 1rem 2rem 1rem 1rem;
	font-size: 16px;
	background-color: #ffffff80;
  	box-shadow: 0 2px 8px #00466626;
  	display: flex;
	color: #000;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.2s linear, opacity 0.2s linear;
	border-top: 3px solid lightblue;
	z-index: 110;
}

.notify-message.show {
	visibility:visible;
    opacity:1;
}

.notify-message .close-icon {
	position: absolute;
	right: 5px;
	top: 10px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	display: inline-flex;
	z-index: 200;
}

/* Modals */
.custom-modal {
	position: fixed;
	overflow-y: auto;
	left: 0;
    top: 0;
	width: 100%;
    height: 100%;
    background-color: #00000080;
    transition: all .2s ease-in-out;
	z-index: 1000;
    display: inline-grid;
    align-items: center;
    justify-content: center;
	padding: 5rem 0;
}

.custom-modal .custom-modal-body {
	display: inline-flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 8px;
	transition: all .2s ease-in-out;
	transition-property: transform, width;
	height: auto;
	min-width: 400px;
    box-shadow: 0 2px 8px #00466626;
    padding: 1rem 1rem 1rem 1rem;
	transform: scale(1);
	width: 550px;
}

.custom-modal .custom-modal-content {
    width: 100%;
}

.custom-modal .alert.alert-danger {
	padding: .3rem;
}

.custom-modal .custom-modal-body h5,
.custom-modal .custom-modal-body h4 {
	font-weight: 600;
	font-size: 18px;
	color: #006999;
}

.custom-modal .custom-modal-body h4 {
	font-size: 17px;
}

.custom-modal .close-modal {
	position: absolute;
	right: 1rem;
	top: .5rem;
	display: flex;
	justify-content: flex-end;
	width: auto;
	flex-direction: column;
	cursor: pointer;
	opacity: .75;
}

.custom-modal .title-modal {
	position: relative;
  	font-weight: 600;
  	font-size: 18px;
  	color: #006999;
	margin-bottom: 2rem;
}

.custom-modal label,
.custom-modal span.lab {
	color: #006999;
	font-size: 15px;
}

.custom-modal span.lab {
	display: block;
}

.custom-modal .bl-adverts-count {
    width: 60%;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.custom-modal .bl-adverts-count .btn.minus {
    border-right: 1px solid #ccc;
}

.custom-modal .bl-adverts-count .btn.plus {
    border-left: 1px solid #ccc;
}

.custom-modal .bl-adverts-count input[type="text"] {
    border: none;
    box-shadow: none;
	overflow: hidden;
}

.custom-modal .sum-info {
	display: flex;
  	justify-content: space-between;
  	align-items: center;
}

.custom-modal .hours {
	display: flex;
    justify-content: center;
	flex-direction: column;
  	align-items: center;
}

.custom-modal .hours .hours-range {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .5rem;
	white-space: nowrap;
}

.custom-modal .hours .hours-range input[type="number"],
.custom-modal .hours .hours-range input[type="txt"] {
	width: 100px;
}

.custom-modal .btn-add-hours {
	display: flex;
	justify-content: center;
}

.custom-modal .btn-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	-moz-column-gap: 16px;
	column-gap: 16px;
	padding-top: 20px;
	border-top: 1px solid #cbd5e1;
}

.custom-modal .days {
	display: flex;
	align-items: center;
	justify-content: center;
	-moz-column-gap: 23px;
	column-gap: 23px;
}

.custom-modal .days .form-check {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
}

.custom-modal .days .form-check > input[type="checkbox"] {
	margin: 0;
	cursor: pointer;
}

.custom-modal input[type="checkbox"] {
	cursor: pointer;
}

.custom-modal .days .form-check > label {
  	font-size: 16px;
	font-weight: 600;
  	text-transform: uppercase;
}

.custom-modal .posRange {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.custom-modal .posRange > div {
	width: 50%;
	padding: 0 .5rem;
}

.custom-modal .range-budget {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.custom-modal .range-budget.first {
	border-top: 1px solid #ccc;
	padding-top: 20px;
}

.custom-modal .range-budget.last {
	border-bottom: 1px solid #ccc;
	padding-bottom: 20px;
}

.custom-modal .range-budget > div {
	display: flex;
	gap: 5px;
	align-items: center;
	width: 30%;
}

.custom-modal .search-advert{	
}

.custom-modal .search-advert > div {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: center;
}

.custom-modal  .searching-list-adverts {
	border-bottom: 1px solid #ccc;
	padding-bottom: .7rem;
}

.custom-modal .searching-list-adverts > ul {
	overflow: hidden;
	overflow-y: scroll;
	max-height: 150px;
	padding: .5rem .3rem;
	margin: 1.5rem 0;
}

.custom-modal .searching-list-adverts > ul > li {
	display: inline-flex;
	justify-content: flex-start;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	margin-bottom: .7rem;
}

.custom-modal .searching-list-adverts > ul > li > .advert-name {
	white-space: nowrap;
}

.custom-modal .searching-list-adverts .adverts-info {
	display: flex;
	justify-content: space-between;
}