/**
Theme Name: Daniel Kosec
Author: Jarda Majer
Author URI: https://jardamajer.cz
Description: Child theme pro Astra theme. Veškery změny css, funkce a js, jsou přidružený.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daniel-kosec
Template: astra
*/

html, body {
    width:100%;
    overflow-x:hidden;
}

.site-header {
    z-index: 999;
 }

/* Astra sticky header code start */
.main-header-bar {
	top: 0;
	position:fixed;
	width: 100%;
    -webkit-transition: background 200ms ease-in-out 600ms;
    -moz-transition: background 200ms ease-in-out 600ms;
    -o-transition: background 200ms ease-in-out 600ms;
    transition: background 200ms ease-in-out 600ms;
}

.ast-primary-header-bar.ast-primary-header.main-header-bar.site-header-focus-item {
     background: none; 
	  -webkit-transition: background-color 2s ease-out;
 	 -moz-transition: background-color 2s ease-out;
  	-o-transition: background-color 2s ease-out;
  	transition: background-color 2s ease-out;
}

.ast-builder-grid-row-layout-default.ast-builder-grid-row-tablet-layout-default.ast-builder-grid-row-mobile-layout-default {
    background: #bdbdbd40 !important;
}
/* Astra sticky header code end */


.swiper-pagination-bullet {
    width: 100px  !important;
    height: 2px  !important;
    border-radius: unset !important;
	background:#191d2a !important;
}

.ast-builder-grid-row-mobile-full {
    padding: 0px 40px;
    background-image: url(../media/2022/09/bg-zivote-nefackuj-kosec-c-repeat.png) !important;
    background-color: #F1F1F1 !important;
}

.page-id-823  .ast-builder-grid-row-mobile-full {
	
    background-color: #FFFFFF !important;
}

.ast-footer-copyright {
    color: #BDBDBD !important;
}

span.italic_title {
    font-family: "Caslon One Italic", sans-serif;
}

.ast-grid-right-section {
    justify-content: flex-start;
}

.top-border{
    border-top: 1px solid #C2D6DA;
}

.site-header-section {
    padding: 14px 10px !important;
}

.ast-logo-title-inline .site-logo-img {
    padding-right: 0em;
}

.elementor-876 .elementor-element.elementor-element-840dff4 .elementor-heading-title {
    border-top: #4B9AA9 2px solid;
    max-width: 165px;
    padding-top: 5px;
}

.main-header-menu > .menu-item > .menu-link {
    font-size: 20px !important;
    color: #191d2a;
    font-weight: 600;
    font-family: "Caslon One" !important;
}

.ast-builder-layout-element.ast-flex.site-header-focus-item.ast-header-button-1 {
    flex: auto;
	justify-content: flex-end !important;    
}

.ast-custom-button::after {
	display:inline-flex;
	content: ' ';
	background-image: url('../media/2022/11/daniel-kosec-arrow-white.svg');
	background-size: 18px 18px;
	height: 18px;
	width: 18px;
	padding: 0px 0px 3px 0px;
	margin: 0px 0px 0px 13px;
}

ul#ast-hf-mobile-menu .menu-item a:after {
	content: ' ';
    display: inline-flex;
    height: 22px;
    width: 22px;
    border-radius: 100%;
    border: 1px solid #FFFFFF;
	background:#191d2a;
    padding: 0px 0px 3px 0px;
    margin: 0px 0px 0px 13px;
}


ul#ast-hf-mobile-menu .current-menu-item a:after {
	content: ' ';
    display: inline-flex;
    height: 22px;
    width: 22px;
    border-radius: 100%;
    border: 1px solid #FFDF07;
	background:#FFDF07;
    padding: 0px 0px 3px 0px;
    margin: 0px 0px 0px 13px;
}	

.ast-mobile-popup-content .wp-block-button a {
	background:#FFDF07;
	color:  #191d2a;
	font-size: 16px;
	font-weight: 600;
}

section#block-25 img {
    width: 180px !important;
    margin-left: 30px !important;
    margin-top: -58px !important;
    display: block;
}

section#block-24 {
    display: none;
}

section#block-20.widget {
    margin-bottom: 0.5em;
}
section#block-22 a {
    font-size: 18px;
    font-family: 'Caslon One' !important;
    height: 20px;
    width: 100%;
    display: inline-block;
    color: #fff;
    margin: 5px;
}

.ast-mobile-popup-content hr {
    background-color: #fff;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
    width: 100%;
    right: 0px;
    float: right;
}

section#block-22 {
    margin: 0 0 0 25px;
}

section#block-26 {
    margin: 30px 0 0 30px;
    color: #FFFFFF50;
    font-size: 12px;
    display:block;
    float: left;
	width: 150px;
}

.ast-mobile-popup-content .ast-builder-layout-element.ast-flex.site-header-focus-item {
    display: block;
	margin: 30px 0 0 30px;
} 

.ast-mobile-popup-content .ast-builder-layout-element.ast-flex.site-header-focus-item:before {
	content: '© Daniel Kosec ';
	display: block;
    float: left;
	
}

.ast-header-social-1-wrap.ast-header-social-wrap {
    display: block;
    float: right;
    margin-right: 30px;
}


.ast-mobile-popup-content {
    display: inline-grid !important;
}

.ast-mobile-popup-header .ahfb-svg-iconset svg {
    width: 26px;
    height: 26px;
    transition: none;
    color: #fff;
    margin: 0px 0px 0px 0px; 
}

.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
    background: transparent; 
    border: 0;
    font-size: 24px;
    line-height: 2;
    padding: 0em;
    margin: 30px;
    min-width: 60px;
    min-height: 60px;
}

.ast-mobile-popup-content .wp-block-button :after {
    display: inline-flex;
    content: ' ';
    background-image: url(../media/2022/11/arrow-right-zivotenefackuj.svg);
    background-size: 18px 18px;
    height: 18px;
    width: 18px;
    padding: 0px 0px 3px 0px;
    margin: 0px 0px 0px 13px;
}

.wp-block-buttons>.wp-block-button {
    display: inline-block;
    margin: 20px auto;
}


ul#ast-hf-mobile-menu li.menu-item.menu-item-type-post_type.menu-item-object-page {
    text-align: right;
}
.ast-builder-grid-row {
	background-color: unset !important;
}

.mySwiper .block-shadow {
  /* background-color: unset !important; */
    box-shadow: unset !important;
	display: flex !important;
  /* flex-direction: column-reverse !important;
    justify-content: space-between;
	*/
    border-radius: 0px !important;
 }

.swiper.mySwiperCentered {
	display: flex !important;
  	flex-direction: column-reverse !important;
 }

.mySwiperCentered .swiper-rating-centered-buttons-block {
    justify-content: right !important;
    align-items: end !important;
    margin-top: 0px !important;
	flex-direction: column-reverse !important;
}

.mySwiperCentered .swiper-rating-centered-button-prev {
	    margin-right: 60px !important;
 		margin-top: -60px !important;

}

.mySwiper .swiper-button-prev {
    width: 60px !important;
    height: 60px !important;
    margin-right: 65px !important;
    margin-bottom: 20px;
    background: #191d2a !important;
    border-radius: 0px !important;
    margin-top: -62px !important;
}

.mySwiper .swiper-button-next {
    width: 60px !important;
    height: 60px !important;
    background: #191d2a !important;
    border-radius: 0px !important;
}

.mySwiper .swiper-button-prev:after, .mySwiper .swiper-button-next:after {
      color: #ffdf07 !important;
}
.mySwiper .swiper-pagination-bullet-active {
    height: 2px !important;
    border-radius: 0px !important;

}
.mySwiper .swiper-pagination-bullet {
    height: 2px !important;
    opacity: 0.7 !important;
    border-radius: 0px !important;
}


span.swiper-pagination-bullet {
    height: 2px !important;
    width: 28px !important;
    border-radius: 0px !important;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #191d2a !important;
    width: 45px !important;
    border-radius: 0px !important;
}

    


.elementor-876 .elementor-element.elementor-element-4171caff .swiper-wrapper .slide-title {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 10px;
    font-family: "Caslon One";
    font-weight: unset;
    padding: 20px 0px;
	text-align: left;
}

.mySwiperCentered .swiper-rating-centered-pagination {
    width: 100% !important;
    justify-content: start !important;
}



.mySwiper .swiper-slide {
    /* background-image: url(/media/2022/09/tesominial-coment-zivote-nefackuj.svg);
    background-repeat: no-repeat;
    background-position: 5px 20px;
	padding: 0px 0px 0px 15px !important;
    width: 330px !important;
	margin-right: 45px !important; */
}

.mySwiper .crop-content {
    -webkit-line-clamp: 8 !important;
}

p.slide-description.crop-content {
    margin-bottom: 10px !important;
}

.mySwiperCentered .slide-read-more {
    margin-top: 0px;
    margin-bottom: 8px;
}


.slider-rating-centered-modal .slide-info, .mySwiperCentered .slide-info {
    text-align: left !important;
}

 .mySwiperCentered .swiper-slide img {
    border-radius: 0px !important;
}
.slider-modal .slide-image, .mySwiper .slide-image {
    width: 280px !important;
    height: 280px !important;
}

.mySwiper .swiper-button-next {
    width: 60px !important;
    height: 60px !important;
    background: #191d2a !important;
    border-radius: 0px !important;
    margin: 0px 0px 0px 0px !important;
}



.mySwiperCentered .swiper-rating-centered-pagination .swiper-pagination-bullet {
    background-color: #666666  !important;
}
.elementor-widget-container .mySwiperCentered .swiper-rating-centered-buttons-block .swiper-rating-centered-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
     background: #191d2a  !important;
}

.slide-image {
 /*   display: none; */
}

.slide-icons {
   /* display: none; */
}
.elementor-accordion .elementor-accordion-item {
    border: unset  !important;
}

.elementor-accordion .elementor-accordion-item {
    border-top: 1px solid #191D2A !important;
}

.elementor-accordion-item .elementor-tab-title.elementor-active {
    border-width: 1px;
    border-bottom: 1px solid #4b9aa9;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.site-above-footer-wrap[data-section="section-above-footer-builder"] {
    background-color: #F1F1F1 !important;
    background-image: url(http://danielkosec.zivotenefackuj.cz/media/2022/09/bg-zivote-nefackuj-kosec-c-repeat.png) !important;
}

.page-id-829 .site-primary-footer-wrap[data-section="section-primary-footer-builder"], .page-id-1786  .site-primary-footer-wrap[data-section="section-primary-footer-builder"], .page-id-823 .site-primary-footer-wrap[data-section="section-primary-footer-builder"],
.page-id-829 .site-above-footer-wrap[data-section="section-above-footer-builder"], .page-id-1786 .site-above-footer-wrap[data-section="section-above-footer-builder"] , .page-id-823 .site-above-footer-wrap[data-section="section-above-footer-builder"] {
background-image: url(https://danielkosec.zivotenefackuj.cz/wp-content/uploads/2022/11/bg-kosec-inframe-.png) !important;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    border-top-color: #f1f1f100 !important;
}

}
section#nav_menu-3 li.menu-item.menu-item-type-post_type.menu-item-object-page {
    float: right;
    display: inline-block;
    margin: 0px;
    font-size: 18px;
    font-family: 'Caslon One' !important;
}


.footer-widget-area li.menu-item.menu-item-type-post_type.menu-item-object-page {
    float: right;
    display: inline-block;
    margin: 20px 10px;
    font-size: 18px;
    font-family: 'Caslon One' !important;
}

.widget ul a {
    margin: 0;
    list-style-type: none;
    font-family: 'Caslon One' !important;
    color:#000000;
	text-decoration: unset;
}

.widget ul a:hover  {
	margin: -6px 0 0 0;
    list-style-type: none;
    font-family: 'Caslon One' !important;
    color: #4b9aa9;
    text-decoration: underline;
    display: block;

}

img.wp-image-25 {
     margin: 25px 10px;
}

li#menu-item-542 a, li#menu-item-543 a {
    font-size: 14px;
	color: #959595;
	text-decoration: unset;
}

li#menu-item-542 a:hover, li#menu-item-543 a:hover {
    font-size: 14px;
	color: #6c6c6c;
	text-decoration: underline;
}

.ast-footer-copyright {
    color: #191d2a;
    font-size: 14px;
	margin: 9px 0px;
}

.cust_footer-soc{
    max-width: 480px;
    margin: auto;
}

.elementor-widget-image a img[src$=".svg"] {
    width: auto !important;
}

section#block-10 h2 {
    font-family: 'Inter';
    font-size: 22px;
    text-align: center;
    font-weight: 700;
}

section#block-14, section#block-18  h2 {
    font-family: "Caslon One", Sans-serif;
    font-size: 49px;
    font-weight: 500;
    text-align: center;
    -webkit-text-stroke-width: 0px;
    stroke-width: 0px;
    -webkit-text-stroke-color: #000;
    stroke: #000;
}


/* 
.slide-image::before  {
	content:  "";
}
.slide-image::after {
	content: "";
}   */

.doporuceni_image .mySwiperCentered .swiper-slide img {
    border-radius: 40px;
    border-radius: 360px !important;
    width: 160px;
    height: 160px;
    object-fit: cover;
    margin: auto;
    display: block;
}

 .mySwiper .slide-image {
    width: 160px !important;
    height: 160px !important;
}


.email_sber {
	margin: auto !important;
	width: 380px !important;
}

.email_sber input[type="submit"] {
    padding: 13px 25px;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"]::before {
    right: -60px;
    height: 2px;
    width: 85%;
    border-bottom: 2px solid #b3b3b3;
    z-index: 1000;
}

.page-id-829 #page {
    background-image: url(https://danielkosec.zivotenefackuj.cz/wp-content/uploads/2022/11/polodanielovi-page-bg-pguewip.svg);
    background-repeat: no-repeat;
    background-position: bottom 50px right 0px;
	background-attachment: fixed;
	background-size: contain;
}


@keyframes moveup {
  0%   {top:0px; left:-80px;  opacity: 0.0;}  
  50%  {top:-80px; left:0px;  opacity: 1.0;}
  100% {top:-65px; left:-20px;  opacity: 0.0;}
}

.move_up{
 animation: moveup 3.5s infinite;
 transform: rotate(135deg);
	
}


@keyframes movedown {
  0%   {top:-160px; left:0px;  opacity: 0.0;}  
  50%  {top:-80px; left:-80px;  opacity: 1.0;}
  100% {top:-95px; left:-65px;  opacity: 0.0;}
}

.move_down{
 animation: movedown 3.5s infinite;
 transform: rotate(45deg);
	
}



@media screen and (max-width: 1920px) {
.elementor-876 .elementor-element.elementor-element-5bfa0a7:not(.elementor-motion-effects-element-type-background) {
    background-position: -300px -500px;
	padding: 100px 0px 0px 361px;
}
div#video_position {
    right: -380px;
 }
}

@media screen and (max-width: 1536px) {
.elementor-876 .elementor-element.elementor-element-5bfa0a7:not(.elementor-motion-effects-element-type-background) {
    background-position: -290px -320px;
    padding: 100px 0px 0px 170px;
}
div#video_position {
    right: -190px;
	width: 650px;
 }
}

@media screen and (max-width: 1440px) {
.elementor-876 .elementor-element.elementor-element-5bfa0a7:not(.elementor-motion-effects-element-type-background) {
    background-position: -280px -280px;
	padding: 100px 0px 0px 128px;
}
div#video_position {
    right: -145px;
	width: 650px;
 }
}

@media screen and (max-width: 1366px) {
.elementor-876 .elementor-element.elementor-element-5bfa0a7:not(.elementor-motion-effects-element-type-background) {
    background-position: -280px -270px;
	padding: 100px 0px 0px 85px;
}
div#video_position {
    right: -105px;
	width: 650px;
 }	
}

@media screen and (max-width: 1280px) {
.elementor-876 .elementor-element.elementor-element-5bfa0a7:not(.elementor-motion-effects-element-type-background) {
    background-position: -270px -180px;
	padding: 100px 0px 0px 50px;
}

#odsad h2.elementor-heading-title.elementor-size-default {
    padding: 0px 80px;
}

#odsad_sec {
    padding: 0px 80px;
}
 
.ast-grid-right-section {
    justify-content: flex-end !important;
}
     
.site-header-primary-section-left.site-header-section.ast-flex.site-header-section-left {
    padding-left: 50px !important;
}

.elementor-876 .elementor-element.elementor-element-7748736 {
    width: 20%;
}

.elementor-876 .elementor-element.elementor-element-ff7352b {
    width: 20%;
}

.elementor-876 .elementor-element.elementor-element-596cc0c {
    width: 60%;
}

}

@media (min-width: 1141px) {
.ast-container {
    max-width: 1440px;
}

.content-align-center .main-header-menu {
    text-align: right;
    margin-right: 15px;
}


.ast-header-break-point .main-header-bar-navigation {
    line-height: 1;
}

ul#ast-hf-mobile-menu li.menu-item:after {
    background: antiquewhite !important;
    height: 20px !important;
    width: 20px !important;
    border-radius: 100% !important;
    content: "" !important;
    display: inline-block !important;
}


}



@media screen and (max-width: 1024px) {
.elementor-876 .elementor-element.elementor-element-5bfa0a7:not(.elementor-motion-effects-element-type-background) {
    background-position: -200px -100px;
	padding: 100px 0px 0px 50px;
}


}

@media screen and (max-width: 999px) {
.elementor-876 .elementor-element.elementor-element-5bfa0a7:not(.elementor-motion-effects-element-type-background) {
    background-position: -600px 0px !important;
}

.elementor-876 .elementor-element.elementor-element-1f2f235:not(.elementor-motion-effects-element-type-background){
    background-position: -360px 0px;
}

.ast-primary-header-bar.ast-primary-header.main-header-bar.site-primary-header-wrap.site-header-focus-item.ast-builder-grid-row-layout-default.ast-builder-grid-row-tablet-layout-default.ast-builder-grid-row-mobile-layout-default {
    background-color: #F1F1F1;
    background-image: url(http://danielkosec.zivotenefackuj.cz/media/2022/09/bg-zivote-nefackuj-kosec-c-repeat.png);
}

}

@media screen and (max-width: 767px) {
.elementor-876 .elementor-element.elementor-element-5bfa0a7:not(.elementor-motion-effects-element-type-background) {
 background-position: -630px 80px  !important;
}

.elementor-876 .elementor-element.elementor-element-596cc0c {
    width: 100%;
}

.elementor-876 .elementor-element.elementor-element-b42d908 > .elementor-widget-container {
    margin: -50px -360px -30px 0px !important;
}
.elementor-876 .elementor-element.elementor-element-f54ddea {
    margin: 30px 0 0 0;
}
.swiper-pagination-bullet {
    width: 30px !important;
    height: 2px !important;
    background: #000 !important;
}
.swiper-wrapper {
    margin: 0 0 0 0 !important;
}

.email_sber {
    margin: auto !important;
    width: 340px !important;
}

}

#odsad h2.elementor-heading-title.elementor-size-default {
    padding: 0px 20px;
}

#odsad_sec {
    padding: 0px 20px;
}

.site-footer-section {
    display: block !important;
    margin-bottom: 10px;
    width: 360px !important;
    margin: auto !important;
}


.footer-widget-area li.menu-item.menu-item-type-post_type.menu-item-object-page {
    margin: 16px 8px !important; 
    font-size: 12px !important; 
    }

li#menu-item-543, li#menu-item-542 {
    margin: 3px !important;
}

.ast-builder-grid-row-mobile-full {
    padding: 0px 0px;
 }



