/**
 * Place for view-cases styles here.

MAIN
*/

/* MAIN */
.page-cases {
    padding-top: 100px;
    padding-bottom: 100px;
}



/* VIEW */
.view-cases {
	margin-bottom: 5em;
}

.view-cases .view-header {
    color: #000;
    margin-bottom: 40px;
}

.view-cases .view-header h2 {
    font-size: 60px;
    line-height: normal;
}

.view-cases .view-header p {
    font-size: 25px;
    font-weight: 700;
    line-height: normal;
}

.view-cases .view-header b {
    color: #ED1849;
}

.view-cases .view-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    column-gap: 40px;
    row-gap: 70px;
}

.view-cases__wrapper {
    position: relative;
    margin-top: 25px;
    display: grid;
    grid-template-rows: auto auto;
}

.view-cases__wrapper:before {
    content: '';
    width: 100px;
    height: 3px;
    background-color: #000;
    position: absolute;
    top: -25px;
}

.view-cases__title {
    color: #000;
    font-size: 25px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 20px;
}

.view-cases__content {
    display: grid;
    position: relative;
    margin-bottom: 0;
    margin-top: auto;
}

.view-cases__image {
    grid-column: 1;
    grid-row: 1/3;
}

.view-cases__image img {
    border-radius: 18px;
    width: 100%;
    object-fit: cover;
}

.view-cases__text {
    grid-column: 1;
    grid-row: 1;
    color: #fff;
    z-index: 2;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.view-cases__text a {
    color: #fff;
    font-size: 16px;
}

.view-cases__description a {
    font-size: 25px;
    font-weight: 700;
    line-height: normal;
}

.view-cases__service-link {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    z-index: 4;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
	font-size: 16px;
}

.view-cases__service-link a {
    text-decoration: underline;
	color: #fff;
}

.view-cases__background {
    background-color: #000;
    grid-column: 1;
    grid-row: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.5;
    z-index: 1;
    border-radius: 18px;
}

.view-cases__link {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	z-index: 3;
}

.view-cases__link a {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}




/* NODE */
article {
	padding: 0!important;
}

.view-title {
    margin-top: 2em;
    margin-bottom: 4em;
}

.view-title h1 {
    display: flex;
    column-gap: 5px;
}

.node-case h2 {
    font-size: 2rem;
	font-weight: normal;
}

.node-case {
    margin-bottom: 4em;
}

.node-case .field--name-field-case-image {
    float: right;
    max-width: 50%;
    margin-left: 3em;
    margin-bottom: 1em;
}

.node-case .field--name-field-case-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    column-gap: 2em;
	row-gap: 2em;
    width:  100%;
}

.node-case .field--name-field-case-results img {
    margin: 0;
}

.node-case__h2 {
	font-size: 60px;
}




/* CASE PAGE */
#main > div {
	z-index: 1;
	position: relative;
}

.page-solutions-case {
	margin-bottom: 15em;
}

.page-widget-3-title-case {
    
}










/* ADAPTIVE */
@media (min-width: 1920px) {

}

@media (max-width: 1920px) {

}

@media (max-width: 1919px) {
}

@media (max-width: 1800px) {

}

@media (max-width: 1650px) {

}

@media (max-width: 1600px) {

}

@media (max-width: 1500px) {

}

@media (max-width: 1440px) {
}

@media (max-width: 1366px) {

}

@media (max-width: 1280px) {
	.node-case .field--name-field-case-results {
	    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
	}
}

@media (max-width: 1150px) {

}

@media (max-width: 1024px) {

}

@media (max-width: 991px) {
	.node-case .field--name-field-case-results {
	    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
	.view-cases__wrapper {
	    display: block;
	}
}

@media (max-width: 768px) {
	.view-cases .view-header h2,
	.node-case__h2 {
		font-size: 45px;
	}
    .view-cases .view-header p {
        font-size: 22px;
    }
    .view-cases__title,
    .view-cases__description a {
        font-size: 24px;
    }
	.node-case {
	    margin-bottom: 4em;
	}
	.node-case .field--name-field-case-image {
	    max-width: 100%;
	}
}


@media (max-width: 800px) {

}

@media (max-width: 768px) {
	
}

@media (max-width: 600px) {
	
}

@media (max-width: 480px) {
	.view-cases .view-content {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 450px) {
	.view-cases .view-header h2,
	.node-case__h2 {
		font-size: 35px;
	}
    .view-cases .view-header p {
        font-size: 18px;
    }
    .view-cases__title,
    .view-cases__description a {
        font-size: 20px;
    }
}

@media (max-width: 350px) {
	.view-cases .view-content {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (min-width: 62rem) {
	
}
