/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #121212;
    font-size: 95%;
    line-height: 1.4;
    font-weight: 300;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

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

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {    
    font-family: 'Open Sans', sans-serif;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
    position: relative;
}

h1, h2, h3 {
    font-weight: 600;
    margin-top: 0;
}

h2 {
    color: #709244;
}

h3 {
    color: #4f4f4f;
}

a {
    color: #9B2121;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.o, .error {
    color: #c6251e;
    font-weight: bold;
}

.o2 {
    color: #6a8710;
    font-weight: bold;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.back {
	margin-top: 30px;
}

.back a {
	display: block;
	margin-top: 20px;
	background-color: #9B2121;      
    color: #fff;
    text-decoration: none;
    width: 120px;
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
    height: 30px; 
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.back a:hover {
	background-color: #b12c58;    
}

.new a {
	display: block;
	margin-top: 20px;
	background-color: #9B2121;     
    color: #fff;
    text-decoration: none;
    width: 150px;
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
    height: 30px; 
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.new a:hover {
	background-color: #b12c58;    
}

.tools a {
	float: left;
	display: block;
	background-color: #709244;     
 	margin: 1px 5px;
    color: #fff;
    text-decoration: none;
    width: 70px;
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
    height: 30px; 
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.tools a:hover {
	background-color: #81a651;     

}

/* ===================
    ALL: Orange Theme
   =================== */
.header-container {    
    width: 100%;
}

.header-container header {
    background: #cce486;
    padding: 0 10px;                
}

/* ==============
    MOBILE: Menu
   ============== */
.nav-box {    
    text-align: right;
    margin: 1em 0;
}

.nav-box a {            
    display: inline-block;
    text-decoration: none;        
}

.nav-box img {
    padding: 0 5px 0 0;
}

.nav-box a:focus {
    outline: none;
}

nav {
    background: #fff;
    display: none;
}       

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav ul li {
    float: left;            
    border: #c5c5c5 solid 1px;
}          

nav li a {
    color: #242424;    
    padding: 15px 10px;
    font-weight: 600;
    display: block;
    text-align: center;
    text-decoration: none;
}

nav li:last-child a {
    border-bottom: 0;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */
   
.footer-container footer {
    text-align: center;
}

.footer-container footer p, .footer-container footer a {
    color: #515151;
}

.footer-container footer a {
    text-decoration: none;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.menu-box {    
    position: absolute;
    top: 10px;
    right: 0;
}

.menu-box a {            
    display: block;        
}

.menu-box a:focus {
    outline: none;
}

header .logo {
    display: inline-block;
    margin: 15px 0;
}

header .alias {
    display: inline-block;
    position: relative;
    margin: 10px 0;
}

header .alias select {
    width: auto;
}

header span {
    font-size: 1.5em;
    color: #526e2d;
    text-transform: uppercase;
    display: none;
}

header ul, header ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

header ul {
    padding: 30px 0 20px 0;
    display: none;
}

header ul li {
    padding: 5px 0;
    border-bottom: #526e2d solid 1px;
}

header ul li a {
    text-decoration: none;
    color: #526e2d;
    font-weight: 400;
}

header ul li a:hover {
    border-bottom: #709244 4px solid;
    text-decoration: none;
}
  
header .login {
    font-weight: 700;
    color: #526e2d;
    background: url('../img/ico-login.png') center left no-repeat;
    padding: 0 30px 0 25px;
    position: relative;
    margin: 10px 0;
}

header .alias form {
	display: inline;
	font-size: 0.8em;
}

header .login .close {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-indent: -9999px;
    background: url('../img/ico-close.png') center left no-repeat;
    position: absolute;
    right: 1px;
    top: 2px;
}

/* tabulka */
.table {
	margin: 0 0 25px 0;        
}


.table th, .table td {
	border: 1px solid #414929;
	padding: 0.7em;        
}

.table th {
	background: #daf192;
	font-weight: normal;     
}


/* tabulka */

.table-big {
	border-spacing: 0;
	width: 100%;
	margin: 0 0 20px 0;     
}

.table-big th, .table-big td {
	border: 1px solid #414929;
	padding: 0.7em;        
}

.table-big th {
	background: #daf192;
	font-weight: normal;     
}

.table-big .th2 { 
	background-color: #ebf4d3;       
}

.table-big .left { 
	text-align: left;       
}

.table-big .right { 
	text-align: right;       
}

.table-big tbody tr:hover td {
    background-color: #f5f4e5;
}


/* tabulka - formular */
.table-form th, .table-form td {
	border: none;
	padding: 10px; 
	margin-bottom: 10px;       
}

/* filtr */

.table-filter {
    width: 100%;
    border-spacing: 0;
    margin: 0 0 20px 0;     
}

.table-filter th, .table-filter td {
        padding: 5px 0;
   
}

.filter-alert {
    background: #fbecce;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

.filter-alert-noitem {
    background: #c6251e;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    color: #fff;
}

.filter-alert-button {  
    background-color: #f96823;       
    color: #fff;
    padding: 8px;
    text-align: center;
}

.filter-alert-button:hover {  
    background-color: #df5d20;
}

.filter-alert-button a {      
    color: #fff;text-decoration: none;
}


/* sekce */
.service, .service li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.service li {
    margin: 0 0 2em 0;  
    text-align: center;    
}

.service li img {
    border: 1px solid #e5e5e5;
}

.service li h2 {
    font-weight: normal;
}

.service li a {
    color: #000000;
    text-decoration: none;
}

.service li a:hover {
    text-decoration: underline;
}

.service {
        margin: 0 0 0 -3.33%;
    }

.service li {
        float: left;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        padding: 0 0 0 3.33%;
        width: 33.33%;
    } 
    
.service {
        margin: 0 0 0 -3%;
    }
    
.service li {
        padding: 0 0 0 3%;
        width: 25%;
    }    

/* formular */
.output-form h3 {
	width: 50%;
    margin: 0; 
    padding: 5px;
    font-size: 1em;
    background: #eff0eb;
    -webkit-border-top-left-radius: 3px; 
    -moz-border-top-left-radius: 3px; 
    border-top-left-radius: 3px;   
    -webkit-border-top-right-radius: 3px; 
    -moz-border-top-right-radius: 3px; 
    border-top-right-radius: 3px;      
}

.form {
    margin: 0 0 30px 0; 
    padding: 15px;
    background: #f5f6f0; 
    -webkit-border-top-right-radius: 3px; 
    -moz-border-top-right-radius: 3px; 
    border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px; 
    -moz-border-bottom-right-radius: 3px; 
    border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px; 
    -moz-border-bottom-left-radius: 3px; 
    border-bottom-left-radius: 3px;       
}

.form h2 {  
    font-size: 1.2em;
    margin-top: 25px;
    color: #575853;
}

.form input[type=checkbox], .form input[type=submit], .form input[type=button], .form select, .form textarea {
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px;    
} 

.form textarea {
    width: 200px;
    height: 150px;
}

.form input[type=submit], .form input[type=button] {  
    background-color: #9B2121;       
    color: #fff;
    padding: 5px;
    margin: 25px 0;
    width: 120px;
    height: 30px;
    text-align: center;
    font-weight: bold;
}

.button input[type=submit], .button input[type=button] {  
    background-color: #9B2121;       
    color: #fff;
    padding: 5px;
    margin: 25px 0;
    height: 30px;
    text-align: center;
    font-weight: bold;
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px;
}

.button input[type=submit]:hover, .button input[type=button]:hover {
	background-color: #b12c58;    
}

.form .nosubmit { 
	display: inline;
    background: none !important;       
    color: #9B2121 !important;
    font-weight: normal !important;
    text-decoration: underline !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 70px !important;
    height: 20px !important;
}

.form .nosubmit:hover { 
    text-decoration: none !important;
}
  

.form label {
    margin: 0 15px 0 0;
}

.form select {  
    border: solid 1px #cecece;
} 

.form .psc {  
    width: 60px;
}

.form .small {  
    width: 80px;
}


.form .multiple {  
    min-height: 150px;
}

.form .w90 {  
    width: 90%;
}

.form .indent {
	margin: 1px 0 20px 30px;
}

/* formular - diagnozy */

.form-diag {
    margin: 0 0 30px 0; 
    padding: 15px;
    background: #f5f6f0; 
    -webkit-border-top-right-radius: 3px; 
    -moz-border-top-right-radius: 3px; 
    border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px; 
    -moz-border-bottom-right-radius: 3px; 
    border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px; 
    -moz-border-bottom-left-radius: 3px; 
    border-bottom-left-radius: 3px;  
    font-size: 0.800em;       
}

.form-diag .diagnoza .type1 {  
    display: block;
}

.form-diag td {  
    vertical-align: top;
}

.form-diag h2 {  
    font-size: 1.2em;
    margin-top: 25px;
    color: #575853;
}

.form-diag .table-form {  
    width: 100%;
}

.form-diag .vemeno th { 
	background: #daf192;
	font-weight: normal;
}

.form-diag .vemeno th, .form-diag .vemeno td {  
    border: 1px solid #414929;
	padding: 0.7em;        
}

.typy {  
    margin: 0 0 0 15px;
}

.typy a {  
    background-color: #cce486;       
    color: #121212;
    text-decoration: none;
    padding: 5px 10px;
    margin: 5px 5px 5px 0;
    height: 30px;
    text-align: center;
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px;
}

.typy .sel {  
    background-color: #709244;       
    color: #fff;
}

.form-diag input[type=checkbox], .form input[type=submit], .form input[type=button], .form select, .form textarea {
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px;    
} 

.form-diag textarea {
    width: 400px;
    height: 100px;
}

#dojnicems2side__sx, #dojnicems2side__dx {
    width: 300px;
    height: 100px;
    margin: 10px 0;
}

#ms2side__header input {
    margin: 0 0 0 15px;
}

#ms2side__options {
    margin: 15px 0 0 0;
}

.AddOne, .AddAll, .RemoveOne, .RemoveAll {
    float: left;
    margin: 0;
    width: 30px;
}

.form-diag input[type=submit], .form input[type=button] {  
    background-color: #9B2121;       
    color: #fff;
    padding: 5px;
    margin: 25px 0;
    width: 120px;
    height: 30px;
    text-align: center;
    font-weight: bold;
}

.form-diag .nosubmit { 
	display: inline;
    background: none !important;       
    color: #9B2121 !important;
    font-weight: normal !important;
    text-decoration: underline !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 70px !important;
    height: 20px !important;
}

.form-diag .nosubmit:hover { 
    text-decoration: none !important;
}
  

.form-diag label {
    margin: 0 15px 0 0;
}

.form-diag select {  
    border: solid 1px #cecece;
    width: 300px;
} 

.form-diag .psc {  
    width: 60px;
}

.form-diag .multiple {  
    min-height: 150px;
}

.form-diag .w90 {  
    width: 90%;
}

.form-diag .indent {
	margin: 1px 0 20px 30px;
}

/* tabulka - formular */
.table-formdiag th, .table-formdiag td {
	border: none;
	padding: 2px; 
	margin-bottom: 2px;     
}

.skupina { 
	margin-bottom: 7px;
	padding: 3px;       
}

.skupina:hover { 
	background: #d2e49b;       
}

/* filtrování */
.filtr {
    padding: 10px 0 10px 0;
    margin: 0 0 15px 0;
    border-bottom: #dadada solid 1px;
} 

.filtr strong {
    color: #9b2121;
}  

.filtr input[type=checkbox], .filtr input[type=submit], .filtr select {
    box-sizing: border-box;
    border: none;
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
    height: 30px;         
} 
  
.filtr input[type="checkbox"] {
    display: none;
}

.filtr input[type=submit] {  
    background-color: #709244;     
    border-bottom: #4e662f solid 2px;    
    color: #fff;
}

.filtr select {  
    border: solid 1px #cecece;
} 

.filtr .checkbox {
    line-height: 30px;
    float: left;
    width: 150px;
    margin: 0 0 0 30px;
    position: relative;
}

.filtr .checkbox label:before {
	content: "";
	display: inline-block;
	width: 19px;
	height: 19px;
	position: absolute;
    left: 0;
	top: 4px;
    border: solid 1px #cecece;
}

.filtr .checkbox label {
	margin: 0 0 0 30px;
}

.filtr .checkbox label:before {
    -webkit-border-radius: 3px; 
    -moz-border-radius: 3px; 
    border-radius: 3px; 
}

.filtr .checkbox input[type=checkbox]:checked + label:before {
	content: "\2713";
	color: #4f4f4f;
	text-align: center;
    line-height: 19px;
}

.filtr div.w120, .filtr div.w160, .filtr div.w220, .filtr div.w280 {
    float: left;
    text-align: right;
    position: relative;
}

.filtr div.w120 {
    width: 120px;
}

.filtr div.w120 input[type=submit] {
    width: 100%;        
}

.filtr div.w160 {
    width: 160px;
}

.filtr div.w160 select {
    width: 100px;
}

.filtr div.w220 {
    width: 220px;
}

.filtr div.w220 select {
    width: 180px;
}

.filtr div.w280 {
    width: 300px;
}

.filtr div.w280 input {
    width: 150px;
}

.filtr label {
    margin: 0 10px 0 0;        
}

#totop {
    bottom: 20px;
    display: none;
    margin: 0 20px 0 0;
    position: fixed;
    right: 0;
}

#totop a {
    background: #adb0b1 url("../img/ico-top.png") 50% 50% no-repeat;
    border-radius: 3px 3px 3px 3px;
    display: block;
    height: 45px;
    text-decoration: none;
    transition: all 0.2s ease-in-out 0s;
    width: 45px;
    text-indent: -9999px;
}

#totop a:hover {
    background-color: #709244;
}

/* messages */
.messages, .messages li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.messages {
    margin: 20px 0;
}

.messages li {
    float: left;
    width: 180px;
    height: 60px;
    border: #cacaca solid 1px;
    font-size: 0.929em;
    padding: 5px 10px;
    margin: 0 10px 0 0;
}

.messages li.active {
    background: #e5f1c2;
    border-color: #e5f1c2;    
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 1);
}

.messages li .date {
    font-weight: 700;
}

/* ovládání */
.control, .control li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.control {
    margin: 20px 0;
}

.control li {
    float: left;
    margin: 0 20px 0 0;
}

.control li a {
    color: #888888;
    text-decoration: none;
    font-size: 0.929em;
}

/* hlavní nadpis */
.title {
    margin: 25px 0 30px 0;
}

.title span, .title h1 {
    font-size: 1.8em;
    font-weight: 600;
    display: inline-block;
}

.title span {
    color: #709244;   
    margin: 0 20px 0 0; 
}    

.title h1 {
    margin: 0;
}

/* hlavní obsah */
.content {
    margin: 0 0 60px 0;
}

.content .columnL, .content .columnR, .content .columnC {
    box-sizing: border-box;
}

.content .columnL {
    float: left;
    width: 740px;    
}

.content .columnR {
    float: right;
    width: 350px;
}

.content .columnC {
    width: 100%;        
}






/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
    
    header .login {
        position: absolute;
        right: 0;
        top: 40px;
        padding: 0 0 0 25px;
        margin: 0;
    }
    
    header .alias {
        position: absolute;
        right: 0;
        top: 75px;
        padding: 0 0 0 25px;
        margin: 0;
    }
}

@media only screen and (min-width: 768px) {
    header span {
        display: inline-block;
        padding: 25px 0 0 60px;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    header .login {
        top: 8px;
        padding: 0 30px 0 25px;
    }
    
    header .alias {
        top: 40px;
        padding: 0 30px 0 25px;
    }

    .wrapper {
        width: 1120px; /* 1140px - 10% for margins */
        margin: 0 auto;
        position: relative;
    }
    
    .header-container header {
        height: auto;
    }        

    .menu-box, .nav-box {
        display: none;
    }

    header ul, nav {
        display: block;
        padding: 0;
    }
    
    header ul li {
        float: left;
        padding: 0 20px;
        border: none;
    }
        
    header ul {
        float: right;
        margin: 70px 0 0 0;
    }    

    nav {   
        border-top: #cccccc solid 1px;
        border-bottom: #dedede solid 1px;
    }  
       
    nav ul li {
        float: left;
    }
    
    nav li a {
        border-bottom: 0;
        border-right: none;
    }    
    
    nav ul li:hover > a {
        background: #709244;
        color: #FFF !important;
        text-decoration: none;
    }
    
    nav ul .sel > a {
        background: #9B2121;
        font-weight: 600;
        color: #FFF !important;
        text-decoration: none;
    }
    
    nav ul .sel > a:hover {
        background: #9B2121;
    }
    
    nav ul li:hover > ul {
		display: block;
    }
    
    nav ul ul {
    	display: none;
		background: #709244 url('../img/bg-menu-hover.png') top left repeat-x;  
        padding: 0;
        margin: 0;
		position: absolute; 
        top: 100%;
        z-index: 2;  
        min-width: 320px;      
    }
    
    nav ul ul li {
        float: none;
    }    
    
    nav ul ul li a {
        text-align: left;
        display: block;
        height: auto;
        width: auto;        
        padding: 0 20px;
        border: none !important;
        line-height: 39px;
        border-bottom: #8da869 solid 1px !important;
        text-wrap: none;
        color: #ffffff;
    }
    
    nav ul ul li a:hover {
        background: none;
    }
    
    .service li {
        margin: 10px 0;
    } 
    
    
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.ui-datepicker-month, .ui-datepicker-year  {    
    color: #000;
}
