/*
 Theme Name:   Responsive Child
 Description:  Responsive Child Theme
 Author:       Václav Nosek
 Author URI:   http://vaclavnosek.eu
 Template:     responsive
 Version:      3.7
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  responsive-child-cj
*/

/* FONTS */
@font-face {
    font-family: 'MarkPro';
    src: url('fonts/MarkPro_0.otf');
}
@font-face {
    font-family: 'MarkProBold';
    src: url('fonts/MarkPro-Bold_0.otf');
}
@font-face {
    font-family: 'MarkProBook';
    src: url('fonts/MarkPro-Book_0.otf');
}
@font-face {
    font-family: 'MarkProHeavy';
    src: url('fonts/MarkPro-Heavy_0.otf');
}

/* MISCS */
b, strong {
  font-family: 'MarkProBold';
}
body, div, p, a, h3, h4, h5, h6, input, textarea {
  font-family: 'MarkPro';
}
body {
  padding-top: 220px;
  color: #000;
}
body, div, p, .post-meta {
  font-size: 16px;
  line-height: 20px;
}
p:first-child, h3:first-child {
  margin-top: 0;
}
.ellipsis {
  color: inherit;
  font-size: inherit;
  margin-left: 0;
}
h1 {
  font-family: 'MarkProBold';
  font-size: 32px;
  line-height: 39px;
  margin: 50px 0;
}
h2, h3 {
  margin-top: 15px;
  margin-bottom: 20px;
  font-family: 'MarkProBold';
  font-size: 16px;
  line-height: 19px;
}
h4 {
  font-size: 16px;
  line-height: 19px;
  font-family: 'MarkProBold';
}
h5 {
  font-size: 13px;
}
body:not(.single-post) a:hover img.attachment-post-thumbnail {
  opacity: 0.85;
}
button, input[type="submit"], input[type="reset"] {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}
#content-outer a {
  font-family: 'MarkProBold';
}
a.button, input[type='reset'], input[type='button'], input[type='submit'] {
    -moz-border-radius: 0 !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -webkit-border-radius: 0;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0;
    color: #0075c6 !important;
    -ms-filter: none !important;
    font-weight: inherit;
    line-height: inherit;
    text-shadow: none;
}
input[type=text]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=text]::-ms-reveal {  display: none; width : 0; height: 0; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
input {
  padding: 3px 4px;
}
input:focus {
  border: 1px solid #0075c6;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  outline-offset: 0;
  padding: 4px 5px;
}
a:active, a:visited, a:hover, a:focus {
  color: #0075c6;
}
.text-center {
  text-align: center;
}
.delimiter {
  clear: both;
}
.tlacitko, .tlacitko:visited, .btn, .btn:visited, .btn:active, input[type='submit'].wpcf7-submit {
  clear: both;
  position: relative;
  display: block;
  margin: 20px 0;
  padding: 16px 20px;
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  font-family: 'MarkProBold' !important;
  text-shadow: none;
  color: #FFF !important;
  background: #0075c6 !important;
  background-color: #0075c6 !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.loadMoreBtn::after {
  content: '';
  position: absolute;
  display: block;
  bottom: -15px;
  right: calc(50% - 20px);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #0075c6;
}
.tlacitko:hover, .loadMoreBtn:hover, .btn:hover, input[type='submit'].wpcf7-submit:hover {
  color: #FFF;
  background: #dadada !important;
  border: none;
}
.loadMoreBtn:hover::after {
  border-top: 15px solid #dadada;
}
.control-arrows {
  position: relative;
  z-index: 4;
}
.arrow {
  display: inline-block;
  position: absolute;
  top: 125px;
  border: solid #FFF;
  border-width: 0 5px 5px 0;
  padding: 12px;
  cursor: pointer;
}
.arrow-left {
  left: 25px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
.arrow-right {
  right: 25px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.skip-container {
  display: none;
}
#content .responsive::after {
  border: none;
}
.left-wrapper {
  float: left;
  width: calc(66% - 100px);
  margin-right: 100px;
}
.right-wrapper {
  float: right;
  width: 34%;
}
.sidebar-layout .left-wrapper {
  width: 66%;
  margin-right: 0;
}
.width-33 {
  display: inline-block;
  width: 33%;
}
.width-66 {
  display: inline-block;
  width: 66%;
}
#swipebox-overlay {
  z-index: 99999999 !important
}
.document-link {
  margin: 20px 0;
  font-family: 'MarkProBold';
}
.magnifying-glass-icon {
  display: block !important;
  -webkit-transform: rotate(30deg);
  -moz-transform: rotate(30deg);
  -o-transform: rotate(30deg);
  transform: rotate(30deg);
  padding: 6px !important;
  font-size: 15pt !important;
  color: #0075c6 !important;
}
#scroll {
  right: 2vw;
  bottom: 2vw;
}

/* HEADER */
#header_wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  max-height: 100%;
  transition: all ease 0.3s;
  background: #fff;
  z-index: 99999;
}
body.logged-in.admin-bar #header_wrapper {
  position: fixed;
  top: 32px;
}
body.header-fixed #header_wrapper {
  position: fixed;
  max-height: 73px;
  width: 100%;
  background: #FFF;
  box-shadow: 0px 2px 5px #dadada;
  z-index: 99999;
}
#header_section {
  position: relative;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
#header #logo {
  width: 30%;
}
#header #logo a {
  display: block;
  overflow: hidden;
  width: 100%;
  -webkit-transition: width .2s ease-in-out;
  -moz-transition: width .2s ease-in-out;
  -o-transition: width .2s ease-in-out;
  transition: width .2s ease-in-out;
}
.header-fixed #header #logo a {
  width: 40px;
}
#header #logo img {
  max-height: 34px;
  max-width: none;
}
.custom-header-menus {
  float: right;
  width: 50%;
  overflow: hidden;
}
.header-fixed #header .custom-header-menus {
  height: 30px;
}
.custom-header-menus > div {
  float: right;
  width: 25%;
}
.custom-header-menus > div.menu-skola-container {
  width: 27%;
}
body.header-fixed #header_wrapper .custom-header-menus > div:hover {
  max-height: 500px;
  -webkit-transition: max-height 0.2s ease-in;
  transition: max-height 0.2s ease-in;
}
body.header-fixed #header_wrapper .custom-header-menus > div:hover li {
  visibility: visible;
}
body.header-fixed #header_wrapper .custom-header-menus > div ul#menu-dalsi-polozky li:not(.menu-searchbox) {
  display: none;
}
body.header-fixed #header_wrapper .custom-header-menus > div:first-child li.menu-searchbox {
  margin-top: 0;
  visibility: visible;
}
.menu li {
  padding: 0;
}
.custom-header-menus > div:first-child {
  width: 17%;
  text-align: right;
}
.custom-header-menus > div:first-child li.lang-item:first-child {
  margin-top: 5px;
  margin-bottom: 20px;
}
.custom-header-menus > div:first-child li.menu-searchbox {
  margin-top: 15px;
}
.custom-header-menus > div::before {
  padding: 0 0.9em;
  font-family: 'MarkProBold';
  font-size: 13px;
  line-height: 16px;
  color: #000;
}
.custom-header-menus > div:nth-child(2)::before {
  content: 'Student';
}
.custom-header-menus > div:nth-child(3)::before {
  content: 'Uchaze\10d';
}
.custom-header-menus > div:nth-child(4)::before {
  content: '\160kola';
}
.custom-header-menus > div > ul, .right-sidebar-menu ul {
  float: none;
  background: none;
}
.custom-header-menus > div > ul > li {
  float: none;
}
.custom-header-menus > div > ul > li:hover, .right-sidebar-menu ul li:hover {
  background: none;
}
.custom-header-menus > div > ul > li > a, .menu > li:first-child > a {
  height: auto;
  color: #0075c6;
  border: none;
  font-family: 'MarkProBold';
  font-size: 13px;
  line-height: 16px;
  text-shadow: none;
}
.custom-header-menus > div > ul > li > a:hover {
  background: none;
  color: #0075c6;
  text-decoration: underline;
}
.menu .current_page_item a, .menu .current-menu-item a {
  background: none;
  text-decoration: underline;
}
.custom-header-menus > div:first-child .menu a {
  padding-right: 0;
}
.menu-searchbox .search-form {
  position: relative;
  margin: 0;
}
.menu-searchbox .search-form label {
  position: absolute;
  right: 30px;
  top: 5px;
  font-size: 14px;
}
.menu-searchbox .search-form .search-field {
  display: block;
  width: 0;
  opacity: 0;
  cursor: text;
  -webkit-transition: opacity 0.2s ease-in, width 0.2s ease-in;
  transition: opacity 0.2s ease-in, width 0.2s ease-in;
}
.menu-searchbox .search-form.open .search-field {
  opacity: 1;
  width: 205px;
}
body.header-fixed .menu-searchbox .search-form.open .search-field {
  width: 135px;
}
.menu-searchbox .search-submit {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  color: #0075c6;
}
body.header-fixed .menu-searchbox .search-form {
  top: -7px;
  margin: 0;
}
.custom-header-menus .menu {
  height: 150px;
  transition: all ease 0.3s;
}
.custom-header-menus .menu li:last-child {
  padding-bottom: 10px;
}
.custom-header-menus .menu-menu-item {
  background: #fff;
}
body.header-fixed #header_wrapper .custom-header-menus > div ul {
  height: 100%;
  max-height: 1px;
  visibility: hidden;
}
body.header-fixed #header_wrapper .custom-header-menus > div:hover > .menu:not(#menu-dalsi-polozky) {
  max-height: 100%;
  background: #fff;
}
#header_wrapper .custom-header-menus > div ul:not(#menu-dalsi-polozky) {
  position: absolute;
}
body.header-fixed #header_wrapper .custom-header-menus > div ul li {
  background: #fff;
}

/* CONTENT */
body.full-width-layout #content-outer, body.default-layout #content-outer, body.full-width-no-box #content-outer {
  max-width: none;
}
#wrapper {
  max-width: 1200px;
  border: none;
}
#content {
  margin: 0;
}
#content-outer {
  overflow: auto;
}
#player {
  display: block;
  height: 384px;
  width: calc(100% - 20px) !important;
}
.homepage .read-more, body.blog .read-more {
  display: none;
}
.homepage #main-post img, body.blog #main-post img {
  width: calc(100% - 20px);
  margin: 0;
}
.homepage #main-post, body.blog #main-post {
  max-height: 385px;
  overflow: hidden;
}
:not(.homepage).sidebar-layout .col-940 {
  width: calc(100% - 20px);
  padding-right: 20px;
}
.sidebar-layout #content-blog, .kontakty #content-blog {
  margin-top: 0;
}
.homepage #content-blog .post {
  float: left;
  height: 265px;
  width: calc(50% - 20px);
  margin-top: 50px;
  margin-right: 20px;
}
.homepage #content-blog .post h2, body.blog h2.post-title {
  margin-bottom: 0;
}
.homepage #content-blog .post .thumbnail-link, body.blog .post-entry a {
  display: block;
  max-height: 150px;
  overflow: hidden;
}
.homepage #content-blog .post .thumbnail-link img, body.blog .thumbnail-link img {
  margin-top: 0;
}
.homepage #content-blog .post p, body.blog p {
  margin-top: 5px;
}
.homepage #content-blog .post-meta, body.blog #content-blog .post-meta {
  display: none;
}
.sidebar-layout .left-wrapper .loadMoreBtn {
  width: calc(100% - 60px);
  margin-right: 20px;
}
.right-sidebar-menu, #main-post {
  margin-bottom: 20px;
}
body.blog .posted, .post-meta .fa-calendar, .post-meta .byline, .post-meta .author, .post-meta .posted-in, body.archive .post-data, body.blog .post-data, .comments-link, .post-edit {
  display: none !important;
}
.post-meta .timestamp, .post-meta .vcard {
  border-right: none;
}
.right-sidebar-menu ul li {
  float: none;
  width: 100%;
  margin-bottom: 2px;
}
.right-sidebar-menu ul li a, .right-sidebar-menu ul li:first-child a, .blue-button {
  display: block;
  height: auto;
  padding: 16px 20px;
  line-height: 20px;
  font-size: 16px;
  font-family: 'MarkPro';
  color: #FFF;
  background-color: #0075c6;
  border: none;
  text-shadow: none;
}/*
.right-sidebar-menu ul li a:visited, .blue-button:visited {
  background: #0075c6;
  color: #FFF;
}*/
.right-sidebar-menu ul li a:active, .blue-button:active, .right-sidebar-menu .current-menu-item a, .right-sidebar-menu ul li a:hover, .blue-button:hover {
  background: #dadada;
}
.archive .blue-button, #content-archive .blue-button {
  margin: 0;
}
#persons-sidebar {
  position: relative;
  background: #dadada;
}
.persons > div, .persons p, .projekty > div, .projekty p {
  background: #dadada;
  color: #000;
}
.persons p, .projekty p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 20px;
  height: 60px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.persons .person, .projekty .projekt {
  padding: 0 0 20px;
}
.right-wrapper .persons .person {
  padding: 20px 0 20px;
}
.archive .persons, .projekty {
  overflow: auto;
}
.archive .persons > div, .projekty > div {
  display: inline-block;
  width: calc(33% - 13.3px);
  margin-bottom: 50px;
}
.archive .persons > div:nth-child(3n+2), .projekty > div:nth-of-type(3n+2) {
  margin: 0 20px 50px;
}
#persons-sidebar #slider {
  position: relative;
  overflow: hidden;
}
#persons-sidebar .persons {
  position: relative;
}
#persons-sidebar .person {
  float: left;
  margin: 0 auto;
  width: 100%;
}
.persons .person .img-wrapper, .projekty .projekt .img-wrapper {
  width: 100%;
  height: 175px;
  margin: auto;
  overflow: hidden;
  text-align: center;
}
.persons .person .img-wrapper img, .projekty .projekt .img-wrapper img {
  position: relative;
  width: 100%;
}
#persons-sidebar h3 {
  margin: 0;
  padding: 20px 0 0 20px;
}
.persons .person h4, .projekty .projekt h4 {
  margin: 20px;
  color: #0075c6;
}
.persons .person p, .projekty .projekt p {
  margin: 0 20px 0;
}
.persons .person p, .persons .person h4, .projekty .projekt p, .projekty .projekt h4 {
  text-align: center;
}
.all-personalities {
  margin-top: 0;
}
.widget-wrapper {
  background-color: transparent;
  border: none;
}
.post-meta {
  color: #000;
}
body.single-osobnosti h1 {
  display: inline-block;
  margin-right: 20px;
}
body.single-osobnosti .left-wrapper, body.single-osobnosti .right-wrapper {
  margin-top: 0;
}
.bottom-gallery {
  float: left;
  width: calc(66% - 100px);
  padding-right: 100px;
}
.sidebar-layout .bottom-gallery {
  width: calc(66% - 20px);
  padding-right: 20px;
}
.bottom-gallery > div {
  float: left;
  width: calc(50% - 10px);
  margin-bottom: 20px;
}
.bottom-gallery > div:nth-child(odd) {
  margin-right: 20px;
}
.bottom-gallery img {
  width: 100%;
}
.left-arrow-button, .right-arrow-button {
  width: 27%;
  clear: none;
}
.left-arrow-button {
  float: left;
  margin-left: 35px;
}
.right-arrow-button {
  float: right;
  margin-right: 35px !important;
}
.left-arrow-button::after {
  content: '';
  position: absolute;
  display: block;
  bottom: 0px;
  left: -35px;
  width: 0;
  height: 0;
  border-bottom: 26px solid transparent;
  border-right: 35px solid #0075c6;
  border-top: 25.5px solid transparent;
}
.right-arrow-button::after {
  content: '';
  position: absolute;
  display: block;
  bottom: 0px;
  right: -35px;
  width: 0;
  height: 0;
  border-bottom: 26px solid transparent;
  border-left: 35px solid #0075c6;
  border-top: 25.5px solid transparent;
}
.left-arrow-button:hover::after {
  border-right: 35px solid #dadada;
}
.right-arrow-button:hover::after {
  border-left: 35px solid #dadada;
}
.dokumenty .kategorie-dokumentu {
  float: left;
  width: calc(33.3% - 53px);
  padding: 20px 20px 50px;
  margin: 0 0 50px;
  background: #dadada;
}
.dokumenty .kategorie-dokumentu:nth-child(3n+2) {
  margin: 0 20px 50px;
}
.dokumenty .kategorie-dokumentu:nth-child(3n+1) {
  clear: both;
}
.dokumenty h3 {
  margin: 0 0 20px;
}
.dokumenty h4 {
  margin: 5px 0;
}
.dokumenty a {
  font-family: 'MarkProBold';
}
.dokumenty a:hover {
  text-decoration: underline;
}
.projekty h2 {
  font-size: 32px;
  line-height: 39px;
  margin: 50px 0;
}
.map {
  max-width: 100%;
  overflow: hidden;
}
.acf-map {
	width: 100%;
	height: 300px;
	border: #ccc solid 1px;
}
.acf-map img {
  max-width: inherit !important;
}
.kontakty .width-33 {
  float: left;
}
.contact-form h3 {
  margin: 50px 0 20px;
}
.contact-form input {
  max-width: 300px;
}
.contact-form label:last-of-type {
  width: 100%;
  max-width: 600px;
}
.contact-form label:last-of-type span, .contact-form textarea {
  width: 100%;
}
.contact-form input, .contact-form textarea, .contact-form select {
  padding: 10px;
}
.contact-form form *::-webkit-input-placeholder {
  color: #000;
}
.contact-form form *::-moz-placeholder {
  color: #000;
}
.contact-form form *:-ms-input-placeholder {
  color: #000;
}
.contact-form form *:-moz-placeholder {
  color: #000;
}
input[type='submit'].wpcf7-submit {
  padding: 16px 60px;
}


/* FOOTER */
#footer {
  margin-top: 50px;
  background-color: #dadada;
}
#footer a {
  color: #000;
  text-decoration: underline;
  font-family: 'MarkPro';
}
#footer-wrapper {
  max-width: 1200px !important;
  margin: 30px auto 0;
  overflow: auto;
}
#footer_widget div:first-child {
  padding-left: 0;
}
#footer .widget-wrapper img {
  max-height: 150px;
  margin: 0 auto;
}

/* ------------
    RESPONSIVE
   ------------ */

/* PHONE */
@media only screen and (max-width: 768px) {
  #header .logo {
    width: 100%;
  }
  .custom-header-menus {
    width: 100%;
    float: none;
  }
  .custom-header-menus > div {
    width: 100%;
    float: none;
  }
  .custom-header-menus > div > ul {
    margin: 0.9em;
  }
  .custom-header-menus > div > ul > li {
    text-align: left;
    display: none;
  }
  .custom-header-menus > div > ul > li > a, .menu > li:first-child > a, .custom-header-menus > div ul:first-child::before {
    height: 25px;
    line-height: 25px;
    font-size: 12pt;
  }
}

/* EXTRA LAGRGE SCREENS */
@media (min-width: 1200px) {

}
