@font-face {
	font-family: Vivaldi;
	font-weight: normal;
	src: url('../fonts/vivaldi.ttf');
}
body {
	background-color: #F9CFF7;
	font: 11px/22px Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
}
img {
	border: 0;
}

/*------------------------------ HEADER ------------------------------*/
#header {
	background: #F9CFF7;
	background-position: 0 bottom;
	padding: 30px 10px 30px;
	text-align: right;
}
#header > div {
	width: 960px;
	margin: 0 auto;
}
#header > div:after {
	clear: both;
	content: "";
	display: block;
	height: 0;
	line-height: 0;
	visibility: hidden;
}
/** Logo **/
#logo {
	float: left;
	display: inline-block;
	/*border-bottom: 3px solid #c40891;*/
	margin-left: 10px;
	padding: 0 5px;
}
#logo a {
	font-family: 'Vivaldi';
	font-size: 42px;
	line-height: 45px;
	text-align: center;
	text-decoration: none;
	/*text-transform: uppercase;*/
}
#logo a{
	color: #7a1ba2;
}
/** Navigation **/
#navigation {
	display: inline-block;
	list-style: none;
	width: 480px;
	margin: 7px 10px 3px 0;
	padding: 0;
}
#navigation li {
	float: left;
	margin-left: 10px;
}
#navigation li:first-child {
	margin-left: 0;
}
#navigation li a {
	color: #710b9b;
	
	font-size: 18px;
	line-height: 34px;
	padding: 6px 15px;
	text-decoration: none;
}
#navigation li a:hover, #navigation li.selected a {
	color: #FFFFFF;
	background-color: #FF88DB;
	border-radius: 5px;
}
.hidden-desktop{display:none;top:0;position: absolute;right:0;z-index: 999;width:100%;background:#B01581;}
/*------------------------------ CONTENTS ------------------------------*/
#contents {
	background: #FBE8FE  url(../images/ribbon_2.png) repeat-x top;
	/*background-image: url(ribbon.png), url(ribbon_2.png);
	background-position: left top, right top;
	background-repeat: no-repeat, repeat-x;*/
	padding: 60px 0 40px;
}
#contents > div:after {
	clear: both;
	content: "";
	display: block;
	height: 0;
	line-height: 0;
	visibility: hidden;
}
#contents .body {
	height: auto;
	width: 960px;
	margin: 0 auto;
	border: 1px solid #d1daac;
	padding: 0 29px 29px 29px;
	min-height: 320px;
	min-height: 400px;
	background: #F9CFF7;
}
#contents .body.home{
	background: #F9CFF7 url('../images/kuroneko_01.png') right bottom no-repeat;
}
#contents .body.hobbies{
	margin: -133px auto 0 auto;
	background-image: none;
}
#contents .body.contacts{
	background: #F9CFF7 url('../images/kuroneko_04.png') left bottom no-repeat;
}
#contents h1 {
	color: #de0da5;
	font-weight: normal;
	margin: 30px 0 20px;
	font-size: 22px;
}
#contents p {
	font-size: 14px;
	line-height: 30px;
	margin: 0;
	padding: 0 0 30px;
	/*text-align: justify;*/
}
#contents p a {
	color: #000;
}
#contents p > a:hover {
	color: #550974;
}
#contents p em {
	color: #7a1ba2;
	display: block;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
	font-style: normal;
}
#contents p em a {
	color: #7a1ba2;
	text-decoration: none;
}
#contents p em a:hover {
	text-decoration: underline;
}
#contents #messagesection p{
	padding-bottom: 0;
}

/*------------------------------ SIDEBAR ------------------------------*/
#sidebar {
	float: right;
	height: auto;
	width: 210px;
	padding-left: 29px;
}




/*------------------------------ FOOTER ------------------------------*/
#footer {
	background: #F9CFF7 url(../images/ingranaggi.png) repeat-x top;
}
#footer > div {
	width: 960px;
	margin: 0 auto;
	padding: 30px 0 0 0;
	text-align: right;
}
#footer p {
	clear: both;
	color: #9f9f9f;
	font-size: 13px;
	margin: 0;
	text-align: center;
}
#footer > div > div {
	float: left;
	width: 680px;
	margin-bottom: 20px;
}
#footer > div > div p {
	color: #710b9b;
	font-size: 14px;
	line-height: 24px;
	padding-right: 80px;
	text-align: left;
}
#footer > div > div p a {
	color: #710b9b;
}
#footer > div > div h2 {
	color: #de0da5;
	margin: 0;
}

#ribbon {
    left: -8px;
    position: absolute;
    top: 60px;
    z-index: 4;
}


/** Navigation **/
#homelist {
	list-style: none;
	padding: 0;
	margin: 15px;
}
#homelist li {

}
#homelist li:first-child {
	margin-left: 0;
}
#homelist li{
	color: #710b9b;
	font-size: 22px;
	margin: 40px;
	text-decoration: none;
}


/*------------------------------ IMGBOX ------------------------------*/
#imgbox {
	font-family: 'Arvo-Regular';
	width: 940px;
	margin: 0 auto;
	padding: 0 10px;
}
#imgbox img {
	float: left;
	margin-left: -15px;
}
#imgbox h1 {
	font-size: 75px;
	margin: 0 0 10px;
	padding-top: 60px;
	text-transform: uppercase;
}
#imgbox p {
	color: #710b9b;
	font-size: 20px;
	line-height: 40px;
}

/** Featured **/
#contents #featured {
	background: #fff url(../images/separator.png) repeat-y left top;
	padding-bottom: 20px;
}
#featured #main ul {
	display: inline-block;
	height: auto;
	list-style: none;
	width: 640px;
	margin: 0;
	padding: 0;
}
#featured #main ul img {
	border: 2px solid #d1d1d1;
	margin-bottom: 10px;
}
#featured #main ul li {
	float: left;
	width: 215px;
	margin-bottom: 10px;
	padding: 0 15px 0 28px;
}
#featured #main ul li:first-child {
	width: 379px;
	margin-bottom: 0px;
	padding: 0;
}
#featured ul li:first-child p {
	text-align: justify;
}
#featured #main ul li span.time {
	float: left;
	display: inline-block;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	line-height: 24px;
	border-right: 2px solid #d1daac;
	margin-top: 6px;
	padding-right: 10px;
	text-align: right;
}
#featured ul li p {
	padding-left: 50px;
	text-align: left;
}
#featured #sidebar ul {
	list-style: none;
	width: 210px;
	margin: 0;
	padding: 0;
}
#featured #sidebar ul li {
	margin-bottom: 10px;
	padding-right: 19px;
}
#featured #sidebar ul li p {
	padding-left: 0;
}

/** Answers **/
#contents #answers {
	min-height: 900px;
}
#contents #answers p {
	padding-right: 20px;
	text-align: left;
}
#answers ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#answers ul li {
	float: left;
	min-height: 150px;
	width: 420px;
	padding-right: 30px;
}
#contents #answers ul li p {
	padding-right: 0;
}
#answers ul li p em {
	display: block;
}

.btn.pink{background-color: #ff88db; padding: 6px 15px;}
.btn.pink:hover{background-color: #A80D79; padding: 6px 15px;}
.btn.pink span{color:#FFFFFF;}

/*form /*/
.rowform label { float: left; display: inline; color: #000; font-size: 10px; text-align: right; margin-right: 10px; padding-top: 5px; width: 45%}
.rowform label span { color: #999; }
.rowform .field { float: left; display: inline; height: 25px; padding: 4px 5px 5px; background: #eaeaea; border: 1px solid #cfcfcf; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; font-family: Verdana, Geneva, sans-serif; color: #000; font-size: 10px; }
.rowform .field-focus { border-color: #129dd1 !important;}
.rowform .message { width: 100%; height: 126px; resize: none; }
.submit-btn{
	text-align: right;
	margin-top: 10px;
}
#main.rightpanel{
	float: right;
	width: 45%;
}
.cl{clear: both;height: 0;}
#contents .rightpanel h1{text-align: right;}
.g-recaptcha {
	width: 300px;
	float: right;
}
#slide{
	margin-top: 0px;
}
.row-flex {
  display: flex;
  flex-wrap: wrap;
}
.portfolio-item img{
	background: #A80D79;
	border: 3px solid #F459C5;
	padding: 4px;
}



/* RESPONSIVE */

/* Galaxy Nexus (portrait and landscape) ----------- */
@media only screen and (min-device-width : 360px) and (max-device-width : 598px) {
    /*#header{background: orange;}*/
    #contents .body{
		width: 99%;
	}
}


/* Galaxy Nexus (portrait) ----------- */
/*@media only screen and (max-width : 360px) and (orientation: portrait) {
 #header{background: orange;border: 1px solid red;}
}*/
@media only screen and (max-width : 340px) {
	/*#header{background: red;}*/
	#contents .body{
		width: 99%;
	}
	#footer > div {
		width: 99%;
	}
	#navigation{display: none;}
	.hidden-desktop{display:block;}
	#header > div{width: 99%;}
	#ribbon{width: 100%; overflow: hidden;top:54px}
	#hitem2,#hitem3{display: none;}
	#hitem1{width: 60%;}
	#htext{width: 30%;}
	#htitle{text-align: right;}
	#main h1{
		text-align: right;
	}
	#imgbox{width: auto;}
	#answers ul li{width: 100%;}
	#main.rightpanel{
		float: right;
		width: 65%;
	}
	#contents .rightpanel h1{text-align: right;}
	.rowform label{clear: both;width: 100%;color:#B91E8A}
}



@media screen and (min-width: 480px) and (max-width : 600px){
	/*#header{background: green;}*/
	#contents .body{
		width: 99%;
	}
	#footer > div {
		width: 99%;
	}
	#navigation{display: none;}
	.hidden-desktop{display:block;}
	#header > div{width: 99%;}
	#ribbon{width: 100%; overflow: hidden;top:54px}
	#hitem2,#hitem3{display: none;}
	#hitem1{width: 50%;}
	#htext{width: 50%;}
	#htitle{text-align: right;}
	#main h1{
		text-align: right;
	}
	#imgbox{width: auto;}#answers ul li{width: 100%;}.rowform label{clear: both;width: 100%;color:#B91E8A}
}

@media screen and (min-width: 600px) and (max-width : 1024px) and (orientation:landscape) {
	/*body{background: grey;}*/
	#contents .body{
		width: 99%;
	}
	#footer > div {
		width: 99%;
	}
	#header > div{width: 99%;}
	#ribbon{width: 100%; overflow: hidden;}
	#hitem2,#hitem3{display: none;}
	#hitem1{width: 50%;}
	#htext{width: 50%;}
	#htitle{text-align: right;}
	#navigation{
		width: auto;
	}
	#navigation li a {
		padding: 6px 5px;
		font-size: 18px;
	}
	#main h1{
		text-align: right;
	}#imgbox{width: auto;}#answers ul li{width: 100%;}
}
@media screen and (min-width : 768px) and (max-width : 1024px) and (orientation:portrait) {
	/*#header{background: white;}*/
	#contents .body{
		width: 99%;
	}
	#header > div{width: 99%;}
	#navigation{width: auto;}
	#navigation li a {
		padding: 6px 5px;
	}
	#imgbox{width: auto;}#answers ul li{width: 99%;}
	#contents #answers{width: 99%}
	#footer > div {
		width: 99%;
	}
	#hitem2,#hitem3{display: none;}
}
@media screen and (min-width: 600px) and (max-width : 767px) and (orientation:portrait) {
	/*#header{background: yellow;}*/
	#contents .body{
		width: 99%;
	}
	#footer > div {
		width: 99%;
	}
	
	#header > div{width: 99%;}
	#ribbon{width: 100%; overflow: hidden;}
	#hitem2,#hitem3{display: none;}
	#hitem1{width: 50%;}
	#htext{width: 50%;}
	#htitle{text-align: right;}
	#navigation{
		width: auto;
	}
	#navigation li a {
		padding: 6px 5px;
		font-size: 11px;
	}
	#main h1{
		text-align: right;
	}
	#imgbox{width: auto;}#answers ul li{width: 100%;}
	.rowform label{
		width: 40%;
	}
	#main.rightpanel{width: 55%;}
}

@media only screen and (device-width: 640px) and (device-height: 384px) and (orientation : landscape) {
	/*#header{background: azure;}*/
	#navigation li a {
		padding: 6px 5px;
		font-size: 11px;
	}
}
@media only screen and (max-width: 640px) and (orientation : landscape) {
	/* LANDSCAPE:
	Samsung Galaxy Note
	HTC One S
	HTC One XL
	HTC Sensation XL
	HTC Velocity 4G
	Motorola Droid Razr
	Nokia 500
	Samsung Galaxy Note 2
	Samsung Galaxy S3*/
	/*#header{background: #222222;}*/
	#navigation li a {
		padding: 6px 5px;
		font-size: 11px;
	}
}
@media only screen and (max-width: 400px) and (orientation : portrait) {
	/* PORTRAIT:
	Samsung Galaxy Note
	Nexus 4
	HTC One S
	HTC One XL
	HTC Sensation XL
	HTC Velocity 4G
	Motorola Droid3
	Motorola Droid Razr
	Motorola Razr HD 4G
	Motorola Razr M 4G
	Nokia 500
	Samsung Galaxy Note 2
	Samsung Galaxy S3
	BlackBerry Bold 9900
	BlackBerry 9520
	BlackBerry Z10*/
	/*#header{background: #D4DCB1;}*/
	#contents .body{
		width: 99%;
	}
	#footer > div {
		width: 99%;
	}
	#navigation{display: none;}
	.hidden-desktop{display:block;}
	#header > div{width: 99%;}
	#ribbon{width: 100%; overflow: hidden;top:54px}
	#hitem2,#hitem3{display: none;}
	#hitem1{width: 50%;}
	#htext{width: 50%;}
	#htitle{text-align: right;}
	#main h1{
		text-align: right;
	}
	#imgbox{width: auto;}#answers ul li{width: 100%;}.rowform label{clear: both;width: 100%;color:#B91E8A}
}


@media screen and (max-width: 700px) {
	#navigation li a {
		padding: 6px 5px;
		font-size: 11px;
	}
}
@media screen and (max-height: 360px) and (max-width: 320px)  {
	/*#header{background: #129DD1;}*/
	#contents .body{
		width: 99%;
	}
	#footer > div {
		width: 99%;
	}
	#navigation{display: none;}
	.hidden-desktop{display:block;}
	#header > div{width: 99%;}
	#ribbon{width: 100%; overflow: hidden;top:54px}
	#hitem2,#hitem3{display: none;}
	#hitem1{width: 50%;}
	#htext{width: 50%;}
	#htitle{text-align: right;}
	#main h1{
		text-align: right;
	}
	#imgbox{width: auto;}#answers ul li{width: 100%;}.rowform label{clear: both;width: 100%;color:#B91E8A}
}
@media only screen and (max-width: 500px) {
	#contents .body{
		width: 99%;
	}
	#footer > div {
		width: 99%;
	}
	#navigation{display: none;}
	.hidden-desktop{display:block;}
	#header > div{width: 99%;}
	#ribbon{width: 100%; overflow: hidden;top:54px}
	#hitem2,#hitem3{display: none;}
	#hitem1{width: 50%;}
	#htext{width: 50%;}
	#htitle{text-align: right;}
	#main h1{
		text-align: right;
	}
	#imgbox{width: auto;}#answers ul li{width: 100%;}.rowform label{clear: both;width: 100%;color:#B91E8A}
}
@media only screen and (max-width: 320px) {
	#logo a{font-size: 35px;}
}
#menu ul { list-style: none; margin: 0; padding: 0; text-transform: uppercase; }
#menu ul li a.home-link { margin-left: 18px !important; }
#menu > ul > li { position: relative; float: left; z-index: 20; }
#menu > ul > li:hover { }
#menu > ul > li:hover > div { display: table; }
#menu > ul > li > div > ul { display: table-cell; }
#menu > ul > li > div > ul li{ background: #FFFFFF; line-height: 20px;  margin: 0; width: 100%; }
#menu > ul > li ul + ul { }
#menu > ul > li ul > li > a { text-decoration: none; padding: 0 16px; color: #000; display: block; white-space: nowrap; min-width: 160px; line-height: 36px; border-bottom: 1px solid #EEECE7; }
#menu > ul > li ul > li > a:hover { background: #F6F6F6; color: #FC5478; }
#menu > ul > li > div > ul > li > a { color: #000; }
/* mobile menu*/
#menu .toggle { float:right; width:35px; margin-top: 3px;}
#menu .menutop { overflow:hidden;  padding:5px; cursor:pointer; }
#menu .menutop h2 { float:left; text-transform:uppercase; font-weight: 800; color:#fff; line-height:25px; }
#menu .toggle .icon-bar { background: #F9CFF7; display: inline-block; float: right; height: 5px; margin-bottom: 3px; width: 35px; }

.accordion { list-style-type: none; text-align: left;}
.accordion ul { padding: 0; margin: 0; float: left; display: block; width: 100%; }
.accordion li { background: #FBE8FE; cursor: pointer; list-style-type: none; padding: 0; margin: 0; float: left; display: block; width: 100%; position:relative;}
.accordion li.active> em.open-close { background: #e5e5e5 url("../images/sprites.png") no-repeat 8px -64px; }
.accordion li div { padding: 20px; background: #aef; display: block; clear: both; float: left; width: 360px;}
.accordion em.open-close{background: #f0f0f0 url("../images/sprites.png") no-repeat 8px -28px; padding: 8px 14px 7px 13px; border: 1px solid #FFFFFF;  position:absolute; right:0; top:0;}
.accordion em.open-close:hover { background: #e5e5e5 url("../images/sprites.png") no-repeat 8px -28px;}
.accordion a { background: #F9CFF7; color: #000; text-decoration: none; border-bottom: 1px solid #EFEFEF; font-size: 12px; padding: 8px 54px 8px 10px; display: block; cursor: pointer; }
.accordion a:hover { background: #FBE8FE; color: #FC5478; } 
.accordion ul a{ padding: 8px 54px 8px 22px; background: #fff; }
.accordion li ul li { background: #f7f6f4; }

#contents p.privacy{font-size: 10px; text-align: left;}
