*{
    box-sizing: border-box;
}
html,
body{
    font-family: arial, helvetica, sans-serif;
}

body{
    background-color: #FFF;
}

h1{
    font-size: 2em;
    color: #444;
    background-color: #FFF;
    padding: 10px 10px 10px 20px;
}

h2{
    font-size: 2em;
    color: #444;
    background-color: #FFF;
    padding: 10px 10px 10px 20px;
}

h3{
    font-size: 1.5em;
    color: #444;
    background-color: #FFF;
    padding: 10px 10px 10px 20px;
}

.icon{
    width: 48px;
    height:48px;
    background:url(../_img/icons_48.png?V3);
    display: inline-block;
}

.inlinetasks{
    margin-top: -12px;
}

.edit{
    background-color: rgba(0, 124, 194, 0.60);
    background-position: 0 -144px;
    cursor: pointer;
}


.checkbox{
    background-color: #737373;
    cursor: pointer;
    opacity: 0.5;
    background-position: 0px -190px;
}

.checkbox:hover{
    background-color: #8a8a8a;
}

.checkbox.checked{
    background-color: #4cbd1b;
    opacity: 1;
}

.checkbox.checked:hover{
    background-color: #54d11d;
}

.listitem{
    padding: 17px 10px 12px 60px;
    border-bottom: 1px dotted #CCC;
    background-color: #FFF;
    font-size: 1.5em;
    color: #666;
    display: block;
}

.listitem:hover{
    background-color: #EEE;
    cursor: pointer;
}

/*
.listitem:before{
       content:"";
       float:left;
       width:48px;
       height:48px;
       margin:-8px 5px 0 0;
       background:url(../_img/icons_48.png);
       opacity: 0.5;
}
*/


.listitem.user{
    color:white;
    background-color: #263894;
    border-bottom: 4px dotted rgba(255,255,255,0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.listitem.user i.fa{
    font-size: 40px;
    margin-right: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.listitem.user.loading i.fa{
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

.listitem.user.loading i.fa:before {
    content: "\f021";
}

.listitem.user.red{background-color: darkred}
.listitem.user.red:hover{background-color: #b90000}
.listitem.user.orange{background-color: darkorange}
.listitem.user.orange:hover{background-color: #ffaa1d}
.listitem.user.yellow{background-color: gold}
.listitem.user.yellow:hover{background-color: #ffec34}
.listitem.user.yellowgreen{background-color: yellowgreen}
.listitem.user.yellowgreen:hover{background-color: #afdf40}
.listitem.user.green{background-color: #008100}
.listitem.user.green:hover{background-color: #00a400}
.listitem.user.blue{background-color: #263894}
.listitem.user.blue:hover{background-color: #3049b0}
.listitem.user.purple{background-color: #503494}
.listitem.user.purple:hover{background-color: #603dae}
.listitem.user.violet{background-color: #851c64}
.listitem.user.violet:hover{background-color: #9c2684}


.button{
    background-color: #555;
    padding: 10px;
    display: inline-block;
    text-align: center;
    color: #FFF;
    font-size: 1.5em;
}

.button:hover{
    background-color: #777;
    cursor: pointer;
}

.withicon{
    padding: 10px 16px 10px 58px;
    background-image: url("../_img/icons_48.png");
    background-repeat: no-repeat;
}

.back{
    background-position: 0 -336px;
}

.button.save,
.button.green,
.button.reserve,
.button.undoreserve{
    background-color: #40a851;
    background-position: 0 -288px;
}

.button.save:hover,
.button.green:hover,
.button.reserve:hover,
.button.undoreserve:hover{
    background-color: #4bc45e;
    cursor: pointer;
}

.button.delete{
    background-color: #a86208;
}

.button.delete:hover{
    background-color: #c27508;
}

.button.buy,
.button.undobuy{
    background-color: #e58809;
}

.button.buy:hover,
.button.undobuy:hover{
    background-color: #fe9c09;
}

.button.edit{
    background-color: #427fd1;
}

.button.edit:hover{
    background-color: #4792ec;
}

a:link{
    text-decoration: none;
}

.form label{
    width:20%;
    border-bottom: 1px dotted #CCC;
    display: inline-block;
    font-size: 1.5em;
    height: 32px;
}

.form label.inline{
    width:auto;
    border-bottom: none;
    display: inline-block;
    font-size: 1em;
}

.form textarea.inputbox{
    width:78%;
    font-size: 1.5em;
    height: 100px;
    background-color: #F8F8F8;
    padding: 2px;
}

.inputbox{
    width: 100%;
    padding: 10px;
    margin: 8px 0;
}

#itemform .inputbox{
    margin-bottom: 10px;
    border-bottom: 1px solid #CCC;
}

#itemform textarea{
    border-bottom: 1px solid #CCC;
}


/* background colors */

.blue,
.cell.blue{
    background-color: rgba(0, 124, 194, 0.60);
}

.yellow,
.cell.yellow{
    background-color: rgba(185, 194, 3, 0.60);
}

.red,
.cell.red{
    background-color: rgba(205, 29, 0, 0.75);
}

.orange,
.cell.orange{
    background-color: rgba(194, 62, 0, 0.60);
}

.green,
.cell.green{
    background-color: rgba(34, 194, 0, 0.60);
}

.gray,
.cell.gray{
    background-color: rgba(80, 80, 80, 0.60);
}

h2.blue{
    border-bottom: 2px solid rgba(0, 124, 194, 0.60);
    background-color: white;
}

h2.blue .handle{
    background-color: rgba(0, 124, 194, 0.60);
    height: 58px;
}

h2.green{
    border-bottom:2px solid rgba(34, 194, 0, 0.60);
    background-color: white;
}

h2.green .handle{
    background-color: rgba(34, 194, 0, 0.60);
    height: 58px;
}

h2.red{
    border-bottom:2px solid rgba(205, 29, 0, 0.60);
    background-color: white;
}

h2.red .handle{
    background-color: rgba(205, 29, 0, 0.60);
    height: 58px;
}

h2.orange{
    border-bottom:2px solid rgba(194, 62, 0, 0.60);
    background-color: white;
}

h2.orange .handle{
    background-color: rgba(194, 62, 0, 0.60);
    height: 58px;
}

h2.gray{
    border-bottom:2px solid rgba(80, 80, 80, 0.60);
    background-color: white;
    color: #999;
}

h2.gray .handle{
    background-color: rgba(80, 80, 80, 0.60);
    height: 58px;
}


/* dialog */


.dialog{
    position: relative;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    margin: 50px auto;
}

.dialog.blue{
    background-color: #263894;
}

.dialog.blue h1{
    color: white;
    background-color: transparent;
}


#dialog{
    position: fixed;
    width: 100%;
}

#dialog .centered{
    width: 500px;
    height: 220px;
    background-color: #ffffff;
    margin: 100px auto;
    padding: 10px;
    box-shadow: 0px 0px 100px rgba(0,0,0,0.9);
}

.centertext{
    text-align: center;
    font-size: 0.9em;
    color: #888;
}

#dialog .message{
    text-align: center;
    font-size: 1.5em;
    color: #666;
    margin-top: 30px;
}

#dialogbuttons{
    position: absolute;
    margin-top: 150px;
    margin-left: 10px;
}

#dialog .button{
    width: 200px;
    display: block;
    float: left;
    margin: 10px;
}


.listitem.wishlistitem{
    font-size: 1em;
    position: relative;
    min-height: 64px;
}

.listitem.wishlistitem i.fa{
    font-size: 2em;
    float: left;
    margin-right: 8px;
    margin-top: -8px;
}

.listitem.wishlistitem ul{
    list-style: disc;
    margin-left: 10px;
}

.listitem.wishlistitem .image{
    float: right;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: top right;
    background-repeat: no-repeat;
    margin: -10px -10px 0px 10px;
}

.listitem.wishlistitem.hasimage{
    min-height: 110px;
}



.listitem.wishlistitem .undoreserve,
.listitem.wishlistitem .undobuy{
    display: none;
}

.listitem.wishlistitem.isreserved{
    background-color: #e4ffe2;
    background-image: url("../_img/reserved.png");
    background-repeat: no-repeat;
    background-position: top left;
}

.listitem.wishlistitem.isreserved i.fa{
    color: green;
}

.listitem.wishlistitem.issold{
    background-color: #fff6ce;
    background-image: url("../_img/sold.png");
    background-repeat: no-repeat;
    background-position: top left;
}

.listitem.wishlistitem.issold i.fa{
    color: #c30000;
}

.listitem.wishlistitem.isreserved .undoreserve{
    display: inline-block;
    font-size: 0.8em;
}
.listitem.wishlistitem.isreserved .reserve{
    display: none;
}

.listitem.wishlistitem.issold .undobuy{
    display: inline-block;
    font-size: 0.8em;
}
.listitem.wishlistitem.issold .buy{
    display: none;
}

.listitem.wishlistitem.istitle{
    border-bottom: 1px solid #CCC;
}

.listitem.wishlistitem.istitle .content{
    font-size: 1.5em;
    font-weight: bold;
    margin-left: -10px;
}

.listitem.wishlistitem.istitle small{
    font-size: 15px;
    font-weight: normal;
}

.listitem.wishlistitem.istitle i{
    display: none;
}

.listitem.wishlistitem.isintro{
    padding: 17px 10px 12px 30px;
}

.listitem.wishlistitem.isintro .reserve,
.listitem.wishlistitem.isintro .undoreserve,
.listitem.wishlistitem.isintro .buy,
.listitem.wishlistitem.isintro .undobuy,
.listitem.wishlistitem.isintro i.fa{
    display: none;
}

.wishlistitem .buttons{
    display: block;
    position: absolute;
    top: 4px;
    right: -400px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.wishlistitem.active .buttons{
    right: 0;
}

.wishlistitem .buttons .button{
    font-size: 1.2em;
}

.wishlistitem textarea,
.additemform textarea{
    width: 100%;
    min-height: 160px;
    padding: 10px
}

.listitem.additem:before{
    display: none;
}

.listitem.additem .button.add{
    background-color: white;
    border: 1px solid grey;
    height: 48px;
    width: 48px;
    border-radius: 24px;
    background-image: url("../_img/add.png?v2");
    background-repeat: no-repeat;
    background-position: center center;
}

#itemform .button{
    font-size: 0.9em;
}

.additemform{
    padding-left: 60px;
}

.additemform .button.delete{
    display: none;
}

.thisisme .listitem.wishlistitem.isreserved .undoreserve,
.thisisme .listitem.wishlistitem.undoreserve,
.thisisme .listitem.wishlistitem .reserve,
.thisisme .listitem.wishlistitem.issold .undobuy,
.thisisme .listitem.wishlistitem.undobuy,
.thisisme .listitem.wishlistitem .buy{
    display: none;
}

.thisisme .listitem.wishlistitem.isreserved,
.thisisme .listitem.wishlistitem.issold{
    background: white;
}

.thisisme .listitem.wishlistitem.isreserved:hover,
.thisisme .listitem.wishlistitem.issold:hover{
    background-color: #EEE;
}

.thisisme .listitem.wishlistitem.isreserved i.fa,
.thisisme .listitem.wishlistitem.issold i.fa{
    color: #666;
}


/* error */
.errorbox{
    background-color: #ffede3;
    color: #9d0000;
    padding: 8px;
    width: 100%;
}

/* sortable */

.sortable-placeholder{
    background-color: silver;
    height:80px;
    width: 100%;
}

.sortable-dragging{
 height: 50px;
}


/* intro */

#introbox{
    background-color: #263894;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    padding: 17px 10px 12px 60px;
}

#introbox h4{
    font-size: 12px;
    padding: 0;
    margin: 0;
}

#introbox h1{
    font-size: 40px;
    background-color: transparent;
    color: white;
    padding: 10px 10px 20px 0;
}

#footerbox{
    padding: 30px 10px;
    text-align: center;
    color: #878787;
}


#userbox{
    background-color: #152c63;
    color: white;
    padding: 17px 10px 12px 60px;
}

#userbox h1{
    background-color:transparent;
    color: white;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

#userbox h1 i{
    font-size: 28px;
}

#userbox .subbutton{
    float: right;
    background-color: rgba(34, 17, 84, 0.8);
    font-size: 13px;
    padding: 4px 10px 4px 50px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: -40px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.8);
}

#userbox .subbutton i{
    position: absolute;
    font-size: 30px;
    margin-left: -35px;
}

#userbox .subbutton:hover{
    background-color: white;
    color: rgba(34, 17, 84, 0.8);
    cursor: pointer;
}

#userbox #buyfor{
    display: none;
    text-align: center;
    clear: both;
    padding: 20px;
    margin: 20px;
    border: dotted 4px rgba(255, 255, 255, 0.4);
} 

#userbox .kids{
    font-size: 14px;
    padding: 10px;
    color: #aeb6c9;
    margin-bottom: 10px;
}


#userbox #buyfor h2{
    background-color: transparent;
    color: white;
    font-size: 40px;
} 

#userbox #buyfor .button{
    padding: 10px 40px;
    background-color: #3a598a;
}

#userbox #buyfor .button:hover{
    background-color: #496ca2;
}

@media screen and (max-width: 540px) {
    #userbox .subbutton{
        float: none;
        margin-top: 10px;
    }
  }






