@CHARSET "UTF-8";
html {
	position: relative;
	font-family: Liberation sans Arial;
	font-size : 14px;
	height : 100%;
}
body {
	position: relative;
	font-size : 1.2em;
	background-color: #555;
	color: #333;
	height : 100%;
}
label {
	font-weight: bold;
	display : block;
}
input,textarea {
	width : 95%;
}
h1 {
	padding: 0.3em 1em;
	font-variant : small-caps;
	font-size  : 1.6em;
}
h2 {
    font-size: 1.2em;
}
button { 
	border : none;
	padding : 0.7em 0;
	display : inline-block;
	background-color: #f1df00;
	cursor: pointer;
	margin: 2%;
	border-radius: 50px;
}
button:hover { 
	background-color: #333;
	color: #f1df00
}
#main {
	margin: auto;
	width : 50%;
	min-width : 300px;
	background-color: #fff;
	border : solid 1px #333;
	border-radius: 10px 10px 0 10px;
	box-shadow: 0px 7px 15px -7px #333;
	padding: 0;
	position: relative;
	min-height: 100%;
}

#main.big {
	width: 75%;
}

#main.black {
	background-color: #000;
}

.body {
	padding: 10px;
	position: relative;
	padding-bottom: 10em;
}
.title h1 {
	font-variant: small-caps;
	
	background-repeat: no-repeat;
	background-position: top left;
	background-size: 60px;
	min-height : 35px;
	line-height: 4vh;
	background-image: url('/public/common/images/logoMorskoul.png');
	padding-left: 70px;
	margin: 0;
}
.accueil .title h1 {
	margin: -0.3em 0 2.3em -0.3em;
	color: #f1df00;
	text-shadow: 5px 5px 2px #000;
	font-size: 2.6em;
}
.accueil .title h1 * {
	color: #f1df00;
	text-decoration: none;
}
.erreur {
	color : red;
	font-weight: bold;
}
.title {
	padding: 1em;
	box-shadow: 0px 7px 15px -7px #333;
}
.accueil .title {
	background-image: url('/public/common/images/fous.png');
	background-repeat: no-repeat;
}

.barreBoutons {
	margin-top : 2em;
}
.barreBoutons.col3 {
	display: inline-grid;
	grid-template-columns: 200px auto 200px;
	width: 100%;
}
.col3 .left {
	grid-column-start: 1; 
}
.col3 .right {
	grid-column-start: 3; 
}
.barreBoutons.col3 button {
	width : 200px;
}

.btn {
	background-color: #ccc;
    display: inline-block;
    padding: 0.5em 1em;
    color: black;
    text-decoration: navajowhite;
    border-radius: 15px;
}
.btn:hover {
	background-color: #333;
	color: white;
}
.footer {
    position: absolute;
    bottom: 0;
    font-size: 0.7em;
    display: inline-grid;
	grid-template-columns: 90px auto 90px;
	width: 100%;
	margin: 0 0 1em 0;
	box-shadow: 0px -7px 15px -7px #333;
	left : 0;
}

.footer .logo {
	width: 80px;
	margin: 5px;
}
.footer .logo.krijo {
	grid-column-start: 1;

}
.footer .logo.leCedre {
	grid-column-start: 3;
}
.footer .middle {
	grid-column-start: 2;
	font-style: italic;
}

.right{
	float: right;
}

.encart {
	padding: 1em;
	border: solid 2px #333;
	border-radius: 0.5em;
	margin: 4em 0.5em 0.5em 0.5em;
	max-width: 30%;
}

.extension {
	background-repeat: no-repeat;
	background-position: 10px 0px;
	background-size: 30px;
	min-height: 35px;
	background-image: url('/public/common/images/extensionFirefox.png');
	padding: 0 20px 0 50px;
	margin: 0;
}

.encart .aide {
	text-decoration: none;
	text-align: center;
	display: inline-block;
	width: 100%;
	margin: 1em 0 0 0;
	font-size: 0.9em;
}

.encart .aide:hover {
	text-decoration: underline;	
	cursor: pointer;
}

p, .paragraph {
	margin : 1.5em 0;
}
.ui-dialog-content {
	padding : 2%;	
}

.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 120, 120, 120, .8 ) 
                url('/public/common/images/ajax-loader.gif') 
                50% 50% 
                no-repeat;
}
.modal div {
  color: rgb(204,204,0);
  width: 25%;
  margin: auto;
/*  height: 25%;*/
  border: solid 1px #333;
  padding: 1em;
  position: fixed;
  left: 37%;
  top: 40%;
  background: #000 url('/public/common/images/ajax-loader.gif') 80% 50% no-repeat;
    background-position-x: 80%;
  box-shadow: 0em 0em 0.8em rgb(119,120,0);
  background-position-x: right 5%;
  min-width: 200px;
}
.modal p {
  padding: 0;
  margin: 1em;
}
/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading .modal {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

.body.aide {
	background-color: #fcfcdb;
}

.content.aide li {
	margin : 1em 0;
}

.ui-icon {
    display: inline-block;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    margin-top: 10px;
    font-size: 0px;
}
.ui-dialog-titlebar{
	padding : 10px;
}
.nav {
	background-color: #333;
	margin: 0;
	padding : 0.5em;
	height : 1.5em;
}
.nav ul {
	color: #f1df00;
	margin: 0;
	text-align: right;
}
.nav li {
	list-style-type: none;
	display: inline-block;
	margin: 0 0.5em;
}
.nav li span {
	cursor: pointer;
}

.notif-container{
	width: 280px;
	z-index: 9999;
}

.notif-position-top-right {
	position: fixed;
	top: 20px;
	right: 20px;
}
.notif-content {
	height: auto;
	background: #333;
	opacity: .9;
	border-radius: 10px;
	color: #eee;
	padding: 20px 5px;
	border: 2px solid #999;
	display: block;
	position: relative;
	margin: 0 0 12px 0;
	box-shadow: 0px 0px 4px #ddd;
}

.notif-item-close {
	background: url(/public/common/images/close.gif);
	width: 22px;
	height: 22px;
	position: absolute;
	top: 7px;
	right: 7px;
}

.notif-item-image {
    width: 32px;
    height: 32px;
    margin-left: 10px;
    margin-top: -4px;
    margin-right: 10px;
    float: left;
}
.notif-content p {
    text-align: left;
    margin: 0 0 0 50px;
}
.notif-item-image-success {
	background: url(/public/common/images/success.png);
}

.notif-item-image-error {
	background: url(/public/common/images/error.png);
}

.unselectable { 
    -webkit-user-select: none; 
    -webkit-touch-callout: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none;    
} 

select.big {
	font-size : 1.2em;
	width : 75%;
	padding: 2vh;
}
.introGame {
	background: #ccc;
	box-shadow: 0 0 10px;
}
.no-titlebar .ui-dialog-titlebar {
  display: none;
}
.clock {
	float: right;
	font-family: monospace;
	font-size: 1.5em;
	background-color: #000;
	padding: 0vh 2vw;
	color: white;
}
.infoActivity {
	padding: 0 2vw;
	background-color: #ccc;
	line-height: 3em;
}
svg.timerImg {
    position: absolute;
    width: 50px;
    height: 50px;
    x: 0px; y: 0px;
    viewBox: 0 0 50px 50px;
    
}
.timerImg circle, .timerImg line {
    fill: transparent;
    stroke: #999;
    stroke-width: 3;
}
.timer {
	width: 50px;
	height: 50px;
	position: absolute;
	right: 2vw;
	margin-top: 6vh;
	color: #555;
}
.timer h1{
	padding:0;
	margin: 0;
	text-align: center;
	line-height: 50px;
}

@media all and (max-width: 1100px)
{
	#main {
		width : 60%;
	}
}
@media all and (max-width: 950px)
{
	h1 {
		font-size: 1.4em;
	}
	h2 {
		font-size: 1em;
	}
	#main {
		width : 75%;
	}
}
@media all and (max-width: 750px)
{
	h1 {
		font-size: 1.2em;
	}

	#main {
		width : 95%;
	}
	.footer .logo {
		width : 60px;
	}
	.footer {
		grid-template-columns: 70px auto 70px;
	}
}
@media all and (max-width: 600px)
{
	body {
		margin: 0;
	}
	#main {
		width : 100%;
		padding: 0;
		min-width: 0;
		max-width: 99%;
	}
	.footer .logo {
		width : 40px;
	}
	.footer {
		grid-template-columns: 50px auto 50px;
	}
}

/*@media all and (max-height: 600px)
{
	min-height : 800px;
}*/



/* .media-radio { */
/*     cursor: pointer; */
/*     box-sizing: border-box; */
/*     -moz-box-sizing: border-box; */
/*     -webkit-box-sizing: border-box; */
/*     border: 4px solid transparent; */
/*     margin-bottom: 0; */
/*     outline: 0; */
/* } */
/* .media-radio input[type="radio"] { */
/*     display: none; */
/* } */
/* .media-radio-checked { */
/*     border-color: #4783B0; */
/* } */
/* .media-radio .glyphicon { */
/*   position: absolute; */
/*   color: #4A79A3; */
/*   background-color: #fff; */
/*   padding: 10px; */
/*   top: 0; */
/*   right: 0; */
/* } */
/* .media-radio-checked .glyphicon { */
/*   display: block !important; */
/* } */