body
{
    font-family: 'Niramit', Arial, sans-serif;
    font-size: 100%;
    color: #232323;
    background-color: #b6c3c4;
}

body:after {
    content:"";
    position:fixed; /* stretch a fixed position to the whole screen */
    top:0;
    height:100vh; /* fix for mobile browser address bar appearing disappearing */
    left:0;
    right:0;
    z-index:-1; /* needed to keep in the background */
    background: url('../img/forest.png') no-repeat center center scroll; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

h1,
h2,
h3,
h4,
p
{
    font-family: 'Niramit', Arial, sans-serif;
}

.niebla-azul {
    background-color: #b6c3c4;
}

.hamburg-gray {
    background-color: #666d69;
}

.white {
    background-color: #fff;
}

.white-text,
.white-text a {
    color: #fff;
}

.white-text a:hover {
    color: #b6c3c4;
}

.contact-bg {
    background: url('../img/branch.png') no-repeat center center scroll; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.spacer {
    height: 6em;
    border-top: solid 3px #b6c3c4;
}

.footer {
    font-size: 0.7em;
    text-align: center;
    color: #fff;
    padding: 3em;
}

.logo
{
    margin: 4em 0 0 0;
    padding: 1em;
    width: 85%;
    max-width: 680px;
}

.logo-smaller
{
    margin-top: 2em;
    padding-top: 1em;
    width: calc(100% - 4em);
    max-width: 500px;
}

.center
{
    text-align: center;
}

.motto,
.motto2 {
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin: 0 auto;
    max-width: 1024px;
    width: 100%;
}

.motto {
    font-size: 2.9em;
    padding: 0 10px;
}

.motto2
{
    font-size: 2.3em;
    padding: 20px 10px;
}

.section-title,
.section-title2,
.section-title3 {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 2.7em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-align: left;
    padding: 30px 10px 0 10px;
}

.section-title,
.section-title2 {
    color: #204652;
}

.section-title3 {
    color: #fff;
}

.section-title span,
.section-title3 span {
    border-bottom: solid 3px #b1c3ca;
}

.section-title2 span {
    border-bottom: solid 3px #fff;
}

.section-subtitle {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    padding: 30px 10px 0 10px;
}

/* position the main content */
.alignbottom {
    position: relative;
}

/* john pic */
.john-logo {
    text-align: center;
    padding: 1.5em;
    width: 320px;
}

.john-title
{
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    padding-bottom: 2em;
}

.john-info {
    font-size: 1.4em;
    padding: 20px;
    min-height: 22em;
}

/* more info click */
.more-button {
    font-size: 0.8em;
    color: #993300;
}

.read-more-content,
.read-more {
    display: none;
    margin-top: 1rem;
}

.read-more-content.expanded .read-more,
.read-more.expanded .read-more {
    display: block;
}

/* nav-menu */
.nav-menu
{
    font-size: 1.1em;
    text-align: center !important;
    white-space: nowrap;
    padding: 25px;
}

.nav-menu-logo
{
    float: left;
}

.nav-menu-logo img
{
    display: none;
    height: 3em;
    margin-top: -.5em;
}

.nav-menu-links
{
    font-family: 'Roboto Condensed', Arial, sans-serif;
    text-align: right;
}

.nav-menu-links span
{
    padding: 0 20px;
}

.nav-menu-links span a
{
    color: #fff;
}

.nav-menu-links span a:hover
{
    color: #ccc !important;
}

.menu-height {
    height: 4em;
}

.mobile-menu-height {
    padding-top: 1em !important;
    max-height: 10em !important;
}

.mobile-menu-item {
    padding: 0 15px;
    font-size: 1.1em;
    font-weight: bold;
}

.menu-icn,
.menu-icn-dark {
    position: absolute;
    right: 15px;
    top: 25px;
	display: block;
	width: 30px;
	height: 30px;
}

.menu-icn {
	background: url('../img/menu.png') no-repeat center top;
}

.menu-icn-dark {
	background: url('../img/menu_dark.png') no-repeat center top;
}

/*flip-card*/
.card1 {
	background: url('../img/card1.png') no-repeat center center;
}
.card2 {
	background: url('../img/card2.png') no-repeat center center;
}
.card3 {
	background: url('../img/card3.png') no-repeat center center;
}
.card4 {
	background: url('../img/card4.png') no-repeat center center;
}
.card5 {
	background: url('../img/card5.png') no-repeat center center;
}
.card6 {
	background: url('../img/card6.png') no-repeat center center;
}

.card1,
.card2,
.card3,
.card4,
.card5,
.card6 {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.do-item-title {
    font-size: 1.9em;
    font-weight: bold;
    color: #fff;
    padding: 0.5em;
}

.flip-card {
    -webkit-perspective: 1000;
            perspective: 1000;
    border: 0;
    background: transparent;
    padding: 2em;
    height: 28rem;
}

.flip-card:hover .flip-card-inner,
.flip-card.hover .flip-card-inner {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
}

.flip-card-inner-front,
.flip-card-inner-back {
    width: 100%;
    height: 24rem;
}

.flip-card-inner {
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    position: relative;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
}

.flip-card-inner-front,
.flip-card-inner-back {
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.flip-card-inner-front {
    background-color: #fff;
    border-radius: 10px;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 3rem;
}

/*.flip-card-inner-front img {
    background-color: #fff;
    opacity: 0.8;
    border-radius: 10px;
    padding: 0.25em 2em;
}*/

.flip-card-inner-back {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1rem;
}

.flip-card-inner-back-title {
    font-weight: bold;
    border-bottom: solid 2px #993300;
}

.flip-card-inner-back-text {
    font-size: 1.2em;
    line-height: 1.3;
}