/*======================================
Theme Name: Smti (Divi Child Theme)
Theme URI: https://divicake.com/
Description: A Divi Child Theme for Smti
Version: 1.0
Author: Elicos S.r.l.
Author URI: https://www.elicos.it
Template: Divi
======================================*/

/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

/* 

HOME 
PROJECTS LIST 
SINGLE PROJECT

*/


/*****************
//
// HOME
//
/****************/

.team_section .et_pb_team_member .et_pb_team_member_image img {
    width: 100%;
    display: block;
}

.et_pb_promo_description a {
    color: #000000;
}

@media only screen and (max-width: 1390px) {
    .construction_footer .et_pb_column_1_2:first-child {
        padding-top: 17%;
    }
}

@media only screen and (max-width: 980px) {
    #getting_started .et_pb_promo {
        max-width: 250px;
    }
    #getting_started .et_pb_column_1_2:last-child .et_pb_promo {
        max-width: 320px;
        float: right;
        margin-top: -90px;
        margin-bottom: 50px;
    }
    #projects .et_pb_gallery {
        display: block !important;
    }
    .construction_footer {
        background-size: 100% 100%;
    }
    .construction_footer .et_pb_column_1_2:first-child {
        padding-top: 10%;
        margin-bottom: -80px;
    }
    .construction_footer .et_pb_column_1_2:last-child {
        max-width: 330px;
        float: right;
        padding-top: 9%;
    }
}

@media only screen and (max-width: 767px) {
    #getting_started {
        background: #fbcf00 !important;
    }
    #getting_started .et_pb_promo {
        max-width: 100%;
        text-align: center !important;
    }
    #getting_started .et_pb_column_1_2:last-child .et_pb_promo {
        max-width: 100%;
        float: right;
        margin-top: 0;
        margin-bottom: 0;
    }
    .construction_footer .et_pb_column_1_2 .et_pb_promo_description,
    .construction_footer .et_pb_column_1_2 .et_pb_promo_description h2 {
        color: #fff !important;
    }
    .construction_footer .et_pb_column_1_2 .et_pb_promo_description {
        text-align: center !important;
    }
    .construction_footer .et_pb_column_1_2:first-child {
        padding-top: 0;
        margin-bottom: 0;
    }
    .construction_footer .et_pb_column_1_2:last-child {
        max-width: 100%;
        float: left;
        padding-top: 0;
    }
    .construction_footer {
        background: #353537 !important;
    }
    .construction_banner h1 {
        font-size: 50px !important;
        letter-spacing: 0px !important;
    }
}

@media only screen and (max-width: 480px) {
    .construction_banner h1 {
        font-size: 42px !important;
        letter-spacing: 0px !important;
    }
    .our_showreel .et_pb_promo:last-child {
        min-height: 312px;
        background-size: cover;
        background-position: center left 30%;
    }
}


/*****************
//
// PROJECTS LIST
//
/****************/

@media only screen and (min-width: 981px) {
	.post-type-archive-project .project_list_item {
		margin-top: 40px;
	}

	.post-type-archive-project .project_list_featured_image {
		background-color: #eee;
		padding-top: 20px;
		padding-right: 20px;
		padding-bottom: 20px;
		padding-left: 20px;
	}
		
	.post-type-archive-project .project_list_featured_image h5 {
		font-size: 0.9em;
		text-transform: uppercase;
	}	

	.post-type-archive-project .project_list_featured_image p {
		font-size: 0.9em;
		line-height: 1.3em;
	}
	
	
	.post-type-archive-project .et_pb_section_sticky .et_pb_row.et-last-child, .post-type-archive-project  .et_pb_section_sticky .et_pb_row:last-child {
    	padding-bottom: 80px !important;
    }

}

.post-type-archive-project .list-map p.excerpt {
	margin-bottom: 6px !important;
}


/*
.page-template-page-template-projects #main-content .container, .single-project #main-content .container{
    padding-top: 0px;
}

.page-template-page-template-projects #main-content .container, .single-project #main-content .container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: auto;
}

@media only screen and (min-width: 768px) {
	.page-template-page-template-projects .et_pb_column_1_3 {
	    width: 27% !important;
	    margin-top: 20px;
	}
	
}

.page-template-page-template-projects h1.main_title {
	display: none;
}
*/


/*****************
//
// SINGLE PROJECT
//
/****************/
.single-project .entry-content {
    padding-top: 0px;
}

.single-project #left-area {
    float: none;
    padding: 0;
    width: 100%;
}

.single-project .et_right_sidebar #main-content .container:before {
    right: 0%!important;
}

.single-project #main-content .container:before {
	display: none;
}

.single-project div.wppm {
    background-color: #fff !important;
}

@media only screen and (min-width: 768px) {
	.single-project .et_pb_image .et_pb_image_wrap {
		background-color: #eeeeee;
		padding-top: 40px;
		padding-right: 40px;
		padding-bottom: 40px;
		padding-left: 40px;
		margin-top: 20px!important;
		margin-bottom: 20px!important;
		text-align: center;
	}
}

.single-project .et_pb_blurb_content {
	max-width: 100% !important;
}

@media (min-width: 981px) {
	.et_pb_gutters3 .et_pb_column_2_3 .et_pb_module {
    	margin-bottom: 0 !important;
	}
}

.single-project .project_meta {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee; 
}


/* Set the image widths */
.et_pb_filterable_portfolio_grid .et_pb_portfolio_item,
.et_pb_filterable_portfolio_grid .column_width,
.et_pb_filterable_portfolio_grid .et_pb_portfolio_image,
.et_pb_filterable_portfolio_grid .et_pb_portfolio_image.portrait img
{
/*    width: 526px !important;*/
	width: 48.75% !important;
}
.et_pb_filterable_portfolio_grid .et_pb_portfolio_image img
{
    /*min-width: 526px;*/
	min-width: 48.75% !important;
}

/* Set the image heights */
.et_pb_filterable_portfolio_grid .et_pb_portfolio_image,
.et_pb_filterable_portfolio_grid .et_pb_portfolio_image.landscape img
{
    height: 530px !important;
}
.et_pb_filterable_portfolio_grid .et_pb_portfolio_image img
{
    min-height: 530px;
}

/* Set the spacing between images */
.et_pb_filterable_portfolio_grid .et_pb_portfolio_item { 
	margin-bottom:25px !important; 
	margin-right: 25px !important; 
}


.rplm-alert .content-wrap {
        background-color: #eee;
}

#map {
        min-height: 500px;  /* The height is 400 pixels */
        width: 100%;  /* The width is the width of the web page */
       
}

.single-project .nav-single {
	margin: 20px 0;
}