﻿html, body {
    height: 100%;
    background-color: #fff;
    padding: 0px;
    margin: 0px;
}

html, body, input, button, select, textarea {
    font-family: Verdana, sans-serif;
    font-size: 18px;
    color: #333;
}

#page-wrap {
    padding: 0 0 50px 0;
    box-sizing: border-box;
    min-height: 100%;
}

#header {
    margin: 0px;
    background-color: #fff;
}

    #header .logo {
        display: inline-block;
        margin: 10px;
    }

    #header .title {
        display: inline-block;
        padding: 5px;
        vertical-align: top;
    }

        #header .title h1 {
            color: #01449b;
            font-size: 30px;
            text-align: left;
            padding: 0px;
            margin: 0px;
        }

#logindisplay {
    float: right;
    padding: 4px 10px 4px 10px;
    color: #fff;
}

    #logindisplay a {
        color: #fff;
    }

#menucontainer {
    padding: 0px;
}

ul#menu {
    padding: 0px;
    margin: 0px;
    background-color: #01449b;
}

    ul#menu li {
        display: inline-block;
        padding: 4px;
    }

    ul#menu a {
        color: #fff;
        text-decoration: none;
        padding: 4px;
    }

        ul#menu a:hover, ul#menu li.current a {
            background-color: #58bada;
        }

#main {
    padding: 0px 10px 30px 10px;
}

#footer {
    box-sizing: border-box;
    font-size: 12pt;
    color: #fff;
    background-color: #01449b;
    height: 50px;
    padding: 15px 10px 10px 10px;
    margin-top: -50px;
}


h2 {
    margin-bottom: 16px;
    color: #01449b;
    line-height: 1.1;
    font-size: 30px;
    text-align: left;
}

.text-strong, strong, b {
    font-weight: bold;
}

.text-italic, i, em {
    font-style: italic;
}

.text-primary {
    color: #01449b;
}

.text-light {
    color: #58bada;
}

.text-danger {
    color: #9b0101;
}

.text-warning {
    color: #f0a900;
}

.text-success {
    color: #02c321;
}

.text-grey {
    color: #7b7b7b;
}

a, a:link, a:hover, a:visited {
    font-style: normal;
    color: #004e9f;
    text-decoration: underline;
}

    a:hover {
        color: #47ceff;
    }

    a.link_nounderline {
        text-decoration: none;
    }

        a.link_nounderline:hover {
            color: #47ceff;
            text-decoration: underline;
        }


p {
    margin-top: 0px;
    margin-bottom: 10px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border-left-style: none;
    border-right-style: none;
    border-bottom: none;
    border-top: 1px solid #c2c2c2;
    background-color: #c2c2c2;
    height: 2px;
}

/* BUTTONS */
.btn {
    -webkit-appearance: none;
    -webkit-border-radius: unset;
    display: inline-block;
    box-sizing: border-box;
    color: #fff;
    background-color: #01449b;
    outline: none;
    border: none;
    border-radius: 4px;
    padding: 6px 16px 10px 16px;
    vertical-align: baseline;
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    letter-spacing: normal;
    line-height: 1;
    cursor: pointer;
    margin-left: 10px;
    margin-right: 10px;
}

.btn:first-child {
    margin-left: 0;
}

.btn:last-child {
    margin-right: 0;
}

a.btn {
    color: #fff;
    background-color: #01449b;
    text-decoration: none;
}

/*TODO: link*/

.btn:hover {
    color: #fff;
    background-color: #58bada;
    text-decoration: none;
}

.btn.btn_secondary {
    background-color: #c1c1c1;
    color: #333;
}

    .btn.btn_secondary:hover, .btn.btn_secondary:active {
        background-color: #dadada;
    }

.btn.btn_danger {
    background-color: #9b0101;
}

    .btn.btn_danger:hover, .btn.btn_danger:active {
        background-color: #da5858;
    }

.btn.btn_inline {
    padding: 4px 16px 5px 16px;
    border-radius: 2px;
}

.btn.btn_details {
    padding: 3px 9px 4px 9px;
    font-size: 16px;
}

.buttons {
    margin-top: 3px;
    margin-bottom: 3px;
}

.form.form_card {
    border-style: solid;
    border-color: #01449b;
    border-width: 3px;
    padding: 21px 26px;
    margin-bottom: 28px;
}

    .form.form_card h2:first-of-type {
        margin-top: 0;
    }

    .form.form_card .form-buttons:last-of-type {
        margin-bottom: 0;
    }

/* Styles for basic tables
-----------------------------------------------------------*/

/*table.tprop*/
table.tprop {
    /*width: 650px;*/ /* fixed */
    margin: 12px 0 12px;
    padding: 0;
    border-collapse: collapse;
    /*border-top: 1px solid #39f;*/
    border-bottom: 1px solid #c1c1c1;
}

    table.tprop th {
        text-align: left;
        width: 200px;
    }

    /*table.tprop th.ttitle
{
    background-color: #E5E5E5;
    font-weight: bold;
    text-align: left;
    padding: 4px 3px 3px 3px;
}
table.tprop th.subtitle
{
    background-color: #f1f1f1;
    font-weight: bold;
    text-align: left;
    padding: 4px 3px 3px 3px;
}*/

    table.tprop th, table.tprop td {
        vertical-align: top;
        padding: 4px 3px;
        border-top: 1px solid #c1c1c1;
    }

/*tlist*/
table.tlist {
    border-collapse: collapse;
}

    table.tlist td {
        padding: 5px;
        border: solid 1px #c1c1c1;
    }

        table.tlist td.subtotal {
            font-weight: bold;
        }

    table.tlist th {
        padding: 6px 5px;
        text-align: left;
        background-color: #c1c1c1;
        border: solid 1px #c1c1c1;
        width: auto;
    }


div.pager {
    margin-top: 5px;
    margin-bottom: 5px;
}

    div.pager a {
        margin-left: 5px;
        margin-right: 5px;
    }

    div.pager span {
        font-weight: bold;
        margin-left: 5px;
        margin-right: 5px;
    }

/* Styles for basic forms
-----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

.editor-label {
    margin: 1em 0 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}

input[type=text] {
    width: 400px;
}

textarea {
    min-height: 75px;
    width: 400px;
    height: 100px;
}
/*форма публикации*/
table.authors_table {
    width: auto;
}

    table.authors_table th {
        border-style: none;
        width: auto;
    }

    table.authors_table td {
        border-style: none;
    }

.authors_table input[type=text] {
    width: 200px;
}

.box_author input[type=text] {
    width: 300px;
}

.box_author_short input[type=text] {
    width: 150px;
}

.box_department select {
    width: 300px;
}

.box_year input[type=text], .box_year input[type=number] {
    width: 70px;
}

.box_day input[type=text], .box_day input[type=number] {
    width: 50px;
}

.box_title input[type=text] {
    width: 600px;
}

.box_volume input[type=text] {
    width: 70px;
}

.box_pages input[type=text] {
    width: 70px;
}

.box_date input[type=text] {
    width: 100px;
}

.box_number input[type=text] {
    width: 100px;
}


.primary_author {
    font-weight: bold;
}

.box_searchtitle input[type=text] {
    width: 300px;
}

.box_searchdepartment select {
    width: 300px;
}

.box_searchdirection_single select {
    width: 300px;
}

.box_searchdirection_multi select {
    width: 300px;
    height: 170px;
}

.logon_block input[type=text] {
    width: 200px;
}

.logon_block input[type=password] {
    width: 200px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

div.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
    padding: 3px;
    display: inline-block;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/*publication states*/
table.tlist tr.request_request td, table.tlist tr.request_inwork td {
    background-color: #FFBC59;
}

table.tlist tr.request_completed td {
}

table.tlist tr.request_deleted td {
    background-color: #FF6060;
}


/* Adjust jquery.ui styles
-----------------------------------*/

.ui-widget {
    font-family: Lucida Grande,Lucida Sans,Arial,sans-serif;
    font-size: 1em; /*font-size: 1.1em;*/
}

.ui-autocomplete-loading {
    background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat;
}

/* Additional styles for autocomplete 
-----------------------------------*/
.ui-autocomplete-category {
    font-weight: bold; /*padding: .2em .4em;     margin: .8em 0 .2em;     line-height: 1.5;*/
}

.ui-autocomplete-details {
    font-size: 0.85em;
}

/* Styles for citation system labels */
.citationsystem-labels {
    display: inline-block;
    /*white-space: nowrap;*/
    vertical-align: baseline;
    margin-bottom: 3px;
}

    .citationsystem-labels span {
        display: inline;
        font-size: 75%;
        border-radius: .25em;
        color: #fff;
        background-color: #777;
        padding: 0.2em 0.6em 0.3em;
    }

/* Styles for citation system labels */
.citationsystem-labels {
    display: block;
    vertical-align: baseline;
    margin-top: 3px;
}

    .citationsystem-labels > span {
        display: inline-block;
        white-space: nowrap;
        font-size: 90%;
        border-radius: .25em;
        color: #fff;
        background-color: #777;
        padding: 0.2em 0.6em 0.3em;
        margin-top: 3px;
        margin-right: 3px;
    }

    .citationsystem-labels .error {
        color: #faa;
        font-weight: bold;
    }

/*-----FEEDBACK-----*/
.balloon {
    position: relative;
    padding: 5px;
    margin-top: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

    .balloon:before {
        content: "";
        position: absolute;
        top: -10px;
        bottom: auto;
        right: auto;
        left: 30px;
        border-width: 0 10px 10px;
        border-style: solid;
        border-color: #ccc transparent;
        display: block;
        width: 0px;
    }

    .balloon:after {
        content: "";
        position: absolute;
        top: -9px;
        left: 31px;
        border-width: 0 9px 9px;
        border-style: solid;
        border-color: #fff transparent;
        display: block;
        width: 0;
    }

.feedback_question {
    margin: 5px 0px 5px 0px;
    width: 600px;
}

    .feedback_question .feedback_author {
    }

    .feedback_question .feedback_text {
        background-color: #fff;
        border-color: #ccc;
        padding: 5px;
    }

.feedback_answer {
    margin: 5px 0px 5px 50px;
    width: 600px;
}

    .feedback_answer .feedback_author {
    }

    .feedback_answer .feedback_text {
        background-color: #ccf;
        border: 1px solid #ccc;
        padding: 5px;
    }

        .feedback_answer .feedback_text.balloon:after {
            border-color: #ccf transparent;
        }

.feeback_new_message textarea {
    width: 600px;
}
