/**
 * Place your custom styles here.
 */

@font-face {
    font-family: LatoBold;
    src: url("../fonts/Lato-Bold.ttf");
}

@font-face {
    font-family: LatoBoldItalic;
    src: url("../fonts/Lato-Bold-Italic.ttf");
}

@font-face {
    font-family: LatoRegular;
    src: url("../fonts/Lato-Regular.ttf");
}

@font-face {
    font-family: CoconRegular;
    src: url("../fonts/Cocon-Regular.ttf");
}

body {
	margin-top: 0;
	font-family: LatoRegular;
}

html body.navbar-is-fixed-top {
	margin-top: 63px;
}

h4, h5 {
/* 	font-weight: 500; */
	font-family: LatoBold;
}

[dir="ltr"] .cocon {
	font-family: CoconRegular;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.c-blue {
	color: #009fe3;
}

.bgc-blue {
	background-color: #009fe3;
}

.c-orange {
	color: #ea5321;
}

.bgc-orange {
	background-color: #ea5321;
}

.dot {
	height: 35px;
	width: 35px;
	border-radius: 50%;
	display: inline-block;
	color: #fff;
	text-align: center;
	padding-top: 10px;
	font-weight: bold;
}

a.btn-primary,
button.btn-primary {
	background-color: #009fe3;
}

label[for] {
	font-weight: bold;
    cursor: pointer;
}

.form-required:after {
	margin: 0 0.3em;
	background-size: 7px 7px;
	width: 7px;
}

select, select.form-control,
select:focus, select.form-control:focus {
	background-image: none;
}

.panel.required-fields > .panel-heading > .panel-title:after {
    background-image: url(../../../contrib/bootstrap/css/images/required.svg);
    content: "";
    display: inline-block;
    vertical-align: super;
    line-height: 1;
    height: 7px;
    margin: 0 0.3em;
    background-size: 7px 7px;
    width: 7px;
}

/**
 * HEADER 
 */
header#navbar {
	-webkit-box-shadow: 0 0 0 #fff;
	box-shadow: 0 0 0 #fff;
    margin-bottom: 0px;
} 

header a.logo img {
	width: 150px;
}

header #block-bootstrair-main-menu ul.menu--main > li > a {
	font-weight: bold;
	color: #009fe3;
}

header #block-bootstrair-main-menu ul.menu--main > li.active > a,
header #block-bootstrair-main-menu ul.menu--main > li.active > a:hover,
header #block-bootstrair-main-menu ul.menu--main > li.active > a:focus {
/* 	background-color: #ea5321; */
/* 	color: #fff; */
	background-color: #fff;
}

header#navbar ul.menu--main.navbar-nav li:last-child {
	display: none;
}

/**
 * INTRO 
 */
#block-maskair-introduction {
	background: url("../images/intro_bg.png") no-repeat;
	background-size: cover;
    height: 700px;
    position: relative;
}

#block-maskair-introduction div.container {
	margin-top: 150px;
}

#block-maskair-introduction img#intro-logo {
	width: 250px;
	margin-bottom: 5px;
}

#block-maskair-introduction img#intro-appstore,
#block-maskair-introduction img#intro-googleplay {
	width: 150px;
	margin-bottom: 8px;
}

#block-maskair-introduction span#intro-text-primary {
	font-size: 30px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 6px;
}

#block-maskair-introduction span#intro-text-secondary {
	font-size: 18px;
	font-family: LatoRegular;
}

#block-maskair-introduction span#intro-text {
	color: #000;
	font-family: LatoBoldItalic;
}

/**
 * APP
 */
#block-maskair-app {
	padding: 50px 0 50px 0;
	background-image: url(../images/wave_2.png);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position-y: bottom; 
}

#block-maskair-app #question {
	background: url("../images/question.png") center center no-repeat;
	background-size: 100px;
    min-height: 185px;
}

#block-maskair-app #allergic h5.c-blue:before {
	content: "> ";
	color: #ea5321;
}

#block-maskair-app h5.c-orange {
	padding: 50px 0 25px 0;	
}

#block-maskair-app h5.c-orange:before {
	content: "> ";
	color: #009fe3;
}

#block-maskair-app div.table-responsive {
	-moz-box-shadow: 0px 0px 15px 5px #cfcfcf;
	-webkit-box-shadow: 0px 0px 15px 5px #cfcfcf;
	-o-box-shadow: 0px 0px 15px 5px #cfcfcf;
	box-shadow: 0px 0px 15px 5px #cfcfcf;
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#cfcfcf,
		Direction=NaN, Strength=15);
}

#block-maskair-app div.table-responsive table {
	margin-bottom: 0px;	
}

#block-maskair-app table td,
#block-maskair-app table th {
	vertical-align: middle;
	border: none;
}

#block-maskair-app table.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #ececec;
}

#block-maskair-app table.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fff;
}

#block-maskair-app table thead tr:nth-child(1) {
	background-color: #009fe3;
	color: #fff;
}

#block-maskair-app table thead tr:nth-child(2) {
	background-color: #333333;
	color: #ccc;
}

#block-maskair-app table thead tr:nth-child(2) th {
	font-weight: normal;
}

#block-maskair-app table thead tr:nth-child(2) th:nth-child(1) {
	color: #fff;
	text-align: center;
}

#block-maskair-app table thead tr:nth-child(2) th:nth-child(2) {
	color: #fff;
	font-weight: bold;
}

#block-maskair-app table img {
	width: 25px;
}

#block-maskair-app table ul {
	padding-left: 0px;	
}

#block-maskair-app table ul li {
	list-style-type: none;
}

#block-maskair-app table ul li::before {
	content: "> ";
}

#block-maskair-app #take-control img {
	width: 40px;
}

#block-maskair-app #take-control div.text:before {
	content: "> ";
}

#block-maskair-app #take-control div#take-control-block {
    background-color: #fff;
/*     padding: 15px; */
}

#block-maskair-app #take-control div.take-control-block-content {
	padding: 0;
	margin: 20px 0;
} 

/**
 * 7-DAY
 */
#block-maskair-7day .seven-day {
	padding: 50px 0;
}

#block-maskair-7day .seven-day img {
	width: 100px;
}

#block-maskair-7day .seven-day p,
#block-maskair-7day .seven-day h4 {
	color: #fff;
}

#block-maskair-7day #seven-day-one {
    background-color: #1da1e1;
}

#block-maskair-7day #seven-day-one #health {
	background: url("../images/wave.png") left center no-repeat;
	background-size: 400px;
    min-height: 250px;
}

#block-maskair-7day #seven-day-one .logo {
	margin-top: -8px;
}

#block-maskair-7day #seven-day-one h5.title-img {
	color: #fff;
}

#block-maskair-7day #seven-day-one h5.title-img:before {
	content: "> ";
	color: #fff;
}

#block-maskair-7day div#seven-day-two {
	background-color: #21b2e9;
}

#block-maskair-7day div#seven-day-three {
	background-color: #20ace6;
}

#block-maskair-7day div#seven-day-four {
	background-color: #1fa8e4;
}

#block-maskair-7day div#seven-day-five {
	padding: 20px;
	background-color: #1da1e1;
}

#block-maskair-7day div#seven-day-five .dot {
	background-color: #1da1e1;
	position: absolute;
	margin: 0 auto;
    left: 0;
    right: 0;
}

/**
 * MEDIA
 */
#block-maskair-media img.mobile {
	width: 250px;
	margin-right: 250px;
    margin-top: 40px;
}

#block-maskair-media #carousel {
	padding-top: 50px;
}

#block-maskair-media #carousel .carousel-caption {
	top: 25%;
}

#block-maskair-media #carousel .carousel-controls span.glyphicon {
	color: #000;
}

#block-maskair-media #carousel h5 {
	text-shadow: none;
	color: #333;
}

#block-maskair-media #carousel h5.secondary {
	color: #ea5321;
}

#block-maskair-media #carousel .dot {
	padding-top: 1px;
	font-size: 14pt;
	font-weight: bold;
}

#block-maskair-media #carousel .item{
	background: url("../images/wave.png") 85% top no-repeat;
	background-size: 400px;
}

#block-maskair-media #video {
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%), url("../images/video_bg.png") no-repeat;
	background-size: cover;
    height: 700px;
    text-align: center;
    clear: both;
    margin-bottom: 150px;
    position: relative;
}

#block-maskair-media #video #video-wrapper {
	max-width: 570px;
}

#block-maskair-media div#mobile-7day {
	position: relative;
}

#block-maskair-media div#mobile-7day #seven-7day {
	padding-top: 30px;
}

#block-maskair-media div#mobile-7day #seven-7day img {
	width: 100px;
}

div#mobile-7day .dot {
    background-color: #f2f2f3;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 40px;
}

div#mobile-7day h4 span.label {
	font-size: 14pt;
	font-weight: bold;
}

/**
 * TEAM
 */
#block-maskair-team .row {
	margin-top: 40px;	
}

#block-maskair-team img.team-logo,
#block-maskair-team img.bousquet-picture {
	width: 150px;
	margin-bottom: 10px;
}

#block-maskair-team div.aria img {
	width: 100px;
}

#block-maskair-team div.partners .row {
	margin-top: 10px;
}

#block-maskair-team div.partners a[class*='col-'] {
	padding: 0;
}

#block-maskair-team div.partners .logo-um img,
#block-maskair-team div.partners .logo-macvia-france img {
	width: 100px;
}

#block-maskair-team div.partners .logo-eip-aha img,
#block-maskair-team div.partners .logo-um img {
	margin-top: 10px;
}

#block-maskair-team div.partners .logo-uees img {
	width: 130px;
}

#block-maskair-team div.partners .logo-chu-montpellier img,
#block-maskair-team div.partners .logo-occitanie img {
	width: 70px;
}

#block-maskair-team div.partners .logo-eip-aha img,
#block-maskair-team div.partners .logo-chu-nimes img {
	width: 90px;
}

#block-maskair-team div.euforea img {
	width: 150px;
}

/**
 * FOOTER 
 */
footer.footer {
	background-color: #333333;
	color: #fff;
}

footer.footer a {
	color: #fff;
}

footer.footer h2.block-title {
	font-size: 20px;
	color: #fff;
	text-transform: uppercase;
}

footer.footer .block-wrapper.site h2 {
	height: 35px;
	background: url("../images/logo_white.png") no-repeat;
	background-size: 150px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	margin-top: 12px;
}

footer.footer .block-wrapper.site p {
	text-align: justify;
}

footer.footer .block-wrapper.menu ul {
	padding-left: 0;
}

footer.footer .block-wrapper.menu li {
	list-style-type: none;
}

footer.footer .block-wrapper.contact a img {
	width: 24px;
	margin-right: 10px;
}

footer.footer .copyright {
	margin-top: 30px;
}

footer.footer .block-wrapper.contact a.peercode img {
	width: 150px;
	margin-top: 20px;
}

/**
 * OTHERS
 */

#block-languagedropdownswitcher {
	float: right;
	padding: 12px 0 0 60px;
}

#block-languagedropdownswitcher select.lang-dropdown-select-element {
	background-image: none;
}


a.carousel-control.left,
a.carousel-control.right {
	background-image: none;
	color: #ea5321;
}
	
/**
 * WAVES
 */

.wave {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: auto; /* to keep proportions */
	height: auto; /* to keep proportions */
	max-width: 100%; /* not to stand out from div */
	max-height: 100%; /* not to stand out from div */
}

#wave-1 {
	margin: auto auto 0; /* position to bottom and center */
}

#wave-3 {
	margin: 0 auto auto; /* position to top and center */
	position: relative;
}

#wave-4 {
	margin: auto auto 0; /* position to bottom and center */
	z-index: -10;
}

/**
 * LEGAL NOTICE
 */
article[data-history-node-id="2"] h2 {
        font-size: 26px;
        color: #ea5321;
        border-bottom: 2px solid #f4f4f4;
}

article[data-history-node-id="2"] h3 {
        font-size: 26px;
        color: #009fe3;
}

/**
 * LOGIN PAGE
 */
body.path-user.not-logged-in form.center-block {
    border: 1px solid;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    border-color: #dddddd;
    padding: 15px;
    float: none;
}

body.path-user.not-logged-in .page-header, body.path-user.not-logged-in ul.tabs--primary.nav-tabs {
    text-align: center;
}

body.path-user.not-logged-in ul.tabs--primary.nav-tabs li {
    float: none;
    display: inline-block;
}

/**
 * ARTICLE NODE VIEW / EDIT
 */
article.article {
	font-family: LatoBold;
}

article.article div.left-side {
	float: left;
	padding: 0 15px 15px 0;
}

article.article div.left-side img {
	background-color: #F8F8F8;
}

article.article div.right-side {
}

article.article div.field--name-field-type {
	text-transform: uppercase;
	color: #009fe3;
}

article.article div.field--name-body {
	text-align: justify;
}

article.article div.article-title a {
	font-size: 18px;
	color: #070549;
}

article.article div.field--name-field-date {
	text-transform: uppercase;
	color: #999;
}

article.article div.field--name-field-files div.field--item {
	display: inline-block;
}

body.page-node-type-article h1.page-header {
	font-size: 20px;
}

body.page-node-type-article.entity-node-canonical h1.page-header {
	display: none;
}

form.node-form #edit-field-type--wrapper legend {
	display: none;
}
/**
 * ARTICLE LIST
 */
div.view-article.view-display-id-list .views-row {
	margin-bottom: 50px;
}

body.path-article h1.page-header {
	text-transform: uppercase;
	color: #009fe3;
}

/**
 * ARTICLE MANAGE
 */
div.view-article.view-display-id-manage .table-responsive {
	overflow-x: inherit;
}

div.view-article.view-display-id-manage .dropdown-menu {
	min-width: auto;
}

/**
 * USER MENU
 */
body.not-logged-in ul.menu--account li a {
	background: #009fe3;
    color: white;
}

body.not-logged-in ul.menu--account li a:hover {
	background-color: #0d87e9;
    color: white;
}
