@font-face {
    font-family: 'OpenSansReg';
    src: url('../fonts/opensansreg/OpenSans-Regular-webfont.eot');
    src: url('../fonts/opensansreg/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/opensansreg/OpenSans-Regular-webfont.woff2') format('woff2'),
    url('../fonts/opensansreg/OpenSans-Regular-webfont.woff') format('woff'),
    url('../fonts/opensansreg/OpenSans-Regular-webfont.ttf') format('truetype'),
    url('../fonts/opensansreg/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Smartphones ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    body {
        font-size: 0.6em;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    body {
        font-size: 1.1em;
    }
}

/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
    body {
        font-size: 1.1em;
    }
}

/* Large screens ----------- */
@media only screen and (min-width: 1624px) {
    body {
        font-size: 1.2em;
    }
}

body {
    margin: 0;
    padding: 0;
    background: #C8C8C8;
    font-family: 'OpenSansReg', 'sans-serif';
    margin-bottom: 60px; /* Pour laisser le footer fixé en bas de la page à 60px de haut */
    font-size: 1.3em;

}

.nopadding {
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 1.9em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.7em;
}

h4 {
    font-size: 1.6em;
}

/*** BLINK ME  *******************************************************/
.blink_me {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: 5;

    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: 5;

    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: 5;
}

.alarm_blink_me {
    -webkit-animation-name: alarm_blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: 5;

    -moz-animation-name: alarm_blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: 5;

    animation-name: alarm_blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: 5;
}

@-moz-keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 1.0;
    }
}

@-moz-keyframes alarm_blinker {
    0% {
        opacity: 1.0;
        background-color: #ffcc80;
    }
    50% {
        opacity: 0.8;
        background-color: #ffa726;
    }
    100% {
        opacity: 1.0;
        background-color: #ffcc80;
    }
}

@-webkit-keyframes alarm_blinker {
    0% {
        opacity: 1.0;
        background-color: #ffcc80;
    }
    50% {
        opacity: 0.8;
        background-color: #ffa726;
    }
    100% {
        opacity: 1.0;
        background-color: #ffcc80;
    }
}

@keyframes alarm_blinker {
    0% {
        opacity: 1.0;
        background-color: #ffcc80;
    }
    50% {
        opacity: 0.8;
        background-color: #ffa726;
    }
    100% {
        opacity: 1.0;
        background-color: #ffcc80;
    }
}

.box-shadow--2dp {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12)
}

.box-shadow--3dp {
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, .14), 0 3px 3px -2px rgba(0, 0, 0, .2), 0 1px 8px 0 rgba(0, 0, 0, .12)
}

.box-shadow--4dp {
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2)
}

.box-shadow--6dp {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .14), 0 1px 18px 0 rgba(0, 0, 0, .12), 0 3px 5px -1px rgba(0, 0, 0, .2)
}

.box-shadow--8dp {
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12), 0 5px 5px -3px rgba(0, 0, 0, .2)
}

.box-shadow--16dp {
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2)
}

/*** FOOTER  **********************************************************/
footer,
footer a {
    color: #FFFFFF;
    font-size: 1em;
    text-align: center;
}

/*** FORMS  ***********************************************************/
input, select, textarea {
    color: #000000 !important;
}

.numeric {
    text-align: right;
}

.inputReadOnly {
    cursor: default;
}

/* Pour que l'autocomplete soit toujours devant le reste */
.ui-autocomplete {
    z-index: 1511 !important;
}

.datepicker {
    text-align: center;
    width: 10em;
    height: 2.5em;
}

.AnyTime-pkr {
    z-index: 1551;
}

/*** MAPS  *************************************************************/
#d6map {
    display: block;
    width: 100%;
    height: 350px;
}

/*** TABLES  ***********************************************************/
.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
    background-color: #a6a6a6 !important;
}

table tr.trCaption th {
    background-color: #0a6ebd;
    color: #ffffff;
    font-size: 1.1em;
    padding: 5px 10px !important;
}

/*** TUILES  ***********************************************************/
.tile {
    display: block;
    cursor: pointer;
    -webkit-perspective: 0;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 0.2s;
    float: left;
    min-width: 75px;
    min-height: 75px;
    text-align: center;
    opacity: 0.9;
    background-color: #2e8bcc;
    z-index: 1;
    border: 2px #ffffff solid;
    color: #ffffff;
    margin-left: 20px !important;
}

.tile h1,
.tile h2,
.tile h3,
.tile h4,
.tile h5,
.tile h6 {
    color: #ffffff;
    -webkit-user-select: none;
}

.tile h2 {
    margin-top: -20px;
    margin-left: 0px;
}

.tile h3,
.tile h4 {
    margin-top: -15px;
}

.tile h1.tile-text,
.tile h2.tile-text,
.tile h3.tile-text,
.tile h4.tile-text {
    margin-top: 20px;
}

.tile h1 {
    font-size: 36px;
}

.tile h2 {
    font-size: 30px;
}

.tile h3 {
    font-size: 24px;
}

.tile h4 {
    font-size: 18px;
}

.tile a:hover {
    text-decoration: none;
}

.tile img {
    border: 0;
}

.tile:hover {
    opacity: 1;
    font-weight: bolder;
}

.suite {
    margin-left: 20px !important;
}

.tile .tile-label {
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 14px;
    color: #ffffff;
}

.tile .tile-content .tile-icon-large {
    margin-left: 0px;
    vertical-align: middle !important;
    text-align: center;
}

.tile .tile-content {
    padding-top: 20px !important;
    line-height: normal;
    position: relative;
    width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a.fa-links {
    color: #ffffff;
}

a.fa-links:hover,
a.fa-links:focus {
    color: #ffffff;
}

.tile.tile-small {
    height: 70px;
    width: 70px;
}

.tile.tile-medium {
    height: 150px;
    width: 150px;
}

.tile.tile-four {
    width: 240px;
}

.tile.tile-wide,
.tile.tile-double {
    height: 150px;
    width: 310px;
}

.tile.tile-large {
    height: 310px;
    width: 310px;
}

.tile.tile-auto {
    height: auto;
    width: auto;
}


.context-menu-item {
    padding: .3em 2em;
}

.stabilo {
    padding: .3em;
}

textarea:focus, input:focus, input[type]:focus, .uneditable-input:focus {
    border-color: #4FD0FB;
    box-shadow: 0 2px 2px #4FD0FB inset, 0 0 8px #4FD0FB;
    outline: 0 none;
}
