/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400,700);


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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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: 4.4em 20% 1em;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


body	{
	font-family: 'Open Sans', Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
	-webkit-backface-visibility:hidden;
		font-size: 100%;
	font-size: 16px; /* Scale origin */
	line-height:2;
	font-weight: 400;
	-webkit-text-size-adjust: 100%;
	-webkit-backface-visibility: hidden; /*fixes flickering see here: http://goo.gl/6c9f92 */
     -ms-word-break: normal;
-webkit-word-break: normal;
	word-break: normal;
-webkit-hyphens: none;
   -moz-hyphens: none;
    -ms-hyphens: none;
        hyphens: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
	text-rendering: optimizeLegibility;
	height:100%;
	text-align: center;
	margin: 0;
	color: #333;
	overflow: scroll;
}

header	{
	height: 110px;
	background-image: url(../img/sandipa-logo.svg);
	background-repeat: no-repeat;
	background-position: top 62% right 1%;
/*  the following two rules are needed to make the position of the logo work in Firefox and Safari - see: http://goo.gl/2u5IOa  */
	background-position-x: 99%;
	background-position-y: 75%;
	}


#sandipa-tree-logo	{
   background-image:url(../img/Big-Country-tree.jpg);
   background-repeat: no-repeat;
   background-position: 5px 5px;
   background-size: 94px 118px;
   display:block;
   height: 131px;
   width: 118px;
   overflow:hidden;
   text-indent:100%;
   white-space:nowrap;
   float: left;
}


section.main-content	{
	padding: 0 4% 0;
	text-align: left;
	margin: 30px 0 0px;
}

article	{
max-width: 74%;
float: right;
}

body.contact article	{
max-width: 40%;
float: left;
}

body.now-showing article	{max-width: 100%;float: left;margin: 0 auto;}

aside	{
max-width: 24%;
min-width: 130px;
float: left;
}

body.contact aside	{
max-width: 34%;
float: right;
margin-right: 15%;
margin-top: 50px
}

article, aside	{
margin-top: 10px;
}


/*	the appendaround element
========================================*/

 /* the sample appendaround element */
  .shareAround {

}
    /* appendAround CSS */

  .baz {
    display: block;
  
}
  .foo,
  .bar {
    display: none; 
  }



/*type*/

h1, h2, h3, h4, h5, h6	{
font-weight: 400;
margin: 0;
padding: 0;
	text-align:center;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.07); 
}


h1	{
	font-size: 1.1em;
	color: #8C8C8C;
	line-height: 1.5;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

h1 span {
text-transform: lowercase
}

article h1	{
	margin-bottom: 35px;
}

body.now-showing article h1	{
	text-align:left;
	font-size: 1.7em;
	color: rgb(34, 104, 165);
	text-transform: capitalize;
	margin-bottom: 0;
}

h2	{
	font-size: 0.95em;
	letter-spacing: 2px;
}

body.now-showing article h2	{
	text-align:left;
}
body.now-showing article h1 + h2	{margin: 0px 0 40px;}

h4	{
	margin-top: 40px;
	font-size: 1.1em;
}

body.now-showing div#now-showing-text {
margin-right: 30%;
}



figcaption.now-showing h3, figcaption.now-showing p {
	color: #242424;
	padding: 9px 5px;
	display: block;
	padding-right: 11px;
	font-size: 1em;
	line-height: 1.5;
	text-shadow: 0px 0px 14px #fff;
	text-align: left;
}
figcaption.now-showing h3 span, figcaption.now-showing p {
	font-size: 0.8em;
	font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	font-style: italic;
	margin: -5px 0 0;
}

figcaption.now-showing p {
	text-shadow: 0px 0px 14px #fffefe;
	padding: 0;
	padding-left: 5px;
	padding-bottom: 8px;
}


p {
    line-height: 1.9;
    font-size: 1.02em;
    margin-bottom: 25px;
    letter-spacing: 0.01em;
    }

p.footnote	{
margin-top: 20px;
text-align:center;
	color:#7D7D7D;
	font-size:0.73em;
}

b, strong {
	font-weight: 700;
}

.sm {
	font-size: 0.8em;
	margin-left: 10px;
	font-weight: 700;
}

blockquote p {
  font-style: italic;
line-height:3;
}



/*Highlighting current page on the navigation bar 
========================================*/

body.home nav ul.slimmenu li a:link.nav-home, body.now-showing nav ul.slimmenu li a:link.nav-now-showing, body.works-for-sale nav ul.slimmenu li a:link.nav-works-for-sale, body.ancient-land nav ul.slimmenu li a:link.nav-ancient-land, body.natural-world nav ul.slimmenu li a:link.nav-natural-world, body.santa-fe nav ul.slimmenu li a:link.nav-santa-fe, body.early-days nav ul.slimmenu li a:link.nav-early-days, body.contact nav ul.slimmenu li a:link.nav-contact	{
    background-color: #E7DACA;
    border-radius: 10px;
    display:block;
}

body.home footer nav ul li a:link.nav-home, body.works-for-sale footer nav ul li a:link.nav-works-for-sale, body.contact footer nav ul li a:link.nav-contact
{
	border-bottom: 1px solid rgb(137, 13, 13);
	padding-bottom: 2px;
  }


/* social media icons */


td.row1, td.row2	{
text-align:center;
padding-top: 10px;
}

td.row2	{
	padding-left: 20px;
}



/*btn*/

.btn	
{
	border-radius: 5px;
	margin: 10px 6px;
	background-color: inherit;
	margin: 10px 3px;
	padding: 1px 8px;
	text-align: center;
	white-space: nowrap;
}

a:link.btn, a:visited.btn 	{
		background-color: rgba(186, 201, 226, 0.47);
		border: 1px solid rgb(194, 194, 194);
}

a:active.btn	{
		border: 1px solid black;
}

.btn a:link	{
	border-bottom: none;
	padding: 0 0px;
	color: black;
}


nav ul li a:link.btn, nav ul li a:visited.btn	{
		background-color: rgba(77, 139, 210, 0.25);
		padding: 3px 9px 4px;
		color: #414141;
}
ul li a:link.btn.red-bg, ul li a:visited.btn.red-bg	{
		background-color: rgba(210, 77, 77, 0.25);
}

a:hover.btn, nav ul li a:hover.btn	{
	background-color: rgba(77, 139, 210, 0.41);
}

/*lists*/

ul.address-list li {
    font-size: 1.05em;
line-height: 1.4;
list-style-type: none;
margin: 25px 0;

}




/*links*/

a,  a:visited {
	color: rgba(0,0,0,1);
	text-decoration: none;
	-webkit-transition-property: all;
	-webkit-transition-duration: 0.1s,0.2s;
	-webkit-transition-timing-function: linear,ease-in;
 -webkit-transition: all 0.5s ease-out; 
     -moz-transition: all 0.5s ease-out; 
       -o-transition: all 0.5s ease-out; 
          transition: all 0.5s ease-out;
}

a:hover {
	color: rgba(0, 0, 0, 0.9);
}

a:active
{
	position: relative;
}

p a:link, p a:visited, span.sm a:link, span.sm a:visited {
	color: hsl(10, 77%, 30%);
    text-decoration: none;
	border-bottom: dashed thin rgba(25, 49, 16, 1);
    -webkit-transition: color 0.9s ease-out;
    -moz-transition: color 0.9s ease-out;
	transition: 0.9s color ease-out;
	padding-bottom:2px;
	}

p a:hover, span.sm a:hover	{
    color: black;
	border-bottom: none;
}


.hide	{
display: none;
}

figure img	{
max-width: 100%;
}


/*	bottom navigation
========================================*/

footer	{
	clear: both;
	border-top: 1px solid rgb(197, 197, 197);
	margin-top:30px;
	text-align: left;
	padding: 0 5%;
}

footer nav	{
	float:right;

	margin: 5px 2% 0 0;

}

footer nav ul
{
	padding: 0;
	margin: 0;
}


footer nav li	{
	line-height:2;
    display:inline-block;
	margin: 0 18px;
	font-size: 0.85em;
}


footer a:link, footer a:visited	{
	color: rgba(0,0,0,0.9);
}


footer  a:hover	{	
	color: rgba(0,0,0,0.6);
}

/*copyright footer*/
footer div	{
font-size: 0.7em;
margin-left: 4%;
margin-top: 0px;
float:left;
position: relative;
}



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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

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

@media only screen and (max-width: 51em) {
	
header	{
	background-position: top 45% right 3%;
	background-size: 38%;
}


#sandipa-tree-logo	{
   background-position: -1px -1px;
	background-size: 65%;
   height: 131px;
   width: 118px;
}

header	{
	height: 89px;
}

body.contact article, body.contact aside	{
	max-width: 100%;
float: none;

}

}


@media only screen and (max-width: 40em) {

/* header - background-size - media queries to get the Sandipa logo look right on various device widths */
header	{
	background-position: top 45% right 7%;
	background-size: 48%;
}

}

@media only screen and (max-width: 35em) {

header	{
	background-size: 58%;
}

article, aside	{
max-width: 100%;
float: none;
}

aside	{
margin-top: 50px;
}



	/*appendAround*/
    div.foo {
      display: block;
    }
    div.bar, div.baz {
      display: none; 
    }
    div.shareAround	{
margin: 65px 0 10px;
}

footer nav	{
float:none;
text-align: center;
}

footer nav ul	{
margin-top: 10px;
}
footer nav li	{
	line-height: 2.4;
	margin: 0 22px;
	font-size: 1em;
}

footer div	{
display:none;
}

}


@media only screen and (max-width: 30em) {

header	{
	background-position: top 40% right 10%;
	background-size: 68%;
}

}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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