/*
Theme Name: Rosanna
Version: 2.6
Author: Guido
Author URI: https://www.guido.site
Description: Custom made theme for Rosanna.
Tags: one-column, two-columns, right-sidebar, full-width-template, custom-background, custom-menu, featured-images, footer-widgets, sticky-post, blog, editor-style, translation-ready
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: rosanna
*/


/* RESET STYLESHEET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, 
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, 
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	font-family:inherit;
	font-size:100%;
	font-style:inherit;
	font-weight:inherit;
	vertical-align:baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
	display:block;
}

body {
	line-height:1;
}

ol, ul {
	list-style:none;
}

blockquote, q {
	quotes:none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content:'';
	content:none;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}


/* CLEAR DIVS THAT CONTAIN FLOATING ELEMENTS */
#header:after, #homepage-widgets:after, #homepage-other-work:after, .entry-content:after, .more:after, .post-nav:after, .comment-nav:after, #footer-widgets:after {content:''; display:block; height:0; clear:both;}


/* HTML */
html {-webkit-text-size-adjust:100%;}


/* BODY */
body {background:#51574b; color:#edf2e4; font-family:'Dosis', sans-serif; font-size:16px; line-height:1.5; text-align:left; word-wrap:break-word;}


/* HEADINGS */
h1 {clear:both; margin:0 0 10px; font-size:2.2em; line-height:1.25;}
h2 {clear:both; margin:0 0 10px; font-size:1.75em; line-height:1.25;}
h3 {clear:both; margin:0 0 10px; font-size:1.45em; line-height:1.5;}
h4 {clear:both; margin:0 0 10px; font-size:1.2em; line-height:1.5;}
h5 {clear:both; margin:0 0 10px; font-size:1em; line-height:2;}
h6 {clear:both; margin:0 0 10px; font-size:0.8em; line-height:2;}


/* LINKS AND HTML TAGS */
a {text-decoration:none; color:#ccdbd7;}
a:hover {text-decoration:underline; color:#edf2e4;}

strong, b {font-weight:bold;}
small {font-size:0.8em;}
big {font-size:1.2em;}
sub {vertical-align:sub; font-size:0.9em;}
sup {vertical-align:super; font-size:0.9em;}
ins, mark {font-weight:bold; background:none; text-decoration:none; color:#edf2e4;}
cite, em, abbr, acronym {font-style:italic;}
code, kbd, samp, var {font-family:monospace, monospace;}
pre {margin:0 0 10px; padding:5px 10px; white-space:pre-wrap; border:1px solid #edf2e4;}
blockquote, q {margin:0 0 10px; padding:0 0 0 20px; display:block; font-size:1.2em; font-style:italic; border-left:2px solid #edf2e4;}
address {margin:0 0 10px; font-style:italic;}
p {margin:0 0 10px;}
hr {height:1px; background:#edf2e4; border:0; margin:0 0 10px;}


/* ALIGNMENTS */
.alignright {float:right;}
.alignleft {float:left;}
.aligncenter {clear:both; display:block; margin-left:auto; margin-right:auto;}


/* TABLE AND LISTS */
table {margin:0 0 10px; border-collapse:collapse;}
table, th, td {border:1px solid #edf2e4; padding:5px 10px;}
table th {font-weight:bold;}

ul {list-style:square; margin:0 0 10px;}
ol {list-style:decimal; margin:0 0 10px;}
li {margin:0 0 0 20px;}
li > ul, li > ol {margin:0;}
dl {margin:0 0 10px;}
dt {font-weight:bold;}
dd {margin:0 0 0 20px;}


/* INPUTS */
input, select, textarea {-webkit-appearance:none; -moz-appearance:none; padding:5px; background:#83887b; border:1px solid #edf2e4; color:#edf2e4; font-size:inherit; font-family:inherit;}
input[type="submit"], input[type="reset"], input[type="button"], button {cursor:pointer; padding:5px 10px; background:#83887b; color:#edf2e4; border:1px solid #edf2e4;}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover {background:#83887b; color:#ccdbd7; border:1px solid #ccdbd7;}
input[type="checkbox"] {-webkit-appearance:checkbox; -moz-appearance:checkbox;}
input[type="radio"] {-webkit-appearance:radio; -moz-appearance:radio;}
select {-webkit-appearance:menulist; -moz-appearance:menulist; max-width:100%; background:#fff; color:#333;}
button {font-size:inherit; font-family:inherit;}


/* CONTAINER */
#container {max-width:1000px; clear:both; margin:0 auto; padding:20px;}


/* MAIN CONTENT AREA */
#content {width:71%; float:left; padding:20px 0;}
#content-full {width:100%; clear:both; float:left; padding:20px 0;}


/* HEADER */
#header {clear:both; border-bottom:1px solid #edf2e4;}


/* HEADER LOGO */
.logo {width:30%; float:left;}
.logo h1 {margin:0; font-size:2em;}
.logo h1 a {color:#ccdbd7; text-decoration:none;}
.logo h1 a:hover {color:#edf2e4; text-decoration:none;}
.logo h2 {margin:0; font-size:1.2em;}


/* HEADER MENU */
.nav-head {width:70%; float:right; padding:20px 0 0; text-transform:uppercase; text-align:right;}
.nav-head ul {margin:0; padding:0; z-index:999; list-style:none;}
.nav-head ul li {display:inline-block; position:relative; margin:0; padding:0;}
.nav-head ul li a {display:block; color:#edf2e4; text-decoration:none; padding:20px 8px;}
.nav-head ul li:hover > a {background:#83887b; color:#edf2e4;}
.nav-head .current-menu-item > a, .nav-head .current-menu-parent > a {background:#edf2e4; color:#333;}


/* HEADER SUBMENU */
.nav-head ul ul {display:none; position:absolute; top:100%;}
.nav-head ul ul ul {display:none; position:absolute; top:30%; left:100%;}
.nav-head ul ul a {width:12em; padding:5px 8px; background:#83887b; color:#edf2e4; text-align:left; text-transform:none; font-size:0.9em;}
.nav-head ul ul a:hover {background:#edf2e4; color:#333;}
.nav-head ul li:hover > ul {display:block;}
.nav-head ul li ul li {margin:0;}


/* HEADER MOBILE MENU */
.mobile-nav-container {display:none;}
.mobile-nav-toggle {display:none;}
.mobile-nav {display:none;}


/* HOMEPAGE WIDGET AREA */
#homepage-widgets {clear:both;}
#homepage-widgets .widget {clear:both; float:left;}
#homepage-widgets .widgettitle {display:none;}
#homepage-widgets .textwidget h2, #homepage-widgets .textwidget h3 {clear:none; margin:0;}

.homepage-left {float:left; width:49%; margin:0 0 10px; padding:0;}
.homepage-right {float:right; width:49%; margin:0 0 10px; padding:0;}


/* HOMEPAGE OTHER WORK */
#homepage-other-work {clear:both; padding:20px 0 0; border-top:1px solid #edf2e4;}
#homepage-other-work .widget {width:25%; float:left;}
#homepage-other-work .widget:nth-of-type(4n+1) {clear:left;}
#homepage-other-work .widgettitle {display:none;}


/* PAGE */
.page-title {margin:0 0 20px;}
.blog-page-text {clear:both; padding:0 0 20px;}
.archive-description {clear:both; padding:0 0 10px; font-style:italic;}
.pagelink {clear:both; padding:10px 0;}


/* POST */
.post-list {clear:both; margin:0 0 20px; border-bottom:1px solid #edf2e4;}
.post-single {clear:both;}
.post-title {margin:0 0 20px;}
.post-title-single {margin:0 0 20px;}
.entry-content {clear:both; padding:0 0 20px;}
.sticky-title {margin:0 0 20px; padding:2px 0; border-top:1px solid #edf2e4; border-bottom:1px solid #edf2e4; text-align:center;}
.postmetadata {clear:both; padding:5px 0; margin:0 0 20px; border-top:1px dotted #edf2e4; border-bottom:1px dotted #edf2e4;}
.more {clear:both; padding:0 0 20px;}
a.readmore {float:right; text-decoration:none;}
a.readmore:hover {text-decoration:none;}


/* POST NAV */
.post-nav {clear:both; font-size:1.45em;}
.nav-prev {float:left; padding:5px 0;}
.nav-next {float:right; padding:5px 0;}


/* EDIT LINK */
.edit-link {clear:both; margin:10px 0; padding:5px 0; border-top:1px solid #edf2e4; border-bottom:1px solid #edf2e4; text-align:center;}


/* IMAGE AND VIDEO */
embed, iframe, object, video {max-width:100%;}
img {max-width:100%; height:auto;}

img.alignright {float:right; margin:0.4em 0 0.4em 1em;}
img.alignleft {float:left; margin:0.4em 1em 0.4em 0;}
img.aligncenter {clear:both; display:block; margin:0.4em auto 0.4em auto;}

.wp-post-image {float:left; margin:0.4em 1em 0.4em 0;}
.post-list .wp-post-image, .post .wp-post-image {width:100%; clear:both; display:block; margin:0 0 1em;}

.wp-caption-text {text-align:center;}

.gallery-item {margin:0 0 10px !important;}
.gallery img {border:0 !important;}
.gallery-caption {margin:0 !important;}


/* SEARCHFORM */
.search-form {padding:10px 0;}
.search-field {margin:0 5px 0 0;}
.search-form .screen-reader-text {display:none;}


/* COMMENTS */
#comments {clear:both;}
.comment-list, .comment-list .children {list-style:none; margin:0; padding:0;}
.comment-list li {margin:0; padding:0;}
.comment-list .children > li {margin:0 0 0 10px;}
.comment-body {background:#83887b; border:1px solid #edf2e4; margin:0 0 20px; padding:10px;}
.comment-content {padding:10px 0;}
.comment-notes, .form-allowed-tags {padding:5px 0; font-size:0.8em;}
.comments-title, .comment-reply-title, .no-comments {margin:0 0 10px; font-size:1.45em;}
.comment-author .avatar {margin:0 10px 0 0; border-radius:5px;}
.comment-metadata {padding:5px 0 0;}
.bypostauthor .comment-content {font-style:italic;}
.comment-awaiting-moderation {font-style:italic;}


/* COMMENTS RESPOND */
#respond {clear:both; padding:0 0 10px;}
.comment-form label {padding:0 0 5px; display:block;}
.comment-form textarea {width:90%;}


/* COMMENTS NAV */
.comment-nav {clear:both;}
.comment-prev {float:left; padding:10px 0;}
.comment-next {float:right; padding:10px 0;}


/* SIDEBAR AND WIDGETS */
#sidebar {width:27%; float:right; padding:20px 0 0;}
.widget {margin:0 0 20px; padding:0;}
.widgettitle {margin:0 0 10px; color:#edf2e4;}


/* SIDEBAR RECENT POSTS WIDGET */
#sidebar .widget_recent_entries li {padding:5px 0; border-bottom:1px dotted #edf2e4; list-style:none; margin:0;}
#sidebar .widget_recent_entries li a {color:#ccdbd7;}
#sidebar .widget_recent_entries li a:hover {color:#edf2e4;}


/* SIDEBAR CATEGORIES WIDGET */
#sidebar .widget_categories li {padding:5px 0; border-bottom:1px dotted #edf2e4; list-style:none; margin:0;}
#sidebar .widget_categories li a {color:#ccdbd7;}
#sidebar .widget_categories li a:hover {color:#edf2e4;}


/* FOOTER */
#footer {clear:both;}
.site-info {clear:both; padding:30px 20px; background:#40463a; color:#edf2e4; font-size:0.9em; text-align:left;}


/* FOOTER WIDGET AREA */
#footer-widgets {clear:both;}
.footer-first {float:left; width:23.5%; margin:10px 2% 0 0;}
.footer-second {float:left; width:23.5%; margin:10px 2% 0 0;}
.footer-third {float:left; width:23.5%; margin:10px 2% 0 0;}
.footer-fourth {float:right; width:23.5%; margin:10px 0;}


/* FOOTER MENU WIDGET */
#footer .widget_nav_menu .menu li {padding:5px 0; border-bottom:1px dotted #edf2e4; list-style:none; margin:0;}
#footer .widget_nav_menu .sub-menu li {border:0; margin:0 0 0 20px;}


/* PLUGIN: YOAST BREADCRUMBS */
#breadcrumbs {clear:both; padding:20px 0 0;}


/* PLUGIN: NEXTGEN */
.ngg-gallery-thumbnail {background-color:#3a3f34 !important; border:2px solid #3a3f34 !important; padding:0 !important;}


/* PLUGIN: WPFORMS */
.wpforms-form input[type="text"], .wpforms-form input[type="email"], .wpforms-form textarea {padding:5px !important; background:#83887b !important; border:1px solid #edf2e4 !important; color:#edf2e4 !important;}
.wpforms-submit {border:0 !important; padding:5px 10px !important; background:#83887b !important; color:#edf2e4 !important; border:1px solid #edf2e4 !important;}
.wpforms-submit:hover {background:#83887b !important; color:#ccdbd7 !important; border:1px solid #ccdbd7 !important;}


/* TABLET */
@media screen and (min-width:768px) and (max-width:1024px) { 
	/* HEADER LOGO */
	.logo {width:100%; clear:both; text-align:center;}

	/* HEADER MENU */
	.nav-head {width:100%; clear:both; float:left; text-align:center;}
}


/* MOBILE */
@media screen and (max-width:767px) { 
	/* BODY */
	body.custom-background {background-image:none !important;}

	/* CONTAINER */
	#container {width:96%; margin:0 auto; padding:10px 2%;}

	/* MAIN CONTENT AREA */
	#content, #content-full {width:100%; clear:both; float:left; padding:10px 0;}

	/* HEADER */
	#header {padding:0; border:0;}

	/* HEADER LOGO */
	.logo {width:100%; clear:both; padding:10px 0; text-align:center;}
	.logo h2 {font-size:1.45em;}

	/* HEADER MENU */
	.nav-head {display:none;} 

	/* HEADER MOBILE MENU */
	.mobile-nav-container {display:block; clear:both; margin:0 0 20px;}
	.mobile-nav-toggle {display:block; clear:both; padding:10px 20px; background:#40463a; color:#edf2e4; cursor:pointer;}
	.mobile-nav-toggle:hover {color:#ccc;}
	.mobile-nav {clear:both; padding:10px 20px; background:#b4b9ab; border:1px solid #40463a;}
	.mobile-nav .subnav-toggle {float:right; display:block; margin:-45px 0 0; padding:2px 15px;}
	.mobile-nav ul {list-style:none;}
	.mobile-nav ul li {margin:0;}
	.mobile-nav ul li a {display:block; margin:0 0 10px 0; padding:0 0 12px; color:#3a3f34; border-bottom:1px dotted #3a3f34; text-decoration:none;}
	.mobile-nav ul li a:hover {color:#83887b;}
	.mobile-nav .sub-menu li {margin:0 0 0 20px;}
	.mobile-nav button {border:0; background:#3a3f34;}
	.mobile-nav button:hover {border:0; background:#83887b;}

	/* HOMEPAGE WIDGET AREA */
	.homepage-left, .homepage-right {width:100%; clear:both; float:left;}

	/* HOMEPAGE OTHER WORK */
	#homepage-other-work .widget {width:48%; float:left; padding:0 1%;}
	#homepage-other-work .widget:nth-of-type(2n+1) {clear:left;}

	/* IMAGES */
	.wp-post-image {max-width:50%;}
	.post-list .wp-post-image, .post .wp-post-image {max-width:100%;} 

	/* SIDEBAR AND WIDGETS */
	#sidebar {width:100%; clear:both; float:left; padding:0;}

	/* FOOTER WIDGET AREA */
	.footer-first, .footer-second, .footer-third, .footer-fourth {width:100%; clear:both; float:left; margin:0;} 
}