/*
 Theme Name:   LibGig 2019
 Description:  LibGig Theme
 Author:       David Fox
 Template:     lac-base-theme
 Version:      1.0
 Text Domain:  libgig
*/

h3 {
  color: #4d4d4d;
}

/* -------------------------------------------------------------------------- */
/*                           Woocommerce style edits                          */
/* -------------------------------------------------------------------------- */
span.select2-selection.select2-selection--single {
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: #0078b0;
  border: 2px solid #0078b0;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: #fff;
  color: #0078b0;
}

.woocommerce ul.order_details li {
  margin-top: 8px;
  margin-bottom: 8px;
}
li.woocommerce-order-overview__date.date {
  color: inherit;
}

/* -------------------------------------------------------------------------- */
/*                          Holiday job posting form                          */
/* -------------------------------------------------------------------------- */
#field_16_4 {
  padding-top: 24px;
  position: relative;
}
#field_16_4:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.12);
}

.u-separator {
  margin: 32px auto;
  width: 64px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.12);
}

select, input {
  outline: none;
  height: 48px;
  padding: 0 0 0 16px;
  border: 1px solid rgba(0, 0, 0, 0.38);
  border-radius: 2px;
  width: 100%;
  background-color: #fff;
}
input[type="file"] {
  padding: 0;
  border: none;
  height: unset;
}

/* select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
} */
select:focus, input:focus,
select.has-error:focus, input.has-error:focus {
  border-color: #0078b0;
  border-width: 2px;
}
select.has-error, input.has-error {
  border-color: #dd3c26;
}

.c-input__container {
  margin-bottom: 32px;
}
.c-input__container:last-child {
  margin-bottom: 0;
}
.c-input__container label {
  display: block;
}

.c-input-select__container {
  position: relative;
}
.c-input-select__container select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}
.c-input-select__chevron {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 16px;
  top: 12px;
  pointer-events: none;
}
.c-input-select__chevron svg {
  fill: rgba(0, 0, 0, 0.60);
}

.c-fullscreen-popover__container {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  overflow: auto;
}
.c-fullscreen-popover__blackout {
  z-index: 1;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.20);
  left: 0;
  top: 0;
}
.c-fullscreen-popover {
  z-index: 2;
  position: absolute;
  top: 0;
  left: -webkit-calc(50% - 400px);
  left: calc(50% - 400px);
  width: 800px;
  min-height: 100vh;
  background-color: #fff;
  padding: 64px;

  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}
.c-fullscreen-popover__close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 24px;
  right: 24px;
}
.c-fullscreen-popover__close svg {
  fill: rgba(0, 0, 0, 0.38);
  cursor: pointer;
}
@media (max-width: 800px) {
  .c-fullscreen-popover {
    left: 0;
    width: 100%;
  }
}

.c-cart-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
@media (max-width: 600px) {
  .c-cart-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
            flex-direction: column;
  }
}

.c-cart-item__icon-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  margin-right: 32px;
}
.c-cart-item__icon {
  width: 100px;
}
.c-cart-item__info {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
          flex-grow: 1;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
          justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
@media (max-width: 600px) {
  .c-cart-item__info {
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
  }
}
.c-cart-item__data-block {
  margin: 8px 4px;
}

.c-loading-spinner {
  z-index: 10000;
}
.c-loading-spinner__rect {
  display: inline-block;

  width: -webkit-calc((100% / 5) - 8px);

  width: calc((100% / 5) - 8px);
  height: 100%;
  margin: 0 4px;

  background-color: rgba(255, 255, 255, 0.70);
  -webkit-animation: c-loading-spinner-keyframes 1.2s infinite ease-in-out;
          animation: c-loading-spinner-keyframes 1.2s infinite ease-in-out;
}
.c-loading-spinner__rect--2 {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s;
}
.c-loading-spinner__rect--3 {
  -webkit-animation-delay: -1.0s;
          animation-delay: -1.0s;
}
.c-loading-spinner__rect--4 {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
}
.c-loading-spinner__rect--5 {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s;
}
@-webkit-keyframes c-loading-spinner-keyframes {
  0%, 40%, 100% {
    -webkit-transform: scaleY(0.4);
            transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1.0);
            transform: scaleY(1.0);
  }
}
@keyframes c-loading-spinner-keyframes {
  0%, 40%, 100% {
    -webkit-transform: scaleY(0.4);
            transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1.0);
            transform: scaleY(1.0);
  }
}

.c-fixed-viewport-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
}

.c-blackout {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.20);
  left: 0;
  top: 0;
}


/**
 * Woocommerce overrides
 */
.woocommerce table.shop_table {
  border: none;
}
#add_payment_method .cart-collaterals .cart_totals tr td,
#add_payment_method .cart-collaterals .cart_totals tr th,
.woocommerce-cart .cart-collaterals .cart_totals tr td,
.woocommerce-cart .cart-collaterals .cart_totals tr th,
.woocommerce-checkout .cart-collaterals .cart_totals tr td,
.woocommerce-checkout .cart-collaterals .cart_totals tr th {
  border: none;
}

.woocommerce footer input[type="submit"],
.woocommerce-page footer input[type="submit"] {
    border: none !important;
}

.woocommerce div.cart-collaterals div.cart_totals table tr.order-total strong span.amount,
.woocommerce-page div.cart-collaterals div.cart_totals table tr.order-total strong span.amount,
.woocommerce div.cart-collaterals div.cart_totals table tr.order-total strong {
  color: inherit !important;
  font-size: inherit !important;
}

/* Properly align price items */
.woocommerce div.cart-collaterals div.cart_totals td {
  text-align: right;
}

.woocommerce div.cart-collaterals div.cart_totals th {
  padding-right: 24px;
  text-align: left;
}

.woocommerce .summary {
  float: left;
  width: 100%;
  box-sizing: border-box;
  padding-right: 5%;
}

.woocommerce .content .container .container_inner,
.woocommerce-page .content .container .container_inner {
  padding-top: 0;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  padding: .313em 0;
}

.woocommerce-checkout-review-order-table {
  border: none;
}

.woocommerce form.checkout table.shop_table tr.cart_item td {
  text-align: left;
}

.woocommerce input,
.woocommerce select {
  font-size: inherit !important;
  color: inherit !important;
  outline: none !important;
  height: 48px !important;
  padding: 0 0 0 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.38) !important;
  border-radius: 2px !important;
  width: 100% !important;
  background-color: #fff !important;
  border-radius: 2px !important;
}
.woocommerce input:focus,
.woocommerce select:focus {
  border-color: #0078b0 !important;
  border-width: 2px !important;
}

.woocommerce .checkout tr.order-total * {
  font-weight: bold !important;
  color: #12679b !important;
}

.woocommerce-additional-fields {
  display: none;
}

.order-total .woocommerce-Price-amount {
  color: #12679b !important;
}

.select2-container--default .select2-selection--single {
  height: 48px !important;
  line-height: 48px !important;

  background-color: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.38) !important;
  border-radius: 2px !important;
}

.woocommerce-account h2, .woocommerce-account h3, .woocommerce-checkout h2, .woocommerce-checkout h3 {
  margin-top: 0 !important;
  margin-bottom: 32px !important;
}

.woocommerce-checkout #billing_country_field, .woocommerce-checkout #shipping_country_field {
  height: auto !important;
}

/**
 * Put a nice border around the table heading
 */
table.shop_table.woocommerce-checkout-review-order-table {
  border-collapse: collapse;
  border-spacing: 0;
}
.woocommerce .checkout table.shop_table thead tr,
.woocommerce table.cart thead tr,
.woocommerce-account table.my_account_orders thead tr,
.woocommerce-page .checkout table.shop_table thead tr,
.woocommerce-page table.cart thead tr {
  border: 1px solid rgba(0, 0, 0, 0.38) !important;
}

.woocommerce th.product-total {
  width: 240px;
}
@media (max-width: 600px) {
  .woocommerce th.product-total {
    width: 140px;
  }
}

.c-dialog {
  z-index: 999;
  position: fixed;
  min-width: 320px;
  background-color: #fff;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}
.c-dialog--bottom-right {
  bottom: 0;
  right: 0;
}
.c-dialog--bottom-middle {
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(100%);
          transform: translateX(-50%) translateY(100%);

  -webkit-animation: c-dialog--bottom-middle 1s 1s ease-out forwards;
          animation: c-dialog--bottom-middle 1s 1s ease-out forwards;
}
@media (max-width: 480px) {
  .c-dialog {
    left: 0;
    right: 0;
    min-width: unset;
    -webkit-transform: none;
            transform: none;

    -webkit-animation: c-dialog--bottom-middle--mobile 1s 1s ease-out forwards;
            animation: c-dialog--bottom-middle--mobile 1s 1s ease-out forwards;
  }
}
.c-dialog__prompt {
  padding: 20px 24px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.60);
}
.c-dialog__actions {
  padding: 8px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: end;
          -webkit-justify-content: flex-end;
          justify-content: flex-end;
}

@-webkit-keyframes c-dialog--bottom-middle {
  0% {
    -webkit-transform: translateX(-50%) translateY(100%);
            transform: translateX(-50%) translateY(100%);
  }
  100% {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}
@keyframes c-dialog--bottom-middle {
  0% {
    -webkit-transform: translateX(-50%) translateY(100%);
            transform: translateX(-50%) translateY(100%);
  }
  100% {
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

@-webkit-keyframes c-dialog--bottom-middle--mobile {
  0% {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes c-dialog--bottom-middle--mobile {
  0% {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.content {
  z-index: unset !important;
}
.wrapper {
  z-index: unset !important;
}

.c-file-input__button {
  position: relative;
  outline: none;
  height: 48px;
  padding: 0 16px;
  font-size: 14px;
  text-transform: uppercase;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 2px;
  background-color: #0078b0;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
}
.c-file-input__button svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-right: 12px;
}

/**
 * Page template overrides
 */
.page-template-job-details-template .title_outer {
  display: none;
}

/**
 * Recptcha error.
 */
.g-repcatcha-error {
  text-align: right;
  color: red;
}

