/*
Theme Name: Busturas
Version: 1.0
Author: Webrom
Author URI: https://webrom.lt
Text Domain: webrom-theme
Domain Path: /languages
*/

:root {
  --white-color1: #ffffff;
  --green-color1: #096938;
  --green-color2: #005625;
  --green-color3: #e7f0ec;
  --green-hover1: #005625;
  --grey-color1: #e7f0ec;
  --grey-color2: #6c6d7b;
  --grey-color3: #777675;
  --grey-color4: #595b5d;
  --blue-color1: #0073ac;
  --black: #212427;
  --black-color1: #212427;
  --red-color1: #d91818;
  --orange: #fb9213;
  --gradient-green-background: linear-gradient(
    0deg,
   /* #086c38 10%,  */
   var(--green-color2) 10%,
   rgba(9, 105, 56, 0.5) 60%,
   rgba(9, 105, 56, 0) 100%
 );

  --gradient-green-background-hover: linear-gradient(
    180deg,
    rgba(9, 105, 56, 0) 0%,
    rgba(9, 105, 56, 0) 30%,
    rgba(9, 105, 56, 0.5) 40%,
    #096938 100%
  );

  --box-shadow: 4px 3px 51px 6px rgba(9, 105, 56, 0.1);
}

.container {
  width: 100%;
  max-width: 1340px;
  margin: auto;
  padding: 0 50px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--white-color1);
  font-family: 'Poppins';
  padding-top: 81px;
}

.h1 {
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  line-height: 45px;
}

.h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 39px;
}

.body1 {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.body2 {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.body3 {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 23px;
}

.subtitle3 {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.caption1 {
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.caption2 {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.caption3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.button1 {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.button2 {
  font-size: 15px;
  line-height: 23px;
  font-weight: 600px;
}

.button3 {
  font-size: 14px;
  line-height: 19px;
  font-weight: 600px;
}

.button4 {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.button5 {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.subtitle1 {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.subtitle2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

/* Form fields styling */
.form-fields {
  padding: 18px 30px;
  border-radius: 15px;
  border: 1px solid var(--grey-color3);
  background: #fff;
  color: var(--green-color1);
}

input::placeholder {
  color: var(--grey-color3);
}

.form-fields:focus {
  border: 2px solid var(--green-color1) !important;
  color: var(--green-color1) !important;
  outline: unset;
}

input[type='checkbox'] {
  accent-color: var(--green-color1);
  width: 20px;
  height: 20px;
}

input[type='text'],
input[type='email'] {
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid var(--grey-color3);
}

input[type='text']:focus,
input[type='email']:focus {
  outline: none !important;
  border: 2px solid var(--green-color1);
}

input[type='text']::placeholder,
input[type='email']::placeholder {
  font-size: 16px;
}

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

/* Date picker  */
.ui-datepicker {
  background-color: #ffffff;
  z-index: 3 !important;
  padding: 20px 30px;
  border-radius: 15px;
  border: 2px solid var(--green-color1);
}

.ui-datepicker-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.ui-datepicker-prev {
  order: 1;
  cursor: pointer;
}

.ui-datepicker-next {
  order: 3;
  cursor: pointer;
}

.ui-datepicker-title {
  order: 2;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
  display: none;
}

.ui-datepicker-prev::after {
  content: url('/wp-content/themes/busturas/assets/icons/cal_back_green.svg');
}
.ui-datepicker-next::after {
  content: url('/wp-content/themes/busturas/assets/icons/cal_next_green.svg');
}

.ui-datepicker-calendar {
  width: 100%;
  text-align: center;
  color: var(--grey-color3);
  font-size: 14px;
  font-weight: 600;
}

.ui-datepicker-calendar a {
  color: unset;
  text-decoration: none;
}

.ui-datepicker-calendar td {
  width: 25px;
  height: 25px;
}

.ui-datepicker-calendar td:hover {
  background-color: var(--grey-color1);
  border-radius: 5px;
}

.ui-datepicker-today {
  background-color: var(--green-color1);
  color: #ffffff;
  border-radius: 5px;
}

.ui-state-disabled {
  cursor: default;
}

.ui-state-disabled span {
  opacity: 0.5;
}
/* ------------ */

/* Overwrite wp gallery styles to ajust AWWW plugin */
.wp-block-gallery.has-nested-images.is-cropped
  figure.wp-block-image:not(#individual-image)
  picture {
  flex: 1 0 0%;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 700px) {
  .container {
    padding: 0 20px;
  }

  .form-fields {
    padding: 18px 20px;
  }
}
