#sfondo {
    width: 308px;
    height: 400px;
}

.nav-glyphish-example .ui-btn { padding-top: 35px !important; }
.nav-glyphish-example .ui-btn:after { width: 30px!important; height: 30px!important; margin-left: -15px !important; box-shadow: none!important; -moz-box-shadow: none!important; -webkit-box-shadow: none!important; -webkit-border-radius: 0 !important; border-radius: 0 !important; }

.ui-icon-myHome:after {
    background: url("../Resources/img/house.png") 50% 50% no-repeat; background-size: 22px 22px;
    margin-top: -15px !important;
    width: 30px!important; height: 30px!important; margin-left: -15px !important; box-shadow: none!important; -moz-box-shadow: none!important; -webkit-box-shadow: none!important; -webkit-border-radius: 0 !important; border-radius: 0 !important;
}

#favoriteBtn:after { background:  url("../Resources/img/favorite.png") 50% 50% no-repeat;  background-size: 22px 22px; }
#infoBtn:after { background:  url("../Resources/img/info.png") 50% 50% no-repeat;  background-size: 22px 22px; }
#backBtn:after { background:  url("../Resources/img/previous.png") 50% 50% no-repeat;  background-size: 16px 16px; }
#noteBtn:after { background:  url("../Resources/img/blocco.png") 50% 50% no-repeat; background-size: 22px 22px; }
#indexBtn:after { background:  url("../Resources/img/ricette.png") 50% 50% no-repeat; background-size: 22px 22px;  }
#toolsBtn:after { background:  url("../Resources/img/toolbox.png") 50% 50% no-repeat;  background-size: 22px 22px; }
#faqBtn:after { background:  url("../Resources/img/faq.png") 50% 50% no-repeat;  background-size: 22px 22px; }
#searchBtn:after { background:  url("../Resources/img/search.png") 50% 50% no-repeat;  background-size: 22px 22px; }
#moreBtn:after { background:  url("../Resources/img/more.png") 50% 50% no-repeat;  background-size: 22px 22px; }
#settingsBtn:after { background:  url("../Resources/img/settings.png") 50% 50% no-repeat;  background-size: 22px 22px; }
#syncBtn:after { background:  url("../Resources/img/sync.png") 50% 50% no-repeat;  background-size: 22px 22px; }
#saveBtn:after { background:  url("../Resources/img/save.png") 50% 50% no-repeat;  background-size: 22px 22px;
    box-shadow: none!important; -moz-box-shadow: none!important; -webkit-box-shadow: none!important; -webkit-border-radius: 0 !important; border-radius: 0 !important;}

.loginfb {
    content: url('../Resources/img/fblogin.png');
    width: 200px;
}

.logoutfb {
    content: url('../Resources/img/fblogout.png');
    width: 200px;
}

.logingplus {
    content: url('../Resources/img/gpluslogin.png');
    width: 200px;
}

.logoutgplus {
    content: url('../Resources/img/gpluslogout.png');
    width: 200px;
}

#infoBtn {
    font-size: x-small;
}

#backBtn{
    font-size: x-small;
}

h1{
    text-align: center;
}

/*--------- Fix per FAQ ---------*/
h4.ui-collapsible-heading a{
    white-space: normal;
}

.ui-li-static.ui-collapsible > .ui-collapsible-heading {
    margin: 0;
}
.ui-li-static.ui-collapsible {
    padding: 0;
}
.ui-li-static.ui-collapsible > .ui-collapsible-heading > .ui-btn {
    border-top-width: 0;
}
.ui-li-static.ui-collapsible > .ui-collapsible-heading.ui-collapsible-heading-collapsed > .ui-btn,
.ui-li-static.ui-collapsible > .ui-collapsible-content {
    border-bottom-width: 0;
}


#faqList p
{
    word-wrap: break-word;
    white-space: normal;
    font-size: 16px;
}

/*--------- END Fix per FAQ ---------*/

div.ricettaTitolo{
    word-wrap: break-word;
    white-space: normal;
}

div.ricettaAutore{
    float:left;
    font-size: 13px;
    font-style: italic;
}

/*--------- gallery style ---------*/
.gallery { list-style: none; padding: 0; margin: 0; }
.gallery:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
.gallery li { float: left; width: 33.33333333%; }
.gallery li a { display: block; margin: 5px; border: 1px solid #3c3c3c; }
.gallery li img { display: block; width: 100%; height: auto; }

/*--------- END gallery style ---------*/

/*--------- Remove select possibility ---------*/
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

textarea {
    -webkit-user-select: auto !important;
}

.ui-input-search input{
    -webkit-user-select: auto;
}

.ui-input-text input{
    -webkit-user-select: auto;
}

input[type=text] {
    -webkit-user-select: auto;
}

input[type=number] {
    -webkit-user-select: auto;
}

input[type=password] {
    -webkit-user-select: auto;
}

.ui-footer .ui-navbar .ui-btn {
    font-size: x-small;
}

.ui-page-theme-a .ui-footer .ui-navbar .ui-btn{
    background-image: url('sfondo-a.png');
}

.ui-page-theme-a .ui-bar-inherit{
    background-image: url('sfondo-a.png');
}

.ui-page-theme-b .ui-footer .ui-navbar .ui-btn{
    background-image: url('sfondo.png');
}

.ui-page-theme-b .ui-bar-inherit{
    background-image: url('sfondo.png');
}

.ui-page-theme-c .ui-footer .ui-navbar .ui-btn{
    background-image: url('sfondo.png');
}

.ui-page-theme-c .ui-bar-inherit{
    background-image: url('sfondo.png');
}

.ui-page-theme-a .ui-footer .ui-navbar .ui-btn.ui-btn-active{
    background-color: white;
    border-color: #42609F;
    text-shadow: 0 1px 0 #42609F;
    background-image: url('sfondo_selected-a.png');
}

.ui-page-theme-b .ui-footer .ui-navbar .ui-btn.ui-btn-active{
    background-color: white;
    border-color: black;
    text-shadow: 0 1px 0 black;
    background-image: url('sfondo_selected.png');
}

.ui-page-theme-c .ui-footer .ui-navbar .ui-btn.ui-btn-active{
    background-color: white;
    border-color: black;
    text-shadow: 0 1px 0 black;
    background-image: url('sfondo_selected.png');
}


/*--------- END Remove select possibility ---------*/

label.error {
    color: red;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
    margin-top: 0.5em;
    width: 100%;
    float: none;
}