/*
Style sheet for jedemissionne.ch
*/

/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

/* Load font */
@font-face {
	font-family: 'OpenSansFlex';
	src: url('fonts/OpenSans-VariableFont.ttf') format('truetype-variations'),
	     url('fonts/OpenSans-VariableFont.ttf') format('truetype');
	font-weight: 100 1000;
	font-stretch: 25% 151%;
}

/* Style */
body {
    font-family: 'OpenSansFlex';
    font-size: 100%;
    line-height: 1.25em;
}

h1 {
    font-size: 2.5em;
    line-height: 1em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.3em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.1em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    margin: 20px 0 10px 0;
    line-height: 1.2em;
    color: #333333;
}

p, dl, multicol {
    display: block;
    margin: 1em 0;
}

strong {
    font-weight: 600;
}

em {
    font-family: 'OpenSansFlex';
}

li {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Alignement helper class */
.center {
    text-align: center;
}

.right {
    text-align: right;
}

.lef {
    text-align: left;
}

.justify {
    text-align: justify;
}

/* Grid */

.row {
    width: 100%;
    box-sizing: border-box;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

.col-50 {
    width: 50%;
    float: left;
}

/* Structure */

#container {
    position: absolute;
    width:50%;
    left:25%;
    /* top: 50%;
    transform: translateY(-50%);*/
    text-align:center;
    background-color: #f2f2f2;
    padding: 10px;
}

#formDiv {
    display: block;
    text-align: left;
}

.formInLine {
    float: left;
}

footer {
    font-size: 0.8em;
}

@media screen and (max-width: 800px) {
    #container {
        width: 100%;
        left: auto;
    }
}

/* Form */
.btn, input[type=button], input[type=submit], button {
    font-size: 1em;
    color: #f4f4f4;
    text-decoration: none;
    outline: none;
    padding: 10px;
    margin: 0px;
    border: none;
    border-radius: 3px;
}

.btn {
    font-size: 1.01em;
}

.btn:hover, input[type=button]:hover, input[type=submit]:hover, button:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    color: black;
}

.btn-edit {
    background-color: #F9B333;
}

.btn-check {
    background-color: #83BB2A;
}

.btn-delet {
    background-color: #E7414D;
}

.btn-pdf {
    background-color: #9C9B9B;
}

input, textarea, select {
    font-family: "OpenSansFlex";
    padding: 5px;
    font-size: 1em;
    border: 1px solid #c4c4c4;
    border-radius: 3px;
    -webkit-appearance: none;
    background: #f4f4f4;
    background: #ffffff;
    margin: 3px;
}

label {
    padding: 5px;
}

select {
    -webkit-appearance: menulist;
}

input[type=checkbox] {
    -webkit-appearance: checkbox;
    color: black;
}

input[type=text] {
    width: 100%;
}

.flag {
    padding:10px;
}