/*
Theme Name: Carissa
Theme URI: http://rustycompass.com
Description: Child theme for the pinbin theme
Author: Amanda Griffin
Author URI: http: //rustycompass.com
Template: pinbin
Version: 1.0
*/
@import url("../pinbin/style.css");

/* ==========================================================================
   Base styles: 
   ========================================================================== */
@font-face {
    font-family: 'Aliquam';
    src:url('http://www.carissamarshphotography.co.nz/blog/wp-content/themes/carissa/fonts/webfonts_Aliquam/Aliquam.ttf.woff') format('woff'),
        url('http://www.carissamarshphotography.co.nz/blog/wp-content/themes/carissa/fonts/webfonts_Aliquam/Aliquam.ttf.svg#Aliquam') format('svg'),
        url('http://www.carissamarshphotography.co.nz/blog/wp-content/themes/carissa/fonts/webfonts_Aliquam/Aliquam.ttf.eot'),
        url('http://www.carissamarshphotography.co.nz/blog/wp-content/themes/carissa/fonts/webfonts_Aliquam/Aliquam.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

html, body{
	height:100%;
}

html,
button,
input,
select,
textarea {
    color: #000;
	font-family: 'Quicksand', sans-serif;
}

body {
	font-size: 1em;
	line-height: 1.4;
	font-family: 'Quicksand', sans-serif;
}

a {
	text-decoration:none;
	color:#000;
}

a:hover{
	color:#999;
}

a:link{
	text-decoration:none;
	color:#000;
}

.pinbin-category p a:visited{
	color:#000;
}

p a{
 	color:#21B5C4;
}

h1{
	line-height:.8;
	font-weight:400;
	font-size:3em;
	color:black;
	text-align:left;
	margin: 0.2em 0;
	
}


iframe{
	margin-top:1.7em;
	border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}

h2{
	color:#21b0ae;
	margin:0 auto;
}

p {
	margin-top:1em;
	color:#808080;
	font-size:16px;
}


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations 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;
}


hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align:middle;
}

/*
 * Remove default fieldset styles.
 */


textarea {
    resize: vertical;
}
/* ==========================================================================
   Header
   ========================================================================== */
#headtitle{
	width:40%;
	float:left;
}

#header{
	padding-bottom:25px;
}

#main {
	background-color:#666;
	font-variant:small-caps;
	letter-spacing:2.8px;
	top:0px;
	width:100%;
	min-width:1000px;
	float:left;
	z-index:1;
}

#main h1 {
	margin: 25px auto;
	font-size:2.2em;
	font-family:'Inconsolata', sans-serif;
	text-align:center;
}

#main h1 a:hover{
	font-weight:400;
}

.fb{
	display:inline-block;
	background-image:url(//carissamarshphotography.co.nz/blog/wp-content/themes/carissa/images/facebook2.png);
	
}

.fb:hover img{
	opacity:0;
}

.gp{
	background-image:url(//carissamarshphotography.co.nz/blog/wp-content/themes/carissa/images/googleplus2.png);
	display:inline-block;
}

.gp:hover img{
	opacity:0;
}

.p{
	background-image:url(//carissamarshphotography.co.nz/blog/wp-content/themes/carissa/images/pinterest2.png);
	display:inline-block;
}

.p:hover img{
	opacity:0;
}
/* ==========================================================================
   Navigation
   ========================================================================== */

nav {
	background-color:#cf1825;
	width:60%;
	text-align:left;
	letter-spacing:1px;
	font-size:1em;
	font-weight:400;
	font-variant:normal;
	float:right;
}
nav ul{
	margin:0 0 0 10px;
	padding:0;
	width:450px;
	list-style:none;
}

nav ul li{
	font-size:1em;
	padding:0;
}
	
nav ul li a:hover{
	color:#999;
}

nav li ul { /* second-level lists */
	position: absolute;
	text-align:center;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: 47%;
	top: 0px;
	z-index:30;
}

nav li ul li {
	float:left;
	margin:0 10px;
}

#work{
	background:none;
	margin-top:40px;
	text-align:center;
	width:100%;
	display:inline;
}

.box #work a{
	color:#ddd;
	display:inline;
}

.box #work a:hover{
	color:#999;
}

.current{
	font-weight:400;
	color:#cf1825!important;
}
/* ==========================================================================
   Contact Form
   ========================================================================== */

#contact{
	position:relative;
	top:1150px;
	border-top:2px inset #666;
	background-color:#646464;
	width:100%;
	min-width:1000px;
	padding-bottom:125px;
}


input, textarea {
	width:100%;
	height:2em;
	background-color:#e5f2f1;
	padding:5px;
	margin-bottom:5px;
	border:1px solid #ccc;
}

textarea {
	height:8em;
}

input:focus, textarea:focus {
    background-color:#e5f2f1;
    border: 1px solid #21b0ae!important;
}

label {
	float:left;
    display:block;
	color:#000;
}

::-webkit-input-placeholder {
  color: #999;
}
input:-moz-placeholder {
  color: #999;
}
:-ms-input-placeholder {
  color: #999;
}

::-webkit-textarea-placeholder {
  color: #999;
}
textarea:-moz-placeholder {
  color: #999;
}
:-ms-textarea-placeholder {
  color: #999;
}

#submit {
    width:30%;
    height:2em;
    border:none;
    margin-top:20px;
	margin-bottom:50px;
    cursor:pointer;
	background-color:#333;
	color:#000;
	font-size:1.2em;
	font-weight:700;
	font-family: 'Quicksand', sans-serif;
	letter-spacing:2;
	box-shadow:none;
}

#submit:hover{
		background-color:#cf1825;
}



/* ==========================================================================
   Footer
   ========================================================================== */
#copyright {
	position:relative;
	top: 20px;
	left: 50px;
  	clear: both;
 	width: 40%;
 	border-top: 0;
 	display: inline;
 	float: left;
 	margin-top: 60px;
 	padding-top: 10px;
 	margin-bottom: 20px;
	font-size:0.75em;
}
#copyright p {
  padding-top: 15px;
  color: #4f5356;
  font-size: 12px;
}
#copyright a {
  color: #000;
  text-decoration: none;
}
#copyright a:hover {
  color: #999;
  text-decoration: none;
}

footer{
	clear: both;
	position:relative;
	top:20px;
	left:0;
	width:100%;
	height: 125px;
	background-color:#badedb;
	min-width:320px;
}

#footer-area{
  border-top:none;
  background-color:#666;

}

#footer-area .widget a {
  color: #ccc;
}

#footer-home {
	float:left;
	margin-top:45px;
}

#footer-home a{
	color:#21b0ae;
	font-size:1.5em;
	padding:2em 3em;
}

#footer-home a:hover{
	color:#9D99A2;
}

#footerhome{
	position:relative;
	top:1100px;
	left:0;
	width:100%;
	min-width:1000px;
	background-color:#cf1825;
	height: 125px;
}

footer .menu-item-6618 {
display: none;
}

#links{
	margin:20px;
	float:left;
}

#links ul li{
	float:left;
	margin-right:40px;
}

#cr{
	float:left;
	font-size:0.75em;
	margin:0 5%;
}

#rc{
	float:right;
	font-size:0.75em;
	margin:0 5%;
}

#s{
	height:25px;
}

/* ==========================================================================
	Post and page style
   ========================================================================== */
.metaslider {
   	clear: both;
	overflow:hidden;
}

.current-menu-item a{
	color:#21b0ae;
}

.page {
	background-color:#fff!important;
	width:100%!important;
	margin:0 auto!important;
	font-family:'Quicksand', san-serif!important;
}

.page footer {

}

footer #copyright{
	float:right;
	margin-top:0;
	width:100%;
	padding:0;
	position:static;
}

footer ul{
	width:100%;
	list-style:none;
	display:table;
	margin-bottom:0;
	text-align:center;
	margin:0 auto;
	
}

footer ul li{
	display:inline-block;
	padding:1.95em 4%;
	font-size:1.25em;
}

footer ul li a{
	color:#21b0ae;
}

footer ul li a:hover{
	color:#999;
}

.page h2{
	color: #badedb;
	font-size: 5em;
	margin-top:20px;
	font-family: 'Aliquam', san-serif!important;
}

.page .pinbin-copy h1{
	display:none;
}


.page p {
    color: #999;
    font-size: 16px;
    margin-top: 1em;
}

.page p img{
	width:100%;
}

.page #wrapperhome{
	position:relative;
	margin:0 auto;
	width:100%;
	top:0;
}

#headtitle{
	width:40%;
	float:left;
	margin-left:20px;
}

#headtitle img{
	width:100%;
}

#main {
	letter-spacing:2.8px;
	top:0px;
	width:100%;
	background-color:#fff;
	float:left;
	z-index:1;
	font-variant:normal;
	min-width:320px;
}


#main ul{
	float:right;
	width:100%;
	list-style:none;
	display:inline;
	margin-top:30px;
}

#main ul li{
	float:left;
	padding:0.65em;
	font-size:1em;
	letter-spacing:1px;
}

.menu-menu-1-container{
	width:800px;
	float:right;

}

footer .menu-menu-1-container{
	width:100%;
	float:left;
	font-size:1em;
}

.page #about{
	width:100%;
	margin:0;
	top:0;
}

.page #about h4{
	font-size:24px;
}

.page #about img{
	max-width:400px;
}

.page #footer-area{
	display:none;
}

.page .pinbin-copy {
	padding: 20px 5%;
	max-width:1400px;
	margin:0 auto;
}

.social{
	float: right;
    	margin-top: -30px;
}

.social h2{
	float: left;
    	font-size: 3em;
    	margin-left: -160px;
	margin-top:0;
}

.sfsiplus_norm_row, .sfsi_plus_wDiv {
    position: relative !important;
    width: auto !important;
}

.type-post, #main-nav-wrapper, nav {
    box-shadow: none;
}

.type-post, .type-page, .type-attachment {
  border-right: none;
  border-bottom: none;
  background: #fff;
  margin:0 auto;
  width:80%;
  float:none;
}

.pinbin-copy h1{
	color:#badedb;
}

.pinbin-copy {
	padding: 20px 5%;
	max-width:1400px;
	margin:0 auto;
}

#post-area {
  margin: 0 auto;
  width: 100%;
}

#post-area .post {
	background: #e5f2f1;
	border:1px solid #21b0ae;
	margin-left:10px;
}

.pinbin-meta {
  color:#ccc;
}

#respond h3 {
  color:#ccc;
}

#respond label {
  color:#666;
}

#commentform p {
  color:#666;
}

#commentform a {
  color:#666;
}

.comments-area li {
  background:#ccc;
}

#searchsubmit, button, .comment-submit, input[type="submit"] {
  background-image:none!important;
  text-shadow: none!important;
  background-color:#BADEDB!important;
  border-radius: 0;
  font-size:1em;
}

form p{
  color:#000;
}

p label {
  display: inline-block;
  float: none;
  color:#666;
}

p label input{
  height: 25px;
}

p img{
  vertical-align: inherit;
  max-width:100%;
  height:inherit;
  margin: 2px;
}

#nav-below {
  display:block;
  width:auto;
}

.view-next, .view-previous {
  background-color:#21b0ae;
  height:30px;
  width:50%;
}

.view-next {
  text-align:right;
}

#wrap {
  margin-left:0;
}

.wp-caption img{
	max-width:100%;
	height:inherit;
}

/* ==========================================================================
   Custom styles
   ========================================================================== */
#about{
	position:relative;
	top:-100px;
	width:40%;
	margin:50px;
	float:left;
}

#about h1{
	text-align:left;
	font-size:3em;
}

#about h3{
	font-variant:small-caps;
	margin-top:0.5em;
}

#add{
	float:left;
}

#adddetail{
	margin-left:50px;
	margin-top:120px;
	font-weight:400;
	font-size:1.5em;
	color:#ccc;
	float:left;
}

#adddetail a{
	color:#ccc;
}

#adddetail a:hover{
	color:#FFF;
}

#blurb{
	margin:2em auto;
	width:50%;
}

#container{
	top:0px;
	width:1000px;
	margin: 0 auto;
}

#containerhome{
	position:absolute;
	width:1000px;
	margin: 0 auto;
}
#content{
	padding-bottom:176px;
}

#greycontainer{
	position:relative;
	top:100px;
	background-color:#646464;
	color:#ccc;
	border-bottom:1px solid #ddd;
	overflow:hidden;
	min-width:1000px;

}

#greycontainerhome{
	position:relative;
	top:1150px;
	background-color:#646464;
	color:#ccc;
	border-bottom:1px solid #ddd;
	min-width:1000px;
}

#hintheader{
	width:100%;
	min-width:1000px;
}

#hints{
	background-color:#646464;
	color:#222;
	width:100%;
	min-width:1000px;
	padding-bottom:190px;
}

#hints h2{
	text-align:left;
	font-size:3em;
	color:#000;
	font-weight:400;
}

#hints h3{
	font-variant:small-caps;
	margin-top:1em;
	color:#ccc;
}

#hints p{
	margin:0.5em 0;
}

#hints ul li{
	list-style-type:square;
}

#hints ul{
	padding:0 0 0 15px;
	margin:0.5em 0;
}

#hintwrapper{
	width:80%;
	margin:0 auto;
}

#icons{
	position:relative;
	margin-top:-75px;
	margin-right:50px;
	float:right;
}

#packagelinks{
	position:relative;
	background-color:#000;
	top:100px;
	width:1000px;
	margin:0 auto;
}

#phone{
	float:right;
}

#pretext{
	background-color:#cf1825;
	margin:0;
}

#pretext p{
	width:80%;
	margin:0px auto;
	font-size:1.25em;
	padding:25px;
	color:#000;
}

#privategallery{
	float:none;
	margin:10px auto;
	width:100%;
	height:180px;
	font-size:1.5em;
	text-align:center;
}

#privategallerybtn{
	padding:0;
	width:80%;
	background-color:#333;
	border:none;
}

#privategallerybtn:hover{
	background-color:#cf1825;
}

#privategallerypassword{
	width:80%;
	border:none;
	background:#646464;
	padding:0;
	margin:10px auto;
}

#privategallerywrap{
	width:1000px;
	margin:0 auto;
}

#selfie{
	position:relative;
	float:left;
	width:400px;
	height:600px;
	background-color:#333;
	margin-top:80px;
	top:-100px;
}

#special:hover #specialtext{
	visibility:visible; 
	opacity:1;
}

#specialtext{
	font-size:0.8em;
	color:#999;
	position:absolute;
	width:180px;
	height:180px;
	margin:0;
	top:0;
	bottom:0;
	left:0;
	right:0;
	padding:10px;
	background: rgba(0, 0, 0, 1);
	visibility:hidden;
	opacity:0;

}

#specialtext p{
	padding:20px;
}

#testhead{
	position:relative;
	background-color:#000;
	margin:0 auto;
	z-index:-1;
}

#wrapper{
	position:relative;
	min-height:100%;
}

#wrapperhome{
	position:relative;
	margin:0 auto;
	width:100%;
	top:0;
}

.adj1{
	position:relative;
	top:-200px;
}

.adj2{
	position:relative;
	top:-200px;
	left:200px;
}

.adj3{
	position:relative;
	top:-400px;
	left:400px;
}

.adj4{
	position:relative;
	left:-400px;
}

.adj5{
	position:relative;
	top:-200px;
	left:-600px;
}

.adj6{
	position:relative;
	top:-400px;
	left:-200px;
}

.adj7{
	position:relative;
	top:-600px;
}

.backtotop1{
	position:relative;
	top:-20px;
	margin-left:20px;
	padding:5px;
	width:120px;
	background-color:#333;
	float:left;
	text-align:center;
	color:#ccc;
}

.backtotop1:hover{
	font-weight:400;
	background-color:#cf1825;
}

.backtotop2{
	position:absolute;
	top:20px;
	right:20px;
	padding:5px;
	width:120px;
	background-color:#333;
	text-align:center;
	color:#ccc;
}

.backtotop2:hover{
	font-weight:400;
	background-color:#cf1825;
}

.backtotop3{
	margin:20px 20px 0 0;
	padding:5px;
	width:120px;
	background-color:#333;
	float:right;
	text-align:center;
	color:#ccc;
}

.backtotop3:hover{
	font-weight:400;
	background-color:#cf1825;
}

.box{
	height:180px;
	width:180px;
	color:#cf1825;
	text-align:center;
	display:table;
	font-size:1.5em;
}

.box p{
	display:table-cell;
	vertical-align:middle;
}

.box p:hover{
	color:#999;
}

.box a{
	color:#cf1825;
	font-weight:400;
	display:table-cell;
	vertical-align:middle;
}

.box a:hover{
	color:#999;
}

.box2{
	position:relative;
	top:-100px;
	background-color:#000;
	height:150px;
	width:150px;
	color:#ddd;
	margin:10px 40px;
	text-align:center;
	display:table;
	font-size:1.6em;
	float:left;
}

.box2 a{
	display:table-cell;
	vertical-align:middle;
	font-size:1.5em;
	letter-spacing:2px;
	color:#999;
	font-variant:small-caps;
}

.box2 a:hover{
	font-weight:400;
	color:#cf1825;
}

.box2 p{
	display:table-cell;
	vertical-align:middle;
	font-size:1.5em;
	letter-spacing:2px;
	color:#999;
	font-variant:small-caps;
}


.box3{
	height:300px;
	width:225px;
	margin:10px 50px 10px 80px;
	text-align:center;
	font-variant:small-caps;
	color:#ddd;
/*	display:table;
*/	font-size:3.0em;
	float:left;
}

.box3 p{
	margin:0;
}

.box4{
	height:225px;
	width:225px;
	margin:10px 50px 10px 80px;
	text-align:center;
	font-variant:small-caps;
	color:#ddd;
	display:table;
	font-size:2.5em;
	float:left;
}

.box5{
	height:150px;
	width:500px;
	text-align:center;
	font-variant:small-caps;
	display:table;
	top:0px;
	margin:0 auto;
}

.box5 h2{
	position:relative;
	display:table-cell;
	vertical-align:middle;
	font-size:2em;
	font-family:'Inconsolata', sans-serif;
	letter-spacing:2.8px;
	color:#cf1825;
}

.box6{
	height:180px;
	width:380px;
}

.box7{
	position:relative;
	background-color:#000;
	height:150px;
	display:table;
	margin-left:10%;
	font-size:1.6em;
	float:left;
}

.box7 h1{
	display:table-cell;
	color:#999;
	vertical-align:middle;
	font-size:1.5em;
	letter-spacing:2px;
	font-variant:small-caps;
}


.center{
	text-align:center;
}

.col1{
	width: 180px;
}

.col2{
	width:380px;
}

.col3{
	width:580px;
}

.divide1a{
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	margin-top:50px;
}

.divide1{
	border-bottom:1px solid #ddd;
	margin-top:50px;
}

.divide2{
	border-bottom:1px solid #ddd;
	border-top:2px inset #666;
	padding-top:50px;
}

.divide3{
	border-top:2px inset #666;
	border-bottom:none;
	padding-top:50px;
}

.enquire{
	padding:5px 20px;
	width:150px;
	font-size:0.4em;
	float:none;
	font-variant:normal;
	background-color:#333;
	text-align:center;
	color:#ccc;
}

.enquire:hover{
	background-color:#cf1825;
}



.item{
	margin:10px;
	float:left;
}

.message{
	margin:10px 0 0 50px;
	font-size:1.25em;
}

.move{
	position:relative;
	top:-30px;
}


.packagetext{
	color:#000;
	margin-top:10px;
	margin-bottom:50px;
	max-width:55%;
	line-height:1.4;
	float:left;
}

.pinbin-category{
	background-color:#fff;
}

.pinbin-category a:link{
	color:#666;
}

.pinbin-image img{
	display:block;
	margin:0 auto;
	max-width:100%;
	height:inherit;
}

.post-next a, .post-prev a {
	background-color:#BADEDB;
}

.post-next a{
	margin-left:90%;
}

.slideshow{
	height:380px;
	width:580px;
	position:relative;
	border:0px;
}

.slideshow img {
  display: none;
  position: absolute; 
  top: 0; 
  left: 0; 
}

.slideshow2{
	height:380px;
	width:380px;
	position:relative;
	border:0px;
}

.slideshow2 img {
  display: none;
  position: absolute; 
  top: 0; 
  left: 0; 
}

.smalllh{
	margin:0;
	line-height:.5;
}

.swap1{
	background-image:url(../images/hpimage1bw2a.jpg);
}

.swap1:hover img{
	opacity:0;
}

.swap2{
	background-image:url(../images/hpimage7newbw.jpg);
}

.swap2:hover img{
	opacity:0;
}

.swap3{
	background-image:url(../images/hpimage8a.jpg);
}

.swap3:hover img{
	opacity:0;
}

.swapg1{
	background-image:url(../images/glamour2fadea.jpg);
}

.swapg1:hover img{
	opacity:0;
}

.swapg2{
	background-image:url(../images/glamour6a.jpg);
}

.swapg2:hover img{
	opacity:0;
}

.swapg3{
	background-image:url(../images/glamour8a.jpg);
}

.swapg3:hover img{
	opacity:0;
}

.swapp1{
	background-image:url(../images/portrait4B&W.jpg);
}

.swapp1:hover img{
	opacity:0;
}

.swapp2{
	background-image:url(../images/portrait12bw.jpg);
}

.swapp2:hover img{
	opacity:0;
}

.swapp3{
	background-image:url(../images/portrait1a.jpg);
}

.swapp3:hover img{
	opacity:0;
}

.swapw1{
	background-image:url(../images/wedding1newbw.jpg);
}

.swapw1:hover img{
	opacity:0;
}

.swapw2{
	background-image:url(../images/wedding6bw1.jpg);
}

.swapw2:hover img{
	opacity:0;
}

.swapw3{
	background-image:url(../images/wedding4bw.jpg);
}

.swapw3:hover img{
	opacity:0;
}

.test1{
	position:relative;
	height:380px;
}

.test2{
	position:relative;
	height:580px;
}

.test3{
	position:relative;
	height:380px;
}

.test4{
	position:relative;
	height:380px;
}

.test5{
	position:relative;
	height:380px;
}

.test6{
	position:relative;
	height:380px;
}

.testdesc{
	position:absolute;
	margin:0;
	top:0;
	bottom:0;
	left:0;
	right:0;
	color:#000;
	padding:20px;
	font-size:1.3em;
	background: rgba(153, 153, 153, 0.85);
	visibility:hidden;
	opacity:0;
}

.test1:hover .testdesc{ 
	visibility:visible; 
	opacity:1;
}

.test2:hover .testdesc{
	visibility:visible; 
	opacity:1;
}

.test3:hover .testdesc{ 
	visibility:visible; 
	opacity:1;
}

.test4:hover .testdesc{ 
	visibility:visible; 
	opacity:1;
}

.test5:hover .testdesc{ 
	visibility:visible; 
	opacity:1;
}

.test6:hover .testdesc{ 
	visibility:visible; 
	opacity:1;
}

.theme-default #slideshow {
    margin:0px auto 0 auto;
    width:580px; /* Make sure your images are the same size */
    height:380px; /* Make sure your images are the same size */
}

.thinline{
	line-height:1;
}


/* ==========================================================================
   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: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: ties in with theme code
 */
.screen-reader-text{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow: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.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width:1680px) and (min-width:1100px) {
footer ul li{
	padding: 3em 3%;
}

}

@media only screen and (max-width:1099px) and (min-width:460px) {

footer ul li{
	display: inline-block;
	padding:1em 3%;
	float:none;
}

}

@media only screen and (max-width:459px) and (min-width:0px) {

footer ul li{
	padding:0.5em 3%;
}

}

@media only screen and (min-width:1500px) {
#hintwrapper{
		width:60%;
		margin:0 auto;
}

.box7{
	margin:10px 0;

}

.box7 h1{
	text-align:center;
}
}
@media only screen and (max-width: 1250px) and (min-width:1117px) {
footer{
	height:150px;
}

#footerhome{
	height:150px;
}
.page h2{ 
	font-size:3em;
}
}

@media only screen and (max-width: 1116px){
.page h2{
	font-size:2.5em;

}

.page .social h2{
	font-size:2em;
	margin-left:0;

}


#main h1{
	margin:12px auto;
}

#adddetail{
	margin-top:0;
}

footer{
	height:150px;
}

#footerhome{
	height:150px;
}

.backtotop1{
	visibility:hidden;
}

nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: 475px;
	top: 0px;

}

#submit{
	width:inherit;
}

}

@media only screen and (max-width: 460px) and (min-width:0px) {
.page .social h2{
	display:none;
}

.page #headtitle{
	width:60%;
}

.page h2{
	font-size:1.75em;
	max-width:145px;
	margin-left:0;

	
}

.size-full {
	width:inherit!important;
}

#submit{
	width:inherit;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
	height:inherit;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

