/*
   Theme Name: Singapore House
   Theme URI: http://singaporehouse.com.au
   Author: Hazelnut Creative
   Author URI: http://hazelnutcreative.com
   Description: Custom theme for Singapore House
   Version: 1.0
   License: Attribution-Noncommercial-No Derivatives
   License URI: http://creativecommons.org
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#footer-mobile {
	display: none;
}
.noDesktopDisplay {
	display: none;
}

@font-face {
    font-family: interstate;
    src: url('fonts/interstate_regularcompressed-webfont.eot');
    src: url('fonts/interstate_regularcompressed-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/interstate_regularcompressed-webfont.woff') format('woff'),
         url('fonts/interstate_regularcompressed-webfont.ttf') format('truetype'),
         url('fonts/interstate_regularcompressed-webfont.svg#interstateregularcompressed') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: typenoksidi;
    src: url('fonts/typenoksidi-webfont.eot');
    src: url('fonts/typenoksidi-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/typenoksidi-webfont.woff') format('woff'),
         url('fonts/typenoksidi-webfont.ttf') format('truetype'),
         url('fonts/typenoksidi-webfont.svg#typenoksidiregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
  font-family: 'Carrois Gothic';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/CarroisGothic-Regular.ttf') format('truetype');
}

html {
    font-family: 'Carrois Gothic', sans-serif;
    color: white;
    font-size: 1em;
    letter-spacing: 1px;
    line-height: 1.4em;
  
  	background: #000;
/* 	background: url(http://singaporehouse.com.au/wp/wp-content/uploads/2014/12/background-butterflyroom.jpg) no-repeat center center fixed; */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  
}
html,
body {
    margin:0;
    padding:0;
    height:100%;
}
a {
    text-decoration: underline;
    color: white;
}
a:hover {
    text-decoration: none;
}
#container {
    min-height:100%;
    position:relative;
}
header {
    width: 100%;
    height: 50px;
    background: black;
}
#innerHeader {
    width: 1024px;
    margin: 0 auto;
    position: relative;
    padding-top: 9px;
}
header h1 {  
    text-indent: -9999px;  
    margin: 0;   
    width: 425px;  
    height: 139px;  
    background: transparent url("img/logo.png") no-repeat scroll; 
    position: relative;
    z-index: 1;
}

/* nav */
#nav-wrap {
    margin-top: 0;
    position: absolute;
    top: 14px;
    right: 50px;
    text-align: right;
}

/* menu icon */
#menu-icon {
    display: none; /* hide menu icon initially */
}

#nav, 
#nav li {
    margin: 0;
    padding: 0;
}
#nav li {
    list-style: none;
    float: left;
    margin-right: 5px;
}

/* nav link */
#nav a {
    padding: 4px 15px;
    display: block;
    color: #fff;
    font-family: Interstate;
    font-size: 1.8em;
    text-transform: uppercase;
    text-decoration: none;
}
#nav a:hover {
    text-decoration: underline;
}

/* nav dropdown */
#nav ul {
    background: #fff;
    padding: 2px;
    position: absolute;
    border: solid 1px #ccc;
    display: none; /* hide dropdown */
    width: 200px;
}
#nav ul li {
    float: none;
    margin: 0;
    padding: 0;
}
#nav li:hover > ul {
    display: block; /* show dropdown on hover */
}
#nav .noDesktopDisplay a{
	display: none;
}
#nav li.current_page_item a {
    font-weight: bold;
}

.current-menu-item a { text-decoration: underline !important; }
/* end nav */

#main {
    padding-bottom:50px;   /* Height of the footer */
}
#innerMain {
    width: 960px;
    margin: 0 auto;
    position: relative;
}
#title {
    background: black;
    height: 50px;
    width: 550px;
	margin-left: 340px;
    margin-top: 70px;
}
#title h2{
    font-family: interstate;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1.8em;
    margin: 0;
    padding: 0;
    text-align: right;
    padding-top: 18px;
    padding-right: 17px;
}
#content {
    width: 520px;
    background: rgb(0, 0, 0); /* The Fallback */
    background: rgba(0,0,0,0.8);
    margin-left: 340px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
    
    /* IE6, IE7, IE8, IE9 hack */
    background:transparent\9;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F000000,endColorstr=#7F000000)\9; 
    zoom: 1\9;
}
#content h2 {
	text-transform: uppercase;
}
#content h3 {
	text-transform: none;
  	font-family: interstate;
  	margin-bottom: 5px;
}
#content h3 a {
  	text-decoration: none;
}
#content h3 a:hover {
  	text-decoration: underline;
}
#tab{
    padding-left: 20px;
}
footer {
    position:absolute;
    bottom:0;
    width:100%;
    height:50px;   /* Height of the footer */
    background: black;
}
#footerContainer{
    width: 960px;
    height: 50px; 
    margin: 0 auto;
    position: relative;
}
#address{
    text-align: left;
    position: absolute;
    bottom: 8px;
    left: 0;
    line-height: 1.05em;
}
#socialMedia{
    position: absolute;
    bottom: 13px;
    right: 0;
}
/* contact form */
input[type=text], input[type=email]   { 
    width: 505px; 
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid black
}
textarea  { 
    width: 505px; 
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid black
}
label {
	font-weight: bold;
}
input[type=submit] {
  	padding: 5px;
}

@media screen and (min-width:0\0) { #content {background: rgba(0,0,0,0.5);} } /* IE 10 hack */










/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

/* mobile css */
@media screen and (max-width: 767px) {
	.noMobileDisplay {
		display: none;
	}
	.noDesktopDisplay {
		display: block;
	}
	html, body {
		width: 100%;
	}
	#container {
		width: 100%;
		padding-bottom: 50px;
	}
    header {
         min-width: 100%;   
         height: 60px;
    }
    #innerHeader {
	    width: 100%;
	    padding: 0;
	     margin: 0;
    }
    header h1 {  
	    text-indent: -9999px;  
	    margin: 0;   
	    width: 115px;  
	    height: 40px;  
	    background: transparent url("img/logo_mobile.png") no-repeat scroll; 
	    position: relative;
	    z-index: 0;
	    margin-left: 10px;
	    margin-top: 10px;
	    float: left;
	    z-index: 10001;
	}

    /* nav-wrap */
    #nav-wrap {
        position: static;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* menu icon */
    #menu-icon {
        color: #fff;
        width: 60px;
        height: 30px;
        background: #000 url(img/menu-icon.png) no-repeat right;
        padding-top: 16px;
		margin-right: 10px;
        margin-top: 8px;
		display: block; /* show menu icon */
		float: right;
		text-align: left;
		font-size: 1.3em;
		font-family: interstate;
    }
    #menu-icon:hover {
        background-color: #000;
    }
    #menu-icon.active {
        background-color: #000;
    }
    
    /* main nav */
    #nav {
        clear: both;
        position: absolute;
        top: 40px;
        width: 95%;
        z-index: 10000;
        padding: 2.5%;
        background: #000;
        display: none; /* visibility will be toggled with jquery */
    }
    #nav li {
        clear: both;
        float: none;
        margin: 5px 0 5px 10px;
    }
    #nav a, 
    #nav ul a {
        font: inherit;
        background: none;
        display: inline;
        padding: 0;
        color: #fff;
        border: none;
        text-transform: capitalize;
    }
    #nav a:hover, 
    #nav ul a:hover {
        background: none;
        color: #000;
    }
    
    /* dropdown */
    #nav ul {
        width: auto;
        position: static;
        display: block;
        border: none;
        background: inherit;
    }
    #nav ul li {
        margin: 3px 0 3px 15px;
    }
    #nav .noDesktopDisplay a{
		display: list-item;
	}
    /* end nav */
    
    #main {
	    width: 100%;
	    padding: 0;
	    margin: 0;
    }
    #innerMain {
	    width: 100%
    }
    #title {
	    width: 100%;
	    position: static;
	    margin-top: 25px;
	    margin-left: 0px;
    }
    #content {
	    width: 95%;
	    padding: 2.5%;
	    position: static;
	    margin-left: 0px;
    }
    
    footer {
	   	background: rgb(0, 0, 0); /* The Fallback */
	   	background: rgba(0,0,0,0.5);
	   	height: 60px;
	   	border-top: 1px solid white;
	   	position: relative;
    }
    #footerContainer {
	    width: 100%;
	    height: 60px;
    }
    #address{
    	text-align: center;
    	position: static;
    	padding-top: 10px;
    }
    #socialMedia {
	    display: none;
    }
    
    /* mobile footer */
    #footer-mobile {
        display: block;
        position: fixed;
        width: 100%;
        height: 50px;
        bottom: 0;
        background:#000; 
        color: white;
        font-size: 250%;
        line-height: 50px;
        text-align: center;
        padding-bottom: 5px;

        z-index: 2;
    }
    #footer-mobile a{
        text-decoration: none;
        color: white;
    }
    #footer-mobile span{
        vertical-align:middle;
    }
    #mobile-phone {
        position: absolute;
        left: 0;
        margin-left: 30px;
        font-size: 120%;
        padding-top: 5px;
    }
    #mobile-location {
        position: absolute;
        right: 0;
        margin-right: 30px;
        font-size: 120%;
        padding-top: 2px;
    }
    /* end mobile footer */
    /* contact form */
    input[type=text], input[type=email]   { 
    	width: 95%; 
	}
	textarea  { 
	    width: 95%; 
	}
	input[type=submit] {
		margin-bottom: 5px;
	}
}

@media screen and (min-width: 767px) {
    /* ensure #nav is visible on desktop version */
    #nav {
        display: block !important;
    }
}

/* tablet css */
@media only screen and (min-width:767px) and (max-width : 940px) {	
	#container {
		width: 100%;
	}
	header {
		width: 100%
	}
	header h1 {   
	    width: 300px;  
	    height: 98px;  
	    background: transparent url("img/logo_tablet.png") no-repeat scroll; 
	}
	#innerHeader {
		width: 100%
	}
	#nav-wrap {
		right: 10px;
	}
	#innerMain {
		width: 100%;
	}
	#title {
		margin-left: 200px;
	}
	#content {
	    margin-left: 200px;
	}

	#footerContainer{
		width: 100%;
	}
	#address{
		padding-left: 10px;
	}
	#socialMedia{
		padding-right: 10px;
	}
}

/* gravity form tweaks */
@media only screen and (min-width: 641px) {
	.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
		width: 100% !important; 
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

input[type=text], input[type=email] {
 margin-bottom: 2px; 
}
