@font-face
{
  font-family: 'avenir';
  src:  url('fonts/avenir.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html, body
{
	font-family: 'avenir' !important;
}



#update
{
    float: right;
    margin: 10px;
}

#sidebar
{
    width: 310px;
    position: fixed !important;
    height: 100%;
    background-color: #1C1C1C;
    padding: 5px;
}

nav
{
    margin-left: 310px;
    border-radius: 0 !important;
    margin-bottom: 10px !important;
}

main
{
    margin-left: 310px;
    padding: 5px;
    height: calc(100% - 60px);
    position: fixed;
    overflow: scroll;
    width: calc(100% - 310px);
    padding-right: 15px;
}

.has_content button span
{
    color: red;
}

.btn-info:hover, .btn-info:focus
{
    background-position: 0! important;
}

#date
{
    position: fixed;
    bottom: 0px;
    height: 260px;
}

#lists
{
    overflow-y: scroll;
    height: calc(100% - 260px);
    padding-right: 15px;

#new_topic input
{
    width: 200px;
}

#new_topic span
{
    float: right;
    font-size: 18pt;
}

.del_topic
{
    float: right
}

.ta-scroll-window
{
    height: calc(100% - 40px) !important;
}

.ta-scroll-window div.ta-bind
{
    height: 100% ;
}


div.ta-root, #edit, main>div
{
    height: calc(100% - 55px) !important;
}

.ta-editor.ta-html, .ta-scroll-window.form-control
{
    height: calc(100% - 70px) !important;
}

.ta-bind
{
    height: 100%;
}

#read
{
    border: 1px solid #cccccc;
    border-radius: 4px;
    width: calc(100% - 320px);
    position: fixed;
    height: calc(100% - 75px);
    padding: 5px;
}
