body {
	background: url('../images/bg-for-header.png') repeat-x;
	color: #5b5a5a;
	font-size: 12px;
	font-family: Arial, sans-serif;
}

body.female {
    /*background: url('../images/bg-for-header-f.png') repeat-x;*/
    background: url('../images/bg-for-header-f.jpeg') repeat-x;
}

body.hp {
    background: url('../images/hp-bg-for-header.png') repeat-x;
}

body.hp.female {
    /*background: url('../images/hp-bg-for-header-f.png') repeat-x;*/
    background: url('../images/hp-bg-for-header-f.jpg') repeat-x;
}

body, h1, h2, h3, h4, h5, h6, ul, p, input {
	margin: 0;
	padding: 0;
}

a {
	font-weight: bold;
	text-decoration: underline;
	color: #1478b1;
}

a:hover {
	text-decoration: none;
}

a img {
	border: 0;
}

body.female a {
    color: #7e4b7a;
}

li {
	list-style-type: none;
}

h2 {
	font-size: 14px;
	color: #8f9092;
	font-weight: normal;
	margin-bottom: 5px;
}

h1, h3 {
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 5px;
}

p {
	padding-bottom: 6px;
}

.clear { clear: both; }
.fl { float: left; }
.fr { float: right; }
.db { display: block; }

/*** holder ***/

#holder {
	width: 960px;
	margin: 0 auto;
	position: relative;
}

/*** header ***/

#header {
	/*background: url('../images/bg-for-header.png') repeat-x;*/
	height: 99px;
	margin-bottom: 9px;
	position: relative;
}

body.female #header {
    background: url('../images/bg-for-header-f.png') repeat-x;
    overflow: visible;
    height: 98px;
}

#header-f {
    display: none;
}

body.female #header-f {
    display: block;
    position: absolute;
    width: 381px;
    height: 98px;
    right: -45px;
    top: -1px;
    background: url(../images/header-f-background.png) -5px 2px transparent no-repeat;
    opacity: .15;
}

#logo {
	width: 223px;
	height: 99px;
	position: relative;
	float: left;
}

#logo span {
	background: url('../images/logo.jpg') no-repeat;
	display: block;
	width: 223px;
	height: 99px;
	position: absolute;
	left: 0;
	top: 0;
	cursor: pointer;
}

body.female #logo span{
    background: url('../images/welfast_logo_white.png') no-repeat;
    top: 25px;
}

#gender-switch {
    position: absolute;
    right: 0;
    top: 3px;
    display: block;
    height: 45px;
    width: 218px;
    background: url('../images/figures-male-hovers.png') right -90px transparent no-repeat;
}

body.female #gender-switch {
    background-image: url(../images/figures-female-hovers.png);
}

#gender-switch a {
    position: absolute;
    bottom: 0;
    display: block;
    width: 22px;
    height: 28px;
    line-height: 1px;
    text-decoration: none;
}

#gender-switch a.female {
    right: 0;
}

#gender-switch.male.hover {
    background-position: right -45px;
}

#gender-switch.female.hover {
    background-position: right 0;
}

#gender-switch.male.active {
    background-position: right -135px;
}

#gender-switch.female.active {
    background-position: right -180px;
}

#gender-switch-bubble {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    padding: 5px;
    /*background-color: #8dc63f;*/
    background-color: #8dc63f;
    color: #fff;
    font-size: 10px;
}

#gender-switch a.male {
    right: 22px;
}

#gender-dialog {
    background: url(../images/gender-switcher.jpg) 0 0 transparent no-repeat;
}

#gender-dialog a {
    display: block;
    width: 470px;
    height: 786px;
    float: left;
}

#gender-dialog a.male {
    background-color: transparent;
}

#gender-dialog a.female {
    background-color: transparent;
}

#gender-dialog.hover.male {
    background-position: 0 -786px;
}

#gender-dialog.hover.female {
    background-position: 0 -1572px;
}

/*#gender-switch*/

#main-menu {
	float: right;
	margin-top: 70px;
}

#main-menu li {
	float: left;
	font-size: 16px;
	color: #5b5a5a;
	text-shadow: 0px 1px 1px #fff;
	text-transform: uppercase;
	position: relative;
}

body.female #main-menu li {
    text-shadow: 0px 1px 1px #fff;
    text-shadow: none;
    font-weight: bold;
    color: #fff;
}

#main-menu li a {
	text-decoration: none;
    font-weight: normal;
    color: #5b5a5a;
    margin: 0 10px;
    padding: 13px 10px;
    position: relative;
    top: -13px;
    display: block;
    float: left;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

body.female #main-menu li a {
    font-weight: bold;
    color: #fff;
}

#main-menu li a.active {
    background: url('../images/menu-active.png') center 34px transparent no-repeat;
}

body.female #main-menu li a.active {
    background: url('../images/menu-active-f.png') center 32px transparent no-repeat;
}

#main-menu li a:hover, #main-menu li:hover a {
	background: #8dc63f;
	color: #fff;
	text-shadow: none;
}

/*body.female #main-menu li a:hover, body.female #main-menu li:hover a {*/
    /*background-color: #97bf0d;*/
/*}*/

#main-menu li:hover li a {
	background: url('../images/menu-lines.gif') repeat-x left bottom;
}
/*body.female #main-menu li:hover li a {*/
    /*background-image: url('../images/menu-lines-f.gif');*/
/*}*/

#main-menu li:hover li.nobg a {
	background-image: none;
}

#main-menu .last a {
	margin-right: 0;
}

#main-menu ul ul {
	position: absolute;
	width: 271px;
	left: 10px;
	top: 26px;
	display: none;
	z-index: 1;
}

#main-menu ul li:hover ul {
	display: block;
}

/*body.female #main-menu ul ul li:hover a {*/
    /*background-color: #85a80d;*/
/*}*/

#main-menu ul li:hover.last ul {
	left: -139px;
}

#main-menu ul ul li {
	background: #8dc63f;
    float: none;
    line-height: 35px;
    padding: 0 11px;
}

/*body.female #main-menu ul ul li {*/
    /*background-color: #8dc63f;*/
/*}*/


#main-menu ul ul li:first-child {
	border-top: none;
}

#main-menu ul ul li a {
	color: #fff;
	text-shadow: none;
	text-transform: none;
	margin: 0;
	padding: 0 0 0 3px;
	position: static;
	float: none;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

body.female #main-menu ul ul li a {
    font-weight: normal;
}

#main-menu ul ul li a:hover {
	background-color: #74ae28;
}

#main-menu .border-top, #main-menu .border-bottom {
	background: url('../images/menu-border.png') no-repeat;
    line-height: 7px;
    height: 7px;
    overflow: hidden;
    border: 0;
}

/*body.female #main-menu .border-top, body.female #main-menu .border-bottom {*/
    /*background: url('../images/menu-border-f.png') 0 -8px no-repeat;*/
/*}*/


#main-menu .border-top {
	background-position: left top;
}

#main-menu .border-bottom, body.female .border-bottom{
	background-position: left bottom;
}

/*** js_gal ***/

#hp-gal {
	height: 472px;
    margin-top: 22px;
}
#hp-gal img {
    border: none;
}

.hp-actions {
    width: 960px;
    position: relative;
}
.hp-actions-holder {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    min-height: 405px;
}

.hp-actions-holder img {
    margin-bottom: 2px;
}

.hp-actions-holder ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 99999px;
}
.hp-actions-holder ul li { float: left; }

.hp-actions-holder .spinner {
    position: absolute;
    top: 208px;
    left: 450px;
}

.hp-actions-next, .hp-actions-prev {
    display: block;
    position: absolute;
    background: url('../images/hp-carousel-arrows.png') 0 0 transparent no-repeat;
    width: 46px;
    height: 65px;
    top: 190px;
    opacity: .5;
}

.hp-actions-next:hover, .hp-actions-prev:hover {
    opacity: 1;
}

.hp-actions-prev {
    left:0;
}

.hp-actions-next {
    background-position: -46px 0;
    right: 0;
}

.hp-action-paging {
    position: absolute;
    bottom: -6px;
    width: 100%;
    text-align: center;
}

.hp-action-paging table {
    margin: auto;
}

.hp-action-paging a {
    display: block;
    background: url('../images/hp-carousel-navig.png') 0 0 transparent no-repeat;
    width: 29px;
    height: 29px;
}

.hp-action-paging a.active {
    background-position: -29px 0;
}

/*** chci_svuj_dum ***/

#chci-svuj-dum {
	background: #e2e0e0 url('../images/chci-svuj-dum.jpg') no-repeat;
	height: 203px;
	padding: 11px 0 0 289px;
	margin-bottom: 16px;
}

body.female #chci-svuj-dum {
    background-color: #fed7fb;
    background-image: url('../images/chci-svuj-dum-f.png');
}

#chci-svuj-dum h3 {
	color: #006e92;
}

#chci-svuj-dum #text {
	width: 216px;
	float: left;
}


#chci-svuj-dum form {
	width: 426px;
	padding-right: 14px;
	float: right;
}

#chci-svuj-dum form label {
	display: block;
	font-size: 14px;
	color: #006e92;
	margin-bottom: 3px;
}

body.female #chci-svuj-dum h3,
body.female #chci-svuj-dum #text,
body.female #chci-svuj-dum form label {
    color: #7e4b7a;
}

#chci-svuj-dum form select {
	width: 200px;
	margin-bottom: 6px;
}

#chci-svuj-dum form button {
	margin-top: 50px;
    background: url('../images/hledej_dum_btn.png') 0 0 transparent no-repeat;
    width: 202px;
    height: 44px;
    border: none;
}

body.female #chci-svuj-dum form button {
    background-image: url('../images/hledej_dum_btn-f.jpg');
}

#chci-svuj-dum .filter-reset {
    font-weight: normal;
    font-size: 14px;
    display: block;
    text-indent: 25px;
    height: 20px;
    line-height: 24px;
    margin-top: 5px;
    background: url('../images/filter-clear.png') 0 0 no-repeat transparent;
}

body.female #chci-svuj-dum .filter-reset {
    background-image: url('../images/filter-clear-f.png');
}

/*** news ***/

#news {
	margin-bottom: 27px;
}

#news h3 { font-size: 14px; padding-right: 20px; }

#news li a { color: #8dc63f; }

#news li {
    border-left: 5px solid #e2e0e0;
    color: #5b5a5a;
	float: left;
	width: 283px;
    min-height: 94px;
	padding: 0 20px 0 12px;
}

body.female #news li {
    border-left: 5px solid #8dc63f;
}

body.female #news li,
body.female #news li a {
    color: #7e4b7a;
}

body.female #news li p {
    color: #464646;
}

#news li.last { padding: 0 5px 0 12px; }

/*** big_buttons ***/

#big-buttons {
	margin-bottom: 25px;
}

#big-buttons a {
	display: block;
	width: 213px;
	height: 116px;
	float: left;
	position: relative;
	margin-left: 21px;
	padding: 5px;
}

#big-buttons a:first-child {
	margin-left: 0;
}

#big-buttons a span {
	background: url('../images/big-buttons.png') no-repeat;
	position: absolute;
	left: 0;
	top: 0;
	width: 226px;
	height: 116px;
	cursor: pointer;
}

#big-buttons #btn1 span {
	background-position: left 0;
}

#big-buttons #btn1:hover span,
#big-buttons #btn1.active span {
	background-position: left -116px;
}

#big-buttons #btn2 span {
	background-position: left -232px;
}

#big-buttons #btn2:hover span,
#big-buttons #btn2.active span {
	background-position: left -348px;
}

#big-buttons #btn3 span {
	background-position: left -464px;
}

#big-buttons #btn3:hover span,
#big-buttons #btn3.active span {
	background-position: left -580px;
}

#big-buttons #btn4 span {
	background-position: left -696px;
}

#big-buttons #btn4:hover span,
#big-buttons #btn4.active span {
	background-position: left -812px;
}

/*** content ***/

#content {
	padding: 5px 0 20px 0;
}

#content .header {
    background: url('../images/header-bg.png') bottom left #1478b1 repeat-x;
    display: inline-block;
    *display:inline;
	height: 25px;
	padding: 9px 47px 0 30px;
    margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
    position: relative;
}

body.female #content .header {
    background: url('../images/header-bg-f.png') bottom left #8dc63f repeat-x;
}


#content .header span {
    display: block;
    width: 35px;
    height: 34px;
    background: url('../images/header-bg-right-ending.png') 0 0 transparent no-repeat;
    position: absolute;
    right: 0;
    top: 0;
}

body.female #content .header span {
    background-image: url('../images/header-bg-right-ending-f.png');
}

#sitepath {
	height: 30px;
	white-space: nowrap;
}

#sitepath a { font-weight: normal; }
#sitepath a.level { color: #5b5a5a; }

#sitepath a.home {
    color: #5b5a5a;
}

#zdene-stavby {
	background: url('../images/skladba-cen.png') no-repeat;
	width: 510px;
	height: 43px;
}

#drevo-stavby {
	background: url('../images/drevostavby-bg.png') no-repeat;
	width: 510px;
	height: 43px;
}

.ram {
	background: url('../images/ram-bg.png') repeat-x left top;
	border: 8px solid #e2e0e0;
    border-top-width: 20px;
    border-bottom-width: 11px;
    border-left-width: 8px;
    border-right-width: 8px;
	width: 455px;
}

.ram .inram {
	background: url('../images/inram-bg.png') repeat-y left top;
	padding: 7px 10px;
	margin-top: 8px;
}

.ram h2 {
	font-size: 14px;
	font-weight: bold;
	color: #5b5a5a;
	padding-bottom: 10px;
}

.ram p {
	padding-bottom: 13px;
}

.ram strong {
	margin-bottom: 10px;
}

.text ul {
    margin: 0 0 0 17px;
}
.text li {
    list-style: disc outside;
}

.text ul > li > ul > li,
.text ul > ul > li{
    list-style-type: circle;
}

/*** individualni projekt ***/
#projects .tabs-content-inner {
    padding: 35px 23px;
}

#projects h2 {
    text-transform: uppercase;
    color: #1478b1;
    font-size: 18px;
    line-height: 14px;
}

#projects #diagram {
    font-size: 15px;
    margin-top: 30px;
}

#projects #diagram>div{
    float: left;
    height: 330px;
}

#projects #diagram .left-col {
    width: 140px;
    height: 136px;
    margin: 55px 0 59px 0;
    padding:  80px 0 0 10px;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;

    background-color: #d2232a;
    color: #fff;
}

#projects .left-col h3 {
    text-transform: uppercase;
    font-size: 19px;
}

#projects .arrows {
    width: 55px;
    background: url('../images/projects-arrows.png') 0 0 no-repeat transparent;
}

#projects .center-col {
    width: 434px;
}

#projects .center-col>div {
    border: 3px solid #d2232a;
    border-radius: 13px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    background-color: #f8e5dc;
}

#projects .center-col h4 {
    text-transform: uppercase;
    color: #cf1118;
    font-size: 16px;
    padding: 17px 15px 13px 15px;
}

#projects .center-col p {
    padding: 0 15px 25px 15px;
}

#projects .center-col .text1 {
    margin-bottom: 10px;
}

#projects #diagram .right-col {
    width: 194px;
    height: 242px;
    margin: 35px 0 0 0;
    background-color: #daeac1;
    border: 3px solid #8dc640;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}

#projects .right-col p {
    padding: 10px 9px 10px 15px;
    font-weight: bold;
}

#projects .navig ul {
    margin: 0;
}
#projects .navig li {
    float: left;
    width: 147px;
    color: #8dc63f;
    list-style-position: inside;
}

#projects .navig li.sec {
    margin-right: 35px;
}

#content .navig a {
    color: #8dc63f;
    font-weight: normal;
    font-size: 14px;
}

#content #visit .navig {
    margin: 15px 0;
}

#content #visit .navig a {
    font-size: 13px;
}



/*** aktuality ***/

#news-detail {
    float: left;
    width: 496px;
    margin: 0 0 5px 0;
    padding: 0 26px 0 0;
    color: #666565;
    min-height: 400px;
    border-right: 1px solid #acacac;
}

#news-detail h4 {
    text-transform: uppercase;
    font-size: 14px;
}

#news-detail .date {
    font-size: 10px;
    padding: 0 0 5px 0;
    line-height: 16px;
}

#news-list {
    float: right;
    width: 337px;
    margin: 0;
    padding: 0 40px 0 0;
    color: #666565;
}

#news-list h5 {
    text-transform: uppercase;
    font-size: 14px;
    color: #8dc63f;
}

#news-list h6 a {
    text-decoration: none;
    color: #666565;
}
#news-list h6 a:hover {
    text-decoration: underline;
}
#news-list h6 {
    text-transform: uppercase;
    font-size: 13px;
}

#news-list h6 a.in-list-link {
    color: #8DC63F;
    font-size: 12px;
    text-transform: lowercase;
    text-decoration: underline;
}

#news-list h6 a:hover.in-list-link {
    text-decoration: none;
}

#news-list li.current h6 a.in-list-link {
    color: #CDE6AB;
}

#news-list ul {
    margin: 20px 0 0 0;
}

#news-list li {
    margin: 0 0 15px 0;
    list-style: none;
}

#news-list a {
    color: #8dc63f;
}

#news-list li.current {
    color: #acacac;
}

#news-list li:hover h6 a {
    text-decoration: underline;
}
#news-list li.current h6 a {
    color: #acacac;
}

#news-list li.current p a {
    color: #cde6ab;
}

#news-list #paging {
    padding-right: 0;
    margin-right: -25px;
}

#news-list #paging a.active {
    color: #95ca4c;
    border-bottom-color: #95ca4c
}
#news-list #paging a:hover {
    color: #95ca4c;
    border-bottom-color: #95ca4c
}

.query #news-detail h4 {
    text-transform: none;
    margin-bottom: 20px;
}

.query .add-query a {
    font-size: 13px;
    font-weight: normal;
}

/*** footer ***/

#footer {
	background: #343434;
	border-top: 23px solid #8dc63f;
    padding-bottom: 85px;
}

body.female #footer {
    border-top: 23px solid #8dc63f;;
}

#footer-f {
    display: none;
}

body.female #footer-f {
    display: block;
    position: absolute;
    background: url(../images/footer-m.png) 0 0 transparent no-repeat;
    top: 80px;
    right: -52px;
    width: 412px;
    height: 164px;
}

#infooter {
    position: relative;
    overflow: visible;
	color: #fefefe;
	width: 960px;
	margin: 0 auto;
	padding-top: 14px;
}

#infooter h3 { margin-bottom: 15px; }

#infooter a {
	color: #fefefe;
	text-decoration: none;
	font-weight: normal;
	font-size: 13px;
    line-height: 18px;
}

#infooter a:hover { text-decoration: underline; }

#infooter > ul > li {
	float: left;
	border-left: 5px solid #c4e09f;
	width: 165px;
	padding-left: 15px;
	height: 147px;
}

body.female #infooter > ul > li {
    border-left: 5px solid #c66dbf;
}

#infooter #logo-footer {
	float: right;
}

/*** katalog ***/

.kat-item {
	background: #d0cdcd;
	width: 210px;
	height: 187px;
	padding: 10px;
	position: relative;
	float: left;
	margin: 0 13px 13px 0;
}

body.female .kat-item {
    background: #daf08e;
}

.kat-item.last {
	margin-right: 0;
}

.kat-item a img {
    width: 210px;
    height: 145px;
	border: 1px solid #fefefe;
}

.kat-item .item-num {
	background: #8dc63f;
	width: 45px;
	height: 21px;
	color: #fff;
	font-weight: bold;
	font-size: 15px;
	text-align: right;
	padding: 7px 5px 0 0;
	position: absolute;
	left: 0;
	bottom: 12px;
}



.kat-item .add-to-selection {
	background: url('../images/add-to-selection.gif') no-repeat;
	display: block;
	width: 60px;
	height: 36px;
	color: #fff;
	text-decoration: none;
	position: absolute;
	right: 9px;
	bottom: 0;
	padding: 4px 0 0 18px;
}

.kat-item .add-to-selection.del {
	background: url('../images/del-from-selection.gif') 0 -2px #363434 no-repeat;
}

.kat-item .detail {
	position: absolute;
	color: #000;
	left: 56px;
	bottom: 20px;
}

#paging {
    text-align: right;
    padding: 0 30px 4px 0;
    font-size: 14px;
}

#paging a {
    font-weight: normal;
    text-decoration: none;
    color: #5b5a5a;
    margin: 0 4px;
}

#paging a:hover,
#paging a.active {
    color: #1478b1;
    border-bottom: 1px solid #1478b1;
}

body.female #paging a:hover,
body.female #paging a.active {
    color: #7e4b7a;
    border-bottom: 1px solid #7e4b7a;
}



#paging a:hover.active {
    border: none;
}

#katalog {
    position: relative;
}
#custom-selection {
    position: absolute;
    right: 4px;
    top: 8px;
}

#custom-selection a {
    font-weight: normal;
    font-size: 13px;
}

#custom-selection a.clear-selection {
    margin-right: 15px;
    color: #5b5a5a;
}

/*** tab ***/

#tab-ram .menu li {
	float: left;
}

#tab-ram .menu a.tlac {
	display: block;
	height: 42px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 17px;
    text-align: center;
    background: url("../images/btn-financing.png") 0 0 no-repeat transparent;
}

#tab-ram .menu a.tlac span {
    visibility: hidden;
    line-height: 50px;
}

#tab-ram .menu a.tlac1 { width: 172px; }
#tab-ram .menu a.tlac1.active,
#tab-ram .menu a:hover.tlac1 { background-position: 0 -42px; }

#tab-ram .menu a.tlac2 { background-position: -172px 0; width: 177px; }
#tab-ram .menu a.tlac2.active,
#tab-ram .menu a:hover.tlac2 { background-position: -172px -42px; }

#tab-ram .menu a.tlac3 { background-position: -349px 0; width: 230px; }
#tab-ram .menu a.tlac3.active,
#tab-ram .menu a:hover.tlac3 { background-position: -349px -42px; }

#tab-ram .menu a.tlac4 { background-position: -579px 0; width: 227px; }
#tab-ram .menu a.tlac4.active,
#tab-ram .menu a:hover.tlac4 { background-position: -579px -42px; }

#tab-ram .ram {
	background: url('../images/ram-bg-long.png') no-repeat;
	width: 944px;
}

#tab-ram .ram .inram {
	background: url('../images/inram-bg-long.png') repeat-y;
}

#tab-ram .ram .inram .fl {
	width: 49%;
}

#tab-ram .ram .inram .fr {
	width: 49%;
}

/*** detail ***/

#detail-header {
	background: url('../images/detail-header.png') no-repeat;
	float: left;
	width: 190px;
	height: 27px;
	padding: 7px 0 0 27px;
	margin-bottom: 0;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
}

#detail-navig {
    float: right;
    width: 345px;
    margin: 7px 22px 0 22px;
}
.detail-prev,
.detail-next {
    display: block;
    width: 80px;
    height: 20px;
    line-height: 19px;
    font-weight: bold;
    font-size: 13px;
    background: url('../images/detail-prevnext.png') 0 0 transparent no-repeat;
    text-decoration: none;
    color: #8dc63f;
}
a.detail-prev:hover,
a.detail-next:hover {
    text-decoration: underline;
}
.detail-prev {
    float: left;
    text-align: left;
    padding: 0 15px;
    background-position: -11px 0;
}
.detail-next {
    float: right;
    text-align: right;
    padding: 0 15px;
    background-position: 99px 0;
}
span.detail-prev,
span.detail-next {
    color: #c6e29f;
}
span.detail-prev {
    background-position: -11px -20px;
}
span.detail-next {
    background-position: 99px -20px;
}

#detail-back {
    float: right;
    margin: 5px 20px 0 0;
    font-weight: normal;
    font-size: 13px;
}

#detail {
	background: #e2e0e0;
	padding: 16px 20px 16px 16px ;
}

#detail img {
	border: 1px solid #fff;
    background-color: #fff;
}

#gallery {
	width: 550px;
	float: left;
    overflow: hidden;
}

#main-img {
    width: 550px;
    height: 388px;
    position: relative;
    text-align: center;
}

#main-img a {
    display: block;
    width: 550px;
    position: absolute;
    top: 0;
    left: 0;
}

#main-img .spinner {
    position: absolute;
    top: 196px;
    left: 253px;
}

.spinner, .spinnerOver {
    width: 44px;
    height: 12px;
    background: url('../images/loader.gif') no-repeat;
}

#small-imgs {
    position: relative;
}

#small-imgs ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 99999px;
}

#small-imgs ul li {
    float: left;
    padding: 0 2px;
    width: 95px;
    text-align: center;
}

#thumbs-prev, #thumbs-next {
    position: absolute;
    display: block;
    width: 27px;
    height: 69px;
    background: url('../images/gal-buttons.png') no-repeat left top;
}

#thumbs-prev {
    left: 0;
}

#thumbs-next {
    right: 0;
    background-position: -27px 0;
}

#thumbs-prev.prev-disable {
    background-position: 0 -69px;
}
#thumbs-next.next-disable {
    background-position: -27px -69px;
}


#thumbs-holder {
    width: 496px;
    overflow: hidden;
    margin-left: 27px;
    margin-top: 4px;
}

#detail-info {
	background: #fff;
	color: #000;
	font-size: 14px;
	float: right;
	width: 345px;
	padding: 0 0 15px 0;
}

#detail-info table {
    width: 336px;
    border-collapse: collapse;
    border: none;
    margin: 0 4px;
}

#detail-info table td,
#detail-info table th {
    margin: 0; padding: 0;
    height: 20px;
    font-size: 13px;
    vertical-align: middle;
}

#detail-info table th {
    font-weight: normal;
    text-align: right;
    width: 151px;
    padding: 5px 0 ;
}

#detail-info table td {
    font-weight: bold;
    text-align: center;
    padding: 5px 0 5px 0px;
    font-size: 13px;
}

#detail-info table td.space { background-color: #fff; width: 4px; padding: 0; margin: 0; }

#detail-info table tr.gray {
    background-color: #e8e6e6;
}

table#realty-info {
    margin: 0 4px 5px 4px;
}

table#realty-info th {
    width: 300px;
}

table#realty-info th.stone,
table#realty-info th.wood {
    text-align: center;
    padding: 0 0 0 4px;
    font-weight: bold;
}
table#realty-info th.stone {
    color: #4393c1;
}
table#realty-info th.wood {
    color: #8dc63f;
}

table#realty-info .price td {
    font-size: 15px;
    padding-left: 10px;

}

table#realty-price {
    color: #fff;
    margin: 0 0 15px 0;
    border-collapse: separate;
    border-spacing: 4px 0;
    width: 344px;
}

table#realty-price th { background-color: #8a8989; text-align: center; }
table#realty-price th { padding: 8px 0 0 0; }
table#realty-price td { padding: 8px 0 0 4px; }

table#realty-price td.stone { background-color: #1478b1; }
table#realty-price td.wood { background-color: #8dc63f; }
table#realty-price em {
    font-style: normal;
    font-weight: bold;
    font-size: 19px;
}

table#realty-price .last th,
table#realty-price .last td {
    padding-bottom: 10px;
}

table#realty-price td { font-size: 19px; }

#detail-info sup {
	font-size: 10px;
	position: absolute;
}


/** formulare */
.forms {
    margin: 15px 0;
    width: 514px;
    position: relative;
}

.forms h2 {
    color: #464646;
    text-transform: uppercase;
    font-size: 37px;
    font-weight: bold;
    display: block;
    height: 65px;
    line-height: 70px;
}
.forms em {
    color: #1578b1;
    font-style: normal;
    font-weight: bold;
    font-size: 15px;
}

body.female .forms em {
    color: #8dc63f;
}


.forms form {
    padding: 20px 0 0 0;
}

.forms fieldset {
    border: none;
    padding: 0;
    margin: 20px 0 40px 0;
    clear: both;
}

.forms input {
    border: 1px solid #1578b1;
    line-height: 26px;
    height: 26px;
    font-size: 14px;
}

body.female .forms input {
    border: 1px solid #7e4b7a;
}


.forms label {
    display: block;
    width: 512px;
    height: 30px;
    margin: 0 0 20px 0;
}

.forms label .label {
    width: 120px;
    float: left;
    line-height: 30px;
    color: #464646;
    font-weight: bold;
    font-size: 13px;
}

.forms .help {
    text-align: right;
}

.forms .help span,
.forms label .label span {
    color: #2581b6;
}

.forms label input {
    width: 390px;
    float: right;
}

.forms .right {
    text-align: right;
}

.forms .submit {
    border: none;
    background: url('../images/menu-tab.png') bottom left repeat-x #1478b1;
    width: 200px;
    height: 40px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    cursor: pointer;
}

body.female .forms .submit {
    background: url('../images/menu-tab-f.png') bottom left repeat-x #8dc63f;
}

.forms .sent {
    clear: both;
    font-size: 14px;
    padding: 10px 0 0 5px;
}

.forms label span.error,
.forms .errors {
    color: red !important;
}

.p {position: relative; margin-bottom: 25px;}
.p .hr {
    position: absolute;
    background: url('../images/forms-hr.png') 0 0 no-repeat transparent;
    height: 5px;
    width: 960px;
    overflow: hidden;
    left: 0px;
    bottom: 0;
}

body.female .p .hr {
    background: url('../images/forms-hr-f.png') 0 0 no-repeat transparent;
}

/** specificeke formy */

#phone.forms {
    min-height: 380px;
}

#phone.forms h2 {
    background: url('../images/forms-phone-header-bg.png') top right no-repeat transparent;
}

#phone.forms .bg {
    width: 294px;
    height: 448px;
    background: url('../images/forms-phone-bg.png') 0 0 no-repeat transparent;
    position: absolute;
    top: -44px;
    left: 666px;
}

#phone.forms label .label{
    width: 80px;
}

#phone.forms input {
    width: 420px;
}

#consult.forms {
    min-height: 462px;
}

#consult.forms h2 {
    background: url('../images/forms-consult-header-bg.png') top right no-repeat transparent;
}

#consult .bg  {
    width: 430px;
    height: 487px;
    background: url('../images/forms-consult-bg.png') 0 0 no-repeat transparent;
    position: absolute;
    top: 0px;
    left: 530px;
}

#consult.forms .phone {
    background: url('../images/forms-blue-phone.png') 0 0 no-repeat transparent;
    padding: 0 0 0 20px;
    margin: 8px 0;
    line-height: 30px;
    font-size: 20px;
    font-weight: bold;
    color: #1578b1;
}

body.female #consult.forms .phone {
    color: #7e4b7a;
}

#consult.forms em {
    font-weight: normal;
}
#consult.forms em.main {
    font-weight: bold;
}

#quest.forms ul.errors {
    margin-top: 12px;
}

#consult.forms .date .label,
#quest.forms .email .label {
    line-height: 15px;
}


#quest h2 {
    background: url('../images/forms-quest-header-bg-black.png') 313px 0 no-repeat transparent;
    line-height: 74px;
    color: #464646;
}

#quest.forms .bg {
    width: 439px;
    height: 428px;
    background: url('../images/forms-quest-bg.png') 0 0 no-repeat transparent;
    position: absolute;
    top: 30px;
    left: 520px;
}

#quest em{
    margin: -12px 0 0 0;
    font-size: 18px;
}

#quest fieldset {
    margin-top: 0px;
}

#quest textarea {
    width: 506px;
    height: 128px;
    border: 1px solid #1578b1;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #5b5a5a;
    margin: 0 0 22px 0;
}

body.female #quest textarea {
    border: 1px solid #7e4b7a;
}

.overTxtLabel {
    font-size: 14px;
}

#calc .tabs-content {
    padding: 25px 20px;
}

#calc h2 {
    color: #5b5a5a;
    font-weight: bold;
    margin: 25px 0 10px 0;
}

#calc table {
    width: 622px;
    border: 3px solid #c0c0c0;
    background-color: #898989;
    border-collapse: collapse;
    color: #fff;
}

#calc table td,
#calc table th {
    /*border-collapse: ;*/
    border: 2px solid #c0c0c0;
    padding: 5px;
    text-align: left;
}

#calc form table th {
    vertical-align: top;
    padding-top: 8px;
}

#calc .label-list th {
    padding-top: 5px;
}

#calc form table .nahled {
    width: 170px;
    height: 120px;
    padding: 0;
}

#calc .label-list label {
    display: block;
}

#calc table.result {
    width: 720px;
}


#calc table.result td,
#calc table.result th {
    border-width: 1px;
    text-align: left;
}

#calc table.result tr:first-child th {
    text-align: center;
}
#calc table.result tr:first-child th:first-child {
    text-align: left;
}

#calc table.result td {
    text-align: right;
    width: 75px;
}

#calc table.result tr.total th,
#calc table.result tr.total td {
    background-color: #383838;
}

#catalog form select {
    width: 390px;
}

#catalog label.source span {
    line-height:20px;
}

#catalog label.other {
    height: auto;
}

#catalog label.other textarea {
    width: 385px;
    height: 108px;
    border: 1px solid #1578b1;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #5b5a5a;
    margin: 0 0 22px 0;
}

/*** taby ***/
.tabs .menu li {
    float: left;
    margin: 0 3px 0 0;
}

.tabs .menu li a {
    display: block;
    background: url('../images/menu-tab.png') bottom left repeat-x #1478b1;
    height: 28px;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    margin: auto;
    padding: 11px 15px 0 15px;
}

body.female .tabs .menu li a {
    background: url('../images/menu-tab-f.png') bottom left repeat-x #8dc63f;
}


.tabs .menu li a:hover,
.tabs .menu li.active a {
    background-image: none;
    background-color: #e2e0e0;
    color: #1478b1;
    /*text-shadow: 0px 1px 1px #fff;*/
}

body.female .tabs .menu li a:hover,
body.female .tabs .menu li.active a {
    background-image: none;
    background-color: #e2e0e0;
    color: #7e4b7a;
}

.tabs .sub-menu {
    clear: both;
    background-color: #e2e0e0;
    padding: 15px 0 0 10px;
    font-size: 13px;
}

.tabs .sub-menu li {
    float: left;
    margin-right: 7px;
}

.tabs .sub-menu li a {
    text-decoration: none;
    color: #5b5a5a;
    display: block;
    padding: 3px 12px;
}


.tabs .sub-menu li a:hover,
.tabs .sub-menu li.active a {
    color: #fff;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #1478b1;
}

body.female .tabs .sub-menu li a:hover,
body.female .tabs .sub-menu li.active a {
    background-color: #7e4b7a;
}



.tabs-content {
    clear: both;
    padding: 30px 10px 20px 10px;
    background-color: #e2e0e0;
}

.tabs-content .main-content {
    float: left;
    width: 560px;
}

.tabs-content .side-panel {
    float: right;
    width: 312px;
    padding: 13px 10px 0 28px;
    margin: 10px 0 10px 0;
    border-left: 1px solid #cccccc;
}

.side-panel ul {
    margin: 0;
    padding: 0;
}
.side-panel li {
    list-style: none;
    margin: 0 0 22px 0;
    padding: 0;
    text-align: right;
}

.side-panel .photo {
    color: #5b5a5a;
    text-decoration: none;
    font-weight: normal;
}

/** standartni bile pozadi pro texty **/
.tabs-content.text {
    background: url('../images/text-bg-top.png') 10px 20px no-repeat #e2e0e0;
}

.tabs-content.text .tabs-content-inner {
    background: url("../images/text-bg-sides.png") 0 0 repeat-y #fff;
    padding: 0 10px;
}

.tabs-content.text .tab-content-bottom {
    height: 5px;
    background: url("../images/text-bg-bottom.png") 0 0 no-repeat #e2e0e0;
}

/**
    video & galerie
**/

#video .tabs-content ul.list li,
#visits .tabs-content ul.list li {
    float: left;
    margin: 0 30px 0 0;
    width: 282px;
}


#video .tabs-content,
#visits .tabs-content {
    padding-top: 20px;
    padding-left: 20px;
}
#visits .tabs-content ul.list li {
    height: 300px;
}


#visits li h3 {
    text-transform: uppercase;
    font-size: 14px;
    margin: 15px 0 0 0;
}

#visits li:hover h3 {
    color: #1478b1;
}

#visits li .perex {
    font-size: 14px;
}

#visits li .navig a {
    font-size: 13px;
    color: #8dc63f;
}

#video .tabs-content ul.list li a.desc,
#visits .tabs-content ul.list li a.desc {
    color: #1478b1;
    font-size: 13px;
    line-height: 19px;
}

#video .tabs-content ul.list li a:hover.desc,
#visits .tabs-content ul.list li a:hover.desc {
    text-decoration: none;
}

#video .tabs-content ul.list li.last,
#visits .tabs-content ul.list li.last {
    margin: 0;
}

#photos .tabs-content ul.list li a.thumb img,
#video .tabs-content ul.list li a.thumb img,
#visits .tabs-content ul.list li a.thumb img {
    border: 1px solid #f0efef;
}

#video #paging,
#visits #paging {
    margin-top: 25px;
    padding-right: 0;
}

#photos .tabs-content li:hover img,
#video .tabs-content li:hover img,
#visits .tabs-content li:hover img {
    border: 1px solid #1478b1 !important;
}



#photos .tabs-content ul.list li {
    float: left;
    margin: 0 22px 18px 0;
    width: 210px;
    height: 150px;
    text-align: center;
}

#photos .tabs-content ul.list li.last {
    margin: 0;
}

#photos .tabs-content {
    padding: 25px 10px 30px 24px;
}

#photos #paging {
    margin-top: 25px;
    padding-right: 0;
}

/**
    kontakty
**/
#contact dl {
    margin: 5px 0 35px 10px;
}

#contact dl dt {
    margin-bottom: 15px;
}

#contact dl dd {
    text-indent: 0;
    font-size: 13px;
}

#contact .name {
    font-size: 17px;
}
#contact .name2,
#contact .name3 {
    font-size: 14px;
}

#contact .street,
#contact .city {
    font-size: 15px;
    font-weight: normal;
}

#contact table th {
    width: 40px;
    text-align: left;
    font-weight: normal;
    white-space: nowrap;
    vertical-align: top;
}

#contact table th,
#contact table td {
    border: none;
    padding: 0px 2px 0 0;
}

#contact table td a {
    font-weight: normal;
}

#contact .contact-map {
    margin: 0 0 5px 0;
    width: 540px;
    height: 200px;
}

#contact a.bigger-map {
    font-weight: normal;
}
