﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*.logout-link {
    background-color: #b80716;
    color: white;
    padding: 1px 8px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.9em;
}

.logout-link:hover {
    background-color: #0056b3;
    color: white;
}*/

button {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background: linear-gradient(90deg, #0056b3, #003f7f);
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#accessCode {
    width: calc(20ch + 16px);
    padding: 8px 12px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}

#accessCode:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

#accessCode::placeholder {
    color: #aaa;
    font-style: italic;
}


/*.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}*/

.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.header-container h1 {
    margin: 0;
}

.header-container button {
    font-size: 16px;
}

/* Table */
/*table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

table td ul {
    margin-bottom: -5px;
    padding-left: 20px;
}

table td ol {
    margin-bottom: -5px;
    padding-left: 20px;
}

table td ul li {
    margin-bottom: 5px;
}

table td ol li {
    margin-bottom: 5px;
}*/

@media print {
    .nav-item {
        display: none;
    }
    button {
        display: none;
    }
    footer {
        display: none;
    }
}

.file-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Выравнивает элементы по верхнему краю */
    margin-bottom: 20px;
}

.badge-image {
    max-width: 380px;
    height: auto;
    margin-right: 10px;
}

.link-container {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 160px);
    align-items: flex-start;
    justify-content: flex-start;
}

.verify-link {
    background-color: #0069d9;
    color: white;
    padding: 1px 8px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    top: 5px;
    margin-top: 1px;
}

.verify-link:hover {
    background-color: #0056b3;
    color: white;
}

@media print {
    hr {
        border: none;
        border-top: 1px solid #999;
        margin: 5px 0;
    }
}

/*h1 {
    background-color: green;
    color: white;
    padding: 5px;
}

h2 {
    background-color: yellow;
    color: black;
    padding: 5px;
}

h3 {
    background-color: red;
    color: white;
    padding: 5px;
}*/

/*Murkdown h1 + Button*/
.header-container {
    display: flex;
    justify-content: space-between; /* Контент слева, кнопка справа */
    align-items: center; /* Выравнивает элементы по вертикали (если нужно) */
    margin-bottom: 10px;
}

.content-container {
    flex-grow: 1; /* Контент занимает всё оставшееся пространство слева */
}

.header-container button {
    font-size: 16px;
    margin: 0;
    align-self: flex-start;
    white-space: nowrap;
}

.rounded-foto {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    padding: 5px;
}

.foto-container {
    display: flex;
    justify-content: center;
}

/*Table*/
table {
    border-collapse: collapse;
    width: 100%;
    padding: 50px;
}

th, td {
    border: 1px solid #ddd;
    text-align: left;
    font-size: 12.5px;
    line-height: 1.55;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}






h1 {
    margin: 0;
    font-weight: bold;
}

h2 {
    margin: 0;
    padding: 8px 0 0 0;
}

h3 {
    padding: 8px 0 0 0;
}


ul {
    /*    margin-bottom: -5px;
    padding-left: 20px;*/
    /*background-color: wheat;*/
    /*
    list-style: none;*/
    /*padding: 0;*/ /* Entfernt den inneren Abstand der Liste */
    margin: 0; /* Entfernt den äußeren Abstand der Liste */
}

@media print {
    li {
        font-size: 12px;
    }

    h1 {
        margin: 0;
        font-weight: bold;
    }

    h2 {
        margin: 0;
        padding: 8px 0 0 0;
        font-size: 19px;
        font-weight: bold;
    }

    h3 {
        margin: 0;
        padding: 8px 0 0 0;
        font-size: 16px;
        font-weight: bold;
        /*        font-size: 16px;
        padding: 8px 0 0 0;*/
    }
}

/*CV*/
.responsive-container {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}

.image-container {
    flex: 0 0 auto;
    margin-right: 20px;
}

.text-container {
    flex: 1;
    margin-left: 40px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .responsive-container {
        display: block;
    }

    .image-container {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .text-container {
        margin-left: 0;
        margin-top: 0;
    }
}

@media print {
    .responsive-container {
        display: flex;
    }

    .image-container {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .text-container {
        margin-left: 40px;
        margin-top: 20px;
    }
}

/* no-print */
@media print {
    .no-print {
        display: none !important;
    }
}

hr {
    padding: 4px 0 0 0;
}

/*Toolbox*/
.toolbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbox button {
    padding: 10px 15px;
/*    font-size: 14px;*/
    cursor: pointer;
}

.toolbox form {
    margin: 0;
}

img[src*="flag_switzerland.png"] {
    vertical-align: -6px; /* Verschiebt das Bild nach unten */
}

.badge {
    padding: 4px 8px;
    border-radius: 10px;
    color: #FFFFFF;
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    margin-right: 5px;
    position: relative;
    top: 4px;
    float: right;
}

.badge.digital-government {
    background-color: #FF0000;
}

.badge.finance {
    background-color: #B8860B;
}

.badge.insurance {
    background-color: #8A2BE2;
}

.badge.gis {
    background-color: #2E8B57;
}

.badge.internet-services {
    background-color: #6495ED;
}

.badge.industry {
    background-color: #2F4F4F;
}

.badge.automation {
    background-color: #466F6F;
}

.badge.measurement {
    background-color: #466F6F;
}

.badge.research {
    background-color: #466F6F;
}

