html {
    height: 100%;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    /*color: black;*/
    min-height: 100vh;
    color: #5d5d5d;
    background: url("/img/background.svg") no-repeat scroll;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding-bottom: 100px;
}

@font-face {
    font-family: "Myriad Pro Bold";
    src: url('/fonts/MyriadPro-Bold.otf');
}

@font-face {
    font-family: "Roboto";
    src: url('/fonts/Roboto-Regular.ttf') format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url('/fonts/Roboto-Medium.ttf') format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Roboto";
    src: url('/fonts/Roboto-Bold.ttf') format("truetype");
    font-weight: 700;
}

a {
    color: #8a2062;
    text-decoration: underline;
}

a:hover {
    color: #8a2062;
}

.outer-container {
    max-width: 1443px;
    margin: 0 auto;
    /*padding: 0 15px;*/
}

.container {
    max-width: 1443px;
}

/*header*/
.header {
    background-color: white;
}

.header-content {
    padding: 19px 30px;
    max-width: 1443px;
    margin: 0 auto;
}

/*logo*/
.logo-div {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    color: #8a2062;
    text-transform: uppercase;
    margin: auto 0 auto 14px;
    width: auto;
    display: flex;
    flex-wrap: nowrap;
}

.logo {
    height: 79px;
}

.logo-text-div {
    height: 100%;
    margin: auto 0;
    line-height: 1em;
}

.logo-text-main {
    font-size: 15px;
}

.logo-text-detail {
    font-size: 10px;
}

/*login*/
.login {
    position: relative;
    height: 100%;
}

.login-button {
    position: absolute;
    top: calc(50% - 20px);
    right: 0;
    background: none;
    border: 2px solid #6787b7;
    border-radius: 5px;
    padding: 5px 15px;
    box-sizing: border-box;
}

.login i {
    font-size: 20px;
    font-weight: 700;
}

.login a,
.login button {
    color: #6787b7;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}

button.login-button {
    cursor: pointer;
}

button.login-button:focus {
    outline: none;
}

.login a:hover {
    text-decoration: none;
}

.login-icon {
    height: 30px;
}

/*toolbar*/
.toolbar {
    background-color: #8a2062;
    width: 100%;
}

.toolbar-inner {
    height: 51px;
    line-height: 30px;
    padding: 10px 30px;
}

.main-title {
    color: #FFFFFF;
    font-size: 16px;
    text-transform: uppercase;
    font-family: "Myriad Pro Bold", sans-serif;
}

/*footer*/
footer {
    position: absolute;
    left: 0;
    bottom: 0;
    /*position: static;*/
    width: 100%;
    background-color: #FFFFFF;
    color: #8a2062;
    font-size: 12px;
    height: 100px;
    padding: 30px;
    line-height: 1.2em;
    margin-top: auto;
}

.footer-row {
    flex-wrap: nowrap;
}

.footer-logo {
    height: 52px;
    padding: 0 15px;
    margin-top: -5px;
}

.footer-contacts {
    padding: 0 40px;
}

.phone {
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
}

.phone-icon {
    padding: 0 15px;
}

/*menu*/
.menu-outer {
    display: flex;
}

.menu-tablet {
    width: 300px;
    margin-left: 15px;
    background: white;
    height: fit-content;
    position: absolute;
    top: -10px;
    left: 0;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.hide {
    display: none;
}

.menu-desktop {
    width: 300px;
    margin-left: 15px;
    background: rgba(255, 255, 255, 0.5);
    height: fit-content;
}

.menu-item {
    min-height: 50px;
}

.menu-item:first-of-type {
    margin-top: 10px;
}

.menu-item:last-of-type  {
    margin-bottom: 8px;
}

.menu-item:first-of-type .menu-item-inner:first-of-type {
    border-top: none;
}

.menu-item:hover,
.menu-item.selected {
    background-color: rgba(138, 32, 98, 0.1);
}

.menu-item-inner {
    border-top: 1px solid rgb(162, 170, 173);
    margin: 0 25px;
    /*padding: 14px 0;*/
}

.menu-item-inner a {
    color: #6787b7;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 14px 0;
}

.menu-item-inner a:hover {
    text-decoration: none;
}

.content-container {
    margin: 0 5px 0 20px;
}

.inner-content-container {
    background-color: #FFFFFF;
    padding: 10px 80px 30px 80px;
}

.page-name {
    color: #279989;
    font-size: 18px;
    margin: 10px 0 20px 0;
    font-weight: 500;
}

/*menu trigger button*/
button.menu-trigger {
    color: white;
    background: none;
    border: none;
    font-size: 30px;
    padding: 2px 4px;
}

.menu-trigger:hover {
    cursor: pointer;
}

.menu-trigger:focus {
    outline: none;
}

/*naujienos*/
div.card-columns .card {
    margin-bottom: 20px;
}

div.card {
    border: none;
    border-radius: 5px;
}

div.card-columns {
    margin-top: 10px;
}

.news {
    font-size: 16px;
    color: black;
    line-height: 1.5em;
}

.news a {
    text-decoration: none;
}

.news a:hover {
    text-decoration: underline;
}

.news-header {
    margin-bottom: 20px;
}

.news-title {
    font-weight: 700;
    color: #8a2062;
}

.news-date {
   color: #a8a8a8;
}

/*info*/
.list-item {
    margin-bottom: 20px;
}

.list-item-main {
    font-weight: 700;
}

/*message*/
.error-message {
    color: #8a2062;
    background-color: rgba(138, 32, 98, 0.2);
    border: 2px solid #8a2062;
    position: relative;
    line-height: 20px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 5px;
    margin: 5px auto 0 auto;
    width: 90%;
    box-sizing: border-box;
    padding: 13px 25% 13px 20px;
}

.error-message .fa-exclamation {
    font-size: 36px;
    position: absolute;
    top: calc(50% - 16px);
    right: 5%;
}

.message-outer-container {
    background-color: #FFFFFF;
}

/*table*/
table {
    width: 100%;
    line-height: 1.4em;
    border-collapse: collapse;
    /*overflow-x: auto;*/
    /*display: inline-block;*/
}

table tr th {
    background-color: #8a2062;
    color: #FFFFFF;
    font-weight: 700;
    padding: 10px;
    height: 65px;
    box-sizing: border-box;
}

table tr th:first-of-type {
    border-top-left-radius: 5px;
}

table tr th:last-of-type {
    border-top-right-radius: 5px;
}

table tr {
    height: 70px;
    box-sizing: border-box;
}

table tr td {
    padding: 15px 10px;
}

table tr:nth-child(even) {
    background-color: rgba(138, 32, 98, 0.1);
}

table tr:nth-child(odd) {
    /*background-color: rgba(0, 0, 0, 0.1);*/
}

div.contacts {
    overflow-x: auto;
}

table tr td.column-phone {
    min-width: 110px;
}

table tr td.column-name {
    min-width: 130px;
}

/*scrollable item scrollbar style*/
.scrollable {
    scrollbar-base-color: #8a2062 ;
    scrollbar-face-color: #8a2062;
    scrollbar-3dlight-color: #ededed;
    scrollbar-highlight-color: #8a2062;
    scrollbar-track-color: #ededed;
    scrollbar-arrow-color: #8a2062;
    scrollbar-shadow-color: #8a2062;

    -ms-scrollbar-3dlight-color: #ededed;
    -ms-scrollbar-base-color: #8a2062;
    -ms-scrollbar-face-color: #8a2062;
    -ms-scrollbar-highlight-color: #8a2062;
    -ms-scrollbar-track-color: #ededed;
    -ms-scrollbar-arrow-color: #8a2062;
    -ms-scrollbar-shadow-color: #8a2062;
}

.scrollable::-webkit-scrollbar {
    width: 10px;
}

.scrollable::-webkit-scrollbar-thumb {
    background: #8a2062;
    border-radius: 20px;
}

.scrollable::-webkit-scrollbar-track {
    background: #ededed;
    border-radius: 20px;
}

.scrollable::-webkit-scrollbar {
    width: 15px;
}

/*statistika charts*/
.charts {
    margin-bottom: 30px;
}

.chart-name-div {
   text-align: center;
}

.chart-name {
    font-weight: 700;
    color: #8a2062;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.chart {
    width: 100%;
}

/*statistika table*/

.table-name {
    font-weight: 700;
    color: #8a2062;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    display: inline-block;
}

.stats-table table tr th {
    border-radius: 0;
}

.stats-table table tr td {
    min-width: 100px;
}

.stats-table table tr:nth-child(odd) th {
    background-color: #953871;
}

.stats-table table tr:first-of-type th {
    border-top-left-radius: 5px;
}

.stats-table table tr:last-of-type th {
    border-bottom-left-radius: 5px;
}

.stats-table table tr:first-of-type td:last-of-type {
    border-top-right-radius: 5px;
}

.stats-table table tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 5px;
}

/*paging table*/
#paging-table thead {
    display: none;
}

.dataTables_wrapper > div.row:first-of-type {
    display: none;
}

#paging-table {
    line-height: 1.5em;
}

#paging-table tr {
    background-color: #FFFFFF;
}

#paging-table tr td {
    padding: 10px 0 0 0;
}

div.dataTables_info {
    color: black;
}

.paginate_button.page-item a {
    color: #8a2062;
    text-decoration: none;
}

.paginate_button.page-item a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

li.paginate_button.page-item.active a {
    background-color: #8a2062;
    border-color: #8a2062;
}

.paginate_button a.page-link:focus {
    box-shadow: none;
}

#paging-table_wrapper div:nth-child(3) div {
    flex-grow: 1;
    max-width: 100%;
    text-align: left;
}

#paging-table_wrapper > div:nth-child(3) div:last-of-type {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

/*reikalavimai*/
.secondary-header {
    font-weight: 700;
    color: #8a2062;
}

.list-main-item {
    font-weight: 700;
    display: block;
    margin-top: 20px;
}

ul.narsykles{
    list-style-type: square;
}

tr.ui-widget-content.ui-datatable-odd.ui-state-highlight {
    background: inherit;
}
