:root {
	--main-color: #AD0054;
	--main-gradient: linear-gradient(90deg,rgba(173, 0, 84, 1) 0%, rgba(173, 0, 124, 1) 56%, rgba(127, 109, 192, 1) 100%);

	--main-text-color: #3a454a;
	--btn-primary-bgColor: #DB006A;
	--btn-primary-bgColor-hover: #FF007B;
	--bg-color-2nd: #ebf0f2;
	--bg-color-header: #AD0054;
	--bg-color-header-activ: #860041;
	--bold-font : Lato-Bold, Arial, sans-serif;
	--regular-font : Lato-Regular, Arial, sans-serif;
	--light-font : Lato-Light, Arial, sans-serif;
	--sideBar-width : 320px;
}

@font-face {
	font-family: 'Lato-Bold';
	src: url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-bold-webfont.eot');
	src: url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-bold-webfont.eot?#iefix') format('embedded-opentype'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-bold-webfont.woff') format('woff'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-bold-webfont.ttf') format('truetype'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-bold-webfont.svg#webfont') format('svg');
}
@font-face {
	font-family: 'Lato-Light';
	src: url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-light-webfont.eot');
	src: url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-light-webfont.eot?#iefix') format('embedded-opentype'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-light-webfont.woff') format('woff'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-light-webfont.ttf') format('truetype'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-light-webfont.svg#webfont') format('svg');
}
@font-face {
	font-family: 'Lato-Regular';
	src: url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-regular-webfont.eot');
	src: url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-regular-webfont.eot?#iefix') format('embedded-opentype'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-regular-webfont.woff') format('woff'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-regular-webfont.ttf') format('truetype'), url('//static.cybercartes.com/layouts/cyb_default/fonts/lato-regular-webfont.svg#webfont') format('svg');
}

.displayNone{
	display: none !important;
}

html, body {
 	font-family: var(--regular-font);
	color: var(--main-text-color);
 	min-height: 100%;
}

body {
    padding-bottom: 60px;
}

footer{
	position: fixed;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	height: 60px;
	line-height: 60px; /* Vertically center the text there */
	background-color: #f5f5f5;
}

a:hover {
	text-decoration: none;
}

h1{
	font-size: 1.6rem;
	/* line-height: 1.4em; */
}

/*surcharge*/
.btn {
	border-radius: 2rem;
}

.btn-link {
	color: var(--main-text-color);
}
.btn-link:hover {
	color: var(--main-text-color);
}

.btn-primary {
	background-color: var(--btn-primary-bgColor);
	border-color: var(--btn-primary-bgColor);
}
.btn-primary:hover {
	background-color: var(--btn-primary-bgColor-hover);
	border-color: var(--btn-primary-bgColor-hover);
}

.alert-success {
    background-color: #6c757d;
    color: #fff;
    width: 100%;
}

.navbar-brand {
	/* padding-left: 2rem;
	padding-right: 3rem; */
}

.nav-item {
	width: 100%;
}

.nav-item.active .nav-link  {
	background-color: #D2D8DA;
}

.nav-link {
	color: var(--main-text-color);
	margin: 2px 8px;
    border-radius: 10px;
}
.nav-link:hover {
	color: var(--main-text-color);
	background-color: #e0e4e9;
}

.nav-link svg {
	width: 1.3rem;
	margin-right: 4px;
	color: #b0a7ac;
}

.nav-link:hover svg,
.nav-item.active .nav-link svg {
	color: var(--main-text-color);
}
/*sideBar*/

.sidebar{
	position: fixed;
	top: 0;
	max-width: var(--sideBar-width);
	flex: 0 0 var(--sideBar-width);
	height: 100vh;
	background-color: var(--bg-color-2nd);
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
	font-size: 19px;
	padding: 102px 0 0 0;
}

.main {
	margin-left: var(--sideBar-width);
}

h1 .svgUserIcon,
h1 .svgBirthdaycakeIcon
{
	width: 2rem;
}

h1 .bi-envelope-paper-heart-fill
{
	width: 1.4rem;
	height: 1.4rem;
	margin-right: 9px;
}

.btn .svgPlusIcon,
.btn .svgModifIcon,
.btn .svgEyeIcon,
.btn .svgTrashIcon
.btn .svgSendingCardIcon,
.btn .bi-info-lg
{
	margin-top: -0.3ex;
}

.svgPlusIcon,
.svgBirthdaycakeIcon,
.bi-envelope-paper-heart-fill,
.svgLogoutIcon,
.svgModifIcon,
.svgSendingCardIcon,
.svgTrashIcon,
.svgUserIcon
{
	width: 1.3rem;
	margin-top: -0.5ex;
}

.sendingBtn:hover {
	background-color: #CA0A6D;
	border-color: #CA0A6D;
}

.main-content {
	margin: 15px 0 50px 0;
	padding-top: 1.5rem;
    padding-bottom: 1rem;
    padding-left: 30px;
    padding-right: 30px;
	background-color: #fff;
}

.myccTabHeader {
	background-color: var(--bg-color-2nd);;
	line-height: 60px;
	font-size: 1em;
	font-weight: 600;
}

.myccTabLine {
	border-radius: 5px;
	line-height: 45px;
	font-size: 1em;
	margin-bottom: 20px;
	padding-bottom: 10px;
	background: #f3f3f3;
}

#sending .myccTabLine {
	line-height: 1.8em;
	padding-top: 1em;
	padding-bottom: 1em;
}

.myccTabLine:HOVER {
	background: #e0e4e9;
	color: #515151;
}

.myccTabTitle {
	margin-right: 5px;
}

.card {
	width: 100%;
}

.footer_text {
	display: none;
}

.scrollup {
    display: none;
}

.scrollup>span {
    width: 40px;
    height: 40px;
	filter: alpha(opacity=30);
    opacity: .3;
    position: fixed;
    bottom: 70px;
    right: 10px;
    background: url(../img/icon_top.png) no-repeat;
    z-index: 1000;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	-o-transition: opacity .5s;
	transition: opacity .5s;
}

.scrollup>span:hover {
	filter: alpha(opacity=65) !important;
    opacity: 0.65 !important;
}

.mobAreaCodeContainer{
	margin-left: 5px;
	color: #ccc;
}

/*Home*/
.button-container {
	display: grid;
	grid-auto-flow: row;
	gap: 1rem;
	justify-self: center;
	justify-content: center;
}

.hbtn {
	padding : 1rem 2rem;
}

/*View sended Card*/
#fallbackImage,
#cardMedia,
.cardMessageBody {
	margin: 10px;
	border-radius: 20px;
}
.cardMessageBody {
	display: flex;
	justify-content: center;
	background-color: #A8E1F6;
}
#cardMessage,
#cardNoMessage{
	width: 90%;
	min-height: 6em;
	font-size: 20px;
}
#cardNoMessage{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
    color: #6EB7D1;
    text-align: center;
    line-height: 24px;
    margin-bottom: 15px;
}
.noTextPicto{
	width: 10%;
    height: 55px;
}
.hbtn {
	padding : 1rem 2rem;
}

/*Connexion*/
.offLineBlock {
	margin-top: 80px;
	margin-bottom: 40px;
}

/*SM devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
	.card-text{
		font-size: 1em;
	}
}

/*MD devices (tablets, 768px and up)*/
@media (min-width: 768px) {
	.footer_text {
		display: inline;
	}

	.rmdMonEmail{
		font-size: 1em;
	}

	header{
		margin-bottom: 1.5rem;
	}

	.card-text{
		font-size: 1.6em;
	}

	.myccTabLine > .text-truncate {
			max-width: 55vw;
	}
}

/*LG devices (desktops, 992px and up)*/
@media (min-width: 992px) {

}

/*XL devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
	.myccTabLine {
		border-radius: 0px;
		line-height: 60px;
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 2px solid #e9ecef;
	}

	.myccTabLine:nth-child(even) {
		background: #fafafa;
	}

	.myccTabLine:nth-child(odd) {
		background: none;
	}

	.myccTabLine:HOVER {
		background: #e0e4e9;
		color: #515151;
	}

	.myccTabLine:nth-last-child(-n+1) {
		border-bottom: none;
	}

	.rmdMonEmail{
		font-size: 1.6em;
	}

	.navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

/*MD devices (tablets, under 768px)*/
@media (max-width: 767px) {
    h1 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

	.sidebar {
		position: relative;
		height: auto;
		width: 100%;
		max-width: none;
		flex: auto;
		padding: 0;
	}
    .main {
        margin-left: 0;
	}

	.nav {
		justify-content: space-evenly;
	}
	.nav-item {
		width: auto;
	}
	.nav-link {
		background-color: #D2D8DA;
		/* border: solid 1px; */
		border-color: #D2D8DA;
		margin: 10px 2px;
		padding: .5rem 1.8rem;
	}
	.nav-link {
		text-align: center;
	}
	.nav-link svg {
		margin-right: 0;
	}
	.nav-link span {
		display: block;
	}

	.myccTabLine > .text-truncate {
			max-width: 90vw;
	}


	.offLineBlock {
		margin-top: 20px;
	}
}

@media (max-width: 1199px) {
	#sending .myccTabLine
	{
		line-height: 1.5em;
	}
}

@media (max-width: 1020px) {
	.col-buttons .btn
	{
		margin-right: 0.5rem!important;
	}
}

/*SM devices (landscape phones, under 575px)*/
@media (max-width: 575px) {
	.card-text{
		font-size: 1em;
	}

	.sidebar {
		font-size: 16px;
	}

	.nav-link {
		padding: .5rem;
	}
}

@media (max-width: 539px) {
    .main-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .myccTabLine {
        line-height: 2em;
    }
    .col-buttons {
        margin-top: 20px;
    }
    .col-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        line-height: 2em;
    }

	.myccTabLine > .text-truncate {
		max-width: 100vw;
	}
}
