/*
Theme Name: DadiFlat
Theme URI: http://www.iljester.it/portfolio/dadiflat/
Author: Davide Mura
Author URI: http://www.iljester.it/
Description: DadiFlat is a flat and clean theme that you can use in different colors. Is a simply theme that have different customization options. This theme is device ready.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, one-column, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
Text Domain: dadiflat

This theme is licensed under the GPL.
*/


/**
 * 1 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid;
	margin: 0 0 1.75em;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}

/**
 * 3. Links
 */
a { 
	border-bottom: 1px dashed;
	text-decoration: none; 
}

/**
 * 4. Heads
 */
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	margin: .83em 0;
	line-height: normal;
}

h1 { font-size: 2em; }
h2 { font-size: 1.66em; }
h3 { font-size: 1.33em; }
h4 { font-size: 1.11em; }
h5 { font-size: 1em; }
h6 { font-size: .77rem; }

/**
 * 5. blockquotes
 */
blockquote {
	margin: 1em 40px;
	position: relative;
}

blockquote:before {
	content: "\f106";
    font-size: 2rem;
    font-family: genericons;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    display: inline-block;
    position: absolute;
    top: 1px;
    left: -45px;
}

/**
 * 6. Tables
 */
table, caption { width: 100%; }

table, td, th, caption {
	border: 1px solid;
}

table, td, th {
	border-collapse: collapse;
}

td, th, caption {
	padding: 10px;
}

/**
 * 7. Definitions List
 */
dl {
	margin: 1em 0px;
}

dt {
	font-weight: bold;
}

dd {
	margin-left: 40px;
}

ul, ol {
	margin: 1em 0;
}

ul li ul, ol li ol, ul li ol, ol li ul {
	margin: 0;
}

/**
 * 8. Html tags
 */
address, cite, em, i, var { font-style: italic; }

pre { 
    font-family: monospace;
    white-space: pre;
    margin: 1em 0px 1em;
}

acronym {
	text-transform: uppercase;
	letter-spacing: 1px;
}

big {
	font-size: larger;
}

code, kbd, tt {
	font-family: monospace;
	font-size: .8555555555555rem;
}

del, strike {
	text-decoration: line-through;
}

ins {
	text-decoration: underline;
}

q:before {
	content: open-quote;
}

q:after {
	content: close-quote;
}

p {
	margin: 0 0 1em;
}

html * {
 -ms-word-wrap: break-word;
 word-wrap: break-word;
}

/**
 * 9. Fields
 */
input[type="text"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="email"],
input[type="url"],
textarea {
    border-radius: 4px;
    box-shadow: inset 4px 8px 36px -9px rgba(66, 64, 64, 0.15);
    padding: 10px;
    outline: none;
    border: 1px solid;
}

input[type="submit"], button {
	outline: none;
	padding: 10px 10px 8px;
    border: 0 none;
    border-radius: 4px;
    border-bottom: 4px solid;
    font-weight: bold;
}

textarea { width: 100%; }

/**
 * 10. Images
 */
.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}
 
img {
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}
 
.alignleft {
	float: left;
	margin: 4px 20px 10px 0;
}

.alignright {
	float: right;
	margin: 4px 0 10px 20px;
}

.aligncenter {
	text-align: center;
	margin: 0 auto 1em;
}

/**
 * 11. Captions
 */
.wp-caption {
	margin-bottom: 1.15em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption .wp-caption-text {
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

/**
 * 12. Gallery
 */
.gallery {
	margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
	display: inline-block;
	max-width: 33.33%;
	padding: 0 1.1400652% 2.2801304%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-10 .gallery-item {
	max-width: 10%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}
 
/**
 * 13. Iframe, embed, video and object
 */
embed,
iframe,
object,
video {
	margin-bottom: 1.75em;
	max-width: 100%;
	vertical-align: middle;
}

p > embed,
p > iframe,
p > object,
p > video {
	margin-bottom: 0;
}
 
/*
 * 14. Commons
 */
#header a, #footer a {
	border-bottom: 0 none;
}

#searchform button, .post-password-form input[type="submit"] {
	font-size: 22px;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    margin-left: -5px;
}

.post-password-form input[type="submit"] { font-size: 1rem; }

#searchform input[type="search"],
#searchform input[type="text"],
.post-password-form input[type="password"] {
	border-radius: 4px 0 0 4px;
}

.clear {
	clear: both;
}

/**
 * 15. Structure
 */ 
html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 18px;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	font-family: "roboto condensed", helvetica, arial, sans-serif;
	line-height: 1.4em;
	font-size: .888888888rem;
	font-weight: 300;
}

#wrap {
	width: 70.1711111111%;
	border-radius: 8px;
	margin: 40px auto;
	box-shadow: 0 0 10px rgba(4, 4, 4, 0.61);
	max-width: 1350px;
}

#menu {
	border-top: 0 none;
	border-left: 0 none;
	border-right: 0 none;
	width: 100%;
}

#header {
	border-top: 0 none;
	border-left: 0 none;
	border-right: 0 none;
	box-shadow: none;
	padding-bottom: 1px;
	width: 100%;
	overflow: hidden;
	border-radius: 8px 8px 0 0;
}

#main {
	width: 100%;
	overflow: hidden;
}

.content {
	float: left;
	width: 60%;
}

.sidebar-right-none {
	float: none;
	margin: 0 auto;
}

#sidebar-right {
	float: right;
	width: 40%;
}

#sidebar-bottom {
	margin: 0 24px 20px 20px;
    border-radius: 8px;
    border-bottom: 4px solid;
}

#footer {
	width: 100%;
	padding: 30px 0;
	clear: both;
	border-radius: 0 0 8px 8px;
	position: relative;
}

/**
 * 16. Header
 */
#header hgroup {
	float: left;
	width: 61%;
}

#header hgroup .blog-logo {
	float: left;
    margin: 10px 20px 9px 10px;
}

#header h1, #header h2 {
	font-size: 1.98rem;
    margin: 21px 0 10px 25px;
    padding:0;
}

#header .description {
	margin-bottom: 10px;
    margin-left: 24px;
    font-style: italic;
    font-weight: bold;
}

#header .hide-td {
	visibility: hidden;
	position: absolute;
	top: -9999px;
	left: -9999px;
}

#header form {
	float: right;
	width: 35%;
	text-align: right;
	padding: 30px 25px 18px;
	margin-bottom: 0;
}

form.searchform .screen-reader-text {
	position: absolute;
	top: -9999px;
	left: -9999px;
}

/**
 * 17. Post Header
 */
.post-header {
	border-bottom: 4px solid;
	width: 100%;
	position: relative;
	text-align: center;
    background: url(images/texture.png) repeat;
    box-shadow: inset 0 0 200px 59px #000000;
}

.post-header img {
	max-height: 300px;
}

#nav-post {
	position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
}

#nav-post div.left {
	float: left;
    width: 50%;
    text-align: left;
}

#nav-post div.right {
	float: right;
    width: 50%;
    text-align: right;
}

#nav-post div.left,
#nav-post div.right {
	font-size: 3rem;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: .8em;
    font-weight: bold;
    border-bottom: 0;
    text-shadow: 0 0px 1px #000000;
}

#nav-post .left {
	margin-left: 20px;
}

#nav-post .right {
	margin-right: 20px;
}

#nav-post a {
	border-bottom: 0 none;
}

.display-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    margin: 0;
}

.display-info .avatar {
	border-radius: 52px;
    border: 4px solid;
}

/**
 * 18. Menu
 */
#menu {
    position: absolute;
    left: inherit;
    bottom: 0;
    right: 0;
    width: 80%;
    border-radius: 16px 0 0 0;
    border-right: 0;
    border-bottom: 0;
}

#menu ul { padding: 0; margin: 0; }

#menu ul li {
	list-style-type: none;
	display: inline-block;
	float: left;
}

#menu ul li:last-child:after {
	content: "";
}

#menu ul li.menu-item-has-children {
	padding-right: 10px;
	position: relative;
}

#menu ul li.menu-item-has-children:after {
	content: "\25bc";
	position: absolute;
	right: 5px;
	top: 11px;
    font-size: .6rem;
}

#menu ul li ul {
	font-size: .8rem;
	padding-bottom: 10px;
}

#menu ul li .sub-menu {
    width: 100% !important;
    padding: 0 10px 0;
    border-radius: 0 0 6px 6px;
    border-bottom: 4px solid;
}

#menu ul li .sub-menu ul {
	border-radius: 6px;
}

#menu ul li ul, 									/* first  */
#menu ul li:hover ul li ul,							/* second */
#menu ul li ul li:hover ul li ul,					/* third  */
#menu ul li ul li ul li:hover ul li ul,				/* fourth */
#menu ul li ul li ul li ul li:hover ul li ul {		/* fifth  */
	position: absolute;
	left: -99999px;
	top: auto;
}

#menu ul li:hover ul,
#menu ul li ul li:hover ul,
#menu ul li ul li ul li:hover ul,
#menu ul li ul li ul li ul li:hover ul,
#menu ul li ul li ul li ul li ul li:hover ul {
	display: block;
	left: 0;
	top: 42px;
	min-width: 200px;
	width: auto;
	z-index: 1000;
}

#menu ul li ul li:hover ul {
	margin-left: 190px;
    top: 0px;
}

#menu ul li ul li ul li:hover ul {
	top: 36px;
	left: -70%;
}

#menu ul li ul li {
	min-width: 190px;
	width: 100%;
	text-align: left;
	padding: 0;
}

#menu ul li ul li.menu-item-has-children:after {
	content: "\25b6";
	position: absolute;
	right: 20px; /* original 5px */
	top:7px;
}

#menu ul li ul li ul li.menu-item-has-children:after {
	content: "\25bc";
	position: absolute;
}

#menu ul li a {
	display: inline-block;
	padding: 10px 15px;
	border-bottom: 0 none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: .6rem;
}

#menu ul li ul li a {
	padding: 8px;
}

/**
 * 18.1 Menu Device
 * This menu will be hidden for laptop
 */
#menu-device-bar, #sidenav {
	display: none;
	visibility: hidden;
	position: absolute;
    top: -9999px;
    left: -9999px;
}

/**
 * 19. Home, archives, search
 */
.home .article, .archive .article, .search .article, .blog .article {
	padding-bottom: 75px;
	border-bottom: 4px solid;
}

.nav-links {
	text-align: center;
    border-radius: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.nav-links a {
	border-bottom: 0 none;
}

.pagination .screen-reader-text,
.comment-navigation .screen-reader-text {
	position: absolute;
	top: -9999px;
	left: -9999px;
    visibility: hidden;
}

.comment-navigation .nav-links {
	overflow: hidden;
	height: auto;
	margin-top: 0;
}

.nav-previous { 
	float: left;
	width: 50%;
	text-align: left;
}

.nav-next {
	float: right;
	width: 50%;
	text-align: right;
}

/**
 * 20. Article
 */
.article {
	padding: 20px 24px 20px 20px;
	border-top: 0 none;
	border-left: 0 none;
	border-bottom: 0 none;
	position: relative;
}

.no-title {
	padding-top: 43px;
}
 
.entry-header {
	position: relative;
}

.no-title .entry-header {
	margin-bottom: 20px;
}
 
.article .entry-header time {
    width: 80px;
    display: block;
    height: 80px;
    border-radius: 80px;
    position: absolute;
    top: -86px;
    left: 50px;
    margin-left: -40px;
    line-height: 1.1rem;
    font-size: .8rem;
    text-align: center;
    font-weight: bold;
	border: 4px solid;
}

.sidebar-right-none .article .entry-header time {
	top: 22px;
    left: -102px;
}

.article time span {
	display: block;
}

.article time.entry-date .dtop {
	padding-top: 9px;
}


.article time.standard-format .dtop,
.article time.us-format .dmed  {
	font-size: 1.3rem;
}

.article time.chinese-format .dtop,
.article time.us-format .dtop {
	font-size: 1.1rem;
}

.article time.standard-format .dmed,
.article time.chinese-format .dmed,
.article time.chinese-format .dbot {
	font-size: 1rem;
}

.article time.us-format .dmed {
	padding-top: 2px;
}

.article time.standard-format .dbot {
	font-size: .8rem;
}

.article .entry-header .post-thumbnail {
    margin: 22px auto 0;
    text-align: center;
    max-width: 100%;
}

.article .entry-header h2 {
	padding-top: 20px;
}

.page .article .entry-header h2 {
	padding-top: 0;
}

.article .entry-content {
	overflow-y: hidden;
	height: auto;
}

.content-default .entry-content,
.content-archive .entry-content {
	overflow: hidden;
	height: auto;
}

.article .edit-post {
	position: absolute;
    top: 10px;
    right: 10px;
}

.single .article .edit-post,
.page .article .edit-post {
	right: 24px;
}

.article .edit-post a, .article .edit-post .no-reactions {
	border-bottom: 0 none;
	font-weight: bold;
	font-size: .8rem;
}

.article .edit-post .sp {
	font-size: .8rem;
    font-weight: bold;
}

.article .edit-post .sp .genericon-star {
    font-size: 1rem;
    line-height: normal;
}

.article .entry-footer .cat-links {
	margin-right: 5px;
}

.article .entry-taxonomy {
	display: block;
	font-style: italic;
    font-size: .8rem;
    border-top: 2px solid;
    padding-top: 10px;
    margin-bottom: 20px;
}

.article .entry-meta {
	display: block;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
    height: 73px;
    line-height: 3;
    border-bottom: 4px solid;
}

.article .entry-meta .avatar {
	float: left;
    border-radius: 42px;
    border: 4px solid;
    margin-right: 15px;
}

.article .page-links {
	margin-bottom: 20px;
    font-size: .8rem;
    font-weight: bold;
    text-align: center;
    clear: both;
}

/**
 * 21. Attachment page
 */
.entry-caption {
	font-size: .8rem;
    line-height: normal;
    margin-top: 20px;
}

.full-size-link {
	margin-bottom: 20px;
    text-align: right;
    font-size: .8rem;
    font-style: italic;
    font-weight: bold;
    border-top: 2px solid;
    padding-top: 10px;
}

/**
 * 22. Comments
 */
#comments {
	padding: 0 24px 20px 20px
}

.comments-title {
	border-top: 2px solid;
    padding-top: 20px;
}

.comment-list {
	margin: 0;
	padding: 0;
}

.comment-list ol {
	margin: 0;
	padding: 0 0 0 1.6em;
}

.comment-list li {
	padding: 0;
	list-style-type: none;
}

#comments .comment, .depth-2 .reply {
	margin-bottom: 1.5em;
}

.bypostauthor {}

.comment, .pingback, .trackback {
	margin-top: 1.5em;
}
 
.comment-author {
    height: 71px;
    padding: 10px;
    border-radius: 4px 4px 0 0;
    font-size: 1em;
}

.comment-author .avatar {
	float: left;
    border-radius: 42px;
    border: 4px solid;
    margin-right: 15px;
}

.comment-author .fn {
	line-height: 3em;
	font-weight: bold;
	position:relative;
}

.comment-author .fn .genericon-star {
	position: absolute;
    top: -6px;
    right: inherit;
}

.comment-meta {
	clear: both;
}

.comment-meta, .reply {
    text-align: right;
    font-size: .7rem;
    font-style: italic;
    padding: 5px;
}

.pingback .fn,
.trackback .fn {
	line-height: 1.5em;
}

.no-comments {
	text-align: center;
    font-weight: bold;
}

.reply {
	border-radius: 0 0 4px 4px;
    border-bottom: 4px solid;
}

.comment-meta a,
.reply a {
    font-weight: bold;
}

.comment-content {
	border: 1px solid;
    border-top: 0;
    border-bottom: 0;
    padding: 10px;
}

.comment-form-comment textarea {
	border-radius: 0 0 4px 4px;
}

.comment-form-comment label {
	display: block;
	padding: 13px;
	text-align: center;
	border-radius: 4px 4px 0 0;
	margin-bottom: -1px;
	font-weight: bold;
	text-align: center;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
	overflow: hidden;
	height: auto;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
	display: inline-block;
	float:left;
	border-radius: 4px 0 0 4px;
}

.depth-3 .comment-form-author input,
.depth-3 .comment-form-email input,
.depth-3 .comment-form-url input {
	width: 60%;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
	padding: 0px;
    line-height: 44px;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    width: 35%;
    display: inline-block;
    text-align: center;
    margin-left: -1px;
}

#respond {
	margin-top: 20px;
	padding: 10px 20px;
    border-radius: 6px;
    border-bottom: 4px solid;
}

/**
 * 23. Sidebar
 */
.box-search {
	border-top: 0 none;
	border-left: 0 none;
	border-right: 0 none;
}
 
.widget {
	padding: 20px;
	overflow: hidden;
}
 
.widget h3 {
	padding: 10px;
    border-right: 0;
    width: 16.9em /* 106% */;
    margin-left: 0;
    border-radius: 6px 0 0 6px;
    border-bottom: 4px solid;
}

#sidebar-bottom .widget h3 {
	width: 100%;
	border-radius: 6px;
}

#wp-calendar caption {
	border-bottom: 0 none;
	font-weight: bold;
}

#wp-calendar td {
	text-align: center;
}

#wp-calendar td a {
    border-bottom: 0 none;
    font-weight: bold;
    line-height: 1.6em;
    width: 24px;
    height: 24px;
}

/**
 * 24. Footer
 */
#menu-footer {
	margin-bottom: 20px;
	text-align: center;
	font-size: .85rem;
	font-weight: bold;
}
 
#footer ul {
	padding: 0;
	margin: 0;
}

#footer li {
	display: inline;
	list-style-type: none;
	padding: 0 5px;
}

#footer .dadiflat-info {
	text-align: center;
    font-size: .75rem;
    line-height: normal;
}

#footer .dadiflat-info p {
	margin-bottom: 0;
}

#top {
	cursor: pointer;
    position: absolute;
    right: 14px;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: bold;
    padding: 5px;
    border-radius: 24px;
    bottom: 10px;
    display: block;
    width: 24px;
    height: 24px;
    text-align: center;
}
