/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/*
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/*
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }


/* =============================================================================
   Primary styles
   Author: Lukáš Záhorec
   ========================================================================== */

body{
	background: url(../img/bg-orange.png) top center repeat-x, url(../img/bg-pattern.png) top left repeat;
      font-size: 14px; 
}
#wrapper{
	width: 960px;
	margin: 0 auto;
}

/* HLAVIčKA*/
#wrapper>header{
  margin-top: 30px;
  position: relative;
}
#logo{
  position: absolute;
  left: 0;
  bottom: -190px;
  z-index: 10;
}
#wrapper>header>h1{
  color: #fff;
  float: left;
  text-shadow: 1px 1px #e48b00;
  margin: 90px 0 0 200px;
  font-size: 2em;
}
#appoitment{
  width: 295px;
  height: 103px;
  background: url(../img/talkbubble.png) no-repeat top left;
  float: right;
  padding-top: 15px;
  padding-left: 15px; 
}
#appoitment p, #appoitment p:last-child{
 text-align: center;
 font-size: 1em;
 margin: 0;
}
#appoitment p:last-child{
  font-size: 2.5em;
  font-weight: bold;
}

/* HLAVNÝ OBSAH*/
#main{
  float: left;
  width: 920px;
  padding: 22px 20px 20px 20px;
  margin-top: 5px;
  background: #ffffff;
  min-height: 500px;
  box-shadow: 0px 2px 5px rgba(0,0,0, 0.2);
}
#nav-header{
  background: #333333;
  width: 900px;
  height: 276px;
  margin-bottom: 30px;
  padding: 10px;
}
#nav-header>.img-wrapper{
  background: #fff;
  float: right;
  width: 665px;
  height: 277px;
  position: relative;
}
#nav-header>.img-wrapper>.caption{
 background: rgba(0, 0, 0, 0.5);
 position: absolute;
 bottom: 0;
 left: 0;
 width: 645px;
 height: 40px;
 overflow: hidden;
 padding: 10px
}
#nav-header>.img-wrapper>.caption h3{
  color: #fff;
  text-shadow: 1px 1px #000;
  font-size: 1em;
  margin: 0;
}
#nav-header>.img-wrapper>.caption p{
  color: #fff;
  text-shadow: 1px 1px #000;
  font-size: 0.9em;
  margin-top: 5px;
}

/* HLAVNÁ NAVIGÁCIA */
#nav-header>nav{
  float: left;
  margin-top: 50px;
  margin-left: 15px;
}
#nav-header>nav>ul{
  list-style: none;
}
#nav-header>nav>ul>li{
  padding: 10px 0 10px 0;
  position: relative;
}
#nav-header>nav>ul>li:after{
  content: "";
  height: 1px;
  width: 180px;
  background-color: #5a5a5a;
  border-top: 1px solid #000; 
  display: block;
  position: absolute;
  top: 35px;
  left: -5px;
}
#nav-header>nav>ul>li:last-child:after{
  display: none;
}
#nav-header>nav>ul>li>a, #nav-header>nav>ul>li>a:visited, #nav-header>nav>ul>li>a:active{
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
}
#nav-header>nav>ul>li>a:hover{
  color: #f2b219;
}


/*section boxes*/
#boxes{
  background: #f5f5f5;
  width: 920px;
  height: 256px;
  margin-bottom: 30px;
  overflow: hidden;
}
#boxes>div{
  width: 256.5px;
  height: 206px;
  padding: 30px 25px 20px 25px;
  float: left;
  position: relative;
}
#boxes>div:after{
  content: "";
  height: 200px;
  width: 1px;
  border-left: 1px solid #fff;
  background: #d9d9d9;
  display: block;
  position: absolute;
  right: 0px;
  top:30px;
}
#boxes>div:last-child:after{
  display: none;
}
#boxes>div img{
  margin: 0 auto;
  text-align: center;
  display: block;
  height: auto;
  width: auto;
  clear: both;
}
#boxes>div h3{
  color: #333;
  font-size: 1em;
  text-transform: uppercase;
  text-align: center;
}
#boxes>div p{
  color: #888;
  font-size: 0.9em;
  line-height: 150%;
  text-align: justify;
}
#boxes>div>a{
  display: block;
  width: 110px;
  height: 26px;
  font-size: 0.9em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  line-height: 26px;
  color: #fff;
  background-color: #494949;
  position: absolute;
  bottom: 20px;
  left: 100px;
}
#boxes>div>a:hover{
  background-color: #f2b219;
}


/* sidebar*/
#sidebar{
  width: 230px;
  height: 570px;
  float: left;
}
#sidebar>h2,  footer>div>h2{
  text-transform:uppercase;
  font-size: 1em;
  clear: both;
  margin: 0 0 20px 0;
}
#sidebar table{
  margin-bottom: 30px;
}
#sidebar table td, #sidebar table tr{
  font-size: 1em;
  color: #888888;
  padding: 7px 0;
}
#sidebar table tr{
  border-bottom: 1px solid #f5f5f5;
}
#sidebar table tr:last-child{
  border-bottom: 0;
}
#sidebar table tr td:first-child{
  float: left;
  text-align: left;
  padding-right: 40px;
  font-weight: bold;
}
#sidebar table tr td:last-child{
  float: right;
  text-align: right;
}


/* content*/
#content{
  width: 610px;
  min-height: 500px;
  float: right;
}
#content>h1{
  text-transform:uppercase;
  font-size: 1.5em;
  clear: both;
  margin: 0 0 20px 0;
}
#content>h2{
  font-style: italic;
  font-size: 1.2em;
  color: #888;
}
#content>p{
  font-size: 0.9em;
  color: #888;
  line-height: 150%;
  text-align: justify;
  text-indent: 20px;
}
#content>p>strong{
  color: #444;
}
#content>p>a{
  color: #f2b219;
}
#content>p>a:hover{
  text-decoration: none;
}
#content>ul{
  padding-left: 12px;
  line-height: 180%;
  color: #888;
}

/* footer*/
footer{
  float: left;
  margin: 0 0 30px 0;
  width: 920px;
  padding: 20px;
  height: 300px;
  background: #f5f5f5;
  box-shadow: inset 0px 8px 15px -9px rgba(0,0,0, 0.3), 0px 2px 5px rgba(0,0,0, 0.2);
}
footer>div{
  float: left;
  width: 266px;
  height: auto;
  padding: 30px 20px 30px 20px;
}
footer>div>ul{
  list-style: none;
  padding-left: 0;
}
footer>div>ul>li{
  padding: 5px;
}
footer>div>ul a,footer>div>ul a:visited{
  color: #888;
  text-decoration: none;
}
footer>div>ul a:hover{
  color: #f2b219;
}
footer>div>form>input, footer>div>form>textarea{
  margin-bottom: 20px;
}
footer>div>form>input[type="submit"]{
  margin-right: 5px;
}

/*rozne*/
.inactive-text{
  color: #cccccc;
}
.img-content{
  float: left;
  border: 2px solid #eee;
  width: 190px;
  height: 130px;
  margin: 0 9px 0 0;
}

/* formuláre*/
input{
  background-color: #fff;
  border:1px solid #e3e3e3;
  height: 30px;
  width: 250px;
  float: left;
  padding: 0 5px;
  color: #888;
  font-size: .8em;
}
textarea{
  background-color: #fff;
  border:1px solid #e3e3e3;
  float: left;
  width: 250px;
  height: 60px;
  padding: 5px;
  color: #888;
  font-size: .8em;
}
input:active, input:focus, textarea:focus{
  border: 1px solid #f1b119;
  background-color: #fff;
  -moz-box-shadow: 0 0 3px rgba(242,178,25,.75);
  -webkit-box-shadow: 0 0 3px rgba(242,178,25,.75);
  box-shadow: 0 0 3px rgba(242,178,25,.75);
}
input[type="submit"]{
  background-color: #f2b219;
  color: #fff;
  font-weight: bold;
  float: right;
  width: 110px;
}
input[type="submit"]:hover{
  background-color: #444444;
}

/* =============================================================================
   Non-semantic helper classes
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* =============================================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}


/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
