/* This CSS file is part of the HTML5 / CSS3 tutorial on http://www.lingulo.com */

/* GLOBAL */
body
{
        border-top:15px solid #444343;
        background:#000000;
        font-family: 'Khula', sans-serif;
		font-weight:300;
        color:#333333;
}

input
{
        font-family: 'Open Sans', sans-serif;
        font-size:16px;
        padding: 7px;
        outline: 0;
        border:0;
        width:250px;
        background: #EBE8DE;
        border-radius:5px;
}

input[type=submit]
{
        width:auto;
        padding: 5px 18px;
        line-height:25px;
        text-shadow:none;
        cursor:pointer;
        box-shadow: none;
        background: #333333;
        color: #fff;
}

p
{
        margin:5px 0;
        line-height:25px;
}

a
{
        text-decoration:none;
        color:inherit;
        transition: color .5s ease;
}

strong
{
        font-weight:bold;
}

figcaption strong
{
        border-bottom: 1px solid #D6D0C1;
        padding-bottom:10px;
        margin: 10px 0;
        display:block;
}

figcaption
{
        line-height: 25px;
        font-size:14px;
        width:200px;
}

hr
{
        background-color: #D6D0C1;
        border:0;
        height:1px;
        margin:20px 0;
}


/* HEADER */

header
{
        position:relative;
        width:auto;
        margin: 0 auto 20px auto;
		background-image:url(../img/sketch_bkgd.jpg);
		background-color:#FFFFFF;
		/*background: -webkit-linear-gradient(5deg, white, black); /* For Safari 5.1 to 6.0 */
   /* background: -o-linear-gradient(5deg, white, black); /* For Opera 11.1 to 12.0 */
   /* background: -moz-linear-gradient(5deg, white, black); /* For Firefox 3.6 to 15 */
   /* background: linear-gradient(5deg, white, black); /* Standard syntax (must be last) */
}

header .shadow{
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: 0;
    left: 0;
    margin-bottom: -1px;
    background: url('../img/shadow.png') repeat-x;
	z-index:1;
}


header h1
{
        margin:35px 0 0 0;
        font-size:30px;
        color:#1c5157;
font-family: 'Fredericka the Great', cursive;
}

header h2
{
        color:#bbbaba;
font-family: 'Khula', sans-serif;
}

header p
{
        font-family: 'Open Sans', sans-serif;
        font-size:16px;
        color: #4A463B;
        margin-left:132px;
}
header img
{
	position:relative;
	margin: 15px 0 0 40px;
	padding-bottom: 5px;
	padding-top: 5px;
}

.phone
{
	position:relative;
	text-align:right;
	float:right;
	width:300px;
	margin-right:40px;
	margin-top:-125px;
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* NAVIGATION */


nav {
	height: 40px;
	width: 100%;
	font-size: 18pt;
	font-family: 'Fredericka the Great', cursive;
	text-transform:uppercase;
	position: relative;
	z-index:2;
	/*border-bottom: 2px solid #283744;*/
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 700px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #1c5157;
	display: inline-block;
	width: 175px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #283744;
}
/*nav li a {
	border-right: 1px solid #576979;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}*/
nav a:hover, nav a:active {
	color: #38c6e5;
}
nav a#pull {
	display: none;
}

/* 3 COLUMNS */

#boxcontent
{
        width:auto;
        max-width:1050px;
        margin:0 auto;
        padding:70px 0 45px 0;
}

#boxcontent article
{
        float:left;
        width:300px;
		height:350px;
        margin-right:45px;
        font-size:14px;
		border-radius:10px;
		background: #8a8888; /* Old browsers */

background: #d3d1d1; /* Old browsers */

background: -moz-linear-gradient(top,  #d3d1d1 0%, #eff1f2 7%, #ffffff 46%, #abacad 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d3d1d1), color-stop(7%,#eff1f2), color-stop(46%,#ffffff), color-stop(100%,#abacad)); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  #d3d1d1 0%,#eff1f2 7%,#ffffff 46%,#abacad 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  #d3d1d1 0%,#eff1f2 7%,#ffffff 46%,#abacad 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  #d3d1d1 0%,#eff1f2 7%,#ffffff 46%,#abacad 100%); /* IE10+ */

background: linear-gradient(to bottom,  #d3d1d1 0%,#eff1f2 7%,#ffffff 46%,#abacad 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3d1d1', endColorstr='#abacad',GradientType=0 ); /* IE6-9 */

}

#boxcontent article h3
{
        font-family: 'Open Sans', sans-serif;
        font-size:30px;
		font-weight:bold;
        margin-left:10px;
		margin-top:20px;
}

#boxcontent article h4
{
        font-family: 'Open Sans', sans-serif;
        font-size:20px;
        margin-bottom:10px;
        margin-left:30px;
}

#boxcontent article img
{
        float:left;
}

#boxcontent article p
{
        line-height:25px;
        font-family: 'Open Sans', sans-serif;
        margin:0 10px 0 10px;
}


/* BUTTONS */

.button
{
        padding:7px 14px;
        border: 1px solid #c3532e;
        background-image: linear-gradient(bottom, #E56038 0%, #ff8c66 100%);
        background-image: linear-gradient(to bottom, #ff8c66 0%, #E56038 100%);
        background-color: #eb653c;
        color: #EBE8DE;
        text-shadow: 1px 1px 0px #ff8155;
        text-decoration:none;
        border-radius:5px;
        box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
}

.button:hover
{
        background:none #EBE8DE;
        border-color: #EBE8DE;
        text-shadow:none;
        color: #4A463B;
}


/* SPACER */

#spacer
{
        width:auto;
        height:5px;
        background-color:#333;
        position:relative;
        font-family: 'Open Sans', sans-serif;
        color:#fff;
        font-size:18px;
		margin: 0 auto;

}

#spacer p
{
        margin-top:22px;
        width:auto;
        position:absolute;
        left:50%;
        margin-left:-450px;
}




/* FOUR COLUMNS */

#four_columns, #text_columns
{
        line-height:25px;
        font-family: 'Open Sans', sans-serif;
        clear:both;
        width:auto;
        max-width:1050px;
        margin:0 auto;
}

#four_columns h2, #text_columns h3
{
        font-size:20px;
        border-bottom: 1px solid #D6D0C1;
        padding: 20px 0;
        margin-bottom: 20px;
}

#text_columns h5
{
        font-size:40px;
        padding: 20px 0;
        margin-bottom: 20px;
}

#four_columns .img-item
{
        float:left;
        margin-right:25px;
}

#four_columns .img-item a
{
        position:relative;
        display:block;
}

.thumb-screen
{
        display:block;
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:113px;
        background: #000 url(img/zoom.png) center center no-repeat;
        z-index:99;
        opacity: 0;
        transition: opacity .5s ease;
}

.thumb-screen:hover
{
        opacity:0.5;
}


/* TWO COLUMNS */

#text_columns article.column1, #text_columns .column2
{
        margin: 70px 0;
        font-size:14px;
        float:left;
        width:auto;
        max-width: 450px;
}

#text_columns .column2
{
        margin: 120px 0;
}

.row
{
	position:relative;
	margin: 40px 0 0 50px;
	float:right;
	width:250;
}

.row img
{
        float:left;
}

.row p
{
        margin-left: 100px;
}

.rocket, .clock
{
        top:0;
        left:0;
        position:absolute;
        height: 80px;
}

.rocket:hover
{
        opacity:0;
        transition: opacity 0.4s ease 0.2s;
        animation-name: stylie-transform-keyframes;
        animation-duration: 700ms;
        animation-delay: 0ms;
        animation-fill-mode: forwards;
        animation-timing-function: linear;
        animation-iteration-count: 1;
        transform-origin: 0 0;
}

.clock:hover
{
        animation-name: stylie-transform2-keyframes;
        animation-duration: 100ms;
        animation-delay: 0ms;
        animation-fill-mode: forwards;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        transform-origin: 0 0;
}



/* FOOTER */

footer
{
        position:relative;
        clear:both;
        width:auto;
        height:150px;
        background:#333333;
}

footer .wrapper
{
        line-height:25px;
        margin: 0 auto;
        padding-top:10px;
        width:auto;
        max-width:900px;
        font-size:12px;
}

footer .single {
	font-family: 'Open Sans', sans-serif;
        color:#ababab;
        float:left;
        width:auto;
        margin-right:20px;
}
	

footer .wrapper .column
{
        font-family: 'Open Sans', sans-serif;
        color:#ababab;
        float:left;
        width:280px;
        margin-right:20px;
}

footer .wrapper .column.midlist ul li
{
        display:block;
        width:auto;
        padding:0 0 10px 25px;
        margin-bottom:10px;
        border-bottom: 1px solid #444444;
        background:url(img/arrowright2.png) left 6px no-repeat;
}

footer .wrapper .column.midlist ul li a:hover
{
        color:#fff;
}

footer .wrapper .column.rightlist ul li
{
        display:block;
        width:auto;
        margin-bottom:15px;
}

footer .wrapper .column.rightlist ul li a span
{
        margin-left:95px;
        display:block;
}

footer .wrapper .column.rightlist ul li a img
{
        transition: border .25s ease;
        float:left;
        border:3px solid #444444;
}

footer .wrapper .column.rightlist ul li a img:hover
{
        border-color: #5e5e5e;
}

footer .wrapper .column h4
{
        font-size: 16px;
        color: #fff;
        border-bottom: 1px solid #444444;
        padding: 0 0 10px 0;
        margin-bottom: 10px;
}

#copyright
{
        background: #1D1D1D;
        height:70px;
        position:absolute;
        bottom:0;
        left:0;
        width:100%;
}
#copyright .wrapper
{
        font-family: 'Open Sans', sans-serif;
        padding-top:25px;
        color: #5e5e5e;
        font-size:14px;
        position:relative;
}
#copyright .wrapper .social
{
        position:absolute;
        right:0;
        top:25px;
}
#copyright .wrapper .social a
{
        transition: opacity .25s ease;
        opacity: 0.3;
        margin-left: 12px;
        display:block;
        float:left;
}
#copyright .wrapper .social a:hover
{
        opacity: 0.7;
}
#copyright .wrapper a
{
        color: #ABABAB;
}

#copyright .wrapper a:hover
{
        color: #fff;
}


/* SKIPLINK */
.go-top
{
        position: fixed;
        bottom: 2em;
        right: 2em;
        text-decoration: none;
        color: white;
        background-color: rgba(0, 0, 0, 0.3);
        font-size: 12px;
        padding: 1em;
        display: none;
}

.go-top:hover
{
        background-color: rgba(0, 0, 0, 0.6);
}


#container
{
	    border-top:15px solid #444343;
        width:auto;
		height: 600px;
        margin: -20px 0px -10px 0px;
        position:relative;
		background-image:url(../img/book_background_port.jpg);
		background-repeat: no-repeat;
   		background-attachment: scroll;
   		background-position: center;
		background-size:cover; 
}

#container .book_left{
	float: left;
	margin:2% 0 0 20%;
	width:25%;
}
#container .book_right{
	float: left;
	margin:2% 0 0 10%;
	width:25%;
}

#container h1{
	font-family: 'Fredericka the Great', cursive;
	font-size:24px;
}

#container h2{
	font-family: 'Oregano', cursive;;
	font-size:20px;
}

#container_gallery
{
		border-top:15px solid #444343;
        width:auto;
		height: auto;
        margin: -20px 0px 0px 0px;
        position:relative;
		background:#FFFFFF;
}

#container_gallery img
{
	box-shadow: 5px 5px 10px  #444343;
}


#container_form
{
		border-top:15px solid #444343;
        width:auto;
		height: auto;
        margin: -20px 0px 0px 0px;
        position:relative;
		background:#FFFFFF;
}

#container_form p
{
	padding-left:30px;
}

#blankpage
{
       	border-top:15px solid #444343;
	    width:auto;
		height: auto;
        margin: -20px 0px 0px 0px;
        position:relative;
		background:#FFFFFF;
}

#blankpage img
{
	margin:-3px 0px -3px -10px;
}

#demopage
{
       	border-top:15px solid #444343;
	    width:auto;
		height: auto;
        margin: -20px 0px 0px 0px;
        position:relative;
		background:#FFFFFF;
}


table.center {
	margin-top:5px;
margin-left:auto; 
margin-right:auto;
}


td img{
	display:block;
}

table.decoration{
	margin: 0 auto 0 auto;
	text-align:center;
	color:#000000;
	
}







/* MISC */
.clear
{
        clear:both;
}
.hidden
{
        position:absolute;
        clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
        clip: rect(1px, 1px, 1px, 1px);
}


/* ------------- Fonts (handwriting) -------------------------------------------- All Pages -

font-family: 'Fredericka the Great', cursive;

font-family: 'Oregano', cursive;

font-family: 'Kranky', cursive;

font-family: 'Khula', sans-serif;

font-family: 'Open Sans', sans-serif;


-- */


/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 1200px)
{
 

#container p{
	font-size:90%;
	line-height:150%;
}
footer .wrapper
{
        margin: 0 15px;
}

}

@media (max-width: 900px)
{
 

#container
{
	    border-top:15px solid #444343;
        width:auto;
		height: 500px;
        margin: -20px 0px -10px 0px;
        position:relative;
		background-image:url(../img/book_background_port.jpg);
		background-repeat: no-repeat;
   		background-attachment: scroll;
   		background-position: center;
		background-size:cover; 
}

#container .book_left{
	float: left;
	margin:2% 0 0 20%;
	width:25%;
}

#container .book_right{
	float: left;
	margin:2% 0 0 10%;
	width:25%;
}

#container h1{
	font-family: 'Fredericka the Great', cursive;
	font-size:90%;
}
	#container h2{
			font-size:85%;
}
#container p{
	font-size:80%;
	line-height:150%;
}


}


@media (max-width: 790px)
{

        header
        {
                height:318px;
        }
		header h2
{
        color:#000000;
		font-family: 'Khula', sans-serif;
}

        header nav
        {
                right: auto;
                bottom: auto;
        }
        #spacer
        {
                height:15px;
        }
        #spacer p
        {
                text-align:center;
                position:static;
                margin: 0 auto;
                padding:15px 0 7px 0;
        }
        #spacer .search
        {
                text-align:center;
                position:static;
                margin: 0 auto;
        }
		#container
{
	    border-top:15px solid #444343;
        width:auto;
		height: 500px;
        margin: -20px 0px -10px 0px;
        position:relative;
		background-image:url(../img/book_background_port.jpg);
		background-repeat: no-repeat;
   		background-attachment: scroll;
   		background-position: center;
		background-size:cover; 
}
		#container p{
			font-size:75%;
			line-height:150%;
		}
		
		
	   
	nav { 
  		height: auto;
		border-top:1px solid #576979;
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	nav li a {
		border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
	#servlist
{

width: 100%;

}

}

@media (max-width: 730px)
{
	
		#container
{
	    border-top:15px solid #444343;
        width:auto;
		height: 300px;
        margin: -20px 0px -10px 0px;
        position:relative;
		background-image:url(../img/book_background_port.jpg);
		background-repeat: no-repeat;
   		background-attachment: scroll;
   		background-position: 50% 30%;
		background-size:cover; 
}
#container .book_left{
	float: left;
	margin:2% 0 0 20%;
	width:28%;
}

#container .book_right{
	float: left;
	margin:2% 0 0 5%;
	width:30%;
}
#container h1{
	font-family: 'Fredericka the Great', cursive;
	font-size:14px;
}
	#container h2{
			font-size:70%;
}
#container p{
	font-size:60%;
	line-height:150%;
}
}

@media (max-width: 570px)
{
       
		header
        {
                height:250px;
				z-index:10;

        }
		
		header img
{
	display: block;
    margin-left: auto;
    margin-right: auto 
}

	header .phone
{
		display:none;
}
       
	    #spacer
        {
                height:1px;
                padding-bottom:15px;
        }
       
      
      #container
{
	    border-top:15px solid #444343;
        width:auto;
		height:auto;
        margin: -20px 0px 0px 0px;
        position:relative;
		background-image:none;
		background-color:#FFF;
		z-index:-1;
}

#container_gallery
{
	    z-index:1;

}
#container_form
{
		z-index:1;
}


#container .book_left{
	float: none;
	width:auto;
	margin:10px 5px 5px 10px;
}

#container .book_right{
	float: none;
	width:auto;
	margin:10px 5px 10px 10px;
}

#container h1{
	font-family: 'Fredericka the Great', cursive;
	font-size:24px;
}
		#container p{
			font-size:75%;
			line-height:150%;
		}
		
				
       nav {
		border-bottom: 0;
		background-color:#000000;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #000000;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('../img/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
       
        header h1
        {
                font-size:30px;
        }
        header p
        {
                margin-left: 60px;
                font-size:14px;
        }
		#text_columns article.map
{
	display:none;
}


footer .single
{
        margin: -5px 15px 15px 15px;
}
		

/*Smartphone*/
@media only screen and (max-width : 390px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
	}
	footer
{
       
        height:200px;
}
#copyright .wrapper
{
        padding-bottom:15px;
        font-size:11px;
}
	
}

/* KEYFRAMES */

@keyframes stylie-transform-keyframes {
  0% {transform:translateX(30px) translateY(46px) rotate(0deg) translate(-50%, -50%);animation-timing-function: cubic-bezier(.25,.25,.75,.75);}
  100% {transform:translateX(260px) translateY(-150px) rotate(0deg) translate(-50%, -50%);}
}

@keyframes stylie-transform2-keyframes {
  0% {transform:translateX(40px) translateY(40px) rotate(0deg) translate(-50%, -50%);animation-timing-function: cubic-bezier(.25,.25,.75,.75);}
  100% {transform:translateX(50px) translateY(40px) rotate(0deg) translate(-50%, -50%);}
}
