/*---------------------------------------------------------------------------------

 Theme Name:   LG Strefa Klimatyzacji
 Theme URI:    
 Description:  Szablon dla Strefy Klimatyzacji firmy LG
 Author:       Radosław Jurzysta dla DumDum
 Author URI:   https://jurzysta.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* Deklaracje czcionek */
@font-face {
    font-family: 'LG Smart_Global';
    src: url('fonts/LGSmart-Bold.eot');
    src: url('fonts/LGSmart-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/LGSmart-Bold.woff') format('woff'),
        url('fonts/LGSmart-Bold.ttf') format('truetype'),
        url('fonts/LGSmart-Bold.svg#LGSmart-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'LG Smart_Global';
    src: url('fonts/LGSmart-BoldItalic.eot');
    src: url('fonts/LGSmart-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/LGSmart-BoldItalic.woff') format('woff'),
        url('fonts/LGSmart-BoldItalic.ttf') format('truetype'),
        url('fonts/LGSmart-BoldItalic.svg#LGSmart-BoldItalic') format('svg');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'LG Smart_Global';
    src: url('fonts/LGSmartLight-Light.eot');
    src: url('fonts/LGSmartLight-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/LGSmartLight-Light.woff') format('woff'),
        url('fonts/LGSmartLight-Light.ttf') format('truetype'),
        url('fonts/LGSmartLight-Light.svg#LGSmartLight-Light') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'LG Smart_Global';
    src: url('fonts/LGSmartLight-SemiBold.eot');
    src: url('fonts/LGSmartLight-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('fonts/LGSmartLight-SemiBold.woff') format('woff'),
        url('fonts/LGSmartLight-SemiBold.ttf') format('truetype'),
        url('fonts/LGSmartLight-SemiBold.svg#LGSmartLight-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'LG Smart_Global';
    src: url('fonts/LGSmart-Italic.eot');
    src: url('fonts/LGSmart-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/LGSmart-Italic.woff') format('woff'),
        url('fonts/LGSmart-Italic.ttf') format('truetype'),
        url('fonts/LGSmart-Italic.svg#LGSmart-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'LG Smart_Global';
    src: url('fonts/LGSmart.eot');
    src: url('fonts/LGSmart.eot?#iefix') format('embedded-opentype'),
        url('fonts/LGSmart.woff') format('woff'),
        url('fonts/LGSmart.ttf') format('truetype'),
        url('fonts/LGSmart.svg#LGSmart') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	font-family:LG Smart_Global,Arial,sans-serif;
	font-size:14px;
	color:#666;
	background-color:#fff;
	line-height:1.7em;
	font-weight:normal;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale
}
h1, h2, h3, h4, h5 {
	font-family:LG Smart_Global,Arial,sans-serif;
	font-weight: 300;
}

.input-field-dbem_rozmiar_koszuli {display:none;}
@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 
}
/* Poprawka mobilnego menu */
@media (max-width: 1200px) {
 #et_mobile_nav_menu {
 display: block;
 }
 
#top-menu {
 display: none;
 }
}
/* poprawka logo na mobile */
.et_header_style_left #logo, .et_header_style_split #logo {
}


#footer-bottom {
	margin-top: 24px;
}

#et-top-navigation {
	font-weight: 300;
}

/* Sticky footer
#main-footer {
position: absolute;
bottom: 0;
width: 100%;
} */

/* .current-menu-item {
	border-bottom: 2px solid #ac1847;
}
*/
/*Fix na superscript */

sup {
	bottom: .5em;
	font-size: 0.75em;
}

/* Poprawka do głównego kontenera */

#main-content .container {
	padding-top: 0;
}

/* Poprawki do inputów */

input.text,
input.title,
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="text"],
input[type="date"],
select,
textarea {
	padding: 8px;
	border: 1px solid #bbb;
	color: #4e4e4e;
	background-color: #fff;
}

label {
	display: inherit;
}

/* Social media */

.social-links {
	float: right;
	color: white;
}

.social-links > span,
.social-links > ul {
	display: inline-block;
	vertical-align: middle;
}

.social-links > ul {
	max-width: 600px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links > ul > li {
	position: relative;
	display: block;
	float: left;
	margin: 0;
	padding: 5px;
}

.social-links > ul > li a {
	display: inline-block;
}

.social-links > ul > li img {
	width: 27px;
	height: 27px;
	max-width: inherit;
}

/* Okruszki */

#breadcrumbs-wrapper {
	background-color: white;
	padding: 0 !important;
}

#breadcrumbs {
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	font-size: 15px;
}

#breadcrumbs {
	color: #000;
	margin: auto;
}
#breadcrumbs a {
	color: #767676;
}
#breadcrumbs a:hover {
	text-decoration: underline;
}
.okruszek {
	text-transform: uppercase;
}
.breadcrumbs {
	display: none;
}

.wp-caption {
	background-color: white;
	border: none;
	padding: 0;
}

.wp-caption p.wp-caption-text {
	font-size: 16px;
}

/* 6 kolumn */

.six-columns .et_pb_module {
	width: 16.66%;
	float: left;
}

.six-columns .et_pb_module .et_pb_main_blurb_image img {
	max-width: 150px;
	max-height: 110px;
}

.ikony img {
	max-height: 100px;
}

/*Equalize Blog Columns*/

.bloggrid .et_pb_salvattore_content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.bloggrid article {
	margin-bottom: 20px !important;
	-webkit-box-flex: 1;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

.bloggrid .post-content {
	-webkit-box-flex: 1;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.bloggrid .column {
	margin-bottom: 20px !important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}

/* Docięcie obrazków w module bloga */

.et_pb_post .entry-featured-image-url {
	max-height: 220px;
	overflow: hidden;
	margin-bottom: 0;
}

/* równa siatka

@media only screen and (min-width: 768px) {
	.custom_blog .et_pb_post {
		min-height: 580px;
		max-height: 580px;
	}
}
*/

/* równe zakładki */

.equal-tabs .et_pb_tabs_controls li {
	width: 50%; /*ustalamy tutaj ile % ma zajmować jedna zakładka*/
	text-align: center;
	height: 60px;
}

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

	/*tutaj ustalamy dla urządzeń mobilnych*/
	.equal-tabs .et_pb_tabs_controls li {
		width: 100%;
		text-align: center;
	}
}

/* równe zakładki 3 */
.equal-tabs-3 .et_pb_tabs_controls li {
	width: 33.3%; /*ustalamy tutaj ile % ma zajmować jedna zakładka*/
	text-align: center;
	height: 60px;
}

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

	/*change device breakpoint here depending on the number of tabs you have*/
	.equal-tabs-3 .et_pb_tabs_controls li {
		width: 100%;
		text-align: center;
	}
}

/* Kolorowanie zakładek dystrybutorów */
#dystrybutorzy ul.et_pb_tabs_controls li:nth-child(1), #dystrybutorzy .et_pb_tab_0 ul.filtrowanie li  {
	background-color: #978E8c;
	color:white !important;
}
#dystrybutorzy ul.et_pb_tabs_controls li:nth-child(2), #dystrybutorzy .et_pb_tab_1 ul.filtrowanie li {
	background-color: #BACFCD;
	color:white !important;
}
#dystrybutorzy ul.et_pb_tabs_controls li:nth-child(3),#dystrybutorzy .et_pb_tab_2 ul.filtrowanie li {
	background-color: #DEE8E7;
	color: #DDD !important;
}
/* kolorowanie filtrowania */

#dystrybutorzy .et_pb_tab_3 ul.filtrowanie li {
	background-color: #978E8c;
	color: white;
}

/* kolor aktywnej zakładki */

#dystrybutorzy ul.et_pb_tabs_controls li.et_pb_tab_active {
    background-color: #ac1847;
}
#dystrybutorzy ul.et_pb_tabs_controls li.et_pb_tab_active a {
	 color: white !important; 
}

/* Wyrównanie komórek w kalendarzu */

.em-calendar tbody td {
	width: 14.2%;
}

/*** Take out the divider line between content and sidebar ***/

#main-content .container:before {
	background: none;
}

/*** Expand the content area to fullwidth ***/

@media (min-width: 981px) {
	#left-area {
		width: 100%;
		padding: 23px 0px 0px !important;
		float: none !important;
	}
}

/* Dodatkowe style do kalendarza */

table.em-calendar td.eventful a,
table.em-calendar td.eventful-today a {
	color: #ac1847;
}

.entry-content tr td,
body.et-pb-preview #main-content .container tr td {
	border-top: 1px solid #888;
	padding: 6px 12px;
	vertical-align: top;
}

h4 .em-calendar {
	font-size: 16px;
}

.month_name + td {
	text-align: right;
}

td:nth-of-type(7n) {
	font-weight: bold;
}

/* Dystrybutorzy */

#dystrybutorzy p {
	font-size: 16px;
	line-height: 1.25em;
}
ul.filtrowanie {
	margin-top: 24px;
}
.filtrowanie ul {
	list-style: none;
}

ul.filtrowanie li {
	display: inline-block;
	text-transform: uppercase;
	font-size: 18px;
	color: white;
	margin-right: 4px;
	margin-bottom: 4px;
	cursor: pointer;
	background: #ac1847;
	padding: 5px 8px 2px;
	border-radius: 4px;
}

ul.filtrowanie li.active {
	color: #fff;
	background: #000 !important;
}

ul.lista {
	list-style: none;
	flex-wrap: wrap;
	display: flex;
	padding-bottom: 40px;
	border-bottom: 1px solid rgb(217, 217, 217);
}

@media (min-width: 768px) {
	div#dystrybutorzy ul.lista li {
		width: 33%;
		box-sizing: border-box;
		padding-right: 30px;
		margin-right: 0px;
	}
}

@media (max-width: 767px) {
	div#dystrybutorzy ul.lista li {
		width: 100%;
		box-sizing: border-box;
		padding-right: 30px;
		margin-right: 0px;
	}
}

ul.lista li {
	width: 313px;
	margin-right: 40px;
	margin-top: 60px;
	font-size: 14px;
	line-height: 21px;
	color: rgb(112, 111, 111);
}

ul.lista li em {
	clear: both;
	display: block;
	float: left;
	width: 20%;
}

ul.lista li span {
	display: block;
	float: right;
	width: 80%;
}

/* Instalatorzy */

td:nth-of-type(7n) {
	font-weight: bold;
}

.tablepress .column-6,
.tablepress .column-3 {
	min-width: 100px;
}

/* Ikonki do plików */

a[href$=".docx"]:before {
	content: url(images/4135583.png);
}

a[href$=".doc"]:before {
	content: url(images/4135583.png);
}

a[href$=".pttx"]:before {
	content: url(images/PowerPoint-icon.png);
}

a[href$=".ppt"]:before {
	content: url(images/PowerPoint-icon.png);
}

a[href$=".xlsx"]:before {
	content: url(images/Excel-icon.png);
}

a[href$=".xls"]:before {
	content: url(images/Excel-icon.png);
}

a[href$=".pdf"]:before {
	content: url(images/pdf_icon.gif);
}

a[href$=".PDF"]:before {
	content: url(images/pdf_icon.gif);
}

a[href$=".zip"]:before {
	content: url(images/zip.png);
}

a[href$=".z01"]:before {
	content: url(images/zip.png);
}

a[href$=".dwg"]:before {
	content: url(images/dwg-icon.png);
}

a[href$=".rfa"]:before {
	content: url(images/rfa-icon.png);
}

a[href$=".txt"]:before {
	content: url(images/txt-icon.png);
}

a[href*="wp-content"]:before {
	content: none;
}

/* Klasy do wydarzeń */

em-calendar.fullcalendar td.month_name {
	text-align: center !important;
	font-weight: bold;
	font-size: 18px;
}

.eventful-today {
	background-color: #f2f2f2;
}

.em-calendar td.eventful,
.em-calendar td.eventful-today,
.em-calendar td.eventless {
	vertical-align: top;
}

.input-user-field .input,
.input-text .input,
.input-textarea .input {
	min-width: 250px;
}

.lokalizacja ul,
.lokalizacja li {
	list-style-type: none;
	padding-left: 0;
}

#em-booking-submit {
	padding: 8px 15px;
	color: white;
	background-color: #ac1847;
	border: none;
	font-size: 16px;
}

/* Słowniczek */

.glossaryLinkMain {
	font-family: 'LG Semibold';
}

.ln-letters a.ln-selected {
	background-color: #ac1847 !important;
	color: white;
	border-radius: 4px;
}

.glossary-container.no-counts .large .ln-letters a {
	display: inline-block;
	text-align: center;
	height: 30px;
	width: 30px;
	cursor: pointer;
}

.ln-letters a,
.ln-letters a.ln-last {
	border: 0 !important;
}

/* Featured Image size fix 
body.single article.has-post-thumbnail > img:nth-of-type(1) { width:auto !important; height:auto !important; }
body.single article.has-post-thumbnail .et_post_meta_wrapper > img:nth-of-type(1) { width:auto !important; height:auto !important; } 
*/

/* Download */

.download-button-lg {
	text-align: center;
	text-decoration: none;
	padding: .75em 1em;
	display: block;
	font-size: 1em;
	line-height: 1.5em;
	border-radius: 4px;
	cursor: pointer;
	margin-bottom: 0.5em;
}

.download-button-lg:hover {
	background: #e2e2e2;
}

.download-button-lg img {
	border: 1px solid #ac1847;
}

.download-box-lg {
	width: 250px;
	text-align: center;
	position: relative;
}

.dlm-downloads {
	list-style-type: none !important;
}

span.current {
	color: #ac1847;
}

/* Nagłówki do tabel */

thead {
	font-weight: bold;
}

/* FAQ i pytania do eksperta 

.pytania a {
	cursor: pointer;
}

.pytania .post-meta,
.pytania .post-content {
	display: none;
}
*/

/*Formularze CF7 */

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

	input.wpcf7-text,
	input.wpcf7-textarea,
	span.wpcf7-list-item {
		width: 100%;
	}
}

input.wpcf7-text,
.wpcf7-textarea {
	width: 100%;
	font-size: 16px;
}

span.wpcf7-list-item {
	margin: 0;
	width: 100%;
}

.wpcf7-submit {
	background-color: #ac1847;
	padding: 12px 18px 10px;
	border: none;
	color: white;
	font-size: 16px;
	border-radius: 4px;
}

/* Newsletter */

.wymagane {
	color: #ac1847;
}

.newsletter label {
	font-size: 20px;
}

.newsletter input.wpcf7-text,
.newsletter span.wpcf7-list-item {
	width: 100%;
	border-radius: 2px 2px 2px 2px;
	border-width: 1px;
	border-color: #ac1847;
	font-size: 20px;
}

.newsletter input.wpcf7-text {
	padding: 16px;
}

.newsletter .kolumna1 input.wpcf7-text {
	margin-right: 20px;
}


.newsletter .kolumna {
	width: 50%;
	float: left;
}

.kolumna1 {
	padding: 0 20px 0 0;
}

.kolumna2 {
	padding: 0 0 0 20px;
}

.newsletter input[type="submit"] {
	float: right;
	font-size: 20px;
	border-radius: 2px;
}

br.clear {
	clear: both;
}

/* Tabele dystrybutorów */

table.contact-details,
table.contact-details td,
table.dystrybutorzy,
table.dystrybutorzy td {
	border: none;
}

table.contact-details th {
	padding: 0;
}

table.dystrybutorzy tr {
	border-bottom: 1px solid #eee;
}

table.dystrybutorzy td {
	vertical-align: top;
}

/* tabela instalatorów */

.dataTables_filter input {
	padding: 8px;
	border: 1px solid #bbb;
	color: #4e4e4e;
	background-color: #fff;
}

/* style do formularza francuzów */

form.pardot input,
form.pardot select {
	display: block;
	margin-bottom: 10px;
	width: 100%;
	min-height: 40px;
}

form.pardot input[type="submit"] {
	border-color: #ac1847;
	background-color: #ac1847;
	color: white !important;
}

/* style do checkboxa */
p.input-checkbox {
    display: table-row;
}
p.input-field-dbem_zgoda_na_dodanie
{
	display: block;
	max-width: 575px;
}
p.input-group.input-checkbox.input-field-newsletter {
	display: block;
	max-width: 728px;
}
p.input-checkbox input[type="checkbox"] {
    width: 16px !important;
}
p.input-checkbox label {
/*    white-space: nowrap; */
    float: right;
	}
p.input-group.input-checkbox.input-field-data_privacy_consent label {
	white-space: normal !important;
}

p.input-checkbox label:hover {
    cursor: pointer;
	}
p.em-booking-buttons {
	margin-top: 24px;
}
/* komunikaty błędu */
.em-booking-message-error {
	color: #c60000;
	padding-bottom: 16px;
}
/* Nadpiska stylu nagłówka tabeli */
.tablepress thead th, .tablepress tfoot th {
	background-color: #e3e3e3 !important;
}

/* Korekta formularzy do Solara */
#solar_formularz input.wpcf7-text, #solar_formularz .wpcf7-textarea {
	width: 100%;
}

/* Formularz do zahasłowanej strony */
.et_password_protected_form {
    width: 50%;
    margin: 40px auto;
}

/* korekta bordera w dystrybutorach */
.entry-content table:not(.variations) {
	border: none;
}

/* korekta szerokości menu */
.nav li ul {
	width: 320px;
}
#top-menu li li a {
    padding: 6px 15px;
    width: 280px;
}

/* Korekta górnego paddingu dla treści nie bazujących na Divi */
body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 0;
}

/* Nowy kalendarz */
.em.em-calendar .em-cal-body.event-style-pill .em-cal-event {
  height: fit-content !important;
  min-height: 56px;
}

.em.em-calendar .em-cal-body.event-style-pill .em-cal-event > div {
  height: fit-content !important;
  white-space: normal;
  overflow: visible;
  min-height:56px;
}
.em-cal-day.em-cal-col-6, .em-cal-day.em-cal-col-7 {
  background-color: #fafafa;
}
.em.em-calendar section.em-cal-days {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 8% 8%;
}