
@font-face {
    font-family: 'Klavika';
    src: local('Klavika'),
    url('../fonts/klavika-regular.eot'),
    url("../fonts/klavika-regular.otf")  format("opentype");
}


/* zocial */
[class*="entypo-"]:before {
    font-family: 'entypo', sans-serif;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; 
}

html
{
    margin:0;
    padding:0;
}

body {
    margin: 0;
    padding: 0;
    -webkit-background-size: cover; /* pour anciens Chrome et Safari */
    background-size: cover; /* version standardisée */
    font-family: 'Klavika', sans-serif;
    overflow-y: auto;
}

#form-container {
    flex: 1;
    display: flex;
}

#form-container.theam {
    position: relative;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 890px;
    height: 605px;
    background: #ffffff6b;
}
#logo-brand
{
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    width: 100vw;
    padding: 0 20px;
    max-width: 420px;
    min-width: 300px;
}

#submit.tam-login-theme {
    background-color: #005daa;
}

#login-form,
#login-form > form
{
    position: relative;
    display: inline-block;
    width: 100%;
}

#login-form #login-inputs
{
    width: calc(100% - 60px);
    float: left;
    margin-right: 10px;
}

#login-form #login-inputs > div {
    margin: 10px 5px;
    position: relative;
}

input {
    padding: 16px;
    border-radius:7px;
    border:0px;
    background: white;
    display: block;
    width: 100%;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    color: #00b170;
    font-size:18px;
    height: 54px;
}

input:focus {
    outline-color: rgba(0,0,0,0);
    background: white;
    color: #00b170;
}

.input-login.tam-login-theme {
    color: #005daa;
}

.input-login.tam-login-theme:focus {
    color: #005daa;
}

#login-form > form > button
{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    height: 120px;
    width: 50px;
    border: 0px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    background: #00b170;
    border-radius:7px;
    padding: 10px;
    color:white;
    font-size:22px;
    cursor: pointer;
}

button:hover {
    background: #00b170;
}

.input-login-icon {
    position:absolute;
    top: 15px;
    right: 15px;
    color:#00b170;
}

.input-login-icon.tam-login-theme {
    position:absolute;
    top: 15px;
    right: 15px;
    color:#005daa;
}

input::-webkit-input-placeholder {
    color: #9b9b9b;
    font-family: Klavika, sans-serif;
}

input::-moz-placeholder {
    color: #9b9b9b;
    font-family: Klavika, sans-serif;
}

#forgotPassword {
    font-family: Klavika, sans-serif;
    text-decoration: none;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.8);
    color: white;
    font-weight: bold;
}

#connexion {
    font-family: Klavika, sans-serif;
    text-decoration: none;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
    color: white;
}

#languages {
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: 100px;
    width: 100px;
    margin: 0;
    padding: 0;
}
#languages a {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 15px 8px 15px;
}

#languages a img {
    vertical-align: middle;
}

#languages a p {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

#div-version {
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: auto;
    width: auto;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 15px 8px 15px;
}

.flags-login {
    /*float: right;*/
    margin: 32px 0 0 0;
    display: none;
}

.flag {
    cursor: pointer;
    margin-right: 10px;
}

@media screen and (max-height: 450px) {
    #div-version {
        position: static;
        float: right;
    }
}

#submit-mail > span > i {
    color: white;
}

.avgrund-popup {
    position: absolute;
    width: 380px;
    min-height: 140px;
    left: 50%;
    margin: -130px 0 0 -190px;
    visibility: hidden;
    opacity: 0;
    padding: 20px;
    box-sizing: border-box;
    background: white;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
}

.login-img {
    position: relative;
}

#haulier-title {
    display: none;
    position: absolute;
    bottom: 10px;
    left: calc(50% - 85px);
    color: red;
    font-size: 1.4em;
}

#login-footer
{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    max-height: 200px;
}

#link-platforms
{
    display : flex;
    align-items: center;
}

#link-platforms > div > a
{
    text-decoration: none;
}

#link-platforms > div > a > img
{
    width : 6vh;
    height : 6vh;
    margin-right : 3px;
}


#link-website
{
    margin-bottom: 16px;
}

#link-website > img
{
    width : 100%;
    height : 100%;
    text-decoration: none;
}

#login-header
{
    display: flex;
    flex: 1;
    max-height: 280px;
}

#login-header > div {
    width: 100%;
    height: 100%;
    padding-top: 38px;
    padding-right: 76px;
    box-sizing: border-box;
    text-align: end;
}

#login-header #img-header
{
    background-size: contain;
    background-image: url(../../res/imgs/edycem/edycem.png);
    background-repeat: no-repeat;
    background-position: right;
    width : 100%;
    height: 100%;
}

.edycem-login-theme {
    display: flex;
    flex-direction: column;
}

.edycem-login-theme #logo-brand {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto;
    transform: none;
    display: flex;
    flex: 1;
    align-items: center;
}

#iconEdycem {
    display: none;
}

.edycem-login-theme #login-form {
}

.edycem-login-theme #login-footer {
    flex: 1;
    justify-content: flex-end;
}

@media screen and (max-width: 800px) or (max-height: 760px) {


    #link-platforms > p
    {
        font-size: 8vw !important;
    }

    #link-website > a
    {
        font-size: 7vw !important;
    }

    #link-platforms > div > a > img
    {
        width : 6vw;
        height : 6vw;
    }
}

@media screen and (max-height: 700px) {
    #iconEdycem {
        display: none;
    }

    .edycem-login-theme #login-form {
        /*margin-top: 50px;*/
    }
}

@media screen and (max-height: 700px) and (min-width: 600px){
    #iconEdycem {
        display: none;
    }
}

@media screen and (max-width: 850px){
    #login-header > div {
        padding: 0;
    }

    #login-header #img-header {
        /*background-size: cover;*/
    }
}


/*@media screen and (max-height: 600px) {*/
    /*#login-header > div {*/
        /*height: 40vh;*/
        /*width: auto;*/
        /*margin: 0;*/
    /*}*/
    /*#login-header img {*/
        /*width: auto;*/
        /*height: 100%;*/
    /*}*/
/*}*/

@media screen and (max-height: 650px) {
    #iconEdycem {
        display: none;
    }
    #link-platforms > p
    {
        font-size: 4vh !important;
    }

    #link-website > a
    {
        font-size: 3vh !important;
    }

    #link-platforms > div > a > img
    {
        width : 5vh;
        height : 5vh;
    }
}

@media screen and (max-width: 550px) {
    #link-platforms > p
    {
        font-size: 6vw !important;
    }

    #link-website > a
    {
        font-size: 5vw !important;
    }

    #link-platforms > div > a > img
    {
        width : 7vw;
        height : 7vw;
    }
}

