/*
Theme Name: Ultimate Pneu
Theme URI: https://wordpress.org/themes/twentyfifteen/
Author: OnLook
Author URI: https://wordpress.org/
*/

body {
    background-image: linear-gradient(-45deg, #f8f8f8 25%, #fefefe 25%, #fefefe 50%, #f8f8f8 50%, #f8f8f8 75%, #fefefe 75%, #fefefe);
    background-size: 10px 10px;
	min-width: 260px;
	color:#333;
}


/*Clearfix*/
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    *zoom: 1;
}
/*End clearfix*/


a {
	text-decoration: none;
	color: red;
}

#wrap {
	max-width: 1400px;
	width: 95%;
	margin: 0 auto;
	position: relative;
}
#header {
	border-bottom: 2px solid red;
	height: 98px;
}
#header #logo {
	float: left;
	margin-top: 19px;
	margin-left: 25px;
}
#logo h1 {
	color: transparent;
	font-size: 0px;
	width: 300px;
	height: 80px;
	background:url(images/logo.png) no-repeat;	
}
#header .kontakt {
	float: right;
	margin-right: 25px;
	margin-top: 20px;
	text-align:right;
}
#header .kontakt p {
	margin: 0;
	font-style:italic;
}
#header .kontakt p.phone {
	font-size: 1.5em;
	font-weight: bold;
}
#header .kontakt p.phone a {
	color:#333;	
}

nav {

}

nav ul {
	display: none;
	list-style: none;
	padding: 0;
	margin: 0;
}

nav ul li {
	width: 100%;
}

nav ul li a, nav #pull {
	display: block;
	padding: 10px 0 10px 10px;
	border-bottom: 2px solid red;
	color: #333;
	font-weight: bold;
}

nav ul li.current-menu-item a {
	color: red;
}

nav #pull {
	display: none;
	position: relative;
}

nav #pull:after {
	background: url(images/nav-icon.gif) no-repeat;
	content: "";
    	display: inline-block;
	height: 20px;
	position: absolute;
	right: 15px;
	top: 10px;
	width: 20px;
}

#container {
    clear: both;
    float: left;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.colright {
    float: left;
    left: 285px;
    position: relative;
    width: 200%;
	border-left: 2px solid red;
}
.mainwrap {
    float: right;
    padding-bottom: 1em;
    position: relative;
    right: 200px;
    width: 50%;
}
#main {
    margin: 0 115px 0 215px;
    overflow: hidden;
    position: relative;
    right: 100%;
	text-align: justify;
}
#sidebar {
    float: left;
    position: relative;
    right: 260px;
    width: 250px;
}

#sidebar ul {
	color: red;
	padding-left: 20px;
}

#sidebar ul a {
	color: #333;
	font-weight: bold;
	transition: color 200ms;
}

#sidebar ul li.current-menu-item a {
	color: red;
}

#sidebar ul a:hover {
	color: red;

}

#footer {
	clear:both;
	height: 20px;
	text-align:center;
	color:#CCC;
	font-size: 0.75em;
	padding-top: 20px;
	
}
#footer a {
	color: #CCC;
}

.gallery img {
	border: 2px solid red;
}
.widget input, .widget textarea {
	width: 245px;
}

.wpcf7-recaptcha {
	width: 150px;
	margin: 0 auto;
}

input[type="submit"] {
    background: red none repeat scroll 0 0;
    border: 1px solid black;
    box-shadow: 2px 2px #ccc;
    color: white;
    display: block;
    width: 100%;
}

table {
}

tr {

}

th {
	background: rgba(255,0,0,0.75);
	text-align:center;
	padding: 0.2em;
}

td {
	padding: 0.2em 1em 0.2em 0.2em;
}

h1 {
	text-align: center;
	margin-bottom: 2em;
}

.sluzby {
	list-style: none;
}

.box, .sluzby li {
    background: rgba(200, 200, 200, 0.75) none repeat scroll 0 0;
    border-color: black;
    border-image: none;
    border-style: solid;
    border-width: 0 2px 2px 0;
    font-size: 1.2em;
    margin-bottom: 1em;
    padding: 0.2em;
    width: 450px;
	text-align: left;
}

/*Media queries*/

@media (max-width: 900px){
	#header {
		height: 175px;
	}
	#header #logo {
		float: none;
		margin-left: 0; 
	}
	#header #logo h1 {
		margin: 0 auto;
	}
	#header .kontakt {
		float: none;
		margin: 20px auto;
		text-align: center;
	}

.box, .sluzby li {
	width: 95%;
}
}

@media (max-width: 700px){
#container {
    clear: both;
    float: none;
    overflow: visible;
    position: static;
    width: 100%;
}
.colright {
    float: none;
    left: 0;
    position: static;
    width: 100%;
	border-left: none;
}
.mainwrap {
    float: none;
    padding-bottom: 1em;
    position: static;
    right: 0;
    width: 100%;
}
#main {
    margin: 0;
    overflow: visible;
    position: static;
}
#sidebar {
    float: none;
    position: static;
    width: 100%;
	border-top: 2px solid red;
}

.textwidget iframe {
	width: 100%;
	height: 300px;
}

.widget input, .widget textarea {
	width: 100%;
}

.widget_nav_menu {
	display: none;
}

nav #pull {
	color: #333;
	display: block;
}

}

@media (max-width: 500px){
#header .kontakt p.phone {
	font-size: 1.2em;
}
}

@media (max-width: 400px){
#header {
	height: 100%;
}

#header #logo h1 {
	width: 100%;
	background-size:contain;
}

#header .kontakt p {
}

#header .kontakt p.phone {

}

#header .kontakt p.phone a {
	display: block;
}
}