@font-face {
    font-family: 'Raleway-medium';
    src: url('fonts/Raleway-Medium.eot');
    src: url('fonts/Raleway-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/Raleway-Medium.woff2') format('woff2'),
        url('fonts/Raleway-Medium.woff') format('woff'),
        url('fonts/Raleway-Medium.ttf') format('truetype'),
        url('fonts/Raleway-Medium.svg#Raleway-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway-extrabold';
    src: url('fonts/Raleway-ExtraBold.eot');
    src: url('fonts/Raleway-ExtraBold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Raleway-ExtraBold.woff2') format('woff2'),
        url('fonts/Raleway-ExtraBold.woff') format('woff'),
        url('fonts/Raleway-ExtraBold.ttf') format('truetype'),
        url('fonts/Raleway-ExtraBold.svg#Raleway-ExtraBold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway-regular';
    src: url('fonts/Raleway-Regular.eot');
    src: url('fonts/Raleway-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Raleway-Regular.woff2') format('woff2'),
        url('fonts/Raleway-Regular.woff') format('woff'),
        url('fonts/Raleway-Regular.ttf') format('truetype'),
        url('fonts/Raleway-Regular.svg#Raleway-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-BoldItalic.eot');
    src: url('fonts/PlayfairDisplay-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/PlayfairDisplay-BoldItalic.woff2') format('woff2'),
        url('fonts/PlayfairDisplay-BoldItalic.woff') format('woff'),
        url('fonts/PlayfairDisplay-BoldItalic.ttf') format('truetype'),
        url('fonts/PlayfairDisplay-BoldItalic.svg#PlayfairDisplay-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}




* {margin:0; padding:0;}

body {
	font-family: 'Raleway-medium';
	font-weight: 500;
	color:#4f4f4f;
	font-size:15px;
    background-size: cover;
    background-image: url(images/bg.png);
	background-color:#f6f7f8;
    overflow-y: scroll;
}

#navigation {
    width: 100%;
    background-color:white;
    text-align: center;
}
#navigation_wrapper {
    background-color:white;
    position: fixed;
    overflow: hidden;
    float: left;
     width: 15%;
}

#foto_mario {
	width: 100%;
}

#logo {
    font-family: 'Raleway-extrabold';
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 40px;
    color: white;
    margin-top: -39px;
}

#menu {
    margin-top:30px;
}

.menubutt {
    display: block;
     font-family: 'Raleway-extrabold';
    font-weight:bold;
    color: #595959 !important;
   padding: 9px 12%;
    width: 78%;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    text-align: left;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
}

.menubutt:hover {
	color:#5788c5 !Important;
     border-bottom: 1px solid #5788c5;
}

#socials img {
        width: 18px;
    display: inline-block;
    margin: 0px 14px 0px 0px;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
}

#socials {
	margin-bottom:10px;
}

#socials a:hover {
	opacity:.8;
}

#footer {
	color: #9b9b9b !important;
	text-align:left;
    padding:0px 12%;
	width: 78%;
	font-size: 13px;
	position: relative;
	bottom:0px;

    margin-top:30px;
}

#container {
    width: 80%;
    float: right;
    margin-top: 100px;
}






.title {
    font-family: 'Raleway-extrabold';
    font-size: 26px;
    margin-bottom: 15px;
}


.text {
    line-height: 24px;
    width: 70%;
}


.intro {
    font-family: 'Raleway-extrabold';
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 29px;
}

.intro i {
	font-family: 'Playfair Display';
	color:#5788C5;
}

#lista {
    width: 90%;
    margin-left: -1%;
}
#lista_news {
    width: 90%;
    margin-left: -1%;
}
#gallery {
    width: 90%;
    margin-left: -1%;
}

#lista_video {
	width: 90%;
    margin-left: -1%;
}

.separatore {
	height:50px;
	display: block;
}

.articolo {
    width: 31%;
    display: inline-block;
    margin: 1%;
    vertical-align: top;
    background-color: white;
    /* padding: 2%; */
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
}

.articolo:hover > .immagine_articolo {
	opacity:.8;
}

.pic {
    width: 22%;
    display: inline-block;
    margin: 1%;
    vertical-align: top;
    /* padding: 2%; */
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
}

.pic img {
    width: 100%;
}

.immagine_articolo {
    width: 100%;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    max-width: 600px;
        max-height: 500px;
    height: auto;
}

.data_articolo {
   color: #b0b0b0;
    font-size: 15px;
    line-height: 21px;
    padding: 0 7% 7% 7%;
}

.data {
    color: #b0b0b0;
    font-size: 13px;
}

.titolo_articolo {
    font-size: 19px;
    font-family: 'raleway-extrabold';
    padding: 7% 7% 10px 7%;
    color: #424242;
    line-height: 23px;
}

#lista_video .titolo_articolo {
    padding: 7% 7% 3% 7%;
}

.bigtitle {
    font-family: 'Raleway-extrabold';
    font-size: 24px;
    margin-bottom: 20px;
    display: inline-block;
    background-color: #5788c5;
    padding: 3px 10px;
    color: white;
}

.desc_articolo {
	color: #b0b0b0;
    font-size: 15px;
    line-height: 21px;
    padding: 0 7% 7% 7%;
}

.active {
	color:#5788c5 !Important;
    border-color:#5788c5;
}

.pdflink img {
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    margin-top:-3px;
    margin-right:7px;
}

.pdflink {
    color:#5788c5 !Important;
}

.back {
    width: 35px;
    vertical-align: middle;
}

.backlink:hover {
    opacity:.8;
}

.up {
    position: fixed;
    width: 40px;
    bottom: 36px;
    right: 5%;
    z-index:99999;
}

#keywords {
    border: 1px solid #ccc;
    padding: 1%;
    width: 78%;
}
#search {
   margin-top: 30px;
    text-align: left;
    padding: 0 12%;
}

#button {
    text-indent: 200px;
    overflow: hidden;
    width: 22px;
    border-radius: 2px;
    padding: 1%;
    background-image: url(images/search.png);
    background-color: #000000;
    background-size: 75%;
    border: 1px solid #000000;
    background-repeat: no-repeat;
    background-position: center center;
}


.dettaglio_intro {
    font-size: 30px;
    line-height: 35px;
}

.dettaglio_intro .data {
    margin-bottom: 8px;
}

a:link, a:visited {
	text-decoration:none;
	color:black;
}

a:hover, a:active {
	text-decoration:none;
	color:black;
}

.mobile {
display:none;
}


@media screen and (max-width: 999px) {


body {
    font-size:14px;
}
#container {
    width: 90%;
    float: none;
    margin: 0px 5%;
    margin-top: 110px;
}

.mobile {
display:block;
}

.nomobile {
display:none;
}

#logo {
    height: 100%;
    margin-top: 0;
    display: inline-block;
    float:right;
}

#navigation_wrapper {
    background-color: white;
    position: fixed;
    overflow: hidden;
    float: none;
    width: 100%;
    top: 0;
    height: 60px !important;
    z-index: 100;
    box-shadow: 0px 0px 17px #3d3d3d38;
}

#navigation {
    width: 100%;
    background-color: white;
    text-align: center;
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    top: 60px;
    left:-100%;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
}

.menubutt, #footer {
    width:90%;
    padding-right:5%;
    padding-left:5%;
}

.slidato {
    left: 0 !important;
}

#foto_mario {
    display: none;
}

#ham {
    position: absolute;
    width: 23px;
    left: 5%;
    top: 19px;
}

.text {
    width: 100%;
    line-height:21px;
}

.intro {
    font-size: 17px;
    margin-bottom: 15px;
    line-height: 23px;
}

.dettaglio_intro {
    font-size: 23px;
    line-height: 28px;
}

.dettaglio_intro .data {
    line-height:23px;
}

.bigtitle {
    font-size: 20px;
}

.articolo {
    width: 100%;
    margin:0;
    margin-bottom:20px;
}

#lista_video .articolo {
    width: 100%;
    margin: 0%;
    margin-bottom:20px;
}

#lista, #lista_video, #lista_news {
    width: 100%;
    margin-left: -1%;
}

.img_chisono {
    width:100%;
}

.titolo_articolo {
    font-size: 16px;
}

.immagine_articolo {
    width: 100%;
    -webkit-transition: all 0.8s;
    width: 100% !important;
    height: auto !important;
}

.separatore {
    height: 30px;
}


.video {
    width: 100%;
    height: 280px;
}

.pic {
    width: 100%;
    }

#gallery {
    width: 100%;
}


.menubutt, #socials, #footer, #search {
    text-align:left;
}

#search {
    padding: 0 5%;
}

}


@media screen and (max-width: 1000px) and (min-width: 600px) {
    .video {
        width: 100%;
        height: 400px;
    }
}