/*
Theme Name: Smart Impact agence digitale genève
Theme URI:  https://www.smart-impact.ch
Author:     Smart Impact
Author URI: https://www.smart-impact.ch
Template:   castle
Version:    1.0
License:    GNU General Public License v2 or later
*/


.actualidades .events-wrapper {
    min-height: 500px !important;
}

.emptycontact
{
	width: 100%;
	margin-top: 96px;
}

@media only screen and (max-width: 768px)
{
	
	.bgheader
	{
		    max-height: 320px !important;
	}
	
	.mobilehide {height:16px !important;}

.newscx {	width: 100% !important;
padding: 0 0 24px 0;
}
.emptycontact
{
	width: 100%;
	margin-top: 0px;
}

.spacetop {
    padding-top: 0px;
}



	.metaslider, #metaslider_container_207 {
		margin-top: 50px !important;
	}

	/*a.cart-contents {
		top: 16px !important;
		left: auto !important;

		margin: -80px 0 0 -270px;
	}*/
	
.floatyfloata a.cart-contents {
    flex-basis: fit-content;
    margin: 0;
    top: unset!important;
    left: unset!important;
    position: relative;
    display: block;
    margin-top: 8px;
}
.floatyfloata {
    display: inline-flex;
}
}

input, textarea ,.select2-selection__placeholder {
	font-family: 'Montserrat', sans-serif;
	font-size : 15px;
}

/** Customize the archive page**/

#post-451 .wpb_text_column.wpb_content_element.actualidades .vc_row.wpb_row.vc_row-fluid, .actualidades .vc_row.wpb_row.vc_row-fluid  {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
} 

.text-align-left-p {
    line-height: 25px;
}

#post-451 .wpb_text_column :last-child, .vc_column_container.vc_col-sm-3.events-wrapper.newscx:last-child {
	margin-bottom: 12px;
}
.wpb_wrapper .wpb_column.vc_column_container.vc_col-sm-3.events-wrapper{
	margin: 12px!important;
}

/** change font size for menu DE **/

.lang-de nav ul li {
    font-size: 18px!important;
	margin: 0px 5px;
}

/** fix size **/

h1.fix-title-size {
    font-size: 38px;
    text-align: center;
}

.flex-it{
	display: flex;
    justify-content: center;
}

html[lang="de-DE"] li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-1331:last-child a {
    font-size: 0;
}

html[lang="de-DE"] li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-1331:last-child a::before {
    content: 'KAUFEN';
    font-size: 18px;
}

html[lang="de-DE"] li#rmp-menu-item-1331:last-child a{
    font-size: 0;
}

html[lang="de-DE"] li#rmp-menu-item-1331:last-child a::before {
    content: 'KAUFEN';
    font-size: 15px;
	display: block;
}

/* Edit Menu On mobile */
@media screen and (max-width: 768px) {
  #rmp-menu-wrap-2462 .rmp-menu-item-link {
    padding-right: 0 !important;
    width: 95% !important;
  }
}
/* Adjust Login on Header Mobile */
@media screen and (max-width: 768px) {
	#block-2 {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  padding: 5px 20px 5px 5px;
	}
}

.logged-out > a::before {
  font-family: FontAwesome;
  content: '\f007';
  display: flex;
  font-size: 24px;
}

.logged-out > a, .logged-in > a {
	display: flex;
	justify-content: center;
}

.logged-in > a::before {
  font-family: FontAwesome;
  content: '\f08b';
  display: flex;
  font-size: 24px;
}

/* Fix Woocommerce Shop products alignement */

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.woocommerce-shop .woocommerce-loop-product__title {
  		min-height: 57px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

@media screen and (min-width: 1025px) {
	.woocommerce-shop .woocommerce-loop-product__title {
	  min-height: 38px;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	}
}

/* Correc woocommerce panier */

#payment ul li label {
    width: 190px;
}
