/****************************/
/******* Top Nav area *******/
#top-header
{
    position: fixed;
    z-index: 100000;
    width: 100%
}
#main-header
{
    position: fixed;
    z-index: 1000;
    background-color:#f8f8f8;
    width:100%;
    border-bottom: 2px solid #f78e21;
    margin-top:15px;
    max-height:125px;
}

.contact-phone p{
    font-family:'Open Sans', sans-serif;
    color:#ffffff;
    font-size:16px;
    margin-top:7px;
}

.contact-phone span{
    color:#f78e21;
    margin-left:30px;  
}

.logo, .logo a, .logo a:hover, .logo a:focus, .logo a:active, .logo a:visited{
    font-family:'Open Sans', sans-serif;
    font-size:28px;
    margin-top:16px;
    font-weight:800;
    text-shadow:1px 1px 2px #ccc;
    color:#666;
    color:#f78e21;
    text-decoration:none;
    width:185px;
}
.main-menu a
{
    font-weight:600;
    margin-right:30px !important;
}
.main-menu li
{
    margin-top:12px;
}
.icon-image img {
    border: 3px solid #ccc;
    width:100%;
    padding:5px;
}
.pull-right
{
    height:36px;
}
.pull-left
{
    margin-top:7px;
}
/*********************** Top Nav area ends *************************/
/**************** Vertical menu for Mobile and Tablets ***************/
.w3-sidenav
{
    height:240px !important;
    background-color:#7cadd8;
    margin-left:30px;
    border: 1px solid white;
}
.titleH3
{
    padding-top:20px;
    width:150px;
}
.menuTitle
{
    margin-top:3px;
    margin-left:20px;
    color:black !important;
}
.w3-sidenav a
{
   background-color:#6B4226;
}
.w3-sidenav a:hover
{
    background-color:#97694F !important;
}
.tp-smallNav a
{
        border-bottom:solid 1px #ffa500 !important;
        color:white !important;
}
.tp-smallNav
{
   margin-top:40px;
   display:none
}
.w3-closenav
{
     background-color:#97694F !important;
}


/****** End responsive nav styles *********************************/
/***********************Slideshow area *****************************/
.slider-caption h1
{
    color:#ffffff !important;
}
#slider
{
    margin-top:100px;
}
/***************** Find us area *****************************/
.mapSpace
{
    margin-bottom:30px;
}
/***************** Media queries for logo and menu **********/
@media screen and (max-width: 1200px){
    .logo {
        text-align:center;
    }
}
@media screen and (max-width: 992px) and (min-width: 669px){
    .main-menu a {
        margin-right:10px;
        font-size:13px;
        font-weight:400;
    }
}
@media screen and (max-width: 668px){
    .logo {
    padding-bottom: 60px;
}
.main-menu li{
        display: block;
        margin-top: -60px;
        margin-right: -35px;
    }
}
/************** Media Queries end ******************/
/****************************************************/
/************** Section headers ********************/
.blockHeaders
{
    background-color: #efefef;
    background-image:url('http://px32.prema.co.nz/build/howardneary/storage/app/media/Backgrounds/zen3.png');
    background-size:cover;
    padding-top: 5px;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 1px 1px #777;
    font-size: 38px;
    padding-bottom: 10px;
    font-weight: 500;
    color: #f78e21;
    text-transform: uppercase;
}
/****** Directions map*******/
/*****************************/
    .directions-map
    {
    /*height:100%;*/
    height:760px;
    }
    .mapRow
    {
        height:460px;
    }
    .mapCol
    {
        height:inherit;
    }
    
   #map 
    {
      height: 100%;
    } 
    
    #floating-panel 
    {
      position: absolute;
      /*top: 30px;*/
      left: 25%;
      z-index: 5;
      background-color: #fff;
      padding: 15px;
      border: 1px solid #999;
      text-align: center;
      font-family: 'Roboto', 'sans-serif';
      line-height: 30px;
      padding-left: 10px;
    }
    
    #start 
    {
      margin: 10px;
      padding: 3px;
      font-size: 1.1em;
      width: 300px
    }
    
    #map-title 
    {
      font-size: 1.6em
    }
    
    #right-panel 
    {
      font-family: 'Roboto', 'sans-serif';
      background-color:#ffffff;
      line-height: 30px;
      padding-left: 10px;
      border-width:3px;
      border-style: solid;
      border-color:#cccccc;
      border-radius:5px;
      height: 300px;
      /*float: right; */
     /* width: 390px;*/
     overflow: auto;
    }
    
    #right-panel select,
    #right-panel input 
    {
      font-size: 15px;
    }
    
    #right-panel select 
    {
      width: 100%;
    }
    
    #right-panel i 
    {
      font-size: 12px;
    }
    
    #floating-panel 
    {
      background: #fff;
      padding: 15px;
      margin-top: 20px;
      font-size: 18px;
      font-family: Arial;
      text-align: left;
      border: 1px solid #cccccc;
      box-shadow: 0 2px 2px rgba(33, 33, 33, 0.4);
      display: none;
    }
    
    @media print {
      #map 
      {
        height: 500px;
        margin: 0;
      }
      #right-panel 
      {
        float: none;
        width: auto;
      }
    }
    
/**************** End map area ********************/   
/**************** Contact form *******************/
#contact-us > div > div:nth-child(1) > form > div > button
{
   padding-bottom:7px;
   margin-bottom:20px;
}
/**************** Typography **********************/
h3
{
    color:#f78e21;
}
/**************** About Us area  *****************/
.contactInfo
{
    list-style-type:none;
    color:#666;
    color:#f78e21;
}
#contactBlock
{
    margin-top:25px;
}
.aboutTxt
{
    padding-left:20px;
    padding-right:50px;
    font-size:1.1em;
}
/**************** Collage gallery ****************/
.Collage img
{
    text-align:center;
}

.Collage img
{
    opacity:0;
    box-shadow:0px 3px 4px #dcdcdc;
    border-radius: 6px;
    /* 
    * Change this to try different borders
    */
    border:6px solid #FFF;
}
 .Collage
 {
    padding:10px;
 }
 .imgRow2, .imgRow3, .imgRow4
 {
     margin-top:10px !important;
 }

 .footnote
 {
    font-family:arial;
    color:#999;
    padding:10px;
    font-size:12px;
 }
 .footnote a{
    color:#09f;
    text-decoration:none;
 }


/* from transitions.css */
/*
A library of transitions for revealing the loaded images
(Heavily) Inspired by http://tympanus.net/codrops/2013/07/02/loading-effects-for-grid-items-with-css-animations/
*/

.effect-parent {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
    }


/* EFFECT 1 */
.effect-1 {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 50% 50% -300px;
    -moz-transform-origin: 50% 50% -300px;
    transform-origin: 50% 50% -300px;
    -webkit-transform: rotateX(-180deg);
    -moz-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
    -webkit-animation: fly ease-in-out forwards;
    -moz-animation: fly ease-in-out forwards;
    animation: fly ease-in-out forwards;
}
@-webkit-keyframes fly {
    100% { -webkit-transform: rotateX(0deg); opacity: 1; -webkit-transform-origin:50% 50% 0; }
}

@-moz-keyframes fly {
    100% { -moz-transform: rotateX(0deg); opacity: 1; -moz-transform-origin:50% 50% 0; }
}

@keyframes fly {
    100% { transform: rotateX(0deg); opacity: 1; transform-origin:50% 50% 0; }
}


/* EFFECT 2 */
.effect-2 {
    -webkit-transform: translateY(200px);
    -moz-transform: translateY(200px);
    transform: translateY(200px);
    -webkit-animation: moveUp ease forwards;
    -moz-animation: moveUp ease forwards;
    animation: moveUp ease forwards;
}

@-webkit-keyframes moveUp {
    to { -webkit-transform: translateY(0); opacity: 1; }
}

@-moz-keyframes moveUp {
    to { -moz-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
    to { transform: translateY(0); opacity: 1; }
}


/* EFFECT 3 */
.effect-3 {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);
    -moz-transform: translateZ(400px) translateY(300px) rotateX(-90deg);
    transform: translateZ(400px) translateY(300px) rotateX(-90deg);
    -webkit-animation: fallPerspective ease-in-out forwards;
    -moz-animation: fallPerspective ease-in-out forwards;
    animation: fallPerspective ease-in-out forwards;
}

@-webkit-keyframes fallPerspective {
    100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

@-moz-keyframes fallPerspective {
    100% { -moz-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

@keyframes fallPerspective {
    100% { transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}


/* EFFECT 4 */
.effect-4 {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: rotateX(-80deg);
    -moz-transform: rotateX(-80deg);
    transform: rotateX(-80deg);
    -webkit-animation: flip ease-in-out forwards;
    -moz-animation: flip ease-in-out forwards;
    animation: flip ease-in-out forwards;
}

@-webkit-keyframes flip {
    100% { -webkit-transform: rotateX(0deg); opacity: 1; }
}

@-moz-keyframes flip {
    100% { -moz-transform: rotateX(0deg); opacity: 1; }
}

@keyframes flip {
    100% { transform: rotateX(0deg); opacity: 1; }
}


/* EFFECT 5 */
.effect-5 {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-animation: moveUp ease-in-out forwards;
    -moz-animation: moveUp ease-in-out forwards;
    animation: moveUp ease-in-out forwards;
}


/* EFFECT 6 */
.effect-6 {

    -webkit-transform:  scale(0.638) translate(-179px);
    -moz-transform:     scale(0.638) translate(-179px);
    transform:          scale(0.638) translate(-179px);

    -webkit-animation: moveUp ease-in-out forwards;
    -moz-animation: moveUp ease-in-out forwards;
    animation: moveUp ease-in-out forwards;
}





/* Universal durations */
.effect-duration-1{
    -webkit-animation-duration: .4s;
    -moz-animation-duration:    .4s;
    animation-duration:         .4s;
}
.effect-duration-2{
    -webkit-animation-duration: .5s;
    -moz-animation-duration:    .5s;
    animation-duration:         .5s;
}
.effect-duration-3{
    -webkit-animation-duration: .6s;
    -moz-animation-duration:    .6s;
    animation-duration:         .6s;
}
.effect-duration-4{
    -webkit-animation-duration: .7s;
    -moz-animation-duration:    .7s;
    animation-duration:         .7s;
}
.effect-duration-5{
    -webkit-animation-duration: .8s;
    -moz-animation-duration:    .8s;
    animation-duration:         .8s;
}
.effect-duration-6{
    -webkit-animation-duration: .9s;
    -moz-animation-duration:    .9s;
    animation-duration:         .9s;
}
.effect-duration-7{
    -webkit-animation-duration: .95s;
    -moz-animation-duration:    .95s;
    animation-duration:         .95s;
}
.effect-duration-8{
    -webkit-animation-duration: 1s;
    -moz-animation-duration:    1s;
    animation-duration:         1s;
}
.effect-duration-9{
    -webkit-animation-duration: 1.05s;
    -moz-animation-duration:    1.05s;
    animation-duration:         1.05s;
}
.effect-duration-10{
    -webkit-animation-duration: 1.1s;
    -moz-animation-duration:    1.1s;
    animation-duration:         1.1s;
}
