/*
 * Theme Name:  Squaretype Child
 * Theme URI:   https://codesupply.co/themes/squaretype/
 * Description: Squaretype Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    squaretype
 * Version:     1.1.3
 */

/* Copy any classes from parent theme here. They will override the parent's version. */

/* START Custom Header CSS */
.navbar-wrap {
  border: 0;
}
.navbar-shadow-enabled.sticky-nav {
  box-shadow: 0 40px 60px rgb(51 51 51 / 5%);
}
.navbar-container .navbar-content {
  display: flex;
  justify-content: space-between;
  height: 72px;
}
.navbar-primary .navbar-brand {
  position: relative;
  -webkit-transform: none;
  transform: none;
  left: 0;
}
.header-compact.navbar-alignment-left .navbar-brand:not(:last-child) {
  margin-right: 0;
}

.navbar-contact-button {
  font-weight: 600;
  font-size: 14px;
  line-height: 125%;
  letter-spacing: -0.01em;
  background: #01416c;
  border-radius: 6px;
  color: white;
  padding: 0.75rem 1.25rem;
  display: none;
}

.navbar-contact-button:hover {
  color: white;
}

.toggle-offcanvas {
  color: #01416c;
}

@media screen and (min-width: 768px) {
  .navbar-container .navbar-content {
    height: 96px;
  }

  .navbar-brand img {
    max-height: 48px;
  }

  .toggle-offcanvas {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .navbar-container .navbar-content {
    height: 80px;
  }

  .navbar-contact-button {
    display: block;
  }
}
/* END Custom Header CSS */

/* START Sticky Contact Form Widget */
.sticky-contact-form {
  margin-top: 60px;
  padding: 2.5rem 1.125rem;
  box-shadow: 0px 4px 12px rgba(1, 65, 108, 0.12);
}

.sticky-contact-form .title,
.sticky-contact-form .description {
  color: #333333;
  text-align: center;
}
.sticky-contact-form .title {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}
.sticky-contact-form .description {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5;
}
.sticky-contact-form .description.success {
  color: green;
}
.sticky-contact-form .description.error {
  color: red;
}

.sticky-contact-form .field-group {
  margin-top: 1rem;
}

.sticky-contact-form label {
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  text-transform: uppercase;
  color: #01416c;
}

.sticky-contact-form input,
.sticky-contact-form select,
.sticky-contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  border: 2px solid #01416c;
  border-radius: 0.5rem;
}

.sticky-contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 12L16 20L24 12' stroke='%2301416C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  text-align: center;
}

.sticky-contact-form select:not([size]):not([multiple]) {
  height: auto;
}

.sticky-contact-form .note-label {
  display: flex;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.25rem;
  margin-top: 0.75rem;
  color: #01416c;
}

.sticky-contact-form .note-label:before {
  content: "*";
}

.sticky-contact-form .form-button {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.sticky-contact-form .submit-button {
  background-color: #2f80ed;
  color: #fff;
  padding: 1rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  box-shadow: 0 4px 4px rgb(0 0 0 / 12%);
  border-radius: 6px;
}
/* END Sticky Contact Form Widget */

/* Override Widget Width on tablet */
@media (min-width: 720px) {
  .sidebar-area {
    justify-content: center;
  }

  .sidebar-area .sidebar {
    flex: 0 0 70%;
    max-width: 70%;
  }
}

@media (min-width: 1020px) {
  .single-post .sticky-contact-form {
    margin-bottom: 2200px;
  }
  .sidebar-area {
    justify-content: start;
  }
  .sidebar-area .sidebar {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Comments Section Override */
.custom-cta-button-wrapper {
  display: flex;
  justify-content: center;
}

.custom-cta-button-wrapper .button {
  padding: 1.125rem 1.5rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.12);
  background: rgba(116, 193, 98, 1);
}

/* Custom Author Style */
.post-author {
  margin-bottom: 2rem;
}
.authors-default {
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.author-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}
.author-share-link .text {
  margin-right: 8px;
}
.author-share-link .link {
  display: inherit;
  padding: 6px;
  border-radius: 9999px;
}
.author-share-link .link:hover {
  background: #eeeeee;
}
.author-share-link .link .icon {
  color: #01416c;
}

/* Footer Override */

.footer {
  padding-top: 0;
  padding-bottom: 2rem;
  background-color: #01416c;
}
.footer hr {
  border-top-width: 1px;
  border-color: #c3e8d7;
  margin-top: 0;
  margin-bottom: 4rem;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 3rem;
  padding-right: 3rem;
  box-sizing: border-box;
}


.footer .menu-address {
  border: none;
  padding: 24px 0;
  position: relative;
  box-sizing: border-box;
}

.footer .menu-address::before,
.footer .menu-address::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: #ffffff;
  pointer-events: none;
}
.footer .menu-address::before { top: 0; }
.footer .menu-address::after { bottom: 0; }

.footer .menu-address .address {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 14px;
  padding: 24px 0;
}

.footer .menu-brand {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .menu-brand .wrapper-tos {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.footer .menu-brand .wrapper-tos .tos {
  display: flex;
  flex-direction: row;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  gap: 16px;
  list-style: none;
}

.footer .menu-brand .wrapper-tos .tos .tos-detail a {
  color: #ffffff;

}

.footer .menu-brand .wrapper-tos .icon-brand {
  text-align: center;
  align-items: center;
  color: #ffffff;
}

.footer .menu-brand .wrapper-logo {
  display: flex;
  gap: 12px;
}

@media (min-width: 1152px) {

  .footer .container {
    flex-direction: column;
    margin-bottom: 23px;
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 1170px !important;
    margin-left: auto;
    margin-right: auto;
  }
  .footer .company {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    flex: 0 0 80px;
  }
  .footer .menu-footer {
    width: 100%;
  }
  .footer .menu-footer > div {
    justify-content: space-between;
  }
  .footer .menu-footer .address {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-size: 12px;
    margin-bottom: 15px !important;
    color: #ffffff;
  }
  .footer .menu-footer > div section {
    width: 190px;
  }
  .footer .menu-footer > div {
    display: flex;
    flex-wrap: wrap;
  }

  .footer .menu-brand {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  
  .footer .menu-brand .wrapper-tos {
    gap: 12px;
    flex-direction: row-reverse;
  }

  .footer .menu-brand .wrapper-tos .tos {
    margin-top: 0px;
    margin-bottom: 0px;
    border-left: 1px solid #fff;
    padding-left: 12px;
  }

  .footer .menu-address .address {
    display: flex;
    flex-direction: row;
  }

  .footer .menu-address .address .detail-address {
    width: 276px;
  }

  .footer .menu-product .footer-product-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 20px;
    width: 100%;
  }

  .footer .company img {
    height: 56px;
  }
}
@media (max-width: 576px) {

  .footer .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .footer .company {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .footer .menu-footer .address {
    display: block;
    font-size: 12px;
    margin-bottom: 15px !important;
    color: #ffffff;
  }
  .footer .menu-footer > div section {
    width: 100%;
  }
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.flex-col {
  flex-direction: column;
}
.flex {
  display: flex;
}
.footer .company {
  display: flex;
  margin-bottom: 3rem;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
}
.footer .company img {
  vertical-align: middle;
  margin-bottom: 1rem;
}
.footer .company > div > a {
  margin-right: 1rem;
  display: inline-block;
}
.footer h4 {
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer ul {
  margin-bottom: 3rem;
  padding: 0;
  list-style: none;
}
.footer ul li {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.footer ul li a {
  font-size: 14px;
  text-decoration: none;
  color: #ffffff;
}
