/*
Theme Name: Esennce theme - Škola smyku
Theme URI: http://wordpress.org/
Description: Custom theme for microsites.
Version: 1.0
Author: webdesign studio nandu.cz
Author URI: http://nandu.cz/
Tags: blue, gray, custom header, fixed width, two columns, widgets
*/

html {
  margin: 0px;
}
body {
  margin: 0;
  font-family: Trebuchet MS, Arial, sans-serif;
  font-size: 14px;
}

img {
  border: 0;
}

.center {
  text-align: center;
}

.clear-all {
  clear: both;
}

#head {
  height: 174px;
  background-color: #fff;
  text-align: center;
  border-bottom: 6px solid #dc031b;
}
#head-container {
  margin: auto;
  width: 970px;
  text-align:left;
  padding-top: 124px;
  
}

#logo {
  position: absolute;
  top: 40px;
  margin-left: 50px;
}

ul#menu {
  -moz-border-radius: 10px 10px 0px 0px;
  -webkit-border-radius: 10px 10px 0px 0px;
  border-radius: 10px 10px 0px 0px; /* for some reason you have to declare all corners in ie*/
  
  background-color: #5e5e5e;
  color: #fff;
  height: 50px;
  margin: 0;
  padding: 0;
  font-size: 16px;
}
ul#menu li {
  display: block;
  float: left;
  padding-left: 23px;
  padding-right: 23px;
  line-height: 30px;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-left: 1px solid #efefef;
}
ul#menu li:first-child { 
  border: 0px;
}

ul#menu li a {
  color: #fff;
  text-decoration: none;
}
ul#menu li a:hover {
  color: #950b0b;
}

#main {
  padding-top: 7px;
  text-align: center;
}

#content {
  -moz-box-shadow: 0px 2px 12px #666;
  -webkit-box-shadow: 0px 0px 12px #666;
  box-shadow: 0px 0px 12px #666;
  margin: -7px auto 0px auto;
  min-height: 500px;
  background-color: #fff;
  width: 916px;
  padding: 27px;
  text-align: left;
  color: #555;
}

h1 {
  color: #e30e31;
  margin-top: 0px;
  font-weight: bold;
  font-size: 22px;
}

h2 {
  color: #e30e31;
  margin-top: 0px;
  font-weight: normal;
  font-size: 16px;
}

img.left, img.alignleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
}

.post {
  width: 710px;
}

#sidebar {
  float: right;
  width: 202px;
  margin-left: 30px;
}

#sidebar .box-heading {
  display: block;
  background-color: #5e5e5e;
  border: 1px solid #5e5e5e;
  color: #fff;
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  text-align: center;
}
#sidebar ul {
  background-color: #eaebeb;
  border: 1px solid #d7d7d7;
  width: 200px;
  margin: 0px 0px 20px 0px;
  padding: 0;
  list-style: none;
}
#sidebar ul li{
  margin: 0px 10px 0px 10px;
  padding: 10px 5px 10px 5px;
  color: #374243;
  border-top: 1px solid #d7d7d7;
}
#sidebar ul li:first-child{
  border: 0px;
}
#sidebar ul li a{
  color: #374243;
  text-decoration: none;
}
#sidebar ul li a:hover{
  color: #d2091c;
  text-decoration: underline;
}
#sidebar .banner {
  margin-bottom: 20px;
}

#footer {
  text-align: center;
}

#footer-content {
  margin-left: auto;
  margin-right: auto;
  width: 916px;
  padding: 27px 27px 10px 27px;
  text-align: left;
  color: #fff;
  background-color: #5e5e5e;
  box-shadow: 0px 0px 12px #222;
  -moz-box-shadow: 0px 2px 12px #222;
  -webkit-box-shadow: 0px 0px 12px #222;
  -moz-border-radius: 0px 0px 10px 10px;
  -webkit-border-radius: 0px 0px 10px 10px;
  border-radius: 0px 0px 10px 10px; /* for some reason you have to declare all corners in ie*/
}

#footer-content .col{
  width: 33%;
  float: left;
}

#footer-content .box-heading{
  font-size: 16px;
  text-transform: uppercase;
}

#footer-content .box-heading a, #footer-content .box-heading a:link, #footer-content .box-heading a:visited{
  color: #fff;
  text-decoration: none;
}

#footer-content ul {
  margin: 20px 0px 20px 0px;
  padding: 0;
  list-style: none;
}
#footer-content ul li{
  margin: 2px 10px 0px 0px;
}
#footer-content ul li a{
  color: #fff;
  text-decoration: none;
}
#footer-content ul li a:hover{
  text-decoration: underline;
}

/*---Textový Banner---*/

#content .nabidka a:hover {
	color: #d2091c;
	}

#content .nabidka a {
	color: #fff;
	}

#content .nabidka a {
	background-color: #828a8c;
	display: block;
        width: 670px;
	border-left: 2px solid #526262;
	border-right: 2px solid #526262;
	text-align: center;
	padding: 7px;
	font-size: 16px;
	font-weight: bold;
	margin: 10px 0;
	text-decoration: none;
	}

/*---Odkazy v textu---*/

a {
	text-decoration: underline;
	color: #444;
}

a:hover {
	text-decoration: none;
}


/*---Caption---*/

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin:0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}
