/*
Theme Name: Studio Tworzenia Theme
Author: Krzysztof Głośnicki
Description:
Version: 1.0.0
*/

/*

	1. Layout
	2. Header
	3. Content
	4. Footer
	5. Front-page
	6. Formularz
	7. Sidebar
	8. Mobile Menu
	9. Other
	10. Margins and paddings
	11. Override

*/


/*===============================

	0. PRINT

================================*/



/*===============================

	1. LAYOUT

================================*/
* {
	box-sizing: border-box;
}
html {
	height: 100%;
}
body {
	background: #f9f9f9;
	font-family: Montserrat, 'Open Sans';
	font-size: 1.0rem;
	min-height: 100vh;
}
img {
	user-select: none;
	pointer-events: none;
}
p {
	margin-bottom: 0.4rem;
}
a {
	color: #009688;
}
a:hover {
	text-decoration: none;
}
input, button, submit {
	outline: none !important;
}
hr {
	background-color: #eaeaea;
}
ol, ul {
	list-style-position: inside;
}
li {
	margin-bottom: 0.3rem;
}
strong {
	color: #093f6a;
}
#page {
	display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 782px) {
	#header > .container {
		padding-right: 47px;
	}
	.wp-block-columns {
		margin-bottom: 6rem;
	}
	.wp-block-column:first-child {
	    padding-right: 2em;
	}
	.wp-block-column:last-child {
	    padding-left: 2em;
	}
}

#main > .wrapper {
	display: flex;
	flex-direction: row;
}

.hentry, .home-posts {
	width: 100%;
	padding: 0 10px;
}
#sidebar {
	width: 300px;
    display: inline-block;
    vertical-align: top;
}
.wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px;
	position: relative;
}
header .wrapper {
	padding-bottom: 0;
}
.tight {
	max-width: 800px;
	padding: 25px;
}

.whitebox {
	display: table;
    background: white;
    padding: 53px 45px;
    margin: 0 auto;
    box-shadow: 0 0 3px 0px #989898;
}

.shade-bg {
	background-color: #dcdcdc;
}
.murk-bg {
	background-color: #d4d6de;
}
.section-padding {
	padding: 80px 0;
}
.highlight {
	color: #ffd101;
}

.tick-list {
	list-style: none;
	margin-left: 0;
}
.tick-list li {
	padding-left: 40px;
  margin-bottom: 18px;
	background-image: url('images/tick.png');
	background-repeat: no-repeat;
	background-position: left center;
	height: 35px;
	line-height: 35px;
}


.primary-color-bg {
	background-color: var(--stworze-primary-color);
	color: var(--stworze-primary-text);
}
.primary-color-bg a {
	color: var(--stworze-primary-text);
}
.primary-color-bg strong {
	color: var(--stworze-accent-color);
}
.accent-color-bg {
	background-color: var(--stworze-accent-color);
}


/*===============================

	2. HEDAER

================================*/
.custom-logo {
	max-width: 417px;
	transition: all 0.4s ease;
}
body:not(.home) .bg-streach {
	background-color: var(--stworze-primary-color);
}
.header-features {
	padding-top: 52px;
}


#header-bar {
	position: fixed;
	width: 100%;
	z-index: 100;
	transition: all 0.4s ease;
}
.header-widgets .wp-block-group__inner-container {
	display: flex;
}
.header-widgets .wp-block-group__inner-container {
	display: flex;
}
.header-widgets .wp-block-image {
	margin-right: 0.5rem;
}
.header-widgets .wp-block-image img {
	height: 17px;
	width: auto;
}
.header-widgets .widget {
		color: #244070;
		line-height: 1;
}
.header-widgets .widget:not(:last-child) {
		margin-right: 0.5rem;
}

#header-bar.sticky .custom-logo {
	max-width: 222px;
}
#header-bar.sticky .header-buttons {
	display: none;
}
#header-bar.sticky {
	background-color: white;
	padding: 15px 25px !important;
}
#header-bar.sticky .mobile-menu-container {
	display: inline-block;
	padding-top: 12px;
}

#site-title {
	color: white;
}
#masthead {
	position: relative;
}
#header-overlay, #header-bg {
	width: 100%;
  height: 100%;
  position: absolute !important;
  background: #00000054;
}
.cycle-bg-image, .single-bg {
	background-repeat: no-repeat;
  background-size: cover;
	background-position: center center !important;
}
.header-info {
	display: inline-block;
    color: white;
    margin-top: 100px;
    vertical-align: top;
    text-align: right;
    width: 100%;
}
.header-info h1 {
	font-size: 35px;
}
.header-info h2 {
	font-size: 20px;
}


/*http://tobiasahlin.com/blog/css-trick-animating-link-underlines/*/
.menu li {
	display: inline-block;
	list-style: none;
}
.menu ul {
	list-style: none;
}

.menu  a {
  position: relative;
  color: #fff;
  text-decoration: none;
}
.menu  a:hover {
  color: #fff;
}
.menu  a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.menu  a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}


.current-menu-item {
	/*font-weight: bold;*/
}
/*  SUBMENU  */
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
	display: flex;
	flex-direction: column;
}
.nav-menu li {
  position: relative;
  line-height: 1.7;
}
.nav-menu a {
  color: #131313;
  text-decoration: none;
  display: block;
	white-space: nowrap;
}
.nav-menu > ul > li {

}
.nav-menu > ul > li > a{
  padding: 10px 10px;
}
.nav-menu > ul > li:hover > a{
  //background: #f0eeee;
}

/* Sub/Children Menu */
.nav-menu .sub-menu,
.nav-menu .children {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 1;
  background-color: #fff;
  min-width: 240px;
  display: none;
	border-radius: 2px;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:hover > .children {
  display: block;
}
.nav-menu .sub-menu a,
.nav-menu .children a {
	background-color: #fff;
  padding: 5px 10px;
	transition: background-color 0.3s ease;
}
.nav-menu .sub-menu li:hover a,
.nav-menu .children li:hover a {
  background-color: #f0eeee;
}
.nav-menu .sub-menu > li:first-child > a,
.nav-menu .children > li:first-child > a {
	padding-top: 10px;
}
.nav-menu .sub-menu > li:last-child > a,
.nav-menu .children > li:last-child > a {
  padding-bottom: 10px;
}

/* Grandchildren Menu */
.nav-menu .sub-menu .sub-menu,
.nav-menu .children .children {
    position: absolute;
    left: 100%;
    top: 0;
    background: #444;
}




/*===============================

	3. CONTENT

================================*/
.vcontainer {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
.vcontainer > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



.pmb-print-instructions a,
.pmb-help-ask {
	display: none;
}
.pmb-print-this-page a {
	color: #333 !important;
	font-size: 14px;
}
.pmb-print-this-page {
	justify-content: flex-start;
	margin-bottom: 3rem;
}

.post-thumbnail-archive {
	width: 300px;
	max-width: 100%;
	display: inline-block;
	margin-right: 20px;
}
.post-on-list {
	display: flex;
}
.post-lead-wrap {
	flex: 1;
}
@media (max-width: 512px){
	.post-on-list {
		flex-direction: column;
	}
	.post-thumbnail-archive {
		width: 100%;
	}
}

.entry-header.title {
	margin-bottom: 0.5rem;
}
.entry-content p {
	margin-bottom: 0.75rem;
}
@media print {
	.entry-content ul {
		list-style: disc;
	}
}
.entry-content ul {
	margin-bottom: 1rem;
	margin-left: 1.35rem;
}
.entry-content ul li {
	background: url(images/bullet_4.png);
  background-repeat: no-repeat;
  background-position: left 9px;
  padding-left: 17px;
  background-size: 9px;
}
.widgettitle,
.widget-title,
.nf-form-title h3 {
	font-weight: 700;
	margin-bottom: 1rem;
	font-size: 2rem;
}
li.widget {
	list-style: none;
}
.entry-title {
	font-weight: 700;
	font-size: 1.8rem;
	padding: 0 15px;
}
.post-title {
	font-size: 1.5rem;
	font-weight: bold;
}
.title .post-date {
	font-size: 17px;
	font-weight: normal;
	color: #a1a1a1;
}
#main {
	padding: 0px;
	flex: 1;
	position: relative;
}
.year {
	display: inline-block;
	font-size: 21px;
	font-weight: bold;
	margin-right: 21px;
}
article.post,
article.page {
  margin-bottom: 38px;
}
.navigation.pagination {
	display: block;
}
img.social-icon-logo {
	width: 30px;
	height: auto;
}
img.eu-logo {
	width: auto !important;
	height: 80px !important;
}



/*===============================

	4. FOOTER

================================*/
footer {
	position: relative;
	box-shadow: 0 -5px 18px 0px #9c9c9c
}
.site-footer {
	background-image: url(images/footer-bg.png);
	background-size: contain;
}
.bottom-bar {
	color: #8dc7cc;
  margin: 0;
	padding: 7px 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
}
.contact-info {
	display: table;
	margin: 0 auto;
}

.footer-image {
	max-width: 152px;
    margin: 10px;
    display: inline-block;
    vertical-align: top;
}

footer .menu-item {
	display: inline-block;
	margin-right: 15px;
}

#footer-widgets .textwidget img {
	max-width: 314px;
	margin: 0 20px
}
#footer-widgets {
	padding: 50px;
	background: #d4e3ea;
}




/*===============================

	5. FRONT PAGE

================================*/
.home header#header {
	border-bottom: none;
}
#header-static-image {
	height: 100vh;
	max-height: 1280px;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: row;
}
#header-static-image aside {
	width: 30%;
		position: relative;
}
#header-static-image main {
	position: relative;
	flex-grow: 1;
}
.lead-text {
	position: absolute;
	bottom:  20%;
	left: 50%;
	transform: translateX(-50%);
	background-color: hsl(0deg 0% 100% / 73%);
	font-size: 30px;
	color: #333;
	padding: 35px 83px;
	white-space: nowrap;
}
@media (max-width: 690px) {
	.lead-text {
		white-space: normal;
    font-size: 1.5rem;
    width: 100%;
    padding: 15px;
    text-align: center;
	}
}



/*===============================

	6. FORMULARZ

================================*/


#searchform .control:first-child {
    width: 100%;
}
.field-wrap.checkbox-wrap label {
	font-weight: 400;
  font-size: 14px;
}

#contact-form.whitebox {
	background: #ffffffd1;
}
#contact-form-holder {
    position: relative;
    top: -50px;
	width: 100%;
}
@media screen and (max-width: 639px)
{
	#contact-form-holder {
		top: 0;
	}
}
#contact-form {
	max-width: 826px;
}

#contact .whitebox {
    padding: 44px 45px;
}



/*===============================

	7. SIDEBAR

================================*/
.widget {
	padding: 15px;
}
#sidebar .widget {
	color: white;
	text-align: center;
	width: 300px;
}
#sidebar ul {
	list-style: none;
}

/*===============================

	8. MOBILE MENU

================================*/
.mobile-menu-container {
    display: none;
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #000;
    margin: 6px 0;
    transition: 0.4s;
}
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}
.change .bar2 {opacity: 0;}
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}
.header-widgets {
	min-width: 310px;
}
.header-widgets .widget {
	padding: 0 7px;
}

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

	#navbarBasicExample {
		display: none;
	}
	.mobile-menu-container {
		display: inline-block;
	}

}

.mobile-menu .sub-menu {
    display: none;
}

.mobile-menu .menu-item-has-children.hover:not(.active) .sub-menu {
	display: block;
}

.mobile-menu  {
  display: none;
  background: #ffffff;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 152px;
  width: 100%;
  padding: 5px 11px;
  border-bottom: 3px solid #02919f;
  z-index: 999;
  max-width: 300px;
}
.mobile-menu.change {
	display: none;
}
.mobile-menu ul {
	flex-direction: column;
}
.mobile-menu li {
	display: block;
}
.mobile-menu a {
	color: #333;
}
.mobile-menu .navbar-item,
.mobile-menu .navbar-link {
  color: #fff !important;
}
.mobile-menu .navbar-item:hover,
.mobile-menu .navbar-link:hover {
  background: #000;
  color: #00d1b2;
}

.mobile-menu .sub-menu {
  position: static !important;
  background: #e4e4e4 !important;
  width: 100% !important;
	padding: 5px 11px;
}












@media screen and (max-width: 710px) {
	.header-info {
		margin-top: 50px;
		width: 54%;
	}
	.header-features {
		padding: 20px 10px 0 0;
	}
}

@media screen and (max-width: 500px) {
	.header-info {
		margin-top: 30px;
		padding: 10px;
		width: 100%;
	}
	.header-features {
		padding: 0;
	}
	#main > .wrapper {
		flex-direction: column;
	}
	#sidebar {
		margin: 20px;
		width: 100%;
	}
	#sidebar .widget {
		width: 100%;
	}
}

/*===============================

	9. OTHER

================================*/
.modal-source {
	display: none;
}

/*===============================

	10. MARGINS AND PADDINGS

================================*/
.m0{ margin:0 }
.mt0{ margin-top:0 }
.mr0{ margin-right:0 }
.mb0{ margin-bottom:0 }
.ml0{ margin-left:0 }
.mx0{ margin-left:0; margin-right:0 }
.my0{ margin-top:0; margin-bottom:0 }

.m1{ margin: .5rem }
.mt1{ margin-top: .5rem }
.mr1{ margin-right: .5rem }
.mb1{ margin-bottom: .5rem }
.ml1{ margin-left: .5rem }
.mx1{ margin-left: .5rem; margin-right: .5rem }
.my1{ margin-top: .5rem; margin-bottom: .5rem }

.m2{ margin: 1rem }
.mt2{ margin-top: 1rem }
.mr2{ margin-right: 1rem }
.mb2{ margin-bottom: 1rem }
.ml2{ margin-left: 1rem }
.mx2{ margin-left: 1rem; margin-right: 1rem }
.my2{ margin-top: 1rem; margin-bottom: 1rem }

.m3{ margin: 2rem }
.mt3{ margin-top: 2rem }
.mr3{ margin-right: 2rem }
.mb3{ margin-bottom: 2rem }
.ml3{ margin-left: 2rem }
.mx3{ margin-left: 2rem; margin-right: 2rem }
.my3{ margin-top: 2rem; margin-bottom: 2rem }

.m4{ margin: 4rem }
.mt4{ margin-top: 4rem }
.mr4{ margin-right: 4rem }
.mb4{ margin-bottom: 4rem }
.ml4{ margin-left: 4rem }
.mx4{ margin-left: 4rem; margin-right: 4rem }
.my4{ margin-top: 4rem; margin-bottom: 4rem }

.ml-auto{ margin-left:auto }
.mr-auto{ margin-right:auto }
.mx-auto{ margin-left:auto; margin-right:auto; }

.p0{ padding:0 }
.pt0{ padding-top:0 }
.pr0{ padding-right:0 }
.pb0{ padding-bottom:0 }
.pl0{ padding-left:0 }
.px0{ padding-left:0; padding-right:0 }
.py0{ padding-top:0;  padding-bottom:0 }

.p1{ padding: .5rem }
.pt1{ padding-top: .5rem }
.pr1{ padding-right: .5rem }
.pb1{ padding-bottom: .5rem }
.pl1{ padding-left: .5rem }
.py1{ padding-top: .5rem; padding-bottom: .5rem }
.px1{ padding-left: .5rem; padding-right: .5rem }

.p2{ padding: 1rem }
.pt2{ padding-top: 1rem }
.pr2{ padding-right: 1rem }
.pb2{ padding-bottom: 1rem }
.pl2{ padding-left: 1rem }
.py2{ padding-top: 1rem; padding-bottom: 1rem }
.px2{ padding-left: 1rem; padding-right: 1rem }

.p3{ padding: 2rem }
.pt3{ padding-top: 2rem }
.pr3{ padding-right: 2rem }
.pb3{ padding-bottom: 2rem }
.pl3{ padding-left: 2rem }
.py3{ padding-top: 2rem; padding-bottom: 2rem }
.px3{ padding-left: 2rem; padding-right: 2rem }

.p4{ padding: 4rem }
.pt4{ padding-top: 4rem }
.pr4{ padding-right: 4rem }
.pb4{ padding-bottom: 4rem }
.pl4{ padding-left: 4rem }
.py4{ padding-top: 4rem; padding-bottom: 4rem }
.px4{ padding-left: 4rem; padding-right: 4rem }



img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

/*===============================

	11. OVERRIDE

================================*/
.navbar {
	background: none;
	display: flex !important;
}
.tingle-modal__close {
	right: 4.5rem;
	height: 63px;
}


/*===============================

	12. WEBSITE SPECIFIC

================================*/
/*		NINJA FORMS
/*==============================*/
.nf-form-cont .nf-error .nf-error-msg {
	font-size: 0.9rem;
	color: #e91e63;
}
.nf-form-cont .ninja-forms-req-symbol {
	color: var(--stworze-accent-color);
}
.nf-form-cont .nf-error.field-wrap .nf-field-element:after {
  background: #e91e63;
}
.nf-form-cont .nf-field-label label {
	font-weight: 400;
  font-size: 0.9rem;
}
.nf-form-cont .nf-form-content button,
.nf-form-cont .nf-form-content input[type=button],
.nf-form-cont .nf-form-content input[type=submit] {
	background-color: var(--stworze-accent-color);
	cursor: pointer;
}
.nf-field-container .field-wrap.checkbox-wrap,
.nf-field-container .field-wrap.submit-wrap {
	flex-direction: column;
  padding: 0;
}
.nf-form-cont .nf-field-description p {
  line-height: 1.1rem;
}
.nf-form-cont .nf-field-description span {
	color: #4a4a4a !important;
	font-family: Montserrat !important;
	font-size: 12px !important;
}
.nf-form-cont .nf-field-label {
	width: 300px;
}
.nf-form-cont .nf-form-content {
	padding: 15px 0;
}
.nf-form-cont .nf-form-content .list-select-wrap .nf-field-element>div,
.nf-form-cont .nf-form-content input:not([type=button]),
.nf-form-cont .nf-form-content textarea {
	color: #464646;
	background: none !important;
	border: 1px solid #808080;
}
/*==============================*/

#header-aside a {
	font-size: 35px;
	display: block;
	transition: all 0.4s ease;
}
#header-aside a:hover {
	transform: translateX(10px);
	color: var(--stworze-accent-color);
}
.w-800 {
	width: 800px;
	max-width: 100%;
	 margin: 0 auto;
}
#footer-third img {
	width: 275px;
}
.site-footer a {
	color: #18c2b1;
	transition: color 0.3s ease;
}
.site-footer a:hover {
	color: #000;
}
.site-footer strong {
	color: white;
}
.phone-call {
	padding: 6px 15px;
	background: #204ae3;
	border-radius: 20px;
	white-space: nowrap;
	border-bottom: 2px solid #888;
	color: #fff;
	font-size: 25px;
}
