/*
Theme Name: XYWeb / Template
Author: XYWeb
Author URI: http://xyweb.cz
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,400i,600,600i,800,800i,900&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Fira+Sans+Condensed:200,300,400,600,700,800&subset=latin-ext');

/* * * * * * * * * * * * * * *
 * Animace                                                                                                                                 
 * * * * * * * * * * * * * * */

@keyframes show {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: block !important;
    }
    100% {
        display: block !important;
        opacity: 1;
    }
}

@keyframes hide {
    0% {
        display: block;
        opacity: 1;
    }
    99% {
        display: block;
    }
    100% {
        display: none;
        opacity: 0;
    }
}

@keyframes button {
    25% {
        border-radius: 50px 5px 10px 5px !important;
    }
    50% {
        border-radius: 10px 50px 5px 10px !important;
    }
    75% {
        border-radius: 5px 10px 50px 5px !important;
    }
    100% {
        border-radius: 30px !important;
    }
}


/* * * * * * * * * * * * * * *
 * Zakazane jazyky
 * * * * * * * * * * * * * * */


/*.lang-item-zh {
    display: none !important;  
} */


/* * * * * * * * * * * * * * *
 * Zakladni prvky
 * * * * * * * * * * * * * * */

.edit-post-visual-editor .editor-block-list__block[data-align="wide"] {
    max-width: 1300px;
}

body {
    padding: 0;
    margin: 0;
    background: #eeeeee;
    font-family: 'Fira Sans Condensed', 'Montserrat', sans-serif !important;
    line-height: 2;
    color: #66737b;
    letter-spacing: 1px;
    font-size: 1rem;
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: normal;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    text-align: inherit;
}

h1 {
    font-size: 220%;
    color: #FFFFFF;
    font-weight: 400;
    padding-top: 100px;
}

h2 {
    font-size: 150%;
}

h3,
h2,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title {
    font-size: 140%;
    font-family: 'Fira Sans Condensed', sans-serif;
    color: #002d5c;
    font-weight: 500;
    line-height: 1.3;
}

h2,
.elementor-widget-heading h2.elementor-heading-title {
    font-size: 180%;
}

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

p {
    padding: 0;
    margin: 0;
}

input {
    padding: 10px;
    border: 0;
}

input[type=submit] {
    padding: 5px 10px !important;
}

img,
.gallery img {
    border: 0 !important;
	max-width: 100%;
	width: 100%;
	height: auto;
	-ms-interpolation-mode: bicubic;
    image-rendering: optimizeQuality;
}

.row {
    margin: 0 !important;
}

.endrow {
    clear: both;
}

.post-password-form p {
    text-align: center;
    padding-top: 20px;
}

.post-password-form input[type=password] {
    background: #ebeff1;
    border-radius: 30px;
    margin: 0 20px;
}

.post-password-form input[type=submit] {
    background: #0b1926;
    color: #FFFFFF;
    padding: 5px 20px;
}


/* * * * * * * * * * * * * * *
 * JCA Classes
 * * * * * * * * * * * * * * */

#content {
    padding-left: 5%;
    padding-right: 5%;
}

#jca-body {
    background: #FFFFFF;
    margin: 0 0 0 0;
    padding: 0;
    background-repeat: no-repeat;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05), 0 10px 10px 0 rgba(0, 0, 0, 0.03);
}

#jca-content .elementor-widget-html a,
#jca-content .elementor-icon-box-description a,
#jca-content .elementor-widget-text-editor a {
    color: #80c54c;
}

.jca-inline-block{
	display: inline-block;	
}

.jca-max-width {
    max-width: 1400px;
    margin: auto;
}

.jca-width-100 {
    width: 100px;
}

.jca-width-200 {
    width: 200px;
}

.jca-width-300 {
    width: 300px;
}

.jca-width-400 {
    width: 400px;
}

.jca-width-600 {
    width: 600px;
}


/* * * * * * * * * * * * * * *
 * JCA Footer
 * * * * * * * * * * * * * * */

#jca-footer {
    padding: 100px 10px;
    background-color: #0b1926;
    /*background-size: auto 100%;*/
    background-repeat: no-repeat;
    background-position: bottom right;
    color: #5b748a;
}

#jca-footer h2 {
    color: #87c543;
    font-size: 120%;
    font-weight: 600;
    text-align: left;
    padding-bottom: 10px;
}

#jca-footer .menu li {
    text-align: left;
    font-size: 80%;
    color: #5b748a;
    padding: 3px 0;
    text-transform: uppercase;
    font-weight: 600;
}

#jca-footer .menu li a {
    transition: all 0.3s ease-out;
}

#jca-footer .menu li a:hover {
    color: #87c543;
    padding-left: 4px;
}

#jca-footer .footer-end {
    padding: 50px 0 50px 0;
    font-size: 80%;
    clear: both;
}

#jca-footer .footer-contact div {
    display: block !important;
    clear: both;
    padding: 10px 0;
}

#jca-footer .footer-contact .jca-btn {
    padding: 12px 14px 11px 14px;
}


/*  BANNER */

#jca-banner {
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(11, 25, 38, 1);
    box-shadow: rgba(11, 25, 38, 1) 0px 0px 0px 500px inset;  
    /*background-blend-mode: multiply; */
   transition: box-shadow 3s ease-in-out;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    
}

.loaded #jca-banner {
    box-shadow: rgba(11, 25, 38, 0) 0px 0px 0px 500px inset;    
}

.home #jca-banner {
    height: 70vh;
    min-height: 500px;
}

#jca-banner #jca-txt {
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: all 0.5s ease-out;
}

.loaded #jca-banner #jca-txt {
    opacity: 1;
}


/* HORNI PANEL */

#jca-header {
    position: fixed;
    left: 0%;
    right: 0%;
    height: 100px;
    /*background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.7));*/
    display: flex;
    align-items: baseline;
    z-index: 999;
    padding-left: 2%;
    padding-right: 2%;
    background-color: transparent;
    transition: all 0.5s ease-out;
}

.absolute #jca-header {
    background-color: #0b1926;
}

.jca-col-logo {
    align-self: center;
	display: flex;
	align-items: center;
    flex-grow: 1;
    margin-top: 20px;
    padding-left: 2%;
}

.jca-logo2{
	border-right: 0 ;
	display: block;
	padding: 0;
	margin: 0;
	height: 50px;
  width: auto;
}


.jca-col-menu {
    display: flex;
    flex-grow: 10;
    align-self: center;
    margin-top: 20px;
}

.jca-col-buttons {
    align-self: center;
    flex-grow: 1;
    text-align: right;
    max-width: 180px;
    margin-top: 21px;
}

.jca-col-buttons .jca-btn {
    border: 0 !important;
    padding: 17px 17px 14px 17px !important;
    box-shadow: rgba(88, 162, 56, 0) 0 0px 0px 0px inset;
}

.jca-col-buttons .jca-btn:hover {
    background: transparent !important;
    box-shadow: rgb(88, 162, 56, 1) 0 0px 0px 40px inset;
}

.jca-col-buttons .icon {
    color: #FFFFFF;
}

.jca-logo {
    height: 70px;
}

#jca-switch-menu {
    display: none;
}


/* * * * * * * * * * * * * * *
 * JCA Prepinac jazyku
 * * * * * * * * * * * * * * */

#jca-lang-menu {
    position: fixed;
    top: 100px;
    display: none;
    right: 0px;
    min-width: 180px;
    text-align: left;
    z-index: 999;
}

#jca-lang-menu.visible {
    display: block;
    animation: show 0.5s ease;
    animation-fill-mode: forwards;
}

#jca-lang-menu li {
    display: block;
    width: 50%;
    float: left;
    text-align: center
}

#jca-lang-menu img {
    display: block;
    height: 10px;
    margin: auto;
    margin-bottom: 10px;
}

#jca-lang-menu a {
    display: block;
    padding: 20px;
}

#jca-lang-menu a:hover {
    background: #f6f7fa;
}


/* * * * * * * * * * * * * * *
 * JCA Vyhledavani
 * * * * * * * * * * * * * * */

#jca-search-form {
    position: fixed;
    top: 100px;
    display: none;
    min-width: 200px;
    padding: 20px 30px;
    z-index: 999;
    right: 0;
    transition: all 0.4s ease-in-out;
}

#jca-search-form.visible {
    display: block;
    animation: show 0.5s ease;
    animation-fill-mode: forwards;
}

#jca-search-form label {
    display: none;
}

#jca-search-form input[type=text] {
    margin: 0 20px;
    width: 50%;
    font-weight: 600;
    border-bottom: 1px solid #d9e1ea !important;
}


/* * * * * * * * * * * * * * *
 * JCA Zakladni komponenty a styly
 * * * * * * * * * * * * * * */

.jca-btn,
.elementor-button,
input[type=submit] {
    padding: 12px 22px 12px 22px;
    border: 0;
    cursor: pointer;
    overflow: hidden !important;
    background: transparent;
    border-radius: 50px !important;
    transition: all 0.3s ease-in;
    font-weight: 600;
    line-height: 1.3rem;
    text-decoration: none !important;
}

.elementor-button {
    background: #162c43;
}

.jca-btn-1,
.elementor-button {
    color: #FFFFFF !important;
    box-shadow: rgba(22, 44, 67, 0) 0 0px 0px 0px inset;
}

.jca-btn-1:hover,
.elementor-button:hover,
input[type=submit]:hover {
    box-shadow: rgba(22, 44, 67, 1) 0 0px 0px 40px inset;
    color: #ffffff !important;
}

.jca-btn-2,
.jca-btn-2-elementor .elementor-button {
    color: #FFFFFF !important;
    box-shadow: rgba(21, 48, 87, 0) 0 0px 0px 0px inset;
    background: #162c43;
}

.jca-btn-2:hover,
.jca-btn-2-elementor .elementor-button:hover {
    box-shadow: rgba(21, 48, 87, 0.5) 0 0px 0px 40px inset;
    color: #ffffff !important;
}

.jca-btn:hover {
    animation: button 0.5s ease-out both;
    animation-fill-mode: both;
}


/*BACKGROUND*/

.jca-bg-1 {
    background: #FFFFFF;
}

.jca-bg-2 {
    background: #EEEEEE;
}

.jca-bg-3 {
    background: #58a238;
}

.jca-gradient-1 {
    background: linear-gradient(135deg, #58a238, #478c41);
}


/* COLORS */

.jca-color-1,
.jca-color-1 a,
jca-color-1 .icon {
    color: #000000 !important;
}

.jca-color-2,
.jca-color-2 a,
jca-color-2.icon {
    color: #FFFFFF !important;
}

.jca-color-3,
.jca-color-3 a,
jca-color-3.icon {
    color: #87c543 !important;
}


/* FONT */

.jca-small {
    font-size: 90%;
}

.jca-micro {
    font-size: 80%;
}

.jca-left {
    text-align: left;
}

.jca-right {
    text-align: right;
}

.jca-center {
    text-align: center;
}


/* SHADOWS */

.jca-shadow-1 {
    box-shadow: 0px 0px 20px 0px rgba(0, 50, 120, 0.1), 0 6px 20px 0 rgba(0, 50, 120, 0.03);
}

.jca-shadow-2 {
    box-shadow: 0px 0px 10px 0px rgba(0, 50, 120, 0.3), 0 6px 20px 0 rgba(0, 50, 120, 0.01);
}

.jca-radius-1 {
    border-radius: 50px !important;
}


/* PANELY */


/* * * * * * * * * * * * * * *
 * PAGE
 * * * * * * * * * * * * * * */

.jca-page-title {
    padding: 0px;
    position: initial !important;
    margin-top: 0px;
}

.jca-page-content {
    padding: 60px 0;
}

.jca-nopadding .jca-page-content {
    padding: 0;
}

.jca-nopadding {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.jca-page-content ul {
    list-style: square;
    padding-left: 15px;
}

.jca-page-content li {
    padding-left: 10px;
}

.jca-page-content a {
    color: #3c8c45;
    text-decoration: underline;
    font-weight: 400;
}

.jca-page-content strong {
    font-weight: 600;
}


/* * * * * * * * * * * * * * *
 * JEDNOTLIVE STRANKY  - homepage
 * * * * * * * * * * * * * * */

.jca-posts {
    margin: 0 0 0 50px;
    display: flex;
    align-items: stretch;
}

.jca-posts-box {
    margin-bottom: 40px;
}

.jca-posts .coll {
    margin: 0 0 30px 0;
    padding: 0;
}

.jca-post {
    margin: 20px 30px;
    /*min-height: 500px;*/
    text-align: center;
    height: 100%;
}

.jca-post .thumbnail,
.thumbnail-detail {
    height: 250px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
	background-position: center center !important;
}

.thumbnail-detail
{
	 height: 200px;
}

.jca-post h3 {
    height: 120px;
    text-align: center;
    padding: 20px 40px 0 40px;
    display: table-cell;
    vertical-align: middle;
    font-weight: 700;
}

.jca-post h5 {
    text-align: justify;
    padding: 10px 40px 10px 40px;
    font-size: 90%;
    color: #66737b;
}

.jca-post-img {
    height: 200px;
    background-size: cover;
    background-position: center center;
    margin-bottom: 20px;
}

.jca-post-date {
    color: #aeb8bb;
    font-size: 60%;
    font-weight: 600;
    padding: 0;
}

.jca-post-title a {
    color: #002d5c !important;
    font-size: 80%;
    font-weight: 600;
    padding: 0;
    text-align: left;
    margin: 0;
}

.jca-post-excerpt {
    font-size: 90%;
    padding: 10px 0;
    line-height: 1.5em;
    text-align: justify;
}

.jca-posts-seconds {
    padding: 0 0 50px 0;
    clear: both;
}

.jca-post-img-file img {
    height: auto !important;
    width: 150px !important;
    float: left;
    margin-right: 40px;
}

.jca-posts-seconds .jca-post-img,
.jca-post-img-all {
    height: 150px;
    width: 150px;
    float: left;
    margin: 0 20px 40px 0;
    clear: both;
}

.jca-posts-seconds .jca-post-img img {
    min-height: 100px;
}

.jca-post-detail {
    padding: 0 50px 50px 50px;
}

.jca-page-title .jca-post-date {
    color: #FFFFFF;
    font-size: 70%;
    padding: 0;
}


/* SEARCH */

.jca-search-box {
    padding: 30px 20px;
    font-size: 100%;
    line-height: 1.5EM;
}

.jca-search-box h5 {
    color: #66737b;
    padding: 10px 0;
}


/* BANNERS */

.jca-banners {
    text-align: center;
    display: flex;
    align-items: stretch;
}

.jca-banner {
    padding: 10px 10px 0 10px;
    margin: 5px;
    text-align: center;
    background: #0b1926;
    height: 100%;  
}

.jca-banner .thumbnail {
    width: 100%;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: top center !important;
}

.jca-banners a {
    color: #66737b;
    font-size: 90%;
}


/* MEMEBERS */

.jca-member {
    font-size: 11px;
    text-align: center;
    min-height: 150px;
}

.jca-member a {
    color: #66737b !important;
}

.jca-member .thumbnail {
    padding: 20px 30px 0 30px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jca-member .thumbnail img {
    max-height: 50px;
    width: auto !important;
    object-fit: contain !important;
}


/* CERTIFIKATY */

.jca-certifikaty {
    display: flex;
    align-items: stretch;
}

.jca-certifikaty .coll {
    margin-bottom: 40px;
}

.jca-certifikat {
    text-align: left;
    display: flex;
    height: 100%;
    padding-bottom: 20px;
}

.jca-certifikat .thumbnail {
    width: 40%;
    height: 100%;
    padding-right: 20px;
    padding-left: 0;
    margin-top: -1px;
    align-self: flex-start;
}

.jca-certifikat .datum {
    padding: 20px 0 20px 0;
    font-size: 70%;
}

.jca-certifikat h3 {
    padding: 0;
    margin: 0;
    line-height: 1.2;
    font-size: 130%;
}

.jca-certifikat .prijmeni {
    font-weight: 700;
    font-size: 150%;
    padding-bottom: 20px;
}


/* * * * * * * * * * * * * * *
 * WIDGETY
 * * * * * * * * * * * * * * */

.jca-nejnovejsi-prispevky {
    padding: 20px 30px;
    height: inherit;
    align-self: flex-start;
}

.jca-nejnovejsi-prispevky .widget-title {
    display: none;
}

.jca-nejnovejsi-prispevky ul {
    list-style: none;
}

.jca-nejnovejsi-prispevky li {
    padding: 10px 0 20px 0;
}

.jca-nejnovejsi-prispevky .jca-post-title {
    display: block;
    font-size: 100%;
    color: #002d5c !important;
    font-weight: 600;
}

.jca-nejnovejsi-prispevky .thumbnail-detail {
    margin-bottom: 30px;
}


/* * * * * * * * * * * * * * *
 * PAGINATION
 * * * * * * * * * * * * * * */

.jca-pagination {
    text-align: center;
    clear: both;
    padding: 20px;
    padding-top: 80px;
    display: block;
    width: 100%;
}

.jca-pagination-box {
    border-top: 5px solid #153057;
    padding: 15px;
}

.jca-pagination-box span,
.jca-pagination-box a {
    padding: 10px;
    color: #153057 !important;
    font-weight: 700;
    font-size: 80%;
}

.jca-pagination-box .current {
    color: inherit;
    font-weight: 300;
}


/* * * * * * * * * * * * * * *
 * MENU - NAVIGACE
 * * * * * * * * * * * * * * */

@keyframes showsubmenu {
    0% {
        opacity: 0;
    }
    25% {
        border-radius: 50px 5px 10px 5px;
    }
    50% {
        border-radius: 10px 50px 5px 10px;
    }
    75% {
        border-radius: 5px 10px 50px 5px;
    }
    100% {
        border-radius: 30px;
        opacity: 1;
    }
}

nav {
    width: 100%;
    font-size: 0.9em;
    font-weight: 600;
}

nav ul {
    list-style: none;
    position: relative;
    float: right;
    display: inline-table;
    text-align: left;
}

nav ul li a {
    display: block;
    padding: 8px 16px;
    color: #FFFFFF;
    font-size: 0.95em;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
}

nav ul li {
    float: left;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: rgba(88, 162, 56, 0) 0 0px 0px 0px inset;
    transition: all 0.3s ease-in;
}

nav ul li:hover {
    /*animation: showsubmenu 0.5s ease-out both;*/
    box-shadow: rgba(88, 162, 56, 1) 0 0px 0px 40px inset;
}

nav ul li:hover ul li:nth-child(2n) {
    animation-delay: 0.2s;
}

nav ul li:hover ul li:nth-child(3n) {
    animation-delay: 0.4s;
}

nav ul li ul {
    transition: all 5s ease;
    display: none;
    opacity: 0;
    color: #fff;
    position: absolute;
    top: 100%;
    min-width: 200px;
    z-index: 999;
    overflow: hidden;
    background: transparent;
    border-radius: 20px;
}

nav ul li:hover ul {
    display: block;
    animation: show 1s ease both;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
}

nav ul ul li {
    float: none;
    position: relative;
    border-radius: 20px;
    margin: 2px 0 0 0;
    overflow: hidden;
}

nav ul ul li a {
    color: #FFFFFF;
    transition: 0.4s all ease-in;
    box-shadow: rgba(21, 48, 87, 0) 0 0px 0px 0px inset;
    background: rgba(88, 162, 56, 1);
}

nav ul ul li a:hover {
    box-shadow: rgba(21, 48, 87, 0.5) 0 0px 0px 50px inset;
    color: #FFFFFF;
}

nav ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}

.menu-item.menu-item-has-children>a i {
    display: inline-block;
    color: FFFFFF;
    padding-left: 5px;
}

.menu-item i {
    display: none;
    font-size: 80%;
}


/* * * * * * * * * * * * * * *
 * RESPONZ
 * * * * * * * * * * * * * * */

@media only screen and (max-width: 1200px) {
    body {
        font-weight: 400;
    }
    #jca-header {
        height: 60px;
        align-items: center;
        background: #0d1926;
    }
    h1 {
        font-size: 170%;
        padding: 40px 0 0 0;
    }
    .jca-page-content {
        padding: 20px 0;
    }
    .jca-top-buttons {
        position: fixed;
        right: 0;
        top: 20px;
        height: 100px;
        width: 50%;
    }
    .jca-col-buttons {
        flex-grow: 7;
        margin-top: 1px;
    }
    #jca-switch-menu {
        display: inline;
    }
    #jca-user-menu {
        display: none;
    }
    #jca-header-menu {
        display: none;
        position: fixed;
        top: 60px;
        overflow-y: auto;
        margin-top: 0;
        left: 0px;
        right: 0px;
        background: #0d1926;
        color: #FFFFFF;
        bottom: 0px;
    }
    nav ul li ul {
        position: relative;
    }
    nav ul,
    nav li {
        display: block;
        float: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-size: 1.2rem;
        text-align: center;
    }
    #jca-lang-menu nav li {
        float: left !important;
    }
    nav ul li a {
        color: #FFFFFF
    }
    #jca-search-form,
    #jca-lang-menu {
        width: 100%;
    }
    .jca-padding {
        padding-left: 20px;
        padding-right: 20px;
    }
    .jca-post {
        margin: 0 0;
    }
    .jca-post h5,
    .jca-post h3 {
        padding-left: 20px;
        padding-right: 20px;
    }
    .jca-posts-seconds .jca-post-img,
    .jca-post-img-all {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .jca-post-excerpt {
        padding: 10px 0 50px 0;
    }
    .jca-post-date {
        padding: 0;
    }
    .jca-posts-box {
        padding: 0;
    }
    .jca-posts-box .jca-col {
        padding: 0px;
    }
    .menu-item.menu-item-has-children>a i {
        color: #FFFFFF;
        padding-left: 10px;
    }
    .jca-box-toup-1 {
        margin-top: -450px !important;
    }
    .jca-box-toup-2 {
        margin-top: -200px !important;
    }
    .jca-flex .jca-col-end {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    .jca-post-detail {
        padding: 0 0px 50px 0px;
    }
    #jca-lang-menu,
    #jca-search-form {
        top: 60px;
    }
	.jca-col-buttons .jca-btn{
		padding: 12px 10px 8px 10px !important;
	}
	
    .jca-col-logo {
        margin-top: 0px;
	    }
    .jca-logo {
        height: 30px;		
    }
	
	.jca-logo2, .jca-logo2 img{
        height: 20px !important;
    }
	
    #jca-footer {
        padding: 30px 10px;
    }
    #jca-footer h2 {
        text-align: center;
    }
    #jca-footer .menu li {
        text-align: center;
    }
    #jca-footer .footer-1,
    #jca-footer .footer-2,
    #jca-footer .footer-3,
    #jca-footer .footer-4,
    #jca-footer .footer-end {
        padding-top: 50px;
    }
    .jca-page-background {
        background: none;
    }
}