/* generic rules*/
*{
    margin: 0;
    padding: 0;
}
/*web symbols*/
@font-face {
    font-family: 'WebSymbolsRegular';
    src: url('fonts/websymbols-regular-webfont.eot');
    src: url('fonts/websymbols-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/websymbols-regular-webfont.woff') format('woff'),
        url('fonts/websymbols-regular-webfont.ttf') format('truetype'),
        url('fonts/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.symbol{
    font-family: 'WebSymbolsRegular';
}


body{	
    margin: 0;
    padding: 0;

    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif ;
    font-size:14px;

    width:100%;

    background-image:url(../images/agebeo_01.jpg);
    background-repeat:repeat-x;
    background-color:#FFF;

    color:#606060;


}

img{
    padding:0;
    margin:0;
    border:0;
}

img.thumb{


    padding: 3px;
    background-color: white;
    border: 1px solid #CCC;

    margin-top: 0;
    margin-left: 0;
}

.bordered{
    border:2px solid #CCCCCC;
}

h1,h2,h3,h4{
    font-family:Georgia, "Times New Roman", Times, serif;
    color:#034C88;
    padding:0;
    margin:0;
}


p, ul, ol{
    color:#606060;
    margin:0px;
    padding:0px;

}

a{
    color:#0161ae;
    text-decoration:none;
}

a:hover{
    text-decoration:underline;
}

.arr{
    background-image:url(../images/arr-p.jpg);
    background-position:left center;
    background-repeat:no-repeat;
    border: 0 !important;
    padding-left:15px;
    background-color: transparent !important;
    color:#0161ae;
    text-decoration:none;

    font-family: "Trebuchet MS";
    font-size: 14px;
}
.arr:hover{
    background-image:url(../images/arr-p_over.jpg);
    background-position:left center;
    background-repeat:no-repeat;
    text-decoration:none;
}

div.clear{
    clear:both;
}

/* Stili Specifici*/

#header{
    background-image:url(../images/sf-header.jpg);
    background-repeat:repeat-x;
    background-position:top left;
    height:104px;

}
#slogan{
    float:right;
    margin-top:30px;

    font-size:1.6em;
    color:#FFF;

    /*margin-right:100px;*/
}

#nav,#nav2{
    display:block;
    width:100%;
    overflow: hidden;
    position:relative;

    font-family: Arial;
}
#nav li,#nav2 li{
    float: left;

    display:block;
    padding:5px 16px;

    border-right: 1px solid #CCC;

    margin-top:10px;
    margin-bottom:10px;
}

#nav li:last-child,#nav2 li:last-child{
    border:0;
}

#nav a,#nav2 a{
    color:#000;
}
#nav a:hover,#nav a.current,#nav2 a:hover,#nav2 a.current{
    color:#F90;
    text-decoration:none;
}

#sottomenu{
    background-image:url(../images/sf-sottomenu.jpg);
    background-position:top left;
    background-repeat:no-repeat;

    height:17px;
    width:995px;
}

div.categorie{
    background-color:#ededec;

    margin-bottom:10px;

}	

div.box-header-news{
    background-color:#ededec;

    padding-bottom:10px;

}	
.categorie .heading,.box-header-news .heading{
    color:#6c6c6c;
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size:1.2em;

    margin-top:10px;
    margin-bottom:10px;
    margin-left:15px;

    background-image:url(../images/arrow.jpg);
    background-position:left center;
    background-repeat:no-repeat;

    padding-left:25px;


}


ul.categorie{
    padding-left:20px;
    padding-top:10px;
    padding-bottom:10px;
}

ul.categorie li{
    margin-left:10px;
    list-style-image:url(../images/list-style.jpg);
    list-style-position:inside;
}

ul.categorie li a{
    color:#8e8e8e;
    position:relative;
    bottom:3px;
}


div.wrapper-centercont{
    width:96%;
    height:100%;

    padding:10px;
    padding-top:0;

    margin:0;
}
div.box-header{
    background-image:url(../images/sf-tbl-header.jpg);
    height:46px;
    background-position:top left;
    background-repeat:repeat-x;

    padding-top:15px;
}
div.box-header span.heading{
    color:#fff;
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size:1.2em;

    margin-top:10px;
    margin-bottom:10px;
    margin-left:15px;

    background-image:url(../images/arr-bg-blu.jpg);
    background-position:left center;
    background-repeat:no-repeat;

    padding-left:25px;
}

div.box{
    border-bottom:2px solid #e5e5e5;
    padding-bottom:5px;
    margin-bottom:10px;
    padding-left:10px;
    padding-right:10px;
}
div.box h3, .news h3{
    color:#034c88;

    font-weight:normal;

    padding-bottom:5px;
    font-size:0.9em;
}

div.news{
    padding:10px;
}
div.news h3{
}

div.box p,div.news p{
    font-size:1em;
    color:#606060;
}

div.news a.arr{
    font-size:0.8em;
    margin-right:20px;
    float:right;
}

div.login, div.newsletter{
    padding:10px;
    font-size:0.8em;
}
div.login label,div.newsletter label{
    color:#467caa;
    font-family:Arial, Helvetica, sans-serif;

    margin-left:5px;


}
div.login input{
    color:#467caa;



    width:150px;
    margin-top:2px;
    margin-bottom:5px;
}

div.newsletter input{
    margin-top:2px;
    margin-bottom:5px;

    vertical-align:middle;

    margin-right:5px;
    margin-left:5px;

    color:#467caa;
}

div.sponsor{
    margin:5px;

    font-size:0.8em;
}

#footer{
    background-image:url(../images/footer.jpg);
    height:96px;

    background-position:top left;
    background-repeat:repeat-x;
}

#footer-nav{
    display:block;
    /*width:100%;*/

    margin-left:12%;

    font-size:0.9em;
}

#footer-nav li{
    float: left;

    display:block;
    padding:5px 10px;

    border-right: 1px solid #CCC;

    margin-top:10px;
    margin-bottom:10px;
}

#footer-nav li:last-child{
    border:0;
}

#footer-nav a{
    color:#878787;
}
#footer-nav a:hover,#nav a.current{
    color:#F90;
    text-decoration:none;
}


/* PAGINA SCHEDA STILE */

#boxCentercontInterno h1{
    padding:0;
    margin-top:10px;
    margin-bottom:0px;

    font-family: Times;
    letter-spacing: 2px;

    text-align: right;

}

#boxCentercontInterno h2{
    padding:0;
    margin-top:2px;
    margin-bottom: 8px;

    font-family: Times;
    letter-spacing: 2px;

    font-size: 1em;
    text-align: right;	
}

#boxCentercontInterno h3 {
    padding: 0;
    margin: 0;
    font-family: Times;
    letter-spacing: 2px;	
    font-size: 1em;
    text-align: right;
}

img.thumbleft{
    padding:3px;
    border: solid 1px #ccc;

    float:left;

    margin-right:5px;
}

#boxCentercontInterno ul.arr{
    margin:10px;

    margin-left:15px;

}
#boxCentercontInterno ul.arr li{
    margin-top:2px;
    list-style-image: url("../images/arr-p.jpg");
}

#boxCentercontInterno ul.arr li:hover{
    list-style-image: url("../images/arr-p_over.jpg");
}

#boxCentercontInterno p{
    text-align: justify;

    font-family: "Trebuchet MS";
    font-size: 0.99em;
}

#boxCentercontInterno ul, ol{
    font-family: "Trebuchet MS";
    font-size: 0.99em;

    padding-left: 10px;
}

p.occhiello{
    color:#034C88;
    font-weight: bold;
    margin-bottom: 10px;
}

hr{
    color:#CCC;
    background-color:#CCC;
    margin:10px;
}
#boxCentercontInterno ul,#boxCentercontInterno ol{
    margin: 15px;
}

#boxCentercontInterno p{
    line-height: 20px;
}

/*new rule */
#form_login label{
    display:inline-block;
    width:80px;
}

fieldset{
    padding:10px;
}

fieldset legend,label{
    color:#467CAA;
}

fieldset label{
    display:inline-block;
    width:120px;
}

input[type="submit"],input[type="reset"]{
    background-color:#EDEDEC;
    border:1px solid #cececc;
}

#MyDivWait{
    background-color:#f2fff2;
    padding:10px;

    border:#cfffb3 1px solid;
    margin:5px;
    display:none;
    position:relative;
}

.wrapper-centercont{
    font-family: "Trebuchet MS";
}

.clean-error{
    background-color:#ffdfdf;
    border:1px solid #ff9d9d;

    background-image:url("../images/alert.png");
    background-position:10px 5px;
    background-repeat:no-repeat;

    padding-left:50px;

    color:#750000;

    font-size:0.9em;
}


/*casafamiglia*/

.switch-menu{
    border: none;    
    right: -15px;
    position: absolute;
}

#casa_famiglia_slider{
    background: url('../images/ombra-slider-bottom.jpg') no-repeat bottom center;
    padding-bottom: 29px;
    position: relative;
    overflow: hidden;
    height: 383px;
}

.paging-slider{
    width: 100%;
    text-align: center;
    position: relative;
    top:-5px;
}


.paging-slider li{
    width: 26px;
    height: 26px;
    background: url('../images/paging_slider_off.jpg') no-repeat center center;
    display: inline-block;
    text-indent: -9999px;
    cursor: pointer;
}
.paging-slider li.current ,.paging-slider li:hover{
    background-image: url('../images/paging_slider_on.jpg');
}

.box-text p{
    padding-bottom: 10px;
}

#partners{
    width: 100%;
    overflow: hidden;
    list-style: none;
    margin:10px 0;
    padding: 0;
    


}

#partners li{
    float: left;

    height: 150px;
    padding: 15px;  
    border: 1px solid #ccc;
    margin-right: 10px;
    margin-bottom: 10px;
  

}
#partners li div{

    width: 100%;
    height: 150px;
    display: table-cell;
    vertical-align: middle;
}

#popup-donazione{
    background: url("../images/popup-donazione.jpg") no-repeat top left;
    width: 500px;
    height: 300px;
    position: relative;
}
