@font-face {
    font-family: 'futuramedium';
    src: url('futura-webfont.eot');
    src: url('futura-webfont.eot?#iefix') format('embedded-opentype'),
         url('futura-webfont.woff') format('woff'),
         url('futura-webfont.ttf') format('truetype'),
         url('futura-webfont.svg#futuramedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

*, a, li, p, h1, h2, h3, h4, h5, h6 {
    font-family: "futura-pt";
    color: #496787;
}

.row {
    margin: 0;
}

.fixed {
	height: 50px;
}
.side-nav {
	padding-top: 0;
}

.tab-bar-section {
	text-align: left;
}

.side-nav li a {
    text-transform: uppercase;
}

.side-nav li a.active {
    font-weight: 500;
    font-style: normal; 
}

.side-nav li a.logo,
.res-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

.side-nav li a.logo {
    padding: 30px 0 23px 0;
    margin-bottom: none;
}

.res-logo,
.caption  {
    text-align: center;
}

.main {
    max-width: 640px;
}

.main-content {
    margin-top: 15px;
}

.text,
.text-right {
    padding-top: 40px;
}

.quote {
    position: relative;
    bottom: 0;
}

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


#panel2-3 ul li {
    list-style-type: none;
}

#panel2-3 h6 {
    margin: 0;
}

#panel2-3 p {
    margin-bottom: 10px;
}

/* Gallery styles */

.hidden {
    display: none;
}

.words {
    padding: 40px 30px 0;
}

.orbit-container {

}

.orbit-container .orbit-slides-container {

}

.orbit-container .orbit-slides-container li {

}

.orbit-container .orbit-slides-container img {

}

 .orbit-container .orbit-slides-container img.secure {
    position: absolute;
    width: 100%;
    height: 100;
    z-index: 1000;
}

label,
.submit-button {
    font-size: 1rem;
    text-transform: uppercase;

}

.bullet {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    background: rgba(250,250,250, 0.3);
    float: none;
    margin-right: 10px;
    border-radius: 1000px;
    box-shadow: 2px 2px 3px #000;
}

.bullet.active,
.bullet:hover {
    background: #496787;
}

.bullet:hover .hidden {
    display: block;
}

.bullet img {
    position: absolute;
    top: -85px;
    margin-left: -30px;
    border: 1px solid #fff;
}

#bx-pager {
    height: 50px;
}

.red {
    color: #f0a;
}

.carousel li {
    list-style: none;
}

.gallery-section {
    float: right;
    position: relative;
}

.me-menu {
    width: 157px;
}

.gallery {
    float: left;
}

img.gallery-image {
    max-width: 100%;
}

.bullets {
    position: fixed;
    bottom: 0;
    height: 30px;
    left: 157px;
    right: calc(75% - 157px);
    text-align: center;
    width: inherit;
    background-color: #e1e6e7;
}

.slide, .fade {
    height: 700px;
}

.main .slide,
.main .fade {
    height: 800px;
} 

.orbit-container .orbit-slides-container li {
    height: 100%;
}

.left-off-canvas-menu ul li {
    list-style-type: none;
}


.socialmedia {
    display: inline-block;
    padding: 0 0 2px 32px;
    line-height: 32px;
    height: 32px;
    margin-bottom: 20px;
}

.pin {
    background: url('../img/pinterest.png') no-repeat left center;
    margin-right: 5px;
}

.facebook {
    background: url('../img/facebook.png') no-repeat left center;
}

.intro-text {
    margin: 0 auto; 
    padding: 20px;
    width: 700px;
    max-width: 100%;
    text-align: center;
}

.intro-text p {
    font-size: 1.2rem;
}

.intro-image {
    max-width: 100%;
}

.left-off-canvas-menu ul {
    margin-top: 50px;

}

.left-off-canvas-menu ul li {
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 400;
    margin: 0 0 0.4375rem;
}

.left-off-canvas-menu ul li a {
    font-size: 1.1rem;
    text-transform: uppercase;
    display: block;
}

#thisform {
   /* margin-bottom: 60px;*/
}

.signature {
    text-align: right;
    margin-top: 50px;
    text-transform: lowercase;
}

.author {
    font-size: 0.9rem;
}

input, 
textarea {
    border-radius: 0;
}

a.standout {
    text-decoration: underline;
    color: #0078a0;
}


#test_email {
    display: none;
}

/******************************************************************/

/* Media queries */

/******************************************************************/

@media screen and (min-width: 300px) and (max-height: 499px;) {
  .slide, .fade {
        height: 380px;
    }
}

@media screen  and (min-height: : 500px) and (max-height: 599px;) {
    .slide, .fade {
        height: 480px;
    }   
} 

@media screen  and (max-width:640px) {
    .aboutimage {
        margin-top: 50px;
    }

    .text {
        padding-top: 0;
    }



    .slide, .fade {
        height: 700px;
    }
    .orbit-container .orbit-slides-container img {
        margin: 0 auto;
    }
    .signature,
    .text-right {
        text-align: center;
    }  

    .bullets {
        left: 0;
        right: 0;
        background-color: #e1e6e7;
        bottom: 0;
        height: 30px;
    }
} 

@media all and (min-width:1520px) {
    .quote {
        bottom: -340px;
        position: absolute;
    }
}

@media all and (min-width:1166px) and (max-width: 1330px) {
    .tabs dd > a {
        font-size: 1.2rem;
    }
}

@media all and (max-width: 1165px) {
    .tabs dd > a {
        font-size: 1rem;
    }

    .intro-text p {
        font-size: 1.1rem;
    }
}




/*Smartphone layout */

@media all and (max-width: 480px) {

    p,
    ul,
    .author,
    .text-right p,
    .intro-text p {
        font-size: 0.7rem;
        line-height: 15px;
        margin-bottom: 7px;
    }

    .signature {
        margin-top: 7px;
    }

    .portraits br {
        display: none;
    }


    .left-off-canvas-menu ul {
        line-height: 1.6rem;
    }

    .orbit-container .orbit-slides-container img {
        max-height: 270px;
    }

    .aboutimage {
        display: none;
    }

    .text {
        margin-top: 50px;
    }

    .about {
        margin-top: 10px;
    }

    .text-right {
        margin-top: 0;
        text-align: center;
        padding-top: 5px;
    }

    .signature {
        text-align: center;
    }

    .tabs {
    }

    h5 {
        font-size: 0.75rem;
    }

    h6,
    label,
    .submit-button {
        font-size: 0.75rem;
    }

    .submit-button {
        border-radius: 0px;
    }

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

    #thisform {
        margin-bottom: 25px;
    }

    input[type="text"], 
    input[type="password"], 
    input[type="date"], 
    input[type="datetime"], 
    input[type="datetime-local"], 
    input[type="month"], 
    input[type="week"], 
    input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea {
        font-size: 0.775rem;
        height: 1.2rem;
        margin: 0 0 1rem;
        padding: 0.2rem;
    }

    .tabs dd > a {
        font-size: 0.8rem;
    }

    .orbit-container {
        margin-top: 50px;
    }

    .aboutpage .orbit-container .orbit-slides-container img,
    .landing .orbit-container .orbit-slides-container img  {
        max-height: 130px;
    }

    .landing .orbit-container {
        max-height: 150px;
    }

}

@media all and (min-width: 360px) and (max-width: 480px) {

    .orbit-container .orbit-slides-container img {
        max-height: 270px;
    }

    .text-right p{
        font-size: 0.9rem;
        line-height: 20px;
    }

    .tabs dd > a {
        font-size: 1rem;
    }

    .aboutpage .orbit-container .orbit-slides-container img,
    .landing .orbit-container .orbit-slides-container img  {
        max-height: 150px;
    }

    .tabs-content {
         margin-top: 0;   
    }

}


@media all and (min-width: 481px) and (max-width: 767px) {

    .orbit-container .orbit-slides-container img {
        max-height: 620px;
    }

        .landing .orbit-container,
        .landing .orbit-container .orbit-slides-container img {
        max-height: 300px;
        width: auto;
    }
        p,
    ul,
    .text-right p,
    .intro-text p {
        font-size: 1.1rem;
        line-height: 20px;
        margin-bottom: 12px;
    }

    .text-right p {
        font-size: 1rem;
    }


    .bullets {
        left: 0;
        right: 0;
        background-color: #e1e6e7;
        bottom: 0;
        height: 30px;
    }

    .aboutleft {
        max-height: 200px;
        overflow: hidden;
    }
       .main-content {
        margin-top: 50px;
    } 

    .tabs-content {
         margin-top: 20px;   
    }

}

@media all and (min-width: 641px) and (max-width: 767px) {
    .landing {
        padding-top: 35px;
    }

    .aboutleft {
        max-height: 300px;
        overflow: hidden;
    }
        .orbit-container .orbit-slides-container img {
        max-height: 520px;
    }
        .text-right {
        padding-right: 40px;
    }

}

/*Ipad */

@media only screen and (min-width: 768px) and (max-width: 1024px)  {
    .main .slide {
        min-height: 472px;
    }

    .landing {
        padding-top: 50px;
    }

    .bullets {
        left: 0;
        right: 0;
    }

    .aboutleft {
        max-height: 300px;
        overflow: hidden;
        text-align: center;
    }

    .orbit-container .orbit-slides-container img {
        max-height: 570px;
    }

    .main-content {
        margin-top: 50px;
    } 

    .text-right {
        padding-right: 40px;
        font-size: 1rem;
    }

    .intro-text p {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .tabs-content {
         margin-top: 20px;   
    }
}


@media only screen and (min-device-width : 320px)  and (max-device-width : 568px) and (orientation : landscape) { 


    .landing .orbit-container,
    .aboutimage { display: none;}

    .landing .orbit-container .orbit-slides-container img, 
    .orbit-container .orbit-slides-container img  {
        max-height: 130px;
    }

    .text-right p{
        font-size: 7px;
        line-height: 7px;
        margin-bottom: 7px;
    }

    .text-right {
        padding-top: 0;
    }

    .intro-text p {
        font-size: 0.7rem;
        padding: 0;
    }

    .orbit-container .orbit-slides-container img.intro-image {
        display: none;
    }

    .fixed {
        position: absolute;
    }

    label, input {
        font-size: 7px;
    }

    .left-off-canvas-menu ul li a,
    .submit-button {
        font-size: 10px;
    }

    .tabs-content {
         margin-top: 20px;   
    }

    input[type="text"], 
    input[type="password"], 
    input[type="date"], 
    input[type="datetime"], 
    input[type="datetime-local"], 
    input[type="month"], 
    input[type="week"], 
    input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea {
        font-size: 7px;
        height: 20px;
        margin: 0 0 5px 0;
        padding: 2px;
    }

    p {
        font-size: 7px;
        line-height: 10px;
    }
}

/*iPhone 4 */
@media screen and (device-aspect-ratio: 2/3) {

    .mobile-hide {
        display: none;
    }

    .orbit-container .orbit-slides-container img {
        max-height: 200px;
    }

}

/* iPhone 5: */
@media screen and (device-aspect-ratio: 40/71) {
    .mobile-hide {
        display: none;
    }

    .orbit-container .orbit-slides-container img {
        max-height: 200px;
    }
}

@media screen and (device-aspect-ratio: 40/71) and (-webkit-min-device-pixel-ratio: 2) {
    .mobile-hide {
        display: none;
    }

    .orbit-container .orbit-slides-container img {
        max-height: 200px;
    }
}

/* Largest resoutions */

@media all and (min-width: 1025px) {
    .landing .orbit-container .orbit-slides-container img  {
        max-height: 700px;
    }

    .intro-text {
        padding: 20px;
    }

    .portraits {
        padding: 20px 0;
    }
}


