
@font-face {
    font-family: OpenSans-Light;
    src: url(../fonts/openSans/OpenSans-Light.ttf);
}

body{
    font-family: OpenSans-Light;
}
ul > li {
    margin-left: 10px;
}

ul {
    list-style-type: none;
}

li { cursor: pointer; cursor: hand; }

.iconDiv{
    padding-top:2em;
    margin-left:7.9em;
}

.img_icon{
    float:left;
    /* width:5%; */
    width:10px;
    padding-right:0.5em;
    opacity: 0.3;
}

#main_group{
    margin-top:2em;
}

.leftBar{
}

#menuDiv{
    /* text-align:center; */
    margin-left:7.2em;
    display:block;
}

#menu{
    position: sticky;
    /* position: -webkit-sticky;  // required for Safari */
    top: 0; // required as well. 
}

/* ul > li{ */
/*     margin-left:1em;!important */
/* } */

.liSubMenu {
    
    padding-bottom:0.5em; 
    padding-top:0.5em;
    font-weight:normal;
    font-size:0.75em;
    /* text-align:center; */
}
.liMenu {

    font-weight:normal;    
    padding-bottom:0.8em;
    font-size:1.1em;

}

#menuButton{
    display:none;
}

.titleMenu{
    padding-bottom:0.8em;
}

.liMenu:hover {
    font-weight:bold;

}

.liSubMenu:hover {
    font-weight:bold;

}

.logo {
    padding-bottom:5em;
}

#logoImg{
    width:12em;
    /* width:70%; */
    margin-left:7.2em;
    /* margin-right:auto; */
    
}

.carousel{
    float:right;
    padding-right:2em;
    padding-left:1em;
    width:97%;
    height:46em;
    overflow:hidden;
}
.carousel img{
    height:45em;
    -o-object-fit: contain;
    object-fit: contain;    
}

#adminLink{
    position:absolute;
    
    color:black;
    font-size:0.7em;
    text-decoration:none; 
    font-weight:normal;
    /* bottom:0; */
    /* margin-top:30em; */
    margin-left:2em;
    left:0;
}

#adminLink:hover{
    font-weight:bold;    
}

.element-item{
}

.element-item img{
    width:49%;
    display:block;
    float:left;
    margin:0.5%;

    opacity:1;
    transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -webkit-transition: opacity .15s ease-in-out;
}

.element-item img:hover{
    opacity:0.8;
    cursor: pointer; cursor: hand;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom:5px;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 99%;
    height: 99%;
}

@media only screen and (max-width: 1400px) {
    .iconDiv{
	margin-left:5em;
    }

    #menuDiv{
	margin-left:1em;
    }
    #logoImg{
	margin-left:1em; 
    }
    .iconDiv{
	margin-left:1.6em;
    }
}

@media only screen and (max-width: 1075px) {
    #logoImg{
	width:8.2em;
    }
    /* .img_icon{ */
    /* 	width:10px; */
    /* 	/\* width:0.8em; *\/ */
    /* } */

    
    .iconDiv{
	margin-left:5em;
    }

    #menuDiv{
	margin-left:1em;
    }
    #logoImg{
	margin-left:1em; 
    }
    .iconDiv{
	margin-left:1.6em;
    }
}

@media only screen and (max-width: 1000px) {
    .element-item img{
    	width:100%;
    	display:block;
    	float:left
    }

    /* .iconDiv{ */
    /* 	margin-left:5em; */
    /* } */

    .carousel img{
	height:43em;
    }
    #menuDiv{
	margin-left:1em;
    }
    #logoImg{
	margin-left:1em; 
    }
    .iconDiv{
	margin-left:1.6em;
    }
}

/* @media only screen and (max-width: 1000px) { */

/* } */

@media only screen and (max-width: 800px) {
    #menuDiv{
	margin-left:1em;
    }

    #logoImg{
	margin-left:1em;  /* 0.1 */
    }
    .iconDiv{
	margin-left:1.6em; /* 0.1 */
    }
}

@media only screen and (max-width: 700px) {
    #menuDiv{
	margin-left:1em;
    }

    #logoImg{
	width:6em;
	margin-left:1.5em; /* 0 */
    }
    .iconDiv{
	margin-left:1.6em;
    }
    .liMenu{
	font-size:0.8em; 
    }
}

@media only screen and (max-width: 600px) {

    #logoImg{
	width:6em;
    }

    .liMenu{
	font-size:0.8em; 
    }
}

/* @media only screen and (max-width: 595px) { */
/*     .liMenu{ */
/* 	font-size:0.8em;  */
/*     } */
/* } */

@media only screen and (max-width: 480px) {

    .logo{
	/* margin-bottom:3em; */
	padding-bottom:0em;
    }
    
    .liMenu{
	font-size:1.4em;
	text-align:center; 
    }
    .liSubMenu{
	font-size:0.7em;
    }

    .carousel{
	height:auto;
	padding-right:1em;
	padding-left:0em;
	margin-top:0.5em;
    }

    .carousel img{
	height:auto;
	vertical-align:middle;
    }
    
    #adminLink{
	position:relative;
	/* bottom:0; */
	/* margin-top:37em; */
    }

    #menuDiv{
	margin-left:1em;
	display:none;
    }

    #logoImg{
	width:6em;
	margin-left:0.8em;
	/* margin-right:auto; */
	display:block;
	/* margin-right:auto; */
	
    }

    .img_icon{
	float:left;
	padding-right:1em;
	text-align:center; 
    }
    
    .iconDiv{
	padding-top:0.8em;
	margin-left:1em;
	/* margin-bottom:2em; */
	/* width:10%; */
	/* display:block; */
	/* margin-left:6.5em; */
    }

    #content_col{
	
    }

    .leftBar{
	margin-bottom:-2em;
    }

    #menuButton{
	display:block;
	float:right;
	margin-right:1em;
	margin-top:-1.5em;
    }

    #main_group{
	margin-top:0.8em;
    }

    .grid{
	margin:0em!important;
    }
    
}


#photos {
    /* Prevent vertical gaps */
    line-height: 0;
    
    -webkit-column-count: 2;
    -webkit-column-gap:   0px;
    -moz-column-count:    2;
    -moz-column-gap:      0px;
    column-count:         2;
    column-gap:           0px;

    margin-right:3em;
    margin-left:6.5em;
}

#photos img {
    /* Just in case there are inline attributes */
    width: 99% !important;
    height: auto !important;
    margin-bottom:1%;

    opacity:1;
    
    transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -webkit-transition: opacity .15s ease-in-out;
}

#photos img:hover {
    opacity:0.8;
    cursor: pointer; cursor: hand;
}

.contact{
    margin-top:1em;
    width:97%
}

.contentContact{
    margin-left:1.3em;
}

@media (max-width: 1200px) {
    #photos {
	-moz-column-count:    2;
	-webkit-column-count: 2;
	column-count:         2;
    }
}
@media (max-width: 1000px) {
    #photos {
	-moz-column-count:    2;
	-webkit-column-count: 2;
	column-count:         2;
    }
}
@media (max-width: 800px) {
    #photos {
	-moz-column-count:    2;
	-webkit-column-count: 2;
	column-count:         2;
    }
}
@media (max-width: 480px) {
    #photos {
	margin:0em!important;
	-moz-column-count:    1;
	-webkit-column-count: 1;
	column-count:         1;
    }

    .contact{
	width:100%
    }

    
    #photos img {
	width: 100% !important;
    }

    .contentContact{
	margin-left:0em;
    }
}
