/* iphone 640x960 pixels wide, 680 => 5x128     960 => 5 x 3 x 64  */


body
{
    margin: 0;
    padding: 0px;
    font-family: 'Trocchi', serif;
    /*width: 680px;*/

}

div
{
    float : left;
}

h1
{
    margin: 0;
    margin-left: auto;
    margin-right: auto;

}

.cat 
{
    width: 630px;
    margin: 0px;
    padding: 25px;
    text-align: center;
}

.cat > div 
{
    width: 265px;
    height: 265px;
    margin: 25px;
    padding: 0px;
    background-color: rgb( 240,240,240);
    display:inline-block;
    position: relative;
    font-size: 40px;
    line-height: 6.6em;
}

#who div
{
    font-size: 80px;
    line-height: 3.3em;
}


.cat .text 
{
    width: 580px;
    text-align: left;    
    line-height: 1em;
}

.cat .text p
{
    margin: 25px 25px 0px 25px;    
}

.cat .text textarea
{
    margin: 25px;
    width: 525px;
    height: 150px;
}

.cat #notes textarea
{
    margin: 25px;
    width: 525px;
    height: 215px;
}


.cat > .selected
{
    background-color: rgb(42,25,89);
    color: white;
    -webkit-box-shadow: 0px 0px 50px rgba(99,0,114, .5);
    -webkit-text-shadow: 0 0 5px rgb(255,255,255);
}


/** thanks http://bavotasan.com/2011/style-select-box-using-only-css/ */
select
{
    font-family: 'Trocchi', serif;
    width: 200px;
    background: transparent;
    font-size: 40px;
    height: 100px;
    line-height: 1em;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    text-align: right;
    padding: 10px;
}

#time select
{
    width: 25px;
    margin: 0;
    padding: 0;
}

#time #hour
{
    width: 50px;
    margin: 0;
    padding: 0;
}


#submit
{
    margin-left: 182px;
    color: rgb(200,200,200);
}

#submit.active
{
    background-image: linear-gradient(to bottom, rgb(42,25,89), rgb(99,0,114));
    background-image: -webkit-linear-gradient(top, rgb(42,25,89), rgb(99,0,114));

    color: white;
}

#result
{
    width: 580px;
    margin-left: 25px;
    margin-bottom: 50px;
}

.problem
{
    -webkit-box-shadow: 0px 0px 50px rgba(189,7,16, .5);

}

dl
{
    text-align: left;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
}

.cat .add-button
{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 180px;
    height: 20px;
    font-size: 18px;
    line-height: 1em;
    text-align: right;
    color: rgb(180,180,180);
    font-family: 'Lato', sans-serif;
    font-style: italic;
    font-weight: bolder;
    background-color: rgba(255,255,255,0);
    padding: 25px;
    opacity: 0;

}


.cat .selected .add-button
{
    opacity: 1;
}
