/*
Theme Name: Theme FFUK 
Author: Red Peppers
Author URI: http://www.red-peppers.cz/
Description: Responsivní šablona pro Filozofickou fakultu Univerzity Karlovy v Praze
Version: 1.0
*/

body {
    background: #fff;
    color: #000;
    font-family: 'Open Sans', sans-serif;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

body.view {
    background: #fff;
    color: #525b65;
}

div {
    font-family: 'Open Sans', sans-serif;
    color: #525b65;
}

p,
ul,
ol,
ul li ul,
#cboxWrapper,
.vcard .fn,
dl,
table tr td,
table tr th {
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    color: #525b65;
}

table tr th,
table tr td {
    font-size: 13px;
    padding: 0.5625em 0.625em;
}

h1 .vcard .fn {
    font-size: 28px;
    font-weight: 300
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

blockquote {
    border-left: 0;
    border-top: 1px solid #c2c2c2;
    border-bottom: 1px solid #c2c2c2;
    font-style: italic;
    text-align: center;
    position: relative;
    padding: 1.5em 2em
}

blockquote:before {
    display: block;
    content: ' ';
    width: 15px;
    height: 12px;
    position: absolute;
    top: 1em;
    left: 0.5em;
    background: url(img/blockquote-start.png)
}

blockquote:after {
    display: block;
    content: ' ';
    width: 15px;
    height: 12px;
    position: absolute;
    bottom: 1em;
    right: 0.5em;
    background: url(img/blockquote-end.png)
}

blockquote p:last-child {
    margin-bottom: 0.5em
}

noindex:-o-prefocus,
em {
    font-family: sans-serif;
}

input,
select,
textarea,
button {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em
}

::-webkit-input-placeholder {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em
}

::-moz-placeholder {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em
}


/* firefox 19+ */

:-ms-input-placeholder {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em
}


/* ie */

input:-moz-placeholder {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em
}

a {
    color: #135079;
    text-decoration: underline
}

.btn {
    background: #002d56;
    color: #fff;
    padding: 0.5em 1em 0.4em;
    text-decoration: none;
    border-bottom: 3px solid #001e34
}

.btn.btn-brown {
    background: #a15135;
    border-bottom: 3px solid #a15135
}

.btn.btn-brown:hover {
    border-bottom: 3px solid #001e34
}

.btn.active {
    background: transparent;
    color: #525b65;
    border-color: transparent;
    font-weight: bold
}

.btn:hover {
    color: #fff;
    text-decoration: underline;
    background: #001e34
}

input[type="submit"] {
    border: none;
    background: #002d56;
    color: #fff;
    padding: 0.5em 1em 0.4em;
    text-decoration: none;
    border-bottom: 3px solid #00213f;
    font-size: 1.1em
}

input[type="submit"]:hover {
    color: #fff;
    text-decoration: underline
}

.ac {
    text-align: center
}

.ar {
    text-align: right
}

img.print {
    display: none
}

img.screen {
    display: inline-block
}

.small {
    font-size: 0.8em
}

.imp {
    color: #c00
}

.block {
    display: block
}


/* === head === */

#head {
    background: #002d56
}
/*
#head .large-5 {
    padding-top: 22px;
    padding-bottom: 22px
}
*/
#head li {
    list-style: none;
    display: inline-block;
}

#head li a {
    padding: 0.3em 0.5em;
    display: inline-block;
}

#head #topnav {
    margin-top: 0.5em;
    margin-bottom: 0.7em;
    float: right
}

#head #topnav>li {
    position: relative;
    padding-bottom: 1em
}

#head #topnav>li:first-child>span {
    color: #fff;
    font-size: 0.9em;
    padding-right: 0.5em
}

#head #topnav a:hover {
    text-decoration: none;
}

#head #topnav .divider span {
    width: 2px
}

#head #topnav>li:hover>a {
    color: #fff;
    text-decoration: none
}

#head #topnav>li:hover .submenu {
    display: block
}

.submenu {
    display: none;
    padding: 1em 2em 1em 1em;
    border: 1px solid #afafaf;
    background: #fff;
    border-bottom-width: 3px;
    position: absolute;
    z-index: 999;
    white-space: nowrap;
    top: 2.1em;
}

.submenu:before {
    content: "";
    display: block;
    position: absolute;
    top: -11px;
    width: 20px;
    height: 11px;
    background: url(img/icon-set.png?v1) no-repeat -76px -24px;
    left: 0;
    right: 0;
    margin: auto
}

#head #topnav>li:last-child .submenu:before {
    left: auto;
    right: 20px;
}

.submenu h4 {
    color: #002d56;
    font-size: 1.25em
}

#head .submenu li {
    display: block;
}

#head .submenu ul {
    padding: 0 0 0.5em 0;
    margin: 0
}

#head .submenu a {
    color: #135079;
    text-decoration: none;
}

#head .submenu a:hover {
    text-decoration: underline;
}

#head .submenu li a {
    background: url(img/icon-set.png?v1) no-repeat -107px -182px;
    padding-left: 1.5em;
}

#head .submenu li:hover a {
    background: url(img/icon-set.png?v1) no-repeat -95px -201px;
    text-decoration: underline
}

#head .submenu li a:hover {
    text-decoration: underline
}

.more {
    text-align: right;
    padding-right: 0.5em;
    position: relative
}

.page .more {
    padding-right: 1em;
}

.more a:after {
    content: '';
    display: inline-block;
    position: absolute;
    right: 0;
    top: 8px;
    width: 8px;
    height: 13px;
    background: url(img/icon-set.png?v1) no-repeat -2px -168px
}

#head a {
    color: #63afc9;
}

#head #lang {
    float: right;
    margin-bottom: 0.5em;
    clear: both
}

#searchrow .lang {
    text-align: center;
    margin: 1em auto
}

.lang {
    display: inline-block;
}

.lang li {
    list-style: none;
    display: inline-block;
}

.lang a {
    text-decoration: underline;
    height: 27px
}

.lang .active a {
    text-decoration: none
}

.lang a:hover {
    text-decoration: none
}

#lang a.czech,
#langmobile a.czech {
    background: url(img/icon-set.png?v1) no-repeat -100px 0px;
    padding-left: 30px
}

#lang a.english,
#langmobile a.english {
    background: url(img/icon-set.png?v1) no-repeat -100px -57px;
    padding-left: 30px
}

#lang .active a.czech,
#langmobile .active a.czech,
#lang a.czech:hover,
#langmobile a.czech:hover {
    background: url(img/icon-set.png?v1) no-repeat -100px -28px
}

#lang .active a.english,
#langmobile .active a.english,
#lang a.english:hover,
#mobilelang a.english:hover {
    background: url(img/icon-set.png?v1) no-repeat -100px -87px
}

#langmobile li a {
    display: block;
    font-size: 1.3em
}

#head form.search {
    float: right;
    clear: both
}

#searchrow {
    padding: 1em;
    background: #00264a
}

form.search input[type="text"],
form.search input[type="text"]:focus {
    background: #fff;
    height: 30px;
    border: none;
    margin: 0;
}

form.search input[type="submit"],
form.search input[type="submit"]:focus,
#text form input[type="submit"].search-submit {
    background: #002141 url(img/icon-set.png?v1) no-repeat -64px -105px;
    text-indent: -999em;
    height: 30px;
    width: 30px;
    padding: 0;
    cursor: pointer
}

#text form input[type="submit"].search-submit {
    height: 35px;
}


/* === nav === */

#nav {
    background: #00264a
}

.top-bar {
    background: #00527b
}

.top-bar a {
    text-decoration: none
}

.top-bar-section>ul {
    background: transparent;
}

.top-bar-section>ul>li:first-child {
    min-width: 1px;
}

.top-bar-section>ul>li.firstchild {
    width: 72px;
    min-width: 1px;
}

.top-bar-section>ul>li {
    min-width: 125px
}
.top-bar-section>ul>li:nth-last-child(2){
    min-width: 105px;
}

.top-bar-section>ul>li:last-child {
    min-width: 118px;
}

.top-bar-section .dropdown {
    z-index: 999;
    display: none
}

.top-bar-section ul li>a {
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
}

.top-bar-section li a {
    background: #00335c;
}

.top-bar-section>ul>li>a {
    font-size: 0.9em
}

.top-bar-section .dropdown li a {
    background: #00335c;
    padding: 6px 15px
}

.top-bar-section>ul>li.active:not(.has-form)>a:not(.button) {
    background: #d73347
}

.top-bar-section>ul>li.active:not(.has-form)>ul a:not(.button) {
    background-color: transparent
}

.top-bar-section>ul>li.active:not(.has-form)>ul li:hover a:not(.button) {
    background-color: transparent
}

.top-bar-section>ul>li:first-child>a>span {
    background: url(img/icon-set.png?v1) no-repeat -106px -116px;
    text-indent: -999em;
    display: inline-block;
    width: 18px;
    margin: 0 auto;
}

.top-bar-section>ul>li:first-child>a>span.arrow-down {
    background: none;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px
}

.top-bar-section>ul>li:first-child:not(.active) a:not(:hover) {
    background-color: #00264a
}

.top-bar-section>ul>li:first-child+li:not(.active) a:not(:hover) {
    background-color: #00335c
}

.top-bar-section>ul>li:first-child+li+li:not(.active) a:not(:hover) {
    background-color: #003962
}

.top-bar-section>ul>li:first-child+li+li+li:not(.active) a:not(:hover) {
    background-color: #004069
}

.top-bar-section>ul>li:first-child+li+li+li+li:not(.active) a:not(:hover) {
    background-color: #00466f
}

.top-bar-section>ul>li:first-child+li+li+li+li+li:not(.active) a:not(:hover) {
    background-color: #004c75
}

.top-bar-section>ul>li:first-child+li+li+li+li+li+li:not(.active) a:not(:hover) {
    background-color: #00527b
}
.top-bar-section>ul>li:first-child+li+li+li+li+li+li:not(:last-child):not(.active) a:not(:hover) {
    background-color: #004f78
}
.top-bar-section>ul>li:first-child+li+li+li+li+li+li+li:not(.active) a:not(:hover) {
    background-color: #00507a
}
.top-bar-section>ul>li:first-child+li+li+li+li+li+li+li+li:not(.active) a:not(:hover) {
    background-color: #00527b
}

.top-bar .top-bar-section>ul>li:first-child ul.sub-menu {
    background-color: #00264a
}

.top-bar .top-bar-section>ul>li:first-child+li ul.sub-menu {
    background-color: #00335c
}

.top-bar .top-bar-section>ul>li:first-child+li+li ul.sub-menu {
    background-color: #003962
}

.top-bar .top-bar-section>ul>li:first-child+li+li+li ul.sub-menu {
    background-color: #004069
}

.top-bar .top-bar-section>ul>li:first-child+li+li+li+li ul.sub-menu {
    background-color: #00466f
}

.top-bar .top-bar-section>ul>li:first-child+li+li+li+li+li ul.sub-menu {
    background-color: #004c75
}

.top-bar .top-bar-section>ul>li:first-child+li+li+li+li+li+li ul.sub-menu {
    background-color: #00527b
}
.top-bar .top-bar-section>ul>li:first-child+li+li+li+li+li+li:not(:last-child) ul.sub-menu {
    background-color: #004f78
}
.top-bar .top-bar-section>ul>li:first-child+li+li+li+li+li+li+li ul.sub-menu {
    background-color: #00507a
}
.top-bar .top-bar-section>ul>li:first-child+li+li+li+li+li+li+li+li ul.sub-menu {
    background-color: #00527b
}
.arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 4px solid #fff;
    margin-left: 0.5em;
    margin-bottom: 0.2em
}

.top-bar-section>ul>li.has-dropdown>a {
    padding-right: 15px !important;
}

.top-bar-section>ul>li.has-dropdown>a:after {
    display: none
}
.top-bar ul.sub-menu li,.top-bar ul.sub-menu li.menu-item > a{
    background: transparent !important;
}
.top-bar ul.sub-menu {
    background: #00335c;
    border-bottom: 3px solid #001d39;
    padding: 0.5em 0;
    z-index: 1999
}

.top-bar ul.sub-menu li:not(.has-form) a:not(.button) {
    background: url(img/icon-set.png?v1) no-repeat -90px -145px;
    padding: 6px 2em 6px 3em;
    line-height: 1
}

.top-bar-section ul.sub-menu li:hover:not(.has-form)>a:not(.button) {
    background: url(img/icon-set.png?v1) no-repeat -90px -163px;
    text-decoration: underline
}

.lt-ie9 .top-bar ul.sub-menu li:not(.has-form) a:not(.button) {
    background: none
}

.lt-ie9 #subnav div.columns {
    margin-left: -5px;
    z-index: 5
}

.lt-ie9 .top-bar-section ul.sub-menu li:hover>a {
    background: none
}

.lt-ie9 .top-bar-section>ul>li {
    min-width: 1px;
}

.lt-ie9 .top-bar-section>ul>li:last-child {
    min-width: 1px;
}


/* === carousel === */

#carousel {
    background: #fff;
    height: 266px;
    padding: 0.5em 0;
    overflow: hidden;
}

#carousel .container {
    position: relative;
    overflow: hidden;
    max-width: 972px;
    height: 250px;
    margin: 0 auto;
}

#carousel .content {
    position: absolute;
    width: 389px;
    height: 250px;
    background: #000;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    right: 0;
    padding: 0 1em
}

.home-pager {
    margin: 0 auto;
    text-align: center;
    position: absolute;
    bottom: 15px;
    z-index: 999;
    width: 100%
}

.home-pager span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url(img/icon-set.png?v1) no-repeat 0px -188px;
    text-indent: -999em;
    margin: 0 0.1em;
    cursor: pointer
}

.home-pager span.cycle-pager-active {
    background: url(img/icon-set.png?v1) no-repeat -24px -188px;
}

.cycle-slideshow .slide {
    width: 100%;
    position: relative
}

.cycle-slideshow img {
    width: 583px !important;
    height: 250px !important;
}

.cycle-slideshow h2 {
    color: #fff;
    padding: 1em 0.5em 0 0em;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 0.5em 0;
    overflow: hidden;
    max-height: 4em
}

.cycle-slideshow h2 a {
    color: #fff;
    text-decoration: none
}

.cycle-slideshow h2 a:hover {
    color: #fff;
}

.cycle-slideshow .text {
    padding: 0.5em 0em 1.25em;
}

.cycle-slideshow .btn {
    background: #eeeeee;
    color: #525b65;
    font-weight: 700;
}

.cycle-slideshow .text p {
    overflow: hidden;
    color: #fff;
    padding: 0;
    margin: 0 0 1.5em 0;
    line-height: 1.5em;
    max-height: 5.9em;
}


/* === subnav === */

#subnav {
    background: #fff;
    padding: 0
}

#subnav a {
    padding: 0.7em 1em 0.7em;
    display: block;
    font-size: 1.4em;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    margin: 0;
    position: relative
}

#subnav a:after {
    content: '';
    background: url(img/icon-set.png?v1) no-repeat 0 -141px;
    display: inline-block;
    width: 14px;
    height: 19px;
    position: absolute;
    margin-top: 2px;
    right: 0.6em
}

#subnav div {
    padding: 0;
}

#subnav div:first-child a {
    background-color: #135079;
}

#subnav div:first-child+div a {
    background-color: #a15135
}

#subnav div:first-child+div+div a {
    background-color: #41819f
}

#subnav div:first-child+div+div+div a {
    background-color: #6f9b50
}

#subnav a:hover {
    text-decoration: underline
}


/* === content === */

#content {
    background: #ffffff;
    padding: 1em 0 3em;
    position: relative
}

#content .text ul li {
    list-style-type: square
}

#social {
    position: absolute;
    right: 0;
    top: 100px;
    background: #012849;
    z-index: 999
}

#social li {
    list-style: none;
    background: #00365f;
    width: 50px;
    height: 50px;
    padding: 7px;
    margin: 2px
}

#social li+li {
    background: #00315a;
}

#social li+li+li {
    background: #00264a;
}

#social li:hover {
    background: #00264a;
}

.text .gallery-item img {
    border: 3px solid #dddfe1;
    margin: 0
}

.gallery-item {
    float: left;
    width: 24%;
    margin-right: 1%
}

.gallery-caption {
    padding-right: 1em
}

.gallery:after {
    content: ' ';
    display: block;
    clear: both
}


/* === text === */

#text {
    background: #ffffff
}

#text .news {
    margin-bottom: 0.5em
}

#text .news .row {
    margin-bottom: 0.75em
}

#text .news p {
    line-height: 1.4em;
    max-height: 4.1em;
    overflow: hidden
}

#text .news h3 {
    font-size: 1.5em;
    font-weight: 300;
    padding: 0;
    margin: 0
}

.home h1,
.search h1 {
    font-size: 28px;
    border-bottom: 1px solid #c2c2c2;
    color: #525b65
}


/* === search === */

.notfound {
    margin-bottom: 2em;
}

.search h1 {
    margin-bottom: 1em
}

.search h1 a,
.search .title a,
.search h2 a {
    text-decoration: none
}

.search .post h2,
.search .page h2 {
    font-size: 13px
}

.search .post h2 a,
.search .page h2 a {
    font-size: 20px
}

.search .post .entry-meta {
    line-height: 2em
}

.search .post p {
    margin-bottom: 0.3em
}

.search .post .entry-meta img {
    margin-top: -6px
}

.search .page,
.search .post,
.search .rpevent,
.search .rpeventen {
    border-left: 3px solid #cccccc;
    padding-left: 1.3em;
    margin-bottom: 2em
}

.search .primary-search .page,
.search .primary-search .post,
.search .primary-search .rpevent,
.search .primary-search .rpeventen {
    background: #eeeeee;
    padding-top: 0.25em;
    padding-bottom: 0.25em
}

.search .result {
    border-left: 3px solid #cccccc;
    padding-left: 1.3em;
    margin-bottom: 2em
}

.result .title {
    font-size: 20px;
    line-height: 1.4em;
    font-weight: 300
}

.result .row-title {
    display: inline-block
}

.result .row-value {
    display: inline-block
}

.relationship-type {
    font-size: 16px;
    line-height: 1.4em;
    margin-top: 5px;
}

.contact-row-org {
    margin-bottom: 0.5em;
}

.contact-row,
.contact-row-org {
    line-height: 1.4em;
}

.search .rectorate {
    margin-bottom: 0.5em
}

.category .post {
    margin-bottom: 2em
}

.author .post {
    margin-bottom: 2em
}

.archive .post {
    margin-bottom: 2em
}

.category .bcn_breadcrumbs {
    margin-bottom: 2em
}

.author .bcn_breadcrumbs {
    margin-bottom: 2em
}

.archive .bcn_breadcrumbs {
    margin-bottom: 2em
}

.gomore {
    padding-top: 1em
}

.gomore h2 {
    font-size: 1.7em;
    border-bottom: 1px solid #c2c2c2;
}

#content .text .gocross {
    clear: both
}

#content .text .gocross ul {
    margin: 0
}

#content .text .gocross ul li {
    list-style: none;
    padding: 0
}

.gocross li a {
    display: block;
    text-decoration: none;
    background: url(img/icon-set.png?v2) no-repeat -107px -186px;
    padding-left: 1.5em;
}

.gocross .columns {
    padding-bottom: 1.5em
}

.gocross li a:hover {
    background: url(img/icon-set.png?v1) no-repeat -95px -201px;
}

#content .gomore ul li {
    list-style-type: disc
}

.text h1 {
    font-size: 1.7em;
    padding-left: 0;
    color: #002d56;
    margin-bottom: 0;
    font-weight: 700
}

.text h2 {
    font-weight: 700;
    font-size: 1.5em
}

.text h3 {
    font-weight: 700;
    font-size: 1.3em
}

.text h4 {
    font-weight: 700;
    font-size: 1.1em
}

h2 {
    font-size: 1.7em;
    color: #002d56;
}

h2.entry-title {
    margin-bottom: 0;
    padding-bottom: 0
}

h3 {
    font-size: 1.5em;
    color: #002d56;
}

h4 {
    font-size: 1.3em;
    color: #002d56;
}

h5 {
    font-size: 1.1em;
    color: #002d56;
}

h6 {
    font-size: 0.9em;
    color: #002d56;
}

.text p {
    line-height: 1.8em
}

.text img {
    margin-bottom: 1em
}

.text .entry-thumbnail img {
    margin-bottom: 0em
}

.text .entry-thumbnail {
    max-height: 150px;
    overflow: hidden
}

.page .entry-content {
    padding-top: 1.5em
}

.entry-content div {
    line-height: 1.8em;
}

.text .underline {
    border-bottom: 1px solid #afafaf;
}

.text ul {
    margin-left: 2em
}

ul.breadcrumbs {
    background: none;
    border: none;
    font-size: 1.1em;
    text-transform: none;
    padding-top: 0;
    padding-left: 0;
    margin-left: 0
}

.bcn_breadcrumbs {
    padding-bottom: 1.5em;
    font-size: 0.9em;
    border-bottom: 1px solid #c2c2c2;
    line-height: 1.5;
}

.bcn_breadcrumbs a,
.breadcrumbs>* a {
    text-transform: none;
    color: #135079
}

.bcn_breadcrumbs a.current-item,
.breadcrumbs .current a {
    text-decoration: none;
    color: #525b65
}

#comments {
    margin-top: 2em
}

#comments h2 {
    border-bottom: 1px solid #afafaf;
}

#comments h3 {
    border-bottom: 1px solid #afafaf;
}

.comment-respond {
    clear: both
}

.vcard {
    display: inline-block;
    margin: 0;
    border: none;
    padding: 0;
}

.entry-meta {
    margin-bottom: 0.5em;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    color: #525b65;
    clear: both
}

#output {
    padding: 1em;
    border: 2px solid transparent;
}

#output.active {
    border: 2px solid #d73347;
    background: #eee
}


/* === rightcol === */

#rightcol {
    background: #ffffff;
}

#rightcol h3.widget-title {
    border-bottom: 1px solid #c2c2c2;
    color: #525b65;
    font-size: 28px
}

.widget h3.widget-title a {
    color: #525b65;
    text-decoration: none
}

#rightcol .widget {
    margin-bottom: 2em
}

#rightcol .widget ul {
    padding-left: 3em;
    margin-left: 0
}

.widget_ci_simple_banners div.banner {
    margin-bottom: 0.5em
}

#leftcol .widget {
    margin-bottom: 2em
}

#leftcol .widget ul {
    padding-left: 3em;
    margin-left: 0
}

.widget_rp_event {
    margin-bottom: 2em
}

.widget_rp_event ul {
    background: #eeeeee;
    margin-left: 0 !important
}

.widget_rp_event .date {
    font-size: 1.2em;
    display: block;
}

.large-5 .widget_rp_event .date {
    font-size: 1.4em;
    display: block;
}

#rightcol .widget.widget_rp_event ul,
#leftcol .widget.widget_rp_event ul {
    padding-left: 0em
}

.widget_rp_event li {
    list-style: none !important;
    padding: 0.5em 1.2em 1em;
    background: url(img/calendar-divider.png) repeat-x bottom;
}

.widget_rp_event li.sticky {
    background: rgba(161, 81, 53, 0.2) url(img/calendar-divider.png) repeat-x bottom;
}

.widget_rp_event li.sticky .date {
    color: #a15135;
    font-weight: bold
}

.sticky .columns {
    background: #f9f9f9
}

.widget_rp_event li:last-child {
    background: none;
    padding-bottom: 0.5em
}

.widget_rp_event h3 a {
    text-decoration: none
}


/* === leftcol === */

#leftcol {
    background: #ffffff;
}

#leftcol h3.widget-title {
    border-bottom: 1px solid #afafaf;
    color: #525b65
}

#leftcol .widget ul {
    padding-left: 1.8em
}

#leftcol .widget .textwidget {
    line-height: 1.4em
}


/* === leftcol_submenu === */

#leftcol_submenu {
    background: #ffffff;
    padding-bottom: 1em;
    margin-bottom: 1em;
    display: none
}

#leftcol_submenu h3.widget-title {
    font-size: 28px;
    font-weight: 300;
    border-bottom: 1px solid #afafaf;
    color: #525b65;
    padding-top: 0.7em
}


/* === navfooter === */

#navfooter {
    background: #ffffff;
    padding-bottom: 1em;
}

#navfooter h3 {
    font-size: 28px;
    font-weight: 300;
    border-bottom: 1px solid #afafaf;
    color: #525b65;
    padding-top: 0.7em
}

#navfooter ul {
    margin-left: 2.5em;
    margin-bottom: 0em;
    padding: 0
}

#navfooter ul li {
    font-size: 1.3em;
    line-height: 2em
}


/* === footer === */

#footer {
    background: #eeeeee;
    border-top: 5px solid #dddfe1;
    padding-bottom: 2em;
}

#footer .columns {
    padding-top: 22px;
    line-height: 1.4em;
    color: #2f343a
}

#footer .columns a:not(.btn) {
    color: #135079
}

#footer .columns a:not(.btn):hover {
    color: #2795b6
}

#footer .separator {
    background: url(img/icon-set.png?v1) no-repeat -82px 0px;
    width: 2px;
    height: 19px;
    display: inline-block;
    margin: 0 1em
}

#footer h2 {
    font-size: 28px;
    font-weight: 300;
}

#footer .columns.social {
    padding-left: 0;
    padding-right: 0;
    margin-top: 2em
}

#footer .columns.social ul {
    padding-left: 0;
    margin-left: 0
}

#footer .social li {
    width: 33%;
    float: left;
    text-align: center;
    padding: 7% 0;
    background: #00365f;
    list-style: none
}

#footer .social li:first-child+li {
    background: #00315a;
    width: 34%;
}

#footer .social li:first-child+li+li {
    background: #00264a;
}

#footer .menu {
    font-size: 0.9em
}


/* === subfooter === */

#subfooter {
    background: #dddfe1;
    padding: 0.5em 0;
    text-align: center
}

#subfooter ul {
    margin: 0 auto;
    display: inline-block
}

#subfooter ul li {
    display: inline-block
}

#head #topnav .divider span {
    width: 2px
}


/* === bottom === */

#bottom {
    background: #c0c0c0
}

#homenav {
    margin-top: -1px;
}

.nav-tabs {
    border-bottom: 1px solid #c2c2c2;
    margin-left: 0
}

.nav-tabs,
.nav-pills {
    *zoom: 1;
}

.nav-tabs:before,
.nav-pills:before,
.nav-tabs:after,
.nav-pills:after {
    display: table;
    line-height: 0;
    content: "";
}

.nav-tabs:after,
.nav-pills:after {
    clear: both;
}

.nav-tabs>li {
    margin-bottom: -1px;
    list-style: none;
    float: left;
    margin-right: 4px;
    padding-top: 0.4em;
    position: relative
}

.nav-tabs>li.active {
    padding-top: 0em;
}

.nav-tabs>li.active a {
    background: #d73347;
    padding-bottom: 0.9em
}

.relevanssi-query-term {
    background: #d73347;
    color: #fff;
    padding: 0 0.2em
}

a .relevanssi-query-term {
    color: #fff;
    text-decoration: underline
}

.nav-tabs>li>a:hover {
    text-decoration: underline
}

.nav-tabs>li>a {
    background: #afafaf;
    padding: 0.5em 1em;
    line-height: 20px;
    display: block;
    border: 1px solid transparent;
    color: #fff;
    font-weight: 300;
    font-size: 1em;
    text-decoration: none;
    font-size: 16px
}

.tab-pane {
    display: none
}

.tab-pane.active {
    display: block;
    padding-bottom: 1em
}

.nav-tabs>li .arrow-down {
    display: none
}

.nav-tabs>li.active .arrow-down {
    display: inline-block;
    position: absolute;
    bottom: -8px;
    left: 1em;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 8px solid #d73347;
}

[class^="icon-"],
[class*=" icon-"] {
    height: 18px;
    width: 18px;
    display: inline-block;
    margin-top: 1px;
    line-height: 14px;
    vertical-align: text-top;
}

.icon-phone {
    background-image: url(img/icon-set.png?v1);
    background-position: -48px -24px
}

.icon-email {
    background-image: url(img/icon-set.png?v1);
    background-position: -48px 0
}

.icon-external {
    background-image: url(img/icon-set.png?v1);
    background-position: -25px 0
}

.icon-mailto {
    background-image: url(img/icon-set.png?v1);
    background-position: -25px -24px
}

.icon-download {
    background-image: url(img/icon-set.png?v1);
    background-position: -25px -48px
}

.icon-print {
    background-image: url(img/icon-set.png?v1);
    background-position: -25px -72px
}

.icon-attachment {
    background-image: url(img/icon-set.png?v1);
    background-position: -25px -96px
}

.icon-pdf-file {
    background-image: url(img/icon-set.png?v1);
    background-position: 0px -24px
}

.icon-xls-file {
    background-image: url(img/icon-set.png?v1);
    background-position: 0px -48px
}

.icon-doc-file {
    background-image: url(img/icon-set.png?v1);
    background-position: 0px -72px
}

.icon-ppt-file {
    background-image: url(img/icon-set.png?v1);
    background-position: 0px -95px
}

.icon-facebook {
    background-image: url(img/icon-set.png?v1);
    background-position: -25px -118px
}

a .icon-mailto,
a .icon-pdf-file,
a .icon-xls-file,
a .icon-doc-file,
a .icon-ppt-file,
a .icon-attachment {
    margin-right: 3px
}

a .icon-external {
    margin-left: 3px
}

.use {
    float: right;
    padding-top: 0.5em
}

.icon-pdf {
    height: 26px;
    width: 26px;
    background-image: url(img/icons.png);
    background-position: -153px 0
}

.icon-print {
    height: 26px;
    width: 26px;
    background-image: url(img/icons.png);
    background-position: 0 0
}

.icon-calendar {
    height: 26px;
    width: 26px;
    background-image: url(img/icons.png);
    background-position: -31px 0
}

.icon-extern {
    height: 26px;
    width: 26px;
    background-image: url(img/icons.png);
    background-position: -183px 0
}

.icon-print:hover,
.icon-pdf:hover,
.icon-calendar:hover,
.icon-extern:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.icon-separator {
    background: url(img/icon-set.png?v1) no-repeat -75px 0px;
}

#content .contact {
    float: right;
    padding: 1em;
    width: 150px;
    font-size: 0.9em;
    background: #eeeeee;
    border-bottom: 3px solid #dcdcdc;
    margin: 27px 0 1em 2em;
}

#content .contact p {
    font-size: 11px;
    line-height: 1.6em;
    margin-bottom: 0.3em
}

#content .files p {
    font-size: 11px;
    line-height: 1.6em;
    margin-bottom: 0.3em
}

#content .contact .more {
    text-align: right;
    padding-right: 1em;
    background: url(img/arrow-right.png) no-repeat right center
}

#content .files {
    clear: both;
    float: right;
    padding: 1em;
    width: 150px;
    font-size: 0.9em;
    background: #eeeeee;
    border-bottom: 3px solid #dcdcdc;
    margin: 27px 0 1em 2em;
}

#content .box-content {
    margin-bottom: 1em;
    overflow: hidden
}

#content .files .more {
    text-align: right;
    padding-right: 1em;
    background: url(img/arrow-right.png) no-repeat right center
}

.section-container {
    border: none
}

.section-container>section>.title {
    border: none;
    border-bottom: 1px solid #c2c2c2;
    background: #fff
}

.section-container>section>.content {
    border: none;
    background: #eeeeee;
    font-size: 1.1em;
    line-height: 1.4em
}

.section-container>section>.content li {
    margin-bottom: 0.5em
}

.section-container>section>.content li.active a {
    text-decoration: none;
    color: #525b65
}

.section-container>section>.title a {
    text-decoration: none;
    color: #135079;
    font-size: 1em;
    padding: 0.6em 0.5em 0.5em 1em
}

.section-container .sub-menu li {
    font-size: 0.9em;
    line-height: 1.3em
}

.section-container>section.active>.title {
    background: #135079;
    border-color: #135079;
}

.section-container>section.active>.title a {
    color: #fff
}

.section-container>section .arrow-down {
    float: right;
    margin: 0.5em 0.5em 0 0;
    border-top: 4px solid #135079;
}

.section-container>section.active .arrow-down {
    border-top: 4px solid #fff;
}


/* accordion */

.accordion dd {
    border-bottom: 1px solid #c2c2c2
}

.accordion dd:last-child {
    border-bottom: none
}

.accordion dd>div {
    position: relative;
    text-decoration: none;
    padding: 0.3em 0 0.3em 1em;
    background: transparent;
}

.accordion dd>div>a,
.accordion a {
    text-decoration: none;
    color: #135079;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    padding: 0px;
    max-width: 80%
}

.accordion dd li a {
    padding: 0.3em 1em 0.3em 0;
}

.accordion dd li.active>a {
    font-weight: bold;
    font-size: 1em
}

.accordion dd li.active li.active>a {
    font-weight: bold;
    font-size: 1.1em
}

.accordion dd li li a {
    font-size: 1em
}

.accordion dd>div.active {
    color: #fff;
    background: #135079
}

.accordion dd>div.active>a {
    color: #fff;
}

.accordion a:hover {
    text-decoration: underline;
}

.accordion .title a {
    line-height: 3em;
    padding-left: 1em
}

.accordion .content {
    padding-top: 0;
    padding-bottom: 0
}

.accordion .content.active {
    background: #eeeeee
}

#leftcol .widget .accordion .content ul {
    padding: 0.5em 0 0.5em 1em;
    margin-bottom: 0em;
    font-size: 0.9em
}

.accordion .content li {
    list-style: disc
}

.accordion .arrow {
    display: inline-block;
    float: right;
    padding: 8px 12px;
}

.accordion .arrow span {
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 4px solid #fff;
    margin: 0;
    padding: 0
}

.accordion .arrow span {
    border-top: 4px solid #135079
}

.accordion .active .arrow span {
    border-top: none;
    border-bottom: 4px solid #fff
}

.welcomepic {
    border-bottom: 32px solid #135079;
    margin-bottom: 2em
}

.landing .contact {
    display: none
}

.landing .entry-header {
    margin-bottom: 2em
}

.landing #text .news {
    margin-bottom: 2em
}

.block {
    margin-bottom: 2em
}

.block .more {
    padding-right: 1em;
    line-height: 1.8em;
}

.box {
    background: #135079;
    color: #fff;
    text-align: center;
    padding: 1em;
    margin-bottom: 1px
}

.box+.box {
    background: #006da3;
}

.box.grey {
    background: #e6e7e8;
    color: #525b65;
    text-align: left;
}

.box .more {
    text-align: right;
    padding-right: 0.5em;
    position: relative;
}

.box .more a:after {
    position: absolute;
    content: '';
    display: inline-block;
    width: 8px;
    height: 13px;
    right: 0;
    top: 7px;
    background: url(img/icon-set.png?v1) no-repeat -24px -168px
}

#content .contact .more a:after {
    display: none;
}

.box.grey .more {
    background: url(img/arrow-right.png) no-repeat right center
}

.box.grey .more:after {
    background: url(img/icon-set.png?v1) no-repeat -2px -168px
}

.box .more a {
    padding-right: 0.75em;
    text-decoration: underline
}

.box a {
    color: #fff;
    text-decoration: none
}

.box.grey {
    line-height: 2.4em
}

.box.grey a {
    color: #135079;
}

.box.grey div.bigger {
    color: #135079;
    line-height: 1.9em
}

.box.grey span.bigger {
    display: inline-block;
    width: 70px;
    color: #135079;
    text-align: right;
    padding-right: 5px
}

.box .more a:hover {
    text-decoration: none
}

.bigger {
    font-size: 1.5em;
    line-height: 1.4em;
    font-weight: 300;
    color: #fff
}

.links li {
    padding-left: 0
}

.row.links {
    margin-bottom: 3em
}

.form {
    background: #dcddde;
    padding: 0.6em;
    margin-bottom: 1.5em
}

.form a {
    line-height: 2.8em
}

.form select {
    margin: 0
}

#text form {
    background: #dcddde;
    padding: 0.6em
}

#text form input {
    padding: 0.6em;
    font-size: 1.2em;
    margin-bottom: 6px
}

#text form.onerow input {
    padding: 0.6em;
    font-size: 1em;
    margin-bottom: 0
}

#text form .second input {
    margin-bottom: 0
}

#text form input[type="submit"] {
    padding: 0.4em 1em;
    margin-top: 1px;
    display: block;
    width: 100%;
}

#text form.onerow input[type="submit"] {
    padding: 0.6em 1em 0.5em;
}

.showmore {
    margin: 1.5em 0 3em 0
}

.rpevent,
.rpeventen {
    margin-bottom: 2em
}

.rpevent p,
.rpeventen p {
    margin-bottom: 0.5em
}

.rpevent dl dd,
.rpeventen dl dd {
    float: left;
    width: 150px;
    margin: 0;
    font-weight: 700
}

.rpevent dl dt,
.rpeventen dl dt {
    margin-left: 150px;
    font-weight: normal
}

.rpevent .entry-thumbnail img,
.rpeventen .entry-thumbnail img {
    margin: 0 0 1em 2em
}

.rpevent .entry-thumbnail,
.rpeventen .entry-thumbnail {
    float: right;
}

.rpevent.detail .entry-content,
.rpeventen.detail .entry-content {
    margin-top: 2em;
}

.rpevent .entry-content,
.rpeventen .entry-content {
    margin-top: 0em;
    padding-top: 0
}

.rpevent article .entry-content,
.rpeventen article .entry-content {
    margin-top: 2em;
}

.rpevent .entry-meta.date,
.rpeventen .entry-meta.date {
    line-height: 2em;
    font-size: 1.2em;
    margin-bottom: 0.2em
}

#nav-single {
    margin: 2em 0 1em;
    text-align: center
}

.single .entry-meta {
    margin: 2em 0 1em
}

#nav-single .btn {
    margin: 0 auto;
    display: inline-block
}

.nav-next {
    float: right
}

.nav-previous {
    float: left
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
    font-size: 1em
}

label {
    font-size: 1em
}

.search-form label {
    font-size: 1.2em
}

input[type="checkbox"]+label,
input[type="radio"]+label {
    display: inline-block;
    margin-left: 0.2rem;
    margin-right: 1rem;
    margin-bottom: 0;
    vertical-align: baseline;
}

.alignleft {
    float: left;
}

.right-img,
.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignleft,
div.alignleft {
    margin: 5px 20px 5px 0;
}

img.alignright,
div.alignright,
.right-img {
    margin: 5px 0 5px 20px;
}

img.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

img.alignnone {
    margin-left: 0;
    margin-right: 0;
}

.entry-content .l {
    width: 47%;
    float: left;
    margin-bottom: 1em;
    padding: 0;
}

.entry-content .r {
    width: 50%;
    float: left;
    margin-bottom: 1em;
    margin-left: 3%;
    padding: 0;
}

#content .text ul[class*="ico-"] {
    margin-left: 0
}

#content .text ul[class*="ico-"] li {
    list-style: none
}

#content .text ul[class*="ico-"] li p {
    margin: 0
}

#content .text ul[class*="ico-"] li p b {
    font-size: 1.4em;
    font-weight: 300;
    margin-top: 1em;
    display: block
}

.entry-content table {
    width: 100%;
    max-width: 100%
}

.entry-content table p {
    margin: 0
}

.entry-content li p {
    margin: 0
}

.table-border-nula {
    width: 100%;
    border: none
}

.table-border-nula tr:nth-child(odd),
.table-border-nula tr:nth-child(odd) td {
    background: #f1f2f2
}

.ffuk-poll li {
    margin-bottom: 0.5em
}

.ffuk-poll li:hover {
    background: #f1f2f2
}

.poll-state {
    float: right;
    width: 200px;
    cursor: pointer;
    margin-left: 1em
}

.voted .poll-state {
    cursor: auto
}

.poll-state .yes {
    width: 50%;
    background: rgba(0, 204, 0, 0.2);
    float: left;
    text-align: right;
}

.poll-state .yes>div {
    background: rgba(0, 204, 0, 0.6);
    color: #fff;
    padding: 0 0.3em;
    min-width: 30%
}

.voted .poll-state .yes>div {
    background: rgba(0, 204, 0, 1);
}

.poll-state .no {
    width: 50%;
    background: rgba(204, 0, 0, 0.2);
    float: left;
}

.poll-state .no>div {
    background: rgba(204, 0, 0, 0.6);
    color: #fff;
    padding: 0 0.3em;
    min-width: 30%
}

.voted .poll-state .no>div {
    background: rgba(204, 0, 0, 1);
}

p.prev {
    margin-bottom: 0
}

.page #sloupec4 {
    width: 269px
}

.page #priloha {
    clear: both
}

.page #tema-navigace {
    width: 20%;
}

.page #tema-content {
    width: 80%;
}

input[type="checkbox"]+label {
    margin-right: 0
}

label.checkbox {
    margin-right: 0
}

.right-img {
    float: right
}

.threewp_ajax_search_results_content h2 {
    font-size: 12px;
    padding: 0;
    margin: 0;
    color: #135079
}

#head .threewp_ajax_search_results_content li {
    display: block
}

#head .threewp_ajax_search_results_content li a {
    padding: 0;
    color: #135079
}

#head div.threewp_ajax_search_results_content {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.en .top-bar-section>ul>li {
    width: auto;
}

.widget_recent_entries>div {
    line-height: 1.3em
}

.widget_recent_entries>div.recent-post {
    margin-bottom: 1em
}

.widget_recent_entries div.post-date {
    text-align: right;
    font-weight: 300
}

body #content div.sloupce table.struct tbody tr td {
    font-size: 0.9em
}

body #content div.sloupce table.struct tbody tr td li {
    font-size: 0.8em
}

iframe.iframe {
    border: none;
    width: 100%;
    min-height: 1024px
}

.iewarning {
    position: absolute;
    top: 0;
    margin-top: 0px;
    background: #c00;
    color: #fff;
    text-align: center;
    padding: 1em;
    width: 100%;
    font-size: 12px;
}

.iewarning a {
    color: #fff;
}

.lt-ie8 #head {
    margin-top: 36px
}

body .threewp_ajax_search_in_progress #s {
    color: #135079
}

body div.media {
    border: none;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1em
}

body div.media-content p {
    display: none
}

body div.media-title {
    background: none
}

body div.media-footer-priloha {
    display: none
}

body div.media-footer-zdroj {
    float: none
}

table.calendar {
    margin-bottom: 2.25rem
}

table.calendar2 {
    margin-bottom: 2.25rem;
    border-spacing: 0
}

table.calendar2 .icon-external {
    display: none
}

table.calendar2 th,
table.calendar2 td {
    font-size: 0.8em;
    padding: 3px 0;
    text-align: center;
}

table.calendar2 th {
    font-weight: normal;
    padding: 6px 0;
}

table.calendar2 td.weekend,
table.calendar2 th.weekend {
    border-right: 1px solid #333
}

#text form.calendar {
    background: none;
    padding: 0;
    margin: 0
}

table td.isevent {
    position: relative;
    color: #fff;
    background: #00527b
}

table td.isevent>div {
    position: relative;
    color: #fff;
    background: #00527b
}

table tr.weekdays th {
    border-bottom: 2px solid #333
}

table.calendar2 tr.weekdays th {
    border-bottom: 1px solid #333
}

table td.today,
table td.today>div {
    background: #333;
    color: #fff;
}

table td.isevent>div>a {
    color: #fff;
}

table td.today>div>a {
    color: #fff;
}

table td.isevent:hover,
table td.isevent:hover>div {
    background: #333333
}

table td .event {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #dcddde;
    padding: 1em;
    top: 2em;
    width: 300px;
    max-width: 300px;
    z-index: 1999;
    text-align: left
}

h3.light {
    font-weight: 300
}

.btn-block {
    display: block;
    padding: 0.25em 0.5em;
    margin-top: 1px;
    font-size: 1.4em;
    text-align: center
}

.lt-ie9 body.view {
    background: #fff
}

.lt-ie9 .container>.row {
    width: 960px;
    margin: auto
}

.lt-ie9 .columns {
    padding-right: 20px
}

.lt-ie9 #carousel {
    width: 960px;
    margin: auto
}

.lt-ie9 .btn {
    margin-top: 0.5em;
    display: inline-block
}

.lt-ie9 #content .tab-content {
    margin-top: 0.5em;
}

.lt-ie9 .home h1 {
    margin: 0.5em 0;
}

.lt-ie9 .top-bar-section .dropdown li a {
    padding: 6px 15px 6px 0
}

iframe {
    max-width: 100%
}

.single .entry-header .entry-meta {
    text-align: right;
}

.single .entry-header .entry-meta .back {
    float: left;
    margin-top: -0.5em
}

select {
    height: auto
}

p.odb-odd {
    padding: 0.5em 1em;
    margin: 0 0 0.5em 0
}

p.odb-even {
    padding: 0.5em 1em;
    background: #f9f9f9;
    margin: 0 0 0.5em 0
}

#cboxTitle {
    width: auto !important;
    float: none !important;
    margin: 0 2em 0 11em;
    padding: 8px 8px 0 8px;
    background: #fff;
    z-index: 999;
    border-radius: 5px;
}

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

#ffuk_event_desc {
    height: 5.4rem
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
    html,
    body {
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
        overflow-x: hidden;
        overflow-y: auto;
    }
}

a.toggle {
    text-decoration: none
}

.toggle span {
    display: inline-block;
    content: ' ';
    width: 0;
    height: 0;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    border-left: 8px solid #135079;
    margin: 0 0 0 0.5em;
    padding: 0;
}

.toggle.toggled span {
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: none;
    border-top: 8px solid #135079;
}

.landing #text .news h3 {
    font-size: 1.2em
}

.landing #text .news .date {
    margin-bottom: 0
}

.landing #text .news .row {
    margin-bottom: 1.25em
}

.icons {
    background: #f2f2f2;
    padding: 2em 0;
    margin-bottom: 1.5em
}

.icons img {
    width: 74px;
}

.icons a {
    text-decoration: none;
    line-height: 1.4em
}

.icons a:hover {
    text-decoration: underline;
}

.student .sub {
    float: right;
    color: #162c59;
    padding-top: 0.75em
}

.employee h1 img,
.student h1 img {
    width: 33px;
}

.student h1,
.employee h1 {
    font-size: 25px;
    font-weight: bold;
}

.student .medium-12 {
    border-bottom: 4px solid #a15135;
}
.student .medium-12.library {
    border-bottom: 4px solid #d73347;
}
.employee .medium-12 {
    border-bottom: 4px solid #6f9b50;
}

.landing .student .entry-header {
    margin-bottom: 0
}

.landing .employee .entry-header {
    margin-bottom: 0
}

.student h2 {
    font-size: 22px;
    font-weight: bold
}

.employee h2 {
    font-size: 22px;
    font-weight: bold
}

.page.employee .entry-content {
    padding-top: 0;
}

.landing .medium-5 .news h3 {
    font-size: 1.2em;
    line-height: 1.5em
}

.landing .medium-5 .news {
    font-size: 13px;
    line-height: 1.5em
}

.landing .medium-5 .news .date {
    margin-bottom: 0
}

.landing .medium-5 .news .row {
    margin-bottom: 1.25em
}

.landing .medium-7 .news h3 {
    font-size: 1.2em;
    line-height: 1.5em
}

.landing .medium-7 .news {
    font-size: 13px;
    line-height: 1.5em
}

.landing .medium-7 .news .date {
    margin-bottom: 0
}

.landing .medium-7 .news .row {
    margin-bottom: 1.25em
}

.landing .medium-5 table {
    width: 100%
}

.landing .medium-5 .block {
    font-size: 13px;
}

.landing .calendar {
    width: 100%
}

.student .menu-portal-student-container ul {
    background: white;
    margin: 0 0 1.25rem 0;
    border: solid 1px #dddddd;
}

.student .menu-portal-student-container ul li {
    list-style: none;
    padding: 0.5625em 0.625em;
}

.student .menu-portal-student-container ul li:nth-of-type(even) {
    background: #f9f9f9;
}

.employee .menu-portal-zamestnanec-container ul {
    background: white;
    margin: 0 0 1.25rem 0;
    border: solid 1px #dddddd;
}

.employee .menu-portal-zamestnanec-container ul li {
    list-style: none;
    padding: 0.5625em 0.625em;
}

.employee .menu-portal-zamestnanec-container ul li:nth-of-type(even) {
    background: #f9f9f9;
}

#text .news .rssdate {
    line-height: 2.2em
}

#text .rssnews {
    margin-bottom: 1em
}

.showCal {
    line-height: 32px;
}

.calendar.toggable {
    display: none
}

.calendar-control {
    margin-bottom: 2.25rem
}

.calendar-control .table.calendar {
    margin-bottom: 0
}

.box-content .down {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 4px solid #135079
}

.box-content .up {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 4px solid #135079
}

.page .rpevent .entry-meta,
.page .rpeventen .entry-meta {
    clear: none
}

.calendar-category {
    width: 90%
}

table.rozcestnik {
    border: none;
    border-spacing: 5px;
    border-collapse: separate;
    margin-left: -5px;
    width: 100%
}

table.rozcestnik td {
    font-size: 15px;
    padding: 0;
    position: relative;
    padding: 0;
    height: 100%;
    background: #eee;
}

table.rozcestnik tr {
    background: none
}

table.rozcestnik.two td {
    width: 50%
}

table.rozcestnik.three td {
    width: 33%
}

table.rozcestnik.three td+td+td {
    width: 34%
}

table.rozcestnik td a {
    display: block;
    padding: 12px 22px 12px 10px
}

table.rozcestnik td:hover {
    background: #ddd;
}

table.rozcestnik td a:after {
    content: '';
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -5px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 7px solid #135079;
}

.text table.rozcestnik td img {
    margin-bottom: 0
}

.search-form .search-submit {
    text-indent: -999em
}

table th img,
table td img {
    max-width: initial
}

@media only screen and (min-width: 1044px) {
    .top-bar-section>ul>li:first-child {
        width: auto;
        min-width: 1px
    }
    .top-bar-section>ul>li {
        min-width: 130px;
    }
    .top-bar-section>ul>li:last-child {
        width: 132px;
        min-width: 132px;
    }
    .top-bar-section>ul>li:nth-last-child(2){
    min-width: 118px;
}
    #subnav div:first-child {
        padding-left: 7px;
    }
    #subnav div:last-child {
        padding-right: 7px;
    }
}

@media only screen and (max-width: 1280px) {
    .cycle-slideshow .text p {
        font-size: 0.9em;
        max-height: 7.4em;
    }
}

@media only screen and (max-width: 940px) {
    #subnav a {
        font-size: 21px;
    }
    .top-bar {
        height: auto
    }
    .topnav {
        display: none;
    }
    #navtoggle {
        background: url(img/icon-toggle-topmenu.png) no-repeat;
        height: 100px;
        width: 100px;
        float: right
    }
    #head .large-5 {
        width: 100%
    }
    #head .large-7 {
        display: none !important
    }
    #searchrow {
        padding: 1em
    }
    #searchrow form {
        margin: 0
    }
    #lang a.czech {
        background: url(img/ico-flag-czech-mobile.png) no-repeat;
        display: inline-block;
        padding-left: 40px;
        height: 30px;
        color: #63afc9
    }
    #lang a.english {
        background: url(img/ico-flag-english-mobile.png) no-repeat;
        display: inline-block;
        padding-left: 40px;
        height: 30px;
        color: #63afc9
    }
    .tab-pane .ac {
        padding-top: 1em
    }
    .gallery br {
        display: none
    }
    .gallery-item {
        float: left;
        width: 32%;
        margin-right: 1%
    }
    #content .contact {
        float: none;
        max-width: 100%;
        margin: 0
    }
    .top-bar-section .dropdown li {
        text-align: left;
    }
    #footer li {
        text-align: left;
    }
}

@media only screen and (min-width: 940px) {
    #head a {
        font-size: 0.9em
    }
    ;
    .top-bar-section ul li>a {
        font-size: 0.9em
    }
    #text .news .date {
        margin-bottom: 0.5em
    }
    #rightcol {
        font-size: 0.8em
    }
    #leftcol {
        font-size: 0.8em;
        padding-top: 1em;
    }
    #footer .columns {
        font-size: 0.8em;
    }
    .text {
        font-size: 0.8em;
    }
    #text {
        font-size: 0.8em;
    }
    .gallery-item+.gallery-item+.gallery-item+.gallery-item+.gallery-item {
        margin-right: 0%
    }
}

@media only screen and (min-width: 768px) {
    #subnav div:first-child {
        padding-left: 7px;
    }
    #subnav div:last-child {
        padding-right: 7px;
    }
}

@media only screen and (max-width: 637px) {
    #subnav a {
        font-size: 18px;
        background-position: 95% 55%
    }
    #navtoggle {
        background-size: 100% 100%;
        height: 80px;
        width: 80px;
        float: right
    }
    #head .large-5 img {
        width: 60vw;
    }
    #footer {
        padding-bottom: 0;
    }
    #copyright {
        display: none
    }
}

@media only screen and (max-width: 637px) {
    .top-bar-section ul>li:first-child>a>span {
        background: url(img/ico-home-large.png) no-repeat center;
        width: 37px;
        height: 37px;
        margin: 0 auto;
    }
    .top-bar-section>ul>li:first-child {
        width: auto
    }
    .top-bar-section>ul>li {
        width: auto;
        text-align: center
    }
    .top-bar-section>ul>li:last-child {
        width: auto;
    }
    #leftcol {
        display: none
    }
    #leftcol_submenu {
        display: block
    }
    #nav .arrow-down {
        position: absolute;
        right: 1em;
        bottom: 0.7em;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 9px solid #fff;
    }
    .top-bar-section ul li a {
        font-size: 28px;
        font-weight: 300
    }
    #footer {
        text-align: center
    }
    #footer #copyright {
        text-align: center;
        padding-top: 3em;
        font-size: 0.8em
    }
    #footer .contact {
        float: left;
        width: 50%;
        padding-bottom: 2.5em;
        padding-top: 0.5em
    }
    #footer .contact span {
        display: block;
        margin: 0 auto
    }
    #footer .contactbtn {
        clear: both;
        margin: 0 auto
    }
    .contact [class^="icon-"],
    [class*=" icon-"] {
        height: 58px;
        width: 58px;
    }
    .contact .icon-phone {
        background-image: url(img/ico-phone-mobile.png);
        background-position: 0 0
    }
    .contact .icon-email {
        background-image: url(img/ico-mail-mobile.png);
        background-position: 0 0
    }
    #content .contact {
        display: none
    }
    #content .files {
        display: none
    }
}

@media only screen and (max-width: 768px) {
    #content {
        background: #fff;
        padding: 0
    }
    #content>div>.columns,
    #subnav {
        border-bottom: 4px solid #dddfe1;
        margin-bottom: 1em;
        padding-top: 1em;
        padding-bottom: 1em
    }
    #content>div .widget {
        margin-bottom: 1em
    }
    .text h1 {
        margin-bottom: 0.5em;
        padding: 0
    }
    .breadcrumbs {
        display: none
    }
    #carousel {
        display: none;
    }
    body [data-section] {
        background: #fff
    }
    #lang {
        margin: 1em auto -0.5em;
        width: 210px;
        display: block;
    }
    body {
        background: #eeeeee;
    }
    #homenav {
        display: none
    }
    #social {
        display: none
    }
    .news .date {
        font-size: 0.8em
    }
    #carouseltoggle,
    #homenavtoggle {
        background: url(img/icon-toggle-menu.png) no-repeat;
        height: 40px;
        width: 40px;
        float: right
    }
    #subnav {
        padding: 0
    }
    #nav .columns {
        padding: 0
    }
    #nav .top-bar-section .dropdown li a {
        background: none;
    }
    #homenav .arrow-down {
        display: none
    }
    #homenav .nav-tabs>li {
        float: none;
        margin-right: 0px;
        padding-top: 1px;
        border-bottom: 1px solid #c2c2c2;
    }
    #homenav .nav-tabs>li a {
        font-size: 28px
    }
    #homenav .nav-tabs>li:last-child {
        border-bottom: none;
    }
    .nav-tabs>li.active a {
        padding-bottom: 0.5em;
    }
    .top-bar-section .dropdown li a {
        font-weight: 300
    }
    .top-bar-section .dropdown li {
        border-bottom: 1px solid #00264a
    }
    .top-bar-section ul li h5 {
        font-size: 28px;
        padding-bottom: 15px
    }
    .home-pager {
        position: relative;
        bottom: 0;
        background: #fff;
        padding: 0.6em 0 0.3em
    }
    .home-pager span {
        background-image: url(img/pager-mobile.png);
    }
    .home-pager span.cycle-pager-active {
        background-image: url(img/pager-mobile-active.png);
    }
    input,
    select,
    textarea,
    button {
        font-family: 'Open Sans', sans-serif;
        font-size: 1.1em
    }
     ::-webkit-input-placeholder {
        font-family: 'Open Sans', sans-serif;
        font-size: 1.1em
    }
     ::-moz-placeholder {
        font-family: 'Open Sans', sans-serif;
        font-size: 1.1em
    }
    /* firefox 19+ */
     :-ms-input-placeholder {
        font-family: 'Open Sans', sans-serif;
        font-size: 1.1em
    }
    /* ie */
    input:-moz-placeholder {
        font-family: 'Open Sans', sans-serif;
        font-size: 1.1em
    }
    form.search input,
    form.search input:focus {
        background: #fff url(img/ico-search-mobile.png) no-repeat right;
        height: 46px;
    }
    #text .news h3 {
        font-size: 1.3em;
    }
    label.right {
        text-align: left;
        float: none !important;
    }
    .icon-print {
        display: none
    }
    .box.grey span.bigger {
        width: 80px
    }
    #text form input[type="submit"].search-submit,
    #text form input[type="submit"].search-submit:focus {
        background: url(img/icon-set.png?v1) no-repeat -64px -105px;
        height: 30px;
        width: 30px;
        padding: 0.4em 0;
        cursor: pointer;
        text-indent: -999em;
        border: none
    }
    #subnav a {
        font-size: 19px;
    }
    .student .sub {
        float: none
    }
    table.rozcestnik.three {
        border-spacing: 0px;
    }
    table.rozcestnik.three tr {
        display: block;
    }
    table.rozcestnik.three td {
        display: block;
        width: 49%;
        float: left;
        margin: 0 1% 5px 0
    }
    table.rozcestnik.three td+td+td {
        width: 49%
    }
}

@media only screen and (max-width: 480px) {
    table.rozcestnik.two {
        border-spacing: 0px;
    }
    table.rozcestnik.two td {
        display: block;
        width: 100%;
        margin-bottom: 5px
    }
    table.rozcestnik.three td {
        float: none;
        width: 100%;
    }
    table.rozcestnik.three td+td+td {
        width: 100%
    }
}


/*=== Form ===*/

#content .text form.ninja-forms-form ul li {
    list-style: none
}

/*===Form - pridat-novou-udalost #5010 ===*/
#ffuk_event .prefix {z-index:1}