/*
Theme Name: Emboryo Child
Author: BlendPixels
Author URI: http://bpthemes.net
Description: -
Version: 1.0
Template: emboryo
*/

.theme-gradient .load-button-grey .load_more_item {
	background: #282828;
}
.theme-gradient .load-button-grey .load_more_item:hover {
	background: #fea860;
	color: #fff;
}
.background-gradient{
	background-image: url(http://work.udx.pl/pega/wp-content/uploads/2018/05/section_bg_2.jpg) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
.background-gradient h3{
	font-size: 0.79em !important;
}
.emboryo_module_button a.button-custom-white{
	color: #282828;
	background-color: #ffffff;
	border-color: #ffffff;
}
.emboryo_module_button a.button-custom-white:hover{
	color: #ffffff;
	background-color: rgba(255,255,255,0.4);
	border-color: #ffffff;
}
.portfolio-template-default .main_wrapper{
	padding-bottom: 0;
}

.inside_image .bpt_portfolio_item-description,
.inside_image .overlay,
.inside_image .bpt_portfolio_item-description > *{
	opacity: 1 !important;
}
.wpb_image_grid .wpb_image_grid_ul .isotope-item{
	width: 20%;
	height: 160px;
	display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    box-sizing: border-box;
    margin: 0 !important;
}
.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(1),
.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(2),
.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(3),
.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(4),
.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(5){
    border-top: 1px solid #efefef;
}
.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(5n){
	border-right: none;
}
.wpb_image_grid .wpb_image_grid_ul .isotope-item a{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.wpb_image_grid .wpb_image_grid_ul .isotope-item a:hover{
	background: #efefef;
}
.wpb_image_grid .wpb_image_grid_ul .isotope-item img{
	max-width: 80%;
	max-height: 120px;
	margin: 0 auto;
	width: auto;
	height: auto;
}
.main-menu ul.menu > li > ul > li{
	position: static;
}
.main-menu > ul.menu > li > ul{
	margin-top: 0;
}
.main-menu ul.menu li ul ul{
	height: 100%;
	box-sizing: border-box;
	margin-top: 0;
	left: 100%;
}
.header_area_container .main-menu ul li ul .menu-item{
	padding: 7px 40px 7px 40px;
}
.main-menu ul li ul li.menu-item-has-children:after{
	display: none !important;
}
.main-menu ul li ul li.menu-item-has-children > a{
	position: relative;
}
.main-menu ul li ul li.menu-item-has-children > a:after{
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top-width: 1px;
    border-top-style: solid;
    border-left-width: 1px;
    border-left-style: solid;
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    position: absolute;
    bottom: 50%;
    bottom: -webkit-calc(50% - 3px);
    bottom: -moz-calc(50% - 3px);
    bottom: calc(50% - 3px);
    right: -20px;
    opacity: 0.7;
}
.bpt-page-title__content .page_title, .bpt-page-title__content .emboryo_breadcrumb{
	display: block !important;
}
.emboryo_module_flipbox{
	cursor: pointer;
}
.footer_top-area a .bpt-icon{
	font-size: 2em;
}
.main-menu > ul > li:nth-last-child(1) > .sub-menu, .main-menu > ul > li:nth-last-child(2) > .sub-menu, .main-menu > ul > li:nth-last-child(3) > .sub-menu, .main-menu > ul > li:nth-last-child(4) > .sub-menu{
	left: 0 !important;
}
.main-menu > ul > li:nth-last-child(1) > .sub-menu .sub-menu, .main-menu > ul > li:nth-last-child(2) > .sub-menu .sub-menu, .main-menu > ul > li:nth-last-child(3) > .sub-menu .sub-menu, .main-menu > ul > li:nth-last-child(4) > .sub-menu .sub-menu{
	left: 100% !important;
	right: unset !important;
}
body .main-menu>ul{
	font-size: 17px;
}
#cookie-law-info-bar span{
	width:85%;
	max-width: 950px;
	display: flex;
	-webkit-box-align: center!important;
	-ms-flex-align: center!important;
	align-items: center!important;
	margin: 0 auto;
	line-height: 18px;
}
#cookie-law-info-bar span > div:nth-child(2){
	min-width: 150px;
	margin-left: 20px;
}
.main-menu > ul > li > a img{
	vertical-align: middle;
}
.emboryo_module_flipbox .flipbox_front .flipbox_title{
	padding: 0 20px;
	box-sizing: border-box;
}

.btn-cta a.button_size_large {
	background: #fff;
	color: #ff0000;
}

.btn-cta a.button_size_large:hover {
	color: #000;
}
@media (max-width: 1199px){
	.wpb_image_grid .wpb_image_grid_ul .isotope-item{
		width: 25%;
		height: 140px;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item img{
		max-width: 100%;
		max-height: 100px;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(5n){
		border-right: 1px solid #efefef;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(4n){
		border-right: none;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(5){
		border-top: none;
	}
}
@media(max-width: 1170px){
	.main-menu ul li ul li.menu-item-has-children > a:after{
		display: none !important;
	}
	.main-menu ul.menu > li > ul > li{
		position: relative;
	}
	.main-menu>ul>li:nth-last-child(4)>.sub-menu .sub-menu{
		left: 0 !important;
	}
}
@media (max-width: 991px){
	#cookie-law-info-bar span{
		display: block;
	}
	#cookie-law-info-bar span > div:nth-child(2){
		width: 100%;
		margin-left: 0;
	}
}
@media (max-width: 767px){
	.wpb_image_grid .wpb_image_grid_ul .isotope-item{
		width: 50%;
		height: 120px;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item img{
		max-width: 100%;
		max-height: 80px;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(6n){
		border-right: 1px solid #efefef;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(4n){
		border-right: 1px solid #efefef;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(2n){
		border-right: none;
	}
	.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(4),
	.wpb_image_grid .wpb_image_grid_ul .isotope-item:nth-child(3){
		border-top: none;
	}
}



.mx-auto {
    margin-inline: auto;
}

.main_wrapper.single-portfolio {

    padding: 0;

    @media screen and (min-width: 640px) {
        padding: 40px 0 40px 0;
    }
}


.container.container-header {
	
	@media screen and (min-width: 1280px) {
		width: 1200px;
	}
	
	@media screen and (min-width: 1536px) {
		width: 1500px;
	}
}

.wp-singular.page-template-default.page:not(.page-id-6):not(.page-id-5974) {
    @media screen and (min-width: 768px) {
        padding-top: 100px;
    }
}

/* EMMA PROGRAMY LOJALNOŚCIOWE */

.container-emma {
	position: relative;
	isolation: isolate;
}

.emma-img {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: -1;
}




/*
	PORTFOLIO ARCHIVE,TAXONOMY, SINGLE - START
 */

#portfolio-header {
    /*background-image: url('https://static.pegasus-it.pl/wp-content/themes/emboryo/img/portfolio-bg.jpg');*/
    min-height: 520px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
	flex-direction: column;
    align-items: center;
    
    position: relative;
    /*isolation: isolate;*/
	
	@media screen and (min-width: 1280px){
        padding-top: 6.5rem;
    }
}

#portfolio-taxonomy .container .row {
	margin-left: 0;
	margin-right: 0;
	
	@media screen and (min-width: 640px){
        margin-left: -15px;
		margin-right: -15px;
    }
}

#portfolio-header .container {
	display: flex;
	flex: 1;
	align-items: center;
	position: relative;
}

#portfolio-header .title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
	line-height: 1.5 !important;

    @media screen and (min-width: 640px){
        font-size: 3rem;
    }
}

#portfolio-header .video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#portfolio-single {
	@media screen and (min-width: 768px){
       padding-top: 3.5rem;
    }
}


#portfolio-single .wpb_single_image img{
	max-height: 700px !important;
	width: auto !important;
}

#portfolio-single .portfolio-slider-video {
	max-height: 100%;
	width: auto;
	margin: 0 auto;
	display: block;
	border-radius: .5rem;
	max-width: 100%;
	
	@media screen and (min-width: 680px){
        border-radius: 2rem;
    }
}

#portfolio-single .portfolio-slider-video-wrapper {
	position: relative;
	background: url('https://static.pegasus-it.pl/wp-content/themes/emboryo/img/video-wrapper-v2.png') no-repeat center;
	margin: 0 auto;
	max-width: 1280px;
	background-size:contain;
	padding: 0.25rem;
	
	
	@media screen and (min-width: 680px){
       padding: 0.775rem;
    }
}


#portfolio-single .tv {
    position: relative;
    width: min(100%, 900px);
    aspect-ratio: 1009 / 722;
    margin: 0 auto;

    background: url('https://static.pegasus-it.pl/wp-content/themes/emboryo/img/atl-video-wrapper-v6.png')
    no-repeat center / contain;
}

#portfolio-single .tv.tv--vintage {
    background: url('https://static.pegasus-it.pl/wp-content/themes/emboryo/img/atl-video-vintage-wrapper.png')
    no-repeat center / contain;
}

#portfolio-single .tv__screen{
    position: absolute;
    top: 5%;
    right: 1%;
    bottom: 17.5%;
    left: 1%;
    overflow: hidden;
    background: black;
}

#portfolio-single .tv__screen.tv__screen--vintage {
    top: 6.5% !important;
    right: 21.0% !important;
    bottom: 17.5% !important;
    left: 5.0% !important;
    border-radius: 8px !important;
}

#portfolio-single .tv__video{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.audio-player audio {
            display: none;
        }

        .audio-player-progress-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            flex-direction: column;
        }

        .audio-player-progress {
            position: relative;
            background: rgba(255,255,255, 0.5);
            height: 5px;
            border-radius: 5px;
            width: 400px;
        }

        .audio-player-progress-current {
            background: #fff;
            height: 20px;
            width: 5px;
            border-radius: 5px;
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
        }

        .audio-player-controls {
            margin-top: 1rem;
        }

        .audio-player-play,
        .audio-player-pause {
            color: rgba(255,255,255, 0.5);
            background: none;
            transition: all 250ms ease-in-out;
            border: none;
        }

        .audio-player-play {
            display: block;
        }

        .audio-player-pause {
            display: none;
        }

        .audio-player-play:hover,
        .audio-player-pause:hover {
            color: #fff;
            cursor: pointer;
        }

        .audio-player-elapsed,
        .audio-player-remaining {
            position: absolute;
            top: 1rem;
            font-weight: bold;
            color: #fff;
        }

        .audio-player-elapsed {
            left: 0;
        }

        .audio-player-remaining {
            right: 0;
        }

/*#portfolio-single .portfolio-slider-video-border {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: auto !important;
	top: 0;
	height: 100%;
}*/



#portfolio-categories .subtitle,
#portfolio-taxonomy .subtitle,
#portfolio-single .subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin: 2rem auto 4rem auto;
    font-weight: bold;
}

#portfolio-categories p,
#portfolio-taxonomy p {
    text-align: center;
    line-height: 1.7;
    font-size: .9rem;

    @media screen and (min-width: 640px){
        font-size: 1rem;
    }
}

#portfolio-single .text {
    font-size: 1.2rem;
}

#portfolio-categories .wrapper{
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* tworzy 3 równe kolumny */
    gap: 20px; /* odstęp między elementami */

    @media screen and (min-width: 640px) {
        grid-template-columns: repeat(3, 1fr); /* tworzy 3 równe kolumny */
    }
}

#portfolio-categories .box {
    min-height: 328px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    transition: background-size 500ms ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#portfolio-categories .box-title {
    color: #fff;
    margin: 0 0 1rem 0;
    transition: transform 500ms ease;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: Poppins;
    line-height: 1.1;
}

#portfolio-categories .box:hover {
    background-size: 110%
}

#portfolio-categories .box:hover .box-title {
    transform: translateY(-20%);
}

#portfolio-taxonomy .container.full-width .row{
    display: flex;
    flex-direction: column;

    @media screen and (min-width: 640px){
        flex-direction: row;
    }
}

#portfolio-taxonomy .container.full-width .row:nth-child(odd){
    background: #323232;
}

#portfolio-taxonomy .container.full-width .row:nth-child(even){
    background: #fff;
}

#portfolio-taxonomy .container.full-width .row:nth-child(odd) .box.content-wrapper .content p {
    color: #fff;
}

#portfolio-taxonomy .container.full-width .row:nth-child(even) .box.content-wrapper .content p {
    color: #000;
}

@media screen and (min-width: 640px) {
    #portfolio-taxonomy .container.full-width .row:nth-child(odd) .box.image {
        order: 2;
    }

    #portfolio-taxonomy .container.full-width .row:nth-child(even) .box.image {
        order: 1;
    }

    #portfolio-taxonomy .container.full-width .row:nth-child(odd) .box.content-wrapper {
        order: 1;
        align-items: flex-end;
    }

    #portfolio-taxonomy .container.full-width .row:nth-child(even) .box.content-wrapper {
        order: 2;
        align-items: flex-start;
    }
}

#portfolio-taxonomy .container.full-width .row .box{
    display: flex;
    width: 100%;
    box-sizing: border-box;

    @media screen and (min-width: 640px){
        width: 50%;
    }
}

#portfolio-taxonomy .container.full-width .row .box.image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 393px;
}

#portfolio-taxonomy .container.full-width .row:nth-child(even) .box.image {
	background-position: center right;
}

#portfolio-taxonomy .container.full-width .row:nth-child(odd) .box.image {
	background-position: center left;
}

#portfolio-taxonomy .container.full-width .row .box.content-wrapper {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;

    @media screen and (min-width: 640px){
        width: 50%;
    }
	
	@media screen and (min-width: 1536px){
        padding: 4rem 2rem;
    }
}

#portfolio-taxonomy .container.full-width .row .box.content-wrapper .content .content-btn-wrapper {
	display: flex;
	gap: 2rem;
	align-items: flex-end;
}

#portfolio-taxonomy .container.full-width .row .box.content-wrapper .content {
    width: 100%;

    @media screen and (min-width: 640px){
        width: 75%;
    }
}

#portfolio-taxonomy .container.full-width .row .box.content-wrapper .content p {
    margin: 1rem 0 2rem 0;
    text-align: left;
    font-size: .9rem;
}

.bpt_portfolio_item-image img {
    width: 100%;
}

#portfolio-taxonomy .vc_btn3-style-gradient.vc_btn-gradient-btn-6777f1560f7d2:hover,
.header-video-content .vc_btn3-style-gradient.vc_btn-gradient-btn-6777f1560f7d2:hover
{color: #000;background-color: #f4524d;border: none;background-position: 100% 0;}

#portfolio-taxonomy .vc_btn3-style-gradient.vc_btn-gradient-btn-6777f1560f7d2,
.header-video-content .vc_btn3-style-gradient.vc_btn-gradient-btn-6777f1560f7d2
{color: #000;border: none;background-color: #f7be68;background-image: -webkit-linear-gradient(left, #f7be68 0%, #f4524d 50%,#f7be68 100%);background-image: linear-gradient(to right, #f7be68 0%, #f4524d 50%,#f7be68 100%);-webkit-transition: all .2s ease-in-out;transition: all .2s ease-in-out;background-size: 200% 100%;}


/*
    PORTFOLIO ARCHIVE,TAXONOMY, SINGLE - END
 */


/*
    VIDEO HEADER NA STRONIE GŁÓWNEJ - START
 */
.header-video-wrapper {
    position: relative;
    height: 91lvh;
    isolation: isolate;
    padding-top: 0;
}

.header-video-wrapper .header-video {
    object-fit: cover;
    object-position: top;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.header-video-wrapper .header-video-img {
    opacity: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    animation: slideIn 1.5s forwards;
    animation-delay: 5s;
    max-width: 120px;
}

.header-video-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    box-sizing: border-box;
}

.header-video-content .header-video-content-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.header-video-content .header-video-content-box:nth-child(1) {
    padding: 0 1rem 2rem 1rem;
    order: 3;
    animation: slideInFromLeft ease-in-out 1.5s forwards;
    animation-delay: 2s;
    opacity: 0;
}

.header-video-content .header-video-content-box .effie-awards {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
}
.header-video-content .header-video-content-box .effie-awards .effie-awards-img {
    max-width: 60px;
}
.header-video-content .header-video-content-box .effie-awards .effie-awards-title {
    font-family: Poppins;
}

.header-video-content .header-video-content-box .effie-awards .effie-awards-title p:nth-child(1) {
    font-size: .9rem !important;
    font-weight: bold;
    margin: 0 !important;
    text-align: left;
    line-height: 1.6;
}

.header-video-content .header-video-content-box .effie-awards .effie-awards-title p:nth-child(2) {
    font-size: .6rem !important;
    margin: 0 !important;
    text-align: left;
    line-height: 1.6;
}

.header-video-content .header-video-content-box:nth-child(2) {
    animation: slideInFromBottom ease-in-out 1.5s forwards;
    order: 2;
    animation-delay: 1s;
    opacity: 0;
}

.header-video-content .header-video-content-box:nth-child(3) {
    animation: slideInFromRight ease-in-out 1.5s forwards;
    padding: 2rem 2rem 0 2rem;
    order: 1;
    animation-delay: 0.5s;
    opacity: 0;
}

.header-video-content .header-video-content-box:nth-child(3) .title {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px #000;
    color: #fff;
    line-height: 1.5;
}

.header-video-content .header-video-content-box:nth-child(3) .subtitle {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px #000;
    color: #fff;
    line-height: 1.5;
    margin-top: 1rem;
}

.header-video-content p {
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    text-shadow: #000 0 0 2px;
    /*position: absolute;*/
    width: 100%;
    opacity: 1;
    /*transform: translateY(-20px);*/
    /*animation: slideInOut 1.5s forwards;*/
    text-align: center;
}

.header-video-content .vc_btn3-container {
    /*opacity: 0;*/
    color: #FFF !important;
    /*animation: slideIn 1.5s forwards;*/
    /*animation-delay: 7s;*/
}




@media screen and (min-width: 960px) {
    .header-video-wrapper .header-video-img {
        position: absolute;
        bottom: 0;
        right: 5vw;
        max-width: 100%;
    }

    .header-video-content {
        flex-direction: row;
    }

    .header-video-content .header-video-content-box {
        /*width: 33.33%;*/
    }

    .header-video-wrapper .header-video {
        top: 3rem;
    }

    .header-video-wrapper {
        padding-top: 3rem;
    }

    .header-video-content .header-video-content-box:nth-child(1) {
        padding-bottom: 2rem;
        order: 1;
        width: 40%;
    }

    .header-video-content .header-video-content-box:nth-child(2) {
        padding-bottom: 2rem;
        width: 26.67%;
        order: 2;
    }

    .header-video-content .header-video-content-box:nth-child(3) {
        order: 3;
        width: 33.33%;
    }

    .header-video-content .header-video-content-box:nth-child(3) .title {
        font-size: 2rem;
        padding-right: 2rem;
    }

    .header-video-content .header-video-content-box:nth-child(3) .subtitle {
        font-size: 1.5rem;
        padding-right: 2rem;
    }

    .header-video-content .header-video-content-box .effie-awards .effie-awards-title p:nth-child(1) {
        font-size: 1.2rem !important;
        line-height: 1.5;
        font-weight: bold;
    }

    .header-video-content .header-video-content-box .effie-awards .effie-awards-title p:nth-child(2){
        font-size: .8rem !important;
        line-height: 1.5;
    }
    .header-video-content .header-video-content-box .effie-awards .effie-awards-title p:nth-child(1) {
        font-size: 1.6rem !important;
        line-height: 1.5;
        font-weight: bold;
    }

    .header-video-content .header-video-content-box .effie-awards .effie-awards-title p:nth-child(2){
        line-height: 1.5;
    }
}
/*
    VIDEO HEADER NA STRONIE GŁÓWNEJ - END
 */


/*
    CASE STUDY - START
 */

.case-study-box.case-study-supermaster-box-link > .vc_column-inner {
	padding: 0 !important;
}

.case-study-supermaster-box-link > .vc_column-inner >  .wpb_wrapper,
.case-study-supermaster-box-link > .vc_column-inner >  .wpb_wrapper > .wpb_raw_code,
.case-study-supermaster-box-link > .vc_column-inner >  .wpb_wrapper > .wpb_raw_code > .wpb_wrapper {
	height: 100% !important;
}

.case-study-supermaster-box-link > .vc_column-inner >  .wpb_wrapper > .wpb_raw_code > .wpb_wrapper a {
	display: block;
	height: 100%;
	width: 100%;
}

.case-study-contact-button {
	margin-top: 2rem;
}

.case-study-contact-button > button {
    color: #666 !important;
    background: #fff none !important;
}

.case-study-row {
    display: flex;
    /*padding-bottom: 2rem;*/
}

.case-study-box.box-1 {
    order: 2;
}

.case-study-box.box-2 {
    order: 1;
}

.case-study-featured-image {
    min-height: 398px !important;
}

.case-study-featured-image > .vc_column-inner {
    background-position: 50% !important;
    background-size: cover !important;
}

.case-study-featured-image--sd > .vc_column-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-featured-image--vigantoletten > .vc_column-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-study-featured-image--kamen > .vc_column-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-featured-image--supermaster > .vc_column-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: 100% !important;
}

.case-study-featured-image--porta > .vc_column-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.case-study-featured-image--nasivin > .vc_column-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background-position: 85% !important;
}

.case-study-box > .vc_column-inner {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    justify-content: center;
}

.fix-column-padding > .wpb_column  > .vc_column-inner {
	padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

@media screen and (min-width: 768px) {
	.case-study-contact-button {
		margin-top: 0;
	}
	
    .case-study-row {
        padding-bottom: 0;
    }

    .case-study-box.box-1 {
        order: 1;
    }

    .case-study-box.box-2 {
        order: 2;
    }

    .case-study-featured-image--nasivin > .vc_column-inner {
        background-position: 50% !important;
    }
}


@media screen and (min-width: 1280px) {
    .case-study-box-left > .vc_column-inner {
        margin-left: 10%;
        margin-right: 32px;
    }

    .case-study-box-right > .vc_column-inner {
        margin-left: 32px;
        margin-right: 10%;
    }
}

@media screen and (min-width: 1536px) {
    .case-study-box-left > .vc_column-inner {
        margin-left: 25%;
        margin-right: 32px;
    }

    .case-study-box-right > .vc_column-inner {
        margin-left: 32px;
        margin-right: 25%;
    }
}


/*
    CASE STUDY - END
 */



/*
    FAQ - START
 */

.faq-item {
    position: relative;
    margin-top: 1.25rem;

}

.faq-close-button {
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    padding: 0.5rem;
    background: none;
    color: white;
    border: none;
}

.faq-close-button:hover {
    background: none;
    border: none;
}

.faq-question-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
    scroll-margin-top: 150px;
}

.faq-question-wrapper:hover {
    cursor: pointer;
}

.faq-question {
    color: #323232;
}

.faq-answer-title {
	margin-top: 0;
	font-size: 1.25rem;
	font-weight: bold;
}

.faq-answer-wrapper {
    position: absolute;
    z-index: 50;
    left: 0;
    top: 0;
    background: #323232;
    align-items: center;
    padding: 2rem 1rem;
    color: #fff;
    font-size: .9rem;
    line-height: 1.5;
    gap: 2rem;
    display: flex;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-answer-wrapper.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.faq-answer-wrapper p {
    margin-bottom: 0 !important;
}

.faq-answer-wrapper p:not(:first-child) {
    margin-top: 1rem;
}

.faq-img {
    width: 40px !important;
    flex-shrink: 0 !important;
}

.faq-answer-img {
    display: none;
}

.faq-question-link {
    text-decoration: underline;
}

.faq-question-link:hover {
    cursor: pointer;
}

/*
    FAQ - END
 */

@media screen and (min-width: 768px) {
    .faq-answer-img {
        width: 40px !important;
        height: auto !important;
        flex-shrink: 0 !important;
        display: block;
    }

    .faq-answer-wrapper {
        padding: 2rem 3rem;
    }
}


@media screen and (min-width: 1536px) {

}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
