/* ///////////////////////////////////////////////////////////////////////////////////OPENER BUTTON */
.carousel-cards-open-trigger {
	width: 45px;
	height: 45px;
	position: fixed;
	top: 50%;
	right: 44px;
	transform: translate(0%, -50%);
	z-index: 600;
}
/*  ----------------------------------------------------- STATES*/
.carousel-cards-open-trigger.open {
	right: 303px;
}
/*  ----------------------------------------------------- STATES*/

/* //////////////////////////////////////////////////////////////////////////////////  BUTTON MORE POSTS */
#nextPageBtn {
	width: 100%;
	height: 40px;
	margin-top: 5px;
	border-radius: 15px;
	z-index: 1;
	background: var(--theme-white);
	position: relative;
	box-shadow: var(--theme-box-shadow-mid);
	transition: all 250ms;
	overflow: hidden;
	cursor: pointer;
}

#nextPageBtn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	border-radius: 15px;
	background-color: var(--theme-black);
	z-index: -1;
	box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
	transition: all 250ms;
}

#nextPageBtn:hover {
	color: var(--theme-white);
}

#nextPageBtn:hover::before {
	width: 100%;
}

/* /////////////////////////////////////////////////////////////////////////////////// CAROUSEL SECTION AND WRAPPER*/
carousel-cards {
	overflow-y: auto;
	overflow-x: visible;
	position: fixed;
	flex-direction: column;
	top: 50%;
	right: 0px;
	transform: translate(80%, -50%);
	transition: transform 600ms cubic-bezier(1, -0.84, 0, 1.59);
	height: auto;
	padding: 0.6em 0.3em 0.6em 0.5em;
	z-index: 500;
	max-width: 300px;
	max-height: 80vh;
}
carousel-cards .scrollingCards-wrapper {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	row-gap: 8px;
}

card {
	position: relative;
	background: var(--theme-white);
	top: 0px;
	left: 0px;
	box-shadow:var(--theme-box-shadow-3d-harsh-max);
	display: flex;
	flex-direction: column;
	height: auto;
	width:100%;																
	border-radius: 8px;
}

card .card_post_id{
	position: absolute;
	border-radius: 50px;
	z-index: 10;
	box-shadow: var(--theme-box-shadow-min);
	transform: translate(-8px, -9px);
}

card .card_post-cat-color {
	height: 20px;
	width: 20px;
	color: white;
	background: var(--theme-color-cat-Outdoor-Adventure);
}

card .author_logo{
right: 0;
    position: absolute;
	padding: 3px;
    background: var(--theme-light-grey);
    border-radius: 50px;
    z-index: 10;
    width: 45px;
    height: 45px;
    transform: translate(4px, -9px);
   transition: all 0.4s cubic-bezier(0, 1, 0, 1);	
}

card .card_head_info {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0.4em;
	row-gap: 4px;
}


card .highlighted_card{
	animation-name: close_animation;
	animation-duration: 0.3s;
	animation-iteration-count: 1;
	animation-timing-function: ease-out;
	background: rgb(124 126 139 / 30%);
	color: var(--theme-selected-darkblue-color);
	box-shadow: var(--theme-box-shadow-3d-harsh-max);
}

card .card_head_author_name {
		padding-top: 8px;
	width: 80%;
	-webkit-line-clamp: 2;
}
card .card_head_post_title {
	-webkit-line-clamp: 3;
	padding-top: 5px;
}

card .card_head_bottom {
	padding: 3px 0px;
	row-gap: 3px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

card .card_data_item {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: center;
	border-left: var(--theme-border-black)!important;
	padding: 0px 5px;
	column-gap: 5px;
	width: 50%;
	white-space: nowrap;
}

card .card_head_author_name,
card .card_head_post_title,
card .card_data_item .date{
	text-overflow: ellipsis;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}
card .date{
	max-width: 9ch;
	-webkit-line-clamp: 1;
}

card .payment .amount {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

card .card_head_actions{ 
    overflow: hidden;  /* Hide the element content, while height = 0 */
    height: 0;
    opacity: 0;
    transition: height 0ms 400ms, opacity 400ms 0ms;
    column-gap: 5px;
		pointer-events: none;
}


card .action{
	display: flex;
	box-shadow: var(--theme-box-shadow-3d-harsh-min);
	color: var(--theme-white);
	text-align: center;
	cursor: pointer;
	border-radius: 5px;
	flex: 1;
	align-items: center;
	justify-content: center;
}

card .action:hover{
	    box-shadow: var(--theme-box-shadow-inset);
}

 card .action a,
 card .action hspan{
	 display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}


card .action hspan{
	color: var(--theme-white);
}

card .card_head_actions .card_more,
card .card_head_actions .card_send_cv,
card .card_head_actions .card_send_email,
card .card_head_actions .card_call{ 
	background: var(--theme-green); 
}
card .card_head_actions .card_more{
	flex-basis: 70%;
}
card .card_head_actions .card_save{ 
	background: var(--theme-green); 
	flex-basis: 30%;
}

card .card_head_actions .card_send_cv,
card .card_head_actions .card_send_email,
card .card_head_actions .card_call,
card .card_head_actions closebtn{
	display:none;
}

card .card_head_actions closebtn:hover .xsymbol{
	background-color: transparent;
}

card .card_body_content {
	height: 0px;
	transform: scaleY(0);
    display: flex;
    flex-direction: column;
}

card .card_body_content .card_body_info_links,
card .card_body_content .card_body_post_tags{
display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    row-gap: 5px;
    margin: 15px 0px;
	
}
card .card_body_content .card_body_info_links{
    justify-content: flex-start;
    overflow-x: auto;
    padding: 8px 10px 30px 10px;
    min-height: 80px;
}

.card_body_info_links a,
.card_body_info_links span{
    color: var(--theme-selected-darkblue-color);
    box-shadow: var(--theme-box-shadow-mid);
    height: 100%;
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 5px;
    background: var(--theme-white);
    transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 50px;
	font-weight: 600;
	height: 100%;
}

.card_body_info_links a:hover,
.card_body_info_links span:hover{
	background: var(--theme-yellow);
	color: var(--theme-selected-darkblue-color);
	box-shadow: var(--theme-box-shadow-max);
}

card .card_body_content .card_body_post_tags{
	justify-content: center;
	    margin-top: auto;
}

.card_body_post_tags * {
    border-left: var(--theme-border-black)!important;
    padding: 0px 8px 0px 4px;
}

card .card_body_content .card_body_text{
	    margin-bottom: 20px;
}

/*********************** future implementation */
card .card_head_actions .card_send_cv,
card .card_head_actions .card_save {
	display:none!important;
}
/*********************** future implementation */




#nextPageButton{
    background: var(--theme-white);
    width: 100%;
    padding: 10px 0;
    margin-top: 5px;
    border-radius: 15px;
    box-shadow: var(--theme-box-shadow-3d-harsh-min);
    cursor: pointer;	
}
#nextPageButton:hover{
    box-shadow: var(--theme-box-shadow-inset);
}

/* ------------------ [STATES] ------------------ */
/* ------------------ [STATES] ------------------ */

/*  [open drawer carousel cards]  cards container show hide */	
carousel-cards.open {
    transform: translate(-5%, -50%);
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 600ms cubic-bezier(0.68, -0.49, 0.22, 1.42);
}

/* [open drawer carousel cards SHOW more+save]  */
carousel-cards.open card .card_head_actions{
    opacity: 1;
    transition: height 0ms 0ms, opacity 600ms 0ms;
    height: 25px;
 display: flex;
	    pointer-events: all;
}

/* [full width container] on card click open full view */
carousel-cards.full_view_mode {
	max-width: 80vw;
	z-index: 600;
	/*----------------- overflow-y: hidden;*/
	overflow: visible;
	height: 80vh;
}
/* [show only open card hide all the others] hide card */
carousel-cards.open.full_view_mode card{
	display: none;
}      

/* [open card] opening card animation + show open card*/
carousel-cards.full_view_mode card.open {
	display: flex;
	position: fixed;
	background: var(--theme-white);
	z-index: 99999999999999999;
	height: 80vh;
}
carousel-cards.full_view_mode card.open .card_post-cat-color {
	height: 25px;
	width: 25px;
	background: var(--theme-color-cat-Outdoor-Adventure);
}

/* [open card info]  animation reveal info */
carousel-cards.full_view_mode card.open .card_head_info{
	animation-name: open_animation;
	animation-duration: 0.3s;
	animation-iteration-count: 1;
	animation-timing-function: ease-out;
}

/* [open card id]  change position of id */
carousel-cards.full_view_mode card.open .card_post_id {
	/*font-size: 0.8em;
	transform: translate(0px, 0px);*/
}

carousel-cards.full_view_mode card.open .author_logo{
	transform: translate(100%, -50%);
	width: 80px;
	height: 80px;
	right: 25%;
	box-shadow: var(--theme-box-shadow-outline);
}

carousel-cards.full_view_mode card.open .card_head_bottom hspan {
    font-weight: 900;
	color: var(--theme-selected-darkblue-color);
}

carousel-cards.full_view_mode card.open .card_head_bottom span{
    font-weight: 700;
	color: var(--theme-selected-darkblue-color);
}


carousel-cards.full_view_mode card.open .card_head_top .card_head_author_name,
carousel-cards.full_view_mode card.open .card_head_top .card_head_post_title{
	display:none;
}


carousel-cards.full_view_mode card.open .card_head_actions .card_send_email,
carousel-cards.full_view_mode card.open .card_head_actions .card_call,
carousel-cards.full_view_mode card.open .card_head_actions closebtn{
	display:flex;
}


carousel-cards.full_view_mode card.open .card_head_actions{
	 height: 40px;
}
carousel-cards.full_view_mode card.open .action{
	flex: 1;
}


carousel-cards.full_view_mode card.open .card_head_actions .card_more{
	display:none;
}

carousel-cards.full_view_mode card.open .card_head_actions closebtn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--theme-white);
}

/* [open card content]  open card content*/
carousel-cards.full_view_mode card.open .card_body_content.open {
	padding: 6px 12px 32px 24px;
	margin: 2px 8px 8px 0px;
	overflow-y: auto;
	opacity: 1;
	height: 100%;
	transition: transform 0.3s cubic-bezier(1, 0, 0.63, 0.9);
	transform: scaleY(1);
	transform-origin: bottom;
}

/* ------------------ [STATES] ------------------ */
/* ------------------ [STATES] ------------------ */



/* --------- categories colors (post id background) ------*/
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="x"]  .card_post-cat-color{ background: var(--theme-white); } 
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="2"]  .card_post-cat-color{ background: var(--theme-color-cat-Tourism-Hospitality); } 
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="3"]  .card_post-cat-color{ background: var(--theme-color-cat-Retail-Sales); }
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="4"]  .card_post-cat-color{ background: var(--theme-color-cat-Agriculture-Farming); }
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="5"]  .card_post-cat-color{ background: var(--theme-color-cat-Outdoor-Adventure); }
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="6"]  .card_post-cat-color{ background: var(--theme-color-cat-Festivals-Events); }
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="7"]  .card_post-cat-color{ background: var(--theme-color-cat-Seasonal-Education); }
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="8"]  .card_post-cat-color{ background: var(--theme-color-cat-Winter-Sports); }
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="9"]  .card_post-cat-color{ background: var(--theme-color-cat-Seasonal-Construction); }
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="10"]  .card_post-cat-color{ background: var(--theme-color-cat-Seasonal-Hospitality-Private); }
carousel-cards .scrollingCards-wrapper card[data-card-postBaseCategoryId="11"]  .card_post-cat-color{ background: var(--theme-color-cat-Seasonal-Volunteer); }





/* --------- custom scroll bar for this element --------- */
card *::-webkit-scrollbar{
	height: 8px;
}


/* -----animations ------*/

@keyframes open_animation {
	0% { transform: translate(0px, -100%); }
	100% { transform: translate(0px, 0%); }
}
@keyframes close_animation {
	0% {transform: translate(0px, -10%); }
	100% { transform: translate(0px, 0%); }
}
