/*Theme Name: Logic
Theme URI: logicstudio.sk
Version: 1.0
Author: Martin Petro
Author URI: mailto:logic@martinpetro.com
*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;}

body {-webkit-tap-highlight-color:rgba(255, 255, 255, 0);}

.loader {transition:0.4s;}

.lity {z-index:9999 !important;}.lity-content::after {box-shadow:none !important;}

img{max-width:100%;height:auto;}

.back_top {position:fixed;bottom:-2vw;right:2vw;width:2vw;height:2vw;display:block;background:url('/wp-content/themes/Logic.2019/images/back_top.svg') no-repeat center center;background-size:cover;transition:0.4s;z-index:9999;}
.mobile{display:none;}
@media screen and (max-width: 960px) {.back_top{bottom:-30px;right:20px;width:30px;height:30px;}.mobile{display:inline-block;}.nomobile{display:none;}}

.logic-button {display:inline-block;border:solid 2px;text-align:center;text-transform:uppercase;transition:0.4s;}

.logic-button.full {display:block;}

.grecaptcha-badge {display:none;}

@media screen and (max-width: 960px) {
.wp_content .logic-button {display:block;}
}

.wpgmza_map {float: none !important;}

/* Tabs */
.rtbs .rtbs_menu ul {
font-size : 14px;
}
.rtbs_content > div:not(.logicproducts) {
margin : 0 !important;
}
.logicproducts p:not(.free-shipping) {
padding : 0 !important;
}
.rtbs .rtbs_menu li a {box-shadow:none !important;}
.rtbs_full .rtbs_menu ul::after {animation:zoommenu 1s ease-in-out infinite;top:2px !important;}
@media screen and (min-width: 960px) {
.rtbs_menu {text-align:center;}
}
@media screen and (max-width: 960px) {
.rtbs_menu {text-align:center;}
/* .rtbs_content {
border : none !important;
} */
}

@keyframes zoommenu {
0% { transform:scale(1,1); }
50% { transform:scale(1.3,1.3); }
100% { transform:scale(1,1); }
}

/* Logic Submenu */

.logic_submenu_wrap {
position : sticky;
top : 0;
width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  left: 0;
  z-index: 8888;
  box-sizing: border-box;
}

@media screen and (max-width: 960px) {

/* .aws-container {
padding : 0 0 1em 0 !important;
} */

.footer {
background-size: 150px;
background-position: top;
}

.logic_submenu_wrap {display:none;}

.logic_submenu_wrap_mobile {
text-align : center;
border-top : 2px solid #003da5;
border-bottom : 2px solid #003da5;
}
.logic_submenu_wrap_mobile ul {
padding-top : 0 !important;
}
.logic_submenu_wrap_mobile .logic_submenu_wrap_link {
padding : 10px 20px !important;
}

.logic_submenu_wrap_mobile .trigger {
float : right;
transition : 0.4s;
}
.trigger.triggered {
transform : rotate(180deg);
}

.trigger_content {
transition : 0.6s;
}
.trigger_content.triggered {
max-height : 100vh;
}

.trigger_content a:before {
/* content : '● '; */
}


.logic_submenu_wrap_mobile li > div {
max-height : 0;
overflow : hidden;
}

}

.logic_submenu_wrap > ul {
display : flex;
list-style : none;
justify-content : space-between;
max-width : 1200px;
padding : 0 32px;
margin : 0 auto;
}
.logic_submenu_wrap > ul > li {
display : inline-block;
align-self : center;
text-align : center;
}
.logic_submenu_wrap_link:link,.logic_submenu_wrap_link:visited,.logic_submenu_wrap_link:active,.logic_submenu_wrap_link:hover  {
display:inline-block;color:white;
}
.logic_submenu_wrap li > div {
position:absolute;width:85%;padding:0 7.5% 0 7.5%;left:0;background-color:white;

visibility:hidden;opacity:0;transition: visibility 0s linear 0.2s, opacity 0.2s linear;
}
.logic_submenu_wrap li:hover > div {
visibility: visible;
opacity: 1;
transition-delay: 0s;
transition : 0.2s;
}

.hidden_submenu {
top : -100% !important;
}

a {
outline : transparent !important;
}

.rounded {
border-radius : 100%;
}

.google_maps, .cmplz-blocked-content-container {
width : 100%;
height : 400px !important;
opacity : 1 !important;
}

.header_link_initial {
display : block;
}

/* .single {
margin-top : 2em;
} */

.article {
flex-wrap : wrap;
}

.wp_content svg {
max-width : 100%;
height : auto;
}

.logic_edit {
position:absolute;width:100%;height:100%;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;background-color:rgba(0,0,0,0.5);transition:0.4s;border-radius:5px;
}
.logic_edit:hover {
opacity:1;
}
.logic_edit a {
position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:white;
}

.cmplz-document {
max-width : 100% !important;
}
#cmplz-cookiebanner-container {
text-align : center;
}

.header_content li {
display : inline-block;
list-style : none;
vertical-align : middle;
}

iframe {
width : 100%;
max-width : 100%;
}

.header, .slidermax, .flexible_content > div > div, .flexible_content > section > div > div, .grid, .footer, .woo_content > div, .wp_content_inner {
width : 100%;
max-width : 1200px;
margin : 0 auto;
box-sizing : border-box;
}
.wp_content_inner {
padding : 0 32px;
}
.header {
justify-content : space-between;
}
.header_link_initial {
padding : 0 4em 10px 0;
}
.main_menu_second {
justify-content : flex-start !important;
}

.slidermax {
position : relative;
height : 100%;
}

.portrait {
width: 100%;
border-radius: 100%;
}

.footer_divider {
height : 64px;
}

.footer ul > li ul {
padding-left : 1em !important;
}

.cena {
font-family : 'Libre Baskerville',serif !important;
font-weight : 700;
color : #C5A374;
font-size : 18px !important;
}
hr {
display: block; height: 1px;
border: 0;
border-top: 1px solid;
}

.divider, .divider2 {
display : block;
margin : 1em auto;
width : 120px; 
}

.desktop_submenu ul {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  display: flex;
  scrollbar-width: none; /* hide scrollbar for Firefox */
  -ms-overflow-style: none;  /* hide scrollbar for IE 10+ */
}

.desktop_submenu ul::-webkit-scrollbar {
  display: none; /* hide scrollbar for Chrome/Safari */
}

.desktop_submenu {
  /* position: relative; */
  overflow: hidden;
}

.desktop_submenu::before,
.desktop_submenu::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.desktop_submenu.show-left::before {
  left: 0;
  background: linear-gradient(to right, #eb5dff, transparent);
  opacity: 1;
}

.desktop_submenu.show-right::after {
  right: 0;
  background: linear-gradient(to left, #37f5ff, transparent);
  opacity: 1;
}

/* Arrows */
.desktop_submenu::before,
.desktop_submenu::after {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  font-weight: bold;
}

.desktop_submenu.show-left::before {
  content: "❮"; /* Left arrow */
}

.desktop_submenu.show-right::after {
  content: "❯"; /* Right arrow */
}

/* Remove left padding on the first link */
.desktop_submenu ul li:first-child .logic_submenu_wrap_link {
  padding-left: 0;
}

/* Remove right padding on the last link */
.desktop_submenu ul li:last-child .logic_submenu_wrap_link {
  padding-right: 0;
}
.vns {
width: 10%;
padding-left: 2em;
}

.aws-container .aws-search-form *, .aws-search-result {
border-radius : 4px !important;
}

.rtbs .rtbs_menu li a {
width : auto !important;
}

.budovy, .podlazie {
position : relative;
line-height : 0;
}
.budovy img, .podlazie img {
position : relative;
width : 100%;
height : auto;
}
.budovy svg, .podlazie svg {
position : absolute;
top : 0;
left : 0;
width : 100%;
height : 100%;
}
.budovy svg > g > g {
opacity : 0;
transition : .4s;
cursor : pointer;
}
.budovy svg > g > g:hover {
opacity : 1;
}
#podlazie-vystup {
max-width : 960px;
margin : 0 auto;
}

.logic_table { width: 100%; border-collapse: collapse; margin-top: 2em; }
.logic_table th, .logic_table td { padding: .6em 1em; text-align: left; }
.logic_table tbody tr { cursor: pointer; transition: .4s;}

.logic_table tr:nth-child(1n) {
background : white;
}
.logic_table tr:nth-child(2n) {
background : #f9f9f9;
}

@media screen and (min-width: 960px) {
.logic_table tbody tr {
border: 1px solid lightgray;
}
}

.logic_table tr.volny:hover {
background : #64c85a;
color : white;
}
.logic_table tr.rezervovany:hover {
background : #faeda8;
color : #383838;
}
.logic_table tr.predany:hover {
background : #e05353;
color : white;
}

.tablepress > :where(thead, tfoot) > * > th, .logic_table th {
background : #e08853 !important;
color : white !important;
}
@media screen and (max-width: 960px) {
.tablepress, .logic_table {
font-size : 12px !important;
}
.table_wrapper {
overflow-x : auto;
}
.logic_table tr.volny {
background : #64c85a;
color : white;
}
.logic_table tr.rezervovany {
background : #faeda8;
color : #383838;
}
.logic_table tr.predany {
background : #e05353;
color : white;
}
}
.tablepress th, .tablepress td { padding: .1em 1em !important; white-space: nowrap;}

table .sortArrow {
border-top-color : white !important;
border-bottom-color : white !important;
}

.byt-udaj--special {
border : 3px solid #383838 !important;
}

.attention {
animation:zoommenu 1s ease-in-out infinite;
}