/* CSS3 Reset
---------------------------------------------------------------------- */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,var,b,i,dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,table,caption,article,aside,canvas,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,
mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;text-align: left;}
body{line-height:1;}
article,aside,canvas,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block;}
a{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;background:transparent;}
ins{background-color:#f1f191;color:#010201;text-decoration:none;}
mark{background-color:#f1f191;color:#010201;font-style:italic;font-weight:bold;}
del{ text-decoration:line-through;}
abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help;}
table{border-collapse:collapse;border-spacing:0;}
hr{display:block;height:1px;border:0;border-top:1px solid #c1c2c3;margin:1em 0;padding:0;}
input,select{vertical-align:middle;}
textarea{resize: none; }
ul {list-style: none;}
* {box-sizing: border-box; font-family: 'Mulish', 'Arial', sans-serif; }

html { font-size:16px; min-height: 100%; line-height:24px; }
body { font-size:1rem; font-family:  'Mulish', 'Arial', sans-serif; color: #333; line-height:24px; }
html, body { height: 100%; width: 100%; min-height: 100%; padding: 0 ;margin: 0; }

.wrap-col { display: flex; flex-direction: row; align-items: flex-start; justify-content: center; }
.wrap-col > .col { flex: 1; padding: 0 12px 0 12px; }
.hide { display: none; }

body { min-height: 100%; }
body > header { height: 100px; background-color: #007fc5; display: flex; align-items: center; justify-content: space-between; flex-direction: row; box-shadow: 0px 2px 3px 0px rgba(25, 118, 210, 0.4); }
body > header .logo { height: 100%; }
body > header .logo img { max-height: 100%; }
body > header .nav { margin-right: 16px; }
body > header .nav a { text-decoration: none; }
body > header .nav .fa-bars, body > header .nav .fa-times { position:relative; color: #fff; font-size: 32px; z-index: 50; }
body > header .menu { z-index: 42; display: none; opacity: 0; position: fixed; left: 0; top: 0; bottom: 0; width: 100%; }
body > header .menu .blur { position: absolute; left: 0; top: 0; bottom: 0; right: 0; background-color: #333; opacity: 0.3; }
body > header .menu a { text-decoration: none; }
body > header .menu ul li:first-child { text-align: center; }
body > header .menu img { width: 100%; max-width: 300px; height: auto; }
body > header .menu ul { position: absolute; top: 0; background-color: #fff; width: 60%; height: 100%; border-right: 1px solid #eee; display: flex; flex-direction: column; justify-content: flex-start; align-content: flex-start; }
body > header .menu ul li { font-family: 'Open Sans', 'Arial', sans-serif; position: relative; padding: 20px 8px; color: #e8561a; font-size: 18px; text-decoration: none; cursor: pointer; }
body > header .menu ul li:not(:first-child) { overflow: hidden; border-bottom: 1px solid #eee; }
body > header .menu ul li:nth-child(2) {border-top: 1px solid #eee; }
body > header .menu ul li[data-code="logout"], body > header .menu ul li[data-code="website"][data-islogged="0"] { border-top: 1px solid #eee; margin-top: auto; }
body > header .menu ul li:not(:first-child):before { z-index: 10; position: absolute; top:0; left: 300%; bottom: 0; right: 0; width: 300%; content: ''; background-color: #e8561a; transition: 0.5s; transform: skew(-45deg); }
body > header .menu ul li:not(:first-child):hover:before { left: -100%; }
body > header .menu ul li:not(:first-child):hover > span { color: #fff; }
body > header .menu ul li:not(:first-child):hover { box-shadow: 2px 2px 3px 0px #eee; }
body > header .menu ul li:not(:first-child) > span { z-index: 20; position: relative; top:0; left: 0; bottom: 0; right: 0;  transition: 0.7s; }

body > footer { width: 100%; height: 100px; padding: 12px 6px; background-color: #007fc5; box-shadow: 0px -2px 3px 0px rgba(25, 118, 210, 0.4); }
body > footer ul { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
body > footer ul li { color: #fff; margin: 3px; }
body > footer ul li:first-child { font-weight: bold; margin-bottom: 12px; }
body > footer ul li a { color: #fff; text-decoration: underline; }
body > footer ul li a:hover { text-decoration: none; }

body > main { padding: 8px; margin: 0 5%; width: 90%; min-height: 100%; }
body > main #notifications { position: fixed; bottom: 0; right: 0; z-index: 100; font-size: 14px; font-weight: bold; width: 50%; margin: auto; text-align: center; }
body > main #notifications > div { position: relative; width: 98%; padding: 32px 12px; border: 2px solid transparent; border-radius: 4px; margin: 6px; }
body > main #notifications > div > .fa-times { cursor: pointer; position: absolute; top: 2px; right: 4px; font-size: 22px; color: #fff; }
body > main #notifications .error { border-color: #ba000d; background-color: #f44336; color: #eee; }
body > main #notifications .success { border-color: #338a3e; background-color: #81c784; color: #333; }
body > main #notifications .info { border-color: #00766c; background-color: #64d8cb; color: #333; }

body > main #form-auth { width: 80%; margin: 64px auto 32px auto; }
body > main .toplogin { margin-bottom: 16px; line-height: 22px; font-size: 18px; font-weight: bold; color: #e8561a; text-align: center; }
body > main .underlogin { margin-top: 16px; text-align: left; }

form { display: flex; flex-direction: column; }
.form-row-center,
.form-row { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin: 16px 0; }
.form-row-center { justify-content: center; }
.form-row.hide { display: none; }
.form-row label { width: 30%; font-weight: bold; cursor: pointer; }
.form-row input,
.form-row textarea,
.form-row button,
.form-row select { border-radius: 2px; width: 70%; border: 1px solid transparent; border-bottom: 1px solid #007fc5; padding: 4px 16px; outline: none; transition: 0.3s; font-size: 16px; margin: 8px; outline: none; }
.form-row input:not([type="checkbox"]):not([type="radio"]):focus,
.form-row textarea:focus,
.form-row select:focus { border-bottom-color: #e8561a; box-shadow: 2px 2px 3px 0px rgba(232, 86, 26, 0.3); transition: 0.3s; }

.form-col { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.form-col.hide { display: none; }
.form-col label { width: 100%; font-weight: bold; cursor: pointer; margin: 2px; }
.form-col input,
.form-col textarea,
.form-col button,
.form-col select { border-radius: 2px; width: 100%; border: 1px solid transparent; border-bottom: 1px solid #007fc5; padding: 4px 16px; outline: none; transition: 0.3s; font-size: 16px; }
.form-col input:not([type="checkbox"]):not([type="radio"]):focus,
.form-col textarea:focus,
.form-col select:focus { border-bottom-color: #e8561a; box-shadow: 2px 2px 3px 0px rgba(232, 86, 26, 0.3); transition: 0.3s; outline: none; }
.form-col p { margin: 6px 0; align-self: self-start; }

.search-suggs { width: 100%; background-color: #fff; border: 1px solid #e8561a; border-top: none; box-shadow: 2px 2px 3px 0px rgba(232, 86, 26, 0.3); box-sizing: border-box; padding: 3px 6px; }
.search-suggs:empty { display: none; }
.search-suggs li { padding: 12px 24px; cursor: pointer; }
.search-suggs li:not(:first-child){ border-top: 1px solid #e8561a; }

button[type='button']:focus, button[type='submit']:focus { outline: none; }
button[type='button'], button[type='submit'] { cursor: pointer; position: relative; border-radius: 2px; width: auto; padding: 8px 32px; border: 2px solid #e8561a; background-color: transparent; color: #e8561a; font-weight: bold; text-transform: uppercase; font-size: 18px; letter-spacing: 1px; overflow: hidden; transition: 0.5s; margin: 4px 16px; }
button[type='button'] > span, button[type='submit'] > span { display: flex; flex-direction: column; align-items: center; justify-content: center; }
button[type='button'] i, button[type='submit'] i { font-size: 32px; }
button[type='button'] > span, button[type='submit'] > span { z-index: 20; position: relative; top:0; left: 0; bottom: 0; right: 0; }
button[type='button']:before, button[type='submit']:before { z-index: 10; position: absolute; top:0; left: -100%; bottom: 0; right: 0; width: 0; content: ''; background-color: #e8561a; transition: 0.4s; transform: skew(-45deg); }
button[type='button']:hover:before, button[type='submit']:hover:before { width: 300%; }
button[type='button']:hover > span, button[type='submit']:hover > span { color: #fff; }
button[type='button']:hover, button[type='submit']:hover { background: rgb(232, 86, 26); box-shadow: 2px 2px 3px 0px rgba(232, 86, 26, 0.3); }

button[type='button'].filled, button[type='submit'].filled { border-color: #e8561a; background-color: #e8561a; color: #fff; }
button[type='button'].filled:before, button[type='submit'].filled:before { background-color: #fff; }
button[type='button'].filled:hover > span, button[type='submit'].filled:hover > span { color: #e8561a; }

button[type='button'].btn-small, button[type='submit'].btn-small { padding: 4px 16px; margin: 2px 8px; font-size: 14px; }
button[type='button'].btn-ico, button[type='submit'].btn-ico { font-size: 12px; font-weight: bold; }
button[type='button'].btn-ico i, button[type='submit'].btn-ico i { font-size: 22px; }
button[type='button'].rounded, button[type='submit'].rounded { width: 64px; height: 64px; border-radius: 50%; padding: 6px; }

button[type='button'].btn-blue, button[type='submit'].btn-blue { border-color: #007fc5; color: #007fc5; }
button[type='button'].btn-blue:before, button[type='submit'].btn-blue:before { background-color: #007fc5; }
button[type='button'].btn-blue:hover, button[type='submit'].btn-blue:hover { background: rgb(0, 127, 197); box-shadow: 2px 2px 3px 0px rgba(0, 127, 197, 0.3); color:#fff;}

button[type='button'].btn-blue.filled, button[type='submit'].btn-blue.filled { border-color: #007fc5; background-color: #007fc5; color: #fff; }
button[type='button'].btn-blue.filled:before, button[type='submit'].btn-blue.filled:before { background-color: #fff; }
button[type='button'].btn-blue.filled:hover > span, button[type='submit'].btn-blue.filled:hover > span { color: #007fc5; }
button[type='button'].btn-blue.filled:hover, button[type='submit'].btn-blue.filled:hover { box-shadow: 2px 2px 3px 0px rgba(0, 127, 197, 0.3); }

button[type='button'].btn-red, button[type='submit'].btn-red { border-color: #f44336; color: #f44336; }
button[type='button'].btn-red:before, button[type='submit'].btn-red:before { background-color: #f44336; }
button[type='button'].btn-red:hover, button[type='submit'].btn-red:hover { background: rgb(244, 67, 54); box-shadow: 2px 2px 3px 0px rgba(244, 67, 54, 0.3); }

button[type='button'].btn-red.filled, button[type='submit'].btn-red.filled { border-color: #f44336; background-color: #f44336; color: #fff; }
button[type='button'].btn-red.filled:before, button[type='submit'].btn-red.filled:before { background-color: #fff; }
button[type='button'].btn-red.filled:hover > span, button[type='submit'].btn-red.filled:hover > span { color: #f44336; }
button[type='button'].btn-red.filled:hover, button[type='submit'].btn-red.filled:hover { box-shadow: 2px 2px 3px 0px rgba(244, 67, 54, 0.3); }

button[type='button']:disabled, button[type='submit']:disabled { cursor: not-allowed; background: #fafafa !important; border-color: #eee !important; }
button[type='button']:disabled:hover, button[type='submit']:disabled:hover { background: #eee !important; box-shadow: 2px 2px 3px 0px rgba(238, 238, 238, 0.3) !important; }
button[type='button']:disabled > span, button[type='submit']:disabled > span { color: rgba(0, 0, 0, 0.2) !important; }
button[type='button']:disabled:before, button[type='submit']:disabled:before { background: #fafafa !important; }
button[type='button'].small {font-size:14px; padding:4px 10px; margin:4px 10px;}

body > main h1 { font-family: 'Open Sans', 'Arial', sans-serif; font-variant: small-caps; color: #e8561a; padding: 14px 28px; text-align: center; width: 100%; font-size: 32px; }
body > main h2 { display: flex; flex-direction: row; align-items: center; margin-top: 32px; margin-bottom: 12px; padding: 6px 18px; width: 100%; border-left: 4px solid #ff5722; }
body > main h2 img { height: 42px; width: auto; margin-right: 12px; }
body > main > section { margin: 8px 0; }
body > main > section > article { margin: 4px 0; }
body > main > section > article > div { text-wrap: wrap; word-break: keep-all; margin: 2px 0; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; }
body > main > section > article > div > span:first-child { margin-right: 4px; }

/* Card */
body > main .card { color: #333; margin: 16px 0 32px 0; padding: 6px 8px; border: 1px solid rgba(221, 221, 221, 0.2); border-radius: 2px; box-shadow: 3px 3px 8px 1px rgba(25, 118, 210, 0.1); display: flex; flex-direction: column; justify-content: center; align-items: center; }
body > main .card .header { width: 100%; display: flex; flex-direction: row; justify-content: space-between; align-items: center; font-size: 0.875rem; text-shadow: #e8561a; margin-bottom: 12px; }
body > main .card .header span:last-child { font-size: 16px; color: #e8561a; font-weight: bold; }
body > main .card .header span.cancel { font-size: 12px; font-weight: normal; }
body > main .card .header span .fa-times { cursor: pointer; font-size: 22px; color: #e8561a; font-weight: normal; }
body > main .card .content { text-align: center; line-height: 22px; }
body > main .card .content .points-details { text-align: center; }
body > main .card .content .points-details span { color: #e8561a; font-weight: bold; }
body > main .card .footer { margin-top: 12px; width: 100%; text-align: right; font-size: 0.75rem; }
body > main .card[data-href] { cursor: pointer; }
body > main .card.israre { box-shadow: 3px 3px 8px 1px rgba(232, 86, 26, 0.3); }
body > main .card.selected { background-color: rgba(232, 86, 26, 0.3); }

/* Card : Point */
body > main .card.point { cursor: pointer; }
body > main .card.point.ischild { width: 80%; margin-left: auto; }
body > main .card.point .header span:last-child { display: flex; justify-content: center; align-content: center; }
body > main .card.point .header span:last-child .fa-check { margin-left: 6px; color: #6b9b37; font-size: 12px; }
body > main .card.point:not(.isdisabled):hover { box-shadow: 0 0 6px 1px #e8561a; }
body > main .card.point.isdisabled { background-color: rgba(221, 221, 221, 0.4); cursor: not-allowed; }

/* Card : Jury */
.card.jury { cursor: pointer; }
.card.jury:not(.isdisabled):hover { box-shadow: 0 0 6px 1px #e8561a; }
.rankings li .content, .card.jury .content { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 4px;}
.rankings li .content > *, .card.jury .content > * { text-align: center; }
.rankings li .content .fullname, .card.jury .content .fullname { text-transform: uppercase; font-weight: bold; }
.rankings li .content .establishment, .card.jury .content .establishment { text-transform: lowercase; font-variant: small-caps; margin-top: 8px; font-size: 16px; }
.rankings li .content .formation, .card.jury .content .formation { font-weight: bold; margin-top: 2px; font-size: 12px; }

/* Card : Visitor */
body > main .card.visitor .header span:first-child { width: 60%; height: 100%; font-size: 12px; font-weight: bold; text-overflow: ellipsis;}
body > main .card.visitor .header span:last-child { width: 40%; font-size: 12px; font-weight: bold; text-align: right; text-overflow: ellipsis;}

/* Card : Lobby */
body > main .card.lobby, body > main .card.toggleLobby { cursor: pointer; }

/* Table */
table { width: 100%; }
table thead tr th { text-align: center; }
table td { padding: 6px; }
table.stats tbody tr td:not(:first-child), table.stats tfoot tr td:not(:first-child){ text-align: center; }
table.stats tbody tr:nth-child(2n) { background-color: rgba(200, 200, 200, 0.3); }

/* Leaderboards */
.title-rankings { display: flex; flex-direction: row; justify-content: space-between; }
.rankings { width: 100%; }
.rankings li:not(.rankBySpinneretFull):nth-child(1)
{
	background: repeating-linear-gradient(
    -55deg,
    #fff,
    #fff 20px,
    rgba(255, 215, 0, 0.6) 20px,
    rgba(255, 215, 0, 0.6) 60px);
}
.rankings li:not(.rankBySpinneretFull):nth-child(2)
{
	background: repeating-linear-gradient(
    -55deg,
    #fff,
    #fff 20px,
    rgba(192, 192, 192, 0.6) 20px,
    rgba(192, 192, 192, 0.6) 60px);
}
.rankings li:not(.rankBySpinneretFull):nth-child(3)
{
	background: repeating-linear-gradient(
    -55deg,
    #fff,
    #fff 20px,
    rgba(205, 127, 50, 0.6) 20px,
    rgba(205, 127, 50, 0.6) 60px);
}
.rankings li { width: 100%; display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 12px; border: 1px solid #007fc5; opacity: 0; cursor:pointer; }
.rankings li:not(:first-child) { border-top: none; }
.rankings li .rank, .rankings li .points, .rankings li .points div { font-weight: bold; font-size: 20px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.rankings li .points { font-size: 18px; }
.rankings li .points div { margin: 4px; }

/* Modal : Attribution de points */
.modal { display: none; position: fixed; top:0; left: 0; max-width: 300px; border: 1px solid #ff5722; z-index: 42; background-color: #fff; border-radius: 3px; box-shadow: 0 0 6px 1px #e8561a; }
.modal .close { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; position: absolute; right: -14px; top: -14px; font-size: 22px; font-weight: bold; background-color: #fff; border: 1px solid #ff5722; border-radius: 50%; z-index: 43; box-shadow: 0 0 6px 1px #e8561a; }

/* Apply */
#applyCpy .details { margin-bottom: 32px; border-bottom: 1px solid rgba(232, 86, 26, 0.2); align-items: flex-start; }
#applyCpy .details .logo { width: 50px; min-width: 50px; min-height: 50px; margin: 8px; }
#applyCpy .details .logo img { width: 100%; height: auto; object-fit: contain; }
#applyCpy h2 { border-left: none; }
#applyCpy .desc { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; }
#applyCpy .desc img { max-width: 100%; height: auto; }
#applyCpy .desc iframe { max-width:100%; }

i.participation { font-size: 1.4em; margin: 3px; margin-bottom: 0; color: #ccc; }
i.participation.checked { color: #007fc5; }


.btn {
	background: #f15f29;
	cursor: pointer;
	padding:10px 24px;
	color:#fff;
	font-size:26px;
	border-radius: 5px;
	border: 1px solid transparent;
	display:inline-block;
	text-decoration: none;
	transition: all 0.3s ease;
	outline: none;
}

.btn-ico {
	padding: 6px;
	font-size: 18px;
	color: #f15f29;
}

.btn-ico:hover {
	color: #0A71B4;
}

.btn:hover, a.btn:hover {background: #fff; color:#f15f29; border-color: #f15f29; transition: all 0.3s ease;}

.btn.big { padding:15px 30px; font-size:32px; border-radius: 10px;}
.btn.xbig { padding:20px 40px; font-size:48px; border-radius: 14px;}
.btn.medium {padding:8px 16px; font-size:20px; border-radius: 7px;}
.btn.small {padding:4px 8px; font-size:16px; border-radius: 4px;}
.btn.btn-circle { border-radius: 50%; }


.buttons { display: flex; flex-wrap: wrap; justify-content: end; margin-top:20px; }

.buttons.align-center {justify-content: center;}
.buttons a {
	border-radius: 5px;
	height: 50px;
	margin: 5px;
	padding: 0 10px;
	transition: all 0.3s;
	line-height: 50px;
}
.buttons a:hover {background: #000;}
.buttons span { vertical-align: middle;}

.modal .struct-blocs .buttons {padding:20px;}

@media screen and (max-width: 650px){
	.wrap-col { flex-direction: column; flex-grow: 1; }
	.wrap-col > .col { width: 100%; }
	body > main > section > article > div { flex-direction: column; }
	#applyCpy .details { align-items: center; }
	#applyCpy h2 { text-align: center; }
	#applyCpy .details .logo { width: 100px; min-width: 100px; min-height: 100px; }
	#applyCpy .details :last-child { margin-bottom: 8px; }
    body > main #notifications { width: 100%; }
    body > main #notifications > div { width: 90%; float: right; }
	.buttons a { font-size:14px; }
}

@media screen and (max-width: 420px){
	.form-row { flex-direction: column; }
	.form-row label { width: 100%; text-align: left; margin: 3px 0; }
	.form-row input, select, textarea { width: 100%; text-align: left; margin: 3px 0; }
}


#companyTeams:empty::before {
	content:"Aucune équipe pour le moment...";
}
#pending-teams:empty::before {
	content:"Aucune invitation pour le moment...";
}

#companyTeams:empty::before,
#pending-teams:empty::before,
.myVisitors li.empty {
	display:block;
	padding:10px;
	color: #333;
	margin: 16px 0;
	padding: 20px 8px;
	border: 1px solid rgba(221, 221, 221, 0.2);
	border-radius: 2px;
	box-shadow: 3px 3px 8px 1px rgba(100, 100, 100, 0.1);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}