/*
Theme Name: Vortex
Author: Martin Mateju
Author URI: http://www.martin.mateju.cz
Version: 1.0
*/


.searchwp-live-search-results-showing {
    padding: 2rem;

}

.searchwp-live-search-results-showing h3 {
    margin-bottom: 0;
}

.header .searchform .close {
    position: absolute;
    right: 0;
}

form {
    position: relative;
}

.header .searchform input[type="search"] {
    width: 100%;
}
.searchwp-live-search-result + h3 {
    margin-top: 1rem;
}
.searchwp-live-search-no-min-chars:after{
    content: "Zadejte více znaků" !important; 
    display: block;
    text-align: center;
    padding: 2em 2em 0;

}
.wp-admin-bar .bbelement-brand{
    top:0;
    background-position-y: 100px !important;
}
 .bbelement-brand{
     background-position: center 100px !important;
}
#bbelement-brand-wrapper{
	margin-top: 0;
}


.bbelement-brand {
    background-position-y: 68px !important;
    top: 0;
}

div#bbelement-brand[style*="background-color"] + #bbelement-brand-wrapper {
    margin-top: 200px;
}


/*breadcrumbs*/

.c-breadcrumbs {
    max-width: 1260px;
    margin: 0 auto;
	padding:2rem 10px;
    font-size: 1rem;
}
#crumbs{
    color: #1d273e;
}

.c-breadcrumbs a:hover {
    text-decoration: none;
}

.c-breadcrumbs span.last,
#crumbs span.current{
    font-weight: 700;
}
.c-breadcrumbs.padds40 {
    padding-right: 40px;
    padding-left: 40px;
}

.c-breadcrumbs p {
    margin: 0;
}

.wp-single-card #crumbs {
    color: #fff;
}

.bg-black.m4 + .c-breadcrumbs {
    margin-top: -3rem;
}
.c-breadcrumbs.padds20 {
    padding: 0 0 20px 0;
}
.wp-single-post .c-breadcrumbs.wrapper {
    padding-top: 0;
}
@media (max-width:575px){
	.c-breadcrumbs{
		padding-left: 0;
    	padding-right: 0;
	}
	.game-info.wrapper {
		margin-bottom: 2rem !important;
		margin-top: 2rem;
	}
	.c-breadcrumbs.padds40 {
		    padding: 20px 10px;
	}
	
	a.gallery-item__zoom {
		width: 30px;
		height: 30px;
	}
}
/*gallery*/



.gallery-header__zoom {
    width: 34px;
    height: 34px;
}
.gallery-body .slick-prev,
.wt-gallery-wrapper .slick-prev{
    left: -10px;
	z-index:99;
}

.gallery-body .slick-next,
.wt-gallery-wrapper .slick-next{
    right: -10px;
		z-index:99;
}
.wt-gallery-wrapper .slick-next::before,
.gallery-body .slick-next::before{
    background: url('/wp-content/themes/vortex/images/icons/next-yellow.png');
    background-position: center;
    content: '';
    width: 48px;
    height: 48px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
}
.wt-gallery-wrapper .slick-prev::before,
.gallery-body .slick-prev::before{
    background: url('/wp-content/themes/vortex/images/icons/previous-yellow.png');
    background-position: center;
    content: '';
    width: 48px;
    height: 48px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
}
.gallery-container {
    max-width: 1260px;
    margin: 0 auto;
}

.single-post-gallery-wrap {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    width: 100vw;
    height: 100vh;
}

.gallery-header {
    background: #efd613;
    color: #0a0a0e;
    display: flex;
    padding: 1rem;
    align-items: center;
    justify-content: space-between;
}

.gallery-header__close {
    align-self: flex-end;
}

a.btn-gallery-close {
    position: relative;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
    border-radius: 20px;
    text-decoration: none;
    line-height: 29px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    border: 2px solid;
    display: flex;
    padding: 2px 11px;
}

a.btn-gallery-close:after {
    content: "\f158";
    font: normal 20px/29px dashicons;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 29px;
}

.gallery-header__close {
    position: relative;
}

a.btn-gallery-close:hover {
    background: #cacaca54;
    transition: all .35s ease;
}

.gallery-body .slick-prev:before,.gallery-body .slick-next:before {
    font-size: 48px;
}
.gallery-body .slick-prev,.gallery-body .slick-next{
    width: 48px;
    height:48px;
	z-index:999;
}

.gallery-header span.paged-current {
    font-weight: bold;
}
.gallery-body p.gallery-item__caption{
	padding-top:1rem;
	color:#fff;
	text-align:center;
}
.gallery-body .slick-slide img {
    width: 100%;
			  max-height:90vh;
}
a.gallery-item__zoom:hover {
   transform:scale(1.01);
    transition:all .15s linear;
}

a.gallery-item__zoom {
    background: url('/wp-content/themes/vortex/images/icons/icon-expand.svg');
    font-size: 0;
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 6;
    margin: 1rem;
    border-radius: 5px;
    cursor: pointer;
    opacity: .7;
    transition: opacity .35s ease;
	background-size:contain;
	background-repeat:no-repeat;
}
a.gallery-item__zoom:hover{
    opacity: 1;
    transition: opacity .35s ease;
}
.gallery-item {
    position: relative;
}
.gallery-item img {
    max-width: 100%;
}
div#bbelement-brand + #bbelement-brand-wrapper {
    margin-top: 0;
}
.wt-gallery-wrapper button.slick-prev.slick-arrow {
    width: 48px;
    height: 48px;
}

.wt-gallery-wrapper .slick-arrow:before {
    color: #000;
    font-size:48px;
}


.wt-gallery-wrapper p.gallery-item__caption {
    color: #848484;
    text-align: right;
    font-size: .75rem;
    margin-right: 3px;
}
.navigation-gallery{
	display:flex;
	gap:10px;
	    top: -3px;
    position: relative;
}
.wt-gallery-wrapper .navigation-gallery {
	    display: flex;
    background-color: #d7e2f1;
    padding: 20px 50px;
}

.wt-gallery-wrapper {
    margin: 0 -170px 60px -170px;
}
.wt-gallery-wrapper .navigation-gallery .navigation-item {
    flex-basis: calc(25% - 5px);
}

.wt-gallery-wrapper .navigation-gallery .navigation-item img {
    max-width: 100%;
}
.wt-gallery-wrapper .slick-arrow:before {
    font-size: 36px;
}


.wt-gallery-wrapper button.slick-next.slick-arrow {
    width: 48px;
    height: 48px;
}
.wt-gallery-wrapper a.bg-more-photos {
    display: block;
    position: relative;
}

.wt-gallery-wrapper a.bg-more-photos:after {
    content: '';
    background: #1d273e;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.75;
}

.wt-gallery-wrapper a.bg-more-photos::before {
     content: attr(data-count-all) " obrázků";
    position: absolute;
    color: #fff;
    left: 50%;
    top: 50%;
    z-index: 9;
    transform: translate(-50%, -50%);
}
.gallery-header__title a {
    text-decoration: none;
}

.gallery-header__title a:hover {
    text-decoration: underline;
}
.gallery-half {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.gallery-header__zoom {
    position: relative;
}

.gallery-header__zoom .gallery-item__zoom {
    position:relative;
    width: 32px;
    height: 32px;
    right: unset;
    top: unset;
    margin: 0;
}
.gallery-item a.gallery-item__zoom {
    display: none;
}
.single-post-gallery-wrap div#bbelement-brand {
    top: 0;
    background-position-y: 0 !important;
}

.single-post-gallery-wrap {
    overflow-y: scroll;
}

.single-post-gallery-wrap div#bbelement-brand-wrapper {
    padding-bottom: 0;
    background: #000;
}

@media (max-width:2048px){
	.gallery-container {
    	max-width: 80%;
  	  margin: 0 auto;

	}
}
@media (max-width:1600px){
	.gallery-body .slick-slide img {
    max-height: 81vh;
}
	.gallery-container {
    	max-width: 1260px;
  	  margin: 0 auto;
	}
}
@media (max-width:1279px){
	.wt-gallery-wrapper {
    margin: 0 -70px 60px -70px;
	}
	    
}
@media (max-width:768px){
	a.gallery-item__zoom {
    filter: invert(1);
}
	.gallery-header {

    padding: 0.75rem;
}
	.gallery-header__zoom {
    display: none;
}
	.gallery-item a.gallery-item__zoom {
    display: block;
}
		.wt-gallery-wrapper {
    margin: 0 0 40px 0;
	}
	a.gallery-item__zoom {
    right: 5px;
    top: 5px;
}
	.gallery-body p.gallery-item__caption {
    position: absolute;
    bottom: 0;
    background: #00000045;
    margin: 0;
    padding-bottom: 1rem;
    padding: 1rem;
    width: 100%;
}
.gallery-header__paged{
		display:none;
	}
		.gallery-container {
			width: 100vw;
			max-width: unset;
			padding: 1rem 0;
	}

	.gallery-item {
			margin-bottom: 3rem;
	}

	.single-post-gallery-wrap {
			height: 100vh;
			overflow-y: scroll;
	}

	.gallery-header {
			position: fixed;
			top: 0;
			z-index: 7;
			width: 100%;
		    padding-right: 2rem;
	}
	.gallery-header__title {
    max-width: 70%;
}

	.gallery-body {
			padding-top: 80px;
	}
}

@media (max-width:575px){
	.bg-black.m4 + .c-breadcrumbs {
    margin-top: -4rem;
}
	a.gallery-item__zoom {
    width: 30px;
    height: 30px;
}
			.wt-gallery-wrapper {
    margin: 0;
	}
	.gallery-item{
		margin-bottom:1rem;
	}

.wt-gallery-wrapper .slick-slide img {
    width: 90%;
    text-align: center;
    margin: 0 auto;
}

.wt-gallery-wrapper button.slick-arrow {
    z-index: 9;
}

.wt-gallery-wrapper .slick-arrow:before {
    font-size: 30px;
}

.wt-gallery-wrapper button.slick-prev.slick-arrow,.wt-gallery-wrapper button.slick-next.slick-arrow {
    height: 30px;
    width: 30px;
}


	.navigation-gallery{
		display:none;
	}
	
	.wt-gallery-wrapper .slick-prev::before{
    width: 30px;
    height: 30px;
    background-size: contain;
}


.wt-gallery-wrapper .slick-next::before{
    width: 30px;
    height: 30px;
    
}
.wt-gallery-wrapper button.slick-arrow{
    top:45%
}
.wt-gallery-wrapper button.slick-next.slick-arrow {
    right: -10px;
}

.wt-gallery-wrapper button.slick-prev.slick-arrow {
    left: -10px;
}
div#bbelement-brand + #bbelement-brand-wrapper {
    margin-top: 0;
}
}

/*detail článku*/
.wp-single-post .c-breadcrumbs{
	padding-left:10px;
}

.game-info--mobile{display:none}
	.span-item {
    display: flex;
    gap: 0.25rem;
}
.span-item > span {
    margin-right: 0;
}
.card-dates-span {
    display: flex;
}
 

.card-dates-list__item .item-console{
    margin-right: 0;
}

span.item-date {
    font-weight: 700;
}

.card-dates-list__item + .card-dates-list__item {
    margin-left: 20px;
}
.blocks .card-dates-span {
    color: #fff;
}
.wp-single-card .card-dates-list__item + .card-dates-list__item{
    margin-left:0;
}
 
 
.card-info .list .card-dates-list__item .item-date{
    width: 100%;
    white-space: normal;
}

.wp-single-card .card-info .list li {
    margin-bottom: .75rem;
}
.game-header .thumbnail-source {
    bottom: 0;
    font-family: "Saira Extra Condensed",sans-serif;
    font-size: 16px;
    color: #7c92c4;
    opacity: 1;
    background-color: #1d273e;
    border: none;
    border-color: transparent;
    border-radius: 0;
    padding: 5px;
    right: 0;

}
@media (max-width:575px){
		.card-dates-list__item + .card-dates-list__item {
		margin-left: 0;
	}
		.game-header .thumbnail-source {
		bottom: unset;
		top: 175px;
		color: #7c92c4;
		opacity: 1;
				background-color: #1d273e;
		border: none;
		border-color: transparent;
		border-radius: 0;
		padding: 5px;
		right: 0;
			font-size:12px;
		}


		.bg-black.m1 + .c-breadcrumbs {
		padding-left: 10px;
	}
		div#bbelement-brand + #bbelement-brand-wrapper {
		margin-top: 0;
	}

		.game-status .date {
		clear: unset;
		margin-top: 0;
		margin-left: auto;
	}

	.game-status {
		display: flex;
		align-items: center;
		padding-right: 10px;
		padding-left: 0;
		padding-top: 0;
		padding-bottom: 0;
	}

	.game-status .avatar {
		position: relative;
		top: 0;
		margin-right: 10px;
		height: 60px;
		width: 60px;
	}


	.game-info .game-status {
		margin-bottom: 0rem !important;
	}

	.game-info.wrapper {
		margin-top: 0.15rem;
	}
		.wp-single-post iframe {
		max-width: 100%;
	}
.game-info .game-card {
    margin-top: 10px;
    margin-bottom: 10px;
}
		.game-info .game-socials{
		display: none;
	}
		.card-dates-list__item {
		display: flex;
		gap: 1rem;
	}

	.card-dates-span {
		display: inline-block;
	}

	.span-item {
		display: flex;
		gap: .25rem;
	}

	.card-dates-span span.item-date {
		font-weight: 700;
	}

	.game-info--mobile {
		padding: 0 10px;
		display:block;
	}

	.game-content.wrapper.m3 + .game-info--mobile {
		margin-top: -3rem;
	}
	 .thumbnail iframe {
		height: auto;
		min-height: 330px;
	}
		.game-info--mobile {
		display: flex;
	}

	.game-card span {
		white-space: normal;
	}

}