/*
-- Spis treści --
0. Podstawowe
1. Typografia
2. Formularze
3. Nagłowek
4. Sekcje
5. Stopka
6. Mobile
*/

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');


/* 0. Podstawowe */

body {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    background-color: #2d2d39;
    color: #fff;
    background-repeat: repeat-x;
    background-position: top center;
    font-family: "Oswald", sans-serif;
}

html,body {
    overflow-x: hidden;
}

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

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

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

.bgwhite {
    background-color: #fff;
}

figure.dgwt-jg-item.jg-entry.jg-entry-visible {
    border-radius: 8px;
}

.head-mobile {
    display: none;
}

.klocki {
    width: 70px;
    height: auto;
    opacity: 0.1;
}

.klocki2 {
    width: 40px;
    height: auto;
    opacity: 0.1;
}

.vehicles-tlo {
    background-image: url(/wp-content/themes/mgklanding/img/vehicles-tlo.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 200px;
    min-height: 800px;
}

h2.komis {
    font-size: 55px;
    text-transform: capitalize;
}

.vehicles-list {
    margin-top: 30px;
}

.pojazdy {
    padding-top: 150px;
    min-height: 600px;
}

.vehicle {
    border: 1px solid #ffffff50;
    border-radius: 8px;
    padding: 10px 10px 30px 10px;
    margin: 20px;
}

.vehicle img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.vehicle h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    padding-bottom: 5px;
    opacity: 0.8;
}

.vehicle .detale {
    opacity: 0.5;
}

.vehicle a {
    color: #fff;
    text-decoration: none;
}

.vehicle .cena {
    font-size: 26px; 
    padding: 20px 0;
}

.vehicle .button {
    background-color: #ff0000;
    color: #fff;
    padding: 10px 40px;
    border-radius: 100px;
}

.vehicle .button:hover {
    background-color: #fc5656;
}

.brakwpisow {
    font-size: 19px;
}

/* 1. Typografia */

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.3rem;
}

h3 {
    font-size: 2.1rem;
    font-weight: 700;
}

p {
    color: #fff;
}


table {
    background-color: #00000050;
    border-radius: 8px;
    width: 100%;
    font-size: 20px;
    padding: 10px;
}

tr, td {
    padding: 10px 20px;
}

.tablabel {
    opacity: 0.3;
}

.telefony {
    background-color: #00000050;
    border-radius: 8px;
    padding: 20px 0;
}

.koniko2 {
    width: auto;
    height: 32px;
    margin: 10px 10px 10px 0;
    vertical-align: middle;
}

.tele1 a {
    color:#ff0000;
    font-size: 27px;
    text-decoration: none;
}

.whats1 a {
    color: #04C200;
    font-size: 27px;
    text-decoration: none;
}


.cena1 {
    font-size: 30px;
    font-weight: 700;
    color:#04C200;
}

.cena2 {
    font-size: 22px;
    color:#04C200;
}

.blog-pagination {
    margin-top: 90px;
}

.blog-pagination a {
    padding: 13px 30px;
    color: #fff;
    background-color: #ff0000;
    border-radius: 100px;
    text-decoration: none;
    margin: 0 20px;
    font-size: 17px;
}

.blog-pagination a:hover {
    background-color: #ff4e4e;
}

/* 2. Formularze */


#kontakt-cf7 {
	margin-top: 30px;
}

#kontakt-cf7 input[type="text"],
#kontakt-cf7 input[type="email"],
#kontakt-cf7 input[type="url"],
#kontakt-cf7 input[type="password"],
#kontakt-cf7 input[type="search"],
#kontakt-cf7 input[type="number"],
#kontakt-cf7 input[type="tel"],
#kontakt-cf7 input[type="range"],
#kontakt-cf7 input[type="date"],
#kontakt-cf7 input[type="month"],
#kontakt-cf7 input[type="week"],
#kontakt-cf7 input[type="time"],
#kontakt-cf7 input[type="datetime"],
#kontakt-cf7 input[type="datetime-local"],
#kontakt-cf7 input[type="color"],
#kontakt-cf7 textarea {
	color: #fff;
    background-color: #484855;
    padding: 14px;
    border-radius: 5px;
    border: 0;
    vertical-align: middle;
	width: 89%;
	font-size: 18px;
    margin-bottom: 17px;
    margin-top: 5px;
}

#kontakt-cf7 input[type="text"]:focus,
#kontakt-cf7 textarea:focus,
#kontakt-cf7 input[type="email"]:focus {
    background-color: #616172;
    border: 0;
}

#kontakt-cf7 input[type="text"]::placeholder,
#kontakt-cf7 textarea::placeholder,
#kontakt-cf7 input[type="email"]::placeholder {
	font-size: 13px;
	color: #fff;
}

#kontakt-cf7 button,
#kontakt-cf7 input[type="button"],
#kontakt-cf7 input[type="reset"],
#kontakt-cf7 input[type="submit"],
#kontakt-cf7 .btn,
#kontakt-cf7 .reply a {
    background-color: #000;
    border-radius: 5px;
	padding: 15px 65px;
    font-size: 14px;
	color: #fff;
	border: 0;
}

#kontakt-cf7 .wpcf7-submit:hover,
#kontakt-cf7 .wpcf7-submit:focus {
    background-color: #600000;
}

#kontakt-cf7 button:active, 
#kontakt-cf7 button:focus {
    background-color: #600000;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.spam .wpcf7-response-output {
    border-radius: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-radius: 5px;
}

label {
    font-size: 15px;
}    

/* 3. Nagłowek */

.site-header {
    padding: 35px 0 0 0;
    width: 100%;
    position: absolute;
    z-index: 999;
}

.site-header .logo img {
    max-width: 380px;
    height: auto;
}


/* Navigation Menu */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: right;
    margin: 10px 0;
    vertical-align: middle;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    font-weight: 800;
}

.main-navigation li {
    margin: 0 23px;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    letter-spacing: .4px;
    text-transform: uppercase;
    font-weight: 900;
    font-style: normal;
}

.main-navigation a:hover {
    color: #ffffffd2;
}

.main-navigation a:active {
    color: #ffffffd2;
}

.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
    display: none;
}
 
.main-navigation ul.nav-menu.toggled-on {
    position: absolute;
    display: inline-block;
    background-color: #111;
    top: 90px;
    right: 0;
    z-index: 999;
    width: 100%;
    padding: 20px;
}

.menu-toggle {    
    display: inline-block;
    font-size: 40px;
    padding: 4px 10px 8px 10px;
    color: #fff;
    background-color: transparent;
    border: 0;
    margin-top: -10px;
}

.current-menu-item {
    border-bottom: 1px solid #fff;
}

.iconmobile {
    width: 41px;
    height: 30px;
    padding: 10px 5px;
}

.menuicon {
    height: 24px;
    width: auto;
    vertical-align:middle;
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 1250px) {
    .main-navigation li {
        margin: 0 9px;
    }
    
    .main-navigation a {
        font-size: 21px;
    }
}        
    
@media screen and (min-width: 1024px) {
 
.main-navigation ul.nav-menu,
    .main-navigation div.nav-menu > ul {
        display: inline-block !important;
        text-align: left;
        width: 100%;
    }
    .main-navigation ul {
        margin: 0;
        text-indent: 0;
    }
    .main-navigation li a,
    .main-navigation li {
        display: inline-block;
        text-decoration: none;
    }
    .main-navigation li a {
        border-bottom: 0;
        white-space: nowrap;
    }

    .main-navigation li a:hover {
        opacity: 0.5;
    }
    
    .menu-toggle {
        display: none;
    }
     
}

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

    .main-navigation {
        margin-top: 0;
    }    

    .main-navigation li {
        text-align: center;
        line-height: 50px;
    }

    .current-menu-item {
        border: 0;
        background-color: #222;
        border-radius: 8px;
    }
}

/* back to top */

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    z-index: 999;
    border: 1px solid #fff;
}

#back-to-top:hover {
    background-color: #666;
}

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

/* 4. Sekcje */

.full-page-div {
    width: 100%;
}

.boxed-div {
    max-width: 1280px; 
    margin: 0 auto; 
}

.single-div {
    margin: 10px auto; 
}


.single-div .featured-image {
    display: flex;
    justify-content: center; 
    align-items: center;
    margin-bottom: 20px;
}    

.single-div .featured-image .wp-post-image {
    margin: 0 auto;
    border-radius: 8px;
    text-align: center;
}

h1.entry-title {
    margin: 50px 0;
    text-align: center;
}

.entry-content {
    font-size: 18px;
    line-height: 31px;
    letter-spacing: 1px;
}

.kontener {
    display: block;
}


.podtyt {
    width: 60px;
    height: 4px;
    background-color: #D9D9D9;
    display: block;
    margin-top: 9px;
}

section {
    background-position: center center;
    background-size: auto auto;
    background-origin: padding-box;
}

section#banner {
    padding: 0;
    margin:0;
    background-repeat: no-repeat;
    background-size: cover;
}


.mgk-slide-image img {
    max-width: 100%;
    height: auto;
}

.mgk-slide-content {
    display: none;
}


/* ken burns */

.slick-slide {
    overflow: hidden;
    transition: transform 1s ease; /* Dodajemy transition do wszystkich slajdów */
}

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

.slick-active img {
    animation: kenburns 10s infinite;
}

@keyframes kenburns {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ken burns */



section#zajawki {
    padding: 0;
    text-align: center;
}

section#zajawki h2 {
    font-size: 55px;
    margin-bottom: 50px;
}

section#zajawki h3 {
    font-weight: 800;
    font-size: 28px;
    padding: 0;
}

section#zajawki p {
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    padding: 0 80px;
    line-height: 31px;
}

.kafel1, .kafel2 {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 8px;
    max-width: 480px;
    margin: 30px auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 90px 0;
}

.kafel1:hover, .kafel2:hover {
    opacity: 0.8;
}

.kafel1 {
    background-image: url(/wp-content/themes/mgklanding/img/wall1.jpg);
}

.kafel2 {
    background-image: url(/wp-content/themes/mgklanding/img/wall2.jpg);
}

.kafa {
    color: #fff;
    text-decoration: none;
}

/* O nas */

.naglowek-onas {
    background-color: #000;
    text-align: center;
}

.autoonas {
    max-width: 100%;
    height: auto;
}

.blink {
    z-index: 88;
    margin-top: -960px;
    max-width: 100%;
    height: auto;
    text-align: center;
    animation: fadeInOut 1s ease-in-out infinite;
    }

    @keyframes fadeInOut {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

/* 5. Stopka */
footer {
    padding: 50px 0 30px 0;
    font-size: 18px;
    line-height: 24px;
}

footer a {
    color: #fff;
    text-decoration: none;
}  

footer h2 {
    font-size: 55px;
    margin-bottom: 70px;
}

footer h3 {
    font-size: 29px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 50px;
}

.widg1 {
    text-align: left;
}

.widg2 {
    text-align: left;
}

.widg3 {
    text-align: left;
}


.footer2 {
    position: relative;
    background-color: #2d2d39;
    color: #fff;
    padding: 100px 0 70px 0;
    border-top: 1px solid #ffffff60;
    letter-spacing: 1px;
    opacity: 0.3;
}

.footer2::before {
    content: "";
    background-image: url(/wp-content/themes/mgklanding/img/lex2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.15;
}

.footer2 > * {
    position: relative;
    z-index: 1;
}

.mapadiv {
    border-radius: 8px;
    border: 1px solid #ffffff60;
    padding: 10px;
}

.foot-adres {
    margin-bottom: 30px;
    font-size: 21px;
}

.social-button {
    margin-top: 15px;
}

.social-button:hover {
    opacity: 0.5;
}

.koniko {
    width: 16px;
    height: auto;
    margin: 10px 10px 10px 0;
    vertical-align: middle;
}

.widg1 a:hover {
    opacity: 0.5;
}

/* 404 */

.error404 {
    color: #fff;
}

.error404 p {
    color: #fff;
}

.button404 {
    background-color: #FF9100;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a.button404  {
    color: #fff;
    text-decoration: none;
}

.button404:hover {
    background-color: #ff0000;
}



/* 6. Mobile */

@media screen and (max-width: 1024px) {
    .site-header {
        margin: 0;
    }

    .head-mobile {
        display:flex;
    }

    .head-social {
        margin-top: 50%;
    
    }

    .main-navigation ul.nav-menu.toggled-on {
        top: 90px;
    }

    .mgk-slider {
        margin-top: 80px;
    }

    .entry-title {
        text-align: center;
    }

    .entry-content {
        margin:0;
        padding: 20px;
    } 

    section#zajawki {
        padding: 10px;
    }

    .kafel1, .kafel2 {
        padding: 40px 0;
        margin: 10px auto;
    }
    
    section#zajawki h2 {
        font-size: 35px;
        margin-bottom: 30px;
    }

    footer h2 {
        font-size: 35px;
        margin-bottom: 30px;
    }

    .klocki {
        width: 40px;
    }

    footer {
        padding: 20px 0 10px 0;
    }

    .widg1, .widg2, .widg3 {
        text-align: center;
        margin-bottom: 50px;
        padding: 10px;
    }
    
    #kontakt-cf7 {
        margin-left: 0;
    }

    .mapadiv {
        padding: 0;
    }
} 


/* mgk stopka */

[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    pointer-events: none;
}

[data-tooltip]:before {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-bottom: 5px;
    margin-left: -90px;
    padding: 7px;
    width: 170px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 13px;
    letter-spacing: normal;
    line-height: 1.2;
}

[data-tooltip]:after {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

/* mgk stopka (koniec) */