/* Contao Open Source CMS, (c) 2005-2013 Leo Feyer, LGPL license */
body,form{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}@media(max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}#main .inside{min-height:1px}img{max-width:100%;height:auto}.ie7 img{-ms-interpolation-mode:bicubic}.ie8 img{width:auto}.ce_gallery ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery li{float:left}.ce_gallery li.col_first{clear:left}.block{overflow:hidden}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{width:0;height:0;left:-1000px;top:-1000px;position:absolute;overflow:hidden;display:inline}.custom{display:block}#container:after,.custom:after{content:".";display:block;height:0;clear:both;visibility:hidden}
body {
	font-family: Arial, sans-serif;
	font-size:1em;
	color:#666;
	margin:0;
	padding:0;
	background:#F6F4F4;
}

#wrapper {
	max-width:1125px;
	margin:0 auto;
	background-image: url(http://umgallery.ch/umg/files/umg/theme/img/bg.jpg);
}

#container {
	width:85%;
	margin:0 auto;
	padding:0;
	background:#fff;
}

/*	===========================================
	SCHRIFTEN
	=========================================== */
h1 {
	font-size:120%;
}

#right h1 {font-size:110%;}

h2 {
	font-size:110%;
}

#right h2 {font-size:105%;}

h3  {
	font-size:105%;
}

#right h3 {font-size:110%;}

a {
	color:#c69b0b;
	text-decoration:none;
}

a:hover {
	border-bottom:1px dotted #c69b0b;
}	
	
a:active {#272727;}
	
/*	#############################
	BAR
	############################# */
#bar-wrapper {
	background:#010101;
	height:28px;
	color:#fff;
	position:relative;
	
}

#bar-wrapper .inside {
	padding-left:0.5%;
	padding-right:0.5%;
}
#bar-wrapper p {
	padding:0;
	margin:0;
	height: 28px;
	line-height: 28px;
}

#bar {display:none;}

/*	===========================================
	HEADER
	=========================================== */
header {
	width:100%;
	z-index:100;
	position:fixed;
	background:#fff;
	min-height:52px;
}

header .inside {
	margin:0 auto;
	max-width:850px;
}

.custom {padding-top:30px}

#slider {
	max-width:1125px; margin: 0 auto;
	margin-bottom:0!important;
}

#logowrapper_inner  {
	position:absolute;
	z-index:101
}

#logowrapper_inner .logo {
	width:120px;
	display:none;
}

/*	#############################
	Main Navigation + Mobil Navigation
	############################# */
#mobil_nav {display:none;}	
#menu-icon {display:none;}
	
.main_nav {
    overflow: hidden;
    height: 52px;
    background:#fff;
}

.main_nav li {
    display: inline;
    text-align: center;
}

.main_nav li, {
    height: 53px;
    line-height: 53px;
    color: #fff;
    position: relative;
}

.main_nav li a:hover {
    text-decoration: none;
}

.main_nav span, #mobil_nav span {
	font-weight:bold;
}

.main_nav li a,.main_nav li a:visited, .main_nav li span {
    padding: 0 1.8%;
    border-left: 1px solid #FFF;
    cursor: pointer;
    color:#404040;
    text-decoration:none;
	text-transform:uppercase;
	font-size:95%;
	border:none;
}

.main_nav .navitembg {
    display: inline-block;
    z-index: -100;
    background-color: #fff;
    left: 0;
    top: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 50;
}

.main_nav li.first a, .main_nav li.first span {
    border: none;
}

.navLinks li a span.navItemBg {}

#mobil_nav a , #mobil_nav a:visited, #mobil_nav span {
	/*color:#FFF;*/
	text-decoration:none;
}

#mobil_nav ul {
	padding:6% 0;
	margin-bottom:0;
}

#mobil_nav li {margin:0;}

#mobil_nav a, #mobil_nav span {
	padding:3% 16%;
	width:100%;
	display:block;
	line-height:1;
	border:none;
}

#mobil_nav a:hover, #mobil_nav a:active  {background:#272727;}


/*	===========================================
	MAIN
	=========================================== */
#main {
	width:70%;
	float:left;
	position:relative;
	margin:0;
	padding:0;
}

#main .inside {
	padding: 5px 10px;	
}

/*	===========================================
	RIGHT
	=========================================== */
#right {
	/*max-width:255px;*/
	width:30%;
	float:right;
	margin:0;
	padding:0;
}

#right .inside {
	padding: 5px 10px;	
}

/*	===========================================
	FOOTER
	=========================================== */
#footer {
	background:#fff;
}

#footer .inside {
	max-width:1125px;
	margin:0 auto;
	padding: 5px 10px;
}

#footer p {font-size:80%;}

/*	===========================================
	MEDIA QUERY max-width:1125px
	=========================================== */
@media screen and (max-width:1125px) {

#container {width:90%;}

}	/* Media Query ENDE */

/*	===========================================
	MEDIA QUERY max-width:1050px
	=========================================== */
@media screen and (max-width:1050px) {

#container {width:95%;}

}	/* Media Query ENDE */

/*	===========================================
	MEDIA QUERY max-width:790px
	=========================================== */
@media screen and (max-width:1050px) {

.main_nav li a,.main_nav li a:visited, .main_nav li span {padding:0 1%;}

}	/* Media Query ENDE */	

/*	===========================================
	MEDIA QUERY max-width:680px
	=========================================== */
@media screen and (max-width:680px) {

#header {position:absolute}

#container {width:100%;}

.main_nav {display:none;}

#mobil_nav li{
	list-style:none;
	margin-bottom:10px;
}
	
#menu-icon {
	display:block;
	background:url(http://umgallery.ch/files/umg/theme/img/mobile-nav-icon-black.png) no-repeat;
	height:32px;
	width:32px;
	float:right;
	margin-right:5%;
	margin-top:10px;
}

#main {width:100%;}

#right {
	clear:both;
	width:100%;
}

#footer {background-image: url(http://umgallery.ch/umg/files/umg/theme/img/bg.jpg);}

}	/* Media Query ENDE */
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0 0; background: #fff; position: relative; top:20px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {border:none; width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(http://webserver-pl.dyndns.org/bocciacono/files/bocciacono/theme/img/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 11px; height: 11px; display: block; background: #666; background: rgba(0,0,0,0.5); cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #000; background: rgba(0,0,0,0.9); cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}
