/*-----------------------------------------------------------------------------------
 
  Theme Name: Sablona2
  Theme URI: 
  Description: 2 column theme 
  Author: Author
  Author URI: 
  License: GNU General Public License version 3.0
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
  Version: 1
 
 Designed & Handcrafted by 
 All files, unless otherwise stated, are released under the GNU General Public License
 version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)
 
-----------------------------------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}

/* float reset */
.clearfix:before,.clearfix:after{content:"";display:table;}
.clearfix:after{clear:both;}
.clearfix{zoom:1;} 

/* format stranky */
body {
	font-family: Calibri;
	/*background: url(images/pozadi.png) repeat;*/  
	background:  #FFF url(images/pruhy.png) 0 18px repeat-x;  
	
}

/* format frame */
#frame {
	width: 952px;
	background-color: #FFF;
	margin: 14px auto;
    	padding: 4px;

	-webkit-box-shadow: 0px 0px 25px #3b3b3b; /* Safari 3-4, iOS 4.0.2-4.2, Android 2.3+ */
	-moz-box-shadow: 0px 0px 25px #3b3b3b; /* Firefox 3.5-3.6 */
	box-shadow: 0px 0px 25px #3b3b3b; /* Opera 10.5+, IE 9+, Firefox 4+, Chrome 6+, iOS 5+ */

}

#nadpis{
    background: url(images/main.jpg) no-repeat 0 center;
    height: 224px;   
    width: 952px;
    float: left;
    padding-bottom: 2px;
    border-bottom: 2px solid #013363;   
    padding-top: 2px;
    border-top: 2px solid #013363; 
    margin-bottom: 2px;
}

/* nadpis stranky */
.header h1 {
    font-size: 24px;
	padding-left: 30px;
    color: white;
}

.header h1:first-child{
    padding-top: 25px;
}

.header h1:last-of-type{
    padding-top: 15px;
}

.header p{
    font-size: 18;
    color: white;
    font-style: italic;
}

.header p:first-of-type{
    margin: 50px 0 0 55px;
}

.header p:last-of-type{
    margin-left: 155px;
}

.header a{
    text-decoration: none;
}


#nav {
	height: 60px;
	width: 952px;
	background: #FFF;
	float: left;
	position: relative;
	
}

.sub-menu-space{
    background: url(images/podmenu.png) repeat-x;
    height: 26px;
    float: left;
    width: 952px;
    padding-bottom: 2px;
    margin-top: 2px;
    border-bottom: 2px solid #013363;
    margin-bottom: 2px;
}

#menu-hlavni {
	    	list-style: none;
                background: transparent !important;	
	}


.sub-menu {
    position: relative;
    z-index: 20;
    display: none;
    top: 28px; 
} 

#menu-hlavni li:hover ul {
    display: block; /* show sub menus when hovering over a parent */
}


#menu-hlavni{
	position: relative;
	float: left;
	clear: both;
	background: transparent!important;
	list-style: none;
}



#menu-hlavni:after{
	content: "";
   	clear: both;
	display: block;
}

#menu-hlavni li {
	display: inline;
	float: left;
	height: 26px;
	z-index: 40;
}

#menu-hlavni li a {    
    padding-top: 2px;
    padding-left: 5px;
    color: #000;
    font-size: 18px;
    text-decoration: none;
    background: url(images/menu.png) no-repeat;
    float: left;
    display: block;	
    text-align: center; 
    height: 28px;   
}

#menu-hlavni #menu-item-72 a {background: none; width: 65px}
#menu-item-139 a {width: 85px}
#menu-item-71 a {width: 85px}
#menu-item-75 a {width: 100px}
#menu-item-78 a {width: 135px}
#menu-item-88 a {width: 135px}
#menu-item-83 a {width: 75px}
#menu-item-90 a {width: 140px}
#menu-item-97 a {width: 140px}
#menu-item-94 a {width: 160px}
#menu-item-133 a {width: 175px}
#menu-item-135 a {width: 175px}
#menu-item-134 a {width: 175px}
#menu-item-136 a {width: 85px}
#menu-item-137 a {width: 145px}
#menu-item-138 a {width: 82px}

.sub-menu{
  
	display: none;
	padding: 0;
	position: absolute;
	top: 28px;
}

.sub-menu li{
	display: block;
	float: left;
	margin-right: 10px;
	position: relative;
	list-style: none;
}

#menu-hlavni li.current-menu-item a, 
#menu-hlavni li:hover a,
#menu-hlavni li.current-menu-parent > a, 
#menu-hlavni li.current-menu-ancestor > a, 
#menu-hlavni li.current_page_item > a {
    color: white;
    background: #013363 url(images/menu.png) no-repeat;
    font-weight: bold;    
}

#menu-hlavni #menu-item-72.current-menu-item > a, 
#menu-hlavni #menu-item-72:hover > a,
#menu-hlavni #menu-item-72.current-menu-parent > a, 
#menu-hlavni #menu-item-72.current-menu-ancestor > a, 
#menu-hlavni #menu-item-72.current_page_item > a {
    color: white;
    background: #013363;
    font-weight: bold;    
}

#menu-hlavni li:hover ul li a {
    color: white;
    font-weight: normal;
    background: url(images/podmenu.png) repeat-x;
}

.sub-menu #menu-item-71:hover a, .sub-menu #menu-item-75:hover a, .sub-menu #menu-item-88:hover a, .sub-menu #menu-item-83:hover a, .sub-menu #menu-item-97:hover a, .sub-menu #menu-item-94:hover a, .sub-menu #menu-item-135:hover a, .sub-menu #menu-item-134:hover a{
	color: white;
	font-weight: bold;
	background: url(images/podmenu.png) repeat-x;
}

.sub-menu{
	position: absolute;
}



/*body*/
.stranka {
	float: left;
	width: 684px;
    padding-right: 2px;
    border-right: 2px solid #013363;
   
}


/* nadpis clanku */
.stranka h2 {
    color: white;
    background: url(images/hlNadpis.png) repeat-x;
    font-size: 30px;
    font-weight: bold;
	padding: 14px 0 5px 14px;
    width: 670px;
        
	margin-bottom: 14px;    
}

.stranka h2 a{
    text-decoration: none;
    color: white;
}

/* nadpis kategorie */
.stranka h3, .error404 h3{
    font-size: 20px;
    color: #013363;
	margin: 14px 0 5px 14px;	
}


/* format text */
.stranka p, .error404 p{  
    
    font-size: 16px;
    margin: 0px 14px 8px 14px;
}


.stranka blockquote{
    float: left;
    margin: 10px 0;
        margin: 0px 0px 8px 14px;
	color: #b32fd4;
}


.stranka ul{
   margin: 0px 0px 8px 14px;
    list-style: none;
}

.stranka ul li{
    background: url(images/odrazkaText.png) no-repeat 0 7px;
    padding: 0 20px;
}


.stranka img{
    display: block;
    float: left;
    margin: 10px 10px 10px 14px;
    font-size: 16px;
    border-collapse: collapse;
    padding: 2px 0;
    border-top: 2px solid #013363;
    border-bottom: 2px solid #013363;    
}

.stranka table{ 
    margin-left: 14px;
}

.stranka table tbody{
    display: block;
    margin: 10px 0;
    font-size: 16px;
    border-collapse: collapse;
    padding: 2px 0;
    border-top: 2px solid #013363;
    border-bottom: 2px solid #013363;    
}


.stranka table tbody td:first-of-type{
    padding: 10px;
}

.stranka table tbody tr:nth-child(2n+1){
    background: #afc6dd
}

.stranka table tbody p, .stranka table tbody h3, .stranka table tbody strong, .stranka table tbody em, .stranka table tbody a{
    padding: 0;
    margin: 0;
}

.stranka table tbody td{
	padding: 8px;
}

/*sidebar*/

#right-sidebar{
    border-left: 2px solid #013363;
    float: left;
    width: 262px;
    margin-left: -2px;
    padding-left: 2px;
   
}

#right-sidebar div[class^="widget"]{
    float: left;
    width: 262px;
    border-top: 2px solid #013363;
    padding-top: 2px;
    padding-bottom: 14px;
    border-bottom: 2px solid #013363;
    margin-bottom: 16px;  
     
}

#right-sidebar div:first-child{
    padding-top: 0;
    border-top: none;
}

#right-sidebar h3{
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
    height: 30px;
    background: url(images/asideNadpis.png) repeat-x;       padding-left: 14px;
    margin-bottom: 10px;
}

#right-sidebar ul {
    list-style: none;
    
}

#right-sidebar ul li {
	list-style: none;
}

#right-sidebar table{
	margin: 0 auto;
}

#right-sidebar ul li a{
    display: block;
    padding-left: 14px;
    margin-right: 6px;
    background: url(images/odrazkaASide.png) no-repeat 0 4px;
    font-size: 14px;
    font-style: italic;
    text-decoration: none;
    margin-bottom: 5px;
    color: #013363;        
}

#right-sidebar a{
    text-decoration: none;
    font-style: italic;
    font-size: 14px;
    color: #013363;
}

#right-sidebar p, #right-sidebar ul{
    padding: 0 10px;
}

#wp-calendar td, #wp-calendar th {
    width: 25px;
    text-align: left;
}

.footer{
    width: 952px;
    margin-top: 2px;
    border-top: 2px solid #013363;
    float: left;
}

.footer h3{
    display: block;
    margin: 15px 0 5px 10px;
    color: grey;
    font-size: 14px;
    width: bold;
}
