html{
    height: 100%;
}

body{
    margin:0;
    padding:0;
    height:100%;
    width:100%;
}

body.accueil{
    height: auto;
}

#menu-mobile-min {
    display: none
}

#menu-wrapper,#menu-wrapper-full{
    z-index:100;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    min-width:1600px;
    height:120px;
    background-color: #00447a;
    margin-bottom:10px;

}

.tralux-logo{
    padding:20px;
    position:relative;
    top:10%;
}

#menu{
    position:absolute;
    left:250px;
    top:70px;
}

#menu p, #menu a{
    display:inline-block;
    margin: 5px 25px;
    padding:5px;
    color:white;
    font: bold 18px verdana, sans-serif;
    text-decoration:none;
}

#menu a.selected, #menu a:hover{
    border-bottom:2px solid white;
}

#connexion-wrapper{
    position:absolute;
    left:300px;
    top:20px;
}

#connexion-wrapper input{
    margin:5px;
    padding:5px;
    border:1px solid darkblue;
    border-radius:5px;
}

#connexion-wrapper input.submit{
    border:1px solid white;
    background-color: #00447a;
    color:white;
    font: bold 14px verdana, sans-serif;
    cursor:pointer;
}

#connexion-wrapper input.submit:hover{
    background-color: white;
    color:#00447a;
}

#connexion-wrapper p{
    color:white;
    display:inline-block;
    font: bold 14px verdana, sans-serif;
}

#connexion-wrapper p.connexion-splitter{
    margin-left:10px;
}

#connexion-wrapper a,#connexion-wrapper p.changepwd{
    margin:10px;
    display:inline-block;
    font: 12px verdana, sans-serif;
    color:white;
    text-decoration:none;
}

#connexion-wrapper p.changepwd:hover,#connexion-wrapper p.user-name:hover{
    cursor:pointer;
}

.meteo-wrapper{
    position:absolute;
    right:20px;
    top:20px;
    height:80px;
    width:250px;
    border:2px solid white;
    border-radius:20px;
}

.meteo-wrapper img, .meteo-wrapper div{
    display:inline-block;
    text-align: center;
    vertical-align: middle;
}

.meteo-wrapper p{
    font: 12px verdana, sans-serif;
    margin:10px 0;
    color:white;
}

.meteo-wrapper div p.temp{
    font-size:20px;
    font-weight: bold;
}

.meteo-wrapper p.fail{
    width:100%;
    margin-top: 30px;
    text-align: center;
    font-size:14px;
}

#dialogpassword .modal-screen, #dialogprofile .modal-screen{
    position :fixed;
    top:0;
    left:0;
    height: 100%;
    width:100%;
    background-color: black;
    opacity: 0.7;
    z-index:100;
}

#dialogpassword form{
    position :fixed;
    top:40%;
    left:40%;
    height:240px;
    width:460px;
    background-color:white;
    border:1px solid black;
    border-radius:20px;
    z-index:101;
    text-align:center;
}

#dialogpassword form h4{
    border-bottom:1px solid black;
    padding:10px;
    margin:10px;
    font-size:16px;
}

#dialogpassword form div{
    border:0;
    margin:20px 10px 12px;
}

#dialogpassword form div label{
    float:left;
    clear:left;
    margin:10px;
}

#dialogpassword form div input, #dialogprofile form div p{
    float:right;
    clear:right;
}

#dialogpassword form .buttons,#dialogprofile form .buttons{
    text-align: center;
    float: left;
    width:100%;
}

#dialogpassword form .buttons button,#dialogprofile form .buttons button{
    margin: 0 30px;
}

#dialogprofile form{
    position :fixed;
    top:40%;
    left:40%;
    height:240px;
    width:460px;
    background-color:white;
    border:1px solid black;
    border-radius:20px;
    z-index:101;
    text-align:center;
}

#dialogprofile form h4{
    border-bottom:1px solid black;
    padding:10px;
    margin:10px;
    font-size:16px;
}

#dialogprofile form div{
    border:0;
    margin:20px 10px 12px;
}

#dialogprofile form div label{
    float:left;
    clear:left;
    margin:10px;
}

#dialogprofile form div input{
    float:right;
    clear:right;
    margin:8px;
}

#dialogprofile form div p{
    float:right;
    clear:right;
    margin:10px;
}

.sidebar{
    margin:30px 3%;
    float:right;
    width:16%;
    min-height:300px;
}

.sidebar .weekword{
    border: 2px solid #ed7925;
    border-radius: 20px;
    margin-bottom:20px;
    max-height: 400px;
    overflow-y: auto;
}

.sidebar .weekword div{
    clear:right;
    }

.sidebar .weekword .title,.sidebar .weekword .weekwords-more{
    color: #ed7925;
}

.sidebar .weekword .luxembourgish, .sidebar .weekword .french {
    display:inline-block;
    margin:5px;
    text-align:center;
}

.sidebar .weekword .luxembourgish{
    font: bold 18px verdana,sans-serif;
    padding-left:40px;
    text-align: left;
}

.sidebar .weekword .french{
    font: italic 14px verdana,sans-serif;
    padding-right:40px;
    float:right;
}

.sidebar .weekword .luxembourgish.hidden, .sidebar .weekword .french.hidden{
    display:none;
}

.sidebar .favorites{
    border: 2px solid #00447a;
    border-radius: 20px;
    margin-bottom:20px;
}

.sidebar .favorites .title{
    color: #00447a;
}

.sidebar .favorites li a{
    margin:0;
    color:black;
    font: 14px verdana, sans-serif;
    text-decoration:none;
}

.sidebar .title{
    font: bold 16px verdana, sans-serif;
}

.sidebar .title, .sidebar .weekwords-more{
    text-align:center
}

.sidebar .weekwords-more:hover, .sidebar .favorites-more:hover, .sidebar .publications-more:hover, .sidebar .sauvegardes-more:hover{
    text-decoration:underline;
    cursor:pointer;
}

.sidebar .favorites ul{
    list-style-type:none;
    margin-right:3px;
    margin-bottom:10px;
    max-height:400px;
    overflow-y: auto;
}

.sidebar .favorites li{
    width:80%;
    padding:10px;
    border-top: 1px solid #00447a;
    font: 14px verdana,sans-serif;
}

.sidebar .favorites-more{
    text-align:center;
    color:#00447a;
}

.sidebar .publications{
    border: 2px solid #ed7925;
    border-radius: 20px;
    margin-bottom:20px;
}

.sidebar .publications .title{
    color: #ed7925;
}

.sidebar .publications li a{
    margin:0;
    color:black;
    font: 14px verdana, sans-serif;
    text-decoration:none;
}

.sidebar .publications ul{
    list-style-type:none;
    margin-right:3px;
    margin-bottom:10px;
    max-height:400px;
    overflow-y: auto;
}

.sidebar .publications li{
    width:80%;
    padding:10px;
    border-top: 1px solid #ed7925;
    font: 14px verdana,sans-serif;
}

.sidebar .publications-more{
    text-align:center;
    color:#ed7925;
}

.sidebar .sauvegardes{
    border: 2px solid #00447a;
    border-radius: 20px;
}

.sidebar .sauvegardes .title{
    color: #00447a;
}

.sidebar .sauvegardes li a{
    margin:0;
    color:black;
    font: 14px verdana, sans-serif;
    text-decoration:none;
}

.sidebar .sauvegardes ul{
    list-style-type:none;
    margin-right:3px;
    margin-bottom:10px;
    max-height:400px;
    overflow-y: auto;
}

.sidebar .sauvegardes li{
    width:80%;
    padding:10px;
    border-top: 1px solid #00447a;
    font: 14px verdana,sans-serif;
}

.sidebar .sauvegardes-more{
    text-align:center;
    color:#00447a;
}


.orange{
    border:1px solid #ed7925;
    border-radius:5px;
    color:#ed7925;
    background-color:white;
    padding: 5px 15px;
    text-align:center;
    font: bold 16px verdana,sans-serif;
    margin:1px;
    text-decoration:none;
}

.orange:hover{
    color:white;
    background-color:#ed7925;
}

.red{
    border:1px solid #dd0000;
    border-radius:5px;
    color:#dd0000;
    background-color:white;
    padding: 5px 15px;
    text-align:center;
    font: bold 16px verdana,sans-serif;
    margin:1px;
    text-decoration:none;
}

.red:hover{
    color:white;
    background-color:#dd0000;
}

.blue{
    border:1px solid #00447a;
    border-radius:5px;
    color: #00447a;
    background-color:white;
    padding: 5px 15px;
    text-align:center;
    font: bold 16px verdana,sans-serif;
    margin:1px;
    text-decoration:none;
}

.blue:hover{
    color:white;
    background-color:#00447a;
    cursor:pointer;
}

.green{
     border:1px solid rgb(50,150,20);
     border-radius:5px;
     color: rgb(50,150,20);
     background-color:white;
     padding: 5px 15px;
     text-align:center;
     font: bold 16px verdana,sans-serif;
     margin:1px;
     text-decoration:none;
}

.green:hover{
    color:white;
    background-color:rgb(50,150,20);
}

.black{
    border:1px solid black;
    border-radius:5px;
    color: black;
    background-color:white;
    padding: 5px 15px;
    text-align:center;
    font: bold 16px verdana,sans-serif;
    margin:1px;
    text-decoration:none;
}

.black:hover{
    color:white;
    background-color:black;
}


button{
    cursor:pointer;
}

.content-wrapper h1.connexion-needed{
    width:50%;
    margin:180px auto 60px;
    text-align:center;
    padding-bottom: 2px;
    border-bottom:2px solid #ed7925;
    color:#ed7925;
    font: bold 26px verdana, sans-serif;
}

.content-wrapper .accueil-image{
    width:100%;
}

.content-wrapper p.connexion-needed{
    margin-top:60px;
    text-align:center;
    color:#00447a;
    font: 16px verdana, sans-serif;
}

.slideshow {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-top: 3px solid #F2F2F2;
}

.slideshow ul {
    width: 150%;
    height: 300px;
    padding:0; margin:0;
    list-style: none;
}

.slideshow a{
    margin:0;
    padding:0;
    width:100%;
    text-decoration: none;
}

.slideshow li {
    overflow:hidden;
    float: left;
    width:22.2%;
    margin-right:10px;
}

#fullScreen{
    position:fixed;
    top:0;
    left:0;
    height: 100%;
    width:100%;
    z-index:200;
    cursor:pointer;
    text-align:center;
}

#fullScreen:before{
    content:'';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

#fullScreen .background{
    position:fixed;
    top:0;
    left:0;
    height: 100%;
    width:100%;
    background-color:black ;
    opacity: 0.6;
}

#fullScreen img{
    display:inline-block;
    position:relative;
    max-height:90%;
    max-width:90%;
    opacity: 1;
    z-index:201;
    vertical-align: middle;
}

#fullScreen iframe{
    display:inline-block;
    position:relative;
    height:100%;
    width:40%;
    opacity: 1;
    z-index:201;
    vertical-align: middle;
}


.hidden{
    display:none !important;
}

@media only screen and (max-width: 540px) {


    #menu-wrapper {
        min-width: auto;
        height:200px;
        text-align: center;
    }

    #menu-wrapper .tralux-logo {
        top:0;
    }

    #menu-wrapper #menu {
         display:none;
     }

    #menu-wrapper #connexion-wrapper{
        width: 100%;
        left: 0;
        top: 100px;
    }

    #menu-wrapper #connexion-wrapper input{
        display: block;
        margin: 3px auto;
    }

    #menu-wrapper .meteo-wrapper {
        display:none;
    }

    .content-wrapper h1.connexion-needed {
        width: fit-content;
        font-size: 20px;
        margin-top: 230px;
        margin-bottom: 40px;
    }

    .content-wrapper p.connexion-needed{
        padding: 0 20px;
    }

    #menu-wrapper-full {
        display:none;
    }

    #menu-mobile-min {
        display: initial;
        z-index:100;
        position: fixed;
        top:0px;
        left:0px;
        width:100%;
        height:100px;
        background-color: #00447a;
    }

    #menu-mobile-min input {
        position: absolute;
        top:20px;
        left:20px;
        width: 60px;
        height: 60px;
    }

    #menu-mobile-min a img{
        position: absolute;
        top:24px;
        left:120px;
        height: 60px;
        padding: 0;
    }

    #menu-mobile-min #menu-mobile {
        width:100%;
        background-color: #00447a;
    }

    #menu-mobile-min #menu {
        margin-top:100px;
        position:initial;
    }

    #menu-mobile-min #menu a{
        display:block;
        margin-bottom:20px;
    }

    #menu-mobile-min #menu a.selected{
        width: fit-content;
    }

    #menu-mobile-min .meteo-wrapper {
        position:initial;
        width:100%;
        height:auto;
        border-left:0;
        border-right:0;
        border-radius:0;
    }

    #menu-mobile-min .meteo-wrapper img{
        width:100px;
        margin-right:20px;
    }

    #menu-mobile-min .meteo-wrapper img, .meteo-wrapper div{
        display:inline-block;
        text-align: start;
        vertical-align: middle;

    }

    #menu-mobile-min .meteo-wrapper p{
        font: 12px verdana, sans-serif;
        margin:10px 0;
        color:white;
    }

    #menu-mobile-min .meteo-wrapper div p.temp{
        font-size:20px;
        font-weight: bold;
    }

    #menu-mobile-min #connexion-wrapper {
        position:initial;
        padding:10px 40px;
        border-bottom:2px solid white;
        text-align:center;
    }

    #menu-mobile-min #connexion-wrapper p{
        font-size:16px;
    }

    #dialogpassword form{
        left:10%;
        top:20%;
        width:80%;
        height:auto;
    }

    #dialogpassword form div label{
        float:initial;
    }

    #dialogpassword form div input{
        float:initial;
    }

    #dialogpassword form .buttons{
        float:initial;
        margin:5px 0;
    }

    #dialogpassword form .buttons button{
        margin:5px;
    }



    .sidebar{
        float:initial;
        width:90%;
        margin: 0 5%
    }

    .slideshow {
        border-top:0;
    }


}
