/* ----------------- GLOBÁLNÍ ----------------- */

* {
margin: 0;
padding: 0;
border: 0;
}

html {
background-color: #808080;
background-image: url('textpattern/txp_img/bg-html.jpg');
background-repeat: no-repeat;
background-position: center top;
background-attachment: fixed;
}

body {
width: 1000px;
margin: 0 auto;
padding: 30px;
font-family: Verdana;
}

/* ----------------- HLAVIČKA ----------------- */

#header {
display: block;
padding: 30px;
height: 140px;
background-image: url('textpattern/txp_img/bg-header.png');
border: 1px solid transparent;
border-radius: 8px 8px 0 0;
position: relative;
}

#bg-car {
display: block;
width: 300px;
height: 200px;
background-image: url('textpattern/txp_img/bg-car.png');
background-repeat: no-repeat;
position: absolute;
top: 23px;
left: -33px;
}

h1 {
display: none;
}

/* ----------------- MENU (obsah) ----------------- */

#menu ul {
float: left;
margin: 70px 0 20px 40px;
width: 230px;
}

#menu li {
margin-bottom: 5px;
list-style-type: none;
}

#menu .a, #menu .p {
color: #000;
font-size: 1.2em;
font-weight: bold;
text-decoration: none;
transition: 0.5s;
}

@keyframes anim-bor-a {
0% {border-left: 12px solid #A90004;}
100% {border-left: 12px solid #006400;}
}
@keyframes anim-img-a {
0% {background-color: #A90004;}
100% {background-color: #006400;}
}

#menu li .a {
padding-left: 35px;
border-left: 12px solid #006400;
background: #006400;
background-image: url('textpattern/txp_img/bg-menu.png');
background-repeat: no-repeat;
background-position: left center;
animation: anim-bor-a 2s, anim-img-a 2s;
}

@keyframes anim-bor-p {
0% {border-left: 12px solid #006400;}
100% {border-left: 12px solid #A90004;}
}
@keyframes anim-img-p {
0% {background-color: #006400;}
100% {background-color: #A90004;}
}

#menu li .p {
padding-left: 5px;
border-left: 12px solid #A90004;
background: #A90004;
background-image: url('textpattern/txp_img/bg-menu.png');
background-repeat: no-repeat;
background-position: left center;
animation: anim-bor-p 2s, anim-img-p 2s;
}

#menu a:hover {
padding-left: 35px;
transition: 0.5s;
}

.bg-menu {
padding: 1px 3px 1px 2px;
border-left: 1px solid #F4F6F8;
background-color: #F4F6F8;
border: 1px solid transparent;
border-radius: 2px 4px 4px 2px;
}

/* ----------------- WEB (obsah) ----------------- */

#web {
background-image: url('textpattern/txp_img/bg-web.png');
border: 1px solid transparent;
border-radius: 0 0 8px 8px;
}

.article-date {
float: right;
font-size: 0.8em;
color: #777;
font-weight: bold;
}

@keyframes anim-content {
0% {opacity: 0;}
100% {opacity: 1;}
}

#content, #content-noload {
margin: 30px 40px 30px 0;
width: 670px;
float: right;
min-height: 20em;
}

#content {
animation: anim-content 2s;
}

#info-container {
}

#info {
width: 340px;
float: left;
}

#map {
width: 300px;
float: right;
}

#map img {
margin-right: 15px;
padding: 10px;
border: 2px solid #F98A5B;
border-radius: 5px;
background: #FFF;
transition-duration: 0.5s;
}

#map img:hover{
border: 2px solid #129615;
opacity: 0.8;
transition-duration: 0.5s;
}

#info-map {
clear: both;
padding-top: 20px;
text-align: right;
}

.actual {
margin: 20px 0 40px 0;
padding: 10px;
background-image: url('textpattern/txp_img/bg-footer.png');
border: 1px solid transparent;
border-radius: 10px;
}

@keyframes anim-act {
0% {opacity: 1;}
70% {opacity: 0.2;}
100% {opacity: 1;}
}
.actual-label {
margin: 0.5em 0 0.5em 0;
font-size: 1.5em;
font-weight: bold;
animation: anim 1.7s linear 1s;
}

.actual-title {
margin: 0.5em 0 0.5em 0;
font-size: 1.2em;
font-weight: bold;
}

/* ----------------- Kontaktní formulář ----------------- */

#contact-form {
clear: both;
}

#contact-form table {
margin: 20px;
border: none;
}

#form-label{
margin: 20px 0 0 107px;
color: #808080;
font-size: 1.1em;
font-weight: bold;
}

#contact-form .td-label {
color: #808080;
}

#contact-form td {
padding: 3px;
border: none;
}

.input1, .input2, .textarea {
padding: 2px 4px 2px 3px;
border: 1px solid #777;
font-family: Verdana;
font-size: 0.9em;
}

.input1 {
width: 250px;
}

.textarea {
width: 450px;
height: 150px;
}

.input2 {
width: 20px;
}

.td-antispm {
font-size: 1em;
color: #808080;
}

.td-submit input {
float: right;
padding: 2px 3px 2px, 3px;
font-size: 1em;
color: #FFF;
border-top: 1px solid #999;
border-right: 1px solid #111;
border-bottom: 1px solid #111;
border-left: 1px solid #999;
background-color: #444;
cursor: pointer;
transition-duration: 0.5s;
}

.td-submit input:hover {
background-color: #006400;
transition-duration: 0.5s;
}

@keyframes anim-status {
0% {opacity: 0;}
100% {opacity: 1;}
}

@keyframes anim {
0% {opacity: 0;}
100% {opacity: 1;}
}

.mail-status, .mail-status-fail, .mail-status-success {
margin: 0 107px 0 112px;
font-weight: bold;
}

.mail-status li, .mail-status-fail li, .mail-status-success li {
margin-top: 5px;
padding-left: 30px;
list-style-type: none;
background-repeat: no-repeat;
background-position: left center;
}

.mail-status {
color: #F14F0C;
animation: anim 1.5s linear 0.7s 1 normal backwards;
}
.mail-status li {
background-image: url('textpattern/txp_img/bg-li-s.png');
}

.mail-status-fail {
color: #A90004;
animation: anim 1.7s;
}
.mail-status-fail li {
background-image: url('textpattern/txp_img/bg-li-f.png');
}

.mail-status-success {
color: #006400;
animation: anim 1.5s linear 0.5s 1 normal backwards;
}
.mail-status-success li {
background-image: url('textpattern/txp_img/bg-li-o.png');
}

/* ----------------- GALERIE (LB ROADTRIP) ----------------- */

#img-gallery {
margin: auto;
padding-top: 20px;
clear: both;
width: 640px;
text-align: center;
}

.img-road {
display: block;
float: left;
margin: 10px 17px 10px 17px;
padding: 15px 15px 12px 15px;
border: 2px solid #F98A5B;
border-radius: 5px;
background-color: #FFF;
opacity: 1;
transition-duration: 0.5s;
}

.img-road:hover{
border: 2px solid #129615;
opacity: 0.8;
transition-duration: 0.5s;
}

.img-road img {
border: 1px solid #EEE;
margin-bottom: 7px;
}

.img-label {
display: block;
font-size: 0.9em;
color: #777;
}

/* ----------------- FORMÁTOVÁNÍ ----------------- */

h2 {
margin: 15px 20px 35px 20px;
text-align: center;
font-size: 2.3em;
color: #EF4E0A;
position: relative;
left: -100px;
}

p {
margin: 1em 0 1em 0;
line-height: 160%;
}

#content a, #content-noload a {
color: #F04E0A;
transition-duration: 0.5s;
}

#content a:hover, #content-noload a:hover {
color: #006400;
transition-duration: 0.5s;
}

.body table {
margin: 1em;
border: 2px solid #F98A5B;
border-collapse: collapse;
}

.body th, .body td {
border: 1px solid #F98A5B;
padding: 3px 8px 3px 8px;
background: #FBFCFC;
}

.body ul, .body ol {
margin: 1em 2em 1em 2em;
line-height: 160%;
}

.body li {
padding-left: 27px;
list-style-type: none;
background-image: url('textpattern/txp_img/bg-li-o.png');
background-repeat: no-repeat;
background-position: left;
}

/* ----------------- PATIČKA ----------------- */

#footer {
clear: both;
padding: 20px 20px 0 20px;
text-align: right;
font-size: 0.9em;
color: #808080;
font-weight: bold;
background-image: url('textpattern/txp_img/bg-footer.png');
border: 1px solid transparent;
border-radius: 0 0 8px 8px;
}

#footer a {
color: #808080;
transition-duration: 0.5s;
}

#footer a:hover {
color: #222;
transition-duration: 0.5s;
}