@import url('normalize.css');

@import url('main.css');

@import url('social.css');

@import url('widgets.css');

@import url('superfish.css');

@import url('nivo-slider.css');

@import url('entry-content.css');

@import url('forms.css');

@import url('comments.css');

@import url('shortcodes.css');
/*-----------------------------------------------------------------------------------*/
/*	Mixings and colors
/*-----------------------------------------------------------------------------------*/
/* Vars ----------------------------------------------------*//* Mixins ----------------------------------------------------*//*-----------------------------------------------------------------------------------*/
/*	Import other CSS
/*-----------------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------------*/
/*	General Layout
/*-----------------------------------------------------------------------------------*/
body {
  font-family: 'Lato', serif;
  font-size: 17px;
  line-height: 1.5em;
  background-color: #190830;
  background: #190830 url('../img/bg.jpg');
  overflow-x: hidden;
}
.wrapper {
  width: 1000px;
  margin: 30px auto 80px auto;

}
#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
  font-family: 'Lato';
  line-height: 1.3em;
}
h1 {
  font-size: 36px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 14px;
}
.line-heading {
  overflow: hidden;
  /* margin: 20px 30px 00px 30px; */
  font-family: 'Lato';
  font-weight: 700;
  line-height: 48px;
  font-size: 18px;
  border-top: 0px solid #331642;
  border-bottom: 0px solid #331642;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
  border-top: 4px solid #331642;
  border-bottom: 1px solid #331642;
  line-height: 1.3em;
  padding: 15px 0px;
  color: #fff;
  background-color: #4a256d;
}
.line-heading a {
  float: right;
  font-family: 'Lato', serif;
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  color: #331642;
}
.action-button {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 30px;
  text-decoration: none;
  color: #fff;
  padding: 0px 13px 3px 10px;
  background: #4b2583;
  border: #8d3fff solid 3px;
  border-bottom: #721bff solid 3px;
  border-right: #721bff solid 3px;
  border-bottom: none;
  border-right: none;
  box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.3);
}
.action-button:hover {
  border: #a88de5 solid 3px;
  border-bottom: #a88de5 solid 3px;
  border-right: #a88de5 solid 3px;
  border-bottom: none;
  border-right: none;
  background: #8d3fff;
  box-shadow: none;
}
.chirp p {
  padding-left: 30px;
  background: url(../img/twitter.png) no-repeat 0px 5px;
}
.chirp .meta {
  display: block;
  padding-left: 30px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #76655d;
}
.chirp .meta:last-child {
  border: none;
}
/*-----------------------------------------------------------------------------------*/
/*	LAYOUTS
/*-----------------------------------------------------------------------------------*/
.one-third-col {
  float: left;
  margin-left: 30px;
  margin-bottom: 60px;
  width: 300px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
.one-third-col .line-heading {
  margin: 0px 0px 20px 0px;
}
.two-third-col {
  float: right;
  margin-right: 30px;
  margin-bottom: 60px;
  width: 620px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
.two-third-col .line-heading {
  margin: 0px 0px 20px 0px;
}
.recent-posts li {
  border-bottom: 1px solid #331642;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.recent-posts .title {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 21px;
  line-height: 1.3em;
  font-weight: 700;
  color: #331642;
  text-decoration: none;
}
.recent-posts .date,
.recent-posts .author {
  font-family: 'Lato', serif;
  font-size: 14px;
  text-decoration: none;
  color: #962068;
}
/*-----------------------------------------------------------------------------------*/
/*	HEADER
/*-----------------------------------------------------------------------------------*/
header {
 
  min-height: 155px;
}
header #logo {
  margin-top: 15px;
  margin-bottom: 15px;
  float: left;
}
header #logo:hover {
  opacity: 0.8;
}
header #logo img {
  display: block;
  margin: 0 0 0 30px;
}
/*-----------------------------------------------------------------------------------*/
/*	Nav
/*-----------------------------------------------------------------------------------*/
nav {
  background: url(../img/nav.png) no-repeat top center;
  height: 65px;
  width: 1038px;
  margin-left: -20px;
  font-family: 'Lato';
  font-size: 16px;
  font-weight: 700;
}
nav #menu-icon {
  display: none;
  background: red;
  width: 40px;
  height: 40px;
}
nav #nav {
  display: block;
  margin-left: 35px;
  /* substract 15 from the link padding */

}
nav #nav > li {
  display: block;
  float: left;
  /* Subnavigation ----------------------------------------------------*/
}
nav #nav > li:hover a,
nav #nav > li.current-menu-item a,
nav #nav > li.current_page_item a {
  background: #964320;
  color: #dedad3;
  text-shadow: 0px 2px 0px #444;
}
nav #nav > li > a {
  display: block;
  line-height: 65px;
  padding-left: 15px;
  padding-right: 15px;
  text-decoration: none;
  color: #30134C;
  text-shadow: 0px 2px 0px #c68301;
}
nav #nav > li.important a {
  color: #ffe09f;
}
nav #nav > li ul {
  margin-top: 25px;
  background: #62493d;
}
nav #nav > li ul li {
  border-bottom: 1px solid #806d63;
}
nav #nav > li ul li:last-child {
  border-bottom: none;
}
nav #nav > li ul a {
  display: block;
  color: #dedad3;
  text-decoration: none;
  line-height: 1.5em;
  padding: 15px;
}
nav #nav > li ul a:hover {
  color: #4b2583;
}
/*-----------------------------------------------------------------------------------*/
/*	MAIN
/*-----------------------------------------------------------------------------------*/
#main {
  min-height: 700px;
  position: relative;
  border-top: 5px solid #755a9d;
   background: url(../img/header.png);
   
   -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);  
}
#main .tagline {
  font-family: 'Lato';
  line-height: 1.3em;
  font-size: 36px;
  font-weight: 700;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 40px;
  margin-right: 30px;
  margin-left: 30px;
}
.footer-divider {
  background: #5a453b;
  border-top: 0px solid #644d42;
  border-bottom: 0px solid #523f35;
  height: 0px;
  width: 100%;
}
/* PAGE CONTENT ----------------------------------------------------*/.page-content {
  position: relative;
  margin: 20px 30px 80px 30px;
}
.page-content .heading {
  margin-top: 0;
}
.page-content #map {
  /* Google map */

  height: 350px;
  width: 100%;
  margin-bottom: 20px;
}
/*-----------------------------------------------------------------------------------*/
/*	FEATURED and WORK LIST
/*-----------------------------------------------------------------------------------*/
.nav-categories {
  display: block;
  margin: 20px 30px 20px 30px;
  font-family: 'Lato', sans-serif;
  line-height: 48px;
  font-size: 14px;
  border-top: 4px solid #331642;
  border-bottom: 1px solid #331642;
}
.nav-categories li {
  display: block;
  float: left;
  margin-right: 20px;
}
.nav-categories li a {
  line-height: 1.5em;
  color: #331642;
  text-decoration: none;
}
.nav-categories li a:hover {
  color: #4b2583;
}
.nav-categories li.current a {
  color: #4b2583;
  font-weight: bold;
}
.feature,
.work-list {
   display: flex;
  flex-wrap: wrap;
  margin-bottom: 0px;
  margin-left: 10px;
}
.feature li,
.work-list li {
  display: block;
  float: left;
  width: 300px;
  margin-left: 20px;
  margin-bottom: 40px;
  position: relative;
}
.feature li .thumb,
.work-list li .thumb {
  position: relative;
  display: block;
  line-height: 0em;
  color: #dedad3;
  margin-bottom: 22px;
  background: #331642;
  border: 5px solid #fff;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.feature li .thumb:after,
.work-list li .thumb:after {
  position: absolute;
  bottom: -22px;
  left: 0px;
  content: '';
  background: url(../img/stacked-paper.png) no-repeat right bottom;
  width: 100%;
  height: 17px;
}
.feature li .thumb:hover .img-overlay,
.work-list li .thumb:hover .img-overlay {
  display: block;
}
.feature li .thumb:hover img,
.work-list li .thumb:hover img {
  opacity: 0.1;
}
.feature li .thumb img,
.work-list li .thumb img {
  max-width: 100%;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.feature li .thumb .img-overlay,
.work-list li .thumb .img-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
  width: 119px;
  margin-left: -59.5px;
  margin-top: -19px;
  color: #fff;
  font-size: 12px;
  line-height: 30px;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  background: #4b2583;
  text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.3);
  border: #8d3fff solid 3px;
  border-bottom: #721bff solid 3px;
  border-right: #721bff solid 3px;
}
.feature li .title,
.work-list li .title {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1em;
  color: #331642;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.feature li .categories,
.work-list li .categories {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
.feature li .categories a,
.work-list li .categories a {
  color: #5c3165;
  text-decoration: none;
  font-weight: bold;
}
.feature li .categories a:hover,
.work-list li .categories a:hover {
  text-decoration: underline;
}
.feature li .excerpt,
.work-list li .excerpt {
  display: block;
  font-size: 16px;
  font-family: 'Lato', serif;
  margin-top: 10px;
  margin-bottom: 15px;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
/* PAGER ------------------------------------------------------------*/
.pager {
  overflow: hidden;
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 400;
  margin: 0px 30px 60px 30px;
  border-top: 4px solid #331642;
  border-bottom: 1px solid #331642;
  padding-top: 10px;
}
.pager li {
  display: block;
  margin-right: 5px;
  margin-bottom: 10px;
  float: left;
}
.pager li a:hover,
.pager li.active a {
  background: #4b2583;
  color: #fff;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.pager li a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  width: 20px;
  line-height: 20px;
  color: #62493d;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.pager .paged {
  float: right;
  font-style: italic;
  background: none;
  box-shadow: none;
  color: #331642;
}
/*-----------------------------------------------------------------------------------*/
/*	BLOG
/*-----------------------------------------------------------------------------------*/
#posts-list {
  position: relative;
  width: 620px;
  margin-top: 30px;
  margin-left: 30px;
  margin-bottom: 40px;
  float: left;
}
#posts-list article {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #331642;
}
#posts-list article:last-child {
  border: none;
}
#posts-list article .feature-image {
  position: relative;
  line-height: 0px;
  border: 5px solid #fff;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}
#posts-list article .feature-image:after {
  position: absolute;
  bottom: -22px;
  left: 0px;
  content: '';
  background: url(../img/stacked-paper.png) no-repeat right bottom;
  width: 100%;
  height: 17px;
}
#posts-list article .feature-image img {
  max-width: 100%;
}
#posts-list article .meta {
  color: #962068;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  font-family: 'Lato', serif;
  font-size: 14px;
  margin-bottom: 14px;
}
#posts-list article .meta a {
  color: #962068;
  text-decoration: none;
}
#posts-list article .entry-title {
  color: #331642;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
#posts-list article .entry-title .post-heading {
  color: #331642;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
}
#posts-list article .excerpt {
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  margin-bottom: 21px;
}
#posts-list.single-post article {
  border: none;
}
/*-----------------------------------------------------------------------------------*/
/*	PAGE NAVIGATION
/*-----------------------------------------------------------------------------------*/
#posts-list .page-navigation {
  position: relative;
  left: 50%;
  display: block;
  margin-bottom: 100px;
  float: left;
}
#posts-list .page-navigation div {
  position: relative;
  right: 50%;
}
#posts-list .page-navigation div span {
  margin-bottom: 15px;
  display: inline-block;
}
#posts-list .page-navigation div:hover a {
  color: #331642;
}
#posts-list .page-navigation a {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  color: #fff;
  display: block;
  font-size: 12px;
  line-height: 41px;
  width: 112px;
  text-decoration: none;
  text-align: center;
}
#posts-list .page-navigation .nav-next {
  float: left;
  margin-right: 20px;
  background: url(../img/pagination.png) no-repeat 0px 0px;
}
#posts-list .page-navigation .nav-previous {
  float: right;
  background: url(../img/pagination.png) no-repeat right -59px;
}
/*-----------------------------------------------------------------------------------*/
/*	PROJECT PAGE
/*-----------------------------------------------------------------------------------*/
#project-gallery {
	 
  float: left;
  margin-top: 30px;
  margin-left: 30px;
  margin-bottom: 20px;
}
#project-gallery .thumb {
  border: 5px solid #fff;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  line-height: 0em;
  margin-bottom: 20px;
}
#project-gallery .thumb img {
  max-width: 100%;
}
#project-info {
  margin-top: 30px;
  width: 255px;
  float: right;
  margin-right: 30px;
  
}
#project-info #project-title {
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 700;
  border-top: 0px solid #331642;
  border-bottom: 2px solid #755a9d;
  line-height: 1.3em;
  padding: 7px 0px;
  margin-bottom: 10px;
}
#project-info blockquote {
  margin: 0px 0px 20px 0px;
  padding: 0px;
  font-size: 21px;
  line-height: 1.5em;
}
#project-info #project-sheet {
  font-size: 18px;
  margin-top: 30px;
}
#project-info #project-sheet strong {
  font-weight: bold;
}
#project-info #project-sheet p {
  line-height: 1.3em;
}
#project-info #project-sheet .action-button {
  margin-top: 20px;
}
#project-info #project-sheet:before {
  content: '';
  display: block;
  width: 100%;
  border-top: 2px solid #755a9d;
  margin-bottom: 30px;
}
/*-----------------------------------------------------------------------------------*/
/*	RELATED PROJECTS
/*-----------------------------------------------------------------------------------*/
.related-projects {
  margin: 30px 30px 40px 30px;
}
.related-projects .related-heading {
  border-top: 4px solid #331642;
  border-bottom: 1px solid #331642;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  line-height: 56px;
  margin-bottom: 20px;
}
.related-projects .related-list li {
  float: left;
  width: 300px;
  margin-right: 20px;
  margin-bottom: 30px;
}
.related-projects .related-list li:nth-child(3n) {
  margin-right: 0px;
}
.related-projects .related-list li .thumb {
  display: block;
  border: 5px solid #fff;
  margin-bottom: 10px;
  -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}
.related-projects .related-list li .thumb img {
  max-width: 100%;
  height: auto;
  line-height: 0;
}
.related-projects .related-list li .heading {
  color: #331642;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
/*-----------------------------------------------------------------------------------*/
/*	SIDEBAR
/*-----------------------------------------------------------------------------------*/
#sidebar {
  position: relative;
  width: 255px;
  margin-right: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  float: right;
}
#sidebar .block {
  font-size: 14px;
  margin-bottom: 30px;
  font-family: 'Lato', sans-serif;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
}
#sidebar .block a {
  text-decoration: none;
  color: #962068;
}
#sidebar .block a:hover {
  border-bottom: 1px dotted #962068;
}
#sidebar .block .heading {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  line-height: 48px;
  font-size: 18px;
  border-top: 4px solid #331642;
  border-bottom: 1px solid #331642;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.5);
  margin-top: 0px;
}
#sidebar .ads img {
  margin-bottom: 10px;
  margin-right: 0px;
}
/*-----------------------------------------------------------------------------------*/
/*	FOOTER
/*-----------------------------------------------------------------------------------*/
footer {
  position: relative;
  text-align: center;
  padding: 10px 10px 10px 10px;
  font-size: 13px;
  text-align: center;
	color: #7b52a0;
	font-weight: bold;
	letter-spacing: 1px;

}
footer:after {
  content: '';
  position: absolute;
  bottom: -46px;
  height: 46px;
  width: 100%;
  width: 940px\9;
  background: url(../img/main-shadow.png) no-repeat top center;
}
footer a {
  text-decoration: none;
  color: #4b2583;
  border-bottom: 1px dotted #4b2583;
}
footer a:hover {
  color: #fff;
  border-bottom: 1px dotted #fff;
}

h1 {
font-family: Arial;
font-size: 28px;
color: #af97f6;
font-weight: bold;
font-style: italic;
margin: 0px;
padding: 0px;
text-shadow: 2px 2px 2px #0b0318;
margin-top: 70px;
margin-left: 260px;
}

h2 {
font-family: Arial;
font-size: 20px;
color: #8168da;
font-weight: normal;
font-style: italic;
margin: 0px;
padding: 0px;
text-shadow: 2px 2px 2px #0b0318;
margin-left: 260px;
margin-top: 5px;
}

	.portrait {
		width: 200px;
		height: 300px;
	}
	.landscape {
		width: 300px;
		height: 200px;
	}
	.icon_game {
		width: 18px; 
		border: 1px solid; 
		vertical-align:text-top;
		margin-left: 5px;
	}
	.menuscritta {
		font-weight: bold;
		color: #fff;
		margin-left: 10px;
		letter-spacing: 2px;
		text-shadow: 0px 2px 0px #444;
	}
	.menumini {
		display: none;
	  position: fixed;
	  top: 0px;
	  left: 0px;
		/*width: 100%;*/
		/* background-color: #db8601; */
		z-index:999;
		margin-left: 3px;
		margin-top: 3px;
		border-bottom: 0px #a96b00 solid;	
border-right: 0px #a96b00 solid;		
	}
	
	.menuminihide .current-menu-item {
		background-image: none;
		background-color: #964320;
		color: #dedad3;
		text-shadow: 0px 2px 0px #444;		
	}
	
	.menuminihide {
	display: none;
		  position: fixed;
		  top: 50px;
		  left: 0px;
		width: 100%;
		background-color: #db8601;
		z-index:999; 
		font-family: 'Lato';
		font-size: 16px;
		font-weight: 700;
		text-align: center;		
	}	
	.menuminihideopac {
		display: none;
		  position: fixed;
		  top: 0px;
		  left: 0px;
			width: 100%;
			height: 100%;
			background-color: #000;
			z-index:998; 
			  /* IE 8 */
			  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";

			  /* IE 5-7 */
			  filter: alpha(opacity=50);

			  /* Netscape */
			  -moz-opacity: 0.5;

			  /* Safari 1.x */
			  -khtml-opacity: 0.5;

			  /* Good browsers */
			  opacity: 0.5;		
	}		
	
	.menuminihide li {
		padding-top: 10px;
		padding-bottom: 10px;
		border-top: 3px solid;
		color: #30134C;
		text-shadow: 0px 2px 0px #c68301;
		background: url(../img/nav.png) no-repeat top center;
	}
	.menuminihide li:active { 
		background-image: none;
		background-color: #964320;
		color: #dedad3;
		text-shadow: 0px 2px 0px #444;
	}
	.menuminihide li:last-child {
		border-bottom: 4px solid;
	}
	#socialbtn {
		text-align: right;
		padding-right: 30px;
	}
	
	#email2 { display: none; } 
	



.box {
  position: relative;
  max-width: 600px;
  width: 90%;
  height: 400px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,.1);
}

/* common */
.ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
}
.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #964420;
}
.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  background-color: #f09302;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 18px/1 'Lato', sans-serif;
  text-shadow: 0px 2px 0 rgb(140 63 30);
  text-transform: uppercase;
  text-align: center;
}

/* top left*/
.ribbon-top-left {
  top: -10px;
  left: -10px;
}
.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}
.ribbon-top-left::before {
  top: 0;
  right: 0;
}
.ribbon-top-left::after {
  bottom: 0;
  left: 0;
}
.ribbon-top-left span {
  right: -25px;
  top: 30px;
  transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
  top: -10px;
  right: -10px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}
.ribbon-top-right::before {
  top: 0;
  left: 0;
}
.ribbon-top-right::after {
  bottom: 0;
  right: 0;
}
.ribbon-top-right span {
  left: -25px;
  top: 30px;
  transform: rotate(45deg);
}

/* bottom left*/
.ribbon-bottom-left {
  bottom: -10px;
  left: -10px;
}
.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.ribbon-bottom-left::before {
  bottom: 0;
  right: 0;
}
.ribbon-bottom-left::after {
  top: 0;
  left: 0;
}
.ribbon-bottom-left span {
  right: -25px;
  bottom: 30px;
  transform: rotate(225deg);
}

/* bottom right*/
.ribbon-bottom-right {
  bottom: -10px;
  right: -10px;
}
.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
  border-bottom-color: transparent;
  border-right-color: transparent;
}
.ribbon-bottom-right::before {
  bottom: 0;
  left: 0;
}
.ribbon-bottom-right::after {
  top: 0;
  right: 0;
}
.ribbon-bottom-right span {
  left: -25px;
  bottom: 30px;
  transform: rotate(-225deg);
}	
.instr_topic_big {
    margin: 0px 0px 20px 0px;
    padding: 0px;
    font-size: 21px;
    line-height: 1.5em;
	color: #6c4cd9;
	font-weight: bold;
}
.instr_age_big {
    margin: 0px 0px 20px 0px;
    padding: 0px;
    font-size: 21px;
    line-height: 1.5em;
	color: #6c4cd9;
	font-weight: bold;
}
