/*
	Theme Name: Krawdom
	Theme URI: 
	Description: 
	Version: 0.0.1
	Author: 
	Author URI: 
	License: 
	License URI: 
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/


/* VARIABLE */



:root {
	/* GENERAL */
    --footer-bg: #fff0e5;
	--body-color: #404042;
	
	/* COLOR */
	--color-1: #404042;
    --color-2: #ff6b00;
    --color-3: #fff0e5;
	--color-4: #8c8c8e;
	--color-5: #000;
	--color-6: #000;
	--color-7: #000;
	--color-link: #ff6b00;
	--color-hover: #404042;
	--color-btn-link: #ff6b00;
	--color-btn-hover: #404042;
	
	/* FONT */
	--font-1: "Poppins", sans-serif;
	--font-2: "Poppins", sans-serif;
	
	/* MENU */
	--menu-bg: #ffffff;
	--sticky-menu-bg: #FFFFFF;
	--menu-font: "Poppins", sans-serif;
	--color-menu: #404042;
	--color-menu-hover: #ff6b00;
	--color-sticky-menu: #404042;
	--color-sticky-menu-hover: #ff6b00;
	--color-toggle-menu: #404042;
	--color-toggle-menu-hover: #ff6b00;
}



/* END VARIABLE */




/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing:antialiased;
	-moz-font-smoothing: antialiased;
	text-rendering:optimizeLegibility;
}

@media (min-width: 1px) {
	html {
		font-size:100%;
	}
}

@media (min-width: 576px) {
	html {
		font-size:100%;
	}
}

@media (min-width: 768px) {
	html {
		font-size:80%;
	}
}

@media (min-width: 992px) {
	html {
		font-size:80%;
	}
}

@media (min-width: 1200px) {
	html {
		font-size:94%;
	}
}

@media (min-width: 1400px) {
	html {
		font-size:110%;
	}
}

body {
	font:300 11px/1.4 var(--font-2);
	color:var(--color-1);
	font-size: 1rem;
	position: relative;
	font-smooth: always;
}


.w-img-100 img{
	width:100%;
	height:auto
}

.w-video-100 video{
	width:100%;
	height:auto
}

p{
	font-size:0.9rem;
	line-height:1.9;
}



body {
	margin: 0;
	width: 100%;
	padding:0;
	height:100%;
	color:var(--body-color);
	font-weight:300;
}

.wrapper{
	
	width: 100%;
	height:100%;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: var(--color-link);
	text-decoration:none;
}
a:hover {
	color: var(--color-hover); 
	text-decoration: none; 
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid var(--color-2);
}


ol{
	margin-bottom:1rem;
}

ol li{
	margin-bottom:0.8rem;
}


blockquote{
	font-style:italic;
	padding:2rem;
	color:var(--color-5);
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/


main{
	width:100%;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/




/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:var(--color-2);
	color:white;
	text-shadow:none;
}
::-webkit-selection {
	background:var(--color-2);
	color:white;
	text-shadow:none;
}
::-moz-selection {
	background:var(--color-2);
	color:white;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 5px 5px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:white;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

.bypostauthor {
	
}

@media(max-width:575px){
	.container{
		padding-left:1.5rem;
		padding-right:1.5rem;
	}
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:var(--color-1) !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid var(--color-1);
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/*------------------------------------*\
    BOOTSTRAP OVERWRITE
\*------------------------------------*/



h2, .h2 {
	
}

h3, .h3 {
	
}

h4, .h4 {
	
}


b, strong {
	font-weight: 700;
}

/*------------------------------------*\
    CUSTOM
\*------------------------------------*/



@media (min-width: 768px) {
	.text-md-center p, .text-md-center a, .text-md-center div{
		text-align:center !important;
	}
	
	.text-md-start p, .text-md-start a, .text-md-start div{
		text-align:left !important;
	}
}

@media (min-width: 1px) {
	.text-center p, .text-center a, .text-center div{
		text-align:center;
	}
	
	.text-start p, .text-start a, .text-start div{
		text-align:left;
	}
}

.half-container, .half-container-xxl, .half-container-xl, .half-container-lg, .half-container-md, .half-container-sm {
	width:100%;
	max-width:100%;
}



@media (min-width: 576px) {
	.half-container-sm {
		width: 270px;
	}
}
@media (min-width: 768px) {
	.half-container-md,  .half-container-sm {
		width: 360px;
	}
}
@media (min-width: 992px) {
	.half-container-lg, .half-container-md, .half-container-sm {
		width: 480px;
	}
}
@media (min-width: 1200px) {
	.half-container-xl,  .half-container-lg, .half-container-md, .half-container-sm {
		width: 570px;
	}
}
@media (min-width: 1400px) {
	.half-container-xxl, .half-container-xl, .half-ontainer-lg, .half-container-md, .half-container-sm {
		width: 660px;
	}
}








.w-img-100 img{
	width:100%;
	height:auto;
}


.row-custom {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	
}

.vertical-align {
    display: flex;
    align-items: center;
}

iframe{
	
	max-width:100%;
}

iframe[title="YouTube video player"]{
	aspect-ratio:16/9;
	height: auto;
}


/*------------------------------------*\
    KOLORY
\*------------------------------------*/


.bg-white{
	background-color:white;
}

.bg-white-transparent{
	background-color:rgba(255, 255, 255, 0.8);
}


.bg-black{
	background-color:black;
}

.bg-color-1{
	background-color:var(--color-1);
}

.bg-color-2{
	background-color:var(--color-2);
}



.border-1{
	border:2px solid var(--color-1);
}

.border-2{
	border:2px solid var(--color-2);
}


.border-radius{
	border-radius:0.5em;
	overflow: hidden;
}

.border-style-1{
	border:1px solid #bbbbbb;
	padding:1.5rem;
	border-radius:1.5rem;
}


.color-1, .color-1 p{
	color:var(--color-1);
}

.color-2, .color-2 p{
	color:var(--color-2);
}


.white, .white p{
	color:white;
}

.black, .black p{
	color:black;
}


/* END COLORS */


/* BUTTONY */


/* BUTTON 1 */

a.btn-color-1, input.btn-color-1{
	padding: 0.6rem 1rem;
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    display: inline-block;
    position: relative;
	background-color:var(--color-2);
	color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-family: var(--font-1);
    font-size: 1.1rem;
	font-weight:600;
	text-transform:lowercase;
	border:1px solid var(--color-2);
}

a.btn-color-1:hover, input.btn-color-1:hover{
	background-color:var(--color-1);
	color:#fff !important;
	border:1px solid #fff;
}

a.btn-color-2, input.btn-color-2{
	padding: 0.6rem 1rem;
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    display: inline-block;
    position: relative;
	background-color:var(--color-1);
	color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-family: var(--font-1);
    font-size: 1.1rem;
	font-weight:600;
	text-transform:lowercase;
}

a.btn-color-2:hover, input.btn-color-2:hover{
	background-color:var(--color-2);
	color:#fff !important;
	
}


a.btn-color-3{
	padding: 0.6rem 1rem;
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    display: inline-block;
    position: relative;
    border:1px solid #ffffff;
	color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-family: var(--font-1);
    font-size: 1.1rem;
	font-weight:600;
	text-transform:lowercase;
}

a.btn-color-3:hover{
	background-color:var(--color-2);
	color:#fff !important;
	
}










.btn-color-1{
	position:relative;
	z-index: 1;
}



.btn-inactive{
	padding: 0.6rem 1rem;
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    display: inline-block;
    position: relative;
	background-color:var(--color-4);
	color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-family: var(--font-1);
    font-size: 1.1rem;
	font-weight:600;
	text-transform:lowercase;
	border:1px solid var(--color-4);
}



/*------------------------------------*\
    SEARCH FORM
\*------------------------------------*/


.nav{
	position:relative;
}





/* TITLE */



.title-1{
	font-family: var(--font-1);
	font-weight:700;
	position:relative;
	z-index:2;
	display: inline-block;
}

.title-1 span{
	z-index:1;
}



@media(max-width:767px){
	.title-1{
		line-height:1.2;
		margin-bottom:1.2rem;
		font-size: 2.9rem;
		margin-left: 1rem;
	}
	
	.title-1:before{
		content: '';
		background-color: var(--color-2);
		width: 6rem;
		height: 1.8rem;
		top: 1.9rem;
		left: -1rem;
		position: absolute;
		z-index: -1;
	}
}


@media(min-width:768px){
	.title-1{
		line-height:1.2;
		margin-bottom:1.4rem;
		font-size: 2.9rem;
		margin-left: 1rem;
	}
	
	.title-1:before{
		content: '';
		background-color: var(--color-2);
		width: 6rem;
		height: 1.7rem;
		top: 2rem;
		left: -1rem;
		position: absolute;
		z-index: -1;
	}
}


.title-2{
	font-family: var(--font-1);
	font-weight:700;
	display:inline-block;
	position:relative;
	width:100%;
}

@media(max-width:767px){
	.title-2{
		line-height:1.2;
		margin-bottom:1.2rem;
		font-size: 1.6rem;
	}
}


@media(min-width:768px){
	.title-2{
		line-height:1.2;
		margin-bottom:1.4rem;
		font-size: 2rem;
	}
}


.uppercase{
	text-transform:uppercase
}





.medium-txt {
    font-size: 1.2rem;
	line-height:1.3;
}

.small-txt {
    font-size: 0.8rem;
	font-weight:500;
	line-height:1.3;
}

.very-small-txt {
    font-size: 0.6rem;
	font-weight:500;
	line-height:1.3;
}


/* END TITLE */






/* HEADER */

header{
	
	width:100%;
	
}

@media(min-width:992px){
	
	header{
		top:0;
		width:100%;
		z-index:999;
	}
	
}


header{
	position:absolute;
	
}


/* END HEADER */

hr{
	border: 1px solid #323434;
	border-image-slice: 1;
	border-width: 1px;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	opacity: 1;
	margin: 0.5rem 0 0.5rem 0;
}



main .text-editor a:not(.btn-color-1){
	color:var(--color-1);
	text-decoration:underline;
}


.text-border p:last-child, .text-border h1:last-child, .text-border h2:last-child, .text-border h3:last-child, .text-border h3:last-child, .text-border h4:last-child{
	margin-bottom:0;
}


main .text-editor iframe{
	width:100%;
	height:25rem
}


/* FORMULARZ */



.wpcf7-radio .wpcf7-list-item-label{
	width: 100%;
	display: inline-block;
	text-align: center;
	margin-top: 1.5rem !important;
}


.wpcf7-radio input[type="radio"]{
	opacity:0;
	width: 1rem;
	height: 1rem;
	position: absolute;
	left: 50%;
	transform: translate(-50%,0);
	top: 0.1rem;
}

.wpcf7-radio label{
	position:relative;
}

.wpcf7-radio span.wpcf7-list-item{
	margin: 0 0.3rem !important;
}

.wpcf7-radio input[type="radio"] + span::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background-color: white;
	border: none;
	position: absolute;
	left: 50%;
	transform:translate(-50%,0);
	top: 0.1rem;
	cursor:pointer;
}


.wpcf7-radio input[type="radio"]:checked + span::before {
	background-color: white;
	content: '\f00d';
	color: var(--color-1);
	font-size: 0.8rem;
	font-family: FontAwesome;
	line-height: 1.2;
	text-align: center;
}



.wpcf7-form .form-txt p{
	font-size:0.8rem;
	
}
.wpcf7-form input:not(.wpcf7-submit){
	width:100%;
	border: none;
	padding:1rem;
	background-color:transparent;
}



.wpcf7-form .agreements input[type="checkbox"]{
	width: 1rem;
	height: 1rem;
	
}

.wpcf7-form textarea, form textarea{
	width:100%;
	border: none;
	padding:1rem;
	background-color:transparent;
}



.wpcf7-acceptance{
	display:inline-block;
}

.wpcf7-acceptance span.wpcf7-list-item-label{
	font-size:0.6rem;
	line-height: 1.3;
	font-size: 0.65rem;
	display: inline-block;
	padding: 0 0 0 1.5rem;
	position: relative;
	color:var(--color-1);
}




.wpcf7-form .form-class input.agreement {
	width: auto;
	margin: 0.1rem 0.5rem 0 0;
    margin-left: 0px;
	line-height: normal;
	position: absolute;
	left: 0;
	margin-left: -1rem;
}

input[type="checkbox"] + span::before, input[type="checkbox"] + p::before {
	content: "";
	width: 1rem;
	height: 1rem;
	background-color: white;
	border: 1px solid var(--color-link);
	position: absolute;
	left: 0;
	top: 0;
	cursor:pointer;
}

input[type="checkbox"] {
	opacity:0;
	position: absolute;
	left: 0;
	top: 0.1rem;
	width: 1rem;
	height: 1rem;
}


.wpcf7-list-item {
	display: inline-block;
	margin: 0;
}

.wpcf7-spinner{
	position: absolute;
	left: -3rem;
	margin:0 !important;
	top: 50%;
	transform: translate(0,-50%);
}

input[type="checkbox"]:checked + span::before {
	background-color: white;
	content: '\f00d';
	color: var(--color-link);
	font-size: 0.7rem;
	font-family: FontAwesome;
	line-height: 1;
	text-align: center;
}


.wpcf7-form-control-wrap {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin-bottom:0.5rem;
	width: 100%;
}

.wpcf7-form p {
	margin-bottom:0;
	color:var(--color-1);
	line-height: 1.3;
	font-size: 0.65rem;
}


.wpcf7-form .wpcf7-submit{

	border:0;

}

.wpcf7-form .wpcf7-submit:hover{

}

.wpcf7-form input:not(.wpcf7-submit), .wpcf7-form textarea, form input:not(.wpcf7-submit), form textarea {
	
	font-size: 1rem;
	border:1px solid var(--color-2);
}


.wpcf7 form .wpcf7-response-output{
	color:whitefff;
	font-size: 1rem;
}

.wpcf7-not-valid-tip {
	color: red;
	font-size: 0.8rem;
	font-weight: normal;
	display: block;
	top: calc(100% + 0.5rem);
}





.wpcf7-form .text-more{
	display:none;
}


.wpcf7-form .read-more{
	color:var(--color-link);
	cursor:pointer;
}

/* END FORMULARZ */









.box-border-radius{
	background-color: #ededed;
	border-radius: 1.5rem;
	border: 1px solid #bbbbbb;
}


article a span{
	color:#323434;	
}

article a:hover span{
	color:var(--color-2)
}


.text-editor ul:last-child{
	margin-bottom:0;
}



.text-editor ul{
	padding-left: 1rem;
	
}

.text-editor ol{
	padding-left: 1rem;
}


.text-editor ol li{
	margin-bottom:0.5rem;
}

.text-editor ol li.medium-txt{
	margin-bottom:1.5rem;
}

.text-editor ul li{
	list-style-type: disc;
	margin-bottom:0.5rem;
}


.text-editor ul li.medium-txt{
	margin-bottom:1.5rem;
}

.text-editor ul li::marker {
    color: inherit;
}


.text-editor p:last-child, .text-editor h1:last-child, .text-editor h2:last-child, .text-editor h3:last-child {
    margin-bottom: 0;
}



/* TABELKA */

.table-container {
	margin: 0;
	overflow-x: auto;
}

.text-editor table {
	max-width: 100%;
	width:auto;
	border-collapse: collapse;
	table-layout: auto;
}

.text-editor table th,
.text-editor table td {
	white-space: nowrap;
	padding: 0.8rem 0.4rem;
	font-size: 0.8rem;
	font-weight:500;
	width: auto;
	border:2px solid var(--color-3);
}

.text-editor table thead th {
	font-family: var(--font-1);
	font-weight: 600;
	color: white;
	background-color: var(--color-2);
}

.text-editor tbody tr:nth-child(even),
.text-editor table tr:nth-child(even) {
	background-color: rgba(255,107,0,0.1);
}


.text-editor table .zobacz a {
  padding: 0 2rem 0 0.8rem;
  position: relative;
}

.text-editor table .zobacz a:after{
	content: url(img/lupa.svg);
  width: 1rem;
  height: 1rem;
  display: inline-block;
  margin: 0 0 0 0.4rem;
  line-height: 1;
  position: absolute;
}


/* END TABELKA */



/* CUSTOM */

@media(min-width:768px){
	.column-2{
		-webkit-column-count: 2;
		column-count: 2;
		
	}
}


.span-no-margin span{
	margin:0 !important;
}



.cell-bg-orange{
	background-color:var(--color-2);
}


.cell-bg-gray{
	background-color:var(--color-4);
}


.cell-bg-gray-2{
	background-color:var(--color-4);
}

table td.zobacz{
	background-color:var(--color-1);
}



/* END CUSTOM */