html {
    /* height: 100%; */
    background-color: #E3E7E8;
}

body {
    border-top: 6px solid #3a3a3a;
    color: #5c5c5c;
    font: normal 12px/1.7 "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    display: block;
}

h1,
h2,
h3,
h4,
h5 {
    color: #272727;
    text-align: left;
}

h1 {
    font-size: 2.5em;
    margin-top: 0px;
}

h2 {
    font-size: 2em;
    margin: 15px 0 15px 0;
}

h3 {
    font-size: 1.5em;
    margin: 15px 0 15px 0;
}

h4 {
    font-size: 1em;
    margin: 15px 0 15px 0;
}

h5,
h5 .button {
    font-size: 13px;
    color: #0A9F86;
}

h3.divider {
    margin-top: 45px;
    border-bottom: 1px solid rgb(230, 230, 230);
}

h2.notop-margin,
h3.notop-margin,
h4.notop-margin {
    margin-top: 10px;
}

a {
    color: rgb(10, 159, 134);
    text-decoration: none;
}

a:hover {
    color: #272727;
}

.a-black a {
    color: #272727;
}

p {
    text-align: justify
}

/* flex vertical align cells of forms*/
form .pure-g [class*="pure-u"] {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-direction: column;
    justify-content: center;
    -webkit-box-align: center;
}

button,
input[type="submit"] {
    color: #E3E7E8;
    background: #2DAD98 none repeat scroll 0% 0%;
    /* font-size: 1.2em; */
    cursor: pointer;
    font-weight: 400;
    height: auto;
    overflow: visible;
    padding: 7px 20px;
    width: auto;
    border-top-style: none;
    border-width: 0;
}

input,
textarea,
select {
    background-color: #F8F8F8;
    border: 1px solid #E8E8E8;
    box-shadow: none;
    -webkit-appearance: textfield;
    /* color: #8F8F8F; */
    /* font-size: 12px; */
    line-height: 1.25em;
    padding: 5px 10px;
    border-radius: 0px;
    vertical-align: middle;
    /* cursor: pointer;*/
    width: 100%;
    display: inline-block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/* input, select { height: 2.5em;} */

input[type="checkbox"],
input[type="radio"] {
    width: 1.25em;
    height: 1.25em;
    box-sizing: border-box;
    padding: 0px;
    -webkit-appearance: checkbox;
}

fieldset {
    border: 0;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.fright {
    -webkit-box-pack: end;
    align-items: flex-end;
}

.justify {
    text-align: justify;
}

.block {
    display: block;
}


/* header */
.main-nav {
    margin: 0px auto 0px auto;
    /*height: 40px;*/
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.main-nav ul {
    display: flex;
    justify-content: space-between;
}

.main-nav .menu {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 70px;
}

.main-nav .item {
    display: block;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    text-align: center;
    /*padding: 0;*/
    margin: 0;
}

.main-nav ul {
    margin: 0;
    padding: 0;
}

.main-nav .item>a {
    color: #272727;
    display: inline-block;
    width: 100%;
    height: 33px;
    vertical-align: middle;
    line-height: 33px;
    border-bottom: 1px solid transparent;
    border-top: 6px solid transparent;
    font-size: 1em;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    padding-top : 25px;
    padding-bottom : 20px;
}

.main-nav .item>a:hover {
    color: #2dad98;
    background-color: #F6F6F6;
    border-bottom: 1px solid #2dad98;
    border-top: 6px solid #2dad98;
}

.main-nav .login>a {
    color: rgb(130, 130, 130);
}

.main-nav li {
    list-style: none;
    float: left;
    margin: 0;
    position: relative;
}

.main-nav ul ul {
    background: #3a3a3a;
    -webkit-box-shadow: 2.5px 2.5px 5px rgba(0, 0, 0, .2);
    -moz-box-shadow: 2.5px 2.5px 5px rgba(0, 0, 0, .2);
    box-shadow: 2.5px 2.5px 5px rgba(0, 0, 0, .2);
    display: none;
    left: 0;
    padding: 0;
    position: absolute;
    width: 200px;
    z-index: 99;

}

.main-nav ul ul li {
    float: none;
}

.main-nav ul ul a {
    border: 0;
    border-bottom: 1px solid #252525;
    border-top: 1px solid #4c4c4c;
    color: #fff;
    display: block;
    font-size: 11px;
    letter-spacing: 0;
    font-weight: 400;
    padding: 8px 20px !important;
    text-align: left;
    text-transform: none;
}

.main-nav ul ul a:hover {
    background: #2dad98;
}


/* footer */

.footer {
    position: absolute;
    width: 100%;
    bottom: 0px;
}

.footer-content {
    width: 100%;
    border-top: 1px solid #DCDCDC;
    padding: 5px 0 5px 0;
    font-size: 0.8em;
    color: #9C9C9C;
}

.footer-content p {
    text-align: center;
    margin: 5px 0 0 0;
}

.footer h4 {
    font-size: 1em;
    text-align: center;
    margin-bottom: 0px;
}


/* container */
.container {
    position: relative;
    width: 1000px;
    margin: 0px auto 0px auto;
    padding: 0;
    background-color: white;
    display: block;
    padding-top: 1em;
}

.text-container {
    padding: 0 1em 0 1em;
    text-align: justify;
}

.header {
    border-bottom: 1px solid #efefef;
    height: 86px;
    z-index: 97;
    display: flex;
    align-items: center;
    padding-top: 0px;
}



.banner {
    padding-bottom: 0.5em;
}

/* removes blank space between banner image and code links */
.banner img {
    margin-bottom: -10px;
}

.banner .code-link{
    margin-left : auto;
    margin-right : auto;
}

.banner-button{
    padding-top : 2em;
    padding-bottom : 2em;
}

.banner-button:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.banner h5 {
    text-align : center;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.banner p {
    margin: 0;
    text-align : center;
}

.content-header {
    margin: 0;
    vertical-align: middle;
}

.content-header h2 {
    margin: 0;
}

.content-header h4 {
    margin: 0;
}

#content {
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    margin: 1em auto 1em auto;
    /* text-align: center; */
    /* height:auto; */
    padding: 10px 30px 200px 30px;
}


/* utils */


/* from http://stackoverflow.com/questions/20598568/display-and-hide-div-with-css */

.hidden {
    display: none;
    visibility: hidden;
}

.visible {
    display: block;
    visibility: visible;
}


/*
div.tag {
    display: inline-block; 
    background-color: #2DAD98; 
    color: #EFEFEF; 
    padding: 5px 10px 5px 10px; 
    text-align: center;
    -moz-border-radius: 7px; 
    border-radius: 7px;
    -webkit-border-radius:7px;
    margin: 0 auto 0 auto;
}
div.tag a {color: #EFEFEF;}

div.tag.transparent {background-color:inherit;}
div.tag.transparent a {color: rgb(10, 159, 134);}
*/

.error {
    color: #DD514C;
    font-weight: bold;
    padding: 20px;
}

.error-msg {
    color: red;
    font-weight: bold;
}

.info {
    background: #d8ecf5 url(../img/icon-box-info.png) no-repeat 10px 8px;
    border: 1px solid #9ac9df;
    border-left-width: 1px;
    border-left-width: 4px;
    color: #528da9;
}

.error,
.info {
    display: block;
    padding: 10px 20px 10px 44px;
}

.infobox {
    background: #fbfbfb;
    border: 1px solid #efefef;
    margin: 0 0 20px;
    padding: 10px;
}

/* font awesome overwrite */

ul.fa-ul {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
}


/* Pure.io overwrite */

.pure-form input[type="text"],
.pure-form input[type="password"] {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.pure-g [class*="pure-u"] {
    font-family: 'Lucida Sans', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
}


/* fix purecss which do that for safari/ms but not firefox */

.pure-g {
    display: flex;
    flex-flow: row wrap;
}

.pure-g [class *="pure-u"] {
    vertical-align: middle;
    margin-top: 5px;
}

.vh-middle {
    display: flex;
    display: -webkit-box;
    flex-direction: column;
    -webkit-box-direction: column;
    justify-content: center;
    -webkit-box-align: center;
}


/* ism custom addition to core ism theme*/

table,
th,
td {
    border: 1px solid #e3e7e8;
}

td {
    vertical-align: baseline;
}

th {
    text-align: center;
}

td,
th {
    padding: 7px;
}

table.no-border {
    border: 0;
}

table.no-border td {
    border: 0;
}

.flex-t {
    display: flex;
    align-items: center;
}

ul {
    margin-left: 0;
    padding-left: 2px;
}

li {
    margin-left: 1em;
}


/* see
 * (http://stackoverflow.com/questions/7516005/how-to-make-a-bullett-list-align-with-text-in-css)
 * for explanation about bullet list alignment */

.bloc-logo {
    float: left;
    padding-top : 10px;
}

.project-left-size {
    border-right: 1px solid #efefef;
    padding-right: 1em;
    margin-right: 1em;
}

.project-left-size img {
    float: right;
    margin: 1em 1em 1em 1em;
}

.project-left-size img.nofloat {
    float: none;
}

.project-left-size img.floatleft {
    float: left;
}

.project-column {
    padding-right: 1em;
    margin-right: 1em;
}


/*Imported from old css */

.menu-page-container {
    display: block;
    /*width: 100%;*/
    background-color: #eee;
    height: 50px;
    margin: 0;
    margin-right: 0px;
    margin-left: 0px;
    padding: 0 10px 0 0;
    margin-left: auto;
    margin-right: auto;
    width: 990px;
}

.menu-page {
    padding: 0;
    margin: 0;
    margin-left: 0px;
    list-style: none;
    margin-left: 25px;
}

.menu-page li a:hover {
    color: #222;
}

.menu-page li a {
    color: #5c5c5c;
}

.menu-page li a {
    display: block;
    padding: 12px;
    width: 95px;
    font-size: 12px;
}

.menu-page li:first-child {
    border-left: none;
}

.menu-page li {
    padding: 0;
    margin: 0;
    display: block;
    float: left;
    text-align: center;
    border-right: 1px solid #fff;
    border-left: 1px solid #ddd;
}


/*
.page-title {

}*/

.page-title
/*, .page-description, .page-subdescription, .project-title*/

{
    font-size: 2.5em;
    /*margin-top: -10px;*/
    padding: 0 0 10px;
    font-weight: 300;
    letter-spacing: -0.1px;
    margin-bottom: 0;
}


/*
.page-title{
    font-weight: 300;
    letter-spacing: -0.1px;
    margin-bottom: 0;
}*/

.page-header {
    border-bottom: 1px solid #efefef;
    padding-left : 1em;
    /*margin: -15px 0 5px;*/
}

.encart-labo {
    display: block;
    padding: 0px 15px 5px 15px;
    background-color: #F3F3F3;
    margin: 0 0 15px 0;
    border: 1px dotted #ccc;
}
