/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.4 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.1 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/*!
 * Bootstrap v3.3.1 (http://getbootstrap.com)
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */

/* Flexnav Base Styles */
.flexnav {
  position: relative;
  z-index: 999;
  width: 100%;
  max-height: 0;
  padding: 0;
  margin: 0 auto;
  overflow: hidden;
  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
          transition: none;

  -webkit-transform-style: preserve-3d;
}

.flexnav.opacity {
  opacity: 0;
}

.flexnav.flexnav-show {
  max-height: 2000px;
  opacity: 1;
  -webkit-transition: all 1.5s ease-in-out;
     -moz-transition: all 1.5s ease-in-out;
      -ms-transition: all 1.5s ease-in-out;
          transition: all 1.5s ease-in-out;
}

.flexnav.one-page {
  position: fixed;
  top: 50px;
  right: 5%;
  max-width: 200px;
}

.flexnav li {
  position: relative;
  overflow: hidden;
  font-size: 100%;
}

.flexnav li a {
  position: relative;
  z-index: 2;
  display: block;
  padding: .96em;
  overflow: hidden;
  color: #222;
  background: #a6a6a2;
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.flexnav li ul {
  width: 100%;
  padding: 0 !important;
}

.flexnav li ul li {
  position: relative;
  /*overflow: hidden;*/
  font-size: 100%;
}

.flexnav li ul.flexnav-show li {
  overflow: visible;
}

.flexnav li ul li a {
  display: block;
  background: #b2b2af;
}

.flexnav ul li ul li a {
  background: #bfbfbc;
}

.flexnav ul li ul li ul li a {
  background: #cbcbc9;
}

.flexnav .touch-button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 999;
  display: inline-block;
  width: 50px;
  height: 30px;
  text-align: center;
  background: #acaca1;
  background: rgba(0, 0, 0, .075);
}

.flexnav > li > .touch-button {
  height: 30px;
}

.flexnav .touch-button:hover {
  cursor: pointer;
}

.flexnav .touch-button .navicon {
  position: relative;
  top: .3em;
  font-size: 12px;
  color: #666;
}

.menu-button {
  position: relative;
  display: block;
  padding: 1em;
  color: #222;
  cursor: pointer;
  background: #a6a6a2;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
}

.menu-button.one-page {
  position: fixed;
  top: 0;
  right: 5%;
  padding-right: 45px;
}

.menu-button .touch-button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 999;
  display: inline-block;
  width: 50px;
  height: 29px;
  text-align: center;
  background: transparent;
}

.menu-button .touch-button .navicon {
  position: relative;
  top: .3em;
  left: .4em;
  font-size: 19px;
  color: transparent;
  background: url('../img/icons/icon-menu.svg') no-repeat;
  background-size: contain;
}

/* Custom overwrite CSS*/

.flexnav > li {
  background: url('../img/icons/menu-bg.jpg') no-repeat;
  background-position: bottom;
  background-size: contain;
}

.flexnav > li > a {
  padding: 5px;
  margin-left: -5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #231f20;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  -webkit-transition: background .2s ease-in-out, color .2s ease-in-out;
     -moz-transition: background .2s ease-in-out, color .2s ease-in-out;
      -ms-transition: background .2s ease-in-out, color .2s ease-in-out;
       -o-transition: background .2s ease-in-out, color .2s ease-in-out;
          transition: background .2s ease-in-out, color .2s ease-in-out;
}

.flexnav > li > a:hover,
.flexnav > li > a:focus,
.flexnav > li > a:active,
/*.flexnav > li:hover > a,*/
.flexnav > li > ul > li > a,
.flexnav > li > ul > li:hover > a {
  color: #fff;
  background-color: #7f7f7f;
  -webkit-transition: background .2s ease-in-out, color .2s ease-in-out;
     -moz-transition: background .2s ease-in-out, color .2s ease-in-out;
      -ms-transition: background .2s ease-in-out, color .2s ease-in-out;
       -o-transition: background .2s ease-in-out, color .2s ease-in-out;
          transition: background .2s ease-in-out, color .2s ease-in-out;
}

.flexnav li a {
  border-left: 0 !important;
}

.flexnav > li > ul > li > a {
  display: block;
  padding: 5px;
  margin-left: -5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #636467;
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
}

.flexnav .item-with-ul > ul > li.item-with-ul > ul {
  font-family: 'Open Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  background-color: rgba(0,0,0, .7);
}

.flexnav .item-with-ul > ul > li.item-with-ul > ul > li > a {
  padding: 6px 0 5px 15px;
  color: #fff;
  text-decoration: none;
  background: transparent;
}

@media all and (min-width: 700px) {
  body.one-page {
    padding-top: 70px;
  }

  .flexnav {
    overflow: visible;
  }

  .flexnav.opacity {
    opacity: 1;
  }

  .flexnav.one-page {
    top: 0;
    right: auto;
    max-width: 1080px;
  }

  .flexnav li {
    position: relative;
    /*display: block;*/
    display: list-item;
    float: left;
    width: 100%;
    /*background-color: #a6a6a2;*/
    overflow: visible;
    list-style: none;
  }

  .flexnav li a {
    border-bottom: none;
    border-left: 1px solid #acaca1;
  }

  .flexnav li > ul {
    /*position: absolute;*/
    position: relative;
    top: auto;
    left: 0;
  }

  .flexnav li > ul li {
    width: 100%;
  }

  .flexnav li ul li > ul {
    top: 0;
    margin-left: 100%;
  }

  .flexnav li ul li a {
    border-bottom: none;
  }

  .flexnav li ul.open {
    z-index: 1;
    display: block;
    visibility: visible;
    opacity: 1;
  }

  .flexnav li ul.open li {
    max-height: 100px;
    overflow: visible;
  }

  .flexnav li ul.open ul.open {
    top: 0;
    margin-left: 100%;
  }

  .menu-button {
    display: none;
  }

  /*Custom overwrite CSS*/
  .flexnav .item-with-ul > ul > li.item-with-ul > ul {
    position: absolute;
    width: 150px;
  }
  .flexnav .item-with-ul > ul > li.item-with-ul > ul > li > a {
    background-color: transparent;
    -webkit-transition: background .2s ease-in-out, color .2s ease-in-out;
       -moz-transition: background .2s ease-in-out, color .2s ease-in-out;
        -ms-transition: background .2s ease-in-out, color .2s ease-in-out;
         -o-transition: background .2s ease-in-out, color .2s ease-in-out;
            transition: background .2s ease-in-out, color .2s ease-in-out;
  }

  .flexnav .item-with-ul > ul > li.item-with-ul > ul > li > a:hover {
    background-color: #7f7f7f;
    -webkit-transition: background .2s ease-in-out, color .2s ease-in-out;
       -moz-transition: background .2s ease-in-out, color .2s ease-in-out;
        -ms-transition: background .2s ease-in-out, color .2s ease-in-out;
         -o-transition: background .2s ease-in-out, color .2s ease-in-out;
            transition: background .2s ease-in-out, color .2s ease-in-out;
  }

  .flexnav > li > ul > li:last-child {
    padding-bottom: 10px;
  }
}

.oldie body.one-page {
  padding-top: 70px;
}

.oldie .flexnav {
  overflow: visible;
}

.oldie .flexnav.one-page {
  top: 0;
  right: auto;
  max-width: 1080px;
}

.oldie .flexnav li {
  position: relative;
  display: block;
  float: left;
  width: 20%;
  min-height: 50px;
  overflow: visible;
  list-style: none;
  background-color: #a6a6a2;
}

.oldie .flexnav li:hover > ul {
  display: block;
  width: 100%;
  overflow: visible;
}

.oldie .flexnav li:hover > ul li {
  float: none;
  width: 100%;
}

.oldie .flexnav li a {
  overflow: visible;
  border-bottom: none;
  border-left: 1px solid #acaca1;
}

.oldie .flexnav li > ul {
  position: absolute;
  top: auto;
  left: 0;
  z-index: 1;
  display: none;
  overflow: visible;
  background: #acaca1;
}

.oldie .flexnav li ul li ul {
  top: 0;
}

.oldie .flexnav li ul li a {
  border-bottom: none;
}

.oldie .flexnav li ul.open {
  display: block;
  width: 100%;
  overflow: visible;
}

.oldie .flexnav li ul.open li {
  width: 100%;
}

.oldie .flexnav li ul.open ul.open {
  top: 0;
  display: block;
  width: 100%;
  margin-left: 100%;
  overflow: visible;
}

.oldie .flexnav ul li:hover ul {
  top: 0;
  margin-left: 100%;
}

.oldie .menu-button {
  display: none;
}

.oldie.ie7 .flexnav li {
  width: 19.9%;
}

@media all and (min-width: 768px) {
  /* Custom overwrite CSS large screen*/
  .flexnav .touch-button {
    height: 26px;
  }
}

@media all and (min-width: 992px) {
  .flexnav .touch-button {
    display: none;
  }

  .flexnav .item-with-ul > ul > li.item-with-ul > ul {
    margin-left: 323px;
  }

  .flexnav .item-with-ul > ul > li.item-with-ul > a {
    width: 328px;
  }
}

@media all and (min-width: 1280px) {
  /* Custom overwrite CSS large screen*/

  .flexnav .item-with-ul > ul > li.item-with-ul > ul {
    margin-left: 292px;
  }

  .flexnav .item-with-ul > ul > li.item-with-ul > a {
    width: 297px;
  }
}

/* Custom style for active link  */

.flexnav li a.current,
.flexnav li a.section {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: #000;
}

.flexnav li a.current:hover,
.flexnav li a.section:hover {
  color: #fff;
}
