/*
Theme Name: Instar
Version: 1.0.0
Author: dhe

zacatek HTML5 Boilerplate
*/

/*
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

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


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

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

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

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */
/*
::-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:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
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: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _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: h5bp.com/k */
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; list-style-image: none; margin: 0; padding: 0; }


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

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

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

/*
 * Correct overflow not hidden in IE9
 */

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


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

figure { margin: 0; }


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

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

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

/*
 * 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; white-space: normal; }

/*
 * 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)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

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

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

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

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

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


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

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author:
   fialova: #9E2274
   sirka stranky: 980px
   liche radky: #F8EFF5
   ========================================================================== */
@font-face {
    font-family: 'Titillium500wt';
    src: url('css/font/titillium500wt.eot');
    src: url('css/font/titillium500wt.eot?#iefix') format('embedded-opentype'),
         url('css/font/titillium500wt.woff') format('woff'),
         url('css/font/titillium500wt.ttf') format('truetype'),
         url('css/font/titillium500wt.svg#TitilliumMaps26L500wt') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Titillium1wt';
    src: url('css/font/titillium1wt.eot');
    src: url('css/font/titillium1wt.eot?#iefix') format('embedded-opentype'),
         url('css/font/titillium1wt.woff') format('woff'),
         url('css/font/titillium1wt.ttf') format('truetype'),
         url('css/font/titillium1wt.svg#TitilliumMaps26L1wt') format('svg');
    font-weight: normal;
    font-style: normal;
}

body{margin:0;  font-family:Arial,sans-serif;  font-size:14px;  line-height: 18px;  color:#333333; }


/* typografie */
h1, h2, h3, h4, h5, h6{margin:0;  font-family:inherit;  font-weight:normal;  color:#000;  text-rendering:optimizelegibility;}
h1, h2{font-family: 'Signika', Arial, sans-serif; font-weight: 400; }
/*.lt-ie10 h1, .lt-ie10 h2{font-family: Corbel,"Lucida Grande","Lucida Sans Unicode","Lucida Sans","DejaVu Sans","Bitstream Vera Sans","Liberation Sans",Verdana,Arial,sans-serif;}*/
h1 { font-size: 2.5em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 1.5em; margin-bottom: 0.75em; line-height: 1em;}
h3 { font-size: 1.0em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.0em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }
p           { margin: 0 0 1.5em; text-align: justify; }
.left       { float: left !important; }
p .left     { margin: 1.5em 1.5em 1.5em 0; padding: 0; }
.right      { float: right !important; }
p .right    { margin: 1.5em 0 1.5em 1.5em; padding: 0; }
strong,dfn  { font-weight: bold; }
em,dfn      { font-style: italic; }
sup, sub    { line-height: 0; }
a{color:#9e2274;  text-decoration:underline;}
a:visited{color:#9e2274;}
a:hover{color:#d70000;  text-decoration:underline;}
dl { margin-bottom: 18px; }
dt, dd { line-height: 18px; }
dt { font-weight: bold; }
dd { margin-left: 9px; }
.dl-horizontal dt { float: left; width: 120px; overflow: hidden; clear: left; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.dl-horizontal dd { margin-left: 130px; }
ul.unstyled, ol.unstyled {margin-left: 0; list-style: none; padding-left: 0; }
.table-striped td {padding: 10px 0;}
.table-striped tr:nth-child(even) {background-color: #F8EFF5;}
.odd {background-color: #F8EFF5;}
/* sipka pred odkazem "vice" */
.arrow {color: #9E2274; text-decoration: none; padding-left: 10px; background: url(img/arrow.png) no-repeat center left; }
/* skryti neaktivnich banneru */
.ui-tabs-hide {display: none;}
/* skryti car, ktere slouzi jako oddelovace v mobilni veri webu */
header hr, #news hr, footer hr {display: none;}

/* logo v hlavicce */
header h1 { margin: 0;}
.instar header h1 a {display:block; width: 230px; height: 40px; background: url(img/instar-logo.png) no-repeat left top;}
.instarna header h1 a {display:block; width: 220px; height: 70px; background: url(img/instarna-logo.png) no-repeat left top;}
header h1 a span {display: none}

/* vyhledavaci formular v hlavicce */
form#search label, header #search button span {display: none;}
form#search button {border: none; background: url(img/sprite.png) -54px -39px no-repeat; width: 53px; height: 28px; background-color: inherit; float: left; margin-left: 5px;}
.lt-ie10 form#search button {background-color: #F9F9F9;}
form#search button:hover {background: url(img/sprite.png) 0 -39px no-repeat;}
form#search input {float: left; width: 140px; height: 22px; margin-top: 1px; padding: 2px 10px; color: #4B4B4B; background-color: #f9f9f9; font-size: 12px; font-style: italic;  border: 1px solid #ddd; -moz-border-radius: 3px; border-radius: 3px;  -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);}
form#search input:focus {outline: none;}

/* vyber jazyka v hlavicce */
#lang-chooser {margin: 0; padding: 0; }
#lang-chooser ul {margin: 0;}
#lang-chooser li {float: left; font-weight: 600; font-size: 12px; list-style-type: none;}
#lang-chooser span {margin: 0 0.5em;}
#lang-chooser li.active  a {color: #333; text-decoration: none;}
#lang-chooser li a {color: #9E2274;}
#lang-chooser li a:hover {color: #d70000; text-decoration: underline;}

/* hlavni navigavce */
#mainNav ul.sf-menu {margin: 0;}
#mainNav ul.sf-menu > li {display: block; padding: 5px 0; font-size: 13px; font-weight: 500; color: #4B4B4B; text-decoration: none; text-shadow: 1px 1px 1px #ccc; text-transform: uppercase;}
#mainNav ul.sf-menu > li > a{font-size: 13px; font-weight: 500; color: #4B4B4B; text-decoration: none; text-shadow: 1px 1px 1px #ccc; text-transform: uppercase;}
#mainNav ul.sf-menu > li.current-menu-item > a, #mainNav ul.sf-menu > li.current-menu-ancestor > a  {font-weight: bold;}
#mainNav ul.sf-menu li a:hover {color: #9E2274; }
#mainNav ul.sf-menu .sf-sub-indicator {display: none;}


/* text a novinky na uvodni strance */
#contentFront #main h1 { margin-top: 0; line-height: 36px;}
#contentFront #main p { text-align: justify;}
#contentFront #news h2 { line-height: 22px; margin-top: 0;  /*text-transform: uppercase;*/}
#contentFront #news h3  {margin: 0; font-size: 16px; font-weight: normal; color: #9E2274; }
#contentFront #news p, #news a {margin: 0;}
#contentFront #news ul li  {margin-top: 20px;}
#contentFront #news ul a {text-decoration: none; color: #333;}
#contentFront #news ul a:hover span.arrow {text-decoration: underline; color: #d70000;}

/* seznam referenci */
#references {list-style-type: none; margin: 20px -40px; padding: 0;}
#references li {clear: left; padding: 15px 40px;  }
#references li p {width: 33%; float: left; margin: 5px 0; vertical-align: middle;}
#references li a {float: left;}
#references li:nth-child(even) {background-color: #F8EFF5;}

/* seznam partneru */
#partners .partner {margin: 0 -40px; padding: 15px 40px; clear: left;}
#partners .partner address, #contact .partner address {width: 35%; float: left; font-style: normal; margin-bottom: 10px;}
#partners .partner img {float: left;}
#partners .partner:nth-child(even) {background-color: #F8EFF5;}

/* kontakty */
#contacts .contact address, #contacts .contact dl {width: 35%; float: left; font-style: normal; margin-bottom: 10px; margin-top: 0;}
#contacts .contact dl {width: 60%; }
#contacts .contact dd ul {margin: 0; }
#contacts h5 {clear: both;}

/* stranka se seznamem novinek */
#news h2, #news p {margin: 0;}
#news li {margin: 2em 0;}

/* přihlašovací formulář */
#myLoginForm p{margin:5px;}
#myLoginForm label{float:left; line-height:20px; padding-top:5px; padding-right:5px; text-align:right; width:200px;}
#myLoginForm input[type="text"],#myLoginForm input[type="password"]{background-color:#FFFFFF; border:1px solid #CCCCCC; box-shadow:0 1px 1px rgba(0,0,0,0.075) inset; border-radius:3px 3px 3px 3px; font-size:14px; height:20px; line-height:20px; padding:4px 6px;}
#myLoginForm input[type="submit"]{background-color:#F5F5F5; background-image:-moz-linear-gradient(center top ,#FFFFFF,#E6E6E6); background-repeat:repeat-x; border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25); border-image:none; border-radius:4px 4px 4px 4px; border-style:solid; border-width:1px; box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05); color:#333333; cursor:pointer; display:inline-block; font-size:14px; line-height:20px; margin-bottom:0; padding:4px 14px; text-align:center; text-shadow:0 1px 1px rgba(255,255,255,0.75); vertical-align:middle; width:auto; margin-left:205px;}

/* banner EU - EVROPSKÝ FOND PRO REGIONÁLNÍ ROZVOJ */
.eu { padding: 10px; background: url(img/eu.gif) 10px 8px no-repeat; padding-left: 150px; font-weight: bold; border: 1px solid #E5E5E5; border-radius: 5px 5px 5px 5px;}

/* sloupce ve strance */
.row .column {float: left; margin-right: 20px;}
.row .size-66 {width: 530px;} /* sirka cca 66% */
.row .size-33 {width: 310px;} /* sirka cca 33% */
.row:before, .row:after { content: ""; display: table; }
.row:after { clear: both; }
.row { *zoom: 1;}



/* mma uprava pro formulare ninja forms */
input.ninja-forms-field[type="text"]  {width:250px !important} 
.list-checkbox-wrap ul           {padding-top: 5px !important}
.ninja-forms-form-wrap .ninja-forms-form .list-radio-wrap.label-left label, .ninja-forms-form-wrap .ninja-forms-form .list-radio-wrap.label-left ul, .ninja-forms-form-wrap .ninja-forms-form .list-radio-wrap.label-left ul li, .ninja-forms-form-wrap .ninja-forms-form .list-radio-wrap.label-right label, .ninja-forms-form-wrap .ninja-forms-form .list-radio-wrap.label-right ul, .ninja-forms-form-wrap .ninja-forms-form .list-radio-wrap.label-right ul li, .ninja-forms-form-wrap .ninja-forms-form .list-checkbox-wrap.label-left label, .ninja-forms-form-wrap .ninja-forms-form .list-checkbox-wrap.label-left ul, .ninja-forms-form-wrap .ninja-forms-form .list-checkbox-wrap.label-left ul li, .ninja-forms-form-wrap .ninja-forms-form .list-checkbox-wrap.label-right label, .ninja-forms-form-wrap .ninja-forms-form .list-checkbox-wrap.label-right ul, .ninja-forms-form-wrap .ninja-forms-form .list-checkbox-wrap.label-right ul li              {float: inherit !important}
.list-checkbox-wrap ul li             {display: block !important; float: inherit !important}
.ninja-forms-error-msg, .ninja-forms-field-error {color:red; font-weight: bold;}
.ninja-forms-all-fields-wrap hr   {padding:10px 0px 10px 0px;}
.field-wrap > label {font-weight: bold;}