@font-face {
    font-family: 'Archivo', sans-serif;
    src: url('/fonts/archivo-v19-latin-regular.woff2') format('woff2'),
         url('/fonts/archivo-v19-latin-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

a:hover {
	text-decoration: none !important;
}

/*Nav style*/
.top-nav a, .top-nav a:hover {
    text-decoration: none !important;
}

.top-nav {
    max-width: 1728px;
    z-index: 2;
    position: fixed;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 1px 3px 0px #3c40434d
}

.tabs {
    display: flex;
    position: relative;
    height: 48px;
    border-bottom: 1px solid #BEBEBE;
    padding: 0px 16px;
}

.tab {
    border: none;
    background: none;
    position: relative;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    line-height: 24px;
    color: #7A7A7A;
    min-width: 80px;
}

.tab.active {
    color:#E21A1A;
}

.tab:hover {
    background-color:#fef6f6;
}

.tab-slider {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 100%;
    background: #E21A1A;
    opacity: 0;
}

.tab.active .tab-slider {
    opacity: 1;
}

.main-nav {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center
}

.main-nav>div>span {
    vertical-align: middle;
}

.project-info {
    text-align: right;
    flex: 1;
    font-size: 14px;
}

.divider {
    height: 36px;
    margin: 0px 16px 0px 25px;
    width: 1px;
    background-color: #D9D9D9;
    display: inline-block;
    vertical-align: middle;
}

.actions img, .project-info img {
    width: 24px;
    height: 24px;
}

.project-info img {
    margin: 0px 5px 0px 15px;
    filter: invert(98%) sepia(0%) saturate(1%) hue-rotate(213deg) brightness(89%) contrast(89%);
}

.actions img {
    margin: 0px 5px;
}

.actions img:not(.signout_btn img) {
    filter: invert(14%) sepia(2%) saturate(1804%) hue-rotate(7deg) brightness(90%) contrast(81%);
}

.signout_btn img {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.signout_btn {
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid #070707;
    color: #070707;
    font-size: 16px;
    margin-left: 8px;
    vertical-align: middle;
    background-color: #FAFAFA;
}

.signout_btn img {
    margin: 0px 5px 0px 0px;
}
.signout_btn:hover {
    color: black;
}

#about {
    position: absolute;
    background: #FFFFFF;
    min-width: 200px;
    min-height: 100px;
	top: 70px;
    right:0;
    z-index: 2;
    margin-top: 10px;
    background: #F4F4F5;
    border-radius: 6px;
    width: 344px;

    gap: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-family: Archivo, sans-serif;
    font-weight: 400;
    line-height: 16px;
    color: #030712;
    box-shadow: 0px 4px 6px -1px #0000001A;
}

#about>div:not(:first-child) {
	margin-top: 10px;
}

#about label {
    margin-bottom: 0px;
    font-weight: 600;
}

/*Main panel style*/

.main-panel {
    display: flex;
    flex: 1;
    position: relative;
    background: #FAFAFA;
}

/* side panel */
.side-panel {
    width: 256px;
    margin: 5px 0px;
    height: 1000px; 
    display: inline-block; 
    position: fixed;
    background: #FFFFFF;
    z-index: 10;
}

.side-panel a {
    text-decoration: none !important;
}

.side-panel a:hover {
    text-decoration: none !important;
}

.side-panel h4 {
	font-size: 15px;
}

.add-project {
    display: inline-block;
    padding: 16px 0px 16px 16px;
}

.add-project a {
    color: #FFFFFF;
    background: #E21A1A;
    vertical-align: middle;
    padding: 12px 33px 12px 19px;
    border-radius: 30px;
    line-height: 24px;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    align-items: center;
    display: flex;
}

.add-project a:focus, .add-project a:hover {
    color: #FFFFFF;
    text-decoration: none;
}


.add-project img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    margin-right: 8px;
}


.add-project a.inactive {
    background: #b3b3b3;
    color: black !important;
}

.add-project a.inactive img {
    filter: invert(0%) sepia(100%) saturate(7440%) hue-rotate(296deg) brightness(111%) contrast(112%);
}

.project-list-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    color: #5F6368;
    font-size: 12px;
    line-height: 13.06px;
    letter-spacing: 0.25px;
    margin-left: 32px;
}

.project-list {
    margin-right: 8px;
    max-height: calc(100vh - 295px);
    overflow-y: auto;
    overflow-x: hidden;
}

.project-name {
    font-family: 'Archivo', sans-serif;
    display: flex;
    align-items: center;
    color: #5F6368;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 13px 16px 13px 6px;
    cursor: pointer;
    letter-spacing: 0.2px;
    border-radius: 0px 200px 200px 0px;
}

.project-list-item {
    font-size: 12px;
    font-weight: 500;
    position: relative;
}

.project-name:hover {
    background: #FAFAFA;
    color: #000000;
}

.project_name>span, .link-name {
    overflow: hidden;
    white-space: nowrap;
    margin-right: 30px;
    text-overflow: ellipsis;
}

.project-name img:not(.project-options img),
.link-list-item img:not(.link-options img),
.add-link img  {
    margin-right: 8px;
}

.link-list-item .link-options img {
    filter: invert(39%) sepia(8%) saturate(270%) hue-rotate(173deg) brightness(96%) contrast(97%);
}


.project-name>img {
    width: 16px;
    height: 16px;
}

.project-name img:nth-child(2) {
    width: 22px;
    height: 22px;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

.project-list-item hr {
    width: 220px;
    color: #DADCE0;
    margin: 16px 8px 16px 28px;
}

.link-list {
    display: none;
}

.link-list-item {
    font-family: 'Archivo', sans-serif;
    display: flex;
    align-items: center;
    padding: 12px 16px 12px 30px;
    border-radius: 0px 200px 200px 0px;
    font-size: 14px;
    line-height: 22px;
    color: #5F6368;
    font-weight: 400;
    cursor: pointer;
    letter-spacing: 0.2px;
    position: relative;
}

.project-name img,
.link-list-item img:nth-child(1) {
    filter: invert(36%) sepia(12%) saturate(222%) hue-rotate(173deg) brightness(100%) contrast(90%);
}

.link-list-item>img {
    width: 16px;
    height: 16px;
}

.link-list-item.active {
    background: #E8E8E8;
    font-weight: 500;
    color: #000000;
    letter-spacing: 0.25px;
}

.link-list-item.active>img {
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.project-options, .link-options {
    display: none;
    width: 22px;
    height: 22px;
    margin-left: auto;
}

.project-name:hover .project-options,
.link-list-item:hover .link-options,
.link-options.active {
    display: block;
}

.link-options {
    display: none;
}

.link-options img,
.project-options img {
    position: relative;
    width: 22px;
    height: 22px;
    pointer-events: none;
    z-index: 6;
}


.link-options,
.project-options {
    position: absolute;
    right: 13px;
    cursor: pointer;
    z-index: 10;
}

.link-options::after,
.project-options::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    border-radius: 30px;
    z-index: 5;
}


.link-list-item.active .link-options:hover::after,
.link-list-item.active .link-options.active::after {
    background: #dbdbdb;
}

.link-options:hover::after,
.link-options.active::after {
    background: #FAFAFA;
}

.project-list-item.active .project-options:hover::after,
.project-list-item.active .project-options.active::after,
.project-options:hover::after,
.project-options.active::after {
    background: #ededed;
}

.link-list-item.active img:nth-child(2) {
    margin-left: auto;
    cursor: pointer;
}

.add-link {
    display: flex;
    align-items: center;
    padding: 15px 24px 15px 30px;
    font-weight: 500;
    line-height: 20px;
    color: #09090B !important;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.25px;
}

.add-link a {
    color: #09090B !important;
    font-weight: 500;
}
.add-link a:hover {
    color: #09090B !important;
}

.add-link img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.project-option-menu, .link-option-menu {
    display: none;
    position: absolute;
    width: 160px;
    border-radius: 4px;
    padding: 8px 0px;
    left: 147px;
    /* top: 130px; */
    box-shadow: 0px 2px 3px 0px #3C40434D;
    /* box-shadow: 0px 6px 10px 4px #3C404326;*/
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    background: #FFFFFF;
    z-index: 11;
    transform: translateY(0);
    position: fixed;
}

.project-option-menu a,
.link-option-menu a {
    padding: 14px 16px;
    display: block;
    color: #5F6368;
}

.project-option-menu a.inactive,
.link-option-menu a.inactive,
.add-project a.inactive {
    pointer-events: none;
}

.project-option-menu.active,
.link-option-menu.active {
    display: block;
}

.project-option-menu.active a:hover,
.link-option-menu.active a:hover {
    background-color: #FAFAFA; /*paņēmu lapas background krāsu, lai ir gaišāks par link list select*/
    color: #000000;
}


/*main page*/

.Mid_Block {
    flex: 1;
    padding: 24px 32px 60px 32px;
    margin: 0px;
    margin-left: 256px;
}


#MapFrame {
    display: flex;
    flex-wrap: wrap;
}


#content {

}


.content-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 24px;
    border-radius: 8px;
}

.content-row {
    margin-bottom: 24px;
}

.content-item {
    flex: 1; /*divides space in equal parts*/
    background: #FFFFFF;
    box-shadow: 0px 1px 3px 1px #3C404326;
    box-shadow: 0px 1px 2px 0px #3C40434D;
    border-radius: 8px;
}

#points .content-item,
#maps > div:nth-child(2),
#harware-tbls .content-item {
    padding: 24px;
}

#maps > div:nth-child(2) {
    display: flex; 
    flex-direction: column;
    position: relative;
}
.topo-maps,
.topo-footer {
    margin-top: auto;
}


#points input,
#points select,
#harware-tbls input,
#harware-tbls select {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    height: 44px;
    padding: 10px;
    color: #070707;
}

#point0, #point1 {
	/* border:1px solid #cccccc; */
	border-collapse: separate;
} 

#point0 tr:nth-child(1) td:nth-child(1), 
#point1 tr:nth-child(1) td:nth-child(1) {
    vertical-align: top;
    padding-top: 10px;
}   

.point-height-titles div,
.point-height-values div {
    display: flex;
    gap: 12px;
}

.point-height-titles div div,
.decimal-degrees label,
.min-sec-tbl label {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 50%;
    color: #070707;
    display: inline-block;
}

.min-sec-tbl label {
    width: 71px;
    flex-shrink: 0;
    margin-bottom: 0px;
}

.min-sec-tbl>div {
    align-items: center;
}

.min-sec-tbl>div:nth-child(1) {
    margin-bottom: 12px;
}

.min-sec-tbl {
    padding: 12px 0px;
}

/*maps row*/
.topo-header {
    margin-bottom: 10px;
}
.topo-footer span {
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.25px;
    color: #5F6368;
}

.topo-footer img {
    margin-right: 8px;
}

.topo-maps {
    position: relative;
    text-align: center;
}

/*Calculated tables*/
.table-item {
    flex: 1;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0px 1px 2px 0px #3C40434D;
    border-radius: 8px;
}

.table-item h4 {
    font-family: Archivo, sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 24px;
    color: #070707;
    margin-top: 0px;
    margin-bottom: 10px;
}

.table-item table {
    width: 100%;
}
.table-item th {
    border-top: 0;
    color: #71717A;
    padding: 16px;
}

.table-item td {
    color: #09090B;
}

.table-item th,
.table-item td {
    font-family: Archivo, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 15.23px;
}

.table-item td,
.table-item th {
    padding: 24.5px 16px;
    vertical-align: top;
    border-bottom: 1px solid #E4E4E7;
}

.table-item.signal-quality tr th:last-child,
.table-item.signal-quality tr td:last-child {
    text-align: right;
}

.table-item.signal-quality tr td,
.table-item.signal-quality tr th {
    width: 33%;
}

.table-item.availability td:first-child(),
.table-item.availability th:first-child() {
    width: 50%;
}

.table-item.availability td:nth-child(2),
.table-item.availability th:nth-child(2)
.table-item.availability td:last-child,
.table-item.availability th:last-child {
    width: 25%;
}

.availability-per-modulation td,
.availability-per-modulation th {
    width: 16.6%;
}


#harware-tbls>div {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 10px;
    grid-auto-rows: min-content;
}

#harware-tbls>.content-item>.item-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: span 2;
}

.item-group label {
    font-family: Archivo, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.content-item h1 {
    font-family: Archivo, sans-serif;
    font-weight: 400;
    font-size: 22px !important;
    line-height: 24px;
    margin: 0;
}

.content-item h2 {
    font-family: Archivo, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #070707;
    margin: 12px 0 0 0;
}

.min-sec-tbl input {
    border-radius: 6px;
    border: 1px solid #E4E4E7;
}

.min-sec-tbl>div {
    display: flex;
    gap: 12px;
}

.footer {
    display: flex;
    position: fixed;
    bottom: 0;
    margin-left: -32px;
    width: 1472px;
    z-index: 1;
    gap: 16px;
    padding: 15px 24px;
    box-shadow: 0px 1px 3px 1px #3C404326;
    background: #FFFFFF;
}

.footer-options {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer button {
    padding: 5px 16px;
    border-radius: 30px;
    font-family: Archivo, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #070707;
    cursor: pointer;
}

.footer button:hover {
    color: #070707 !important;
}

.footer-options > .divider {
    margin: 0;
}

.footer-link-option {
    display: flex;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    align-items: center;
    cursor: pointer;
}

.footer-link-option a img {
    width: 18px;
    height: 18px;
    filter: invert(18%) sepia(7%) saturate(370%) hue-rotate(8deg) brightness(96%) contrast(92%);
}

.footer-link-option a,
.footer-link-option span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #070707;
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.footer-link-option a:hover,
.footer-link-option a:focus {
    color: #070707;
}
.footer-link-option a:hover, 
.footer-link-option a:focus {
    text-decoration: none;
}

.footer-link-option span.inactive img,
.footer-link-option a.inactive img {
    filter: brightness(0) saturate(100%) invert(77%) sepia(0%) saturate(4316%) hue-rotate(181deg) brightness(93%) contrast(99%);
}

#btn_calc {
    background: #FAFAFA;
    border: 1px solid #070707;
}

#Reset_Fields_Button {
    background: #E7E7E8;
    border: 1px solid #E7E7E8;
}

#saveTxt {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 15.23px;
    color: #71717A;
}

td.info_btn_container,
div.info_btn_container,
.info_btn {
    display: none;
}

.info_btn {
    height: 24px;
    width: 24px;
}

div.info_btn_container {
    align-self: flex-start;
}

.topo-info {
    display: flex;
    justify-content: space-between;
}

#only_calculate_btn {
    display: none;
}

#charts {
    display: none;
}