/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 2015-08-19, 13:51:04
    Author     : lanteib
*/

.float-left {
    float: left;
}

html, body {
	height: 100%;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: Lato;
}


h1 {
	font-family: Lato;
	font-size: 36px;
	font-style: normal;
	font-variant: normal;
	font-weight: bold;
	line-height: 20px;
	margin-bottom: 0px;
}

h2 {
	font-family: Lato;
	font-size: 24px;
	font-style: normal;
	font-variant: normal;
	font-weight: 500;
	line-height: 28px;
	margin-top: 10px;
}


h3 {
	font-family: Lato;
	font-size: 14px;
	font-style: normal;
	font-variant: normal;
	font-weight: 500;
	line-height: 15.4px;
}
p {
	font-family: Lato;
	font-size: 14px;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	line-height: 20px;
}
blockquote {
	font-family: Lato;
	font-size: 21px;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	line-height: 30px;
}
pre {
	font-family: Lato;
	font-size: 13px;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	line-height: 18.5714px;
}

.main-header {
    width: 100%;
    height: 3.875em; /* 62px / 16 */
    background: #343434;
    position: relative;
    z-index: 100;
}

.content {
    max-width: 1000px;
    width: 100%;
    position: relative;
    margin: auto;
}

.main-header .content {
    text-align: right;
}

.lien-aide {
	font-size: 0.75em;
	font-family: Lato;
	font-style: normal;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	padding-top: 3.25em; /* 12 / 16 */
	display: inline-block;
	position: relative;
	margin-right: 10px;
}



.lien-aide:hover, .lien-aide:focus {
    color: #F5F5F5;
}

.lien-aide:after {
    content: '?';
    font-size: 3.583333333333333em; /* 43px / 16 */
    position: absolute;
    left: 0;
    right: 0;
    top: -0.186046511627907em; /* 8px / 43px */
    height: 1em;
    text-align: center;
}
.main .content {
    padding-top: 2.4375em /* 39px / 16px */;
    width: 54%;
    margin: 0;
}


.main-footer {
    width: 100%;

    position: fixed;
    bottom: 0;
}

.main-footer-top {
    box-sizing: border-box;
    padding-top: 1.1875em; /* 19px / 16px */
    height: 6.6875em;
    background: #2e2e2e;
    text-align: center;
}

.main-footer-bottom {
    height: 2em ; /* 32px / 16 */
    background: #888888;
    color: #343434;
    text-align: center;
    box-sizing: border-box;
    padding-top: 0.25em; /* 4 / 16 */
}


.main-footer-bottom small {
	font-size: 0.75em; /* 12/16 */
	font-family: Lato;
	font-style: normal;
	font-weight: 400;
	color: #343434;
}

.background-two-colors {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    top: 3.875em;
    bottom: 8em; /* 128 / 16 */
}

.left-side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 55%;
    background: #fff;
}

.right-side {
    position: fixed;
    top: 0;
    left: 55%;
    bottom: 0;
    right: 0;
    background: #fff;
}

.main-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 3.875em;
    bottom: 8em; /* 128 / 16 */
    overflow: hidden;
}


.main {
    max-width: 1230px;
    width: 98%;
    margin: auto;
    background: red;
    box-sizing: border-box;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,1);
 overflow: visible;
}


.background-image {
    position: absolute;
	top: 5%;

    left: 41.2%; /*382px / 1000px*/

}

.udem-link-top {
    display: block;
    margin: 0;
    width: 282px;
    height: 87px;
    background: transparent url(../img/udem-icon-top.png) -290px 0 no-repeat;
}

.udem-link-top:hover, .udem-link-top:focus {
    background: transparent url(../img/udem-icon-top.png) 0 0 no-repeat;
}

.main-heading {
    font-size: 3.625em; /* 58px / 16px */
    color: #343434;
    font-style: normal;
    font-weight: 400;
    line-height: 1.1em;
    margin-top: 2.7068965517241385em; /* 157px / 58 px */
    margin-bottom: 0.4137931034482759em; /* 24 / 58 */
}

input[type=submit] {
	box-sizing: border-box;
	padding: 0 24px;
	height: 1.95833em; /* 47 / 24*/
	background: none;
	text-align: center;
	color: #000;
	font-size: 1.5em; /* 24 / 16 */
	border: thin 1px #999;
	font-family: Lato;
	font-style: normal;
	font-weight: 400;
	min-width: 177px;
}

.back {
  background: #CCC;
  color: #000000;
}

form {
    margin: 1em 0;
}

form + form {
	margin-left: 44px;
}

input[type=submit]:hover, input[type=submit]:focus {
  background-color: #e0e0e0;
  color: #313131;
}

.link-button {
  box-sizing: border-box;
  display: flex;
  padding: 0 24px;
  min-width: 177px;
  height: 1.95833em; /* 47 / 24*/
  background: #CCC;
  border-bottom: solid 2px #898989;
  border-right: solid 2px #898989;
  border-top: solid 2px #dddddd;
  border-left: solid 2px #dddddd;
  text-decoration: none !important;
  color: #000;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.link-button:focus, .link-button:hover {
	background-color: #e0e0e0;
	color: #313131;
}

div.link {
	margin: 1em 0;
}

div.link-right {
	margin-left: 44px;
}

.form-message {
	width: 177px;
	margin: auto;
	text-align: center;
	font-family: Lato;
	font-size: 0.75em;
	font-weight: 700;
	color: #6b6b6f;
	margin-top: 8px;
}

.logo-dgt {
    display: inline-block;
    vertical-align: top;
    width: 179px;
    height: 57px;
    padding-top: 0.3125em; /* 5/ 16 */
    margin-right: 45px;
    background: transparent url(../img/logo-dgt.png) no-repeat 5px;
}

.logo-dgt:hover, .logo-dgt:focus {
    background: transparent url(../img/logo-dgt-hover.png) no-repeat 5px;
}

.logo-d2l {
    display: inline-block;
    vertical-align: top;
    width: 175px;
    height: 44px;
	background: #ccc;
    margin-top: 0.625em; /* 10 / 16 */
    background: transparent url(../img/logo-d2l.png) no-repeat;
}

.logo-d2l:hover, .logo-d2l:focus {

    background: transparent url(../img/logo-d2l-hover.png) no-repeat;
}

@media screen and ( max-height: 48.625em ){
    .main {
        height: 37.5em; /* 600 / 16 */
        padding-top: 0;
        padding-bottom: 0;
        position: relative;
        z-index: 11;
    }

    .main-container {
        position: static;
    }

    .main-footer {
        position: relative;
        z-index: 10;

    }

    .main-header {
        position: relative;
        z-index: 10;

    }
}

@media screen and ( max-width: 1020px ){
    .main .content {
        box-sizing: border-box;
        padding-right: 10px;
        padding-left: 10px
    }
}

@media screen and (max-width: 1000px) {
    .background-two-colors {
        display: none;
    }
}
@media screen and ( max-width: 1100px ) {
.main .content {
        width: 100%;
    }
}

@media screen and ( max-width: 800px ) {
.main .content {
        width: 100%;
    }
}

@media screen and ( max-width: 686px ) {
    .main .content {
        width: 100%;
    }

    .background-image {
        display: none;
    }

    .main-heading {
        margin-top: 0.5em; /* 40 / 16 */

    }
}

@media screen and ( max-width: 550px ) {
  .main-footer-bottom {
    height: auto;
  }

	form.float-left {
  	float: none;
	}

  div.float-left {
    float: none;
  }

	form + form {
  	margin-left: 0;
	}

  div.link-right {
  	margin-left: 0;
  }

  input[type=submit] {
  	width: 100%;
	}

  .link-button {
    width: 100%;
  }
}

@media screen and ( max-width: 400px )  {
    .main-footer-top {
        height: auto;
    }

    .logo-d2l {
        margin-top: 1.25em; /* 20 / 16 */
        margin-bottom: 1.25em;
    }

    .main-heading {
        font-size: 2.5em; /* 40 / 16 */;
    }

}


@media screen and ( max-width: 550px )  and ( max-height: 820px ) {
    .main {
        height: 600px;
        padding-top: 0;
        padding-bottom: 0;
        position: relative;
        z-index: 11;
    }

    .main-container {
        position: static;
    }

    .main-footer {
        position: relative;
        z-index: 10;

    }

    .main-header {
        position: relative;
        z-index: 10;

    }
}
