@font-face {
    font-family: 'Fedra Sans Pro Normal';
    src: url('fonts/FedraSansPro-Normal.eot');
    src: url('fonts/FedraSansPro-Normal.eot?#iefix') format('embedded-opentype'),
        url('fonts/FedraSansPro-Normal.woff2') format('woff2'),
        url('fonts/FedraSansPro-Normal.woff') format('woff'),
        url('fonts/FedraSansPro-Normal.ttf') format('truetype'),
        url('fonts/FedraSansPro-Normal.svg#FedraSansPro-Normal') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fedra Sans Pro';
    src: url('fonts/FedraSansPro-Medium.eot');
    src: url('fonts/FedraSansPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/FedraSansPro-Medium.woff2') format('woff2'),
        url('fonts/FedraSansPro-Medium.woff') format('woff'),
        url('fonts/FedraSansPro-Medium.ttf') format('truetype'),
        url('fonts/FedraSansPro-Medium.svg#FedraSansPro-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FoundationTitlesHand';
    src: url('fonts/FoundationTitlesHand.eot');
    src: url('fonts/FoundationTitlesHand.eot?#iefix') format('embedded-opentype'),
        url('fonts/FoundationTitlesHand.woff2') format('woff2'),
        url('fonts/FoundationTitlesHand.woff') format('woff'),
        url('fonts/FoundationTitlesHand.ttf') format('truetype'),
        url('fonts/FoundationTitlesHand.svg#FoundationTitlesHand') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
}


body {
     font-family: 'Fedra Sans Pro Normal';
     font-size: 16px;
     color: white;
     background-image: url(images/background.jpg);
     background-size: cover;
     background-repeat: no-repeat;
}

#container {
    width: 1000px;
    margin-top: 60px;
    margin-left: 5%;
    background-color: #ffffffd1;
    color: #464646;
    padding: 3%;
    margin-bottom: 60px;
}

#container a:link, #container a:visited {
    color: #333333;
}
#container a:active, #container a:hover {
    color: #000000;
}
.separatore {
	width: 100%;
	height: 30px;
	display: block;
	clear: both;
}

.immagine_blog {
	max-width: 1000px;
	max-height: 600px;
}
.testo_blog {
	color: #666666;
}
#logo {
	position: fixed;
	top: 50px;
	left: 100px;
	z-index: 999;
}


.loghi img {
    width:80px;
    display:inline-block;
    margin-left: 10px;
}

.logo_page {
    float:right;
}

.logo_page {
    width:90px;
    margin-top: -30px;
}

form td {
    margin-bottom: 20px;
    display: block;
}

form .title {
    font-weight: bold;
    color: black;
}

form input {
    margin-right: 5px;
}
form label {
    margin-right: 10px;
}

textarea {
    display: block;
    margin-top: 20px;
    width: 80%;
    border: 1px solid #ccc;
    font-size: 16px;
    padding: 10px;
}

#intestazione {
    margin-left: 5%;
    margin-top: 40px;
    display: inline-block;
}

.area {
    font-size: 16px;
    padding: 5px 10px;
}

.req {
    color: red;
}

#contactbutt {
    cursor: pointer;
    font-size: 15px;
    border: none !Important;
    letter-spacing: 0.4px;
}
.etichetta {
	width: 130px;
	display: inline-block;
}
.campo {
	display: inline-block;
}
h1 {
    font-family: 'FoundationTitlesHand';
}

h3 {
    font-family: 'FoundationTitlesHand';
    color: black;
    font-size: 30px;
}

#flag {
    height: 85%;
    width: auto;
    position: fixed;
    bottom: 0;
    left: 8%;
}

#content {
    position: absolute;
    right: 15%;
    top: 7%;
}

#content p {
    color: rgba(20,93,172,1);
}

#logo_1 {
    width: 150px;
    margin-bottom: 20px;
}
#logo_private {
    width: 200px; 
	margin-left:-10px;
}

h1 {
    font-size: 20px;
}

h2 {
    font-size: 16px;
}

.butt {
    background: rgb(20,93,172);
    background: linear-gradient(180deg, rgba(20,93,172,1) 0%, rgba(31,69,125,1) 100%);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    color: white !Important;
}

.butt img {
    width: 28px;
    vertical-align: middle;
    margin-top: -8px;
    margin-left: 10px;
}

#donate {
    width: 120px;
}
.document {
	line-height: 32px;
}

.immagine_evento {
    width: 50%;
    display: block;
}

.mobile {
display:none;
}

a:link, a:visited {
    color: #333333;
    text-decoration: none;
}

a:hover, a:active {
    color: #000000;
    text-decoration: none;
}


@media screen and (max-width: 999px) {

    .immagine_evento {
    width: 100%;
    display: block;
}

.mobile {
display:block;
}

.nomobile {
display:none;
}

    #flag {
    height: auto;
    width: 80%;
    position: absolute;
    bottom: 0;
    left: 5%;
    opacity: .3;
    }
    #logo_1 {
        width: 110px;
    }
	#logo_private {
    width: 100px; 
	margin-left:-10px;
}
    h2 {
        font-size: 14px;
    }

    #content p {
    color: rgb(41, 65, 91);
    }

    #content {
    position: relative;
    right: 0%;
    margin: 0 auto;
    top: 0;
    width: 90%;
    padding-bottom: 50px;
    margin-top: 30px;
    }

    #container {
        padding: 5%;
        width: 80%;
        margin-left: 5%;
       text-align: left;
    overflow: hidden;
    }


    #intestazione {
        text-align: center;
    }

    form tr {
        text-align: left;
    }

    form td {
        width: 90%;
    }

    .area {
        width: 100%;
    }
    textarea {
        width: 100%;
    }

    form input {
    margin-right: 5px;
    float: left;
    margin-top: 2px;
}

    form label {
    margin-right: 10px;
    display: block;
    margin-bottom: 17px;
}

#container h3 {
    float:none !Important;
}

.logo_page {
    width: 90px;
    margin-top: 30px;
    margin-bottom: -50px;
    float:none;
}

.loghi_uloop {
    display: block;
    text-align: left;
    width: 100%;
    overflow: hidden;
    margin-top: 70px;
}
}

body { height: auto !Important; background-image: none; }
body, html { height: 100%; }
h2 { font-size: 14px; }

#intestazione {
    margin-left: 5%;
    margin-top: 40px;
    display: block;
    text-align: center;
    margin: 0 auto;
    width: 260px;
    position: relative;
    margin-top: 0px;
    color:white;

}
#flag {
    height: 85%;
    width: auto;
    position: fixed;
    bottom: 0;
    left: 400px;
}
#logo {
	position: fixed;
	top: 50px;
	left: 100px;
	z-index: 999999;
}
#top {
    background-image: url(images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 30px;
    padding-bottom: 50px;
    background-position: left;
	width: 440px;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9;
}

#ham {
    width: 27px;
    position: fixed;
    left: 10px;
    top: 20px;
    cursor: pointer;
	z-index: 999999;
}

#container {
	margin-left: 440px;
	margin-top: 130px;
	width: 600px;
    line-height: 23px;
}

#enter {
    width: 30px;
    float: right;
    margin-left: 10px;
    margin-top: -6px;
    cursor:pointer;
}

.immagine_blog_2 {
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    width: auto;
}

#area_riservata {
	position: absolute;
    left: 105px;
    top: 85%;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0px 0px 5px #22222242;
}
.campo {
	padding: 5px;
	display: block;
}

#logo_1 {
    margin-bottom: 14px;
}

h2 {
    font-size: 12px;
}

.menubutt {
    color: #ccc !important;
    padding: 10px 20px;
    /* border: 1px solid #ccc; */
    border-radius: 13px;
    /* box-shadow: 0px 0px 4px #050505a1; */
    margin: 1px 0px;
    background-color: transparent;
    cursor:pointer;
    display: block;
}
.menubutt:hover {
    background-color: #202020;
}

.menubutt img {
    width: 17px;
    margin-right: 14px;
    margin-bottom: -3px;
}

.menubutt.attivo {
    color: #508456 !important;
    background-color: transparent;
}
.menubutt.attivo img{
    filter: invert(45%) sepia(11%) saturate(1450%) hue-rotate(76deg) brightness(98%) contrast(86%);
}

#navigazione {
    left: 0;
    top: 0;
	width: 320px;
	height: 100%;
    position: fixed;
    padding: 280px 30px 30px 80px;
    background-color: #131313;
    left:-375px;
    z-index: 999;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
}
#content {
    position: absolute;
    left: 100px;
    top: 400px;
	color: #333333 !important;
	z-index: 9;
}
#content p {
	color: #333333 !important;
}
.loghi img {
    width: 80px;
    display: inline-block;
    margin-right: 10px;
	margin-left: 0px;
}

.slidato {
    left: 0 !important;
     -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
.loghi_uloop {
    display: block;
    text-align: left;
    width: 100%;
    overflow: hidden;
    margin-top: 120px;
}

#close {
    width: 25px;
    top: 22px;
	left: 12px;
    position: fixed;    
    opacity: 0.6;
    cursor: pointer;
}

.logo_navigazione {
    opacity: .8;
    position: absolute !important;
    bottom: 50px;
    z-index: 999;
    text-align: left !important;
    width: 95% !Important;
    left: 40px;
}

.logo_navigazione h1 {
    font-size: 37px;
}

.logo_navigazione h2 {
    font-size: 10px;
}

.titolo_blog {
    font-size: 25px;
    font-weight: bold;
    line-height: 32px;
    color: black;
    min-height: 65px;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
}

.articolo {
    border-bottom: 1px solid #ccc;
}

.data_blog {
    color: #696969;
    font-size: 20px;
    margin-bottom: 10px;
}

.immagine_blog {
    max-width: 100%;
	max-height: 500px;
    margin-top: 20px;
    margin-bottom: 30px;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;

}

.immagine_blog_bg {
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    height:300px;
    width:100%;
    background-size:cover;
    background-position: center center;
    margin-bottom: 30px;
}

.articolo_2 {
    border-bottom: 1px solid #ccc;
    width: 100%;
    display: inline-block;
    vertical-align: top;
    margin: 0;
    margin-bottom: 70px;
    border-bottom: 1px solid #ccc;
}

.articolo_2:hover > .titolo_blog {
    color:#508456;
}

#back img {
    width: 30px;
    /* vertical-align: middle; */
    display: inline-block;
    margin-bottom: -9px;
    margin-right: 6px;
}

#back:hover {
    opacity:.8;
}

@media screen and (max-width: 999px) {

    #navigazione {
        left: -110%;
        padding:70px 5% 30px 5%;
        width: 80%;
    }

    .menubutt {
         font-size: 15px;
         padding: 8px 20px;
    }

   #logo {
    z-index: 99;
    position: absolute;
    width: 70%;
    left: 0;
    /* text-align: center; */
    /* border: 1px solid red; */
    left: 50%;
    margin-left: -35%;
    margin-top: 30px;
    }

    .titolo_blog {
        min-height: auto;
    }

    .immagine_blog {
        margin-bottom: 30px;
    }

    #logo #logo_1 {
        width: 70px;
        float: left;
        margin-right:15px;
        display: inline-block;
    }

    #logo h1 {
        font-size: 34px;
        margin-top: 15px;
         display: inline-block;
         text-shadow: 0px 0px 10px #00000057;
    }

    #logo h2 {
        font-size: 9px;
        text-shadow: 0px 0px 10px #00000057;
    }


    #logo_mobile {
    display: block;
    overflow: hidden;
    margin-left: 15px;
    margin-bottom: 20px;
    }

    #logo_mobile #logo_1 {
        width: 70px;
        float: left;
        margin-right:20px;
    }

    #logo_mobile h1 {
        font-size: 34px;
        margin-top: 19px;
    }

    #logo_mobile h2 {
        font-size: 9px;
    }

    #ham {
        position: fixed;
        left: 0;
        top: 0;
        background-color: #131313;
        cursor: pointer;
        z-index: 999999;
        padding: 13px;
        width:20px;
    }

    #close {
    top: 0;
    left: 0;
    position: fixed;
    opacity: 1;
    cursor: pointer;
    padding: 15px 13px;
        width:18px;
    }

    #top {
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    height: 200px;
    position: relative;
    }

    #container {
    margin-left: 0;
    margin-top: 30px;
    width: 90%;
    line-height: 21px;
    padding-bottom:60px;

    }

    #enter {
    width: 24px;
    }

    .separatore {
    height: 20px;
    }

    #area_riservata {
    position: absolute;
    left: auto;
    top: 22px;
    color: white;
    font-size: 12px;
    right: 5%;
    }

    h3 {
        font-size: 26px;
        line-height: 32px;
    }

    body {
    font-size: 14px;
    }

    #content {
    left: 0;
    top: 200px;
    padding: 0px 5%;
    text-align: center;
    }

    .loghi_uloop {
    text-align: center;
    margin-top: 20px;
    }

    .logo_page {
        margin-bottom:-20px;
    }

    #form1 input {
    margin-right: 5px;
    float: left;
    margin-top: 2px;
    width: 90%;
    margin-bottom: 20px;
    }

    #form1 .butt {
        width: 97%;
    }

    .campo {
    width: 90%;
    margin-bottom: 11px;
    }

    #user_sex {
        width:20%;
    }

    #form2 #submit {
        margin-top: 20px;
    }

    #contact_form textarea {
    margin-top: -20px;
    border: 1px solid #5e5e5e;
    border-radius: 3px;
    }

    #flag {
    height: 35%;
    width: auto;    
    left: 0;
    opacity: 0.4;
    }
    
}