/* FONTS
---------------------------------*/

@font-face {
    font-family: 'homemade_appleregular';
    src: url('fonts/homemadeapple-webfont.woff2') format('woff2'),
         url('fonts/homemadeapple-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



/* EDITOR STYLES
---------------------------------*/

.Handwriting {
	font-family: 'homemade_appleregular';
	margin: 40px 10% 0 10%;
}

.HandwritingAuthor {
	margin: 10px 10% 40px 10%;
	text-align: right;
	border-bottom: 2px solid #E5E5E4;
  padding-bottom: 3px;
}



/* GENERIC
---------------------------------*/

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 14px;
  background: left center no-repeat fixed;
  background-size: cover;
  background-attachment: fixed;
  color: #333;
  min-height: 100%;
  height: 100%;
}

.clearer {
  clear: both;
}




/* REUSABLE STUFF
---------------------------------*/
.half {
  float: none;
}

@media screen and (min-width: 768px) {
  .half {
    float: left;
    width: 50%;
  }
}

h2,
h3,
h4 {
  clear: both;
}

.hidden {
  visibility: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  pointer-events: none;
}

#mainPage > * {
  position: relative;
  z-index: 3;
}

#bgss {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

#bgss .swiper-slide {
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
}




/* 50 YEARS SYMBOL
---------------------------------*/

#fifty {
  display: none;
}

@media screen and (min-width: 900px) {
  #fifty {
    display: block;
    position: absolute;
    top: 50px;
    left: 400px;
    z-index: 2;
    float: left;
  }

  #fifty img {
    height: 50px;
  }
}



/* HOMEPAGE
---------------------------------*/

#homepage {
  background: top center no-repeat;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  position: relative;
}

#homepage .logo {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
}

#homepage .logo img {
  max-width: 90%;
  margin-bottom: 50px;
}

#homepage nav {
  /*
  position: absolute;
  bottom: 100px;
  left: 0px;
  width: 100%;
  */
  text-align: center;
  font-style: italic;
  font-size: 1.4rem;
}

#homepage ul {
  margin: 0;
  padding: 0;

  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
}

#homepage li {
  display: inline-block;
  margin: 0 20px;
  margin-top: 15px;
}

#homepage li::before {
  content: '• ';
  font-style: normal;
}

#homepage li a {
  color: black;
  text-decoration: none;
  transition: color 300ms;
}

#homepage li a:hover {
  color: #ff661b;
}

#homepage nav ul a, nav ul div {
  z-index: 1;
  transition: all 350ms;
  transform: scale(1);
}

#homepage nav ul a:hover, nav ul div:hover {
  z-index: 1000;
  transform: scale(2);
}

@media screen and (min-width:550px) {

  #homepage ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
}




/* MENU
---------------------------------*/
#header {
  padding: 20px 20px 0px 20px;
}

#header > a {
  position: relative;
  z-index: 100;
}

#logo img {
  max-width: 50%;
  width: 300px;
}

#menuButton {
  float: right;
  width: 160px;
  max-width: 30%;
}

#menuButton img {
  width: 100%;
}

header nav {
  position: absolute;
  z-index: 99;

  top: 90px;
  left: 20px;
  width: calc(100vw - 40px);
  height: calc(100vh - 110px);

  display: none;
}

header nav.persistent {
  display: block;
}

header .curtain {
  background: white;
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 97;
  width: 100vw;
  height: 100vh;

  display: none;
}

header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 95%;
  position: relative;
  background: white;
}

header li {
  position: relative;
  height: 11.1111%;
  min-height: 50px;
}

header nav ul li a,
header nav ul li div {
  display: block;
  text-align: center;
  text-decoration: none;
  color: white;
  height: 100%;
  background: center center no-repeat;
  background-size: cover;
  line-height: 100%;
}

header nav ul li a span,
header nav ul li div span {
  display: block;
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

header nav ul li div span {
  top: 30%;
}

header nav ul li div a {
  width: auto !important;
  display: inline;
  position: relative;
  margin: 0 5px;
  top: 50% !important;
}

header nav ul li div a img {
  width: 30px;
  height: 30px;
}

header nav ul li:nth-child(6) {
  height: 80px;
}

header nav ul li:nth-child(10) img {
  max-width: 170px;
}

header nav ul li:nth-child(10) a,
header nav ul li:nth-child(10) div {
  margin: 10px 0 20px;
}

.language {
  background: #eee;
  padding: 10px;
  text-align: center;
}

.language select {
  font-size: 16px;
  border: 0 none;
  padding: 3px 6px;
  border-radius: 0;
}


@media screen and (min-width:768px) {
  #header {
    padding: 50px 75px 0 75px;
  }

  #logo img {
    max-width: 100%;
    width: 300px;
  }

  #menuButton {
    float: right;
    width: 160px;
    max-width: 35%;
  }

  #menuButton {
    float: right;
    width: 160px;
    max-width: 35%;
  }

  #menuButton img {
    width: 100%;
  }

  header nav {
    top: 125px;
    left: 75px;
    width: calc(100vw - 150px);
    height: calc(100vh - 240px);
  }

  header li {
    position: static;
  }

  header nav ul li a,
  header nav ul li div {
    position: absolute;
    font-size: 2rem;
    font-weight: 300;
    transition: transform 200ms;
  }

  header nav ul li a:hover,
  header nav ul li div:hover {
    transform: scale(1.05);
    z-index: 2;
  }

  header nav ul li:nth-child(1) a,
  header nav ul li:nth-child(1) div {
    top: 0px;
    left: 0px;
    width: 50%;
    height: 50%;
  }

  header nav ul li:nth-child(2) a,
  header nav ul li:nth-child(2) div {
    top: 0px;
    left: 50%;
    width: 25%;
    height: 25%;
  }

  header nav ul li:nth-child(3) a,
  header nav ul li:nth-child(3) div {
    top: 25%;
    left: 50%;
    width: 25%;
    height: 25%;
  }

  header nav ul li:nth-child(4) a,
  header nav ul li:nth-child(4) div {
    top: 0px;
    left: 75%;
    width: 25%;
    height: 50%;
  }

  header nav ul li:nth-child(5) a,
  header nav ul li:nth-child(5) div {
    top: 50%;
    left: 0px;
    width: 25%;
    height: 25%;
  }

  header nav ul li:nth-child(6) a,
  header nav ul li:nth-child(6) div {
    top: 75%;
    left: 0px;
    width: 25%;
    height: 25%;
  }

  header nav ul li:nth-child(7) a,
  header nav ul li:nth-child(7) div {
    top: 50%;
    left: 25%;
    width: 50%;
    height: 50%;
  }

  header nav ul li:nth-child(8) a,
  header nav ul li:nth-child(8) div {
    top: 50%;
    left: 75%;
    width: 25%;
    height: 25%;
  }

  header nav ul li:nth-child(9) a,
  header nav ul li:nth-child(9) div {
    top: 75%;
    left: 75%;
    width: 25%;
    height: 25%;
  }

  header nav ul li:nth-child(10) a,
  header nav ul li:nth-child(10) div {
    top: 100%;
    right: 0;
    z-index: 3;
    height: auto;
  }

  header nav ul li div span {
    top: 50%;
  }

  header nav ul li div a {
    width: auto !important;
    display: inline;
    position: relative;
    margin: 0 5px;
    top: 65% !important;
  }

  header nav ul li div a img {
    width: 30px;
    height: 30px;
  }

  .language {
    text-align: right;
  }

  .language select {
    min-width: 200px;
  }
}




/* MAINPAGE
---------------------------------*/
#mainPage {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh;
  background: center right no-repeat;
  background-size: cover;
  padding: 60px 20px 20px 20px;
  box-sizing: border-box;
  color: white;
}

@media screen and (min-width:768px) {
  #mainPage {
    padding: 180px 75px 75px 75px;
  }
}




/* SHOES PAGE
---------------------------------*/
.shoes .half {
  text-align: center;
  color:#4CC5D9;
  font-size: 1.2rem;
  font-weight: bold;
}

.shoes .half img {
  max-width: 70%;
}

.shoes .half iframe {
  border: 0 none;
  background: transparent;
  height: 300px;
  width: 100%;
}

#brandsNav {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background: #FD681C;
  padding: 10px;
  box-sizing: border-box;
}

#brandsNav .title {
  text-align: center;
}

#brandsNav ul {
  list-style: none;
  margin: 0;
  padding: 0;

  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 0;
  -moz-column-gap: 0;
  column-gap: 0;
}

#brandsNav li {
  list-style: none;
}

#brandsNav a {
  display: block;
  color: white;
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1px;
  padding: 5px;
}

#brandsNav span {
  display: none;
}

.shoes .half:nth-child(2) {
  padding-bottom: 100px;
}

.shoes .description {
  clear: both;
  padding-top: 0px;
  color: #F4DD7C;
  padding: 0px 20px 60px;
  font-weight: normal;
}

.shoes .description h2 {
  color: #A5C64B;
  margin: 0;
}

.shoes .description p {
  margin: 0;
}

@media screen and (min-width:768px) {
  .shoes {
    padding-top: 100px !important;
  }

  .shoes .half {
    top: 50%;
    transform: translateY(-60%);
    padding-bottom: 0 !important;
  }

  .shoes .half img {
    max-height: 16vw;
  }

  .shoes .description {
    clear: both;
    color: #F4DD7C;
    padding: 0;
    background: transparent;
    text-align: center;
  }

  #brandsNav {
    padding-bottom: 15px;
  }

  #brandsNav .title {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    color: #A5C64B;
  }

  #brandsNav ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    text-align: center;

    display: flex;
    justify-content: space-around;
    align-items: center;
    align-content: space-around;
  }

  #brandsNav li {
    display: inline-block;
    font-size: 1.5rem;
  }

  #brandsNav a {
    display: inline-block;
    border-color: rgba(255,255,255,.6);
    background: rgba(0, 0, 0, 0.1);
    padding-left: 10px;
    padding-right: 10px;
  }

  #brandsNav span {
    display: block;
    font-size: .6em;
    font-style: italic;
    opacity: .5;
  }
}





/* BRAND PAGE
---------------------------------*/

#mainPage.brand .clearer {
  height: 150px;
}

.brand .container {
  margin-top: 60vh;
}

.brandLogo {
  max-height: 100px;
  max-width: 200px;
  margin: 0 auto;
}

.modelsButton {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  display: inline-block;
  background: rgba(253,104,28,.7);
  padding: 10px 20px;
  margin-top: 20px;
  transition: background 300ms;
}

.modelsButton:hover {
  background: rgba(253,104,28,1);
}

.darken {
  background: rgba(0,0,0,.5);
  padding: 10px;
  margin: 10px 0;
}


@media screen and (min-width:768px) {
  #mainPage.brand {
    padding-top: 120px;
  }

  #mainPage.brand .clearer {
    height: 120px;
  }

  .brand .container {
    text-align: left;
    width: 40%;
    float: right;
    max-width: 500px;
    margin-top: 0;
  }

  .brand .container .darken {
    padding: 10px 20px;
  }

  .brand #lightgallery {
    max-width: 950px;
    margin: 0 auto;
    padding-bottom: 80px;
  }
}

@media screen and (min-width:1500px) {
  .brand #lightgallery {
    max-width: 1200px;
  }
}




/* GALLERY PAGE
---------------------------------*/
#mainPage.gallery {
  box-sizing: border-box;
  max-width: 100%;
}

.thumbs {
  margin-top: 40px;
  margin-bottom: 150px;
}

.thumbs .thumb {
  display: block;
  width: 70%;
  margin: 0 auto 30px;
  text-decoration: none;
}

.thumbs .thumb a {
  display: none;
  text-decoration: none;
}

.thumbs .thumb a:first-child {
  display: inline;
}

.thumbs .thumb img {
  max-width: 100%;
}

.thumbs .thumb span {
  display: block;
  text-align: right;
  font-size: .8em;
  color: black;
}

@media screen and (min-width:768px) {
  .thumbs {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: left;
    justify-content: left;
    /* You can set flex-wrap and flex-direction individually */
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    /* Or do it all in one line with flex flow */
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    /* tweak the where items line up on the row */
    /* valid values are: flex-start, flex-end, space-between, space-around, stretch */
    -webkit-align-content: flex-end;
    align-content: flex-end;
  }

  .thumbs .thumb {
    width: 30%;
    margin: 1%;
  }
}

@media screen and (min-width:1100px) {
  .thumbs .thumb {
    width: 22.5%;
    margin: 1%;
  }
}




/* COMPANY PAGE
---------------------------------*/

.company .container {
  color: white;
  padding: 10px 20px;
  box-sizing: border-box;
  margin-top: 40px;
}

.company .photos {
  text-align: center;
  margin-bottom: 20px;
}

.company .photos img {
  border: 5px solid rgba(255,255,255,.5);
  margin-top: 20px;
  box-sizing: border-box;
  max-width: 100%;
}

.company .text img {
  margin-bottom: 20px;
}

.company a {
  color: white;
}

@media screen and (max-width:767px) {
  .company .container.text table,
  .company .container.text tbody,
  .company .container.text tr,
  .company .container.text td {
    display: block;
    text-align: center;
    width: 100%;
  }
}

@media screen and (min-width:768px) {
  .company .container {
    max-width: 50% !important;
    padding: 0;
    font-size: 19px;
    margin-top: -50px;
    font-size: 15px;
  }

  .company .text {
    padding-bottom: 200px;
  }

  .company .text::after {
    content: '';
    display: table-cell;
    clear: both;
    height: 50px;
  }

  .company .photos {
    width: 30% !important;
    position: absolute !important;
    bottom: 40px;
    right: 75px;
    margin-bottom: 0;
    text-align: right;
  }

  .company .photos img {
    max-width: 100%;
  }
}

@media screen and (min-width:1400px) {
  .company .container {
    font-size: 19px;
  }
}




/* HISTORY PAGE
---------------------------------*/

.history .container {
  color: black;
  padding: 10px 20px;
  box-sizing: border-box;
  margin-top: 40px;
}

.history .container a {
  color: black;
}

.history .photos {
  text-align: center;
  margin-bottom: 20px;
}

.history .photos img {
  border: 5px solid rgba(255,255,255,.5);
  margin-top: 20px;
  box-sizing: border-box;
  max-width: 100%;
}

.history .text {
  background: #F9F9F7;
  box-shadow: 0px 20px 40px 0 rgba(0,0,0,.2);
  padding: 10px 30px 30px 30px !important;
}

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

.history .text h3 {
  text-align: center;
  margin-top: 50px;
}

.history .text img {
  margin-bottom: 20px;
}

@media screen and (min-width:768px) {
  .history .container {
    max-width: 60% !important;
    padding: 0;
    font-size: 19px;
    margin-top: -50px;
    font-size: 15px;
  }

  .history .text {
    padding: 20px 50px 50px 50px !important;
    margin-bottom: 100px;
  }

  .history .text::after {
    content: '';
    display: table-cell;
    clear: both;
    height: 50px;
  }

  .history .photos {
    width: 30% !important;
    position: absolute !important;
    bottom: 40px;
    right: 75px;
    margin-bottom: 0;
    text-align: right;
  }

  .history .photos img {
    max-width: 100%;
  }
}

@media screen and (min-width:1400px) {
  .history .container {
    font-size: 19px;
  }
}





/* LOGIN
---------------------------------*/
#login {
  margin: 0 auto;
  width: 300px;
  max-width: 100%;
  margin-top: 80px;
}

form input {
  clear: both;
  display: block;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 20px;
  color: black;
  border: 1px solid #ddd;
}

form input[type='submit'] {
  background: #FD681C;
  color: white;
  border: 0 none;
  padding: 5px 20px;
  float: right;
  width: auto;
}





/* FINDER
---------------------------------*/
#mainPage.finder {
  color: black;
  text-align: center;
  padding-bottom: 150px !important;
  box-sizing: border-box;
  max-width: 100%;
}

#mainPage.finder form {
  max-width: 400px;
  margin: 0 auto;
}

#mainPage.finder input[type='text'] {
  text-align: center;
}

#mainPage.finder input[type='button'] {
  float: none;
  margin: 0 auto;
  margin-bottom: 20px;
}

#mainPage #demo {
  clear: both;
  color: red;
  margin-bottom: 50px;
}

#mainPage .results {
  padding-bottom: 150px;
}





/* AROUND THE WORLD
---------------------------------*/
#mainPage.aroundTheWorld {
  padding: 0;
  margin: 0;
}

.aroundTheWorld .col1 {
  background-size: cover;
  position: relative;
}

.aroundTheWorld .col1::before {
  content: "";
  display: table-cell;
}

.aroundTheWorld .col1 .content {
  margin: 60px 0 0 0;
  padding: 10px 20px 10px 40px;
  background: rgba(255, 255, 255, 0.5);
  color: black;
}

.aroundTheWorld .col1 .content img {
  max-width: 100%;
}

.aroundTheWorld .col2 {
  color: black;
  text-align: center;
}

.aroundTheWorld #map {
  position: relative;
  margin-top: 40px;
}

.aroundTheWorld #map img {
  vertical-align: text-bottom;
  width: 100%;
}

.aroundTheWorld #map .dot {
  position: absolute;
  width: 1px;
  height: 1px;
  cursor: pointer;
}

.aroundTheWorld #map .dot:hover::before {
  background: white;
}

.aroundTheWorld #map .dot.active::before {
  background: #FD681C;
}

.aroundTheWorld #map .dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 20px;
  border: 2px solid #FD681C;
  position: absolute;
  left: -5px;
  top: -5px;
  background: rgba(255,255,255,.3)
}

.aroundTheWorld #contactsDisplay {
  margin: 30px;
}

.aroundTheWorld #contactsDisplay article {
  display: none;
}

.aroundTheWorld #contactsDisplay article.active {
  display: block;
}

@media screen and (min-width: 768px) {
  .aroundTheWorld .col1 .content {
    margin: 130px 0 0 0;
  }
}

@media screen and (min-width: 1024px) {
  .aroundTheWorld .col1 .content {
    margin: 150px 0 0 0;
  }

  #mainPage.aroundTheWorld {
    min-height: 100vh;
    position: absolute;
  }

  .aroundTheWorld .col {
    width: 50%;
    float: left;
    height: 100%;
  }

  .aroundTheWorld .col1 {
    width: 20%;
  }

  .aroundTheWorld .col2 {
    width: 80%;
  }

  .aroundTheWorld #map {
    margin-top: 130px;
  }
}





/* LOJAS
---------------------------------*/
.lojas .content {
  background: rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  padding: 20px;
  color: black;
}

.lojas h2 {
  color: #ff6800;
  text-transform: uppercase;
}

.lojas .content a {
  color: #ff6800;
}

.lojas .col::after {
  content: "";
  display: table-cell;
}

.lojas article {
  margin-left: 50px;
  position: relative;
  margin-bottom: 30px;
  font-size: 12px;
}

.lojas article img {
  width: 40px;
  position: absolute;
  top: 0px;
  left: -50px;
}

#mapPopup {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background: rgba(0,0,0,0.6);
  display: none;
}

.MarkupGoogleMap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) !important;
  border: 5px solid #FD681C;
  width: 90vw !important;
  height: 90vw !important;
  max-width: 600px !important;
  max-height: 400px !important;
}

@media screen and (min-width: 768px) {
  .lojas .col {
    width: 49%;
    box-sizing: border-box;
    padding-right: 50px;
    display: inline-block;
    vertical-align: top;
  }

  .lojas article {
    font-size: 14px;
  }
}

@media screen and (min-width: 1250px) {
  .lojas .col {
    width: 32%;
  }
}

@media screen and (min-width: 1750px) {
  .lojas .col {
    width: 24%;
  }
}




/* CONTACTS PAGE
---------------------------------*/

.contacts .container {
  color: black;
  padding: 10px 0px;
  box-sizing: border-box;
  margin-top: 40px;
}

.contacts .text img {
  margin-bottom: 20px;
}

.contacts a {
  color: #fd681c;
}

.contactForm {
  color: black;
  width: 100%;
  margin-bottom: 100px;
}

.contactForm > div {
  margin-bottom: 20px;
}

.contactForm label {
  display: block;
  margin-bottom: 4px;
}

.contactForm input,
.contactForm textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 5px 10px;
  border: 1px solid #ccc;
}

.contactForm textarea {
  min-height: 150px;
}

.contactForm input[type="submit"] {
  border: 0 none;
  text-transform: uppercase;
  font-weight: bold;
  color: white;
  background: #fd681c;
  font-size: 1.2em;
  padding: 10px;
  width: 150px;
  float: right;
  margin-top: 10px;
}

#formResult {
  clear: both;
  width: 100%;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  color: white;
}

#formResult.success {
  background: #0f9d58;
}

#formResult.error {
  background: #9d0f0f;
}



@media screen and (min-width:768px) {
  .contacts .container {
    max-width: 50% !important;
    padding: 0;
    font-size: 19px;
    margin-top: -50px;
    font-size: 15px;
  }

  .contacts .text::after {
    content: '';
    display: table-cell;
    clear: both;
    height: 50px;
  }
}

@media screen and (min-width:1024px) {
  .contactForm {
    position: absolute !important;
    top: 130px;
    right: 75px;
    width: 40%;
  }
}

@media screen and (min-width:1400px) {
  .contacts .container {
    font-size: 19px;
  }
}





/* NEWS IMPROV
---------------------------------*/

.news {
  width: 100% !important;
  max-width: none !important;
  color: black;
  padding-top: 30px !important;
  margin-top: 0 !important;
}

.news td {
  display: block;
  float: left;
  margin: 5px;
}

.news img {
  max-width: 100%;
}

@media screen and (max-width:767px) {
  .container.news table,
  .container.news tbody,
  .container.news tr,
  .container.news td {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 100vw;
  }
}
