/*
Theme Name: Madeira West Coast Vacation
Theme URI: https://xaviernunes.pt/wpxnunes
Author: Xavier Nunes
Author URI: https://xaviernunes.pt
Description: Custom theme
Version: 1.0
Text Domain: wpxnunes
*/
/*
v2
:root {
	--xnunes-color-link-accent: #472c11;
    --xnunes-color-link-accent-hover: #36220d;
	--xnunes-color-link-accent-bg: rgba(71, 44, 17, .9);
    --xnunes-logo-color-primary: #ffffdd;
    --xnunes-logo-color-secondary: #472c11;
}
v1
*/
:root {
    --xnunes-color-link-accent: #039ef8;
    --xnunes-color-link-accent-hover: #0382f8;
    --xnunes-color-link-accent-bg: rgba(3, 158, 248, 0.9);
    --xnunes-logo-color-primary: #fafafa;
    --xnunes-logo-color-secondary: #222;
}
img, pre, figure { 
	max-width: 100% !important;
	overflow: hidden;
}
img {
	height: auto;
	max-width: 100% !important;
}
hr { margin: 2rem 0 !important; }
p { margin-bottom: 0.5rem !important; }
.logged-in #wp-admin-bar-wp-logo { 
    display: none; 
    visibility: hidden; 
}
.admin-bar .navbar.fixed-top, .admin-bar .main-menu-mobile { top: 32px !important; }
.admin-bar #top { top: 32px !important; }
.admin-bar #header { top: 68px !important; }
body.admin-bar { padding-top: 158px !important; }
summary {
	font-weight: bold;
	margin-bottom: 1em;
}
a, a:visited {
    color: var(--xnunes-color-link-accent);
    transition: all 0.3s ease 0s;
    text-decoration: none;
}
a:active, a:focus, a:hover {
    color: var(--xnunes-color-link-accent);
	text-decoration: none;
    outline: 0 none;
}
.yt-responsive {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}
.yt-responsive iframe, .yt-responsive object, .yt-responsive embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.alert { border-radius: 0 !important; }
.btn, .btn:active, .btn:visited, .btn:focus, .btn:hover { text-decoration: none !important; }
a.btn:active, a.btn:visited, a.btn:focus, a.btn:hover { color: #fff !important; }
.btn { border-radius: 0 !important; }
.btn-primary, .btn-primary:active, .btn-primary:visited, .btn-primary:focus {
    color: #fff;
    background-color: var(--xnunes-color-link-accent);
    border-color: var(--xnunes-color-link-accent);
}
.btn-primary:hover {
    color: #fff;
    background-color: var(--xnunes-color-link-accent-hover);
    border-color: var(--xnunes-color-link-accent-hover);
}
.wp-block-button__link, .wp-block-button__link:active, .wp-block-button__link:visited:focus, .wp-block-button__link:hover { text-decoration: none !important; }
.wp-block-button__link, .wp-block-button__link:active, .wp-block-button__link:visited:focus {
    color: #fff !important;
    background-color: var(--xnunes-color-link-accent);
    box-shadow: none;
	text-shadow: none;
	font-weight: 400;
    line-height: 1.5;
	border: 1px solid transparent;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	
}
.wp-block-button__link:hover {
    color: #fff !important;
    background-color: var(--xnunes-color-link-accent-hover);
	border: 1px solid var(--xnunes-color-link-accent-hover);
}
.form-control, .form-select {
    border: 1px solid #9d9d9d;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}
span.required { color: red; }
.title-border { 
    border-bottom: 2px solid var(--xnunes-color-link-accent);
    padding-bottom: 2px;
    margin-bottom: 0.4em;
    display: inline-block;
}
ul.icons-and-links { 
    padding: 0 !important;
    margin: 0 !important;
}
.icons-and-links li { display: inline; }
.icons-and-links li a { 
    display: inline-block;
    margin: 0 0.2em;
}
body {
	z-index: 1;
	position: relative;
	padding-top: 158px;
	font-family: "Quicksand", Tahoma, Verdana, sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;	
}
#about-madeira {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
#reviews {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
#advantages .wp-block-image {
    margin-bottom: 10px;
} 
.single-accommodation #reviews {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
#reviews .owl-carousel .owl-item img { display: inline-block !important; }
#reviews .review img.photo {
    width: 100px;
    border-radius: 50px;
}
#reviews .flag { width: 20px; }
#reviews .review {
    padding: 1em;
    margin: 1em;
    background: #fafafa;
    text-align: justify;
}
#about-us {
    padding-top: 5rem;
    padding-bottom: 5rem;    
}
#make-reservation {
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: #fff;
    background: var(--xnunes-logo-color-secondary);
}
#make-reservation .title-border, #bottom-sidebar .title-border { border-bottom: 2px solid var(--xnunes-logo-color-primary) !important; }
#bottom-sidebar {
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: #fff;    
    background: var(--xnunes-logo-color-secondary);
}
#bottom-sidebar a, #bottom-sidebar a:visited { color: #fff; }
#bottom-sidebar a:active, #bottom-sidebar a:focus, #bottom-sidebar a:hover { color: #ccc; }
#top {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    color: #fff;    
    background: var(--xnunes-logo-color-secondary);
    font-size: 0.9rem;
	/* fixed */
	width: 100%;
	height: 36px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 8888;
}
#top a, #top a:visited { color: #fff; }
#top a:active, #top a:focus, #top a:hover { color: #ccc; }
#header {
    padding-top: 1em;
    padding-bottom: 1em;
	background: #fff;
	/* fixed */
	width: 100%;
	position: fixed;
	top: 36px;
	left: 0;
	z-index: 8889;
}
#home-content {
    padding-top: 1em;
    padding-bottom: 1em;
}
#footer {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
.wp-gallery-owl { position: relative; }
.wp-gallery-title {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    color: #fff;
    background: rgba(0, 0, 0, .3);
    font-size: 1.5em;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
.go-to { cursor: pointer; }
/* menu */
.call-to-action, .main-menu { text-align: right; }
.main-menu ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}
.main-menu ul li {
    display: inline-block;
    padding: 1em;
    position: relative;
}
.main-menu ul li a {
    color: #333;
    padding: 7px 0;
	text-transform: uppercase;
    transition: all 0.3s ease 0s;
}
.main-menu-mobile-trigger { display: none; }
.main-menu-mobile {
	width: 80%;
    height: 100vh;
	color: #fff;
    background: var(--xnunes-color-link-accent-bg);
	border-right: 2px solid var(--xnunes-color-link-accent-hover);
	/* position */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;	
}
.main-menu-mobile a, .main-menu-mobile a:visited, .main-menu-mobile a:active, .main-menu-mobile a:focus, .main-menu-mobile a:hover {
	color: #fff;
	text-decoration: none;
	font-size: 1.2em;
}
.main-menu-mobile ul {
	list-style: none;
	padding: 1em 2em;
}
.main-menu-mobile ul li { margin-bottom: 0.5em; }
.main-menu-mobile .main-nav-mobile-trigger {
	margin-left: 2em;
    margin-top: 2em;
	z-index: 1000;
}
/* end menu */
/* slider */
.slider-area { overflow-y: hidden; }
.slider-area .owl-item { position: relative; }
.slider-area .owl-item a { display: block; }
.slider-area .slide, .slider-area .slide-bg, .slider-area .slide-overlay, .slider-area .slide-content {
	width: 100%;
	height: 80vh;
}
.slider-area .slide-bg, .slider-area .slide-overlay, .slider-area .slide-content {
	position: absolute;
    top: 0;
    left: 0;
}
.slider-area .slide-bg {
	background-color: #ededed;
	background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
	z-index: 2001;
}
.slider-area .slide-overlay {
	background-color: rgba(0,0,0,.2);
	z-index: 2002;
}
.slider-area .slide-content {
    color: #fff;
	padding: 10rem 3em;
	z-index: 2003;
}
.slider-area .slide-content h1, .slider-area .slide-content h2, .slider-area .slide-content h3, .slider-area .slide-content p { text-shadow: 1px 1px 5px #000; }
.slider-area .slide-content { text-align: center; }
.slider-area .slide-content a { display: inline-block !important; }
.slider-area .slide-content h2 { font-size: 5rem; }
.slider-area .slide-content h3 { font-size: 3rem; }
.slider-area .slide-content .wp-block-button { margin-top: 1.5rem; }
#content {
	padding-top: 3rem;
    padding-bottom: 3rem;
	background: #fafafa;
}
#accommodations .owl-theme .owl-nav {
    position: absolute;
    top: 16vh;
    left: 0;
    color: #fff;
    width: 100%;
    font-size: 30px;
    z-index: 9999;
	margin-top: 0 !important;
}
#accommodations .owl-carousel .owl-nav button.owl-next, #accommodations .owl-carousel .owl-nav button.owl-prev, #accommodations .owl-carousel button.owl-dot {
    background: rgba(0, 0, 0, .3) !important;
    padding: 10px !important;
}
#accommodations .owl-theme .owl-nav .owl-prev, #accommodations .owl-theme .owl-nav .owl-next {
    position: absolute;
    top: 0;
}
#accommodations .owl-theme .owl-nav .owl-prev {
    left: 0px;
    text-align: left;
}
#accommodations .owl-theme .owl-nav .owl-next {
    right: 0px;
    text-align: right;
}
.accommodation-gallery { position: relative; }
.accommodation-gallery  a.more-photos {
	position: absolute;
    bottom: 24px;
    right: 24px;
    background: #fff;
    padding: 0.3em 1em;
    border: 1px solid #222;
    z-index: 1111;
}
.accommodation-gallery  a.more-photos, .accommodation-gallery  a.more-photos:visited, .accommodation-gallery  a.more-photos:active, .accommodation-gallery  a.more-photos:focus, .accommodation-gallery a.more-photos:hover { color: #222 !important; }
.modal { z-index: 9999 !important; }
.modal-dialog { 
	margin-top: 11vh;
	color: #000;
}
.modal summary { display: none; }
/* end slider */
.content .single-post {
    border: 1px solid #efefef;
    overflow: hidden;
    padding-bottom: 15px;
    transition: all 0.3s ease 0s;
}
.content .single-post:hover { box-shadow: 0 8px 16px 1px #ccc; }
.content .single-post h1 { 
	font-size: 20px;
	line-height: 24px;
	text-transform: uppercase;
}
.content .single-post img { width: 100%; }
.img-post {
    width: 100%;
    height: 150px;
    background-color: #ededed;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}
.post-image-and-date { position: relative; }
.post-image-and-date .date {
    background: var(--xnunes-color-link-accent) none repeat scroll 0 0;
    color: #fff;
    font-family: "Lato",sans-serif;
    font-size: 12px;
    font-weight: bold;
    left: 0;
    line-height: 34px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 0;
    width: 75px;
}
.post-text { padding: 15px; }
.post-text > p {
    color: #333;
    font-size: 14px;
}
.post-text > a {
    border-bottom: 1px solid #333;
    color: #333;
    float: right;
    font-family: lato;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
}
/* lg */
@media (max-width: 1399px) {
}
/* md */
@media (max-width: 1199px) {
    .main-menu ul li { padding: 0.5em; }
}
/* sm */
@media (max-width: 991px) {
	.call-to-action, .logo, .main-menu { text-align: center !important; }
    .modal-dialog { margin-top: 4vh; }
}
/* xs */
@media (max-width: 767px) {
	body, body.admin-bar { padding-top: 0 !important; }	
	#top, #header {
		width: 100%;
		height: auto !important;
		position: static !important;
	}
	#top, #top .text-end { text-align: center !important; }
	#top a { padding: 0.5em 0; }
	#bottom-sidebar { text-align: center; }
	#bottom-sidebar, #reviews, #about-us, #advantages, #about-madeira, #content {
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}
    .single-accommodation #reviews {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
	#make-reservation {
		padding-top: 3rem !important;
		padding-bottom: 3rem !important;
	}
}
@media (max-width: 575px) {
    body { min-width: 500px; }
    #header .logo { min-width: 200px; }
	.main-menu { display: none; }
	.main-menu-mobile-trigger { display: block; }
    .mobile-trigger-wrapper {
        text-align: center;
        margin-top: 14px;
    }
	.mobile-trigger-wrapper-close { padding: 1em 2em; }
}