.main-wrapper, .head-wrapper, .cont-wrapper, .footer-wrapper{
    width: 1500px;
    margin:0 auto;
    text-align: left;
    position: relative;
}

#main-logo{
    display:block;
    position: absolute;
    width: 273px;
    height: 89px;
    top: 48px;
    left: 246px;
    background-repeat: no-repeat;
    background-size: contain;
}

header{
}
header > div{
    height:33px;
    background: #f7f7f7 center center no-repeat;
    border-bottom:1px solid #ebebeb;
    margin-bottom: 7px;
}
header div.sbar{
    text-align:right;
    line-height: 33px;
    color: #818181;
    padding: 0 5px;
    margin:0;
}
header div.sbar img{margin-left: 1em}

.fb-like{
    vertical-align: middle;
    margin: 0 0 10px 10px;
}

#SkypeButton_Call_andrewbz_1 {display: inline-block;}
#SkypeButton_Call_andrewbz_1 p {margin:0;padding:0}
#SkypeButton_Call_andrewbz_1 p img{
    margin: 8px 0 0 0 !important;
    vertical-align: inherit !important;
}

header div.sbar a{
    text-decoration:none;
}

.sico{
    width: 24px;
    height: 24px;
    display: inline-block;
    text-decoration:none;
    margin: 2px;
    vertical-align: top;
}
.fb-ico{
    background-image: url(../images/s-facebook-ico.png)
}
.fb-ico:hover{
    background-image: url(../images/s-facebook-ico-ho.png)
}
.tw-ico{
    background-image: url(../images/s-twitter-ico.png)
}
.tw-ico:hover{
    background-image: url(../images/s-twitter-ico-ho.png)
}
.is-ico{
    background-image: url(../images/s-instagram-ico.png)
}
.is-ico:hover{
    background-image: url(../images/s-instagram-ico-ho.png)
}
.ml-ico{
    background-image: url(../images/s-mail-ico.png)
}
.ml-ico:hover{
    background-image: url(../images/s-mail-ico-ho.png)
}
.yt-ico{
    background-image: url(../images/s-youtube-ico.png)
}
.yt-ico:hover{
    background-image: url(../images/s-youtube-ico-ho.png)
}
.gp-ico{
    background-image: url(../images/s-googleplus-ico.png)
}
.gp-ico:hover{
    background-image: url(../images/s-googleplus-ico-ho.png)
}

#header_slide{
    z-index: -1;
}
#header_slide .item img{
    display: block;
    width: 100%;
    height: auto;
}

#c_navigator{
    position:absolute;
    bottom: 1.3em;
    left: 40px;
}

.cont-wrapper {margin-top: 60px;}
body.home .cont-wrapper, body.sponsor .cont-wrapper {margin-top: 0;}
body.proposte .cont-wrapper{margin-top: 20px;}

#content{
    padding: 20px;
    min-height: 300px;
    overflow: auto;
}

#content img{
	max-width: 100%;
	height: auto;
}

body.direct #content{min-height: 0}

body.home #content{margin-top: 30px;}

body.info #content{
    float: left;
    width: calc(100% - 350px);
    overflow: auto;
}

#sidebar{
    width: 230px;
    margin-right: 20px;
}

#sidebar.home{
    width: 330px;
    margin-left: 20px;
    margin-right: 0;
}


/** MULTI-CONTENTS PLUGIN **/
#c_multi-cont .multi-cont{
    padding: 5px 0 1em 45px;
    min-height: 50px;
}
#c_multi-cont .multi-cont p:first-child{
    margin-top:0;
    padding-top:0;
}
#c_multi-cont div.title-lf{
    padding-left: 5px;
}

#c_multi-cont div.title-rt{
    padding-right: 5px;
}

#c_multi-cont div.title{
    min-height: 25px;
    padding: 0 10px 0 40px;
    position: relative;
}
#c_multi-cont div.title div.banner{
    position: absolute;
    top:0;
    left:5px;
    width: 23px;
    height: 49px;
}
/** MULTI-CONTENTS PLUGIN end **/

footer{
}
footer #custom{
    padding: 2em 25px 1em 25px;
    line-height: 200%;
}
footer #bottom-menu{
    padding: 10px 20px 10px 20px;
}
footer #copyright{
    padding: 10px 20px;
    text-align: right;
}

footer #fb{float: right; width: 350px;}

footer div.sht{
	float: right;
}

nomargin{margin:0;}

/** STILI CONTENUTI **/
h1.title{}

span.date{
    float: right;
}

img.float-left{
    margin: 2px 1em 1em 0;
    float: left;
}
img.float-right{
    margin: 2px 0 1em 1em;
    float: right;
}

span.more a{
    padding: .2em .6em;
    vertical-align: baseline;
}
span.more a:hover{

}
h3.fit-box-title{
    margin-top: .5em;
    margin-bottom: 0;
    cursor: pointer;
    border-style: solid;
    border-width: 0 0 1px 0;
}
h3.fit-box-title .fit-box-ico{
}
div.fit-box-content{
    margin-left: .5em;
    padding: .2em .5em;
    -webkit-border-radius: 0 0 .3em .3em;
    border-radius: 0 0 .3em .3em;
    border-style: solid;
    border-width: 0 1px 1px 1px;
}
.contents table p:first-child{margin-top:0;}
.contents table p:last-child{margin-bottom:0;}

tr.tb-header{
    border: 1px solid #59488c;
    background: #59488c;
    color: white;
    font-size: 90%;
}
table.tb td, tr.tb-body td{
    border: 1px solid #59488c;
    padding: 3px;
}
/** STILI CONTENUTI end **/

#c_maps{
    height: 400px;
}
#c_maps .map{
    height: 100%;
    margin: 0px;
    padding: 0px
}

/** modulo re-bestoffers **/
#c_re_boffers{
    padding: 40px 120px;
    position: relative;
    background: #e8edf0;
    margin-top: 20px;
}
#c_re_boffers h2.title{
    text-align: center;
    margin: 0;
    background-image: url(../images/onda.png), url(../images/onda.png);
    background-position: left center, right center;
    background-repeat: no-repeat;
    font-weight: normal;
    font-size: 1.5em;
}

#c_re_boffers #prev-arrow{
    position: absolute;
    top:0;
    left:0;
    width: 120px;
    height: 395px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../images/sx-arrow.png);
    cursor: pointer;
}
#c_re_boffers #prev-arrow:hover{
    background-image: url(../images/sx-arrow_ho.png);
}
#c_re_boffers #next-arrow{
    position: absolute;
    top:0;
    right:0;
    width: 120px;
    height: 395px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../images/dx-arrow.png);
    cursor: pointer;
}
#c_re_boffers #next-arrow:hover{
    background-image: url(../images/dx-arrow_ho.png);
}

#c_re_boffers .item{
    display: block;
    margin: 20px;
    position:relative;
    max-width: 400px;
    padding-bottom: 45px;
    overflow:hidden;
}

#c_re_boffers .item img{
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    transition: 0.8s cubic-bezier(0.39, 0.58, 0.57, 1) all;
}
#c_re_boffers .item img:hover{
    transform: scale(1.2);
}

#c_re_boffers .item .panel{
    width: 100%;
    position:absolute;
    bottom:0;
    padding:5px;
    background: #ec9522;
    box-sizing: border-box;
    color: white;
}

#c_re_boffers .item .panel:before {
    position:absolute;
    content: "";
    display: block;
    top: -20px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #ec9522;
    border-radius: 0;
}
.ic {
    line-height: 37px;
    white-space: nowrap;
}
.ic:before{
    content: "";
    display: inline-block;
    width: 37px;
    height: 37px;
    vertical-align: middle;
    line-height: 37px;
    background-color: #ec9522;
    border-radius: 3px;
    background-repeat: no-repeat;
    margin-right: .5em;
    background-size: 100%;
    background-position: center;
}
.ic-atticoloftopenspace:before{background-image: url("../images/ic-atticoloftopenspace.png");}
.ic-schiera:before{background-image: url("../images/ic-schiera.png");}
.ic-terreno:before{background-image: url("../images/ic-terreno.png");}
.ic-appartamento:before{background-image: url("../images/ic-appartamento.png");}
.ic-boxgarage:before{background-image: url("../images/ic-garage.png");}
.ic-casaindipendentevilla:before{background-image: url("../images/ic-casaindipendentevilla.png");}
.ic-terrenoedificabile:before{background-image: url("../images/ic-terrenoedificabile.png");}
.ic-commerciale:before{background-image: url("../images/ic-commerciale.png");}
.ic-cantiere:before{background-image: url("../images/ic-cantiere.png");}
.ic-rustico:before{background-image: url("../images/ic-rustico.png");}
.ic-attività:before{background-image: url("../images/ic-commerciale.png");}

.ic-panorama:before{background-image: url("../images/ic-panorama.png");}
.ic-virtual:before{background-image: url("../images/ic-virtualtour.png");}
.ic-prezzo:before{background-image: url("../images/ic-prezzo.png");}
.ic-stanze:before{background-image: url("../images/ic-stanze.png");}
.ic-bagni:before{background-image: url("../images/ic-bagno.png");}
.ic-localita:before{background-image: url("../images/ic-localita.png");}
.ic-zona:before{background-image: url("../images/ic-zona.png");}
.ic-mq:before{background-image: url("../images/ic-mq.png");}
.ic-esposizione:before{background-image: url("../images/ic-esposizione.png");}
.ic-piano:before{background-image: url("../images/ic-piano.png");}
.ic-ultimopiano:before{background-image: url("../images/ic-ultimo-piano.png");}
.ic-garage:before{background-image: url("../images/ic-garage.png");}
.ic-postoauto:before{background-image: url("../images/ic-posto-auto.png");}
.ic-ape:before{background-image: url("../images/ic-ape.png");}
.ic-condizioni:before{background-image: url("../images/ic-condizioni.png");}
.ic-balconi:before{background-image: url("../images/ic-balcone.png");}
.ic-giardino:before{background-image: url("../images/ic-giardino.png");}
.ic-terrazzo:before{background-image: url("../images/ic-terrazzo.png");}
.ic-riscaldamento:before{background-image: url("../images/ic-riscaldamento.png");}
.ic-cucinaabitabile:before{background-image: url("../images/ic-cucina-abitabile.png");}

div.block-left{
    position: absolute;
    top: 5px;
    left: 5px;
}

/** MODULO RICERCA e ordinamento risultati **/
#c_realestate_search {
    width: 95%;
    background: white;
    border-radius: 5px;
    border: 1px solid #e4e4e4;
    margin: -50px auto 0 auto;
    box-sizing: border-box;

    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    align-items:stretch;
    box-sizing: border-box;
}
#ordering{
    margin: 0 auto 0 auto;
    width: 95%;
}
#c_ordering{
    border-radius: 5px;
    border: 1px solid #e4e4e4;
    box-sizing: content-box;
    position:relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
}

#c_realestate_search > div,
#c_ordering > div{
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

#c_realestate_search .stitle,
#c_ordering .stitle{
    background: #f3f3f3;
    border-right: 1px solid #e4e4e4;
    flex: 0 1 auto;
}

#c_realestate_search .scont,
#c_ordering .scont{
    padding:10px;
}

#c_realestate_search .submit,
#c_ordering .submit{
    text-align: center;
    flex: 0 1 auto;
    align-items: baseline;
    vertical-align: bottom;
}

#c_realestate_search .code{
    text-align: center;
    flex: 0 1 auto;
    border-left: 1px solid #E4E4E4;
    background: #F9F9F9;
}
#c_realestate_search .code .sitem{
    text-align: left;
    display: block;
}

#c_realestate_search .sitem,
#c_ordering .sitem{
    display: inline-block;
    padding: 10px;
    box-sizing: border-box;
}

#c_realestate_search p,
#c_ordering p{
    padding: 0 5px;
    color: #605F5D;
    margin:0;
}

#c_realestate_search .stitle h2,
#c_ordering .stitle h2{
    color: #353535;
    margin:0;
    font-size: 1.2em;
}

#c_realestate_search input,
#c_realestate_search select,
#c_ordering input,
#c_ordering select{
    box-sizing: content-box;
    padding: .4em;
    border-radius: 3px;
    border: 1px solid #e4e4e4;
    background: white;
    border-style: solid;
    height: 27px;
    display: inline-block;
}
#c_realestate_search input.small,
#c_realestate_search select.small,
#c_ordering input.small,
#c_ordering select.small{
    width: 125px;
}
#c_realestate_search input.big,
#c_realestate_search select.big,
#c_ordering input.big,
#c_ordering select.big{
    width: 300px;
}
#c_realestate_search input[type="submit"],
#c_ordering input[type="submit"]{
    border-width: 0px;
    background: #f78f1e;
    color: white;
    padding: .4em 2em;
}

/** -- MODULO RICERCA **/

/** item modulo immobiliare **/

#c_boxProposte .container {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

#c_boxProposte .re_summaryitem{
    width: 50%;
    padding:15px;
    box-sizing: border-box;
}

#c_boxProposte .re_summaryitem .photo{
    display: block;
    margin: 0 auto;
    background: #818286;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position:relative;
}

#c_boxProposte .re_summaryitem .photo .inew{
    position: absolute;
    top:30px;
    left:30px;
}
#c_boxProposte .re_summaryitem .photo .inew:hover{
    background: url(../images/new.png) center center no-repeat;
}

#c_boxProposte .re_summaryitem .photo .pusher{
    padding-bottom: 65.38%;
}

#c_boxProposte .re_summaryitem .redata{
    padding:5px 5px 25px 5px;
    margin: 0 auto;
    background: #ec9522;
    box-sizing: border-box;
    color: white;
    position:relative;
    text-align: right;
    overflow: hidden;
}
#c_boxProposte .re_summaryitem .redata > h2{
    position: absolute;
    padding: 5px;
    margin:0;
    box-sizing: content-box;
    width: 350px;
    top:0;
    left:0;
    font-weight: normal;
    font-size: 1.2em;
    text-align: left;
    text-transform: uppercase;
}
#c_boxProposte .re_summaryitem .redata > h2 span{
    display: block;
    font-size: 80%;
}

#c_boxProposte .re_summaryitem .redata:before {
    position:absolute;
    content: "";
    display: block;
    top: -30px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 30px solid #ec9522;
    border-radius: 0;
}
#c_boxProposte .re_summaryitem p.annuncio{
    margin: 8px;
    background: #d8d9db;
    position: relative;
    padding: 20px;
}
#c_boxProposte .re_summaryitem p.annuncio:before{
    position:absolute;
    content: "";
    display: block;
    top: -30px;
    right: 130px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 30px solid #d8d9db;
    border-radius: 0;
}
#c_boxProposte .re_summaryitem p.annuncio .continue{
    font-size: 95%;
}
#c_boxProposte .re_summaryitem p.annuncio .continue:before{
    content:"... ";
}

#c_boxProposte .re_summaryitem .ic-box{
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: right;
}
#c_boxProposte .re_summaryitem .ic-inner:hover{background-color: rgba(247,143,30,1);}
#c_boxProposte .re_summaryitem .ic-inner:before{background-color: transparent;}

#c_boxProposte .re_summaryitem .ic-prezzo,
#c_boxProposte .re_summaryitem .ic-virtual,
#c_boxProposte .re_summaryitem .ic-panorama{
    background-color: #ec9522;
    background-color: rgba(247,143,30,.5);
    display: inline-block;
    padding: 2px 1em 2px 2px;
    font-weight: bold;
    color: white;
    border-radius: 3px;
    margin:1px;
}

#c_boxProposte .re_summaryitem .ic-virtual{
    top: 55px;
}

#c_boxProposte .re_summaryitem .ic-panorama{
    top: 99px;
}

#c_boxProposte .re_summaryitem .photo,
#c_boxProposte .re_summaryitem .redata{
    width: 85%;
}
/** -- **/

/** navigatore proposte */
#c_re_navigator{
    color: #7E7E7E;
    text-align: right;
    padding: 0 26px;
}

#c_re_navigator a {
    display: inline-block;
    height: 37px;
    line-height: 37px;
    padding: 0 1em;
    background: #ec9522;
    box-sizing: border-box;
    color: white;
    text-decoration: none;
    border-radius: 2px;
}

.re_details{
    margin-top: 1em;
}
a.re_gallery_item, div.re_gallery_item{
    margin: 4px;
    float:left;
    box-sizing: content-box;
    width: 200px;
}
a.re_gallery_item.big, div.re_gallery_item.big{
    width: 408px;
}
a.re_gallery_item img{
    width: 100%;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
}

div.re_gallery_item.foto360{
    box-sizing: border-box;
    height: 308px;
    width: 408px;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
}

.re_details .title{
    font-size: 130%;
    color: black;
}
.re_details .note{
    margin:0;
    padding:0;
    color: black;
    font-size: 125%;
    text-align: justify;
}
.re_details .recont{
    padding: 2em;
}
.re_details .ic{
    color: black;
    margin: 5px 25px 5px 0;
    display: inline-block;
    min-width: 248px;
}
.re_details .ic span.iclabel{
    font-weight: normal;
    color: #605f5d;
    margin-right: .2em;
}
.re_details .ic.small{
    float:left;
    width: 250px;
}
.re_details .ic.big{
    float:left;
    width: 524px;
}
/** -- */

/** RE MODULO INFORMAZIONI **/
.re_moreinfo, .re_meeting{
    margin: 5px;
    float:left;
}
a.moreinfobtn, a.meetingbtn, button.tourvirtuale{
    border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;
    padding: .5em 1em;
    display: inline-block;
}

#re_info_module, #re_meeting_module {margin-top: 2em}
#re_info_module h2, #re_meeting_module h2{text-transform: uppercase}
#re_info_module td, #re_meeting_module td{
    padding: 0 7px 7px 0;
}
#re_info_module input,
#re_info_module select,
#re_info_module textarea,
#re_meeting_module input,
#re_meeting_module select,
#re_meeting_module textarea{
    box-sizing: content-box;
    padding: .4em;
    border-radius: 3px;
    border: 1px solid #e4e4e4;
    background: white;
    border-style: solid;
    display: inline-block;
}
#re_info_module input,
#re_info_module select,
#re_meeting_module input,
#re_meeting_module select{
    height: 27px;
    width: 300px;
}
#re_info_module textarea,
#re_meeting_module textarea{
    width: 600px;
    height: 200px;
}
#re_info_module input[type="submit"],
#re_meeting_module input[type="submit"]{
    border-width: 0px;
    background: #f78f1e;
    color: white;
    padding: .4em 2em;
    width: auto;
}
#re_info_module input[type="submit"]:first-letter,
#re_meeting_module input[type="submit"]:first-letter{
    text-transform: uppercase;
}
#re_info_module td.mail_failed, #re_info_module td.mail_success,
#re_meeting_module td.mail_failed, #re_meeting_module td.mail_success{
    background: red;
    border-radius: 3px;
    padding: .5em;
    color: white;
}
#re_info_module td.mail_success,
#re_meeting_module td.mail_success{
    background-color: #ccffcc;
    color:black;
}
/** -- */

table.agenzia caption{
    font-size: 1.3em;
    color: black;
    text-align: left;
    font-weight: bold;
    margin: 1em 0;
}
table.agenzia td{
    padding: 0 2em 1em 0;
    vertical-align: top;

}
table.agenzia td span.title{font-size: 150%;}
.avatar{
    height: 0;
    width: 0;
    padding:60px;
    border-radius: 100%;
    border: 10px solid #d0d3d8;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home .avatar{
    padding: 30px;
    border-width: 5px;
}

/** REAL ESTATE STAFF MODULE **/
#re_staff{
    background: #fcd9b1;
    padding:20px;
    color: #415173;
}
#re_staff h1{ margin-bottom: 1em}
#re_staff .user-tag {
    float:left;
    position:relative;
    width: 315px;
    min-height: 165px;
    box-sizing: content-box;
    padding: 10px 10px 10px 160px
}
#re_staff .avatar{
    position:absolute;
    top:10px;
    left:10px;
    height: 0;
    width: 0;
    padding:60px;
    border-radius: 100%;
    border: 10px solid #d0d3d8;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#re_staff .name{
    font-size: 150%;
}
.home #re_staff .user-tag {
    width: 181px;
    padding-left: 100px;
    font-size: .8em;
    min-height: 105px;
}
.home #re_staff .user-tag a{
    content: "";
    background-image: url(../images/mail-ico.png);
    display: inline-block;
    background-size: auto 100%;
    height: 15px;
    width:100px;
    background-repeat: no-repeat;
    overflow: hidden;
    font-size:0;
}
.home #re_staff .user-tag a:hover{
    background-image: url(../images/mail-ico_ho.png);
}
.home #re_staff .avatar {
    padding: 30px;
    border-width: 5px;
}
/**/

/** modulo info **/
#info_wrapper{
    float: left;
    border-radius: 5px;
    border: 1px solid #E4E4E4;
    padding: 10px;
    margin-bottom: 10px;
    overflow: auto;
}
#c_info_module{
}
#c_info_module table{
    width: 100%;
}
#c_info_module table td{
    padding: 0;
}
#c_info_module table td.mail_failed,
#c_info_module table td.mail_success{
    width: 235px;
    border-radius: 5px;
    padding: 5px;

}

#c_info_module table td.mail_failed{
    background-color: #ff6666;
    color: black;
}
#c_info_module table td.mail_success{
    background-color: #ccffcc;
    color: black;
}
#c_info_module table caption{
    margin:0 0 1em 0;
}
#c_info_module table input,
#c_info_module table select,
#c_info_module table textarea{
    box-sizing: content-box;
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #e4e4e4;
    background: white;
    border-style: solid;
    height: 27px;
    display: inline-block;
    width: 235px;
}
#c_info_module table textarea{
    height: 4em;
}
#c_info_module input[type="submit"]{
    border-width: 0px;
    background: #f78f1e;
    color: white;
    margin-top:1em;
}
/***/


/** modulo realestate direct **/
#re_direct{
    position:relative;
}
#re_direct .re_direct_panel.first{
    max-width: 300px;
    position: static;
    float:none;
}
#re_direct .re_direct_panel{
    float:left;
    box-sizing: border-box;
    width:46%;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    margin:2%;
}

#re_direct .re_direct_panel > div.stitle{
    background: #f3f3f3;
    border-right: 1px solid #e4e4e4;
    flex: 0 1 auto;
}

#re_direct .re_direct_panel > div{
    flex: 1;
    box-sizing: border-box;
    padding:20px;
}

#re_direct .re_direct_panel > div p{
    padding: 0 5px;
    color: #605F5D;
    margin:0;
}

#re_direct .re_direct_panel > div h2{
    color: #353535;
    margin:0;
    font-size: 1.2em;
}

#re_direct .re_direct_panel > div div{
    padding: 10px;
    box-sizing: border-box;
}

#re_direct .re_direct_panel input,
#re_direct .re_direct_panel textarea,
#re_direct .re_direct_panel select,
#re_direct .re_direct_panel a{
    box-sizing: border-box;
    padding: .4em;
    border-radius: 3px;
    border: 1px solid #e4e4e4;
    background: white;
    border-style: solid;
    height: 34px;
    line-height: 34px;
    display: inline-block;
    width: 100%;
}
#re_direct .re_direct_panel textarea{height: 70px; line-height: 27px}

#re_direct .re_direct_panel input[type="submit"],
#re_direct .re_direct_panel a{
    border-width: 0px;
    background: #f78f1e;
    color: white;
    padding: 0;
}

#re_direct .re_direct_panel a{
    text-align: center;
    display: block;
    text-decoration: none;
}

#re_direct .re_direct_panel input[type="submit"].sel,
#re_direct .re_direct_panel a.sel{
    outline: 3px solid #E0821D;
    outline-offset: 2px;
    box-shadow: -05px -05px 10px 5px #D37A1B inset;
}
/****/


/* == Stili di base - Mobile first ===== */
/** mobile */

#c_responsive_menu{
    position:relative;
    padding: .3em 0 .5em 0;
}
#c_responsive_menu img{
    height: 50px;
}
#c_responsive_menu ul{
    display: none;
    padding: 0;
}
#c_responsive_menu li{
    padding: .2em 0;
}
#c_responsive_menu li a{
    display: block;
    text-decoration: none;
}
#c_responsive_menu h2{
    width: 50px;
    height: 50px;
    background: url(../images/menu.png) left center no-repeat;
    background-size: contain;
    float: right;
    margin: 5px 0 0 0;
}
/* == Media queries (breakpoint) ===== */

@media only screen and (min-width: 480px){
    #c_responsive_menu img{height: auto;}
    #c_responsive_menu h2{
        height: 75px;
        width: 75px;
        margin-top: 21px;
    }

    #c_responsive_menu li{
        font-size: 1.3em;
        border-bottom: 1px solid rgba(236,149,34,.4);
    }
}

@media only screen and (max-width: 550px){
    #c_realestate_search > div .sitem,
    #c_ordering > div .sitem{display: block;}
    #c_realestate_search > div .sitem input,
    #c_realestate_search > div .sitem select,
    #c_ordering > div .sitem input,
    #c_ordering > div .sitem select{
        width: 100%;
        box-sizing: border-box;
    }
}

/* -----------------------------------
IPAD PORTRAIT
------------------------------------ */
@media only screen and (max-width: 769px) {

    .main-wrapper, .head-wrapper, .cont-wrapper, .footer-wrapper{min-width: 320px;}

    header{display: none;}

    #c_realestate_search input.big, #c_realestate_search select.big, #c_ordering input.big, #c_ordering select.big{
        width: 100%;
    }
    #c_realestate_search, #c_ordering {flex-direction: column;}

    #c_realestate_search .submit, #c_ordering .submit{vertical-align: center;}

    #c_realestate_search .stitle span,
    #c_ordering .stitle span{
        display: inline !important;
    }

    #c_re_boffers h2.title{
        background-image: url(../images/onda.png);
        background-position: left center;
    }

    #c_boxProposte .re_summaryitem{width: 100%}

    #re_direct .re_direct_panel{float:none;width:auto;}
    #re_direct .re_direct_panel.first{max-width: none;}

    #re_staff .name {
        font-size: 100%;
    }
    .home #re_staff .user-tag{
        padding-left: 90px;
    }
    #re_staff .user-tag{
        padding-left: 95px;
        min-height: 90px;
        width: 200px;
    }
    #re_staff .user-tag a {
        content: "";
        background-image: url("../images/mail-ico.png");
        display: inline-block;
        background-size: auto 100%;
        height: 15px;
        width: 100px;
        background-repeat: no-repeat;
        overflow: hidden;
        font-size: 0px;
    }
    #re_staff  .avatar{
        padding: 30px;
        border-width: 5px;
    }

    div.captcha{
        transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;
    }

    footer #bottom-menu, footer #custom{padding-left: 1em;}
}

.slider {
    position: relative;
    z-index: 500;
}
a.compraConNoi,a.vendiConNoi{
    position: absolute;
    display: block;
    margin: 10px;
    background: rgba(129,130,133,.7 );
    border-radius: 5px;
    box-sizing: border-box;
    padding: .2em .5em;
}
a.vendiConNoi{
    right: 0;
}
a.compraConNoi:hover,a.vendiConNoi:hover{
    text-decoration: none;
    background: rgba(247,143,30,1 );
    color: #67686B;
    text-shadow: 0 0 4px white;
}

body.sponsor #main{
	position: relative;
}

body.sponsor #main nav#sub{
	float:left;
	width: 210px;
	padding: 20px 0;
}

body.sponsor #main #content{
	margin-left: 220px;
}

/* -----------------------------------
IPAD LANDSCAPE + NETBOOK
------------------------------------ */
@media only screen and (min-width: 769px) {
    a.compraConNoi.ics, a.vendiConNoi.ics{
        background-repeat: no-repeat;
        background-size: auto 100%;
        font-size: 0;
        color: transparent;
        width: 194px;
        height: 105px;
        background-color: transparent;
    }
    a.compraConNoi.ics{background-image: url('../images/compra-con-noi-sm.png');}
    a.vendiConNoi.ics{background-image: url('../images/vendi-con-noi-sm.png');}

    a.compraConNoi.ics:hover, a.vendiConNoi.ics:hover{
    }
}

@media only screen and (min-width: 1024px) {
    a.compraConNoi.ics, a.vendiConNoi.ics{
        width: 246px;
        height: 165px;
    }
    a.compraConNoi.ics{background-image: url('../images/compra-con-noi.png');}
    a.vendiConNoi.ics{background-image: url('../images/vendi-con-noi.png');}
    footer #fb{width: 300px;}
}
@media only screen and (min-width: 1300px) {
    a.compraConNoi.ics, a.vendiConNoi.ics{
        width: 305px;
        height: 205px;
    }
    a.compraConNoi.ics{background-image: url('../images/compra-con-noi.png');}
    a.vendiConNoi.ics{background-image: url('../images/vendi-con-noi.png');}
    footer #fb{width: 350px;}
}

@media only screen and (max-width: 900px){
    #main-logo{
        left: 8px;
        max-height: 45px;
        max-width: 155px;
    }
}

@media only screen and (max-width: 1025px)  and (min-width: 901px) {
    #main-logo{
        left: 35px;
        max-height: 50px;
        max-width: 155px;
    }
}

@media only screen and (max-width: 1025px) {
    .main-wrapper, .head-wrapper, .cont-wrapper, .footer-wrapper{width: 97%}

    header > div {background-position: right 10px center;}

    #c_realestate_search > div,
    #c_ordering > div{
        font-size: 95%;
        padding: 10px;
    }
    #c_realestate_search > div .sitem,
    #c_ordering > div .sitem{padding: 5px;}

    #c_realestate_search .stitle span,
    #c_ordering .stitle span{
        display: block;
    }
    #c_realestate_search input, #c_realestate_search select, #c_ordering input, #c_ordering select {
        padding: 0.2em;
    }

    #c_re_boffers {
        padding-left: 70px;
        padding-right: 70px;
    }
    #c_re_boffers #prev-arrow,
    #c_re_boffers #next-arrow{
        width: 70px;
    }
    footer #fb{width: 250px;}
}

@media only screen and (max-width: 1200px){
    .ic {
        line-height: 27px;
        font-size: 15px;
    }
    .ic:before{
        width: 27px;
        height: 27px;
        line-height: 27px;
        margin-right: .3em;
    }
    #c_re_boffers .item{padding-bottom: 35px}

	body.sponsor #main nav#sub{
		width: 200px;
	}
	body.sponsor #main #content{
		margin-left: 210px;
	}
}

@media only screen and (max-width: 750px){
    footer #fb{width: 250px;}
	footer #web_master{font-size: 80%;}

	body.sponsor #main nav#sub{
		float: none;
		width: auto;
		padding:20px;
		border-radius: 8px;
		background-color: #e8edf0;
	}
	body.sponsor #main #content{
		margin-left: 0px;
	}
}

@media only screen and (max-width: 550px){
    #c_re_boffers {
        padding-left: 0;
        padding-right: 0;
    }
    #c_re_boffers #prev-arrow,#c_re_boffers #next-arrow{display: none;}

	body.sponsor #main nav#sub,
	body.sponsor #main #content{
		padding:10px;
	}
}

@media only screen and (max-width: 1500px) and (min-width: 1026px){
    .main-wrapper, .head-wrapper, .cont-wrapper, .footer-wrapper{
        width: 97%
    }

    header > div {background-position: right 10px center;}

    #main-logo{
        left: 40px;
        max-height: 65px;
        max-width: 200px;
    }
}

/* -----------------------------------
DESKTOP
------------------------------------
@media only screen and (min-width: 1200px){

}
*/