@import url(https://fonts.googleapis.com/css?family=Lato:400,700,900,300);

::selection {
    color: #FFF;
    background-color: #9CCA96;
}

::-moz-selection {
    color: #FFF;
    background-color: rgb(156, 202, 150);
}

body {
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
	padding: 0;
    background-color: #FFF;
}

#container {
	min-height: 75vh;
    width: 80%;
    margin: auto;
    color: #555;
}

a:link, a:visited, a:hover, a:active {
    color: #555;
}
 
a:hover {
	color: #9CCA96;
}

.impo {
    display: block;
    margin: 1em 0 2em;
    padding: 0.5em;
    background: #9CCA96;
    color: white !important;
    width: fit-content;
    text-decoration: none;
    font-weight: bold;
    border: solid 0.1em white;
    transition: 0.2s all;
}

.impo:hover {
    color: #9CCA96 !important;
    background-color: white !important;
    border: solid 0.1em !important;
}

p {
    line-height: 1.6em;
}

header {
    background-image: url(../img/header.jpg);
    height: 100%; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 6em;
    text-align: center;
    color: #FFF;
}

header h1 {
    font-size: 2em;
}

#agrichainlink{
    color:#fff;
    text-decoration: underline;
}

#nav1 {
    z-index: 100000;
    margin: 0 0 10em 0;
    position: sticky;
    top: -1px;
}

#nav1 ul {
    list-style: none;
    margin: 0;
    width: 100%;
    padding: 0;
}

#nav1 ul li a {
    float: left;
    width: calc(100% / 3);
    padding: 1em 0;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    color: #FFF;
    background-color: #333;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) all;
}

#nav1 ul li a:hover {
    background-color: #9CCA96 !important;
}

.eventsite{
    width: calc(100% / 3);
    padding: 1em 0;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    color: #FFF;
    background-color: #333;
    transition: 0.3s;
    font-size: 14pt;
}

.eventsite:hover{
    background-color: #9CCA96 !important;
}
}


.current_a {
    color: #FFF !important;
    background-color: #044FA4 !important;
}

.arrow {
    width: 5%;
    margin-right: 0.2em;
}

#content {
    margin: 0 3em;
    text-align: justify;
}

#content h2 {
    color: #044FA4;
	margin-top: 3em;
}

#content ul {
    margin: 0 0 2em 0;
}

#content ul li {
    margin-bottom: 1em;
}

footer {
	text-align: center;
    color: #FFF;
    font-weight: 200;
    padding: 2em 0;
    margin-top: 5em;
    background-color: #333;
}

footer a:link, footer a:visited, footer a:hover, footer a:active {
    color: #FFF;
    text-decoration: none;
}
 
footer a:hover {
    text-decoration: underline
}

.div_table {
    display: table;
    width: 100%;
    margin: 6em 0 0;
}

.div_row {
    display: table-row;
    height: 10em;
}

.div_row_header {
    color: #9CCA96;
    font-size: 1.5em;
    height: 3em;
}

.div_cell, .div_cell2, .div_cell3 {
    display: table-cell;
}

.div_cell2 {
    width: 13em;
    height: 13em;
    vertical-align: middle;
    text-align: center;
}

.div_cell3 {
    width: 13em;
    height: 13em;
    vertical-align: middle;
    text-align: center;
}

.div_cell2 img {
    width: 10em;
    transition: 0.3s all;
}

.pub{
    height: 44% !important;
    transition: 0.3s all;
}

.both{
    margin-right: 9%;
}



.loguni{
    width: 10%;
}

.div_cell2 img:hover {
    width: 12em;
    
}

.div_cell img {
    height: 7em;
    border-radius: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) all;
}

.div_cell img:hover {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

.div_cell img:hover + span{
    z-index: 1;
    font-size: 1.2em !important;
}

.div_cell a:hover + span{
    z-index: 1;
    font-size: 1.2em !important;
}

.div_cell span {
    padding: 2em 1em 2em 0.5em;
    text-align: left;
    font-size: 0;
    position: absolute;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) all;
}

.div_cell a:hover + span + .mail{
    z-index: 1;
    font-size: 0.8em !important;
    width: 12%;
}

.div_cell .mail {
    margin: 5em 0 0 0.4em;
    
}



.div_cell a {
    color: #555;
    text-decoration: none;
}

.tab_prog_az {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0 4em;
}

.dark_row {
    background: #aaa !important;
    color: #fff;
    font-weight: bold;
}

.tab_prog_az tr:hover {
    background: #9CCA96 !important;
    color: #fff;
}

.tab_prog_az tr:nth-child(even) {
    background: #f5f5f5;
}

.tab_prog_az td {
	min-width: 3em;
	vertical-align: initial;
    padding: 0.8em 0.6em;
}

h4 {
	margin: 1.4em 0 1em 0;
}

.l_ico {
    height: 3em;
    vertical-align: middle;
    margin-left: 1em;
}

.colonne {
    column-count: 2;
}

.colonne p {
    margin: 0;
}



/* For mobile phones: */
@media only screen and (max-width: 768px), only screen and (max-device-width: 768px) {

h1 {
	font-size: 4em !important;
}

h2 {
	font-size: 3em !important;
}

p {
	font-size: 2em !important;
}

#nav1 {
    left: 0;
    right: 0;
    top: 1em;
    height: 19em;
    margin: 0 0 2em 0;
	z-index: 1;
	font-size: 0;
	background-color: #333;
}

.show_font {
	font-size: 4em !important;
}

#nav1 ul li a {
	width: 100%;
	border-radius: 0 !important;
	font-size: 1em;
	padding: 1em 0;
}

#nav1 ul {
	margin: 0;
    padding: 0;
}

#content {
	margin:0;
}

#image1 {
	width: 100%;
	margin-left: 0;
}

aside {
	float: none;
	width: 100%;
}

aside a {
	display: none;
}

#nav2 ul {
	margin: 0;
	padding: 0;
}

#nav2 ul li {
    padding: 0;
}

#nav2 ul li a {
	display: inherit;
    float: left;
    width: 25%;
	text-align: center;
	font-size: 2.2em;
	margin: 2em 0;
}

.div_cell, .div_cell2 {
    display: block;
    margin: auto !important;
	font-size: 2em;
}

.div_cell span {
    font-size: 1.2em !important;
}

.div_cell img {
    height: 7em;
}

footer {
	font-size: 2em;
}

.double_column {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

address {
	font-size: 2em;
}

#side_bib_sx, #side_bib_dx {
	display: none;
}

.tab_ev {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.5em;
	min-height: 5em;
}

.tab_ev td a {
    display: table-cell;
    text-decoration: none;
    padding: 1.2em 0.8em;
    height: 6em;
    vertical-align: middle;
}

.h2_event {
	font-size: 2.6em !important;
	margin: 2em;

}

#ecsm_logo_small {
	height: 0;
}

/* MENU */
.button_menu {
    display: inline-block;
    cursor: pointer;
	position: relative;
    right: 4em;
    float: right;
}

.bar1, .bar2, .bar3 {
    width: 5em;
    height: 1em;
    background-color: #333;
    margin: 1em 0;
    transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-1.5em, 1.33em) ;
    transform: rotate(-45deg) translate(-1.5em, 1.33em) ;
}

/* Fade out the second bar */
.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-1.5em, -1.33em) ;
    transform: rotate(45deg) translate(-1.5em, -1.33em) ;
}

}

