﻿/*
 * MyThoS application CSS 1.0.0
 *
 * Copyright 2013, A.G.
 *
 *  
 *   @Contents:
 *   
 *      1) Html + Body
 *      2) Navbar
 *      3) Header
 *      4) Content
 *      5) Footer
 *      6) Normalize
 *      7) Elements
 *
 **/
/* Html + Body 
 ----------------------------------*/
html
{
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
    height: 100%;
}

body
{
    background-color: #e2e2e2;
    color: #333;
    margin: 0;
    padding: 0;
    height: 100%;
    font-size:20px;
}
body, input, textarea, pre, button{
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
}
input, textarea, pre, button, div {
    font-size: 1em;
}

/* Helpers */
div.inline-wrap { display:inline; }
div.block-wrap { display:block; line-height:0px; }

/* Page header, Navbar, Header, Content, Footer 
----------------------------------*/

.header, .content
{
    text-align: center;

}
/* Page header, footer*/
.page-header, .page-footer
{
    position: absolute;
    left: 0px;
    background: #213f99 url(/content/img/page-header.png) repeat-x;
    
    width: 100%;
    color: white;
    height: auto;
}

/* Page header, Navbar */
.float-container { overflow:hidden;}
.page-header
{
    top: 0px;
    background-position: 0px bottom;
}
.page-header .float-container {
    padding: 0.5em;
}

    .page-header A
    {
        height: 1.4em;
        display: inline-block;
        text-align: center;
        
    }

        .page-header A img
        {
            height: 1.4em;
        }

        
.bar .right
{
    float: right;
    
}
.bar .right a { margin-left:1em; float:left;}
.bar .left
{
    float: left;
    
}
.bar .left a { margin-right:1em;}

.bar .middle
{
    text-align: left;
}


/* Header */
.header
{
    position: absolute;
    top: 3em;
    width: 100%;
}
.header .float-container {
    padding: 1em;
    
}

h1
{
    font-size: 1.3em;
    margin: 0px;
}

.header h1
{
    display: inline-block;
    background: transparent url(/Content/img/thought-48.png) no-repeat left center;
    -moz-background-size: contain;
    -o-background-size: contain;
    -webkit-background-size: contain;
    background-size: contain;
    padding-left: 60px;
    line-height: 1.8em;
}

    .header h1 u
    {
        text-decoration: none;
        color: olivedrab;
    }
    .header h1 i { font-style:normal; color: whitesmoke;}
/* Page wrapper */
.page-body
{
    overflow: auto;
    position: absolute;
    top: 8em;
    bottom: 1.5em;
    width: 100%;
}
/* Content */
.content
{
    top: 9em;
    bottom: 2em;
}

/* Page footer */
.page-footer
{
    position: absolute;
    bottom: 0px;
   
    font-size: 0.6em;
    background-position: 0px 90%;
  
    
}
.page-footer .float-container {
    padding: 0.5em;
    line-height: inherit;
}
/* Normalize 
----------------------------------*/
.radius, html body input.radius
{
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
}
a { cursor:pointer; }
.border-box
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
input[type=text]
{
    border: solid 1px silver;
}

input, textarea, a, select, form, button 
{
    outline: none 0px;
}

/* Links ---------------------- */
a { color: #2ba6cb; text-decoration: none; line-height: inherit; border: 0px none}

a:hover { color: #2795b6; }

a:focus { color: #2ba6cb; outline: none; }
a img { border: 0px none}

/* Elements
 ----------------------------------*/
/* Thoughts list*/
.list
{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10;
    height: 100%;
    width:100%;
    overflow: auto;
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    border: solid 1px gray;
   
    font-size: 0.7em;
}
.list .float-container {
    padding:1em;
}

    .list .thought
    {
        margin:0 0 1em 0;
        text-align: left;
        padding: 0.3em 1em;
        border: dotted 1px gray;
        cursor: pointer;
    }

        .list .thought .close-button
        {
            float: right;
        }

        .list .thought:hover
        {
            background-color: whitesmoke;
        }
/* Form, input */
.input-form
{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 0px;
    left: 0px;
}

.input-form .input-container {
    width:80%;
    height:2.5em;
    margin-left:auto;
    margin-right:auto;
    position:relative;
    
}
    .input-form .text-input
    {
        position: absolute;
        left: 0px;
        right: 0px;
        margin-bottom: 0px !important;
        padding: 0.5em 2em 0.5em 1em;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
        width:100%;
    }
.input-form .save {
    position:absolute;
    right:0.5em;
    top:0.5em;
}
.input-form .save img, .message img {
    --height:1.5em;
    vertical-align:top;
    
}
/* Input Preview */
.input-preview
{
    position: relative;
    top: 0.5em;
    width: 80%;
    text-align: left;
    font-size: 0.6em;
    margin-left:auto;
    margin-right: auto;
}

    .input-preview .key-value
    {
        padding: 0.15em 0px;
    }

        .input-preview .key-value b
        {
            color: gray;
        }

    .input-preview .prosa
    {
        padding: 5px;
        background-color: #f6eaa3;
        -webkit-text-shadow: 1px 1px #fff;
        -moz-text-shadow: 1px 1px #fff;
        text-shadow: 1px 1px #fff;
    }


/* Log */
#Log
{
    position: absolute;
    right: 0px;
    bottom: 2.3em;
    height: 5em;
    width: 75%;
    overflow: auto;
    background: white;
    z-index: 9;
    padding: 0.8em;
    font-size:0.5em;
    font-family:Tahoma;
}

    #Log p
    {
        margin: 0px;
        
    }

/* Forms */
.form-panel {
    margin-left: auto;
    margin-right: auto;
    /*border: solid 1px #cccccc;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.10);*/
    border-radius:2px;
}

/* Login view */
.login-form
{
    
    background-color: #e2e2e2;
    width: 100%;
    z-index: 10;
    height: 100%;
    overflow: auto;

    position: absolute;
    top: 0;
    left: 0;
    bottom:0px;
}

    .login-form .login-panel {
        width: 60%;
    }
    
    .login-form .inner
    {
       /*padding:2em;*/
       
    }

    .login-form .row
    {
        padding: 0 0 0.3em 0px;
        width: 100%;
        position:relative;
        white-space: nowrap;
    }
    .message span {
        white-space: normal;
    }
    .message .error {
        color: red;
        text-align:center;
    }
    .message .success {
        color:green;
        text-align:center;
    }
    .login-form * /*input, .login-form button,.login-form .message,.login-form .button */
    {
        
        outline:0px none;
    }
    .login-form .message
    {
        padding: 0.5em 0;
        width: 100%;
        text-align:center;
        font-size:0.9em;
    }
    
    .login-form .input-cell-1 {
        width:100%;
        float:left;
    }
    .login-form .input-cell-2 {
        width:6em;
        position:absolute;
        right:0px;
        top:0em;
        
    }
    .login-form input.input {
        padding-left:2em;
        display:block;
        background-repeat:no-repeat;
        background-position:0.3em center;
        width:90%;
    }
    
   
    .login-form .login-name {
        background-image: url(/Content/img/input-username.png) ;
    }
    .login-form .email {
        background-image: url(/Content/img/email.png) ;
    }
    .login-form .password {
        background-image: url(/Content/img/input-password.png);
    }
   .login-form .input-row {
       overflow:hidden;
   }
    .login-form .input-row button
    {
        display: block;
        width: 100%;
        color: #bdacac;
        font-weight: bold;
        background: #F7F7F7 url(/Content/img/button-border.png) no-repeat -30px center;
        border-left: 0px none;
      
        -webkit-border-radius: 0 1em 1em 0;
        -moz-border-radius: 0 1em 1em 0;
        border-radius: 0 1em 1em 0;
        padding-right:0.5em;
        text-align:right;
        -webkit-box-shadow: 2px 0 1px -2px rgba(0, 0, 0, 0.10);
        -moz-box-shadow: 2px 0 1px -2px rgba(0, 0, 0, 0.10); 
        box-shadow: 2px 0 1px -2px rgba(0, 0, 0, 0.10);
    }
    .login-form .input-row button:hover {
        color:gray;
        background-color:#cccccc;
    }
    .login-form .login-button .button {
       
        width:100%;
        
         -webkit-border-radius: 1em;
        -moz-border-radius: 1em;
        -ms-border-radius: 1em;
        -o-border-radius: 1em;
        border-radius: 1em;
    }
    
    /* INput fields */
    .login-button button, .buttons button {
         padding:0.3em 0 0.5em 0;
    }
button { 
    padding:0.5em;
    cursor:pointer;
}
input.input, button 
{
    border: 1px solid #cccccc;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    -ms-border-radius: 1em;
    -o-border-radius: 1em;
    border-radius: 1em;
   
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.10);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 0.75);
    -webkit-transition: all 0.15s linear;
    -moz-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    transition: all 0.15s linear;
    
}
input.input {
    padding:0.5em;
}
/* Buttons */
.button
{
    width: auto;
    background: #2ba6cb;
    border: 1px solid #1e728c;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    color: white;
    cursor: pointer;
    display: inline-block;
  
    font-weight: bold;
    
    margin: 0;
    outline: none;
  
    text-align: center;
    text-decoration: none;
    -webkit-transition: background-color 0.15s ease-in-out;
    -moz-transition: background-color 0.15s ease-in-out;
    -o-transition: background-color 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out;
}
.icon-button {
    
}
/* User info*/
.page-header .login-user-name {
    font-size:0.5em;
    color:white;
}
.anonymous .page-header .login-user-name{
    display:none;
}
.logged .page-header .login-user-name{
    display:inline;

}
.logged .page-header A.login img
{
    height: 1em;
}

/* My account */
.my-account {
    width:80%;
}
.my-account .row {
    position: relative;
}
.my-account .input-cell-1, 
.my-account .input-cell-1 .input {
    position:relative;
    right:0px;
    left:0px;
    display:block;
    z-index:1;
    
}

    .my-account .input-cell-0
    {
        position: absolute;
        left: 0px;
        z-index: 2;
        width: 6em;
        line-height: 2.7em;
        padding-left: 2em;
        color: #2ba6cb;
    }
   
    
    .my-account .input-cell-1 .input
    {
        padding-left:8em;
        width:100%;
    }
    .register-panel .input-cell-1 .input {
        width:100%;
    }
    .my-account .buttons
    {
        text-align: center;
    }
    .my-account .buttons .button {
        min-width:7em;
    }
    .my-account .button-save {
       
    }
    .register-panel .button-ok{
        display:none;
    }
    .register-done .button-ok{
        display:inline-block;
    }
    .register-done .button-cancel,
    .register-done .button-save,
    .register-done .input-row {
        display:none;
    }

     .my-account .buttons img {
        display:none;
    }
    .saving .buttons img { display:inline; }
    .saving .buttons .button { display: none; }