﻿/*FormWorks API v.22.0606*/
/*Zero-style initialization start*/
* {
    padding: 0;
    margin: 0;
    border: 0;
}

    *, *:before, *:after {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

:focus, :active {
    outline: none;
}

a:focus, a:active {
    outline: none;
}

nav, footer, header, aside {
    display: block;
}

html, body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 16px;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input, button, textarea, select {
    font-family: inherit;
    margin: 5px 0 10px;
    background: rgba(255,255,255, 0.7);
}

    input::-ms-clear {
        display: none;
    }

    input:disabled, textarea:disabled {
        background: rgba(240,240,240, 0.4);
    }

button {
    cursor: pointer;
}

    button::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

a, a:visited {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}



/*Zero-style initialization end*/



body {
    background: linear-gradient(90deg,rgba(225, 220, 230, 1), rgba(250, 250, 250, 1));
    /*background: linear-gradient(15deg, #b96823, #80c6c1);*/
    background-attachment: fixed;
    padding-top: 10px;
    font-family: "Oswald";
    font-weight: 300;
    font-size: 1.1em;
    color: #234857;
    line-height: 26px;
    /*    font-family: Consolas;
    font-weight: 300;
    font-size: 20px;
    color: lightgray;
    color: #333;
    line-height: 32px;*/
}

#logo {
    margin: -8px;
    width: 200px;
    height: 50px;
    display: block;
    background-image: url(../images/logo200x50.png);
}

.user-wiget {
    padding: 10px;
    text-align: right;
}

a {
    color: inherit;
}

hr {
    border: 1px dotted;
    border-color: rgba(128, 128, 128, 0.4);
    margin: 20px 20px 20px 10px;
}

input, textarea {
    border-radius: 3px;
}


.row {
    margin-right: 0px;
    margin-left: 0px;
}

.form-control {
    width: 95%;
    display: block;
    min-height: 1.6em;
    font-size: 1em;
    padding: 0px 5px;
}

.chatLog {
    width: 100%;
    display: block;
    height: 10em;
    font-size: 1em;
    padding: 10px;
    margin: 10px 0px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    border: 1px solid #FFFFFF;
    overflow: scroll;
}

.chatInput {
    width: 90%;
    display: inline;
    height: 1.6em;
    font-size: 1em;
    border-radius: 5px;
    padding: 0 5px;
}

.fileInput {
    width: 80%;
    display: inline;
    height: 1.7em;
    font-size: 1em;
    border-radius: 5px;
    padding: 0 5px;
}

.chatSendInput, .fileSendInput {
    width: 8%;
    display: inline;
    float: right;
    height: 1.6em;
    font-size: 1em;
    margin: 5px 1% 10px 0;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #FFFFFF;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    cursor: pointer;
}

.menu > ul > li {
    transition: background-color 0.2s ease-in-out;
    padding: 0px 5px;
    border-radius: 5px;
}

    .menu > ul > li:hover {
        background-color: lightgray;
        transition: background-color 0.2s ease-in-out;
    }

.menuitem {
    transition: background-color 0.2s ease-in-out;
    padding: 0px 5px;
    border-radius: 5px;
}

    .menuitem:hover {
        background-color: lightgray;
        transition: background-color 0.2s ease-in-out;
        cursor: pointer;
    }


.h-menuitem {
    transition: background-color 0.2s ease-in-out;
    padding: 5px 5px;
    margin: 5px;
    border-radius: 5px;
    display: inline;
}

    .h-menuitem:hover {
        background-color: rgba(230, 230, 230, 0.3);
        transition: background-color 0.2s ease-in-out;
        cursor: pointer;
    }

.h-menuitem-selected {
    background-color: rgba(230, 230, 230, 0.8);
    padding: 5px 5px;
    margin: 5px;
    border-radius: 5px;
    display: inline;
}

.pager {
    text-align: center;
    margin: 10px 0;
    padding: 10px 0;
}

    .pager label {
        display: inline-block;
        margin: 5px;
    }

.pageList {
    display: inline-table;
    flex: 0 0 75%;
    max-width: 75%;
    text-align: center;
}

.pageCountGrp {
    display: inline-block;
    flex: 0 0 20%;
    max-width: 25%;
    min-width: 20%;
    text-align: center;
}

.pageCountInput {
    width: 3em;
    display: inline;
    min-height: 1.6em;
    font-size: 1em;
    padding: 0px 5px;
}

.document-content {
    background-color: rgba(100, 100, 100, 0.2);
    padding-top: 0px;
    padding-bottom: 10px;
    box-shadow: 0px 0px 10px;
    color: #333;
}

.form-field {
    margin: 20px 20px 20px 20px;
}

.required-field {
    background-color: #ff7575;
}

.form-group {
    line-height: 1em;
    padding: 20px 20px;
    margin: 20px 10px 20px 10px;
    border-style: solid;
    border-color: darkgray;
    border-width: 1px;
    border-radius: 5px;
}

    .form-group > input {
        margin-bottom: 10px;
    }

.dropdown {
    display: inline-block;
}

.dropdown-icon {
    position: relative;
}

.close-icon {
    position: relative;
}

.dropdown-icon > i {
    position: absolute;
    left: -2.3em;
    top: 0.1em;
    background-color: transparent;
    border: none;
}

.close-icon > i {
    position: absolute;
    left: -1.3em;
    top: 0.3em;
    background-color: transparent;
    border: none;
}

.selector {
    background: rgba(240, 240, 240, 1);
    border-color: rgba(200, 200, 200, 1);
    border: 1px solid;
    border-radius: 3px;
    position: absolute;
    z-index: 5;
    padding: 5px;
    max-width: 50%;
    overflow: auto;
    box-shadow: 0 0 10px;
}

.selectedItem {
    margin: 5px;
    padding: 0 5px;
}

    .selectedItem:hover {
        background: rgba(150, 150, 150, 0.5);
        border-color: rgba(150, 150, 150, 0.4);
        border-radius: 3px;
    }

.btn {
    border: 1px solid gray;
    border-radius: 3px;
    padding: 3px 5px;
    display: inline-block;
    padding: 0px 20px;
    text-align: center;
    cursor: pointer;
    line-height: 1.5em;
    margin: 15px 0px;
}

.btn-green {
    border: 1px solid #00FF00;
    background-color: rgba(0, 255, 0, 0.5);
}

.btn-red {
    border: 1px solid #FF0000;
    background-color: rgba(255, 0, 0, 0.5);
}

.btn-white {
    border: 1px solid #FFFFFF;
    background-color: rgba(255, 255, 255, 0.5);
}

.btn-right {
    float: right;
}

.table {
    min-width: 100%;
    table-layout: fixed;
    line-height: 1.8em;
    border-collapse: collapse;
    border: none;
    margin: 10px 0px 10px 0px;
    text-align: left;
}

th, td {
    padding: 0px 10px;
    word-wrap: break-word;
}

.table tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.1);
}

.table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.2);
}

.actionIcon {
    height: 1.2rem;
    width: auto;
    margin: 5%;
}

.checkedIcon {
    height: 1.2rem;
    width: auto;
    margin: 0;
}

.exitIcon {
    height: 1.2rem;
    width: auto;
    margin: 6px;
}



.actionsTd {
    width: 155px;
    text-align: right;
}

.booleanTd {
    width: 80px;
    text-align: center;
}


.d-block {
    display: block;
}

.d-none {
    display: none;
}

.documentTitle {
    margin: 5px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.without-padding {
    padding: 0;
}

.table-input {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 10px 0 10px 0;
    padding: 0 10px 0 10px;
    font-size: 1.1em;
}

.loader-area {
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5); /* цвет фона */
    z-index: 1050;
    -webkit-transition: opacity 200ms ease-in;
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; /* анимация перехода */
    margin: 0;
    padding: 0;
}

.loader {
    position: fixed;
    top: 50%;
    left: 45%;
    z-index: 3;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width:1920px) {
    .container {
        max-width: 1800px;
    }
}

@media (max-width:1200px) {
    .container {
        max-width: 970px;
    }
}

@media (max-width:992px) {
    .container {
        max-width: 750px;
    }
}

@media (max-width:767px) {
    .container {
        font-size: 0.9em;
        max-width: none;
        padding: 0px 5px;
    }

    h1, h2, h3 {
        font-size: 1.1em;
    }

    .form-group {
        padding: 10px;
    }
}
