/*
	Theme Name: Trattoria Al Ponte 2019
	Theme URI: 
	Description: Based on HTML5 Blank WordPress Theme
	Version: 1
	Author: RSW Studio
	Author URI: https://www.rswstudio.it
*/

/*------------------------------------*\
    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:100%;
}
body {
	font:300 16px/1.4 'Montserrat', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
	text-decoration:none;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
.form-control {
	border-radius:0;
}

b, strong {
	font-weight:700;
}

.card {
	border:none;
	border-radius:0;
	box-shadow:0 0 15px rgba(0,0,0,.5);
}
.card-img-top {
	border-radius:0;
}

h1,.box h2 {
	font-size:2.2rem;
	font-family: 'Montserrat', sans-serif;
	text-transform:uppercase;
	font-weight:500;
	margin-bottom:.5rem;
	color:#8c3f1c;
}
h1.homepage-title {
	font-size:1.8rem;
	margin-bottom:2rem;
}
.box h2 {
	margin:0;
	line-height:1.1;
}
h2, .box h3 {
	font-size:3rem;
	font-family: 'Euphoria Script', cursive;
	margin:.5rem 0 1rem 0;
	line-height:1.1;
	color:#8c3f1c;
}
h3 {
	font-size:1.6rem;
	margin:.5rem 0;
}
.box h3 {
	margin:0 0 1rem 0;
}

blockquote {
	font-family:'Euphoria Script', cursive;
	font-size:3.5rem;
	line-height:1.1;
}

.btn-primary,
.btn-primary.disabled, 
.btn-primary:disabled {	
	background:#8c3f1c;
	border-color:#8c3f1c;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background:#000;
	border-color:#000;
}
.btn-secondary {
	background:#bc8e52;
	border-color:#bc8e52;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
	background:#000;
	border-color:#000;
}

.btn-contatti {
	padding-left:2rem !important;
	padding-right:2rem !important;
}

.text-primary {
	color:#8c3f1c!important;
}
.text-secondary {
	color:#bc8e52!important;
}

.text-pink {
	color:#ae5c4e !important;
}
.btn-pink {
	background:#ae5c4e !important;
	border-color:#ae5c4e !important;
}
.text-green {
	color:#4f807d !important;
}
.btn-green {
	background:#4f807d !important;
	border-color:#4f807d !important;
}
.text-gray {
	color:#9a8c81 !important;
}
.btn-gray {
	background:#9a8c81 !important;
	border-color:#9a8c81 !important;
}
.text-azure {
	color:#3bb3c3 !important;
}
.btn-azure {
	background:#3bb3c3 !important;
	border-color:#3bb3c3 !important;
}







/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

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


/* custom */
html {
  scroll-behavior: smooth;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	background:#222;
}
.cursive {
	font-family: 'Euphoria Script', cursive;
	line-height: 1;
}
.text-lg {
	font-size: 5rem;
}
.text-lg strong {
	display: block;
	font-size: 7rem;
}

.typewriter p strong{
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  /* border-right: .15em solid orange;  The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  /* letter-spacing: .15em; Adjust as needed */
  animation: 
    typing 6s steps(100, end)/*,
    blink-caret .5s step-end infinite*/;
}
/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange }
}

.btn {
	border-radius:0;
	font-weight:bold;
	text-transform:uppercase;
}
.btn-lg {
	font-size:1rem;
}
.btn-group-lg>.btn, .btn-lg {
	padding:1rem;
}

.header-alert {
	background: #bc8e52;
	color: white;
    z-index: 1000;
    position: relative;
    text-align: center;
    font-weight: bold;
	text-transform: uppercase;
}
.header-alert a {
	color: white;
	font-size: .75rem;
}

.heroslider {
	position:fixed;
	top:0;
	bottom:0;
	left:0;
	right:0;
	z-index:0;
	opacity:.5;
}
.hero {
	width:100vw;
	height:100vh;
	background:#222 no-repeat center center;
	background-size:cover;
}

.sidebar {
	background:rgba(34,34,34,0.9);
	color:#fff;
	position:fixed;
	top:0;
	bottom:0;
	left:0;
	width:300px;
	padding:0;
	z-index:1;
}

.header-mobile {
	position:fixed;
	top:0;
	left:0;
	right:0;
	text-align:center;
	z-index:9999;
}
#sidebar-toggle {
	display: none;
	width: 78px;
	height: 76px;
	padding: 15px 0;
	position: absolute;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
	background:rgba(0,0,0,.5);
	z-index:9999;
}

#sidebar-toggle span {
	display: block;
	position: absolute;
	height: 3px;
	width: 35px;
	background: #fff;
	border-radius: 2px;
	opacity: 1;
	left: 22px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

#sidebar-toggle span:nth-child(1) {
  top: 22px;
}

#sidebar-toggle span:nth-child(2),#sidebar-toggle span:nth-child(3) {
  top: 36px;
}

#sidebar-toggle span:nth-child(4) {
  top: 50px;
}

.nav-open #sidebar-toggle {
	background:none;
}
.nav-open #sidebar-toggle span:nth-child(1) {
  top: 36px;
  width: 0%;
  left: 50%;
}

.nav-open #sidebar-toggle span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.nav-open #sidebar-toggle span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.nav-open #sidebar-toggle span:nth-child(4) {
  top: 36px;
  width: 0%;
  left: 50%;
}
.logo-mobile {
	display:none;
	text-align:center;
	position:absolute;
	top:10px;
	left:0;
	right:0;
}
.logo-mobile img {
}


.container-fluid.no-gutters {
	padding:0;
}

#intro {
	text-align:center;
	padding:100px 0;
	color:#fff;
}

.pagebox {
	height:100vh;
}
.box, .pagesection{
	background:#fff;
	padding:75px;
	min-height:400px;
}
.rowpage {
	margin-top:100px;
	margin-bottom:100px;
}


.box .btn-primary {
	padding:1rem 3rem;
	margin:1rem 0 0 0;
}

.main {
	position:relative;
	z-index:1;
	margin-left:300px;
}

.logo {
	text-align:center;
	padding:50px 50px 0 50px;
}
.logo img {
	width:150px;
	max-width:100%;
	height:auto;
	margin:0 auto 1rem auto;
}

.nav-main li a{
	color:#fff;
	text-transform:uppercase;
	font-size:.9rem;
	display:block;
	padding:.75rem 1.5rem;
}
.nav-main li a.active,
.nav-main-page li.current_page_item a,
.nav-main-page li.current_page_parent a,
.nav-main li a:hover {
	background:#8c3f1c;
	color:#fff;
	text-decoration:none;
}
.nav-main li.bg-primary,
.nav-main li.bg-secondary {
	background:none!important;
}
.nav-main li.bg-primary a.active,
.nav-main-page li.bg-primary.current_page_item a,
.nav-main-page li.bg-primary.current_page_parent a,
.nav-main li.bg-primary a:hover {
	background:#8c3f1c;
}
.nav-main li.bg-secondary a.active,
.nav-main-page li.bg-secondary.current_page_item a,
.nav-main-page li.bg-secondary.current_page_parent a,
.nav-main li.bg-secondary a:hover {
	background:#bc8e52;
}
.nav-main li.bg-pink a.active,
.nav-main-page li.bg-pink.current_page_item a,
.nav-main-page li.bg-pink.current_page_parent a,
.nav-main li.bg-pink a:hover {
	background:#ae5c4e;
}
.nav-main li.bg-green a.active,
.nav-main-page li.bg-green.current_page_item a,
.nav-main-page li.bg-green.current_page_parent a,
.nav-main li.bg-green a:hover {
	background:#4f807d;
}
.nav-main li.bg-gray a.active,
.nav-main-page li.bg-gray.current_page_item a,
.nav-main-page li.bg-gray.current_page_parent a,
.nav-main li.bg-gray a:hover {
	background:#9a8c81;
}
.nav-main li.bg-azure a.active,
.nav-main-page li.bg-azure.current_page_item a,
.nav-main-page li.bg-azure.current_page_parent a,
.nav-main li.bg-azure a:hover {
	background:#3bb3c3;
}
/*.nav-main li.current_page_item a:before {
	display:inline-block;
	content:"__";
}*/

.sidebar-btn {
	padding:1rem 1.5rem .5rem 1.5rem;
}
.sidebar-contacts {
	padding:1rem 1.5rem 1rem 1.5rem;
}

#ambiente .box{
	background:#fff url('img/sections/home.jpg') no-repeat bottom right;
}
#tradizione .box{
	background:#fff url('img/sections/ambienti.jpg') no-repeat bottom left;
}
.pagesection.tradizione {
	background:#fff url('img/sections/ambienti.jpg') no-repeat bottom left;
	background-size:290px auto;
	padding-left:300px;
	padding-right:50px;
}
#sapori .box{
	background:#fff url('img/sections/sapori.jpg') no-repeat bottom right;
}
.pagesection.sapori {
	background:#fff url('img/sections/sapori.jpg') no-repeat bottom right;
	background-size:290px auto;
	padding-right:300px;
	padding-left:50px;
}
#emozioni .box{
	background:#fff url('img/sections/emozioni.jpg') no-repeat bottom left;
}
.pagesection.emozioni {
	background:#fff url('img/sections/emozioni.jpg') no-repeat bottom left;
	background-size:290px auto;
	padding-left:300px;
	padding-right:50px;
}
#eventi .box{
	background:#fff url('img/sections/eventi.jpg') no-repeat top right;
}
.pagesection.eventi {
	background:#fff url('img/sections/eventi.jpg') no-repeat top right;
	background-size:290px auto;
	padding-right:300px;
	padding-left:50px;
}

.instagram-title {
	text-align:center;
	width:100%;
}
.instagram-title img {
	height:40px;
	width:auto;
}

.rl-basicgrid-gallery {
	display:flex;
	flex-wrap:no-wrap;
}
.rl-basicgrid-gallery .rl-gallery-item img {
	height:auto !important;
}
.rl-basicgrid-gallery .rl-gallery-item img,
.wp-block-gallery.is-cropped .blocks-gallery-item img {
	transition: transform .5s ease;
}
.wp-block-gallery.is-cropped .blocks-gallery-item {
	overflow:hidden;
}
.rl-basicgrid-gallery .rl-gallery-item:hover img,
.wp-block-gallery.is-cropped .blocks-gallery-item:hover img  {
	transform: scale(1.2);
}

#dovesiamo {
	background:#fff url('img/mappa.jpg') no-repeat top center;
	background-size:cover;
	padding-top:150px;
	height:340px;	
}
#contatti {
	background:#222;
	color:#fff;
}
#contatti .box {
	box-shadow:0 0 30px rgba(0,0,0,.5);
	color:#000;
	margin-top:-150px;
	position:relative;
}
#contatti p.info {
	font-size:.65rem;
	text-align: left;
}
#contatti p.info a {
	color:rgba(255,255,255,0.75);
}
#contatti p.info img {
	margin:0 0 5px 0;
	max-width: 80%;
	height: auto;
	display: block;
}

.footer {
	background:#222;
	padding:2rem 1rem;
	color:#fff;
	font-size:.85rem;
}
.footer a {
	color:#ddd;
}
.footer p {
	margin:0;
}

.credits {
	font-size:.75rem;
}

#cookie-notice {
	opacity:.8;
	
}
#cookie-notice .cn-button {
	background:#fff;
	color:#000;
	padding:2px 5px;
	font-weight:bold;
}

.social {
	display:inline-block;
	border:1px solid rgba(255,255,255,0.3);
	width:50px;
	height:50px;
	line-height:50px;
	font-size:1.25rem;
	text-align:center;
	color:#fff;
	border-radius:50%;
}


#breadcrumbs, #breadcrumbs a {
	color:#fff;
}

.search-input {
	padding: 0 10px;
    line-height: 40px;
    height: 40px;
    width: 300px;
}
.search-submit {
	padding: 0 10px;
    line-height: 40px;
    height: 44px;
	padding: 0 3rem;
	background: #8c3f1c;
    border: 1px solid #8c3f1c;
	color: #fff;
}


/* instafeed */

#instafeed {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
  
#instafeed a {
    position: relative;
    width: 50%;
	height: 50vw;
}
    
@media only screen and (min-width: 1200px) {
    #instafeed a {
		width: 25%;
		height: 300px;
		overflow:hidden;
	}
}
    
#instafeed a img {
	display: block;
	width: 100%;
	height: 100%;
}
#instafeed a .overlay {
    background: rgba(0,0,0,0.65);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 40px;
    pointer-events: none;
	transition: all 400ms cubic-bezier(0.645, 0.045, 0.355, 1);
	font-size:30px;
	line-height:1.2;
	color:#fff;
}
#instafeed a .overlay .text {
	display: block; /* Fallback for non-webkit */
	display: -webkit-box;
	max-width: 400px;
	height: 144px; /* Fallback for non-webkit */
	margin: 0 auto;
	font-size: 1.25rem;
	line-height: 1.2;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;	
}
#instafeed a:hover .overlay {
    opacity: 1;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/

/*main section {
	background:#fff;
	padding:40px;
	margin:50px;
}*/


/*------------------------------------*\
    IMAGES
\*------------------------------------*/
/* Gallery block WP 5.9+ / nested images */
/*.wp-block-gallery.has-nested-images {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
	box-sizing: border-box;
	margin: 0;
	flex-grow: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.wp-block-gallery.has-nested-images figure.wp-block-image > a,
.wp-block-gallery.has-nested-images figure.wp-block-image img {
	display: block;
	width: 100%;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
	height: auto;
	max-width: 100%;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img {
	height: 100%;
	flex: 1;
	object-fit: cover;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image > a {
	flex: 1;
	display: flex;
}

.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image {
	width: 100%;
}

.wp-block-gallery.has-nested-images.columns-2 figure.wp-block-image {
	width: calc((100% - 16px) / 2);
}

.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image {
	width: calc((100% - 32px) / 3);
}

.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image {
	width: calc((100% - 48px) / 4);
}

.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image {
	width: calc((100% - 64px) / 5);
}

.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image {
	width: calc((100% - 80px) / 6);
}

.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image {
	width: calc((100% - 96px) / 7);
}

.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image {
	width: calc((100% - 112px) / 8);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	margin-top: 0.5em;
}

.wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img {
	max-height:260px;
}

@media (max-width: 781px) {
	.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image,
	.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image,
	.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image,
	.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image,
	.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image {
		width: calc((100% - 16px) / 2);
	}
}

@media (max-width: 600px) {
	.wp-block-gallery.has-nested-images figure.wp-block-image {
		width: 100% !important;
	}
}*/

/* cover */
/* Core Cover block fallback */
/*.wp-block-cover {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
	min-height: 430px;
	background-position: 50%;
	background-size: cover;
}

.wp-block-cover *,
.wp-block-cover *::before,
.wp-block-cover *::after {
	box-sizing: border-box;
}

.wp-block-cover img.wp-block-cover__image-background,
.wp-block-cover video.wp-block-cover__video-background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wp-block-cover__image-background {
	z-index: 0;
}

.wp-block-cover__background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
}

.wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	color: #fff;
}

.wp-block-cover .has-background-dim {
	background-color: #000;
}

.wp-block-cover .has-background-dim:not(.has-background-gradient) {
	opacity: .65;
}

.wp-block-cover .has-text-align-center {
	text-align: center;
}

.wp-block-cover__inner-container > * {
	margin-top: 0;
	margin-bottom: 1rem;
}

.wp-block-cover__inner-container > *:last-child {
	margin-bottom: 0;
}

.wp-block-cover__inner-container.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 840px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-cover *,
.wp-block-cover h2 {
	color: #FFF !important;
}*/

/* Mobile */
@media (max-width: 781px) {
	.wp-block-cover {
		min-height: 320px;
		padding: 24px 20px;
	}

	.wp-block-cover__inner-container {
		width: 100%;
	}

	.wp-block-cover__inner-container .has-large-font-size {
		font-size: 1.5rem;
		line-height: 1.35;
	}
}

@media (max-width: 480px) {
	.wp-block-cover {
		min-height: 260px;
		padding: 20px 16px;
	}
}


/* -------------------------------------*\
	 STACKABLE
\* -------------------------------------*/
/* Stackable Container - fallback strutturale */



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1139px) {
	#tradizione .box,
	#ambiente .box,
	#sapori .box,
	#emozioni .box,
	#eventi .box	{
		background-size:25% auto;
	}
	.text-lg {
		font-size:4rem;
	}
	.text-lg strong {
		font-size:5rem;
	}
}

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (max-width:800px) {
	.box {
		padding:35px;
		min-height:auto;
	}
	.pagebox {
		height:auto;
		min-height:100vh;
		margin-bottom:200px;
	}
	#intro {
		padding:150px 0 20px 0;
		min-height:100vh;
	}
	.sidebar {
		display:none;
		width:100%;
		background:#222;
		z-index:1000;
		text-align:center;
		padding-top: 80px;
	}
	.sidebar .logo {
		display:none;
	}
	.nav-main li a {
		font-size:1rem;
	}
	#sidebar-toggle {
		display:block;
	}
	.nav-open .sidebar {
		display:block;		
	}
	.nav-open .logo-mobile {
		display:none;
	}
	.sidebar-btn {
		padding:.5rem 1.5rem;
	}
	.sidebar-contacts {
		padding:0 1.5rem;
		font-size:.85rem!important;
	}
	.sidebar-contacts h4 {
		font-size:1rem!important;
	}
	.main {
		margin-left:0;
	}
	.logo-mobile {
		display:block;
	}
	.logo-mobile img {
		max-width:110px;
		height:auto;
	}
	.scrolled .header-mobile {
		background:rgba(34,34,34,.8);
	}
	.scrolled .header-mobile .logo-mobile {
		display:none;
	}
	#breadcrumbs {
		padding:1rem;
	}
	.pagesection.tradizione,
	.pagesection.ambiente,
	.pagesection.sapori,
	.pagesection.emozioni {
		padding-left:30px;
		padding-right:30px;
		padding-bottom:300px;
	}
	.card-columns {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}
@media only screen and (max-width:460px) {
	.text-lg {
		font-size:2.5rem;
	}
	.text-lg strong {
		font-size:3.5rem;
	}
	.card-columns {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}
}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::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;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    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;
	}
}
