@import url('https://fonts.googleapis.com/css?family=Lato:100,300,400,400i,700,900&subset=latin-ext'); 
@import url('https://fonts.googleapis.com/css?family=Muli:200,300,400,400i,600,600i,700,800,900&subset=latin-ext');
@import url('https://use.fontawesome.com/releases/v5.6.3/css/all.css');

html {height: 100%}
body {min-height: 100%; position: relative}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
#main {padding-bottom: 65px;}
body.custom-background {background-color: #fff !important}
.header-post-title-container > div > div {display: none}

:root {
  --color-primary: #77b804; 
  --color-primary-light: #a2fa06; 
  --color-secondary: #005260; 
  --color-secondary-light: #009bb5; 
  --font-size-base: 16px; 
  --font-secondary: 'Muli'; 
  font-size: var(--font-size-base);
  font-family: 'Lato', sans-serif;
}

.white, .full-white * {color: #fff;}
#second * {color: #262626 !important}


/* ==== FONTS ==== */
html {font-size: 16px}

h1, h2, h3, h4, h5, h6, a, p, li {font-family: 'Lato'}

h1, .h1 {font-size: 2.5rem}
h2, .h2 {font-size: 2.1rem}
h3, .h3 {font-size: 1.5rem}
h4, .h4 {font-size: 1.3rem}
h5, .h5 {font-size: 1rem}
h6, .h6 {font-size: 1rem}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
    font-weight: 700 !important;
    font-family: var(--font-secondary);
    line-height: 1.2;
}

h1, .h1, h2, .h2, h3, .h3 {color: var(--color-primary)}
.hcolor {color: var(--color-primary)}
body.home h1 {color: #262626}

p, a {
    font-size: 1rem;
    transition: 0.2s;
}

a {
    color: var(--color-primary);
    font-weight: bold;
}

a:hover {
    color: var(--color-primary-light)
}

.text-white, .text-white * {color: white; text-shadow: 2px 2px 2px black}

/**/
h1, h2, h3, h4, h5 {
    font-weight: bold;
    color: #000;
}

h1, h2 {
    color: var(--color-primary)
}

a.button-primary, a.button-secondary {
    padding: 10px 50px;

    font-weight: bold;
    box-shadow: 0 5px 5px -2px rgba(0, 0, 0, 0.6);
    transition: 0.2s;
    display: inline-block
}

a.button-primary:focus, a.button-secondary:focus {
    box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.6);
}

a.button-primary:active, a.button-secondary:active {
    transform: translateY(3px);
    box-shadow: 0 0 0 0;

}

a.button-primary {
	background: var(--color-primary);
	color: #fff;
}

a.button-secondary {
    background: var(--color-secondary);
    text-transform: uppercase;
    color: #fff;
}

a.button-primary:hover {
    background: var(--color-primary-light);
    letter-spacing: 2px;
}

a.button-secondary:hover {
    background: var(--color-secondary-light);
    letter-spacing: 2px;
}

/* ======== HEADER ======== */
#header-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 0;
}

#header-left-section {
    margin-right: auto;
}

#header-right-section {
    border-left: solid var(--color-secondary);
    padding: 10px 20px;
}


@media(max-width: 768px) {
    #header-right-section {
        display: none;
    }

    #header-left-section {
        margin: auto
    }
}

#header-right-section > #head_tel, #header-right-section > #head_tel2, #header-right-section > #head_mail {
    padding: 0;
    text-align: left;
}

#header-right-section > #head_tel a, #header-right-section > #head_tel2 a, #header-right-section > #head_mail a {
    font-size: 16px;
}

.header-contact-head {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 5px 0
}

/* #header-right-section > #head_tel2 {display: none}
#header-right-section > #head_mail {display: none;} */
#header-right-section > #head_tel::before, #header-right-section > #head_mail::before, #header-right-section > #head_tel2::before {
    content: 'tel: ';
    font-size: 16px;
}


#header-right-section > #head_mail::before {
    content: 'mail: '
}

#header-text-nav-wrap {
    display: flex;
    flex-direction: column;
}


#header-right-section * {font-size: 16px !important}
#header-logo-image img {
    max-width: 250px;
    padding: 10px 0;
}

#site-navigation {
    position: relative;
    background: var(--color-primary);
}

#site-navigation ul#menu-main-menu > li.menu-item > a {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    font-size: 16px;
    padding: 10px 15px;
    transition: 0.3s;
    font-family: var(--font-secondary);
    font-weight: 600;
}
#site-navigation ul#menu-main-menu > li.current-menu-item > a {font-weight: 800}
#site-navigation ul#menu-main-menu > li.current-menu-item > a, #site-navigation ul#menu-main-menu > li.menu-item:hover > a {
  background: var(--color-primary);
  color: #fff;
}

/*nawigacja mobilna*/
.main-small-navigation-right li {
    background: var(--color-primary)
}

.main-small-navigation-right li:hover {
    background: var(--color-secondary)
}

#header-bottom-nav {
    clear: both;
    background: var(--color-secondary);
    width: 100%;
    float: left;
    position: relative;
    z-index: 5;
    border-top: solid var(--color-primary);
}

#featured-slider {
  padding-top: 43px
}

/*==== ==== BOXY ==== ====*/
.secondSectionCell > div > div > div {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 5px 10px 3px rgba(0, 0, 0, 0.5);
    min-height: 320px;
    max-width: 320px;
    margin: 0 auto;
}

.secondSectionCell > div > div > div > p:first-of-type {
    min-height: 100px;
}

.secondSectionCell img {
    transition: 0.2s
}

.secondSectionCell:hover img {
    box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.5)
}

.secondSectionCell h5 {
    min-height: 135px;
}

/*==== ==== Home-contact ==== ====*/
#homeContact {
    display: flex;
    align-items: center !important;
    justify-content: center;
    border-top: solid 5px #262626;
}
#homeContact #second > div > div {
    border-left: solid #fff 1px;
}


@media(max-width: 768px) {
    #homeContact {
        display: flex;
        align-items: center !important;
        justify-content: center;
        flex-direction: column;
    }

    #homeContact #second > div > div {
        border-left: none;
    }
}

/* ======== FOOTER ======== */
footer#colophon > .footer-socket-wrapper {
    background: #000;
    padding: 15px 0;
}

footer#colophon > .footer-socket-wrapper * {
    color: #fff !important;
}

/*DEV CUSTOM*/
#imageSection .full-white p {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

#thirdSection > div > div {
    margin: 50px 0 !important;
    border-top: solid var(--color-primary);
    padding-top: 20px;
}


.secondSectionCell h3 {
    height: 80px;
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.boxicon {
    font-size: 100px;
    color: #262626;
    /* margin-bottom: 40px; */
    transition: 0.2s;
    text-shadow: #c0c0c0 -1px 1px 0, #c2c2c2 -2px 2px 0, #c3c3c3 -3px 3px 0, #c5c5c5 -4px 4px 0, #c6c6c6 -5px 5px 0, #c8c8c8 -6px 6px 0, #c9c9c9 -7px 7px 0, #cbcbcb -8px 8px 0, #ccc -9px 9px 0, #cecece -10px 10px 0, #cfcfcf -11px 11px 0, #d1d1d1 -12px 12px 0, #d2d2d2 -13px 13px 0, #d4d4d4 -14px 14px 0, #d5d5d5 -15px 15px 0, #d7d7d7 -16px 16px 0, #d8d8d8 -17px 17px 0, #dadada -18px 18px 0, #dbdbdb -19px 19px 0, #ddd -20px 20px 0, #dfdfdf -21px 21px 0, #e0e0e0 -22px 22px 0, #e2e2e2 -23px 23px 0, #e3e3e3 -24px 24px 0, #e5e5e5 -25px 25px 0, #e6e6e6 -26px 26px 0, #e8e8e8 -27px 27px 0, #e9e9e9 -28px 28px 0, #ebebeb -29px 29px 0, #ececec -30px 30px 0, #eee -31px 31px 0, #efefef -32px 32px 0, #f1f1f155 -33px 33px 0, #f2f2f255 -34px 34px 0, #f4f4f455 -35px 35px 0, #f5f5f555 -36px 36px 0, #f7f7f755 -37px 37px 0, #f8f8f855 -38px 38px 0, #fafafa55 -39px 39px 0, #fbfbfb55 -40px 40px 0, #fdfdfd55 -41px 41px 0, #ffffff55 -42px 42px 0;
}
.boxicon span {display: none}
.secondSectionCell > div > div > div:hover .boxicon {
    transform: translateY(-10px);
    font-size: 120px;
    text-shadow: 0 0 0
}

.main-navigation-right ul.sub-menu {
  background: var(--color-secondary);
  border-top: 1px solid #fff;
  color: #fff
}
.main-navigation-right ul.sub-menu li a {color: #fff}
.main-navigation-right ul.sub-menu li:hover a {
  color: #fff;
  background: var(--color-secondary-light);
}

#imageSection h3 {font-size: 26px;}

#contacts > div > div {
	border: dashed 1px;
	padding: 15px;
	min-height: 180px
}


.offer-box {padding: 50px 0}
div[class^="gallery"] img {box-shadow: 0 0 2px black}


#main ul:not(.iw-so-tabs-nav) {margin-top: 10px; padding-left: 10px}
#main ul:not(.iw-so-tabs-nav) {list-style: none !important}
#main ul:not(.iw-so-tabs-nav) > li {
	padding: 5px 0;
	padding-left: 5px;
	transition: 0.2s;
    border-bottom: dashed 1px var(--color-secondary);
}

#main ul:not(.iw-so-tabs-nav) > li:hover {background: rgba(0, 0, 0, 0.08)}
#main ul:not(.iw-so-tabs-nav) > li::before {
  content: '\f0da';
  margin-right: 5px;
  display: inline-block;
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  font-size: 13px;
  transition: 0.3s;
}
#main ul:not(.iw-so-tabs-nav) > li:hover:before {transform: translateY(-3px) translateX(-2px) scale(1.2)}

@media(min-width: 768px) {
  ul.ul-double {columns: 2;}
  ul.ul-double > li {margin: 0 auto}
}

/* ==== SLIDER IKONY ==== */
#featured-slider .nextSlider a, 
#featured-slider .prevSlider a {
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative
}
#featured-slider .nextSlider a::before,
#featured-slider .prevSlider a::before {
  font-family: "Font Awesome 5 Free"; 
  font-weight: 600; 
  font-size: 30px;
  text-shadow: 0 0 5px black;
  color: rgba(255, 255, 255);
  opacity: 0.75
}
#featured-slider .nextSlider a::before {content: '\f054'}
#featured-slider .prevSlider a::before {content: '\f053'} 
@media (max-width: 767px) {
  #controllers {display: none;}
}