/* RESET
------------------------------------------------------------------------------------*/
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; outline: 0; font-size: 100%; vertical-align: baseline; max-width: 100%;}
.container, iframe { max-width: 100%;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block;}
html, body	{ height:100%; }
a img,:link img,:visited img { border:none }
:focus { outline: 0; }
a, a:hover  { text-decoration:none;} 
a, a:active, a:visited {outline: 0 !important; } /* Firefox */
table { border-collapse: collapse; border-spacing: 0; }
html { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
*, *:before, *:after {  -webkit-box-sizing: inherit; -moz-box-sizing: inherit; box-sizing: inherit; }
.clearFloat::before, .clearFloat::after { display:table; content:"";}
.clearFloat::after	{ clear:both; }
img	{ max-width: 100%; height: auto; width: auto9; /* ie8 */ }

/*BS breakpoints: 768 / 992 / 1200 w side-pad 15px
/*font-size: 1.5vw;*/


/* PALETTE - VARIABLES
------------------------------------------------------------------------------------*/
:root {
	--color-text: #666;
	--color-background: WHITE;
	--a:color: #333;
	--a-hover: BLACK;
	--sub-menu-BG-color: #efefef;
	--font-headers: bold 'Open Sans', sans-serif;
	--font-nav: normal 1.1rem/1.4rem 'Open Sans', sans-serif;
	--font-text: normal 1rem/1.4rem 'Open Sans', sans-serif;
}



/* PALETTE 
====================================================== */
body {
	color: #666;
    background: WHITE;
}

a { color: rgba(42,39,56,1); }
a:hover	{ color: rgba(166,65,97,1.0); }
div.wpcf7-mail-sent-ok {border: 2px solid BLACK;}
.wpcf7 form.sent .wpcf7-response-output { border-color: BLACK;}


/* HTML / FONTS
------------------------------------------------------------------------------------*/
body {
	font-family: 'Open Sans', sans-serif; 
	display: optional;  
    font-weight: 300;
    line-height: 1.5rem;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6,p {
	margin: 0 auto 20px;
}

/* for site-slogan */
h1 {  
	font-size: 1.4rem;
	font-weight: bold;
	font-style: italic;
}

/* for page-titles and section-titles */
h2.pageTitle,
h2.sectionHeading,
h2.rowHeading	{
	padding: 40px 0 30px 0;	
	font-size: 2rem;
	font-weight: bold;
}

h2.pageTitle { text-align: center;}

/* index page post titles */
h3	{ 
	font-size: 1.5rem;
}

h1,p {
	max-width: 730px;
}

.mainContent ul,
.mainContent ol {
	width: 90%;
	max-width: 600px;
	margin: 0 auto 20px;
	padding-left: 20px;
}

p::-moz-selection { color: WHITE; background: GREY;}
p::selection { color: WHITE; background: GREY; }


p.editLink a	{	
	font-size: 14px;
	padding: 2px 4px 0px 5px;
	margin-right: 3px;
	border-radius: 2px;
}

p.editLink a:hover	{
	background: #66ff66;
}	

p.entry-date	{
	font-size: .9em;
	margin-top: -16px;	
}

.readmore {
	margin-top: 20px;
	text-align: right;
}

a.button	{
	text-align: center;
	padding: 8px 16px;
	padding: 10px 30px;
	border: 1px solid BLACK;
	background-color: GREY;
	color: WHITE;
	border-radius: 0px;
	font-weight: bold;
}

a.button:hover	{
	background-color: BLACK;
	border-color: BLACK;
	color: WHITE;
}

.center {text-align:center;}
.left{ text-align: left;}
.right{ text-align: right;}


.wp-block-image figcaption 	{
	font-size: .8em;
	margin-top: .1em !important;
}

/* IMAGES, MEDIA
------------------------------------------------------------------------------------*/

img	{
	max-width: 100%;
	height: auto;
	margin-bottom: 30px;
}

.wp-block-image img	{margin-bottom: 0;}

.featuredImageTop	{
	text-align: center;
}


/* CONTAINERS 
====================================================== */

.container {max-width: 1170px; margin: 0 auto;}
.flexContainer, .flex { display: flex; flex-direction: row;flex-wrap: wrap;width: 100%;}
.containerFluid {}
.textContainer {max-width: 700px;margin: 0 auto;}
section { padding: 50px 20px; }

.navbar-wrapper {min-height: 60px;}
.mainContent	{min-height: calc(100% - 180px);}
.mainContent.underFixedNav	{padding-top: 110px;}
section.footer {min-height: 120px;}

.row	{background-color: TRANSPARENT; margin-left: 0;margin-right:0;}
.row.nothingHere	{ /*404*/
	width: 700px;
	max-width: 100%;
	margin: 10% auto 0;
	text-align: center;
}

@media (min-width:768px) {
	.mobileonly { display:none;}
	.desktoponly { display:block; }
}
@media (max-width:768px) {
	.mobileonly { display:block; padding-bottom:15px;}
	.desktoponly { display:none; }
}

.one-col	{width: 100%;}
.flex-col-3{ width: 25%; padding: 0 1%;}
.flex-col-4{ width: 33.3%; padding: 1%;}
.flex-col-9{ width: 75%; padding: 0 1%;}

@media screen and (max-width: 600px) {
	.flex-col-3,.flex-col-4,.flex-col-9 {
		width: 100%;
		padding: 0;
		margin-bottom: 25px;
	}
}

/*@media (max-width: 768px)	{
	.flex{
		flex-direction: column;
	}
	.flex-col-3, .flex-col-9{
		width: auto;
	}
}*/
	
/* HEADER 
================================================================================== */

/* site title 
------------------------------------------------------ */
.siteTitle.flexItem {
	margin: 16px 0 0 15px;
	width: 30%;
	min-width: 250px;
}

.siteTitle h2	{
	margin-bottom: 12px;
	font-family: inherit;
	font-weight: bold;
	font-size: 1.8rem;
}

siteSlogan
@media only screen and (min-width: 768px)	{
	.siteTitle h2 	{font-size: 2rem;}
}

.siteTitle h2 a {
	color: rgba(42,39,56,1);
}

.siteTitle h2 a:hover	{
	color: rgba(166,65,97,1.0);
}

/* main navigation 
------------------------------------------------------ */

@media only screen and (min-width:768px)	{
	.mainNavigation.flexItem {
		width: 70%;
		padding-right: 15px;
	}
}

ul.navbar-nav.flexContainer	{
	justify-content: flex-end;
	flex-wrap:wrap;
	list-style: none;
	margin: 0;
    max-width: none;
    padding-left: 0;
    position: relative;
}

@media only screen and (min-width: 482px)
.primary-navigation .primary-menu-container > ul > .menu-item {
    display: flex;
}
@media only screen and (min-width: 482px)
.primary-navigation > div > .menu-wrapper li {
    margin: 0;
    width: inherit;
}

.navbar-nav > li {
    position: relative;
    height: 30px;
    padding: 12px 0 10px 30px;
}

.sub-menu > li {
    position: relative;
    padding:10px;
	background: var(--sub-menu-BG-color);
}

/*.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}*/

/*.navbar-nav .menu-item {
    text-decoration: none;
    padding:10px;
    display: block;
    line-height: 30px;
}*/

.navbar-toggle {
    cursor: pointer;
    border: none;
    background-color: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 4px;
    margin: 2px;
    transition: background-color 0.2s ease-in-out,
                transform 0.2s ease-in-out,
                opacity 0.2s ease-in-out;
    background-color: hsl(251deg 18% 19%);
}

.navbar-toggle:focus .icon-bar,
.navbar-toggle:hover .icon-bar {
    background-color: hsl(251deg 18% 19%);
}

#navbar.opened .navbar-toggle .icon-bar:first-child,
#navbar.opened .navbar-toggle .icon-bar:last-child {
    position: absolute;
    margin: 0;
    width: 30px;
}

#navbar.opened .navbar-toggle .icon-bar:first-child {
    transform: rotate(45deg);
}

#navbar.opened .navbar-toggle .icon-bar:nth-child(2) {
    opacity: 0;
}

#navbar.opened .navbar-toggle .icon-bar:last-child {
    transform: rotate(-45deg);
}

/* .navbar-menu {
    position: fixed;
    top: var(--navbar-height);
    bottom: 0;
    transition: opacity 0.2s ease-in-out,
                visibility 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    left: 0;
    right: 0;
}

#navbar.opened .navbar-menu {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    visibility: visible;
} */

.navbar-links {
    list-style-type: none;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    background-color: hsl(251deg 18% 19%);
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
    right: 0;
    margin: 1.4rem;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#navbar.opened .navbar-links {
    padding: 1em;
    max-height: none;
}
.collapse {
    display: none;
}
.collapse.in {
    display: block;
}
.sub-menu .sub-menu, .sub-menu{
	/*display: none;*/
}
@media screen and (min-width: 769px) {
    .navbar-toggle {
        display: none;
    }
	.navbar-menu {
		display:block!important;
	}      
    #navbar .navbar-menu,
    #navbar.opened .navbar-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        display: block;
        height: 100%;
    }

    #navbar .navbar-links,
    #navbar.opened .navbar-links {
        margin: 0;
        padding: 0;
        box-shadow: none;
        position: static;
        flex-direction: row;
        list-style-type: none;
        max-height: max-content;
        width: 100%;
        height: 100%;
    }

    #navbar .navbar-link:last-child {
        margin-right: 0;
    }
	.navbar-nav li:hover > ul{
		visibility: visible; 
		opacity: 1;
		z-index: 999;
		transform: translateY(0%);
		transition-delay: 0s, 0s, 0.3s;
		
	}
	.sub-menu .sub-menu{
		position: absolute;
		top: 0px;
		left: -150px;
		width: 150px;
		list-style: none;
		padding: 0;
		margin: 0;
		opacity: 0;
		visibility: hidden; /* hides sub-menu */
		transform: translateY(-2em);
		transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
	}
	.sub-menu{
		position: absolute;
		top: 50px;
		left: -44px;
		width: 200px;
		max-width: 200px;
		list-style: none;
		padding: 0;
		margin: 0;
		opacity: 0;
		visibility: hidden; /* hides sub-menu */
		transform: translateY(-2em);
		transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
	}
}

@media screen and (max-width: 768px) {
	.navmenu_align.mainNavigation{
		float: right;
		width: 100%;
	}
	.navbar-header.navbar-icon{
		float: right;
		margin-right: 5px;
		margin-top: -40px;
	}
	.siteTitle.flexItem{
		float: left;
	}
	.navbar.flexContainer, .navbar-nav.flexContainer{
		display: block;
	}
	.navbar-nav > li{
		float: revert;
		width: 100%;
		height: auto;
	}
	#menu-main-navigation{
		width: 100%;
		background: #d2d2d2;
		margin-bottom: 15px;
	}
	.navbar-nav > li.menu-item a{
		display: block;
		border-bottom: 1px solid #c1c0c0;
		padding: 10px;
		background: transparent;
	}
	.navbar-nav .menu-item {
		padding: 0;
	}
	.navbar-nav > li .caret{
		position: absolute;
		right: 15px;
		top: 20px;
		width: 0;
		height: 0;
		margin-left: 2px;
		vertical-align: middle;
		border-top: 8px dashed;
		border-top: 8px solid\9;
		border-right: 8px solid transparent;
		border-left: 8px solid transparent;
	}
	.sub-menu.open{
		display: block;
	}
	.navbar-nav  li.current-menu-item>a{
		background: #bfbfbf;
	}
	/* .navbar-nav > li.current-menu-item .sub-menu{
		display: block;
	} */
}

@media (min-width: 769px)	{
	#navbar .navbar-collapse.collapse{
		display: block !important;
	}
}


/* active page
------------------------------------------------------------------------------------*/
@media only screen and (min-width: 768px)	{
	li.current_page_item a	{color: BLACK;border-bottom: 2px solid BLACK;}
	h2.pageTitle {display: none;}
	
}


/* SIDEBAR
------------------------------------------------------------------------------------*/

/* widget styles----------------------------- */

.widget h3, 
.single .widget h3, 
.archive .widget h3 {
    color: BLACK;
    font-size: 1.0em;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: .1rem;
	padding-top: 20px;
}

.widget ul li, 
.single #mainContent #rightContent .widget ul li, 
.archive #mainContent #rightContent .widget ul li {
    list-style: none;
}

.mainContent .sidebar .[zoom-social-icons-list]	{ 
	display: none; /* if in footer) */
}

/* PAGINATION & TAGS
------------------------------------------------------------------------------------*/


.tagged_in a{
	margin-left: 10px;
}

.pagination{
	text-align: center;
	margin-top: 30px;
}

.pagination .page-numbers	{
		padding: 2px 8px;
}

.pagination .page-numbers.current	{
	border: 1px solid grey;
}	

.page-prev { /* for get_next_post() ie « Previous */
    display:flex;
    order: 1;
    margin-right: 15px;
    margin-bottom: 8px;
    padding: 3px;
    border: 0px dotted #525665;
}

.page-next { /* for get_previous_post() ie Next » */
    display:flex;
    order: 2;
    margin-left: 15px;
    margin-bottom: 8px;
    padding: 3px;
    border: 0px dotted #525665;
}

#nav-single {
	margin-top: 20px;
	display: flex
}

#nav-single .left,
#nav-single .right	{
	border: 1px solid white;
	width: 50%; flex-grow:1;
}

/* CONTACT FORM 7
------------------------------------------------------------------------------------*/
.contact-col {width: 95%; max-width: 500px; margin: 0 auto;}
form.wpcf7-form input{height: 50px; width: 100%; padding:8px 5px 4px; font-size: .8em; border: 1px solid #ccc;margin: 0 auto;}
form.wpcf7-form textarea{height: 200px; width: 100%;padding:18px 5px 4px 5px; font-size: .8em; border: 1px solid #ccc;margin: 0 auto;font-family: inherit;}
form.wpcf7-form input.wpcf7-submit{width: 150px;background-color: #000; color: #fff;}
form.wpcf7-form input.wpcf7-submit:hover{background-color:#9c0d06;}

/* FOOTER
------------------------------------------------------------------------------------*/

section.footer	{
	background-color: WHITE;
	border-top: 1px solid #eee;
	color: #666;
	padding: 30px 15px 0px;
	text-align: center;
	/*clear:both;*/
	line-height: 1.2rem;
}

.footer .flexContainer {
	margin-bottom: 10px;
	padding: 10px;
	flex-wrap:wrap;
} 
.footer .flexContainer .flexItem { 
	transition: width .2s;
	width: 31%; margin: 10px 1%;
}
.footer .flexContainer .flexItem1 { text-align: left;}
.footer .flexContainer .flexItem2 { text-align: left;}
.footer .flexContainer .flexItem1 { text-align: left;}


@media (max-width: 800px){
	.footer .flexContainer {flex-direction: column;}
	.footer .flexContainer .flexItem1 {width: 98%; text-align: center; order: 1}
	.footer .flexContainer .flexItem2 {width: 98%; text-align: center; order: 2}
	.footer .flexContainer .flexItem3 {width: 98%; text-align: center; order: 3}
}

#mc_embed_signup{
	background:#fff; 
	clear:left; 
}

#mc_embed_signup form {
   padding: 0 !important;
}

#mc_embed_signup h2 {
    font-weight: normal;
    padding: 0;
    margin: 0px 0 15px !important;
    font-size: 1.2em;
}

.zoom-social_icons-list__item	{
	margin: 4px 10px !important;
}
/*.socialIcons,*/
/*zoom-social-icons-widget,*/
.simple-social-icons ul.alignleft	{
	display:flex;
	flex-direction: row;
	justify-content:center;
	margin-bottom: 20px;
}

/*.simple-social-icons ul.alignleft li	{
	display: flex;
	float: none;
}*/

p.credit	{
	font-size: .6em !important;
	color: #aaa;
	margin: 0 auto 20px !important;
}

/*.home p.credit {	display: none;}
.home p.copyright	{margin-bottom: 30px;}
.page-contact p.credit	{ display: block;}*/

p.credit a	{color: #aaa;}
.page-contact p.credit a	{color: #999;}	
.page-contact p.credit a:hover	{color: #777;}	

@media only screen and (max-width: 800px)	{
/*.elementor-widget-wp-widget-zoom-social-icons-widget .zoom-social-icons-list--align-left, .zoom-social-icons-widget .zoom-social-icons-list--align-left,*/
.simple-social-icons ul.alignleft {
		text-align: center !important;
		margin: 0 auto;
	}
}

p.copyright	{
	font-size: .8rem !important;
	margin: 0 auto 2px !important;
}
.lg-next
{
    opacity: 50% !important;
    width: 25px !important;
    height: 41px !important;
    background: url('/wp-content/themes/haburjak/assets/images/arrows/arrowBlackRight-onWhite50-41h.png') right bottom no-repeat !important;
}
.lg-next:hover, .lg-prev:hover
{
	opacity: 100% !important;
}
.lg-actions .lg-prev {left: 10px !important;}

@media only screen and (max-width: 768px)	{
	.lg-actions .lg-next {right: 12px !important;}
}
.lg-prev
{

	opacity: 50% !important;
	width: 25px !important;
    height: 41px !important;
    background: url('/wp-content/themes/haburjak/assets/images/arrows/arrowBlackLeft-onWhite50-41h.png') right bottom no-repeat !important;
}
.amazingslider-arrow-right-30, .amazingslider-arrow-left-30
{
	display:block!important;
}