/*
Theme Name: CJH
Theme URI: http://chefjohnnyhernandez.com/
Description: Theme for Chef Johnny Hernandez
Author: Fz Studios / Andres E. Fernandez
Author URI: http://www.fzstudios.com  |  andres@fzstudios.com
Version: 1.2
*/
html,
body {
  height: 100%;
  margin: 0;
  font-family: 'PT Sans', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
  line-height: normal;
}
h2 {
  font-size: 16px;
  font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
  text-transform: uppercase;
  color: #000;
  margin-top: 5px;
  margin-bottom: 5px;
}
h2.inner {
  border-bottom: none;
}
h4 {
  font-size: 14px;
  font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
  text-transform: uppercase;
  color: #000;
  text-shadow: none;
  font-weight: normal;
  border-bottom: 1px dotted #ccc;
}
img {
  max-width: 100%;
}
a img {
  border: none;
}
a {
  text-decoration: none;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -ms-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
  color: #272460;
}
a:hover {
  color: #25bee8;
}
a.decorate {
  text-decoration: underline;
  font-weight: bolder;
}
a.decorate:hover {
  color: #369;
}
.container {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
}

/*Sidebar*/
.sidebar {
  position: fixed;
  bottom: 0;
  left: 0;
  top: 0;
  width: 180px;
  background-color: #272460;
}
.sidebar h1 {
  background: url('../images/chef-johnny-logo.png') no-repeat;
  width: 140px;
  height: 157px;
  text-align: center;
  margin: 0.5em auto;
}
.sidebar h1 a {
  display: block;
  width: 140px;
  height: 157px;
  cursor: pointer;
}
.screen-reader {
  text-indent: -9999px;
}
.sidebar .author {
  color: #25bee8;
  font-size: 0.9em;
  margin-top: 10px;
  margin-left: 9px;
  letter-spacing: 1px;
}
.sidebar .nav-toggle {
  display: none;
  background-image: url(../images/icon-mobile-nav.png);
  background-position: 95% center;
  background-repeat: no-repeat;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  padding: 6px 12px;
}

#main-nav {
  list-style: none;
  margin: 4em 0 0;
  text-align: left;
  padding-left: 0;
}
#main-nav li {
  margin: 12px 0;
}
#main-nav li a {
  color: #fff;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  padding: 10px 0 10px 30px;
}
.mt-20 {
  margin-top: 20px;
}

#social-media-icons {
  position: relative;
  display: block;
  background: url(../images/social-media-buttons.png) no-repeat 0 0;
  width: 100px;
  height: 30px;
  text-indent: -9999px;
  margin: 130px 0 0 30px;
}
#social-media-icons .fb-icon {
  position: absolute;
  left: 0;
  background-position: 0 0;
  display: block;
  width: 30px;
  height: 30px;
}
#social-media-icons .twitter-icon {
  position: absolute;
  left: 35px;
  background-position: -35px 0;
  display: block;
  width: 30px;
  height: 30px;
}
#social-media-icons .instagram-icon {
  position: absolute;
  left: 70px;
  background-position: -70px 0;
  display: block;
  width: 30px;
  height: 30px;
}
#social-media-icons a {
  height: 30px;
  display: block;
}
.sidebar span.nav-toggle:hover,
ul#main-nav li a:hover,
ul#main-nav li a.selected,
ul#main-nav-sub li a:hover,
ul#main-nav-sub li a.selected,
#sub-nav a:hover,
#sub-nav a.selected,
.locations button:hover {
  background: #25bee8;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -ms-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

/*Main Content*/
.content {
  max-width: 840px;
  background-color: #fff;
  color: #000;
  background-size: cover;
  background-position: center;
  margin-left: 190px;
  text-align: right;
}
body.restaurant .content {
  background: none;
  max-width: 100%;
  margin-left: 180px;
}
.content h1 {
  color: #25bee8;
  font-size: 24px;
  font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
  text-transform: uppercase;
  line-height: 1.2em;
  margin: 0 0 10px 0;
  font-weight: normal;
  text-align: left;
}
.content a:hover span {
  color: #25bee8;
}
.row {
  margin-bottom: 0;
  height: 100%;
}
.col {
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  min-height: 1px;
  float: left;
}
.content:after,
.row:after,
.col:after {
  content: ' ';
  display: block;
  height: 0;
  line-height: 0;
  clear: both;
}
.col:last-child {
  border: 10px solid transparent;
  border-top: none;
}
.col.full {
  width: 100%;
}
.span-1 {
  width: 10%;
}
.span-2 {
  width: 20%;
}
.span-3 {
  width: 30%;
}
.span-4 {
  width: 40%;
}
.span-5 {
  width: 50%;
}
.span-6 {
  width: 60%;
}
.span-7 {
  width: 70%;
}
.span-8 {
  width: 80%;
}
.span-9 {
  width: 90%;
}
.hidden {
  display: none;
}
#secondary-nav {
  padding-left: 60px;
  margin-top: 120px;
  text-align: left;
}
#secondary-nav li {
  list-style-type: none;
  padding: 5px 0;
  text-transform: uppercase;
  font-size: 14px;
}
#secondary-nav li a {
  text-shadow: none;
  color: #272460;
}
#secondary-nav li a:hover,
#secondary-nav li.selected a {
  color: #25bee8;
}
ul#projects {
  margin-top: 30px;
  overflow: hidden;
  background-color: rgba(39, 36, 96, 1);
  padding: 20px;
}
#projects p {
  color: #fff;
  text-align: left;
  margin-bottom: 10px;
  margin-top: 10px;
}
.container-col-3 .project-item {
  width: 33%;
  height: 375px;
}
.project-item {
  float: left;
  font-size: 14px;
  overflow: hidden;
  border: 1px solid transparent;
}
.project-item:hover {
  /*background: #f01ef3;
border-radius: 4px;*/
  border-color: #25bee8;
}
.project-image {
  width: 100%;
}
.project-item h2 {
  text-align: left;
  color: #25bee8;
  line-height: 18px;
  font-weight: normal;
}
.project-item:hover h2 {
  color: #fff;
}
.project-item a {
  display: block;
  position: relative;
  padding: 10px;
}
a.link-item {
  display: inline-block;
  font-weight: bold;
  padding: 0;
  color: #25bee8;
  text-decoration: underline;
}
span.location {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  position: absolute;
  left: 0;
  top: 5px;
  z-index: 10;
  padding: 5px;
  /*background-color: #25bee8;*/
  background-color: #305284;
}
span.no-transform {
  text-transform: none;
}
.project-item:hover a {
  color: #25bee8;
}
.project-item .location:before {
  border-color: transparent #1d94b5 transparent transparent;
  content: '';
  border-style: solid;
  width: 0;
  height: 0;
  border-width: 0 10px 10px 0;
  position: absolute;
  left: 0;
  bottom: -10px;
}
.locations {
  margin-top: 30px;
  position: fixed;
  background-color: rgba(39, 36, 96, 1);
  padding: 20px 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  min-height: 1px;
  float: left;
}
.locations button {
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
  background: none;
  font-family: 'PT Sans', Helvetica, Arial, sans-serif;
  font-size: 13px;
  width: 100%;
  outline: 0;
  border: 0;
  position: relative;
  height: auto;
  padding: 5px 10px;
  margin: 3px 0;
  text-transform: uppercase;
}

button.active {
  background-color: #25bee8;
}
.locations button:before,
.locations button:after {
  border: 1px dotted #fff;
}

#project-detail-box {
  /*background: url('../images/project-detail.png');*/
  width: 270px;
  position: absolute;
  right: 0;
  margin-top: 20px;
  height: 470px;
  font-family: 'PT Sans', Helvetica, Arial, sans-serif;
}
#project-detail-wrap {
  background: url('../images/project-detail.png');
  width: 270px;
  margin-top: -5px;
  padding-bottom: 10px;
}
body.home .content {
  background: none;
}

body.home #project-detail-box {
  background: url('../images/project-detail.png');
  position: relative;
  height: auto;
}

.section-content {
  background: #fff;
}

#sub-nav {
  float: left;
  width: 127px;
  margin-left: 30px;
}
#sub-nav a {
  background: url(../images/menu-bg3.png);
  display: block;
  color: #000;
  font-weight: bolder;
  border-bottom: 1px solid #fff;
  padding: 0.2em;
}
#project-detail-box h4 {
  color: #fff;
  margin-left: 15px;
  font-family: 'PT Sans', Helvetica, Arial, sans-serif;
  font-size: 14px;
  text-align: left;
  border-bottom: none;
  padding-top: 20px;
}
body.home #project-detail-box h4 {
  font-size: 18px;
}
#project-detail-box p {
  color: #fff;
  margin: 15px;
  font-family: 'PT Sans', Helvetica, Arial, sans-serif;
  font-size: 13px;
  text-align: left;
  line-height: 1em;
  padding-left: 0;
}
#project-detail-box .arrow {
  background-image: url('../images/arrows.png');
  background-repeat: no-repeat;
  /*background-position: 0 0;*/
  width: 10px;
  height: 11px;
  margin-left: 0;
  margin-top: 3px;
  display: block;
}
#project-detail-box .arrow-closed {
  background-position: -11px 0;
}
#project-detail-box .arrow-open {
  background-position: 0 0;
}
#primary {
  background: #fff;
  margin-top: 40px;
}
#primary.no-secondary {
  width: 100%;
}
#primary p {
  padding: 0.4em;
  line-height: 1.4em;
  font-family: 'PT Sans', Helvetica, Arial, sans-serif;
  font-size: 13px;
}
div#primary-inner-entry h2 {
  text-align: right;
  line-height: 18px;
  font-weight: normal;
  text-shadow: none;
  margin-top: 20px;
}
div#primary-inner-entry p {
  text-align: left;
  padding-left: 15%;
  text-shadow: none;
}
div#primary-inner-entry ul {
  text-align: left;
  padding-left: 15%;
  text-shadow: none;
  list-style-type: none;
}
div#primary-inner-entry ul li {
  margin: 16px 0;
  font-size: 13px;
}
/*flexslider*/
.flex-control-nav {
  bottom: 0;
  z-index: 10;
}
.flex-control-paging li a {
  background: #272460;
}
.flex-control-paging li a:hover {
  background: #25bee8;
}
.flex-control-paging li a.flex-active {
  background: #25bee8;
}
.flex-direction-nav {
  display: none;
}
div#primary-inner-entry ul.slides li {
  margin: 0;
}
div#primary-inner-entry ul.slides {
  padding-left: 0;
}
div#primary-inner-entry .flexslider.eve {
  background: #000;
}
.loading{
min-height: 300px;
background: url('../images/spinner.gif') no-repeat center center !important;
}
.flexslider.loading .slides > li:first-child{
opacity: 0 !important;
}
/*Supersized*/
#supersized li {
  left: 180px;
}
ul#slide-list {
  padding: 15px 0;
  float: left;
  position: absolute;
  left: 55%;
  bottom: 0;
}
ul#slide-list li {
  list-style: none;
  width: 12px;
  height: 11px;
  float: left;
  margin: 0 5px 0 0;
}
ul#slide-list li a {
  display: block;
  width: 12px;
  height: 11px;
  background: url(../images/nav-square2.png) no-repeat -14px 0;
  transition: none;
}
ul#slide-list li.current-slide a,
ul#slide-list li.current-slide a:hover {
  background-position: 0 0;
}
ul#slide-list li a:hover {
  background-position: 0 0;
  cursor: pointer;
  transition: none;
}
body.home #slide-list {
  display: none;
}
.code-404 {
  font-family: 'PT Sans', Helvetica, Arial, sans-serif;
}
@media (max-width: 1020px) {
  .container-col-3 .project-item {
    width: 49%;
  }
}
@media (max-width: 768px) {
  .col.span-9,
  .col.span-8,
  .col.span-7,
  .col.span-6,
  .col.span-5,
  .col.span-4,
  .col.span-3,
  .col.span-2 {
    width: 100%;
  }
  h2,
  h4 {
    padding-right: 15px;
  }
  .locations {
    margin-top: 0;
  }
  .col:last-child {
    border: none;
  }
  ul#projects {
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 610px) and (max-width: 710px) {
  /*ul#main-nav {
    margin-top: 0;
    padding-left: 0;
  }
  ul#main-nav li {
    padding: 6px;
    border: 1px solid #033d7c;
    background: #abbdca;
  }
  ul#main-nav li a {
    color: #fff;
  }
  ul#main-nav li:hover {
    background: #55504f;
    cursor: pointer;
  }
  ul#main-nav li a:hover {
    border-bottom: none;
  }*/
}
@media only screen and (min-width: 480px) and (max-width: 609px) {
  /*ul#main-nav {
    margin-top: 20px;
    padding-left: 0;
  }
  ul#main-nav li {
    padding: 6px;
    border: 1px solid #033d7c;
    background: #abbdca;
  }
  ul#main-nav li a {
    color: #fff;
  }
  ul#main-nav li:hover {
    background: #55504f;
    cursor: pointer;
  }
  ul#main-nav li a:hover {
    border-bottom: none;
  }*/
}
@media (max-width: 480px) {
  img {
    margin: 0 auto;
    display: block;
    text-align: center;
  }
  .sidebar {
    width: 100%;
    position: relative;
    padding-top: 10px;
    padding-bottom: 1px;
  }
  .sidebar h1 {
    margin-top: 0;
  }
  .sidebar .nav-toggle {
    display: block;
    padding-left: 30px;
  }
  ul#main-nav {
    display: none;
  }
  body.home .sidebar .nav-toggle {
    display: none;
  }
  body.home ul#main-nav {
    display: block;
  }
  ul#main-nav li {
    border-bottom: 1px solid;
    border-color: #ccc;
    margin: 0;
  }
  ul#main-nav li:last-child {
    border: none;
  }
  #social-media-icons {
    margin: 20px auto;
    text-align: center;
  }
  .content {
    background-color: transparent;
    max-width: 100%;
    margin: 0;
    position: relative;
    height: 100%;
  }
  body.home .content,
  body.restaurant .content {
    background: #272460;
    margin-left: 0;
  }
  body.home .content {
    background: #272460 url(../images/la-gloria-tostadas-small2.jpg) 0 70px;
    background-repeat: no-repeat;
    background-size: contain;
    height: 392px;
  }
  #secondary-nav {
    margin-top: 20px;
  }
  ul#projects {
    margin-top: 0;
  }
  #project-detail-box,
  #project-detail-wrap {
    width: 100%;
  }
  #project-detail-box {
    margin-top: 5px;
  }
  #project-detail-box img {
    text-align: center;
    display: block;
    margin: 0 auto 30px;
  }
  body.restaurant #project-detail-box {
    margin-top: 0;
  }
  #supersized li {
    left: 0;
  }
  #slide-list {
    display: none;
  }
}
