/*
	Theme Name: Aldebaran Homes
	Description: A Custom Theme for Aldebaran Homes in Canada
	Version: 1.4.3
	Author: Megawatts Creative Ltd.
	Author URI: https://megawatts.ca
	Tags: HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 Arial, sans-serif;
	color:#444;
	margin: 0;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:top;
	height: auto;
}
a {
	color:#444;
	text-decoration:none;
	box-shadow: none;
}

a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
	box-shadow: none;
	text-decoration: none;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/* wrapper */
.wrapper,
.sitewidth {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
body > .wrapper {
	width: 100%;
	max-width: 100%;
}

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
div.row.the-content {
	display: block;
	height: auto;
	overflow: hidden;
}
header.header {
	background-color: #fff;
	padding: 10px;
}
header .logo {
	float: left;
	clear: left;
	width: auto;
	max-width: 50%;
	font-family: Verlag Bold, Arial, sans-serif;
	color: #fff;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	display: inline-block;
}
.logo h3 {
	color: #fff;
	margin: 0;
	padding: 0;
	clear: both;
	font-family: Verlag Black;
	line-height: 100%;
	display: block;
	font-size: 10px;
}

.logo h1 {
	color: #fff;
	margin: 0;
	padding: 0;
	clear: both;
	font-family: Verlag Black;
	line-height: 100%;
	font-weight: normal;
	display: block;
	position: relative;
	
}

#topbar {
	display: block;
	position: relative;
	margin: 0;
	padding: 10px;
	background-color: #000;
	height: auto;
	overflow: hidden;
	color: #fff;
}
#topbar p {
	font-size: 16px;
	margin: 0;
	text-align: center;
	padding: 0;
}


footer.footer {
	background-color: #111;
	width: 100%;
	padding: 50px 20px 30px 20px;
	display: block;
	height: auto;
	overflow: hidden;
	float: none;
	color: #fff;
	clear:both;
}
footer.footer a {
	color: #fff;
	font-weight: bold;
}


footer.footer .rightside a {
	text-decoration: underline;
}
footer.footer nav.footernav a {
	padding-left: 0;
	transition: all 0.2s ease;
}
footer.footer nav.footernav a:hover {
	text-decoration: underline;
}
body > .wrapper > main {
	display: block;
	clear: both;
	padding: 0;
	position: relative;
	float: none;
	width: 100%;
	height: auto;
	overflow: hidden;
}
main > section {
	padding: 20px;
	display: block;
	width: 100%;
	margin: 0;
	clear: both;
	float: none;
	position: relative;
}
body > .wrapper > main > section h1 {
	text-transform: uppercase;
	text-align: left;
	color: #000;
	font-size: 30px;
	font-family: Verlag Black;
	font-weight: normal;
}
section.row.main .shadow {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-image: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(0,0,0,0.6), transparent);
	z-index: 1;
}
section.row.main .sitewidth {
	z-index: 3;
}


footer.footer .logo {
	
	width: 120px;
	height: auto;
	padding: 0;
	color: #fff;
	display: block;
	float: left;
	clear: both;
	margin-bottom: 20px;
	overflow: hidden;
}
#googlemap {
	width: 100%;
	height: 350px;
	display: block;
	background-color: #f1f1f1;
}
.sitewidth > .leftside,
.sitewidth > .rightside {
	display: inline-block;
	float: left;
	clear: left;
	margin: 0 2% 0 0;
	padding: 0;
	position: relative;
	width: 48%;
}
.sitewidth > .rightside {
	margin: 0 0 0 2%;
	float: right;
	clear: right;
}
section.row.main {
	padding: 150px 0;
	height: auto;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	display: block;
	clear: both;
}
section.row.main header h2.row-title {
	font-size: 42px;
	text-shadow: 0 0 5px rgba(0,0,0,0.6);
}
footer .logo img {
	width: 100%;
	height: auto;
	display: inline-block;
}
div.circle-image {
	display: block;
	float: none;
	text-align: center;
	overflow: hidden;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	border-radius: 125px;
	background-size: cover;
	background-position: center center;
	background-attachment: scroll;
}
div.circle-image > a {
	display: block;
	float: none;
	text-align: center;
	overflow: hidden;
	width: 250px;
	height: 250px;
	background-repeat: no-repeat;
	border-radius: 125px;
	background-size: cover;
	background-position: center center;
	background-attachment: scroll;
	transform: scale(1);
	transition: scale 0.3s linear;
}
div.circle-image:hover {
	animation: hoverCircle 0.3s ease;
}
@keyframes hoverCircle {
	0% { transform: scale(1); }
	100% { transform: scale(1.05); }
}
div.circle-image img {
	display: none;
	visibility: hidden;
}
section.row.slideshow {
	padding: 0;
}
section.row.slideshow > .sitewidth {
	width: 100%;
	max-width: 100%;
}
section.row.slideshow ul.slickslider {
	margin: 0;
	padding: 0;
	width: 100%;
	position: relative;
	display: block;
}
section.row.slideshow ul.slickslider li.slick-slide {
	display: inline-block;
	height: auto;
	min-height: 400px;
	width: 100%;
	overflow: hidden;
	padding: 120px 0;
}
section.row.slideshow ul.slickslider li.slick-slide header h2 {
	margin-top: 0;
	font-size: 46px;
	color: #fff;
	text-shadow: 0 0 5px rgba(0,0,0,0.6);
}
section.row.align-left,
section.row.align-left h2,
section.row.align-left h3,
section.row.align-left h4,
section.row.align-left h5,
section.row.align-left h6,
section.row.align-left h1,
section.row.align-left p  {
	text-align: left;
}
section .carousel .row.content.slick-slider {
	display: block;
	width: 100%;
}
section .carousel .row.content.slick-slider .slick-slide {
	transform: scale(1);
	filter: grayscale(60%);
	transition: all 0.2s ease;
}
section .carousel .row.content.slick-slider .slick-slide.slick-center {
	transform: scale(1.05);
	filter: grayscale(0%);
}
section .carousel .prev-button,
section .carousel .next-button {
	position: absolute;
	top: 40%;
	display: block;
	opacity: 0.5;
	z-index: 9999;
}
section .carousel .prev-button {
	left: -20px;
}
section .carousel .next-button {
	right: -20px;
}
body .wrapper main section .gform_wrapper  #gform_3 .gfield input[type="text"],
body .wrapper main section .gform_wrapper  #gform_3 .gfield input[type="email"],
body .wrapper main section .gform_wrapper  #gform_3 .gfield input[type="tel"] {
	font-size: 20px;
	border-radius: 0;
	border: 0;
	background-color: #fff;
	padding: 20px;
	margin-top: 0;
	
}
body .wrapper main section .gform_wrapper .gfield textarea {
	width: 100%;
	padding: 20px;
}
body .wrapper main section .gform_wrapper .ginput_complex > span {
	width: 48%;
	margin-right: 2%;
	display: inline-block;
	float: left;
	clear: none;
}
body .wrapper main section .gform_wrapper .ginput_complex > span:nth-child(2) {
	margin-left: 2%;
	margin-right: 0;
}
main section .gform_wrapper {
	padding: 0;
	margin: 0;
} 
main section.row.signupform {
	padding: 50px 0;
	margin: 40px auto 20px auto;
	height: auto;
	overflow: hidden;
}
main section .gform_wrapper ul.gform_fields {
	margin: 0;
	padding: 0;
}
main section .gform_footer input[type="submit"] {
	padding: 20px;
	font-size: 20px;
	float: left;
	clear: both;
	position: relative;
	border: 0;
	background-color: #dbc378;
	color: #000;
	font-weight: bold;
}
main section ul.gform_fields > li.gfield {
	width: 100%;
	display: inline-block;
	margin: 0;
	padding: 0;
	position: relative;
}
main section ul.gform_fields > li.gfield .ginput_container input {
	float: left;
	width: 100%;
	max-width: 100%;
	padding: 20px;
	margin-bottom: 20px;
}
main section ul.gform_fields > li.gfield.gf_left_half {
	width: 48%;
	margin-right: 2%;
}
main section ul.gform_fields > li.gfield.gf_right_half {
	width: 48%;
	margin-left: 2%;
}
main section ul.gform_fields > li.gfield label {
	display: none;
	visibility: hidden;
}


/*-----------------------------------*|

Tablet / Desktop

|*------------------------------------*/

@media All and (min-width: 1080px) {
	
	.mobile {
		display: none !important;
		visibility: hidden !important;	
	}	
	.desktop {
		visibility: visible;
		display: block;	
	}	
	html {
		margin-top: 0 !important;	
	}
	#wpadminbar {
		opacity: 0.3;	
	}
	#wpadminbar:hover {
		opacity: 0.8;	
	}
	header.header,
	header.header > * {
		vertical-align: middle;	
	}
	header.header nav.nav {
		height: 88px;	
	}
	main .row.signupform .columns-2 {	
		grid-template-columns: 35% 65%;
	}
	body.scrolled {
		padding-top: 120px;	
	}
	body.scrolled header.header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 9999;
		animation: headerslideDown 1s ease;	
	}
	body.scrolled header nav ul.menu > li.menu-item > a {
		padding: 0 15px;
		line-height: 60px;
		height: 60px;	
	}
	section .carousel .prev-button {
		left: -60px;
	}
	section .carousel .next-button {
		right: -60px;
	}
	body.scrolled header .logo a img {
		height: 60px;
		width: auto;	
	}
	@keyframes headerslideDown {
		0% { top: -150px;  }
		100% { top: 0px; }	
	}
	header.header .logo {
		width: auto;
		display: inline-block;
	}
	header nav {
		float: right;
		clear: right;
		display: inline-block;
		vertical-align: middle;
		margin: 0;
		padding: 0;	
	}
	header nav ul.menu > li.menu-item > a {
		padding-top: 30px;
		padding-bottom: 30px;	
		border-bottom: 3px solid transparent;
	}
	header nav ul.menu > li.menu-item:hover > a {
		border-bottom: 3px solid #ccc;	
	}
	header nav ul.sub-menu {
		display: none;
		visibility: hidden;	
		margin: 0;
		padding: 0;
		width: 160px;
		margin-right: 0;
		float: right;
	}
	header nav li.menu-item:hover > ul.sub-menu {
		display: block;
		visibility: visible;
		position: absolute;
		background-color: #fff;
		box-shadow: 0 0 3px rgba(0,0,0,0.5);
		color: #000;
		z-index: 999;
		animation: menuslide 1s ease;
	}
	header nav ul.sub-menu > li {
		display: block;
		width: 100%;
		padding: 0;
		margin: 0;
		border-bottom: 1px solid #efefef;	
	}
	header nav ul.sub-menu > li > a {
		display: block;	
		width: 100%;
		padding: 6px 8px;
		color: #000;
		height: auto;
		overflow: hidden;
		font-size: 14px;
		text-align: left;
		position: relative;
		clear: both;
	}
	header nav ul.sub-menu > li:hover > a {
		background-color: #ddd;
		color: #000;	
	}
	nav ul.menu {
		margin: 0;
		padding: 0;
		display: inline-block;
		text-align: right;	
	}
	nav ul.menu > li {
		display: inline-block;
		width: auto;
		margin: 0;
		padding: 0;
		color: #000;
		vertical-align: middle;	
	}
	nav ul.menu > li > a {
		display: block;
		margin: 0;
		padding: 0 15px;
		position: relative;
		float: none;
		clear: none;
		font-size: 18px;	
	}
	header.header .logo a img {
		width: 100%;
		max-width: 300px;
		height: auto;
		display: block;
	}
	body section.row.main {
		background-attachment: fixed;
	}
	body section.row.main header h2.row-title {
		font-size: 50px;
		text-align: center;
		color: #fff;
		margin-bottom: 0;
	}
	body section.row.main  p {
		font-size: 36px;
		color: #fff;
		font-weight: 400;	
		display: block;
		margin-top: 0;
		width: 90%;
		clear: both;
		margin-left: auto;
		margin-right: auto;
	}
	.logo {
		text-transform: uppercase;	
	}	
	footer.footer .leftside {
		float: left;
		margin: 0 2% 0 0;
		padding: 0;
		display: inline-block;
		position: relative;
		width: 48%;
		vertical-align: bottom;
		clear: left;	
	} 
	footer .rightside {
		float: right;
		clear: right;
		position: relative;
		margin: 0;
		padding: 0;
		width: auto;
		text-align: right;
		display: inline-block;	
	}
	footer.footer .logo {
		float: right;
		clear: both;
		margin: 0;
		padding: 0;
		position: relative;
		display: inline-block;
	}
	footer.footer .copyright {
		clear: both;
		text-align: right;
		display: block;
		font-size: 12px;	
	}
	footer .sitewidth.widgets {
		border-bottom: 2px solid #fff;
		padding-bottom: 4px;	
		display: block;
		height: auto;
		overflow: hidden;
	}
	footer nav ul.menu {
		margin: 0;
		padding: 20px 0 10px 0;
		display: inline-block;
		text-align: left;
		width: auto;
		float: left;	
	}
	footer nav ul.menu li {
		display: inline-block;
		margin: 0;
		float: left;
		padding: 0;
		color: #fff;
		clear: none;	
	}
	footer nav ul.menu li a {
		text-decoration: none;
		font-size: 14px;
		box-shadow: none;	
	}
}

@media All and (max-width: 650px) {

	.desktop {
		display: none !important;
		visibility: hidden !important;	
	}
	footer.footer .leftside,
	footer.footer .rightside {
		width: 100%;
		clear: both;
		margin: 0 0 20px 0;
		padding: 0;
		position: relative;
		display: block;
		height: auto;
		overflow: hidden;
	}
	main section ul.gform_fields > li.gfield.gf_left_half,
	main section ul.gform_fields > li.gfield.gf_right_half {
		width: 100%;
		margin-left: 0;
	}
	section.row.main header h2.row-title {
		margin-bottom: 0;	
	}
	section.row.signupform .sitewidth {
		padding-left: 30px;
		padding-right: 30px;	
	}
	.row.main p {
		color: #fff;
		font-weight: bold;
		font-size: 16px;
		margin-top: 0;	
	}
	
	
}

@media All and (max-width: 1080px) {
	
	#wpadminbar {
		display: none;
		visibility: hidden;	
	}
	html {
		margin-top: 0 !important;	
	}
	header .logo {
		width: 100%;
		margin: 0 auto;
		max-width: 250px;
		position: relative;
		display: block;
		clear: both;
		float: none;
		padding-top: 30px;
		padding-bottom: 30px;	
	}
	header .logo img {
		height: auto;	
	}
	#topbar p {
		padding-right: 80px;
		text-align: left;	
	}
	header nav.nav {
		display: none;
		visibility: hidden;
	}
	body.menu-open header nav.nav {
		display: block;
		width: 100%;
		visibility: visible;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 999;
		background-color: #000;
		color: #fff;	
	}
	nav.nav ul.menu {
		display: block;
		clear: both;
		width: 100%;
		padding: 30px 20px 0 20px;
		margin: 0;
		position: relative;
			
	}
	nav.nav ul.menu > li.menu-item,
	nav.nav ul.menu > li.menu-item > ul.sub-menu > li.menu-item {
		display:block;
		clear: both;
		margin: 0;
		padding: 0;
		width: 100%;	
	}
	nav.nav ul.menu > li.menu-item > a {
		font-size: 30px;
		color: #fff;
		text-align: left;	
	}
	nav.nav ul.menu > li.menu-item > ul.sub-menu {
		display: block;
		clear: both;
		margin: 0;
		padding: 0 0 0 10px;	
	}
	nav.nav ul.menu > li.menu-item > ul.sub-menu > li.menu-item > a {
		font-size: 22px;
		color: #fff;
		
	}
	#menu-toggle {
		position: fixed;
		top: 20px;
		display: block;
		z-index: 4;
		right: 0px;
		z-index: 99999;
		padding: 8px;
		background-color: #fff;
		box-shadow: -2px 3px 4px rgba(0,0,0,0.5);
		color: #fff;
		width: 32px;
		height: 32px;
		line-height: 32px;	
	}
	body.menu-open #menu-toggle .open,
	body #menu-toggle .close {
		display: none;
		visibility: hidden;	
	}
	header .buttons {
		text-align: center;
		clear: both;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	header .buttons > a {
		display: inline-block;
		margin: 0 5px;
		padding: 6px 0;
		vertical-align: middle;
		width: 32px;
		background-color: #ddd;
		height: 32px;
		border-radius: 16px;
		position: relative;
		float: none;
		text-align: center;
		line-height: 32px;	
	}
	header .buttons > a img  {
		height: 20px;
		width:auto;
		opacity: 0.4;
		vertical-align: middle;
		display: block;
		float: none;
		margin: 0 auto;	
	}
	nav.nav > a.mobile img {
		height: auto;
	}
	body.menu-open #menu-toggle .close {
		display: block;
		visibility: visible;	
	}
	section.row.main{
		padding: 50px 0;	
	}
	nav.footernav > ul.menu {
		padding: 0;
		margin: 20px auto;
		display: block;
		clear: both;
		text-align: center;	
	}
	nav.footernav > ul.menu > li {
		display: inline-block;
		width: 100%;
		margin: 0;
		padding: 0;
		text-align: center;	
	}
	nav.footernav > ul.menu > li > a {
		text-decoration: none;
		box-shadow: none;
		text-align: center;
		font-size: 15px;
		padding: 6px 8px;	
	}
	footer .sitewidth {
		display: block;
		height: auto;
		overflow: hidden;	
	}
	footer .sitewidth .leftside,
	footer .sitewidth .rightside {
		text-align: center;	
	}
	footer.footer .logo {
		float: none;	
		margin: 0 auto;
		display: block;
		position: relative;
	}
	section.row.main header h2.row-title {
		color: #fff;
		line-height: 110%;	
	}
	header.header {
		padding-bottom: 20px;	
	}
	.gallerybox{
		display: grid;
		grid-template-columns: 50% 50%;
		column-gap: 10px;
		row-gap: 10px;	
	}
	.gallerybox .photo {
		width: 100%;
		margin: 0;
		padding: 0;	
		display: block;
	}
	.gallerybox .photo a img {
		height: auto;	
	}
	.gallerybox .photo:nth-child(3),
	.gallerybox .photo:nth-child(6),
	.gallerybox .photo:nth-child(7),
	.gallerybox .photo:nth-child(10),
	.gallerybox .photo:nth-child(13),
	.gallerybox .photo:nth-child(14),
	.gallerybox .photo:nth-child(17),
	.gallerybox .photo:nth-child(20),
	.gallerybox .photo:nth-child(21),
	.gallerybox .photo:nth-child(24),
	.gallerybox .photo:nth-child(27),
	.gallerybox .photo:nth-child(30),
	.gallerybox .photo:nth-child(33)
 {
		grid-row: 1 / span 2;
	}
	nav.nav > a.mobile img {
		max-width: 250px;	
	}
	header nav.nav ul.menu {
		max-width: 500px;
		margin: 0 auto;
		float: none;
		display: block;
		text-align: left;	
	}
	header nav.nav ul.menu ul.sub-menu {
		display: none !important;
		visibility: hidden !important;	
	}
	header nav.nav ul.menu li.menu-item-has-children.open ul.sub-menu {
		display: block !important;
		visibility: visible !important;	
	}
	header nav.nav.scrollable {
		overflow-y: sroll;	
	}
	header nav.nav ul.menu li.menu-item-has-children span.toggle {
		display: block;
		position: absolute;
		right: 10px;
		margin-top: 0px;	
		font-size: 30px;
	}

}

@media All and (min-width: 650px) {
	.row.content.columns-3,
	.row.content.columns-2,
	.row.content.columns-4,
	.row.content.columns-5 {
		display: grid;	
		text-align: center;
	}
	.row.content.columns-5 {
		grid-template-columns: 18% 18% 18% 18% 18%;
		column-gap: 2.5%;	
	}
	.row.content.columns-3 {
		grid-template-columns: 30% 30% 30%;
		column-gap: 5%;	
	}
	.row.content.columns-2 {
		grid-template-columns: 48% 48%;
		column-gap: 4%;
	}
	.row.content.columns-4 {
		grid-template-columns: 22% 22% 22% 22%;
		column-gap: 4%;	
	}
	.row.content.columns-6,
	.row.content.columns-7,
	.row.content.columns-8,
	.row.content.columns-9,
	.row.content.columns-10 {
		display: block;
		text-align: center;	
	}
	.row.content.columns-6 .row-content,
	.row.content.columns-7 .row-content,
	.row.content.columns-8 .row-content,
	.row.content.columns-9 .row-content,
	.row.content.columns-10 .row-content {
		display: inline-block;
		clear: none;
		float: none;
		position: relative;
		width: auto;
		margin: 0 30px 30px 30px;
	}
	.gallerybox{
		margin: 50px auto;
		display: grid;
		grid-template-columns: 22% 22% 22% 22%;
		column-gap: 4%;
		row-gap: 40px;	
	}
	.gallerybox .photo {
		width: 100%;
		margin: 0;
		padding: 0;	
		display: block;
	}
	.gallerybox ul {
		padding: 0;
		margin: 0;	
	}
	.gallerybox .photo a img {
		height: auto;	
	}
	body .wrapper main section .gform_wrapper  #gform_3.gfield input[type="text"] {
		font-size: 30px;	
	}
}




/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		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) ")";
	}
	.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;
	}
	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;
	}
}


@media all and (min-width: 650px) and (max-width: 1080px) {

	
	

}