/* -------------------------- Convertor Box START ------------------------ */
.conversion-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.unit-converter {
    margin-bottom: 20px;
}

.unit-title {
    text-align: center;
    color: #333;
}

.unit-input { 
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px; 
}

.unit-select {
    margin: 10px 0;
    padding: 10px;
    width: 48%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.unit-button {
    padding: 10px;
    width: 100%;
    max-width: 300px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    cursor: pointer;
    margin: 5px 0;  /* Pievienojiet nedaudz vietas starp pogām */
}
}

.convert-btn {
    background-color: #007bff;
    color: white;
}

.convert-btn:hover {
    background-color: #0056b3;
}

.clear-btn {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc;
}

.clear-btn:hover {
    background-color: #e2e6ea;
}

.unit-result-title {
    margin-bottom: 10px;
}

.unit-result {
    font-weight: bold;
    font-size: 1.2em;
}

/* Stils Convert pogai */
.convert-btn {
    background-color: #007bff;
    color: white;
}

.convert-btn:hover {
    background-color: #0056b3;
}

/* Stils Clear pogai */
.clear-btn {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc; /* Pievieno nelielu apmali */
}

.clear-btn:hover {
    background-color: #e2e6ea;
}

.result {
    text-align: center;
    margin-top: 20px;
}

.result h2 {
    margin-bottom: 10px;
}

.result p {
    font-weight: bold;
    font-size: 1.2em;
}


/* ------------------------ Convertor Box END------------------------ */
/* ------------------ Linked list ul li START ----------------------- */

.listb {
    padding:0;
    list-style: none;
} 

.listb li {
    position: relative;
    padding: 10px 30px;
    background: linear-gradient(to left, #ADCEE9 0%, #FFF, #ADCEE9);
    border: 2px solid #337AB7;
    color: #506a6b;
    box-shadow: 0 5px 5px 0 rgba(0,0,0, .2);
    margin-bottom: 5px;
    text-align:center;
    background-size: 100% 100%;
    z-index: 1;
    font-family: "Euclid Circular A", Arial, Sans-serif;
    letter-spacing: .03125rem;
    font-size: 1.0625rem;
}

.listb li:before {
    content: "";
    position:absolute;
    width: 0;
    height: 100%;
    top: 50%;
    left: 50%;
    background: linear-gradient(to left, #EBF3FA 0%, #FFF, #EBF3FA);
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    z-index: -1;
}
.listb li:hover:before {
    width: 100%;
    opacity: 1;
} 

 /* ------------------*/ 

.lista {
    padding:0;
    list-style: none;
    margin-top: 15px;
}

.lista li {
    position: relative;
    padding: 10px 30px;
    background: linear-gradient(to left, #EFEFEF 0%, #FFF, #EFEFEF);
    border: 2px solid #C0C0C0;
    color: #506a6b;
    box-shadow: 0 5px 5px 0 rgba(0,0,0, .2);
    margin-bottom: 5px;
    text-align:center;
    background-size: 100% 100%;
    z-index: 1;
    font-family: "Euclid Circular A", Arial, Sans-serif;
    letter-spacing: .03125rem;
    font-size: 1.0625rem;
}

.lista li:hover {
    border: 2px solid #ADCEE9;
}

.lista li:before {
    content: "";
    position:absolute;
    width: 0;
    height: 100%;
    top: 50%;
    left: 50%;
    background: linear-gradient(to left, #E2F0FA 0%, #FFF, #E2F0FA);
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    z-index: -1;
}

.lista li:hover:before {
    width: 100%;
    opacity: 1;
}    
/* -----------------------Linked list ul li END ------------------------ */

/* ---------------------- Anchor, saites ul, li ar marķieri START---------------- */

li.mark::marker {
    content: '•';      /* Marķiera simbols content: '►'; '•' */
    color: black;      /* Marķiera krāsa */
    font-size: 23px; 
   }

li.mark {
    padding-left: 0.5em; /* Marķiera attālums līdz tekstam */
}

a.anchor {
    color: #2156FA;
    letter-spacing: .03125rem;
    font-size: 18px;
    font-family: "Euclid Circular A", Arial, Sans-serif;
    font-weight: normal;
    line-height: 28px;
    text-decoration:underline
}

a.anchor:hover {
    color: #383838;
    text-decoration:underline
}

.list-mark {
    background-color: #f6f6f6;
}

/* ----------------------- Anchor, saites ul, li ar marķieri END--------------------------- */