/*
Theme Name: UlrichMaschinen
Theme URI: http://ulrich-maschinen.ch
Description: Template der Briedl Partner Ag für Ulrich Maschinen.
Author: Granit Rexhaj
Version: 1.1
Author URI: http://www.briedlpartner.ch

/* Typografie */
* {margin:0; padding:0;}


/* IE 8 and below */
#wowslider-container20 {
display: none\9;
}
#ie8-slider {
display: block\9;
}

#ie8-slider {display: none;}

@font-face { font-family: 'Calibri-light';
             src: url('fonts/calibril.ttf') format('truetype'); }

/*Search bar*/
div#sidebar {
    display: none !important;
}


/* Lauftext | Absatz */
p {
	font-size: 20px; 
	font-family: 'Calibri-light';
padding:10px;
}

h2 {
	padding:10px;
	text-decoration: none;
	color: rgb(222,6,48);
	font-size: 30px; 
	font-family: 'Calibri-light';
}
h2 a {color: rgb(222,6,48); }

/* Allgemeine  Positionierung */
body {color: #333; background: white;} /* Red */




/* Haupt positionierung */
#wrapper {width: 100%; margin:0 auto; text-align: left; }
#header {height: 100px; padding: 20px; border-bottom: 1px solid #ccc; background-color: rgb(222,6,48)}
#main {max-width: 1000px; margin:40px auto; padding:0 20px 0 20px;}
#sidebar {width: auto; float: right;}
#navigation {width: 100%; margin:0 auto;}
#navigation #menu-top-menu {width: auto; text-align: center;}
#navigation #menu-top-menu li {display: inline-block; margin:0 30px 0 30px;}
#footer { 
	width: 100%;
	height: auto; 
	background-color: rgb(222,6,48);
	/*
	background-image: -webkit-linear-gradient(top, rgb(255, 255, 255) 5%, rgb(222, 6, 49) 30%, rgb(222, 6, 49) 100%);
	background-image: -moz-linear-gradient(top, rgb(255, 255, 255) 5%, rgb(222, 6, 49) 30%, rgb(222, 6, 49) 100%);
	background-image: linear-gradient(top, rgb(255, 255, 255) 5%, rgb(222, 6, 49) 30%, rgb(222, 6, 49) 100%);
*/
}


/* Header Image Box */
#headerBOX { 
	height: 140px;
	width: 800px;
	display: relative;
	float:right;
	margin-top: -20px;
	margin-right: 180px;
}

/* Navigation */
#navigation #menu-top-menu li a {
	color: black;
	text-decoration: none;
	font-size: 20px;
}
#navigation #menu-top-menu > li a:hover {
	border-bottom: 5px solid red;
	padding-bottom: 5px;
	transition: all 0.2s ease-in-out;
}

/* Nav Active Modus */
.current-menu-item > a {
	border-bottom: 5px solid red;
	padding-bottom: 5px;
}

/*--- Sub Menue ---*/
.sub-menu {
	margin-top: 10px; 
	margin-left: -40px;
	padding: 10px;
	width: auto; 
	height: auto; 
	position:absolute ; 
	z-index: 9999;
	visibility: hidden;
	transition: all 0.2s ease-in-out;
}
.ueberUns:hover .sub-menu, .dienstLeistungen:hover .sub-menu {
	visibility: visible; 
	background-color: lightgray;
	border-radius:5px;
}

/* Content */
.entry {
	height: auto;
	width: 100%;
	display: block;
}
.entry a {
	color: red;
	text-decoration: none;
}
.entry a:hover {
	text-decoration: underline;
}
/* Content box Verschiedene grössen */
.content_box img, .box_float img { max-width: 100%; height: 100%; padding-top: 10px;}

.content_box {
	font-family: 'Calibri-light';
	font-size: 1.8em;
	box-shadow: 2px 2px 6px grey;
	width: auto;
	height: auto;
}

.content_box div {
	margin: 10px;
}


.center_box {
	max-width:300px;
	margin:0 auto;
	margin-bottom: 50px;
}

#footer_wrapper {
	padding:40px;
	
}

#footer_left {
	float:left;
	width:50%;
}
#footer_right {
	float:right;
}


/* Footer Box */
.footer_box{
	float: left;
	/*display:inline-block;*/
	margin:10px 0 10px 40px;	
}
/*.footer_box:last-child {float:right;}*/

/* Footer small */
.footer_small {
	color: white;
	font-size: 15px;
	display: block;
	width: auto;	
}

.footer_small a {color: orange; text-decoration: none;}
.footer_small a:hover {text-decoration: underline; border: none;}

/* Images */
#logo_ulrich {
	width: 300px;
	max-width: 50%;
	height: auto;
	position: absolute;
	}
#headerBOX {float:right;}

.headerimage {
	height:100%; width: auto;
}

.svg_facebook {
	width: 50px;
	height: auto;
	margin-top: 50px;
	margin-bottom: 50px;
}


/* Search sidebar*/
#searchform {
	padding-right: 10px; 
	width: 280px;
	height: 100%;
	/*background-color:;	*/
}
#search {height: 20px; width: 180px; font-size: 15px;}
#search:focus {-webkit-box-shadow:0px 0px 4px rgb(222,6,48); -moz-box-shadow:0px 0px 4px rgb(222,6,48);}
#search:hover {-webkit-box-shadow:0px 0px 4px rgb(222,6,48); -moz-box-shadow:0px 0px 4px rgb(222,6,48);}

#search_submit {
	background-color:white; 
	padding:5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	color: red;
	border:1px solid black;
	font-size: 12px;
	}
#search_submit:hover {color: #06c; -webkit-box-shadow:0px 0px 4px rgb(222,6,48);}


/* Post Edit link / Bearbeitungsbutton*/
.post-edit-link {
	padding: 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	color: red;
	border:1px solid black;
}
.post-edit-link:hover {border:2px dashed red;}

/* Gallerie */
.ngg-galleryoverview {
	max-width: 1000px;
	margin:0 auto;
}

/* Slider */
#slider_box {
	z-index: 1;
}


/* Ie8 slider */
.ngg-slideshow img {
	/*display:;*/
}
.image-placeholder {
/*	display: none;*/
}

/* Formular */
.wpcf7-form  {max-width: 350px; margin:0 auto;}
.wpcf7-form p {
	padding:0;
	margin:0;
}
.wpcf7-form input { max-width: 90%; height:25px !important; }
.wpcf7-form textarea { max-width: 100%; width:300px !important; }

/* Flexible iFrame */
.Flexible-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.Flexible-container iframe,   
.Flexible-container object,  
.Flexible-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Span für Mietgeräte */
.mietgeraete_fr {
	float:right;
}

/* Send Button */
.wpcf7-submit {
	width: 200px;
/*	background-color:;*/
}
.wpcf7-submit:hover {-webkit-box-shadow:0px 0px 4px rgb(222,6,48); -moz-box-shadow:0px 0px 4px rgb(222,6,48);}


/* ------------ Mobile Screen and Menu ----------- */

/* remove Hamburger icon */
#hamburg, .line {
	display: none;
}

/* ----------------------- */
@media only screen and (max-width: 800px) {
	
	#logo_ulrich {
		filter: drop-shadow(0 0 0.75rem red);
	}
	
	#hamburg, .line {
	display: block;
	padding: 10px;
}

	/* Mobile menu */
	#navigation { 
		height: auto; 
		max-height:0; 
		overflow: hidden; 
		transition: all 0.5s;
	}

	/* display Hamburger icon */
	#hamburg:checked + .hamburg  + #navigation { 
		max-height: 600px; 
	}
	
	/* ---Navigation--- */
	
	#navigation {width: 100%; margin:0 auto; background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(214,214,214,1) 100%);}
	#navigation #menu-top-menu {width: auto; text-align: left;}
	#navigation #menu-top-menu li {display: block; margin:10px 30px 0 30px;}
	
	
	#navigation #menu-top-menu li a {
		color: black;
		text-decoration: none;
		font-size: 20px;
	}
	#navigation #menu-top-menu > li a:hover {
		border-bottom: 5px solid red;
		padding-bottom: 5px;
		transition: all 0.2s ease-in-out;
	}


	/*--- Sub Menue ---*/
	.sub-menu {
		margin-top: 0px; 
		margin-left: 5px;
		padding: 0px;
		width: auto; 
		height: auto; 
		position: relative ; 
		z-index: 9999;
		visibility: visible;
	}
	.ueberUns:hover .sub-menu, .dienstLeistungen:hover .sub-menu {
		visibility: visible; 
		background-color: rgba(255, 255, 255, 0);
		border-radius:5px;
	}
	
	
	
}

