/* //////////////////////////////////////////////// */
/* .mydiv */
/* //////////////////////////////////////////////// */

* {
	box-sizing: border-box;
}

.mydiv {
	background-color: #fff;
	color: white;
}

.hometb {
	border-collapse: separate;
	border-spacing: 10px;
	margin: 0 auto;
}

.hometb td {
	width: 250px;
	height: 250px;
	font-size: 28px;
	line-height: 28px;
	padding: 20px;
	position: relative;
}

.hometb td span {
	display: block;
	font-size: 45px;
	line-height: 45px;
	margin-bottom: 0px;
}

.hometb td.tdh1 {
	background-color: #007eef;
}
.hometb td.tdh2 {
	background-color: #006cce;
}
.hometb td.tdh3 {
	background-color: #0154a0;
}
.hometb td.tdh4 {
	background-color: #aeaeae;
}

.hometb td a {
	display: block;
	color: white;
}
.hometb td a:hover {
	text-decoration: none;
	color: #333;
}
.hometb td:hover {
	background-color: #c9c9c9;
}

h2 {
	font-size: 25px;
	text-transform: uppercase;
	color: #003e7a;
	text-align: center;
	margin-bottom: 0;
	font-weight: bold;
}
.accroche {
	color: #b1b1b1;
	text-align: center;
	font-size: 16px;
}

.type_cartes {
	width: 255px;
	height: 160px;
	/* float:left; */
	display: inline-block;
	text-align: center;
	position: relative;
	padding: 10px;
	margin: auto;
}

.type_cartes .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1000;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	border-radius: 10px;
}
.type_cartes .overlay:hover {
	opacity: 1;
}
.type_cartes .overlay p {
	padding: 15px;
	font-size: 18px;
	color: #ffffff;
	text-align: center;
}

.anniversaire {
	background: #f29400;
}
.cadeau {
	background: #005680;
}
.superheros {
	background: #fab500;
}
.coeur {
	background: #e8a1bf;
}
.fdm {
	background: #e276a5;
}
.fdp {
	background: #79aaf0;
}
.merciM {
	background: #2b2b2b;
}
.atelier {
	background: #ca713e;
}
.academie {
	background: #75a3ff;
}
.retraite {
	background: #5da55d;
}
.naissance {
	background: #aab3b7;
}

.btn_offre {
	border-radius: 5px;
	background: #f36f21;
	font-size: 25px;
	color: #fff;
	text-align: center;
	padding: 10px 30px;
	text-decoration: none;
}
.btn_offre:hover {
	background: #ffffff;
	border: solid 1px #f36f21;
	color: #f36f21;
	text-decoration: none;
}

#zone_video {
	background: #e8f8ff;
	padding: 20px 0;
	margin: 30px 0;
	text-align: center;
}

#zone_reassurance {
	width: 900px;
	margin: 10px auto;
}
.reassurance {
	width: 20%;
	float: left;
	text-align: center;
}

.reassurance p {
	color: #afafaf;
	text-transform: uppercase;
	font-size: 14px;
	line-height: normal;
}

#zone_pro_solde {
	width: 90%;
	margin: 10px auto 30px auto;
}
#espace_pro {
	background: url(../img/home/espace_pro.png) no-repeat right #003e7a;
	width: 47%;
	float: left;
	padding: 10px 20px;
	text-align: center;
	margin: 10px 5px;
}
#espace_pro .btn {
	border-radius: 5px;
	background: #ffffff;
	font-size: 18px;
	color: #003e7a;
	text-align: center;
	padding: 10px;
	text-decoration: none;
	margin-bottom: 20px;
}
#espace_pro .btn:hover {
	background: #f36f21;
	color: #ffffff;
}

.border_solde {
	border: 3px dashed #e6e60091;
	padding: 5px;
}

#espace_pro h3,
#solde_carte h3 {
	font-size: 20px;
	text-transform: uppercase;
	font-weight: bold;
	color: #e7161c;
}
#solde_carte h4 {
	font-weight: bold;
	font-size: 19px;
	color: #003e7a;
}

#solde_carte label {
	font-size: 15px;
	color: #003e7a;
}

#solde_carte {
	padding: 20px 10vw;
	text-align: center;
	margin: 10px 5px;
	color: #003e7a;
}
#solde_carte .btn {
	border-radius: 5px;
	background: #ffffff;
	font-size: 18px;
	color: #7ab9d5;
	text-align: center;
	padding: 10px;
	text-decoration: none;
	margin-bottom: 20px;
}
#solde_carte .btn:hover {
	background: #f36f21;
	color: #ffffff;
}

#solde_carte .helpbt {
	width: 23px;
	height: 23px;
	border: 1px solid #003e7a;
	background-color: #003e7a;
	color: #ffffff;
	display: inline-block;
	border-radius: 50%;
	text-align: center;
	font-weight: bold;
}

#solde_carte .helpbt:hover {
	background: #003e7a;
	color: #ffffff;
}

#solde_carte .helpbtmessage {
	width: 40px;
	height: 45px;
	border: 1px solid #003e7a;
	background-color: #003e7a;
	color: #ffffff;
	display: inline-block;
	border-radius: 50%;
	text-align: center;
	font-weight: bold;
}

#solde_carte .imgsolde {
	width: 87%;
	margin-top: 8vh;
}

#zone_edito {
	margin-bottom: 40px;
}
#zone_edito p {
	text-align: center;
	color: #003e7a;
	font-size: 16px;
}

@media (max-width: 1199px) {
	.hometb td {
		width: 210px;
		height: 210px;
		font-size: 18px;
		line-height: 18px;
	}
	.hometb td span {
		font-size: 36px;
		line-height: 36px;
	}

	.type_cartes {
		max-width: 225px;
		height: auto;
		width: auto;
		margin: 10px 5px;
		padding: 0;
	}
	.type_cartes .overlay p {
		font-size: 16px;
	}

	#solde_carte .imgsolde {
		width: 90%;
		margin-top: 30%;
	}
}

@media (max-width: 992px) {
	.hometb td {
		width: 180px;
		height: 180px;
		font-size: 16px;
		line-height: 16px;
	}
	.hometb td span {
		font-size: 26px;
		line-height: 26px;
	}
	#zone_reassurance {
		width: 100%;
	}

	#solde_carte .imgsolde {
		width: 100%;
		margin-top: 60%;
	}
}

@media (max-width: 767px) {
	.hometb td {
		display: block;
		width: 100%;
		min-height: 300px;
		font-size: 20px;
		line-height: 20px;
		text-align: center;
		margin-bottom: 10px;
	}
	.hometb td a {
		width: 100%;
		height: 100%;
		margin-top: 30%;
	}

	.hometb td span {
		font-size: 36px;
		line-height: 36px;
	}

	#zone_reassurance {
		width: 100%;
	}
	#zone_pro_solde {
		width: 100%;
	}
	#espace_pro .btn,
	#solde_carte .btn {
		font-size: 14px;
	}
	#solde_carte .imgsolde {
		width: 50%;
		margin-top: 5vh;
	}
}

@media (max-width: 430px) {
	.hometb td {
		width: 235px;
		min-height: 235px;
	}
	.hometb .tdh3 a {
		margin-top: 20%;
	}

	#zone_reassurance {
		width: inherit;
	}
	.reassurance {
		width: inherit;
		float: none;
	}
	#zone_pro_solde {
		width: 100%;
	}
	#espace_pro,
	#solde_carte {
		width: 80%;
		float: none;
		margin: 10px auto;
	}

	#solde_carte .imgsolde {
		width: 90%;
		margin-top: 4vh;
	}
}
