@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap");

/* 
Theme Name: Sklep Proma Elektronika
Theme URI: https://proma-elektronika.com/
Author: WEB-TECH
Author URI: https://webtech.com.pl
Description: Sklep dla firmy proma
Version: 1.0
License: Do not copy
*/
:root {
  --main-background-color: rgb(37, 83, 221);
}


.cookies-banner{
  position: fixed;
  bottom: 30px;
  left: 31px;
  width: 350px;
  background: #ffffff94;
  padding: 25px;
  z-index: 1;
  backdrop-filter:blur(10px);
  display: none;
}

/* .woocommerce-checkout .select2-search__field{
  display: none!important;
} */

.cookies-banner span {
  position: absolute;
  right: 15px;
  top: 10px;
  padding: 1px 8px;
  text-align: center;
  border: 1px solid black;
  border-radius: 50%;
  cursor: pointer;
}


#tab-description > h2:first-of-type{
  display: none;
}

#web_tech_view_check_field input::-webkit-outer-spin-button,
#web_tech_view_check_field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
#web_tech_view_check_field input[type=number] {
  -moz-appearance: textfield;
}

.woocommerce form .show-password-input, .woocommerce-page form .show-password-input{
  top:0!important;
}

.single-post #content iframe{
  display: none;
  width: 100%!important;
}

.single-product .up-sells .products {
  margin:0;
}
.single-product .up-sells .products .onsale {
    transform: rotateZ(45deg);
    top: 25px!important;
    right: -30px!important;
    left: auto;
    margin: -.5em -.5em 0 0;

}

.page-id-21 #content{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.page-id-21 #content h1{
display: none;
}

.page-id-21 #content > div {
  flex: 1 1 30%;
  padding: 10px;
  border: 1px solid lightgray;
  margin: 10px;
  box-shadow: 0 12px 9px -9px lightgrey;
  transition: .4s;
}

.page-id-21 #content > div:hover {
  box-shadow: 0 12px 20px -9px lightgrey;
}
.page-id-21 #content > div h2 {
  position: relative;
  font-size: 30px;
}

.page-id-21 #content > div h2:after {
    content: '';
    width: 100%;
    position: absolute;
    height: 1px;
    display: block;
    background: lightgray;
    top: 40px;
}


.page-id-21 #content > div h2 strong {
  font-weight: 100;
}
.page-id-21 #content > div p {
 text-align: center;
 margin: 20px 0 0 0;
}
.page-id-21 #content > div p:first-of-type {
 margin: 30px 0 0 0;
}
.page-id-21 #content > div img{
 width: 100%;
}


.woocommerce div.product .woocommerce-tabs ul.tabs{
  margin: 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li{
  border:none;
  background:transparent;
  margin: 0;
  padding: 5px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:nth-of-type(1){
 padding-left: 0;  
 border-right: 1px dotted lightgray;

}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 0;
  color: black;
  text-decoration: none;
  padding-right: 10px;
  font-weight: 300;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active > a {
  font-weight: bold ;
}

.woocommerce div.product .woocommerce-tabs .panel {
  margin:  15px 0 20px 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after{
  display: none;
}


.select2-container--default .select2-selection--single {
  border-radius: 0;
}
#ppc-button-minicart {
  display: none;
}

.paypal-button-container {
  max-width: 100px !important;
  width: 100px !important;
  min-width: 100px !important;
}

body {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-family: "Open Sans", sans-serif;
  line-height: 25px;
}

a,
span,
input,
textarea,
p,
strong,
li {
  text-decoration: none;
  color: black;
  font-family: "Open Sans", sans-serif;
  margin: 0;
}

input,
textarea,
select {
  border: 1px solid lightgray;
}

a {
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: lighter;
  font-family: "Open Sans", sans-serif;
}

.woocommerce ul.products li.product .price {
  font-weight: lighter;
  font-size: 18px;
  margin: 10px 0;
}

.home .woocommerce ul.products li.product .price {
  text-align: center;
}
.woocommerce ul.products li.product .woocommerce-price-suffix {
  color: black;
}

.woocommerce-loop-product__title {
  height: 50px;
  padding: 0 !important;
  margin: 10px 0 !important;
  font-size: 17px !important;
}

.woocommerce ul.products li.product a img {
  margin: 0;
}

#scroll_to_top {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 40px;
  z-index: 99;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: 0.4s;
  border: 1px solid lightgray;
  text-align: center;
}
#scroll_to_top i {
  color: gray;
}

.wpcf7 form .wpcf7-response-output {
  border: 2px solid #00a0d2;
  padding: 10px;
  top: -30px;
  position: relative;
  margin: 0;
}

.add_to_cart_button,
.added_to_cart,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.page-id-16 .wrap input[type="submit"],
.woocommerce input.button {
  background-color: rgb(233, 233, 233) !important;
  border-radius: 0 !important;
  font-weight: lighter !important;
  color: black !important;
  border: 1px solid rgb(233, 233, 233) !important;
  transition: 0.4s;
  display: block !important;
  text-align: center;
  margin: 10px 0;
  transition: 0.4s;
  text-transform: capitalize;
  cursor: pointer;
}
.page-id-16 .wrap > div input[type="submit"] {
  padding: 5px 10px;
}

.add_to_cart_button:hover,
.added_to_cart:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: black !important;
  color: white !important;
}

.single-product div.product p.price,
.single-product div.product span.price {
  font-size: 25px;
  margin: 20px 0 10px 0;
  color: black;
}

.single-product .related {
  clear: both;
}

.single-product .related .products {
  margin: 0;
}

.single-product .quantity .qty {
  width: 30px;
  text-align: center;
  padding: 5px;
  border: 1px solid;
}

.single-product div.product form.cart {
  clear: both;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.added_to_cart {
  padding-top: 0 !important;
}
.add_to_cart_button:hover,
.added_to_cart:hover {
  background-color: rgb(233, 233, 233) !important;
  color: black !important;
  border: 1px solid rgb(233, 233, 233) !important;
}

#place_order {
  border: 1px solid black !important;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-product .product ul {
  list-style: disc;
  margin-left: 20px;
}

div {
  box-sizing: border-box;
}

#primary:not(.home #primary) {
  z-index: 101;
  padding: 20px 0;
}

.container,
.woocommerce-checkout #primary,
.woocommerce-cart #primary,
.single-product #primary {
  max-width: 1180px;
  margin: auto;
}

.woocommerce-cart .coupon {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.woocommerce-cart .product-thumbnail img {
  width: 80px !important;
  display: block;
  margin: auto;
}
.webtech_show_message {
  width: 100%;
  text-align: center;
  padding: 10px;
  background: var(--main-background-color);
  font-size: 20px;
  text-transform: uppercase;
  color: white;
  box-shadow: 1px 5px 10px 5px lightgrey;
}

/* OWL */
.home .slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.home .slider img {
  object-fit: cover;
}

.home .slider .owl-nav {
  display: flex !important;
  position: absolute;
  top: 50%;
  width: 100%;
  justify-content: space-between;
}

.home .slider .owl-nav button i {
  color: white !important;
  font-size: 50px;
  opacity: 0.2;
  transition: 0.4s;
}

#video_container:hover #video-controls {
  opacity: 1;
}

.home .slider .owl-nav button i:hover {
  opacity: 1;
}

/* HEADER */

header:not(.woocommerce-products-header) {
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}
header a,
footer a {
  font-weight: normal;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .quick_contact a {
  font-size: 13px;
}

header .mini_basket {
  position: relative;
  width: 50px;
  margin-left: 10px;
  cursor: pointer;
}

header .mini_basket_amount{
  font-size:20px;
}

header .mini_basket .widget_shopping_cart_content .basket_content_inner {
  position: absolute;
  width: 250px;
  z-index: 100;
  background: white;
  padding: 10px;
  display: none;
  left: -125px;
}

header .mini_basket .widget_shopping_cart_content img {
  width: 60px;
  height: 60px;
}

header
  .mini_basket
  .widget_shopping_cart_content
  li:not(.widget_shopping_cart_content li:last-of-type) {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin: 5px 0;
  border-bottom: 1px solid lightgray;
  position: relative;
  text-align: left;
}

header
  .mini_basket
  .widget_shopping_cart_content
  .woocommerce-mini-cart__buttons,
header
  .mini_basket
  .widget_shopping_cart_content
  .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid lightgray;
  padding: 5px 0;
}

header
  .mini_basket
  .widget_shopping_cart_content
  .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 5px 0;
}

header
  .mini_basket
  .widget_shopping_cart_content
  .woocommerce-mini-cart__buttons
  a {
  background-color: rgb(233, 233, 233) !important;
  border-radius: 0 !important;
  font-weight: lighter !important;
  color: black !important;
  border: 1px solid rgb(233, 233, 233) !important;
  transition: 0.4s;
  padding: 5px 10px;
  display: block !important;
  text-align: center;
  margin: 10px 0;
}

header
  .mini_basket
  .widget_shopping_cart_content
  .woocommerce-mini-cart__buttons
  a:hover {
  font-weight: bold !important;
}

header .mini_basket .widget_shopping_cart_content p,
header .mini_basket .widget_shopping_cart_content a,
header .mini_basket .widget_shopping_cart_content li {
  font-size: 13px !important;
  line-height: 20px;
  position: relative;
  transition: 0.4s;
  padding: 0 5px;
  box-sizing: border-box !important;
  font-weight: 500 !important;
}

header .mini_basket .widget_shopping_cart_content li {
  padding: 5px 10px;
}
header .mini_basket .widget_shopping_cart_content li:hover {
  background-color: lightgray;
}

header .mini_basket .widget_shopping_cart_content .remove_from_cart_button {
  color: red;
  position: absolute;
  right: 5px;
  font-weight: bold;
  text-align: center;
  z-index: 10000;
  transition: 0.5s;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 1.5em;
}

header
  .mini_basket
  .widget_shopping_cart_content
  .remove_from_cart_button:hover {
  background-color: red;
  color: white;
}

header .logo {
  display: flex;
  justify-content: space-between;
  flex-basis: auto;
  width: 200px;
}

header .main-navigation {
  display: flex;
  justify-content: space-between;
  flex: 1 1 auto;
}

header .main-navigation .menu-glowne-container {
  width: 100%;
}

header .main-navigation i.mobile_menu,
header .main-navigation .mobile {
  display: none;
}

header .main-navigation ul {
  display: flex;
  justify-content: space-around;
}

header .main-navigation ul li {
  position: relative;
}

header .main-navigation ul a {
  text-transform: uppercase;
  position: relative;
  transition: 0.4s;
  font-size: 13px;
}

header .main-navigation ul a:hover {
  filter: drop-shadow(0 0 0);
}

header .main-navigation ul a:after {
  content: "";
  width: 0;
  background: black;
  position: absolute;
  height: 1px;
  bottom: -5px;
  left: 0;
  transition: 0.4s;
}

header .main-navigation ul a:hover:after {
  width: 100%;
}

header .main-navigation ul.sub-menu {
  display: none;
  transition: 0.5s;
  position: absolute;
  padding: 10px;
  min-width: 210px;
  z-index: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  left: -70%;
}

header .main-navigation li.menu-item-has-children:after {
  content: "\25B6";
  transform: rotateZ(90deg);
  display: inline-block;
  top: 0;
  position: relative;
  margin-left: 3px;
  color: rgba(0, 0, 0, 0.7);
}

header .main-navigation ul.sub-menu li {
  padding: 5px;
  margin: 5px;
}
header .main-navigation ul.sub-menu a {
  font-size: 13px;
}

/* HEADER */

/* CATEGORY PAGE */

.category #content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.category #content > article {
  flex: 1 1 45%;
  margin: 5px;
  position: relative;
}
.category #content > article a {
  display: block;
}

.category #content > article h2 {
  position: absolute;
  top: 70.5%;
  left: 15px;
  padding: 10px 25px;
  background-color: rgba(255, 255, 255, 0.9);
}

.category #content > article .frame {
  position: absolute;
  width: 95%;
  height: 85%;
  top: 17px;
  left: 15px;
  border: 1px solid lightgray;
  overflow: hidden;
}

.category #content > article img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* HOME */

.home .tips {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.home .tips a {
  flex: 1 1 30%;
  position: relative;
  display: block;
  box-sizing: border-box;
  height: 250px;
  overflow: hidden;
  margin-top: 5px;
}
.home .tips a:nth-of-type(2) {
  margin: 5px 5px 0 5px;
}

.home .tips img {
  width: 100%;
  height: 100%;
}

.home .tips .frame {
  position: absolute;
  width: 95%;
  height: 85%;
  top: 20px;
  left: 15px;
  border: 1px solid lightgray;
  overflow: hidden;
}

.home .tips .frame:hover:before {
  left: 100%;
}

.home .tips .frame:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 70px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-30deg);
  transition: 1s;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.13) 77%,
    rgba(255, 255, 255, 0.5) 92%,
    rgba(255, 255, 255, 0) 100%
  );
}

.home .tips h3 {
  position: absolute;
  top: 69%;
  left: 15px;
  padding: 10px 30px;
  background-color: rgba(255, 255, 255, 0.9);
}

.home .main_products ul.products {
  display: flex;
  flex-wrap: wrap;
}
.home .main_products h2 {
  margin: 30px 0;
  text-align: center;
}

.home .main_products ul.products li,
.woocommerce ul.products li.product {
  margin: 5px;
  padding: 10px;
  border: 1px solid lightgray;
  overflow: hidden;
  transition: 0.3s;
}

.home .main_products ul.products li:hover,
.woocommerce ul.products li.product:hover {
  box-shadow: 0 10px 12px -10px lightgrey;
}

.woocommerce-shop h1.page-title{
  display: none;
}

.woocommerce-shop ul.products li.product .onsale {
  top: 20px;
  right: -35px;
  width: 150px;
  left: auto;
  margin: -0.5em -0.5em 0 0;
  border-radius: 0;
  transform: rotateZ(45deg);
  padding: 0;
  background: red;
  text-transform: uppercase;
}

.single-product span.onsale {
  top: 28px;
  width: 150px;
  left: -35px;
  margin: -0.5em -0.5em 0 0;
  border-radius: 0;
  transform: rotateZ(-45deg);
  padding: 0;
  background: red;
  text-transform: uppercase;
}

.single-product .woocommerce-product-details__short-description a {
  font-weight: bold;
}

.single-product .product {
  overflow: hidden;
}

.main-cta {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.main-cta .container {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  background-image: url("./assets/images/map.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.main-cta .container > div {
  display: flex;
  align-items: center;
  margin: 5px;
  flex: 1 1 30%;
}
.main-cta .container > div i,
.main-cta .container > div p {
  color: gray;
}
.main-cta .container > div > div:nth-of-type(2) {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: bold;
}

.main-cta i {
  font-size: 50px;
  margin-right: 20px;
}

.woocommerce-checkout input,
.woocommerce-checkout textarea {
  box-sizing: border-box;
  padding: 5px;
}

/* SINGLE POST */

.single-post .thumbnail_and_date {
  position: relative;
}
.single-post .thumbnail_and_date span.date {
  position: absolute;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 1;
  top: 0;
  left: 0;
  padding: 5px 20px;
  background-color: var(--main-background-color);
  color: white;
}

.single-post .thumbnail_and_date span.category {
  position: absolute;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 1;
  top: 0;
  right: 0;
  padding: 5px 20px;
  background-color: var(--main-background-color);
  color: white;
}
.single-post .thumbnail_and_date img {
  width: 100%;
  object-fit: cover;
}

.single-post form {
  max-width: 350px;
}

.single-post .post-categories {
  display: none;
}

.single-post form .comment-form-cookies-consent {
  flex-direction: row;
}

.single-post
  form
  .comment-form-cookies-consent
  input#wp-comment-cookies-consent {
  width: 40px;
  margin-top: 6px;
}

.single-post form > p {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
}

/* CONTACT PAGE */

.page-id-16 .wrap {
  display: flex;
  flex-wrap: wrap;
}
.page-id-16 .wrap > div {
  flex: 1 1 45%;
}

.page-id-16 #clock {
  font-weight: bold;
  margin: 0 0 5px 0;
}

/* FOOTER */
footer {
  border-top: 1px solid lightgray;
  padding: 40px 0 20px 0;
}

footer .site-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .site-info > div {
  flex: 1 1 30%;
}

footer .site-info > div:nth-of-type(1) p {
  padding: 0 30px 0 0;
}
footer a {
  display: block;
}



footer .copyright >.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0 0 0;
}

/* RESPONSIVE */
@media screen and (max-width: 797px) {
  header .mobile_menu {
    display: block;
    font-size: 20px;
    position: relative;
  }
  header .mobile_menu:after {
    content: "Menu";
    font-style: initial !important;
    text-transform: uppercase;
    margin-left: 5px;
  }

  header:not(.woocommerce-products-header) {
    position: relative;
  }

  header .main-navigation {
    position: fixed;
    flex-direction: column;
    z-index: 100000;
    background: white;
    top: 0;
    left: 0;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  header .main-navigation ul.sub-menu {
    position: relative;
    left: 20px;
  }

  header .main-navigation #menu-glowne {
    height: 100vh;
    display: none;
  }

  header .main-navigation ul li {
    margin: 10px 0;
  }

  header .container {
    flex-direction: column;
  }
  header .logo a {
    width: 100%;
  }

  header > .container > .mini_basket {
    display: none;
  }

  header .main-navigation i.mobile_menu,
  header .main-navigation .mobile {
    display: block;
  }

  .main-cta .container {
    flex-direction: column;
  }

  header .mini_basket {
    position: absolute;
    right: 10px;
    font-size: 16px;
  }

  .category #content > article {
    flex: 1 1 100%;
  }

  .home .tips a {
    flex: 1 1 100%;
  }

  .home .slider {
    height: auto;
  }

  .home .slider .owl-nav button i {
    font-size: 25px;
  }

  .home .slider .owl-nav {
    top: 45%;
  }

  .home .main_products ul.products {
    flex-direction: column;
  }

  .home .main_products ul.products li {
    width: 100% !important;
    box-sizing: border-box;
  }

  .webtech_show_message {
    font-size: 14px;
    margin-top: 45px;
  }

  .home .tips > a {
    height: 150px;
  }

  .home .tips .frame {
    width: 90%;
    height: 80%;
    top: 15px;
  }
  .category #content > article .frame {
    width: 92%;
    height: 85%;
  }

  .home .tips h3 {
    position: absolute;
    top: 56%;
    left: 15px;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.9);
  }

  .category #content > article h2 {
    position: absolute;
    top: 70.5%;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
  }

  .single-post #content img {
    width: 100%;
    display: block;
    margin: 5px 0;
    height: auto;
  }

  footer .site-info {
    flex-direction: column;
    padding: 10px;
  }

  #primary {
    padding: 10px !important;
  }

  .woocommerce ul.products li.product {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  .woocommerce .woocommerce-ordering {
    width: 100%;
  }
  .woocommerce .woocommerce-ordering > select {
    padding: 5px;
  }

  .main-cta i {
    font-size: 35px;
  }
  .main-cta p {
    font-size: 13px;
    font-weight: normal;
  }

  .page-id-16 .wrap > div {
    flex: 1 1 100%;
    margin: 10px 0;
  }

  .page-id-16 input,
  .page-id-16 label,
  .page-id-16 textarea {
    width: 100%;
    padding: 5px 5px 5px 0;
    box-sizing: border-box;
  }

  header .logo {
    margin-top: 40px;
  }
}
