*:focus {
    outline: none !important;
}

/* GRID */
.pt_tabs.pt_grid {
    display: flex;
    flex-wrap: wrap;
    background: #ddd;
    padding: 10px;
    padding-right: 0;
    padding-top: 0;
    align-content: start;
}

.pt_tab.pt_grid {
    width: calc(100% / 3 - 10px);
    height: 150px;
    overflow: hidden;
    margin-right: 10px;
    margin-top: 10px;
    position: relative;
}

.pt_tab_content_title_overlay.pt_grid {
	position: absolute;
	margin: 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
	padding: 15px;
    color: transparent;
    transition: color .5s;
}

.pt_tab_content_thumbnail_overlay.pt_grid {
	width: 100%;
	height: 100%;
    background: transparent;
    position: absolute;
    transition: background .5s;
}
.pt_tab_content_thumbnail_overlay:hover.pt_grid {
    background: #c36;
}
.pt_tab_content_thumbnail_overlay.pt_grid:hover .pt_tab_content_title_overlay.pt_grid {
    color: #333;
}

.pt_tab_thumbnail.pt_grid {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform .3s;
}
.pt_tab_thumbnail:hover.pt_grid {
    transform: scale(1.1);
}

.pt_tab_content.pt_grid {
    display: none;
}
.pt_current_tab_content.pt_grid {
    width: 100%;
    margin-right: 10px;
    display: flex;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}
.pt_current_tab_content.pt_grid.pt_expend {
    max-height: 1000px;
    transition: max-height 1.5s;
}
.pt_current_tab_content.pt_grid.pt_reduce {
    max-height: 0;
    transition: max-height 1.5s;
}

.pt_tab_content_thumbnail_wrappper.pt_grid {
	flex: 1;
	width: 100%;
	overflow: hidden;
	position: relative;
	margin-right: 10px;
    height: 0;
    padding-bottom: 25%;
}
/*
.pt_current_tab_content.pt_grid.pt_reduce .pt_tab_content_thumbnail_wrappper.pt_grid {
    padding-bottom: 0%;
    transition: padding 1s;
}
.pt_current_tab_content.pt_grid.pt_expend .pt_tab_content_thumbnail_wrappper.pt_grid {
    padding-bottom: 25%;
    transition: padding 1s;
}*/
.pt_tab_content_thumbnail.pt_grid {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    position: absolute;
}

.pt_tab_content_infos_wrapper.pt_grid {
    flex: 1.5;
    overflow: hidden;
}

.pt_tab_content_title.pt_grid {
    font-size: 1.5rem;
}
.pt_tab_content_content.pt_grid {
    line-height: 1.4rem;
    overflow: hidden;
}
.pt_tab_content_content.pt_grid * {
	font-size: 1rem;
	line-height: 1.4rem;
}
.pt_tab_content_readmore.pt_grid {
    background: #c36;
    color: #ddd;
    padding: 3px 10px 3px 10px;
    display: inline-block;
    margin-top: 15px;
    transition: color .3s;
}
.pt_tab_content_readmore:hover.pt_grid {
    color: #333;
}

.pt_tab_content_close.pt_grid {
    position: absolute;
    top: 9px;
    right: 15px;
    background: transparent;
    padding: 0;
    border: 0;
    color: #333;
}

@media screen and (max-width: 600px)
{
    .pt_current_tab_content.pt_grid {
        display: block;
    }
}

/* CAROUSEL */
.pt_tabs_carousel_content_cards.pt_carousel {
    display: flex;
    overflow: hidden;
    justify-content: center;
    margin-left: 50px;
    margin-right: 50px;
}
.pt_tabs_carousel_content.pt_carousel {
    position: relative;
}

.pt_tab_left_button.pt_carousel {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    background: #ddd;
    border: none;
    border-radius: 50px;
    color: #333;
}
.pt_tab_right_button.pt_carousel {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-100%, -50%);
    background: #ddd;
    border: none;
    border-radius: 50px;
    color: #333;
}

.pt_tab_shadow_left.pt_carousel {
    width: 25px;
    height: 100%;
    position: absolute;
    background: linear-gradient(to left, rgba(255,255,255,0), #fff);
    top: 0;
    left: 49px;
    z-index: 100;
}
.pt_tab_shadow_right.pt_carousel {
	width: 25px;
	height: 100%;
	position: absolute;
	background: linear-gradient(to right, rgba(255,255,255,0), #fff);
	top: 0;
    left: calc(100% - 50px - 25px);
    z-index: 100;
}

.pt_tab.pt_carousel {
	width: 13rem !important;
	height: 20rem;
	background: #ddd;
	margin-right: 25px;
	flex: none;
    margin-left: 25px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: end;
    position: relative;
}
.pt_tab.pt_carousel.pt_slide_right {
    transform: translateX(100%) translateX(50px);
    transition: transform .5s;
}
.pt_tab.pt_carousel.pt_slide_left {
    transform: translateX(-100%) translateX(-50px);
    transition: transform .5s;
}

.pt_tab_thumbnail.pt_carousel {
    width: 100%;
    height: 10%;
    flex: 3;
    object-fit: cover;
}
.pt_tab_content_infos_wrapper.pt_carousel:not(.pt_text_only) {
    padding: 15px
}
.pt_tab_content_infos_wrapper.pt_carousel.pt_text_only {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 25px;
    transition: background .5s;
    border: 1px solid #333;
}
.pt_tab_content_infos_wrapper.pt_carousel.pt_text_only:hover {
    background: #c36;
}
.pt_tab_content_title.pt_carousel:not(.pt_text_only) {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.pt_tab_content_title.pt_carousel.pt_text_only {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    color: #333;
}
.pt_tab_content_readmore.pt_carousel:not(.pt_tab_thumbnail):not(.pt_tab_content_thumbnail_overlay):not(.pt_text_only) {
    background: #c36;
    color: #ddd;
    padding: 3px 10px 3px 10px;
    display: inline-block;
    transition: color .3s;
    border: none;
    border-radius: 0;
}
.pt_tab_content_readmore:hover.pt_carousel:not(.pt_tab_thumbnail):not(.pt_tab_content_thumbnail_overlay) {
    color: #333;
}

.pt_tab_content_thumbnail_overlay.pt_carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    padding: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    transition: background .5s;
}
p.pt_tab_content_title_overlay.pt_carousel {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    color: transparent;
}
.pt_tab_content_content_overlay.pt_carousel {
    overflow: hidden;
    color: transparent;
}
.pt_tab_content_content_overlay.pt_carousel {
    height: calc(1.4rem * 3);
}
.pt_tab_content_content_overlay.pt_carousel * {
	font-size: 1rem;
	line-height: 1.4rem;
}

.pt_tab_content_thumbnail_overlay.pt_carousel:hover {
    background: #c36;
}
.pt_tab_content_thumbnail_overlay.pt_carousel:hover * {
    color: #fff;
}


.pt_tab_content.pt_carousel {
	display: none;
}

.pt_current_tab_content.pt_carousel {
    overflow: hidden;
    margin-top: 15px;
    background: #ddd;
    color: #333;
    position: relative;
    padding: 25px;
}
.pt_current_tab_content.pt_carousel.pt_expend {
    padding: 25px;
    max-height: 1000px;
    transition: max-height .5s, padding .5s;
}
.pt_current_tab_content.pt_carousel.pt_reduce {
    max-height: 0px;
    padding: 25px;
    padding-top: 0px;
    padding-bottom: 0px;
    transition: max-height .5s, padding .5s;
}

.pt_tab_content_content.pt_carousel:not(.pt_text_only) {
    height: 100% !important;
}

.pt_tab_content_content.pt_carousel.pt_text_only {
    height: calc(1.4rem * 5);
    overflow: hidden;
    color: #333;
}
.pt_tab_content_content.pt_carousel.pt_text_only * {
    font-size: 1rem;
    line-height: 1.4rem;
}

.pt_tab_content_close.pt_carousel {
    position: absolute;
    top: 9px;
    right: 15px;
    background: transparent;
    padding: 0;
    border: 0;
    color: #333;
}