/*
  Theme Name: Harbour City Restaurants Group
  Description: Harbour City Restaurants Group
  Version: 1.0.0
  Tags: Blank, HTML5, CSS3

  License: MIT
  License URI: http://opensource.org/licenses/mit-license.php


*/ 


:root {
  --beige-light: #FBF8F0; 
  --beige-medium: #DAD4CA;
  --brown: #3B1819;
  --gold: #CEB391;
  --gray: #f7f7f7;
  --white: #fff;
  --h1:3.75rem;
  --h2:1.75rem;
  --h3:1.1rem;
  --h4:0.875rem;
}

html {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  -ms-font-smoothing: antialiased !important;
}

body {
  padding: 0;
  margin: 0;
  font-family: gira-sans, sans-serif;
  background-color: var(--beige-light);
  color: var(--brown);
}

* {
  box-sizing: border-box;
}

html, body, input, textarea {
  font-size: 14px;
}

h1, h2, h3, h4, h5 {
  font-weight: 500;
  line-height: 2em;
  margin: 0 0 0.2em;
  letter-spacing: 0.01em;
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
  font-style: italic;
  line-height: 1.5em;
  margin-bottom: 20px;
}

h3 {
  font-size: var(--h3);
  line-height: 1.5em;
}

h4 {
  font-size: var(--h4);
}

h5 {
  font-size: var(--h5);
}

p {
  margin: 0 0 1.5em;
}

a {
  color: var(--brown);
  transition: 0.1s all ease-in-out;
  text-decoration: none;
}

a:hover, .dark-pattern #menu a:hover {
  color: var(--gold);
  transition: 0.1s all ease-in-out;
}

b, strong {
  font-weight: bold !important;
}

.button, .wpcf7-submit {
  border: 1px solid var(--brown) !important;
  border-radius: 5px;
  padding: 8px 20px !important;
  margin: 20px 0 0;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: inline-block;
  background: transparent !important;
  width: auto;
}


.button:hover, .wpcf7-submit:hover {
  background: var(--brown) !important;
  color: var(--beige-light);
  cursor: pointer;
}

body > .page {
  z-index: 2;
  position: relative;
}

#page-pattern {
  width: 100%;
  min-height: 500px;
  position: absolute;
  top: 0;
  height: 50vh;
  z-index: 1;
  overflow: hidden;
  background: var(--pattern-bg);
}

#page-pattern svg {
  fill: var(--pattern-fill);
  width: 100%;
  height: 100%;
}

.dark-pattern #menu a {
  color: var(--beige-light);
}

.dark-pattern #logo, .dark-pattern #brands-menu svg {
  fill: rgb(0, 0, 0);
}

.dark-pattern #menu > li > ul > li {
  border-top: 1px solid var(--beige-light);
  border-left: 1px solid var(--beige-light);
  border-bottom: 1px solid var(--beige-light);
}

.dark-pattern #menu > li > ul > li:last-child {
  border-right: 1px solid var(--beige-light);
}

.text-center {
  text-align: center;
}

.section-image {
  position: relative;
  margin: 80px calc(100% * 4 / 14);
  padding: calc(100% * 0.28 / 14);
}

.section-image img {
  width: 100%;
}

.section-image svg {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

header {
  padding: 80px 0 0;
  position: relative;
  z-index: 9998;
}

header #logo {
  width: 80px;
  fill: var(--brown);
  margin-bottom: 20px;
}

header h1 {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3em;
}

#menu {
  display: flex;
  justify-content: space-around;
  margin: 20px calc(100% * 2 / 14) 100px;
  font-size: var(--h3);
  list-style-type: none;
  text-align: center;
  position: relative;
  padding: 0;
}

#menu > li {
  width: calc(100% / 7);
}

#menu a {
  font-weight: 500;
  padding: 5px 0;
  display: inline-block;
}

#menu > li > ul {
  margin: 2px 0;
  padding: 0;
  list-style-type: none;
  position: absolute;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: space-around;
  opacity: 0;
}

#menu > li > ul > li {
  flex: 1;
  border-top: 1px solid var(--brown);
  border-left: 1px solid var(--brown);
  border-bottom: 1px solid var(--brown);
  text-align: center;
  display: flex;
  align-items: center;
}

#menu > li > ul > li:last-child {
  border-right: 1px solid var(--brown);
}

#menu > li > ul > li > a {
  width: 100%;
  text-align: center;
}

#menu > li > ul > li > a svg {
  width: 80%;
}

#menu > li > ul > li > a svg:hover {
  fill: var(--gold);
}

#brands-menu li {
  background-color:#fbf8ef;
  padding:3%;
}

#brands-menu:hover ul {
  opacity: 1;
}

section {
  margin: 80px auto 0;
}

.container {
  position: relative;
  padding: 0 calc(100% * 1 / 14);
}

.text-box {
  padding-left: calc(100% * 3 / 14);
  padding-right: calc(100% * 3 / 14);
}

.content-box {
  padding-left: calc(100% * 2.5 / 14);
  padding-right: calc(100% * 2.5 / 14);
}

.border-box {
  margin-left: calc(100% * 1 / 14);
  margin-right: calc(100% * 1 / 14);
  padding: 40px;
  border: 2px solid var(--brown);
}

.no-margin {
  margin: 0 auto;
}

#page-banner {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}

#page-banner img {
  width: 100%;
  height: auto;
}

.brand #page-banner svg {
  width: 40%;
  fill: var(--beige-light);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#brands {
  padding: 80px 0 0;
  margin: 0 auto 0 !important;
}

#brands > div {
  display: flex;
}

#brands a {
  width: 25%;
  position: relative;
}

#brands span svg {
  width: 65%;
  fill: var(--brown);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  margin: auto;
}

#brands a span img {
  filter: invert(72%) sepia(6%) saturate(507%) hue-rotate(326deg) brightness(90%) contrast(90%);
  padding:15%;
}
#brands a span img:hover {
  filter:none;
}

.group-logo-bg {
  position: relative;
  width: 100%;
  background-color: var(--background);
  opacity: 0;
  transition: 0.1s all linear;
}

.group-logo-bg svg {
  fill: var(--fill);
}

#brands a:hover .group-logo-bg {
  opacity: 1;
  transition: 0.1s all linear;
}

#brands a:hover span svg {
  fill: var(--beige-light);
}

#franchise-section {
  background-color: var(--beige-medium);
  position: relative;
}

#franchise-section > div {
  padding-top: 80px;
  padding-bottom: 100px;
  z-index: 2;
  position: relative;
}

#franchise-section h3 {
  position: relative;
  margin-top: -6vw;
}

#franchise-section img {
  width: 100%;
}

#franchise-pattern {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  z-index: 1 !important;
}

#franchise-pattern svg {
  fill: var(--beige-light);
  opacity: 0.15;
}

#deliver {
  padding: 40px 0 100px
}

#deliver > div > div {
  display: flex;
  justify-content: space-around;
  flex-flow: row wrap;
  align-items: center;
}

#deliver h2, #about-milestone h2, #franchise-form h2, #brand-story h2 {
  flex: none;
  width: 100%;
  text-align: center;
}

#deliver a {
  flex: 1;
  margin: 0 2em;
}

#deliver svg {
  width: 100%;
}

.milestone-row {
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.milestone-row div {
  width: 50%;
  padding: 20px 30px;
  position: relative;
}

.milestone-row img {
  width: 100%;
}

.milestone-row > div:nth-child(2) {
  width: 3px;
  background-color: var(--gold);
  padding: 0;
}

.milestone-row svg {
  height: 30px;
  position: absolute;
  top: 15px;
  left: -17px;
}

#about-milestone, #contact-form, #brand-story, #contact-info, #branch-info, #franchise-form {
  margin-bottom: 80px;
}

#about-milestone > div > div:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

#about-milestone > div > div:nth-child(odd) svg {
  top: 15px;
  left: auto;
  right: -17px;
}

#franchise-form form {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

#franchise-form #first-name, #franchise-form #middle-name, #franchise-form #last-name {
  width: 32%;
}

#franchise-form #tel-no, #franchise-form #mobile-no, #franchise-form #company-tel-no, #franchise-form #fax-no, #franchise-form #actively-involved, #franchise-form #operate, #franchise-form #business-background, #franchise-form #background-similar-business {
  width: 49%;
}

form {
  text-align: left;
}

form > div {
  width: 100%;
  padding: 8px 0;
  text-align: left;
}

form input, form textarea {
  width: 100%;
  padding: 4px;
}

input[type="radio"i] {
  width: auto;
}

#brand-section {
  background-color: var(--beige-medium);
  position: relative;
}

#brand-section > div {
  padding-top: 80px;
  padding-bottom: 100px;
  z-index: 2;
  position: relative;
}

#brand-section h3 {
  position: relative;
}

#brand-section img {
  width: 80%;
  margin-bottom: 20px;
}

#brand-pattern {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  z-index: 1 !important;
}

#brand-pattern svg {
  fill: var(--beige-light);
  opacity: 0.15;
}

footer {
  padding: 60px 0;
  background: var(--brown);
  color: var(--beige-light);
}

.brand footer {
  background: var(--footer-bg);
}

footer > div {
  display: flex;
  justify-content: space-between;
}

#footer-contact, #footer-menu {
  display: flex;
  align-items: flex-start;
}

#footer-contact svg {
  fill: var(--beige-light);
  width: 20%;
  margin-right: 5%;
}

#footer-menu {
  width: 30%;
  display: flex;
  justify-content: space-between;
}

footer a {
  color: var(--beige-light);
}

#branch-info {
  overflow: hidden;
}

.tabordion {
  color: #333;
  display: block;
  margin: auto;
  position: relative;
  min-height: 600px;
}

.tabordion input[name="sections"] {
  left: -9999px;
  position: absolute;
}

.tabordion > div {
  display: block;
}

.tabordion > div label {

  /*  background: #ccc;*/
  border: 1px solid #fff;
  cursor: pointer;
  display: block;
  font-size: 1.2em;
  font-weight: bold;
  padding: 25px 0;
  position: relative;
  width: 20%;
  z-index: 100;
  text-align: center;
  border-left: 1px solid var(--brown);
  border-right: 1px solid var(--brown);
  border-bottom: 1px solid transparent;
  border-top: 1px solid var(--brown);
}

.tabordion > div:last-child label, .tabordion > div ul li:last-child {
  border-bottom: 1px solid var(--brown);
}

.tabordion > div label svg {
  width: 80%;
}

.tabordion > div ul {
  display: none;
  padding-left: 20%;
  min-width: 100%;
  margin: 0;
  position: absolute;
  top: 0;
  list-style-type: none;
  height: 750px;
  overflow: auto;
  border-top: 1px solid var(--brown);
}

.tabordion > div ul li {
  width: 100%;
  border-right: 1px solid var(--brown);
  border-left: 1px solid var(--brown);
  border-top: 1px solid var(--brown);
  margin-left: -1px;
  margin-top: -1px;
  padding: 2%;
  display: flex;
}

.tabordion > div img {
  width: 150px;
  margin-right: 10px;
  align-self: start;
  max-height: 100px;
}

.tabordion > div article:after {
  bottom: 0;
  content: "";
  display: block;
  left: -229px;
  position: absolute;
  top: 0;
  width: 220px;
  z-index: 1;
}

.tabordion input[name="sections"]:checked + label {
  background: var(--brown);
  color: #bbb;
}

.tabordion input[name="sections"]:checked + label svg {
  fill: var(--beige-light);
}

.tabordion input[name="sections"]:checked ~ ul {
  display: block;
}

.wpforms-field-label {
  font-weight: normal !important;
  font-size: var(--h3) !important;
}

.wpforms-confirmation-container-full {
  border: 0px !important;
  background: transparent !important;
}

#home-about {
  margin-bottom:5%;
}

#home-frame {
  margin: 40px calc(100% * 2 / 14);
  padding: calc(100% * 0.28 / 7);
}

:root{
  --mat:    #fbf4e6;   /* cream background */
  --border: #e3d3ac;   /* thin inner border */
  --corner: #c7a463;   /* corner line color */
  --pad:    18px;      /* mat width */
  --csize:  90px;      /* corner size */
  --gap:    6px;       /* distance from edges */
}

/* Base frame */
.photo-frame{
  display:inline-block;
  position:relative;
  padding:var(--pad);
  background: var(--mat);
  box-shadow: inset 0 0 0 4px var(--border);
  line-height:0;
  margin-bottom:5%;

  /* Four corner SVGs as layered backgrounds */
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: var(--csize) var(--csize), var(--csize) var(--csize),
                   var(--csize) var(--csize), var(--csize) var(--csize);
  background-position:
    left  var(--gap) top    var(--gap),   /* TL */
    right var(--gap) top    var(--gap),   /* TR */
    left  var(--gap) bottom var(--gap),   /* BL */
    right var(--gap) bottom var(--gap);   /* BR */

  /* TL, TR, BL, BR (TR/BL/BR are rotated via SVG transforms) */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c7a463' stroke-width='6' stroke-linecap='square'%3E%3Cpath d='M6 74V6H74'/%3E%3Cpath d='M20 74V20H74'/%3E%3Cpath d='M34 74V34H74'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c7a463' stroke-width='6' stroke-linecap='square' transform='scale(-1,1) translate(-80,0)'%3E%3Cpath d='M6 74V6H74'/%3E%3Cpath d='M20 74V20H74'/%3E%3Cpath d='M34 74V34H74'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c7a463' stroke-width='6' stroke-linecap='square' transform='scale(1,-1) translate(0,-80)'%3E%3Cpath d='M6 74V6H74'/%3E%3Cpath d='M20 74V20H74'/%3E%3Cpath d='M34 74V34H74'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c7a463' stroke-width='6' stroke-linecap='square' transform='rotate(180 40 40)'%3E%3Cpath d='M6 74V6H74'/%3E%3Cpath d='M20 74V20H74'/%3E%3Cpath d='M34 74V34H74'/%3E%3C/g%3E%3C/svg%3E");
}

.photo-frame img{
  display:block;
  width:100%;
  height:auto;
}

/* ======================================
  Media Screen CSS
========================================== */

@media screen and (max-width:768px) {
  #brands > div {
    display: flex;
    flex-wrap: wrap;
  }

  #brands a {
    width: 50%;
  }

  #footer-contact {
    display: block;
  }

  #footer-contact svg {
    display: none;
  }

  #footer-menu {
    display: none;
  }

  #footer-contact svg {
    height: 3em;
    width: 80px;
    margin-right: 0px;
  }

  #page-banner {
    margin: 100px auto 0;
  }

  section {
    margin: 40px auto 0;
  }

  #brands {
    padding: 40px 0 0;
  }

  #deliver {
    padding: 0px 0 60px;
  }

}

@media screen and (max-width:1024px) {
  #menu {
    margin: 20px 0 0px;
  }

  .text-box {
    padding-left: calc(100% * 1 / 14);
    padding-right: calc(100% * 1 / 14);
  }

  .content-box {
    padding-left: calc(100% * 0.5 / 14);
    padding-right: calc(100% * 0.5 / 14);
  }

  .section-image {
    position: relative;
    margin: 80px calc(100% * 2 / 14);
    padding: calc(100% * 0.28 / 14);
  }

  #page-pattern {
    height: 33vw;
    min-height: 10px;
    overflow: hidden;
  }

}

@media screen and (min-width:900px) {
  header h1 {
    display: none;
  }

  header .menu-toggle, header #menu-toggle {
    display: none;
  }

}

@media screen and (max-width:901px) {
  #franchise-form #first-name, #franchise-form #middle-name, #franchise-form #last-name, #franchise-form #tel-no, #franchise-form #mobile-no, #franchise-form #company-tel-no, #franchise-form #fax-no, #franchise-form #actively-involved, #franchise-form #operate, #franchise-form #business-background, #franchise-form #background-similar-business {
    width: 100%;
  }

  .tabordion {
    display: table;
  }

  .tabordion > div {
    display: table-cell;
    vertical-align: top;
  }

  .tabordion > div label {
    width: 100%;
    height: 15vw;    /*border-bottom: 1px solid var(--brown);*/
    border-right: 1px solid transparent;
  }



  .tabordion > div:last-child label, .tabordion > div ul li:last-child {
    border-right: 1px solid var(--brown);
    border-bottom: 1px solid transparent;
  }

  .tabordion > div ul li {
    margin-left: 0px;
    display: block;
  }

  .tabordion > div ul li img {
margin-bottom: 15px;
    max-width: 100%;
    max-height: 200px;
    width: auto;
    }

.tabordion > div ul li {
  padding: 4%;
}

  .tabordion > div ul {
    padding: 0 !important;
    margin: 15vw 0 0;
    left: 0;
    height: 60vh;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--footer-bg);
    color: var(--beige-light);
    z-index: 9998;
    padding: 0;
  }

  header #menu {
    position: absolute;
    top: 0;
    left: 0;
  }

  header #logo {
    fill: var(--beige-light);
    height: 3rem;
    margin: 0;
  }

  header .container {
    display: flex;
    align-items: center;
    padding: 12px 0;
  }

  header h1 {
    margin: 0;
    font-weight: bold;
    flex: 1;
    text-align: left;
  }

  header input {
    position: absolute;
    left: -9999px;
  }

  header input:checked ~ #menu {
    display: block;
  }

  header .menu-toggle {
    width: var(--h1);
    position: relative;
    align-self: flex-start;
  }

  header .menu-toggle:after {
    font-size: var(--h1);
    position: absolute;
    content: "\2261";
    top: 0;
    left: 0;
    line-height: 0.8;
  }

  header #menu {
    top: 100%;
    width: 100%;
    background: var(--brown);
    margin: 0;
    flex-direction: column;
    display: none;
  }

  header #menu > li {
    width: 100%;
    padding: 8px 0 8px 80px;
    text-align: left;
    border-top: 1px solid var(--beige-light);
  }

  header #menu > li:last-child {
    border-bottom: 1px solid var(--beige-light);
  }

  header #menu > li > a {
    color: var(--beige-light);
  }

  #brands-menu ul {
    display: none !important;
  }

}