/*styles menu*/
html{
    min-height:100%;
    position:relative;
}
body{
    height:100%;
    margin:0;
    padding-bottom: 100px;
}
a:active {
	color: #000!important;
}
a:hover {
	color: #000!important;
}
a:visited {
	color: #000!important;
}
.darker {
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	position: absolute;
	height: 100%;
	top: 0;
	z-index: 2;
	display: none;

}
header {
	width:100%;
	height:70px;
	background-color:#54cfea;
	position:fixed;
	z-index:3;
	overflow: hidden;
	display: flex !important;
	align-items: center;
}
#mobile_header {
	width:100%;
	height:70px;
	background-color:#54cfea;
	position: fixed;
	overflow: hidden;
	display: flex !important;
	align-items: center;
}
#desktop_header {
	display: none!important;
}
.desktop_menu {
	display: none;
	height: 40px;
	width: 100%;
	background-color: #d42065;
	position: fixed;
	z-index: 2;
	top:100px;
	overflow: hidden;
}
.menu_item_desktop {
	width: 20%;
	text-align: center;
	color: white;
	font-family: 'Lato', sans-serif;
	float: left;
	font-size:1em;
	letter-spacing:4px;
	display: flex;
	justify-content: center;
	align-items:center;
	height: 40px;
}
.hamburger_btn {
	width: 5%;
	float:right;
	position: absolute;
	right: 0;
	margin-right: 5%;
}
.logo {
	color: white;
	font-family: 'Lato', sans-serif;
	font-size:2em;
	letter-spacing:4px;
	padding-left: 2%;
	float: left;
}
.logo2 {
	font-family: 'Sacramento', cursive;
	font-size:4.4em;
	color: white;
}
.mobile_menu {
	background-color: #54cfea;
	width: 60%;
	position: fixed;
	top: 70px;
	left:-60%;
	z-index: 3;
	height: 100%;
	text-align: center;
	padding-top: 5%;
	display: none;
}
.container_login_icon {
	margin-bottom: 5%;
}
.home_icon {
	width: 12%;
	margin-top: 10%;
}
.back_icon {
	width: 5%;
	margin-top: 10%;
}
.container_menu_items {
	border: thin solid white;
	width: 50%;
    margin: 0 auto;
    margin-bottom: 5%;
}
.container_menu {
	color: white;
	font-family: 'Lato', sans-serif;
	font-size:.8em;
	letter-spacing:5px;
	float:right;
	padding-right: 2%;
	width: 80%;
	text-align: right;
}
.menu_item {
	margin-right: 5%;
}

.my_links {
	color:#000!important;
}
a:link {
	color:#000;
	text-decoration: none !important;
}


/*styles index*/
#background_index {
	background-color:#000;
}
.container_cover {
	width:100%;
}
.container_desktop {
	display: none;
}

/*styles palette section*/
.main_container_colours {
	width: 100%;
	margin-top: 10%;
	margin-bottom: 10%;
}
.colour {
	width: 50%;
	margin: 0 auto;
	height: 60px;
	margin-bottom: 5%;
}
#white {
	background-color: #f7f4df;
	color: #261715;
	font-weight: 400;
}
#yellow {
	background-color: #f7f30f;
}
#orange {
	background-color: #f7b90f;
}
#red {
	background-color: #f24413;
}
#violet {
	background-color: #7038ab;
}
#green {
	background-color: #32a852;
}
#brown {
	background-color: #a37346;
}


/*stlyles recipe details page part1*/

.container_cover {
	width:100%;
	overflow:hidden;
	position: relative;
}
.container_img {
	width:100%;
}
.container_label {
	background-color: rgba(0, 0, 0, 0.2);
	width:100%;
	position: absolute;
	padding-left: 2%;
	padding-right: 2%;
	top: 0;
	z-index: 1;
	color: white;
}
.name_category {
	font-family: 'Lato', sans-serif;
	font-size:1em;
	letter-spacing:5px;
	z-index: 2;
	padding-top: 2%;
}
.white {
	color: white;
}
.form_style {
	margin-bottom: 5%;
}
.title_recipes {
	font-family: 'Libre Baskerville', serif;
	font-size:2.5em;
	margin-bottom:6%;
	margin-top: 6%;
}
.title_fases_recipes {
	font-family: 'Libre Baskerville', serif;
	font-size: 1em;
	color: #fc03a9;
	font-weight: 700;
}
.title_recipes_desc {
	font-family: 'Libre Baskerville', serif;
	font-size:2.5em;
	margin-bottom:0;
	margin-top: 6%;
}
.link_recipe {
	color: #fc03a9!important;
	font-weight: 700;
}
.link_recipe:visited {
	color: #fc03a9!important;
	font-weight: 700;
}
.name_dish {
	font-family: 'Libre Baskerville', serif;
	font-size:2em;
	padding-bottom: 2%;
	line-height: 1;
}
.ingredient_name {
	font-family: 'Lato', sans-serif;
	border-bottom:#efefef thin solid;
	margin-bottom:2%;
}
.container_infos {
	width: 80%;
	overflow: hidden;
	display: flex;
	justify-content:center;
	padding-top: 8%;
	margin: 0 auto;
}
.container_img_cover {
	position: relative;
}
.container_share {
	width: 100%;
	background-color: #f7f6f2;
	text-align: center;
	padding: 5% 0;
}
.container_main_recipe {
	padding-top: 70px;
}
.share_icons {
	width: 15%;
	padding: 0 3%;
}
.box_infos {
	width: 10%;
	float: left;
	margin: 0 auto;
	text-align: center;
}
.info_icons {
	width: 100%;
}
.details_infos {
	font-size:1em;
	letter-spacing:normal;
	font-weight:300;
	padding-top:5%;
}

/*stlyles recipe details page part2*/
.container_recipes {
	padding-left: 3%;
	padding-right: 3%;
}
.container_recipes:last-child {
	background-color: #efefef;
}
.paragraph {
	width:90%;
}
.basic_txt {
	font-size:1.5em;
	padding-bottom:4%;
	line-height:1.3;
	font-family:'Lato', sans-serif;
	font-weight: 400;
	color: #4d4b4f;
}
.highlite {
	font-family:'Lato', sans-serif;
	font-weight: 700;	
}
.highlite2 {
	font-family:'Lato', sans-serif;
	font-weight: 400;	
}
.highlite_ingredient {
	font-family:'Lato', sans-serif;
	font-weight: 700;	
	margin-bottom: 5%;
}
.reminder {
	text-decoration: underline;
	color: #54cfea;
	cursor: pointer;
}
.box_reminder {
	width: 100%;
	height: 60px;
	color: #bfbfbd;
	position: fixed;
	bottom: 0;
	font-family:'Lato', sans-serif;
	padding-right: 2%;
	padding-left: 2%;
	display:flex;
	align-items:center;
	overflow: hidden;
	padding-left: 10%;
	z-index: 3;
	font-style: italic;
	font-size: 1.5em;
	background: url("img/icons/recipe/close.png");
    background-repeat: no-repeat;
    background-size: 10px 10px;
	background-color: #fcfcf5;
	background-position: 90%;
}
.num {
	float:left;
	width: 10%;
}
.txt {
	float:left;
	width: 100%;
}
.other-recipes {
	background-color:#90e7eb;
	background-image:url(img/pane_cover.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	width:25%;
	float:left;
	margin-top:10%;
	margin-left:5%;
	display:flex;
	align-items:center;
	justify-content:center;
	height:6em;
	color:#FFF;
	font-size:2em;
}
.container_other {
	text-align: center;
	width: 100%;
	margin-top: 5%;
	margin-bottom: 10%;
}
.icon_other {
	width: 20%;
	border-radius: 50%;
}
.txt_other {
	font-size: 1.5em;
	letter-spacing:5px;
	color: #000;
}
.red {
	color:#C00;
}
/*styles for recipe page in desktop*/
.container_main_recipe_desktop {
	display: none;
}
/*styles footer*/
footer {
	margin-top:5%;
	background-color:#f8f9fa;
	width:100%;
	padding-left:5%;
	padding-top:2%;
	overflow:hidden;
	padding-bottom: 5%;
	position: fixed;
	bottom: 0;
}
.newsletter {
	width:30%;
	padding-top:5%;
	padding-left:5%;
}
nav  {
	padding:0 !important;
}
.footer_txt {
	font-family: 'Lato', sans-serif;
	font-size:2em;
	font-weight:300;
	letter-spacing:2px;
}
.footer_txt2 {
	font-family: 'Lato', sans-serif;
	font-size:1.8em;
	line-height: 1.2;
	font-weight:300;
}
.footer-txt-small {
	font-family: 'Lato', sans-serif;
	font-size:0.5em;
	font-weight:300;
}
.container_social {
	overflow: hidden;
	text-align: center;
	width: 100%;
}
.social {
	width:10%;
	margin-right:8%;
	margin-top:5%;
	opacity: 0.7;
}
/*styles list_risotti*/
.container_thumb_infos {
	width:100%;
	overflow:hidden;
}
.thumb_img {
	width:50%;
	float:left;
}
.info_img {s
	width:50%;
	float:left;
}
.my_thumbs {
	width:50%;
	margin-left:50%;
}
/*styles ricettario*/
.main_title {
	font-size:4em;
	font-family:'Libre Baskerville', serif;
	text-align:center;
	padding-top:6%;
}
.medium_title {
	font-size:2em;
	font-family:'Libre Baskerville', serif;
	text-align:center;
	margin-top:5%;
}
.container_main_categories {
	width:100%;
	padding-left: 2%;
	padding-right: 2%;
	padding-top: 70px;
}
.container_categories {
	width:100%;
	margin:0 auto;
}
.container_categories:last-child{
	margin-right:0;
}
.single_category {
	height:150px;
	width:100%;
	margin-top:1%;
	font-family: 'Lato', sans-serif;
	letter-spacing:2px;
	color:#FFF;
	padding:2%;
	font-size:1em;
}
.general_drop {
	width:100%;
	background-color:#066;
	padding:3%;
}
#antipasti_category {
	background-image:url(img/menu_categorie/opt_mobile/antipasti_mobile.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#primi_category {
	background-image:url(img/menu_categorie/opt_mobile/primi_piatti_mobile.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#secondi_category {
	background-image:url(img/menu_categorie/opt_mobile/secondi_piatti_mobile.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#contorni_category {
	background-image:url(img/menu_categorie/opt_mobile/contorni_mobile.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#dolci_category {
	background-image:url(img/menu_categorie/opt_mobile/dolci_mobile.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#sfiziosita_category {
	background-image:url(img/menu_categorie/opt_mobile/sfiziosita_mobile.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#stagioni_category{
	background-image:url(img/primavera.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#colori_category {
	background-image:url(img/colori.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#tavola_category {
	background-image:url(img/tavola.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#viaggi_category {
	background-image:url(img/viaggi.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#fastfood_category {
	background-image:url(img/fastfood.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
#merenda_category {
	background-image:url(img/merenda.jpg);
	background-repeat:no-repeat;
	background-size:cover;
}
.name_main_category {
	color:#fff;
	padding-top:20%;
	letter-spacing:2px;
	font-size:2.5em;
}
.search_ingredient {
    display: flex;
    justify-content: center;
}
.sottomenu_categorie {
	color:#FFF;
	font-family:'Lato', sans-serif;
	font-weight:100;
	font-size: 2em;
	border-bottom:thin solid #fff;
	margin-bottom: 5%;
}

/*styles intermediate_risotti*/
.box_recipe {
	width: 100%;
	overflow: hidden;
	height: 100px;
	margin-bottom: 1%;
}
.photo_box_recipe {
	width: 40%;
	float: left;
	height: 100%;
}
.img_photo_box_recipe {
	width: 100%;
	height: 100%;
}
.container_infos_box_recipe {
	width: 60%;
	float: left;
	font-family:'Lato', sans-serif;
	padding-left: 1%;
	height: 100%;
	position: relative;
	background-color: #f2f2f2;
}
.name_box_recipe {
	color:#000;
	font-weight:500;
	font-size: 1.3em;
	margin-bottom: 0;
	line-height: 1.2em;
}
.type_box_recipe {
	color:#232629;
	font-weight:100;
	font-size: 1em;
	font-style: oblique;
}
.label_difficulty_simple {
	background-color: #118a0e;
	width: 40%;
	height: 30px;
	text-align: center;
	color: #fff;
	font-weight:100;
	font-size: 1em;
	position: absolute;
	bottom:0;
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	-webkit-justify-content: center;
  	align-items: center;
  	-webkit-align-items: center;
}
.label_difficulty_medium {
	background-color: #f5bc42;
	width: 40%;
	height: 30px;
	text-align: center;
	color: #fff;
	font-weight:100;
	font-size: 1em;
	position: absolute;
	bottom:0;
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	-webkit-justify-content: center;
  	align-items: center;
  	-webkit-align-items: center;
}
.arrow_read_recipe {
	width: 10%;
	position: absolute;
	right: 0;
	top:40%;
	height: 20%;
}

/*styles index*/
.container {
	width: 100% !important;
	padding: 0 !important;
	position: relative;
}
.desc_txt {
	font-size: 1.5em;
	color: #454746;
	font-family:'Lato', sans-serif;
	font-weight: 100;
	line-height: 1.2;
	margin-bottom: 5%;
}
.main_cta {
	background-color: #d42065;
	width: 60%;
	position: absolute;
	bottom: 10%;
	left: 20%;
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	-webkit-justify-content: center;
  	align-items: center;
  	-webkit-align-items: center;
	color: white;
	font-family:'Lato', sans-serif;
	font-size: 1.5em;
	font-weight: 500;
	height: 4em;
}
#green_cta {
	background-color: #11a106;
}
.main_cta_desktop {
	display: none;
}
.container_main_categories_general {
	width:100%;
	padding-left: 2%;
	padding-right: 2%;
	margin-top: 10%;
}
.main_cta_inverse {
	background-color: #fff;
	border: thin #d42065 solid;
	width: 60%;
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	-webkit-justify-content: center;
  	align-items: center;
  	-webkit-align-items: center;
	color: #d42065;
	font-family:'Lato', sans-serif;
	font-size: 1.5em;
	font-weight: 500;
	height: 4em;
	margin: 0 auto;
}

#myPopup {
	display: none;
	padding: 2%;
	background-color: #efefef;
	position: absolute;
	top: 5%;
	z-index: 3;
	width: 90%;
	margin-left:5%;
	margin-right: 5%;
}

.popup_cta {
	background-color: #d42065;
	width: 50%;
	margin-bottom: 10%;
	margin: 0 auto;
	left: 25%;
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	-webkit-justify-content: center;
  	align-items: center;
  	-webkit-align-items: center;
	color: white;
	font-family:'Lato', sans-serif;
	font-size: 1.5em;
	font-weight: 500;
	height: 4em;
}
@media (min-width: 768px) {
  /* For desktop: */
  	header {
		height:100px;
	}
	footer {
		margin-top:0;
		padding-bottom: 1%;
		padding-top: 1%;
	}
	.social {
		width: 3%;
		margin-top: 0;
		margin-right: 5%;
	}
	#mobile_header {
		display: none!important;
	}
	#desktop_header {
		display: block;
		width:100%;
		height:100px;
		background-color:#54cfea;
		/*position:fixed;*/
		overflow: hidden;
		display: flex !important;
		align-items: center;
		height: 50px;
	}
	.logo2 {
		font-size:3.5em;
	} 
	.desktop_menu {
		display: block;
		top:50px;
		background-color:#54cfea;
		border-top: thin white solid;
	} 
  	.container_desktop {
  		display: block;
  		width: 100%;
  		overflow: hidden;
  	}
  	.container {
  		width: 80%!important;
  		margin: 0 auto;
  	}
	.item_desktop {
		width:20%;
		float: left;
	}
	.main_cta {
		background-color: #d42065;
		width: 50%;
		position: absolute;
		top: 10%;
		left: 25%;
		display: flex;
		display: -webkit-flex;
		justify-content: center;
		-webkit-justify-content: center;
	  	align-items: center;
	  	-webkit-align-items: center;
		color: white;
		font-family:'Lato', sans-serif;
		font-size: 1.5em;
		font-weight: 500;
		height: 4em;
	}


	.main_cta_desktop {
		display: block;
		background-color: #d42065;
		width: 50%;
		position: absolute;
		top: 30%;
		left: 25%;
		display: flex;
		display: -webkit-flex;
		justify-content: center;
		-webkit-justify-content: center;
	  	align-items: center;
	  	-webkit-align-items: center;
		color: white;
		font-family:'Lato', sans-serif;
		font-size: 2em;
		font-weight: 500;
		height: 4em;
	}	
	.main_cta_inverse {
		background-color: #fff;
		border: thin #d42065 solid;
		width: 50%;
		display: flex;
		display: -webkit-flex;
		justify-content: center;
		-webkit-justify-content: center;
	  	align-items: center;
	  	-webkit-align-items: center;
		color: #d42065;
		font-family:'Lato', sans-serif;
		font-size: 2em;
		font-weight: 500;
		height: 4em;
		margin: 0 auto;
	}	
	.container_main_categories_general {
		margin-top: 5%;
		width: 80%;
		margin: 0 auto;
	}
	.container_main_categories {
		padding-top: 80px;
		width: 80%;
		margin: 0 auto;
	}
	.title_recipes_desc {
		margin-top: 4%;
		font-size: 3.5em;
	}
	.title_recipes {
		margin-top: 4%;
		font-size: 4em;
		margin-bottom: 4%;
	}
	.desc_txt {
		font-size: 2.5em;
		color: #454746;
		font-family:'Lato', sans-serif;
		font-weight: 100;
		line-height: 1.2;
		margin-bottom: 5%;
	}
	/*styles ricettario*/
	.single_category {
		height:150px;
		width:40%;
		margin:0 auto;
		margin-top: 1%;
	}
	.name_main_category {
		padding-top:8%;
		font-size:3.5em;
	}
	.general_drop {
		width:40%;
		margin: 0 auto;
	}
	/*styles intermediate*/
	.box_recipe {
		width: 960px;
		height: 250px;
		margin-bottom: 3%;
		margin-left: 2%;
	}
	.name_box_recipe {
		font-size: 2em;
	}
	.type_box_recipe {
		font-size: 1.5em;
	}	
	.label_difficulty_simple {
		height: 40px;
		font-size: 1.5em;
	}
	.label_difficulty_medium {
		height: 40px;
		font-size: 1.5em;
	}
	/*styles for recipe page*/
	.container_main_recipe {
		display: none;
	}
	.container_main_recipe_desktop {
		display: block;
		width: 70%;
		margin:0 auto;
		padding-top: 200px;
	}
	.container_title_desktop {
		border: medium #d42065 solid;
		padding: 5%;
	}
	.title_recipe_desktop {
		font-family: 'Libre Baskerville', serif;
		font-size: 5em;
		color: #000;
	}
    .name_category_desktop {
		font-family: 'Lato', sans-serif;
		font-size: 2em;
		color: #d42065;
		letter-spacing: 4px;
    }
    .container_img_rec_desktop {
    	margin-top: -4%;
    	margin-left: 5%;
    }
	.container_infos_desktop {
		width: 40%;
		display: flex;
		justify-content:center;
		padding-top: 8%;
		float: left;
	}
	.container_img_infos_desktop {
		overflow: hidden;
		width: 100%;
	}
	.container_img_desktop {
		float: left;
		width: 60%;
	}
	.container_recipes:last-child {
		background-color: #fff;
	}
	.container_recipes {
		padding-left: 0;
	}
	.icon_other {
		width: 10%;
		border-radius: 50%;
	}
	.container_share {
		width: 60%;
		padding: 2% 0;
	}
	#myPopup {
		display: none;
		padding: 2%;
		background-color: #efefef;
		position: absolute;
		top: 5%;
		z-index: 3;
		width: 90%;
		margin-left:5%;
		margin-right: 5%;
	}

	.popup_cta {
		background-color: #d42065;
		width: 50%;
		margin-bottom: 10%;
		margin: 0 auto;
		left: 25%;
		display: flex;
		display: -webkit-flex;
		justify-content: center;
		-webkit-justify-content: center;
	  	align-items: center;
	  	-webkit-align-items: center;
		color: white;
		font-family:'Lato', sans-serif;
		font-size: 1.5em;
		font-weight: 500;
		height: 4em;
	}	
}

