﻿
.menuTuile {
    background: #5692ae;
}

.Emed510plus .menuTuile {
    background: linear-gradient(-184deg, #4F6792, #5b9bc2);
}

* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.r-page, .r-page2 {
    display:none;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 2em;
    font-weight: 300;
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    opacity: 0;
    color: white;
    z-index: 10;
    -webkit-transform-origin: 100% 0%;
    -ms-transform-origin: 100% 0%;
    transform-origin: 100% 0%;
    -webkit-transform: rotateY(-90deg) translateZ(5em);
    -ms-transform: rotateY(-90deg) translateZ(5em);
    transform: rotateY(-90deg) translateZ(5em);
}

@media all and (-ms-high-contrast:none) {
    .r-page, .r-page2, s-page {
        height: 185% !important;
        background-color: #005163;
    }
    /* IE10 */
}

.s-page {
    background-color:#fff;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: -150%;
    color: #999 !important;
    text-align: center;
    font-weight: 300;
    z-index: 1;
}
.s-page .close-button {color: black !important;}
.s-page p {
    font-size: 6em;
    margin-top: 2em;
    font-weight: 100;
}
.demo-wrapper {
    padding: 30px 60px;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing:border-box;
}
.demo-wrapper.autoscroll {
    overflow-x: hidden;
    overflow-y: auto;
}

.page-content {
    max-height: 100%;
    font-size: .6em;
    text-align: left;
}
.loginpage .dashboard {
    margin: 0 auto;
    width: 100%;
    padding: 0em;
    border:none;
}
.dashboard {}

.dashboard_bottom{
    padding: 10px;
    margin:20px 0;
}
.Connexion_User{
    display:flex;
    display: -webkit-flex;
    flex-wrap:wrap;
    width:100%;
    height:100%;
}

@-webkit-keyframes start {
    0% {
        -webkit-transform: translateX(200px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(0);
        opacity: 1;
    }
}

@keyframes start {
    0% {
        -webkit-transform: translateX(200px);
        -ms-transform: translateX(200px);
        transform: translateX(200px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {clear: both;}
.clearfix {*zoom: 1;}

/*default colors just in case you don't define these colors on the tiles*/
.s-page, .r-page, .r-page2 {
    background-color: white;
    color: black;
    display:none;
}
.page_messages p{
    padding: 10px;
    text-align: center;
}

.close-button {
    width:40px;
    height:40px;
    position:absolute;
    top:10px;
    right:10px;
    font-size: 34px;
    line-height:36px;
    cursor: pointer;
    text-align: center;
    background-color:#fff;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.close-button:hover {background-color:#8be1b4;}

.Connexion_User .tile {
    flex: 0 0 auto;
    height: 200px;
    max-width:600px;
    margin: 0 0 20px 0;
    font-size: 21px;
    color: #333;
    text-align: center;
    font-weight: 300;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    position: relative;
    -webkit-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}
.tile {
    flex: 0 0 250px;
    height:150px;
    margin:0 20px 20px 20px;
    font-size: 21px;
    color: #333;
    text-align: center;
    font-weight: 300;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    position: relative;
    list-style: none;
    -webkit-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}
.tile:hover {
    -moz-box-shadow: 0px 0px 5px 2px #38fff8;
    -webkit-box-shadow: 0px 0px 5px 2px #38fff8;
    -o-box-shadow: 0px 0px 5px 2px #38fff8;
    box-shadow: 0px 0px 5px 2px #38fff8;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#38fff8, Direction=NaN, Strength=12);
}
.tiles_emed, .tiles_outils, .tiles_liens{
    display:flex;
    flex-wrap:wrap;
}
.tile-big2 {
    width: 97%;
    height: 100%;
    background: none !important;
    cursor: none;
}

.tile .legendImg_emed {width: 116%;}
.tile-caption {
    position: absolute;
    z-index: 1;
    background-color: #05b;
    color: #fff;
    font-size: 1em;
    padding:10px;
    text-align: left;
}

.tile-caption h3 {
    font-size: 1.35em;
    font-weight: lighter;
    padding-bottom: 8px;
}

.caption-bottom {
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0.89;
    height: 100%;
    -webkit-transition: opacity 0.3s ease-in-out 0.1s;
    -moz-transition: opacity 0.3s ease-in-out 0.1s;
    transition: opacity 0.3s ease-in-out 0.1s;
}

.caption-left {
    left: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    -webkit-transition: left .3s linear;
    -moz-transition: left 0.3s linear;
    transition: left .3s linear;
}

.tile:hover .caption-left {
    left: 0;
}

.caption-bottom h2 {
    font-family: 'Lato';
}

.tile:hover .caption-bottom {
    opacity: 1;
    top: 0;
    height: 100%;
}

.tile-small {
    width: 49%;
    margin-right: 1%;
}

.tile-small-2 {width: 100%;}
.tile-small.last {margin-right: 1%;}
.tile-small.last2 {margin-right: 2%;}


.tilebody,
.tiledescription {
    display: table;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 0 20px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.tile_valign{
    display: table-cell;
    font-weight: bold;
    text-transform: uppercase;
    vertical-align: middle;
}
.tilebody_icone{
    font-size:60px;
    position: relative;
    top:-10px;
}
.tilebody_label{font-size:18px;}
.tiledescription_label{font-size:18px;}

.tilenotifications{
    position: absolute;
    bottom: 0;
    font-size: 10px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 4px 10px;
    background-color: rgba(255,255,255,0.7);
}
.tilenotifications_content{
    color: red;
    font-weight: bold;
}

/*******************************************************************/
/***************** Animation des tuiles au survole *****************/
/*******************************************************************/

/* slide text inside tile up */
.slideTextUp .tiledescription {top: 100%;}
.slideTextUp:hover .tileanimation {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}
.slideTextUp.noanimate .tileanimation,
.slideTextUp.noanimate:hover .tileanimation{
    -webkit-transform: initial;
    -ms-transform: initial;
    transform: initial;
}
.slideTextUp.noanimate .tilebody,
.slideTextUp.noanimate .tiledescription{
    -webkit-transition: initial;
    transition: initial;
}
.slideTextUp.noanimate .tilebody_label{
    display:none;
}
.slideTextUp.noanimate .tilebody_icone{
    font-size: 100px;
    position: relative;
    top: -10px;
}
/* slide text inside tile to the right */
.slideTextRight .tiledescription {
    left: -100%;
    font-size: 2em;
}
.slideTextRight:hover .tileanimation {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

/* slide text inside tile to the left */
.slideTextLeft .tiledescription  {left: 100%;}
.slideTextLeft:hover .tileanimation {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

/* rotate tile in 3D */
.rotate3d {
    overflow: visible;
}

.faces {
    -webkit-transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 1s;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 1s;
    transition: -ms-transform 1s;
    transition: transform 1s;
}

.faces div {
    bottom: 0;
    display: block;
    font-size: 1em;
    font-weight: bold;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
    width: 100%;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.faces .front { /*default*/
    background-color: #fff;
    color: #ddd;
}

.rotate3dX .front {
    background-color: #246d77;
    color: #ddd;
}

.rotate3dY .front {
    background-color: #8dc63f;
    color: #fff;
}

.rotate3dY .front-1 {
    background-color: #ff5d00;
    color: #fff;
}

.rotate3dY .front-2 {
    background-color: #fff;
}

.rotate3dY .front-3 {
    background-color: #bd1e4a;
    color: white;
}

.rotate3dY .front-4 {
    color: red;
    background-color: white;
}

.rotate3dY .front-5 {
    color: black;
    background-color: white;
}

.faces .back-1 {
    color: #22bb9d;
}

.faces .back {
    background-color: #246d77;
    color: #ddd;
}

.front span, .front-1 span, .front-2 span, .front-3 span, .front-4 span, .front-5 span {
    display: inline-block;
    font-size: 3.5em;
    margin-top: 0.35em;
}

.rotate3dY .back {
    -webkit-transform: rotateY( 180deg );
    -ms-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}

.rotate3dX .back {
    -webkit-transform: rotateX( 180deg );
    -ms-transform: rotateX( 180deg );
    transform: rotateX( 180deg );
}

.back p {
    padding: 2.5em 3em;
}

.rotate3dY:hover .faces:hover {
    -webkit-transform: rotateY( 360deg );
    -ms-transform: rotateY( 360deg );
    transform: rotateY( 360deg );
}

.rotate3dX:hover .faces:hover {
    -webkit-transform: rotateX( 360deg );
    -ms-transform: rotateX( 360deg );
    transform: rotateX( 360deg );
}
/*******************************************************************/
/*************** End Animation des tuiles au survole ***************/
/*******************************************************************/

















.MsgInfo_content div{position:relative;}
.space {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 8em;
    width: 50%;
}
.col1{
    flex: 1;
    display: flex;    
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    min-width:300px;
    -webkit-flex-direction: row-reverse; 
    flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
    -moz-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.col2{
    flex: 1;
    display: flex;    
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    min-width:300px;
    margin:20px;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.MsgInfo_content{
    font-size: 14px;
    padding: 0 20px 4px;
}
.MsgInfo_content a{
    color:#f49b1e;
    font-weight:bold;
}
.PlusDeMessage{
    color: #6CC2BF;
    text-transform: uppercase;
    font-size: 0.75em;
    text-align: right;
    font-weight: normal;
    display: block;
    font-family: 'latoregular';
    margin: 10px;
    border-bottom: 1px solid #6CC2BF;
}
.col4 {margin-bottom:30px;}
.icon-SupportEmed{}

/***** Ecran < 720px *****/
@media (max-width: 720px) {

    /***** Tiles page *****/
    .demo-wrapper{padding: 30px 10px;}
    .tile{
        flex: 1;
        height: 150px;
        max-width: 250px;
        min-width: 150px;
        margin: 0 5px 10px 5px;
    }
    .tile-label{font-size:12px;}
    .tile .tile-description{font-size:10px;}
    /***** End Tiles page *****/
}