:root {
    --container-width: 1620px;
    --color: #606060;
    --blue: #455AF7;
    --red: #CE1B1B;
    --green: #009846;
    --yellow: #FFEB33;
    --violet: #C546AC;
    --grey: #707070;
    --grey-light: #e5e5e5;
    --font: 'VisbyCFBold';
    --font-huge: 24px;
    --font-big: 18px;
    --font-medium: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    color: var(--color);
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
    overflow-x: hidden;
}

.container-full {
    clear: both;
    position: relative;
    width: 100%;
}

.container {
    clear: both;
    position: relative;
    width: var(--container-width);
    margin: 0 auto;
}

.site-wrapper {
    display: grid;
    grid-template-columns: 260px auto;
    gap: 0 25px;
    padding: 10px 25px 25px;
    text-align: left;
}

.content-left {
    margin-top: 15px;
    padding: 5px 20px;
    border-radius: 4px;
    background-color: #fff;
}

.logo {
    position: relative;
}
.logo img {
    height: 35px;
}

.content-left nav {
    margin: 35px 0;
    padding: 0;
    list-style-type: none;
}
.content-left nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.content-left nav > ul > li {
    margin: 10px 0;
    border: 1px solid var(--green);
    border-radius: 4px;
}
.content-left nav a {
    position: relative;
    display: block;
    padding: 10px 13px;
    color: var(--green);
    text-decoration: none;
}
.content-left nav a:hover,
.content-left nav .active > a {
    background-color: var(--green);
    color: #fff;
}
.content-left nav .active > a:after {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 8px;
    height: 100%;
    border: 1px solid var(--green);
    border-radius: 4px;
    background-color: #fff;
    content: "";
    z-index: 2;
}
.content-left nav ul ul {
	display: none;
}
.content-left nav ul li.active > ul {
	display: block;
}

.content-right {}

.right-header {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
}
.right-header form {
    position: relative;
}

#search-query {
    position: relative;
    width: 450px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #fff;
    border-radius: 4px;
    background-color: #fff;
}

#search-btn {
    position: absolute;
    top: 17px;
    right: 4px;
    height: 24px;
    border: 0;
    background-color: transparent;
    font-size: 0;
    cursor: pointer;
    z-index: 2;
}
#search-btn:hover {
}
#search-btn img {
    width: 100%;
    transition: all 350ms linear;
}
#search-btn:hover img {
}

#search_results {
    display: none;
    position: absolute;
    top: 50px;
    left: -15px;
    right: -15px;
    max-height: 500px;
    padding: 5px 25px;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 6px #e2e2e2;
    overflow: auto;
    z-index: 2;
}
#search_results.active {
    display: block;
}
#search_results ul {
    list-style-type: none;
}
#search_results li {
    padding-left: 10px;
}
#search_results .dropdown-header {
    padding-left: 0;
    padding-bottom: 3px;
    font-weight: bold;
}
#search_results .divider {
    margin: 8px 0;
    padding-left: 0;
    border-top: 1px solid #eaeaea;
}
#search_results .divider:first-child {
    display: none;
}

.right-header-user {
    position: relative;
}
.user-img {
    position: absolute;
    top: -5px;
    left: -38px;
    z-index: 2;
}
.user-img img {
    width: 40px;
    height: 40px;
    border-radius: 30px;
    object-fit: cover;
}
.user-name {
    padding: 7px 15px;
    background-color: #fff;
    color: var(--green);
}

.login-pagee {
    background-color: #D6FEF3;
}
.login-pagee .site-wrapper {
    display: block;
}
.login-logo img {
    width: 150px;
}
.site-login {
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 15px 35px 20px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.login-img {
    display: none;
}
.login-title {
    padding-bottom: 10px;
    color: var(--green);
    font-size: var(--font-huge);
    text-align: center;
}
.login-title + p {
    display: none;
}
.site-login .link {
    padding-top: 10px;
}
.site-login .link > * {
    width: 100%;
}

.menu-responsive {
    display: none;
    position: fixed;
    top: 28px;
    right: 30px;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 3px 10px #455AF724;
    z-index: 49;
}
.menu-responsive span {
    position: relative;
    display: block;
    width: 23px;
    height: 17px;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    font-size: 0;
}
.menu-responsive span:before {
    position: absolute;
    top: 4px;
    display: block;
    width: 100%;
    height: 3px;
    content: "";
    background-color: #000;
}

.entry, table.entry-table tr {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 15px 0;
    border-radius: 4px;
    background-color: #fff;
    color: var(--green);
    text-align: center;
}

table.entry-table, table.entry-table tbody, table.entry-table td {
    display: block;
    padding: 0;
}
.entry > *, table.entry-table td {
    position: relative;
    flex: 0 0 15%;
    padding: 0 10px 0 0;
}
.entry > *.entry-large, table.entry-table td.entry-large {
    flex: 0 0 19%;
}
.entry > *.entry-edit, table.entry-table td.entry-edit {
    flex: 0 0 6%;
    padding: 0;
}
#list_users table.entry-table td {
    flex: 0 0 16%;
}
#list_users table.entry-table td:first-child {
    flex: 0 0 9%;
}
.entry > :nth-child(3) div {
    position: relative;
}
.entry > :nth-child(3) em {
    display: none;
    position: absolute;
    top: 3px;
    right: 0;
    width: 28px;
    height: 28px;
    background: url("../img/arrow-d.svg") no-repeat center center;
    cursor: pointer;
}
.entry.active > :nth-child(3) em {
    transform: rotate(180deg);
}
.entry div {
    margin-top: 0;
    margin-bottom: 0;
}
.entry .grey {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
}
.entry p {
    margin-top: 0;
    margin-bottom: 0;
}
.entry p + p, .entry p + a {
    font-weight: 500;
}
.entry button {
    width: 100%;
    padding: 6px 20px;
    border: 0;
    border-radius: 4px;
    background-color: var(--grey-light);
    color: #000;
    cursor: pointer;
}
.entry-edit span {
    display: block;
    width: 27px;
    height: 27px;
    margin: auto;
    border: 1px solid var(--green);
    border-radius: 4px;
    color: var(--green);
    font-size: 24px;
    transition: all 350ms linear;
    line-height: 1;
    cursor: pointer;
}
.entry-edit span:hover {
    background-color: var(--green);
    color: #fff;
}
.entry-edit p {
    position: absolute;
    top: 28px;
    right: calc(50% - 14px);
    display: none;
    padding: 3px 15px;
    border: 1px solid var(--grey-light);
    border-radius: 4px;
    background-color: #fff;
    color: #000;
    font-size: 12px;
    text-decoration: none;
    z-index: 2;
}
.entry-edit .active p {
    display: block;
}
.entry-edit a {
    display: grid;
    grid-template-columns: 13px auto;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    color: var(--green);
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}
.entry-edit a:hover {
}
.entry-edit a img {
    width: 100%;
}

.remove_value {
    position: relative;
    top: 4px;
    color: var(--red);
    font-size: 22px;
    cursor: pointer;
}

.img-col img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.sq-color span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.section-new {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	justify-content: space-between;
}
.section-new  > div:first-child {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 20px;
}

.boxes-white {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.boxes-white > div {
	max-width: 500px;
	padding: 5px 20px 10px;
	border-radius: 4px;
	background-color: #fff;
    line-height: 1.3;
}
.boxes-white > .link {
    margin-top: 0;
}
.boxes-white + .section-white {
    margin-top: 40px;
}
.boxes-white ul {
    list-style-type: none;
    line-height: .8;
}
.boxes-white li {
    color: var(--green);
}

.section-white {
	position: relative;
	width: 100%;
	margin-bottom: 25px;
	padding: 1px 20px 15px;
	border-radius: 4px;
	background-color: #fff;
}
.section-white.ddd_section:nth-child(2n+1) {
    background-color: #e5e5e5;
}
.section-remove {
	position: absolute;
	top: 0;
	right: 20px;
    display: flex;
    align-items: center;
	color: var(--red);
	cursor: pointer;
}
.section-remove span {
    margin-left: 5px;
    font-size: 24px;
}
.section-remove:hover {
    color: #000;
}
.ddd_section {
    overflow: auto;
}
.col-1-2 {
    display: inline-block;
    width: 50%;
    padding: 0 7px 0 0;
}
.col-1-2 + .col-1-2 {
    padding: 0 0 0 7px;
}
.col-1-2 + .col-1-2 + .col-1-2 {
    padding: 0 7px 0 0;
}
.col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 {
    padding: 0 0 0 7px;
}
.col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 {
    padding: 0 7px 0 0;
}
.col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 {
    padding: 0 0 0 7px;
}
.col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 {
    padding: 0 7px 0 0;
}
.col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 + .col-1-2 {
    padding: 0 0 0 7px;
}

.title-with-button {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: space-between;
}

.add_new_section {
    padding-bottom: 30px;
    text-align: right;
}

.section-mark {
    position: fixed;
    top: 10px;
    left: 45px;
    z-index: 2;
}
.section-mark .link2 > * {
    background-color: #fff;
}

.filters {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 5px 20px;
    padding: 5px 0 20px;
}
.filters p {
    margin: 5px 0;
    font-size: 11px;
}
.filters select {
    color: var(--green);
}
.filters > *:first-child {
    position: relative;
}
.filters > *:first-child button {
    position: absolute;
    bottom: 9px;
    right: 4px;
    height: 24px;
    border: 0;
    background-color: transparent;
    font-size: 0;
    cursor: pointer;
    z-index: 2;
}
.filters + .link {
    margin-top: -10px;
    padding-bottom: 10px;
}

.items p {
}
.items p label {
    position: relative;
	display: block;
    width: 100%;
}
.items p input:not([type=checkbox]):not([type=radio]) {
    width: 100%;
}
.items p select {
    width: 100%;
}
.items-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 10px;
}
.items-list > p {
	margin: 0 0 10px;
}

.items-list label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px 0 8px;
    border: 1px solid var(--grey-light);
    border-radius: 4px;
}
.items-list label input[type="checkbox"] {
    top: 0;
}
.items-list label input[type="radio"] {
    top: -1px;
}
.items-list input:not([type=checkbox]):not([type=radio]) {
    height: 30px;
    padding: 0;
    border: 0;
}
.items-list.items-list-titles {
    gap: 15px 35px;
}
.items-list.items-list-titles p {
    display: flex;
    gap: 0 10px;
}

.material-add {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2%;
}
.material-add > *:last-child {
    text-align: right;
}
.material-add select {
    width: 100%;
}
.material-item {
    position: relative;
    display: grid;
    align-items: center;
    gap: 2%;
}
#protocol_materials .material-item {
    grid-template-columns: auto 1fr 1fr;
}
#invoice_materials .material-item {
    grid-template-columns: 1fr 1fr;
}
#invoice_materials .text-row {
    position: relative;
    display: grid;
    grid-template-columns: 15fr 1fr;
    align-items: center;
    gap: 1%;
}

.material-item > *:first-child input:not([type=checkbox]):not([type=radio]),
.text-row > *:first-child input:not([type=checkbox]):not([type=radio]) {
    width: 100%;
    color: var(--green);
    font-weight: 500;
}
.material-item p,
.text-row p {
    margin: 13px 0;
}
#invoice_materials .material-item > * + *,
#protocol_materials .material-item > * + * + * {
    display: grid;
    grid-template-columns: 2fr 3fr 3fr 3fr 3fr 1fr 1fr;
    align-items: center;
    gap: 2%;
}
#invoice_materials .text-row > * + * {
    display: grid;
    grid-template-columns: 40px 40px;
    align-items: center;
    gap: 13%;
}
#invoice_materials .material-item > * + * > *,
#invoice_materials .text-row > * + * > * {
    overflow: auto;
}
.material-item > * + * input, .material-item > * + * select {
    width: 100%;
    color: var(--green);
    font-weight: 500;
}
.material-remove p + p {
    width: 32px;
    height: 32px;
    padding: 3px;
    border-radius: 4px;
    background-color: var(--red);
    text-align: center;
}
.material-remove a {
    display: block;
    padding: 5px;
}
.material-remove img {
    filter: invert(1);
}
.material-add-simple p + p {
    width: 32px;
    height: 32px;
    padding: 3px;
    border-radius: 4px;
    background-color: var(--green);
    text-align: center;
}
.material-add-simple a {
    display: block;
    padding: 5px;
}

.material-item + .material-item .material_counter + p,
#invoice_materials .material-item + .material-item > div:first-child + div > div > p:first-child,
#invoice_materials .text-row + .text-row > div:first-child > p:first-of-type,
#invoice_materials .text-row + .text-row > div:first-child + div > div > p:first-child,
#protocol_materials .material-item + .material-item > div:first-child + div + div > div > p:first-child  {
    display: none;
}
#protocol_materials > div,
#invoice_materials > div {
    border-bottom: 5px solid #f3f3f3;
}
#protocol_materials > div:before,
#protocol_materials > div:after,
#invoice_materials > div:before,
#invoice_materials > div:after {
    position: absolute;
    bottom: -5px;
    width: 20px;
    height: 5px;
    background-color: #f3f3f3;
    content: "";
    z-index: 2;
}
#protocol_materials > div:before,
#invoice_materials > div:before {
    left: -20px;
}
#protocol_materials > div:after,
#invoice_materials > div:after {
    right: -20px;
}

.material-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
}
.material-wrap p {
    margin: 10px 0;
}
.material-wrap > *:first-child input,
.material-wrap > *:first-child textarea,
.material-wrap > *:first-child select {
    width: 100%;
    margin-bottom: 10px;
}
.material-wrap > * + * {
    padding: 10px 0 0;
    text-align: right;
}

.material-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 0 10px;
}
.material-links > * {
    display: flex;
    gap: 0 15px;
}
.material-links > * + * {
    justify-content: flex-end;
}
.material-links div {
    position: relative;
}
.links-text {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
}

.price-total {
	text-align: right;
}
.price-total p {
	display: inline-block;
    margin-left: 10px;
	padding: 15px 20px;
    border: 1px solid var(--grey-light);
	border-radius: 4px;
	line-height: 2;
	text-align: center;
}
.price-total p strong {
    color: var(--green);
}
.price-total p:last-child {
    border: 1px solid var(--green);
    background-color: var(--green);
    color: #fff;
}
.price-total p:last-child strong {
    color: #fff;
}

.stamp {
    display: inline-block;
    width: 60%;
    min-width: 300px;
    padding: 20px 0 15px;
    text-align: left;
}
.stamp select {
    width: 100%;
}
.stamp img {
    max-height: 100px;
}

.client-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.client-info > * {
    width: 14.2857%;
}
.client-info > * + * {
    padding-left: 20px;
}
.client-info .grey {
    margin-bottom: -10px;
    font-size: 11px;
}
.client-info input {
    color: var(--green);
}

.type-row {
    display: grid;
    grid-template-columns: auto auto;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0 20px;
}
.type-row > * {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0 20px;
}
#edit_settings .type-row > * {
    align-items: flex-start;
}
.type-row p.grey {
    margin: 5px 0 -8px;
    font-size: 11px;
}
.type-row .items-list {
    gap: 0 20px;
}
.type-row .items-list > p {
    margin: 15px 0;
}
.type-row .items-list label {
    background-color: #fff;
}

.modal .halves .grey {
    margin-bottom: -10px;
    font-size: 10px;
}
.modal .halves .grey + * * {
    /*color: var(--green);*/
}

.dt-paging {
    padding: 15px 0;
    text-align: center;
}
.dt-paging .dt-paging-button {
    position: relative;
    min-width: 26px;
    margin-left: 3px;
    padding: 1px 8px;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
}
.dt-paging .dt-paging-button.current, .dt-paging .dt-paging-button:hover {
    background-color: var(--green);
    color: #fff;
}
.dt-paging .dt-paging-button.first, .dt-paging .dt-paging-button.previous, .dt-paging .dt-paging-button.next, .dt-paging .dt-paging-button.last {
    border: 1px solid transparent;
}

.img-edit {
    position: relative;
    height: 120px;
    cursor: pointer;
}
.img-edit img {
    height: 100%;
}
.img-edit .remove_img {
    position: absolute;
    top: 0;
    right: 0;
    height: 26px;
    padding: 5px;
    background-color: #fff;
    z-index: 2;
}
.img-edit label {
    display: block;
    height: 100%;
}
.upload-images {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.upload-images .img-edit {
    min-width: 120px;
    border: 1px solid var(--grey-light);
    background: url("../img/icon-plus.svg") no-repeat center center;
}

.switcher {
    position: relative;
    top: 5px;
    display: inline-block;
    width: 50px;
    height: 17px;
}
.switcher input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switcher span {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 17px;
    background-color: #d1d1d1;
    transition: .4s;
}
.switcher span:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 0;
    bottom: -1px;
    border-radius: 50%;
    background-color: var(--green);
    transition: .4s;
}
.switcher input:checked + span {
    background-color: #43E854;
}
.switcher input:focus + span {
    box-shadow: 0 0 1px #43E854;
}
.switcher input:checked + span:before {
    transform: translateX(30px);
}
h1 .switcher {
    margin-left: 10px;
}

.list-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.list-5 > * {
    position: relative;
}
.list-5 p {
    margin: 0;
}
.list-5 span {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: var(--red);
    color: #fff;
    font-size: 28px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}
.list-5 input[type="text"] {
    width: 100%;
}


.box-thirds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 15px;
}

.box-thirds > div {
    margin: -10px 0;
}

.box-fourths {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
    align-items: center;
}

.box-fifths p + p, .box-fourths p + p {
    margin-top: -10px;
}

.box-fifths {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 20px;
}

.bottom-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    margin-top: -15px;
}

.white-box {
    margin: 20px 0 40px;
    padding: 5px 20px 10px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 3px 10px #455AF724;
}
.white-box + * {
    clear: both;
}

.tabs-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 20px 0 10px;
    list-style-type: none;
}
.tabs-menu li {
    height: 32px;
    padding: 8px 0 0;
    background-color: var(--green);
    color: #fff;
    font-weight: bold;
    transition: all 350ms linear;
    text-align: center;
    cursor: pointer;
    opacity: .7;
}
.tabs-menu li.active, .tabs-menu li:hover {
    opacity: 1;
}
.tabs-menu li:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.tabs-menu li:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.tabs-content {
}
.tabs-content > div {
    display: none;
}
.tabs-content > div.active {
    display: block;
}

button img {
    max-width: 80%;
}

.flexbox {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: -15px;
}

.flexbox .input-long {
    padding: 41px 0 0;
}
.flexbox .input-long button {
    top: 44px;
}

.flexbox select {
    display: block;
    margin-top: 7px;
}

.layout-3 p {
    display: inline-block;
}
.layout-3 p:first-child {
    width: 230px;
    text-align: right;
}

.flex-base {
    display: flex;
    align-items: baseline !important;
    gap: 30px;
}

.flex {
    display: flex;
	flex-wrap: wrap;
	align-items: center;
    gap: 0 25px;
}

.circle-color {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin: 0 5px -5px 0;
    border-radius: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 1px;
    bottom: 1px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
    transform: translateX(16px);
}

.blocker {
    z-index: 77;
}
.modal {
    max-width: 650px;
}

/*menu autocomplete */

.twitter-typeahead {
}

.tt-menu {
    margin-top: -1px;
    padding: 10px 25px 25px;
    background-color: #fff;
    top: 110% !important;
    left: -21vw !important;
    right: -26vw !important;
    text-align: left;
}

.title_search_produkt {
    margin-bottom: 15px !important;
    padding-bottom: 12px;
    border-bottom: var(--blue);
    color: var(--blue);
    text-transform: uppercase;
}

.title_search_produkt span {
    text-transform: none;
}

.tt-menu .tt-suggestion {
    display: block;
    padding: 5px 0;
    color: var(--color);
    text-decoration: none;
}
.tt-menu .tt-suggestion:hover {
    background-color: #e5e5e5;
}

.tt-menu .result_container {
    display: flex;
    align-items: center;
}

.tt-menu .result_container img {
    width: 30px;
    max-height: 36px;
    margin-right: 10px;
}

.tt-menu .results_data {
    float: none;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    font-size: 13px;
}

.tt-menu .results_data .product_name_search {
    display: inline-block;
    width: calc(100% - 200px);
    padding-right: 20px;
}

.tt-menu .search_dostupnost {
    width: 100px;
    padding-right: 20px;
}

.tt-menu .search_dostupnost p {
    display: inline-block;
    margin: 0;
    color: #749b77;
}

.tt-menu .search_cena {
    width: 80px;
}

.tt-menu .search_cena p {
    /*    display: inline-block;*/
    margin: 0;
    color: #b92a37;
}

.title_search_produkt_celkem {
    display: none;
    padding: 0 25px 0 0;
    font-style: italic;
    text-transform: uppercase;
}

.title_search_produkt_celkem span {
    color: var(--red);
}

.show_all_result_menu {
    display: inline-block;
    padding: 10px 15px 7px;
    border: 1px solid var(--blue);
    border-radius: 10px;
    color: var(--color);
    text-transform: uppercase;
    text-decoration: none;
}
.tt-dataset-1 .show_all_result_menu {
    display: none;
}

.show_all_result_menu:hover {
    text-decoration: none;
}

.naseptavac-img {
    padding: 20px 0 0;
    text-align: center;
}

.naseptavac-img img {
    max-width: 320px;
}

.tt-menu .tt-suggestion.cat_naseptavac {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 5px 10px;
    border: 1px solid #999;
    border-radius: 15px;
}

.tt-dataset-0 {
    float: left;
    width: 49%;
}

.tt-dataset-1, .tt-dataset-2 {
    float: right;
    width: 49%;
}

/* konec menu autocomplete*/

/* Slider */
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus {
    outline: none;
}
.slick-list.dragging {
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}
.slick-track:after {
    clear: both;
}
.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide {
    float: right;
}
.slick-slide img {
    display: block;
}
.slick-slide.slick-loading img {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-initialized .slick-slide {
    display: block;
}
.slick-loading .slick-slide {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

/* Dots */
.slick-dots {
    position: absolute;
    bottom: 50px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    z-index: 2;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    margin: 0 10px;
}
.slick-dots li button {
    display: block;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--purple);
    font-size: 0;
    transition: all 350ms linear;
    cursor: pointer;
    opacity: .6;
}
.slick-dots li.slick-active button,
.slick-dots li button:hover,
.slick-dots li button:focus {
    opacity: 1;
}

/* Arrows */
.slick-prev, .slick-next {
    position: absolute;
    top: 35%;
    border: 0;
    background-color: transparent;
    font-size: 0;
    transition: all 350ms linear;
    cursor: pointer;
    z-index: 3;
}
.slick-prev:hover, .slick-next:hover {
    opacity: .6;
}
.slick-prev {
    left: -35px;
}
.slick-next {
    right: -25px;
}
.slick-prev:after, .slick-next:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 23px;
    height: 40px;
    background: url("img/arrow-l.png") no-repeat 0 0;
    background-size: contain;
    content: "";
    z-index: 2;
}
.slick-next:after {
    transform: rotate(180deg);
    transform-origin: 45% 51%;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 50% auto;
    align-items: center;
    gap: 10px 20px;
}
.grid-2-cols p {
    margin: 0;
}

.title {
    font-size: var(--font-big);
    font-weight: bold;
}

.link > *, .link2 > * {
    display: inline-block;
	padding: 7px 20px;
	border: 1px solid var(--green);
    border-radius: 4px;
    background-color: var(--green);
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 1.3;
    cursor: pointer;
}
.link2 > * {
	border: 1px solid var(--green);
	background-color: transparent;
	color: var(--color);
}
.link > *:hover, .link2 > *:hover {
    background-color: #fff;
    color: var(--green);
    text-decoration: none;
}
.link > * + *, .link2 > * + *{
    margin-left: 10px;
}

.halves {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 20px;
}
.halves > * {
}

.thirds {
    display: flex;
    justify-content: space-between;
}
.thirds > * {
    width: 30%;
}

a[href^="tel:"] {
    text-decoration: none;
}

.font-normal {
    font-weight: normal;
}

footer {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: var(--blue);
    color: #fff;
    text-align: left;
}

footer .container {
    display: flex;
}

.footer-col {
    width: 21%;
    padding-right: 35px;
}

.footer-col:last-child {
    width: 16%;
    padding-right: 0;
}

.footer-col img {
    max-height: 50px;
}

.footer-title {
    padding-bottom: 5px;
    font-weight: bold;
}

footer ul {
    list-style-type: none;
}

footer li {
    padding: 2px 0;
}

footer li a {
    text-decoration: none;
}

.site-bottom {
    padding-top: 1px;
    padding-bottom: 1px;
}

.container:after,
.container-full:after {
    clear: both;
    display: block;
    content: '';
}

.clear, .cleaner {
    clear: both;
    display: block;
    height: 1px;
    border: 0;
    font-size: 0;
}

.black {
    color: #000;
}

.white {
    color: #fff;
}

.grey {
    color: #999;
}

.green {
    color: var(--green);
}

.blue {
    color: var(--blue);
}

.red {
    color: var(--red);
}

.yellow {
    color: var(--yellow);
}

.violet {
    color: #C546AC;
}

.uppercase {
    text-transform: uppercase;
}

.hidden {
    display: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

h1, .h1 {
    clear: both;
    margin: 25px 0 20px;
    color: var(--green);
    font-size: var(--font-huge);
    font-weight: bold;
    line-height: 1.1em;
}

h2, .h2 {
    clear: both;
    margin: 25px 0 20px;
    color: var(--green);
    font-size: var(--font-big);
    font-weight: bold;
    line-height: 1.1em;
}

h3, .h3 {
    margin: 25px 0 20px;
    color: var(--green);
    font-size: var(--font-medium);
    font-weight: bold;
    line-height: 1.1em;
}

h4 {
    clear: both;
    margin: 25px 0 20px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.1em;
}

.font10 {
    font-size: 10px;
}

.font11 {
    font-size: 11px;
}

.font12 {
    font-size: 12px;
}

.font14 {
    font-size: 14px;
}

.font16 {
    font-size: 16px;
}

.font18 {
    font-size: 18px;
}

.font20 {
    font-size: 20px;
}

.font22 {
    font-size: 22px;
}

.font24 {
    font-size: 24px;
}

.font28 {
    font-size: 28px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-top-50 {
    margin-top: 50px;
}

.margin-top-60 {
    margin-top: 60px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-bottom-30 {
    margin-bottom: 30px;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-bottom-50 {
    margin-bottom: 50px;
}

.margin-bottom-60 {
    margin-bottom: 60px;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-top-20 {
    padding-top: 20px;
}

.padding-top-30 {
    padding-top: 30px;
}

.padding-top-40 {
    padding-top: 40px;
}

.padding-top-50 {
    padding-top: 50px;
}

.padding-top-60 {
    padding-top: 60px;
}

.padding-bottom-5 {
    padding-bottom: 5px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.padding-bottom-40 {
    padding-bottom: 40px;
}

.padding-bottom-50 {
    padding-bottom: 50px;
}

.padding-bottom-60 {
    padding-bottom: 60px;
}

.no-margin {
    margin: 0;
    padding: 0;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: var(--grey);
    font-size: 13px;
    opacity: .7;
}
::-moz-placeholder { /* Firefox 19+ */
    color: var(--grey);
    font-size: 13px;
    opacity: .7;
}
:-ms-input-placeholder { /* IE 10+ */
    color: var(--grey);
    font-size: 13px;
    opacity: .7;
}
:-moz-placeholder { /* Firefox 18- */
    color: var(--grey);
    font-size: 13px;
    opacity: .7;
}

input, textarea, select, option, button {
    color: var(--color);
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 13px;
}

input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="password"], input[type="date"], input[type="file"],
select {
    max-width: 100%;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--grey-light);
    border-radius: 4px;
    background-color: #fff;
}
input[type="checkbox"], input[type="radio"] {
    position: relative;
    top: 2px;
    display: inline-block;
    width: 14px;
    height: 14px !important;
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
input[type="radio"] {
    border-radius: 50%;
}
input[type="checkbox"]:checked {
    background-color: var(--green);
    outline: 2px solid white;
    outline-offset: -3px;
}
input[type="radio"]:checked {
    background-image: radial-gradient(circle at center, var(--green), var(--green) 37.5%, #fff 40%, #fff 100%);
}
textarea {
    width: 100%;
    min-height: 100px;
    padding: 8px 10px 10px;
    border: 1px solid var(--grey-light);
    border-radius: 4px;
    background-color: #fff;
    resize: none;
}
.select2 textarea {
    min-height: 0;
}

ul {
    margin: 15px 0;
    padding: 0;
    list-style-position: inside;
}

p {
    margin: 15px 0;
    padding: 0;
}

a {
    color: inherit;
    transition: all 250ms linear;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    border: 0;
}

*:focus {
    outline: none;
}

* {
    box-sizing: border-box;
}

@media (max-width: 1700px) {
    :root {
        --container-width: 100%;
    }
    .container {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    #protocol_materials .material-item, 
    #invoice_materials .material-item {
        display: block;
        padding-top: 1px;
    }
    .layout-3 p {
        display: block;
    }
    .layout-3 p:first-child {
        width: auto;
        margin-bottom: 0;
        text-align: left;
    }
    .box-fifths {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1491px) {
    .state-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-list {
        display: block;
    }
    .service-list > * {
        width: auto;
    }
    .filter-bottom {
        flex-wrap: wrap;
        justify-content: normal;
    }
    .box-add-content > div:first-child {
        order: 2;
    }
    .box-add-content > div + div {
        flex: 0 0 100%;
        order: 1;
        margin-bottom: -60px;
    }
    .section-new {
        display: block;
    }
    .link-float-right {
        float: none;
        top: 0;
    }
    .box-fifths {
        grid-template-columns: repeat(3, 1fr);
    }
    #protocol_materials .material-item, 
    #invoice_materials .material-item, 
    #invoice_materials .text-row {
        display: block;
        padding-top: 1px;
        margin-left: -20px;
        margin-right: -20px;
        border: 1px solid black;
        border-radius: 0px;
        background: #e1dddd;
        margin-bottom: 10px;
    }
    .material-item > div,
    #invoice_materials .text-row > div {
        padding: 0px 20px;
    }
    #invoice_materials .text-row > * + * {
        gap: 0px;
    }
}

@media (max-width: 1291px) {
    .header-calendar {
        display: none;
    }
    .box-add {
        display: block;
    }
    #search-query {
        width: 160px;
    }
    .box-fourths {
        grid-template-columns: repeat(3, 1fr);
    }
    .box-fifths {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1086px) {
    .logo {
        width: auto;
    }
    .header-service {
        display: none;
    }
    .menu-responsive {
        display: block;
    }
    .site-wrapper {
        display: block;
        padding: 1px 15px 10px;
    }
    .state-wrapper {
        padding-top: 20px;
    }
    .site-content {
        display: block;
    }
    .content-left {
        padding: 1px 10px;
    }
    .content-left nav {
        position: fixed;
        top: 0;
        left: 0;
        display: block;
        width: 100vw;
        min-height: 100vh;
        margin: 0;
        padding: 70px 0 0;
        background-color: #fff;
        transform: translateX(-100%);
        transition: all 350ms linear;
        z-index: 48;
    }
    .content-left.active nav {
        transform: translateX(0);
    }
    .content-left nav ul {
        padding-top: 5px;
    }
    .content-left nav ul li {
        display: block;
        margin: 0;
        padding: 4px 20px;
        border: 0;
        border-radius: 0;
    }
    .content-left nav ul li a {
        padding: 0;
        border-left: 0;
    }
    .content-left nav ul ul {
        display: block;
    }
    .content-left nav li a:hover,
    .content-left nav li.active a, .content-left nav li.active li.active a,
    .content-left nav li.active li.active li.active a,
    .content-left nav li.active.sub-opened a {
        border-left: 0;
        background: transparent;
        color: var(--green);
    }
    .content-left nav li.active > a {
        font-weight: bold;
    }
    .content-left nav .active > a::after {
        display: none;
    }
    .section-mark {
        top: 70px;
        left: auto;
        right: 30px;
    }
    .tabs-menu {
        margin-top: 20px;
    }
    .halves {
        display: block;
    }
    .halves > * {
        width: auto;
    }
    .thirds {
        display: block;
    }
    .thirds > * {
        width: auto;
    }
}

@media (max-width: 767px) {
    :root {
        --font-huge: 20px;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    header {
        padding: 0 15px;
    }
    .header-notice {
        padding: 0 15px;
    }
    .header-user {
        padding: 0;
    }
    .header-user::before {
        display: none;
    }
    .logo img {
        height: 25px;
    }
    .menu-responsive {
        top: 25px;
    }
    .state-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .site-content {
        display: block;
    }
    .content-left {
    }
    .content-right {
    }
    .filter-top {
        display: block;
    }
    .entry, table.entry-table tr {
        flex-wrap: wrap;
        padding-left: 15px;
    }
    .entry > *, table.entry-table td, .entry > .entry-large, table.entry-table td.entry-large {
        flex: 0 0 30%;
    }
    .entry > *:nth-child(3), table.entry-table td:nth-child(3) {
        flex: 0 0 40%;
    }
    .entry > *:nth-child(3) div {
        padding-right: 40px;
    }
    .entry > *:nth-child(3) em {
        display: block;
    }
    .entry > *:nth-child(4) {
        flex: 0 0 100%;
        padding: 15px 10px 1px 0;
        text-align: left;
    }
    .entry > *:nth-child(5) {
        flex: 0 0 100%;
        padding: 0 10px 10px 0;
        text-align: left;
    }
    .entry > *:nth-child(4) > * {
        display: inline-block;
    }
    .entry > *:nth-child(4) > * + * {
        padding-left: 10px;
    }
    .entry > *:nth-child(5) > * {
        display: inline-block;
    }
    .entry > *:nth-child(5) > * + * {
        padding-left: 10px;
    }
    .entry > *:nth-child(n+4) {
        display: none;
    }
    .entry.active > *:nth-child(n+4) {
        display: block;
    }
    .box-add > div > div {
        display: block;
    }
    .box-add input[type="text"], .input-long {
        width: 100%;
    }
    .boxes-white > div {
        max-width: none;
    }
    .title-with-button {
        display: block;
    }
    .material-wrap {
        display: block;
    }
    .material-links {
        display: block;
    }
    .material-links > * + * {
        justify-content: left;
    }
    .stamp {
        width: 100%;
    }
    #invoice_materials .material-item > * + *, 
    #invoice_materials .text-row > * + *, 
    #protocol_materials .material-item > * + * + * {
        display: block;
    }
    .material-item {
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--grey-light);
    }
    .material-remove p + p,
    .material-add-simple p + p {
        /*float: right;*/
        margin-top: -30px;
    }
    .material-item + .material-item .material-remove p + p,
    .material-item + .material-item .material-add-simple p + p,
    .material-item + .text-row .material-remove p + p,
    .material-item + .text-row .material-add-simple p + p,
    .text-row + .text-row .material-add-simple p + p,
    .text-row + .text-row .material-remove p + p   {
        margin-top: 0;
    }
    .col-1-2 {
        float: none;
        width: auto;
    }
    .col-1-2:nth-child(2n+1) {
        padding-right: 0;
    }
    .col-1-2:nth-child(2n) {
        padding-left: 0;
    }
    .box-thirds,
    .box-fourths {
        grid-template-columns: repeat(2, 1fr);
    }
    .flexbox {
        display: block;
    }
    .flexbox select, .flex-base select {
        width: 100%;
    }
    .flexbox .input-long {
        padding: 21px 0 0;
    }
    .flexbox .input-long button {
        top: 26px;
    }
    footer .container {
        display: block;
        text-align: center;
    }
    .footer-col, .footer-col:last-child {
        width: auto;
        padding: 0;
    }
    .footer-col + .footer-col {
        padding-top: 5px;
    }
}

@media (max-width: 555px) {
    .tabs-menu {
        display: block;
    }
    .tabs-menu li {
        height: 38px;
        padding: 10px 0 0;
    }
    .tabs-menu li:first-child {
        border-top-right-radius: 20px
    }
    .tabs-content > div > .white-box:first-child {
        padding-top: 5px;
    }
    .tabs-menu li:last-child {
        border-radius: 0;
    }
    .tabs-content {
        margin-top: -20px;
    }
    .material-links > * {
        display: block;
    }
    .material-links .link2 > * {
        width: 100%;
    }
    .grid-2-cols {
        display: block;
    }
    .grid-2-cols p {
        margin: initial;
    }
    .box-thirds,
    .box-fourths,
    .box-fifths {
        display: block;
    }
    .box-thirds > div {
        margin: 0;
    }
}
