
* {
    padding: 0;
    margin: 0;
}
body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    font-family: Roboto, LatoWebLight;

    background: url(../img/v3/Fond_connexion.png);
    background-size: cover;

    /*
    border-top: 1.4vmin solid #29b4c2;
    border-bottom: 1.4vmin solid #29b4c2;
    background: white;
    */

    filter: progid:dximagetransform.Microsoft.gradient( startColorstr="#22333d", endColorstr="#151e23",GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

header h2 {
    margin-bottom: 0;
}
small {
    font-size: 1.5vmin;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}
@-webkit-keyframes blink {
    50% {
        opacity: 0;
    }
}
.blink {
    -webkit-animation: blink 1s linear infinite;
            animation: blink 1s linear infinite;
}
.tb-cell {
    display: table-cell;

    vertical-align: middle;
}

#my-apps .list-group-item .tb-cell {
    text-align: left;
}
#my-apps .list-group-item .tb-cell p {
    margin-bottom: 1vmin;
}

#my-apps .list-group-item .tb-cell:nth-child(1) {
    width: 15vw;
}
#my-apps .list-group-item .tb-cell:nth-child(2) {
    width: 35vw;
}
#my-apps .list-group-item .tb-cell:nth-child(3) {
    width: 50vw;

    text-align: right;
}
#homework,
#content,
#dashboard {
    width: 80vw;
    height: 83vmin;
    margin: auto;
    overflow: hidden;

    font-size: 2vmin;
}
#navbar {
    width: 80vw;
    margin: auto;
}
.list-group-item {
    display: table;
    height: 15vh;
    margin: 10px 0;

    vertical-align: middle;

    color: white;
    border-radius: 0 !important;
    background-color: #334c59;
}
.list-group-item:first-child {
    margin-top: 30px;
}
.list-group-item .btn.info {
    background-color: #6092a4;
}
.list-group-item.inactive {
    color: #aaa;
    background-color: #535353;
}
header,
section,
footer {
    color: white;
}
header {
    position: absolute;
    top: 0;
}
body {
   /* padding: 3vmin;*/
}
#account {
    position: absolute;
    top: 2vmin;
    left: 2vmin;
}
#icon-close {
    position: absolute;
    top: 0;
    right: 0;

    display: none;
}
#icon-close.visible {
    display: block;
}
header {
    height: 4vmin;
}
header h2 {
    font-size: 2vmin;
}
#dashboard {
    height: 60vmin;
}
footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 8vmin;
}
#logo {
    width: 15vmin;
}
header,
#homework,
#content,
#dashboard {
    margin-bottom: 1vmin;
}
#icon-parameter,
#school-infos {
    display: inline-block;
    height: 5vmin;
    margin-right: 3vmin;

    vertical-align: middle;

    color: black;
}
#school-infos > div,
#school-infos img {
    display: inline-block;
    height: 100%;

    vertical-align: top;
}
#school-infos img {
    margin-right: 2vmin;
}
p {
    margin-bottom: 0;

    font-size: 1.8vmin;
}
ul li {
    font-size: 2.5vmin;
}
.btn.update-app,
.btn.play-app,
.btn.install-app,
.btn.uninstall-app {
    display: none;

    background-color: rgba(0,0,0,0);
    /*height: 4vh;*/
}
.btn.update-app.visible,
.btn.play-app.visible,
.btn.install-app.visible,
.btn.uninstall-app.visible {
    display: inline-block;
}
.btn:hover {
    opacity: .7;
}
.btn:hover {
    opacity: 1;
}
.btn {
    font-size: 1.5vmin;
}
#my-apps .thumb {
    height: 10vmin;
}
.nav-pills {
    font-size: 1.5vmin;
}
#app-infos-content li,
#app-infos-content span,
#app-infos-content p {
    font-size: 1.5vmin;
}

#estimations {
    font-size: 2vmin;
}
input[type=text],
input[type=email],
input[type=password] {
    /*border: 1px solid #070a0d;*/
    border: 1px solid #243e58;
    background-color: white;
}
.button {
    position: absolute;

    width: 182px;
    height: 39px;

    border-radius: 5px;
    background-image:    -moz-linear-gradient( -89deg, rgb(50,95,146) 0%, rgb(69,115,167) 49%, rgb(50,95,146) 100%);
    background-image: -webkit-linear-gradient( -89deg, rgb(50,95,146) 0%, rgb(69,115,167) 49%, rgb(50,95,146) 100%);
    background-image:     -ms-linear-gradient( -89deg, rgb(50,95,146) 0%, rgb(69,115,167) 49%, rgb(50,95,146) 100%);
}
.ib {
    display: inline-block;
}
.vmid {
    vertical-align: middle;
}
.not-here {
    display: none;
}
#icon-back-parameter {
    width: 8vmin;
}

#app-infos-content {
    padding: 2vmin;
    margin-left: 8.5vmin;

    background-color: #0f1820;
}
.line {
    display: block;
    margin-bottom: 3vmin;
}

.line > p:nth-child(1) {
    margin-bottom: 1vmin;
}

input[type=text],
input[type=email],
input[type=password] {
    display: block;
    width: 50vmin;
    height: 4vmin;
    padding: 1vmin;

    color: white;
}

#remaining-days {
    font-family: Roboto, LatoWebHeavy;
}
#icon-back-app-infos {
    margin-top: 5vmin;
}
#app-infos-content {
    margin-top: -5vmin;
}
#app-infos-content h2 {
    margin-bottom: 2vmin;

    font-size: 2vmin;

    color: #71daf4;
}
#app-infos-content ul {
    list-style-type: none;
}
#app-infos-content ul li.active {
    color: white;
}
#app-infos-content ul li {
    color: rgb(150,150,150);
}
#app-infos-content p {
    margin-bottom: 3vmin;
}

#app-infos-content .line {
    margin-bottom: 5vmin;
}
.dlc-info {
    display: inline-block;
    width: 24px;
    padding: 0;
    margin-left: .5vmin;

    vertical-align: middle;
}
#app-content p {
    display: inline-block;
    margin-bottom: 0;

    vertical-align: middle;
}
#app-thumb {
    width: 100%;
}
.row {
    margin-bottom: 2vmin;
}

.progress-bar {
    position: relative;

    width: 100%;
    height: 26px;
    margin-top: 1vmin;
    overflow: hidden;

    background-color: orange;
}
.inner-progress-bar {
    position: absolute;
    left: 0;

    height: 100%;

    background-color: green;
}
.inner-progress-bar-content {
    position: absolute;
    right: 10px;

    text-align: right;
}
.modal-header,
.modal-body {
    color: black;
}

.uninstall-app {
    height: 50px;
}

#modal-choose-install input[type=text] {
    width: 100%;
    margin-bottom: 10px;

    font-size: 13px;

    color: black;
    background-color: inherit;
}
#catalog {
    padding-top: 10px;

    background-color: white;
}
#catalog iframe {
    width: 100%;
    height: 100%;

    background-color: white;
}
/*
#button-disconnect {
    position: absolute;
    top: 6px;
    right: 100px;

    height: 90%;
    padding: 5px;

    line-height: 100%;
    position: absolute;
    top: 6px;
    right: 100px;

    padding: 5px;
}
*/
#connectivity {
    display: inline-block;
    margin-left: 0;
}
#connectivity > img {
    display: none;
    width: 40px;
    margin-right: 20px;
}

#connectivity > img.visible {
    display: inline-block;
}
#filter-apps > * {
    margin-right: 20px;
}
#filter-apps > button {
    padding: 5px;
}
input[type=search] {
    width: 100px;
    padding: 6px 10px 6px 32px;
    -webkit-box-sizing: content-box;

    font-family: inherit;
    font-size: 100%;

    -webkit-transition: all .5s;
       -moz-transition: all .5s;
            transition: all .5s;

    border: solid 1px #ccc;
    -webkit-border-radius: 10em;
       -moz-border-radius: 10em;
            border-radius: 10em;
    outline: none;
    background: #ededed url(../img/search-icon.png) no-repeat 9px center;

    -webkit-appearance: textfield;
}
input[type=search]:focus {
    width: 200px;

    border-color: #13a7b2;
    background-color: #fff;
    -webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
       -moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
            box-shadow: 0 0 5px rgba(109,207,246,.5);
}

.popover-body p {
    margin-bottom: 1vmin;
}

.fade-in-out {
    -webkit-animation: fadeinout 3s linear infinite;
            animation: fadeinout 3s linear infinite;
}

@-webkit-keyframes fadeinout {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeinout {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
a,
a:hover {
    text-decoration: underline;

    color: #00c2ff;
}
/*
* {
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

     -khtml-user-select: none;
}
*/
#filter-apps {
    margin-top: 2vh;
    margin-bottom: 2vh;
}

@media screen and (max-width: 1024px) and (max-height: 600px) {
    #homework, #content {
        font-size: 2vmin;
    }
/*
    header {
        height: 6vmin;
    }
*/
}
#content-form {
    text-align: center;
}

#menu {
    position: fixed;
    top: 0;
    z-index: 100;

    width: 30vmin;
    height: 100%;

    color: black;
    border: 1px solid black;
    background: rgb(245,245,245);
    transition: right 600ms ease;    /* permet d'afficher et de masquer le menu en appliquant la règle de classe .showMenu et .hideMenu */

    backface-visibility:			hidden;
    perspective: 					1000;
    transform: 						translate3d(0px,0px,0px);    
}
#veil {
    position: fixed;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    pointer-events: none;

    background-color: rgba(0,0,0,.5);
    z-index: 10;
    transition: opacity 600ms ease;

    backface-visibility:			hidden;
    perspective: 					1000;
    transform: 						translate3d(0px,0px,0px);    
}
#menu > #veil {
    z-index: 99;
}
#menu ul {
    height: 5vmin;

    font-family: Roboto;
    font-weight: bold;
    line-height: 5vmin;
    list-style-type: none;
}
#menu ul li {
    height: 5vmin;

    font-size: 1.5vmin;
    cursor: pointer;        /* Remplace le curseur de sélection sur le texte */
}
#menu ul li.active {
    color: #366496;
    background: rgb(255,255,255);
}

#button-disconnect {

    text-align: right;

    border: none;
    background-color: rgba(0,0,0,0);
}
#button-disconnect > p {
    font-family: Roboto, sans;
    font-size: 1.5vmin;
}
.icon-wrapper {
    display: inline-block;
    height: 3vmin;
    margin-right: 1vmin;

    vertical-align: middle;
}
#menu li .icon-wrapper {
    width: 5vmin;
    height: 100%;
}
#menu li.active .icon-wrapper {
    background-color: #366496;
}
#menu li .icon-wrapper img {
    display: block;
    width: 3vmin;
    height: auto;
    margin: auto;
    margin-top: 50%;

    transform: translateY(-50%);
}
#menu li.active .icon-wrapper img {
    filter: invert(100%);
}
img.icon {
    display: inline-block;
    height: 100%;
    max-height: 80px;
    max-width: 80px;
}

#hide-menu-button {
    position: relative;

    width: 100%;
    margin-top: 2vmin;
    margin-bottom: 2vmin;
    /* margin-right: 2vmin; */

    text-align: right;
}
#hide-menu-button img {
    margin-right: 2vmin;
}
#button-disconnect p {
    font-family: Roboto;
    font-size: 1.2vmin;

    vertical-align: middle;
}
#button-disconnect .icon-wrapper {
    height: 2vmin;
    margin-left: 1vmin;

    vertical-align: baseline;
}
section {
    display: none;
    min-height: 150px;
}
section#content {
    display: block;
}

#news ul {
    list-style-type: none;
}
#news li {
    color: black;
}
#news li img {
    width: auto !important;
    height: auto !important;
    max-width: 30vmin;
    max-height: 18vmin;

    background-color: red;
}
#news li h3 {
    font-size: 2.5vmin;

    border-bottom: 1px solid #29b4c2;
}
#news li p {
    font-size: 1.7vmin;
}

#new li .vmid {
    vertical-align: top;
}

#new ul li {
    display: inline-table;    
}

#news .ib {
    display: inline-block;
    width: 22vw;
    margin-right: 2vmin;
    margin-bottom: 7vmin;
}
#news .ib:nth-child(1) {
    width: 30vmin;
    height: 18vmin;

    border: 1px solid #6b6b6b;
}
#news .button-generic {
    position: relative;

    width: 35vmin;
    height: 4vmin;
    margin-top: 1vmin;

    line-height: 4vmin;

    text-align: right;
}
#news .button-generic .button {
    position: relative;

    width: 60%;
}
#news > h2 {
    margin-bottom: 2vmin;

    font-weight: bold;
}
#news input {
    width: 50%;
    height: 4vmin;
    padding: 2.5vmin;
    margin: auto;

    color: black;
    border-radius: 0;
}
#news-wrapper, #news-wrapper img{
    width: 100%;
}
#news > p {
    text-align: center;
    
    color: #707070;

    position: absolute;
    width: 100%;
    bottom: 0;
    padding-bottom: 0;
}
#news > a {
    display: block;
    width: 100%;
    margin: auto;
    /*margin-top: 2vmin;*/

    font-size: 1.5rem;
    font-weight: bold;

    text-align: center;

    color: #29b4c2;

    position: absolute;
    bottom: -3vmin !important;    
}



@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
#spin.hidden {
    display: none;
}
#spin {
    position: absolute;
    top: 37vh;
    left: 43vw;

    display: block;
    width: 25vmin;
    height: 25vmin;

    transform: translateY(-50%) translateX(-50%);
    transform-origin: center;
    -webkit-animation: spin 4s infinite linear;
}
#spin img {
    width: 100%;
    height: 100%;
}

.heading {
    margin-top: 4vmin;

    font-size: 2.4vmin;
    font-weight: bold;

    color: black;
}
h2.pink, h3.pink {
    margin-bottom: 1vmin;
    font-size: 2vmin;
    color: #29b4c2;
    margin-top: 4vmin;
}
.gras {
    font-weight: bold;
}
.hidden {
    display: none;
}

#news-block {
    overflow: hidden;
    height: calc(100% - 18vmin);
    position: relative;
}

/*

.news-item {
    overflow: hidden;
    display: table;
}


.news-item-description {
    font-size: 1.5vmin;
    color: #000;
    display: table-cell;
    vertical-align: bottom;
}

.news-item-title {
    font-size: 133%;
    border-bottom: 1px solid #29b4c2;
    transform: translate3d(0,0,100%);
    
}

.news-item-text {

}

.news-item-image {
    position: relative;
    height: 100%;
    display: table-row;
    vertical-align: top;
}

.news-item-image div {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    display: block;
}
*/

.news-item {
    overflow: hidden;
    display: inline-flex;
	position: relative;
}

.news-item-image {
    position: relative;
    width: 33%;
    height: 100%;
	display: inline-block;	
}
.news-item.vertical .news-item-image{
    width: 100%;
}
.news-item-image div {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    display: block;
	position: absolute;
}

.news-item-image-src {
    width: 100%;
	height: auto;
	box-shadow: 0px 0.3vmin 0.5vmin rgba(0,0,0,0.4);
}

.news-item-description {
    font-size: 1.5vmin;
    color: #000;
    display: inline-block;
    width: 67%;
	padding-left: 2%;
	padding-right: 2%;
}

.news-item-title {
    font-size: 133%;
    border-bottom: 1px solid #29b4c2;
	transform: translate3d(0,0,100%);
	box-shadow: 0px 0.1vmin 0vmin rgba(0,0,0,0.2);
    
}

.news-item-text {

}
#news-block-tabs{
	margin-top: 0px !important;
}

body::after{
   position:absolute; width:0; height:0; overflow:hidden; z-index:-1; // hide images
   content:url(../img/v3/Acces_domicile_actif.png) url(../img/v3/Acces_ecole_actif.png);   // load images
}

iframe {
    border: none;
}

section.page .form-check{
    padding-left: 0;
}

/* total width */
body::-webkit-scrollbar {
    background-color:#fff;
    width:16px
}

/* background of the scrollbar except button or resizer */
body::-webkit-scrollbar-track {
    background-color:#fff
}

/* scrollbar itself */
body::-webkit-scrollbar-thumb {
    background-color:#babac0;
    border-radius:16px;
    border:4px solid #fff
}

/* set button(top and bottom of the scrollbar) */
body::-webkit-scrollbar-button {display:none}
