
/*
Theme Name: Stonik
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 8.2
Version: 0.0.1
Text Domain: txt
*/

:root {
    --dark: #222529;
    --light: #777777;
    --green: #7fc567;
}
html {
    overflow-x: hidden;
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 1.2;
    color: var(--light);
    position: relative;
}
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--dark);
}
h1 {
    font-size: 36px;
}
h3 {
    font-size: 25px;
}
td, th {
    padding: 8px;
}
.container::before,
.container::after {
    display: none;
}
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding:30px 30px 0 50px;
}
.header-wrap {
    display: flex;
    justify-content: space-between;
}
.header-logo img{
    background: rgb(0 0 0 / 60%);
}
.header-wrap .header-menu-toggle {
    display: flex;
    width: 48px;
    height: 36px;
    background: #000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
}
.header-menu-toggle span {
    color: #fff;
    font-size: 24px;
}
.main-menu-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    overflow-y: auto;
    overflow-x: auto;
    z-index: 10000;
    background-color: #222222;
    opacity: 1;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    -ms-transition: -ms-transform .5s;
    -o-transition: -o-transform .5s;
    transition: transform .5s;
}
.main-menu-wrap.show-menu {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}
body.admin-bar .main-menu-wrap {
    top:32px;
}
.toggle-close {
    text-align: right;
    padding: 5%;
}
.toggle-close span {
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}
.lang-phone-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 16px;
    border-bottom: 3px solid var(--green);
}
.lang-phone-wrap .phone {
    width: 100%;
    padding-left: 15px;
}
.lang-phone-wrap .phone a {
    color: #fff;
    text-decoration: none;
}
.lang-phone-wrap .phone a span {
    margin-right: 10px;
}
.langswitch {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    padding:5%;
    position: relative;
    background: #222;
    z-index: 1;
    
}
.langswitch .curr-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    cursor: pointer;
}
.langswitch .curr-lang .icon {
    color: #fff;
    font-size: 20px;
}
.langswitch .curr-lang span.icon.icon-arrow-left {
    font-size: 12px;
    transform: rotate(90deg);
    transition: all 0.3s ease-in-out;
}
.langswitch .curr-lang.active span.icon.icon-arrow-left {
    transform: rotate(-90deg);
}
.langswitch a {
    color:#fff;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}
.langswitch a:hover {
    color:#222;
}
.select-lang {
    position: absolute;
    display: flex;
    gap: 6px;
    flex-direction: column;
    right: 0;
    top: 100%;
    z-index: -1;
    opacity: 0;
    background: #7fc567;
    width: 100%;
    text-align: right;
    padding: 10px 37px 10px 0;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}
.select-lang.active {
    transform: translateY(0);
    opacity: 1;
}
.primary-menu-container ul {
    list-style: none;
    padding: 0;
}
.primary-menu-container ul li {
    padding-left: 5%;
    padding-right: 5%;
}
.primary-menu-container ul li a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px #111 solid;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5em;
    letter-spacing: normal;
    text-transform: uppercase;
    color:#fff;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.primary-menu-container ul li a:hover {
    color: #777777;
}
body.admin-bar header {
    top: 32px;
}
.footer-wrapper {
    background: #212529;
    padding-top: 4.75rem;
    padding-bottom: 2.4rem;
}
.footer-wrapper .container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:30px;
}
.footer-wrapper .logo img {
    width: 100%;
    height: auto;
}
.footer-col .title {
    margin-bottom: 1rem;
    font-size: 1em;
    color:#fff;
    font-weight: 700;
    text-transform: uppercase;
}
.port-logo img {
    max-height: 140px;
}
@keyframes navItemArrow {
    0% {
        position: relative;
        right: -1px;
    }
    50% {
        position: relative;
        right: 3px;
    }
    100% {
        position: relative;
        right: -1px;
    }
}
.footer-col .footer-menu-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu-container ul li {
    padding: 6px 0 6px 15px;
    border-bottom: 1px solid rgba(119,119,119,0.3);
}
.footer-menu-container ul li::before {
    content: "\e905";
    font-family: 'icomoon';
    margin-left: -11px;
    margin-right: 6px;
    font-size: 0.65rem;
    vertical-align: middle;
}
.footer-menu-container ul li:hover::before {
    animation: navItemArrow 0.6s linear infinite;
}
.footer-menu-container ul li a {
    color: #777777;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}
.footer-menu-container ul li a:hover {
    color:#fff;
}
.copyright {
    background: #1c2023;
    padding: 22px 0;
    font-size: 0.9em;
    text-align: center;
}
.copyright p {
    margin-bottom: 0;
}
.header-wrap .header-menu-toggle {
    display: flex;
}
.page-header-wrapper {
    position: relative;
}
.page-header-wrapper picture img {
    width: 100%;
    max-height: 240px;
}
.page-header-content {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
.page-header-content .page-header-title .title {
    color: #fff;
}
.stonik-slider picture img {
    width: 100%;
    height: auto;
}
.stonik-slider-wrap .nav {
    position: absolute;
    top: 50%;
    z-index: 999;
    color: #fff;
    width: 30px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    font-size: 32px;
    cursor: pointer;
}
.stonik-slider-wrap .nav.prev {
    left: 30px;
    transform: translateY(-50%);
}
.stonik-slider-wrap .nav.next {
    right: 30px;
    transform: translateY(-50%);
}
.paratext {
    padding-top:120px;
    padding-bottom: 90px;
}
.paratext p, .paratext h3 {
    color: #fff;
    background: rgb(0 0 0 / 50%);
    padding: 10px;
    text-align: center;
    font-size: 25px;
    line-height: normal;
}
.button-align-center {
    text-align: center;
}
.psbtn {
    border: none;
    background: var(--green);
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 5px;
    padding: 15px 30px;
    display: inline-block;
}
.psbtn:hover {
    color: #ffffff;
    outline: none;
    text-decoration: none;
}
.services-wrap {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.service-box a {
    text-decoration: none;
    text-align: center;
    display: block;
}
.service-box img {
    width: 100%;
    height: auto;
}
.service-box .title {
    font-size: 25px;
    transition: all .2s ease-in-out;
    opacity: 1;
    margin-top: 20px;
}
.service-box:hover .title {
    opacity: 0.8;
}
.wpcf7 {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 6px;
}
.wpcf7 input, .wpcf7 textarea, label {
    width: 100%;
    font-weight: 400;
}
.wpcf7 input, .wpcf7 textarea, label {
    width: 100%;
}
input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, .form-control, select, .porto-wpforms-inline .wpforms-field-large {
    background-color: #fff;
    color: #777;
    border: 1px solid;
    border-color: rgba(0,0,0,0.08);
    outline: none;
    box-shadow: none;
    text-align: left;
    line-height: 1.42857;
    padding: 8px 12px;
    font-size: 0.85rem;
    vertical-align: middle;
    height: auto;
}
button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
    cursor: pointer;
}
[type=submit] {
    padding: 8px 10px;
    line-height: 1.42857;
    background: var(--green);
    border: 1px solid var(--green);
    color: #fff;
}
.wpcf7-spinner {
    position: absolute;
}
.free-quote-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}
.free-quote-wrap picture img {
    width: 100%;
    height: auto;
}
.free-quote-wrap picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}
.cf-quote-wrap .wpcf7 {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 6px;
    max-width: 50%;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
}
.cf-quote-wrap input,
.cf-quote-wrap textarea {
    font-size: 17px;
}
.scroll-to-top {
    position: fixed;
    bottom: 0;
    right: 15px;
    transform: translateX(calc(100% + 30px));
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s ease-in-out;
}
.scroll-to-top span {
    width: 45px;
    height: 45px;
    background: rgba(64,64,64,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    transform: rotate(-90deg);
    transition: all 0.3s ease-in-out;
}
.scroll-to-top span:hover {
    color: var(--green);
}
.scroll-to-top.scroll{
    transform: translateX(0);
}
.menu-overlay {
    width: 100%;
    height: 100%;
    z-index: 9999;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    -ms-transition: -ms-transform .5s;
    -o-transition: -o-transform .5s;
    transition: transform .5s;
    background: rgba(0,0,0,0.3);
}
.menu-overlay.show-menu {
    opacity: 1;
    visibility: visible;
}
.admin-bar .mobmenu-overlay {
    top: 32px;
}
@media(min-width:1921px) {
    .stonik-slider-wrap {
        max-height: 800px;
        height: 100%;
        overflow: hidden;
    }
    .stonik-slider {
        height: 100%;
        max-height: 800px;
    }
}
@media(max-width:991px) {
    body.admin-bar header {
        top:0;
    }
    header {
        position: relative;
        padding: 20px 30px;
    }
    .header-wrap {
        align-items: center;
    }
    .header-logo img {
        background: none;
        max-width: 200px;
    }
    .header-wrap .header-menu-toggle {
        background: var(--green);
    }
    .cf-quote-wrap .wpcf7 {
        max-width: 100%;
    }
    .free-quote-wrap picture {
        display: flex;
        justify-content: center;
    }
    .free-quote-wrap picture img {
        width: auto;
        height: 100%;
    }
}
@media(max-width:767px) {
    .page-header-wrapper picture {
        display: flex;
        justify-content: center;
        overflow: hidden;
    }
    .page-header-wrapper picture img {
        width: auto;
    }
    .services-wrap,
    .footer-wrapper .container {
        grid-template-columns: repeat(2,1fr);
    }
    .footer-wrapper .container .footer-col:first-of-type {
        grid-column: span 2;
    }
    .footer-wrapper .container .footer-col:last-of-type {
        grid-column: span 2;
    }
    .footer-wrapper .logo,.footer-wrapper .port-logo {
        text-align: center;
    }
    .footer-wrapper .logo img {
        max-width: 200px;
    }
}
@media(max-width:600px) {
    .footer-wrapper .container,
    .services-wrap {
        grid-template-columns: repeat(1,1fr);
    }
    .service-box {
        max-width: 350px;
        margin: 0 auto;
    }
    .footer-wrapper .container .footer-col:first-of-type {
        grid-column: span 1;
    }
    .footer-wrapper .container .footer-col:last-of-type {
        grid-column: span 1;
    }
}
@media(max-width:480px) {
    .page-header-content .page-header-title .title {
        font-size: 32px;
    }
    .psbtn {
        font-size: 20px;
    }
    form.wpcf7-form.init h1,
    .paratext p, .paratext h3,
    .service-box .title,
    .vc_custom_heading {
        font-size: 24px !important;
    }
    .stonik-slider-wrap .nav {
        height: 60px;
        font-size: 25px;
    }
    .stonik-slider-wrap .nav.prev {
        left: 15px;
    }
    .stonik-slider-wrap .nav.next {
        right: 15px;
    }
}
@media(max-width:380px) {
    header{
        padding: 20px 15px;
    }
}
