/* == CLEARFIX HELPER == */

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: "\00A0";
     clear: both;
     height: 0;
	 line-height: 0;
     }

.clearfix { 
	display: inline-block; 
}

/* -- Start commented backslash hack -- */

* html .clearfix { 
	height: 1%; 
}
.clearfix { 
	display: block; 
}

/* -- Close commented backslash hack -- */

body {
  background: #642c33;
  margin: 0;
}

img {
	margin:0;
	padding:0;
	display: block;
}

hr {
	border-top:8px solid #000;
	
}

/* == TYPOGRAPHY == */

h1 {
	font-family:Georgia,Times,Serif;
	text-align: center;
	font-style:normal;
	font-weight: normal;
	font-size:22px;
	text-decoration:none;
	text-transform:uppercase;
	line-height:84px;
	letter-spacing:1.5px;
	border-top:1px solid #000;
	border-bottom: 1px solid  #000;
	margin-bottom: 38px;

}

h2 {
	font-family:Georgia,Times,Serif;
	margin-top:20px;
	font-size:22px;
	font-weight:normal;
	text-decoration:none;
	text-transform:uppercase;
	letter-spacing:1px;
}

/* -- TEXT LINKS -- */

a:active {
	outline: none;
}

a:focus {
	outline-style: none;
}

/* == WRAPPER AND PAGE ENDS == */

#wrapper {
	position: relative;
	width: 1025px;
	min-height: 1000px;
	margin: 0 auto;
	padding: 0;
	background-image:url("https://pandaandsons.co.uk/img/texture_tile.jpg");
	background-repeat:repeat;
	overflow: hidden;
    
}

#top {
	min-height:35px;
	width:100%;
	margin:0;
	padding:0;
	background-image:url("https://pandaandsons.co.uk/img/taper.png");
	background-repeat:repeat-x;
	background-position:top left;
}

#bottom {
	min-height:35px;
	width:100%;
	margin:0;
	padding:0;
	background-image:url("https://pandaandsons.co.uk/img/taper.png");
	background-repeat:repeat-x;
	background-position:top left;
	transform: scaleY(-1);
}

#main {
	width: 920px;
	min-height: 780px;
	margin: 20px auto 0 auto;
	padding: 5px;
	border-left:solid;
	border-right:solid;
	border-top:solid;
	border-width: 8px;}

#main img {
	display:block;
	margin: 0 auto;
}

/* == PARRALAX HEADER == */

.scene {
  max-width: 894px;
  margin: 0 auto;
  padding: 0;
}

.layer:nth-child(1) {
  opacity: 1;
}
.layer:nth-child(2) {
  opacity: 1;
}
.layer:nth-child(3) {
  opacity: 1;
}
.layer:nth-child(4) {
  opacity: 1;
}
.layer:nth-child(5) {
  opacity: 1;
}
.layer:nth-child(6) {
  opacity: 1;
}

/* == SUBSCRIBE FORM == */

.subscribe {
	min-width:450px;
	text-align:center;
	position:absolute;
	z-index:99999;
	top:692px;
	left:288px;
}

.subscribe button {
	font-family:Georgia,Times,Serif;
	font-style:normal;
	text-transform:uppercase;
	font-size:20px;
	letter-spacing:1px;
    border: none;
    background: transparent;
	margin-top:18px;
}

.subscribe button:hover {
	text-decoration:underline;

}

.subscribe input {
	font-family:Georgia,Times,Serif;
	font-style:normal;
	text-align:center;
	text-transform:uppercase;
	font-size:14px;
	min-width: 450px;
    opacity: 0.6;
    border: none;
    background: transparent;
	padding:0;
	margin:0;
}

/* == NAVIGATION == */

#nav {
	position:fixed;
	display:block;
	width:188px;
	top:180px;
	background-image:url('https://pandaandsons.co.uk/img/nav_bg.png');
	min-height:445px;
	margin-left: 0px;
	z-index:99999;
	transition: margin-left 0.5s ease;
	-webkit-transition: margin-left 0.5s ease;
	-moz-transition: margin-left 0.5s ease;
	-o-transition: margin-left 0.5s ease;
}

#nav:hover {
    margin-left: 0;
}


#links {
	text-decoration: none;
	list-style-type: none;
	padding: 0;
	margin-left: 23px;
	margin-top: 50%;
	width:100px;
	text-align:center;
	line-height:55px;
}

#links li {
		border-bottom:solid 2px #1f1f1f;
		border-bottom-style:dotted;
}

#links a {
	text-decoration:none;
	color:#000;
}

#links a:hover {
	color:#847248;
}

#links a:active {
	color:#642c33;
}

/* == SOCIAL LINKS == */

#social {
	position:fixed;
	right:0;
	top:55px;
	width:70px;
	padding:0;
	z-index:99999;
	margin:0;
}

#social img {
	margin-bottom:10px;
}

/* == MENU == */

#menu {
	width: 930px;
	min-height: 100px;
	margin: 0 auto;
	padding: 0;
	border:solid;
	border-width: 8px;
}

#menu_content {
	width: 930px;
	min-height: 100px;
	margin: 0 auto;
	padding: 0;
	border-left:solid;
	border-right:solid;
	border-width: 8px;
}

.menu_title {
	margin: 0;
	padding: 5px;
	width: calc(100% - 285px);
	float:left;
}

.menu_intro {
	width: calc(100% - 285px);
	margin: 5px auto;
	padding: 0;
	display:block;
	font-family:Georgia,Times,Serif;
	font-style:normal;
	text-align:center;
	font-size:16px;
	line-height: 3px;
	float:left;
}


.menu_list {
	width:335px;
	min-height:387px;
	padding:0;
	margin:0;
	background-color:#000;
	float:right;
}

.menu_list img {
	margin: 35px auto 0 auto;
}

.menu_list ul {
	margin-top:30px;
	letter-spacing:1px;
	padding: 0;
	font-family:Georgia,Times,Serif;
	color:#fff;
	font-style:normal;
	font-weight: normal;
	text-align:center;
	font-size:16px;
	line-height: 55px;
	text-decoration: none;
    list-style-type: none;
	
}

.menu_list li {
	border-bottom:solid 2px #847248;
	border-bottom-style:dotted;
}

.menu_list li a {
	text-decoration:none;
	color:#fff;
}

.menu_list li a:hover {
	color:#847248;
}


/* == IMAGE GALLERY == */


#gallery {
	margin: 0 auto;
	padding: 0;
	width: 930px;
	border-left:solid;
	border-right:solid;
	border-top:solid;
	border-width: 8px;
	
}

.gallery_title {
	width: 930px;
	margin: 0;
	padding: 5px;
	padding-right:3px;
	border-bottom:8px solid #000;
}

#slider {
	margin: 15px auto 15px auto;
	padding: 0;
	width: 900px;
	height:600px;

}
#tiles {
	width:1006px;
	height:136px;
	overflow: visible;
	margin: 10px auto 10px auto;
	padding: 0;
	position: relative;
	background-image:url('https://pandaandsons.co.uk/img/tiles.png');
}

#tiles img {
	position: absolute;
	z-index:99989;
	bottom: 45px;
	left: 200px;
	
}


/* == ABOUT == */

#about {
	margin: 0 auto 50px auto;
	padding: 0;
	width: 930px;
	border:solid  8px;	
}

.about_title {
	margin: 0;
	padding: 5px;
	border-bottom:8px solid #000;
}

.about_text {
	width: 495px;
	text-align:center;
	font-size:15px;
	line-height:17px;
	margin:0 auto;
	padding:30px 50px;
	float:left;
	border-right:8px solid #000;
}

.about_text p {
	margin: 10px auto 30px auto;
	width: 400px;
	
}

.about_text img {
	margin: 25px auto;
}

.about_img {
	width: 417px;
	min-height:377px;
	padding:0;
	margin:0;
	float:left;
}

.about_img p {
	color:#000;
	margin-top:22px;
	font-size:12px;
	line-height:14px;
	text-align:center;
}


/* == PANDA GAZETTE == */

#press {
	width: 972px;
	margin: 20px auto;
	padding: 0;
}

.press_left {
	min-height:1450px;
	width: 175px;
	padding: 0;
	margin-top: 10px;
	border-right: solid 1px #000;
	float:left;
}

.press_middle {
	width: 618px;
	padding: 0;
	margin-top: 10px;
	float:left;
	
}

.press_middle h2 {
	font-family:Georgia,Times,Serif;
	text-align: center;
	font-style:normal;
	font-weight: normal;
	font-size:22px;
	text-decoration:none;
	text-transform:uppercase;
	line-height:26px;
	letter-spacing:1.5px;
	border-top:1px solid #000;
	border-bottom: 1px solid  #000;
	margin-bottom: 38px;
	padding: 28px 12px;
}

.press_middle img {
	width:530px;
	border-top: solid 1px #000;
	margin: 40px auto 10px auto;
}

.press_middle p {
	width:530px;
	font-size:15px;
	line-height: 17px;
	margin: 20px auto;
}

.press_middle a {
	text-decoration: none;
	color: #642c33;
}

.press_middle h1 {
	width:530px;
	margin: 30px auto 30px auto;
	text-transform:uppercase;
}

.press_right {
	min-height:1450px;
	width: 175px;
	padding: 0;
	margin-top: 10px;
	border-left: solid 1px #000;
	float:left;
}


/* == CONTACT US == */

#contact {
	margin: 0 auto 30px auto;
	padding: 0;
	width: 920px;
	border-left:solid;
	border-right:solid;
	border-top:solid;
	border-bottom:solid;
	border-width: 8px;
}

.contact_tel {
	width:637px;
	float:left;
	text-align:center;
	font-size:16px;
	line-height: 5px;
	
}


.contact_tel img {
	padding: 5px;
	border-bottom:8px solid #000;
}

.contact_background {
	margin: 0 auto;
	/*border-top:8px solid #000;*/
	background-image:url('https://pandaandsons.co.uk/img/telegram-new.png');
	background-repeat: no-repeat;
}

#contact_form {
	margin: 210px auto 0 auto;
	text-align:left;
    text-transform:uppercase;
    font-size:15px;
	width:450px;
	padding:0;
	display:none;
}

.form input {
		font-family:Georgia,Times,Serif;
		font-style:normal;
		text-align:left;
		font-size:15px;
		min-width: 300px;
        min-height:10px;
	    opacity: 0.6;
	    border: 1px solid #000;
	    background: transparent;
		padding:7px;
		margin:0;
	}
    
.form button {
    margin: 0 0 30px 0;
	font-family:Georgia,Times,Serif;
	font-style:normal;
	text-transform:uppercase;
	font-size:15px;
    color: #fff;
    border:none;
    background: #000;
    min-height:40px;
    min-width: 200px;
}

.form button:hover {
    opacity: 0.8;
}

.message {
    font-family:Georgia,Times,Serif;
    font-style:normal;
	text-align:left;
	font-size:15px;
	min-width: 420px;
    opacity: 0.6;
    border: 1px solid #000;
	background: transparent;
    padding:7px;
	margin:0;
}

.information {
	width:275px;
	border-left:8px solid #000;
	padding:0;
	margin:0 auto;
	float:left;
	min-height:800px;
	text-align:center;
	
}

.map {
	margin:0;
	padding:5px;
	min-height:450px;
	font-size:14px;
}

.hours {
	margin:0;
	padding:5px;
	background-color:#000;
	min-height:430px;
	border-top:8px solid #000;
	color:#fff;
	
}

.hours img {
	margin: 35px auto 0 auto;
}

.hours ul {
	margin-top:20px;
	letter-spacing:1px;
	padding: 0;
	font-family:Georgia,Times,Serif;
	color:#fff;
	font-style:normal;
	font-weight: normal;
	text-align:center;
	font-size:16px;
	line-height: 55px;
	text-decoration: none;
    list-style-type: none;
	
}

.hours li {
	margin: 0 auto;
	border-bottom:solid 2px #847248;
	border-bottom-style:dotted;
	width: 80%;
}

#thankyou {
	width: 920px;
	min-height: 780px;
	margin: 20px auto 20px auto;
	padding: 5px 5px 60px 5px;
	border-left:solid;
	border-right:solid;
	border-top:solid;
	border-bottom:solid;
	border-width: 8px;
}

#thankyou h2 {
	font-family:Georgia,Times,Serif;
	letter-spacing:.5px;
	margin: 10px auto 10px auto;
	text-align:center;
	text-transform:none;
	font-size:18px;
	width:530px;
}

/* == BOOKING TOOL == */

.rd-widget-frame {
	background-color: #fff;
}

/* == HELPER CLASSES == */

.hand {
	width: 285px;
	height:149px;
	margin: 0;
	padding: 0;
	position:relative;
	border-right:solid;
	border-width: 8px;
	float:left;
}

.glass {
	position:absolute;
	bottom:0;
	left:0;
	z-index:99998;	
}

.couple {
	width: 587px;
	height: 588px;
	position: absolute;
	margin: 0 auto;
	padding: 0;
	border-right:solid;
	border-width: 8px;
	float:left;
}

.panda {
	margin: 20px auto 0 auto;
}


* img {
	max-width:100%;
	height:auto;
}

.absolute-center {
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { 
	#nav{
		display:none;
	}
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
	#nav{
		display:none;
	}
}
