/*
 * Author: Paolo Racca
 * URL: http://paoloracca.it
 *
 * Project Name: Bootstrap + Wordpress Theme
 * Version: 1.0
 * URL: http://paoloracca.it
 */
 
/* FONTS */
@import url(http://fonts.googleapis.com/css?family=Titillium+Web:300,400,700,900);
@import url(http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);



.modal-header {
background: #fff;
color:#2e2e2e;
}

.modal-content {
background: #f2f2f2;
}

.modal-title {
font-size: 3em;
font-weight: 400;
margin: 0;
background: none;
}

.new{
position: absolute;
top:50px;
left:-10px;
z-index:1;
}

/* OVERALL ASPECT */

.photo-grid {
	padding-top: 20px;
	text-align: center;
}
 
.photo-grid li {
	display: inline-block;
	width: 150px;
}
 
.photo-grid img {
  -webkit-filter: brightness(1.1);
  filter: brightness(1.1);	
  height: auto;
	max-width: 100%;
}
 
.photo-grid figure {
	overflow: hidden;
	position: relative;
}
 
.photo-grid figcaption i {
	display: table-cell;
	font-size: 1em;
	font-weight: 800;
	position: relative;
	top: -20px;
	width: 150px;
	vertical-align: middle;
}

.photo-grid li:hover figcaption {
	opacity: 1;
}

.photo-grid img {
	display: block;
	height: auto;
	-webkit-transition: all 300ms;
	-moz-transition: all 300ms;
	transition: all 300ms;
	max-width: 100%;
}
 
.photo-grid li:hover img {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	transform: scale(1.1);
}

.photo-grid figcaption i {
	color: #fff;
	display: table-cell;
	font-size: 1.5em;
	position: relative;
	top: -90px;
	width: 150px;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	vertical-align: middle;
}
 
.photo-grid li:hover figcaption i {
	-moz-transform: translateY(40px);
	-webkit-transform: translateY(40px);
	transform: translateY(40px);
}

.photo-grid figcaption {
	background: rgba(255,255,255,0.5);
	color: white;
	display: table;
	height: 200px;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	top: 0;
	-webkit-transition: all 300ms;
	-moz-transition: all 300ms;
	transition: all 300ms;
	-webkit-transition-delay: 100ms;
	-moz-transition-delay: 100ms;
	transition-delay: 100ms;
	z-index: 100;
}

img {
	border-radius:10px;
	border:0;
	padding:0;
}

.thumbnail {
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	border-radius:10px;
	border:0;
	padding:0;
	-webkit-filter:brightness(95%);
	margin-top:15px;
}

.thumbnail:hover {
	-webkit-filter:brightness(100%);
}

body {
	font-family: 'Titillium Web', sans-serif;
    background: #F5EFE9;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

/* Titles */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Titillium Web', sans-serif;
    font-weight: 900;
    color: #555;
}


/* Paragraph & Typographic */
p {
    line-height: 18px;
    margin-bottom: 15px;
}

.centered {
    text-align: center;
}

/* Links */
a {
    color: #EA5B0C;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #787878;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

/* HR */

hr {
    display: block;
    border: 0;
    border-top: 1px solid #a4a4a4;
    padding: 0;
}

hr.b {
    display: block;
    border: 0;
    border-top: 1px solid #fff;
    padding: 0;
}

hr.due {
    display: block;
    border: 0;
    border-top: 6px solid #ccc;
}

hr.tre {
    display: block;
    border: 0;
    border-top: 1px solid #ccc;
	margin: 10px 0;
}


hr.news {
    display: block;
    width:50%;
    border: 0;
    border-top: 1px solid #5BC0DE;
	margin: 20px 0 -10px 0;
}

/* HR */

/* Navbar http://twbscolor.smarchal.com */

.navbar-default {
	background-color: #fafafa;
	border: none;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 400;
}
.navbar-default .navbar-brand {
	color: #a4a4a4;
	font-weight: 700;
	font-size: 14px;
	line-height: 12px;
	padding-right: 30px;
	text-transform: uppercase;
}

.navbar-default .navbar-right {
	padding:0;
}

.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
	color: #585858;
}
.navbar-default .navbar-text {
	color: #a4a4a4;
}
.navbar-default .navbar-nav > li > a {
	margin-top: 15px;
	font-size: 12px;	
	color: #787878;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
	color: #EA5B0C;
}

.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
	background-color: transparent;
	color: #EA5B0C;

}

.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
	color: #a4a4a4;
	background-color: #fff;
}
.navbar-default .navbar-toggle {
	border-color: #dedede;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: #fff;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #dedede;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
	border-color: none;
}
.navbar-default .navbar-link {
	color: #ccc;
}
.navbar-default .navbar-link:hover {
	color: #ccc;
}

.navbar-default .navbar-nav .open .dropdown-menu {
    box-shadow: 0px 0px 0px #dedede;

border-radius: 0px;
	border-left: 1px solid #dedede;
	border-top: 0;
	border-right: 0;
	border-bottom: 0;

}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
	color: #a4a4a4;
	font-size: 80%;
	padding-left:14px;
}

  .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
	color: #fff;
	background-color: #dedede;
  }

@media (max-width: 767px) {
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color: #ccc;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
		color: #ccc;
	}
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		color: #ccc;
		background-color: #fff;
	}
}

/* Navbar http://twbscolor.smarchal.com */

/* Header */

#headerwrap {
	margin-top: -20px;
	background: url(../img/sfon.jpg) 100% 0 fixed;
	padding: 70px 0;
	width: auto;
	background-attachment: relative;
	background-position: top left;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerwrap h1 {
	color: #EA5B0C;
	font-size: 90px;
	font-weight: 900;
	letter-spacing: -1px;
    line-height: 65px;
	text-transform: uppercase;
}

#headerwrap h2 {
	color: #585858;
	font-size: 22px;
	font-weight: 400;
    line-height: 22px;
	margin-bottom: 40px;
}

#headerwrap h3 {
	color: #585858;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom:0;
}

#headerwrap h4 {
	color: #585858;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
	letter-spacing: -1px;
}

#headerwrap h5 {
	color: #585858;
	font-size: 14px;
	font-weight: 700;
	line-height: 14px;
}

#headerwrap i {
	color: #585858;
	font-size: 40px;
	padding-top: 5px;
}

#headerwrap .btn-vuoto {
  text-align: center;
  padding: 5px 10px;
  border-radius: 15px;
  background-color: #fff;
  color: #EA5B0C;
  margin-right: 20px;
  text-transform: uppercase;
  font-size: 80%;
}

#headerwrap .btn-vuoto:hover {
  background-color: #EA5B0C;
  color: #fff;
}

@media (max-width: 1100px) {

#headerwrap {
  background-color: #f2f2f2;
	background-attachment: relative;
	background-position: top center;
    background-repeat: no-repeat;
	height: 100%;

    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
}
}

/* Home Wrap */

#home {
	background: #fafafa;
	padding: 100px 0 160px 0;
	box-shadow:0 10px 50px #000;
}

#home h1 {
	margin-bottom: 30px;
	color: #585858;
	font-size: 36px;
	font-weight: 900;
}

#home h2 {
	color: #585858;
	font-size: 18px;
	font-weight: 400;
    line-height: 28px;
}

#home h3 {
	color: #585858;
	font-size: 25px;
	font-weight: 500;
	letter-spacing: -1px;
    line-height: 25px;
}

#home h4 {
	color: #EA5B0C;
	font-size: 22px;
	font-weight: 700;
    line-height: 20px;
	letter-spacing: -1px;
	text-transform: uppercase;
}

#home h5 {
	color: #EA5B0C;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0px;
}

#home h6 {
	color: #ccc;
	font-size: 14px;
	font-weight: 700;
}

#home i {
	font-size: 60px;
	color: #EA5B0C;
	font-weight: 300;
	margin-bottom: 20px;
}


#home .btn-vuoto {
  text-align: center;
  padding: 5px;
  border-radius: 10px;
  background-color: transparent;
  color: #ccc;
  border: 1px solid #ccc;
  margin: 20px 20px 0 0;
}

#home .btn-vuoto:hover {
  background-color: #ccc;
  color: #fff;
}

#home img {
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
	border-radius:10px;
}

#home img:hover {
	opacity:.8;
}

#news {
border-left: 1px solid #ccc;
padding-left:25px;
}

#news a{
color: #5BC0DE;
}

#news a:hover{
color: #787878;
}

#news i{
color: #ccc;
}

#news p{
line-height:90%;
}

#news h5{
font-size:90%;
}

#news .home {
font-size:2em;
letter-spacing:-1px;
color:#5BC0DE;
}

/* Head Wrap */

#head {
	margin-top: -20px;
	background: #f2f2f2;
	padding: 50px 0;
}

#head h1 {
	margin-bottom: 30px;
	color: #EA5B0C;
	font-size: 50px;
	font-weight: 900;
    line-height: 40px;
}

#head h2 {
	color: #EA5B0C;
	font-size: 18px;
	font-weight: 400;
    line-height: 26px;
}

#head h3 {
	margin: 0 0 10px 0;
	color: #585858;
	font-size: 34px;
	font-weight: 900;
	letter-spacing: -1px;
    line-height: 20px;
}

#head h4 {
	font-size: 16px;
	color: #686868;
	line-height: 18px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 40px 0 20px 0;
}

#head h5 {
	color: #585858;
	font-size: 20px;
	font-weight: 700;
    line-height: 18px;
	letter-spacing: 0px;
}

#head h6 {
	font-size: 14px;
	color: #686868;
	line-height: 14px;
	font-weight: 400;
}

#head p {
	color: #686868;
	line-height: 18px;
	font-weight: 400;
}

#head i {
	font-size: 36px;
	color: #5ACE9C;
	line-height: 18px;
	font-weight: 400;
	margin-top: 40px;
}

#head .btn-vuoto {
width: 70px;
	font-size: 12px;
	font-weight: 400;

  text-align: center;
  padding: 5px 10px;
  border-radius: 15px;
  background-color: transparent;
  color: #5ACE9C;
  border: 1px solid #5ACE9C;
  margin: 20px 20px 0 0;
}

#head .btn-vuoto:hover {
  background-color: #5ACE9C;
  color: #fff;
}



/* Content Wrap */

#content {
	background: #fff;
	padding: 50px 0 100px 0;
}

#content h1 {
	margin-bottom: 40px;
	color: #585858;
	font-size: 32px;
	font-weight: 900;
	line-height:.9;
}

#content h2 {
	color: #585858;
	font-size: 20px;
	font-weight: 700;
}

#content h3 {
	margin: 0 0 10px 0;
	color: #585858;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -1px;
    margin-bottom:50px;;
}

#content h4 {
	font-size: 16px;
	color: #686868;
	line-height: 18px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 40px 0 20px 0;
}

#content h5 {
	color: #585858;
	font-size: 20px;
	font-weight: 700;
    line-height: 18px;
	letter-spacing: -1px;
	text-transform: uppercase;
}

#content h6 {
	font-size: 28px;
	color: #585858;
	line-height: 26px;
	font-weight: 700;
	margin: 40px 0 20px 0;
	letter-spacing: -1px;
}

#content i {
	font-size: 36px;
	color: #787878;
}

#content .btn-vuoto {
width: 70px;
	font-size: 12px;
	font-weight: 400;

  text-align: center;
  padding: 5px 10px;
  border-radius: 15px;
  background-color: transparent;
  color: #5ACE9C;
  border: 1px solid #5ACE9C;
  margin: 20px 20px 0 0;
}

#content .btn-vuoto:hover {
  background-color: #5ACE9C;
  color: #fff;
}


#side {
margin-top: 20px;
border-left: 1px solid #ccc;
padding-left: 20px;
}

#side h2 {
font-size: 18px;
font-weight: 700;
color: #5ACE9C;
line-height: 18px;
}

#side a {
color: #5ACE9C;
}

.side {
margin-top: 25px;
border-left: 15px solid #EA5B0C;
padding-left: 20px;
}

.side-uno {
margin-top: 20px;
border-left: 1px solid #ccc;
padding-left: 20px;
color: #6e6e6e;
font-size:95%;
}

.side-due {
margin-top: 20px;
padding-left: 28px;
}

.side-due a {
font-size: 16px;
line-height: 50%;
color: #585858;
}

/* Archive Wrap */

#archive {
	background: #fff;
	padding-bottom: 150px;
}

#archive h1 {
	margin-bottom: 30px;
	color: #585858;
	font-size: 50px;
	font-weight: 400;
	letter-spacing: -1px;
    line-height: 40px;
}

#archive h2 {
	margin: 0 0 10px 0;
	color: #585858;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -1px;
    line-height: 20px;
}

#archive h3 {
	margin: 0 0 10px 0;
	color: #585858;
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -1px;
    line-height: 20px;
}

#archive h4 {
	color: #5693C4;
	font-size: 22px;
	font-weight: 900;
    line-height: 20px;
	letter-spacing: 0px;
	text-transform: uppercase;
	margin-top: 20px;
}

#archive h5 {
	color: #585858;
	font-size: 20px;
	font-weight: 700;
    line-height: 18px;
	letter-spacing: 0px;
}

#archive h6 {
	font-size: 14px;
	color: #686868;
	line-height: 14px;
	font-weight: 400;
}

#archive p {
	font-size: 16px;
	color: #686868;
	line-height: 18px;
	font-weight: 400;
}

#archive i {
	font-size: 36px;
	color: #5ACE9C;
	line-height: 18px;
	font-weight: 400;
	margin: 20px 0;
}

#archive .btn-vuoto {
width: 70px;
	font-size: 12px;
	font-weight: 400;

  text-align: center;
  padding: 5px 10px;
  border-radius: 15px;
  background-color: transparent;
  color: #5ACE9C;
  border: 1px solid #5ACE9C;
  margin: 20px 20px 0 0;
}

#archive .btn-vuoto:hover {
  background-color: #5ACE9C;
  color: #fff;
}



/* Didattica */

#dida {
	background: url(../img/dida.jpg) 50% 0 fixed;
	margin-top: -20px;
	padding: 100px 0;
	background-attachment: relative;
	background-position: center center;
	width: 100%;
	
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#dida h1 {
	margin-bottom: 30px;
	color: #fff;
	font-size: 70px;
	font-weight: 900;
	letter-spacing: -1px;
    line-height: 55px;
	text-transform: uppercase;
}

#dida h2 {
	color: #fff;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: -2px;
    line-height: 28px;
	margin-bottom: 60px;
}

#dida h3 {
	color: #222;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: -1px;
    line-height: 26px;
    padding-bottom: 25px;
}

#dida p {
	color: #222;
	font-size: 16px;
	font-weight: 400;
    line-height: 22px;
	margin-bottom: 30px;
}

#dida .btn-vuoto {
  text-align: center;
  padding: 5px 10px;
  border-radius: 15px;
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  margin-right: 20px;
}

#dida .btn-vuoto:hover {
  background-color: #fff;
  color: #2e2e2e;
}



/* Fondazione */

#fond {
	background: url(../img/fond.jpg) 50% 0 fixed;
	margin-top: -20px;
	padding: 100px 0;
	background-attachment: relative;
	background-position: center center;
	width: 100%;
	
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#fond h1 {
	margin-bottom: 30px;
	color: #fff;
	font-size: 70px;
	font-weight: 900;
	letter-spacing: -1px;
    line-height: 55px;
	text-transform: uppercase;
}

#fond h2 {
	color: #fff;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: -2px;
    line-height: 28px;
	margin-bottom: 60px;
}

#fond h3 {
	color: #222;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: -1px;
    line-height: 26px;
    padding-bottom: 25px;
}

#fond p {
	color: #222;
	font-size: 16px;
	font-weight: 400;
    line-height: 22px;
	margin-bottom: 30px;
}

#fond .btn-vuoto {
  text-align: center;
  padding: 5px 10px;
  border-radius: 15px;
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  margin-right: 20px;
}

#fond .btn-vuoto:hover {
  background-color: #fff;
  color: #2e2e2e;
}



/* Footer Wrap */

#f {
	background: #fafafa;
	padding: 50px;
}

#f i {
	font-size: 30px;
	color: #fff;
	padding-right: 20px;
}

#f i:hover {
	color: #dedede;
}

#f a {
	color: #585858;
}

#f h1 {
	color: #585858;
	font-size: 14px;
	font-weight: 400;
}


#loghi {
	background: #fff;
	padding: 20px 0;
}

#loghi p {
	color: #2e2e2e;
	font-size: 14px;
	line-height: 16px;
	padding-top: 25px;
}

#loghi a {
	color: #2e2e2e;
	font-size: 14px;
	line-height: 16px;
	padding-top: 25px;
}



#ops {
	margin-top: -10px;
	background: url(../img/404.jpg) 50% 0 fixed;
	padding: 80px 0;
	width: auto;
	background-attachment: relative;
	background-position: center center;
	min-height: 800px;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#ops h1 {
	margin-bottom: 30px;
	color: #fff;
	font-size: 80px;
	font-weight: 900;
	letter-spacing: -1px;
    line-height: 60px;
	text-transform: uppercase;
}

#ops h2 {
	color: #fff;
	font-size: 18px;
	font-weight: 400;
    line-height: 20px;
	margin-bottom: 40px;
}



.search-form {
	position: absolute;
	right: 20px;
	top: 1px;
}

.search-field {
	background-color: transparent;
	background-image: url(../img/search.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	border: none;
	cursor: auto;
	height: 30px;
	margin: 3px 0;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 0;
}

.search-field:focus {
	background-color: #fafafa;
	border: 1px solid #f2f2f2;
	cursor: help;
	outline: 0;
	width: 230px;
}

.search-submit {
  display: none;
}

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


