
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande',
    'Lucida Sans', Arial, sans-serif;
}

body {
    background-color: #e5e4e2;
}

/* Mobile first */
.karkasas {
     min-height: 100vh;
     /* min-width: calc(100vw - (100vw - 100%));*/
     background-color: #e5e4e2;
}
.karkasas h1{
    margin-left: 30px;
    padding-top: 10px;
    font-size: 2em;
}

header {
    display: flex;
    align-items: center;
}

header img {
    width: 150px;
    margin-left: 30px;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    color: #000;
    margin: 15px;
}

header nav a, table a {
    text-decoration: none;
    color: rgb(85, 85, 85);
    padding: 10px;
    padding-top: 10px;
}

header nav a:hover {
    color: #92000a;
}

.meniu {
    display: grid;
}

#atsijungti {
    color: #92000a;
}

#atsijungti:hover {
    color: #000;
}

.pav-juosta {
    padding-top: 100px;
    font-size: 2.5em;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    z-index: 1;
}

.prisijungimo-forma {
    max-width: 50%;
    margin: auto;
    display: grid;
    justify-items: center;
    text-align: center;
    padding-top: 50px;
}


.paieskos-forma {
    max-width: 50%;
    margin: 15px auto;
    display: flex;
    justify-content: center;
    border-radius: 10px;
}

.prisijungimas, #id_nuotrauka, #id_prisegtukas, #id_profilio_nuotrauka {
    width: 100%;
    margin: 0;
    margin-bottom: 5px;
    padding: 10px;
    outline: 0;
    border: 0;
    font-size: 1.1em;
    border-radius: 10px;
    z-index: 1;
}


.login-container {
  position: relative;
  background-color: #e5e4e2
}

.login-container img {
  position: absolute;
  transform: rotate(90deg);
  width: auto;
  height: 270px;
  top: 330px;
  left: -410px;
  background-color: #e5e4e2;
  overflow: hidden;
}

.input-group, .input-group div {
    width: 100%;
    padding: 0px;
    outline: 0;
    border: 0;
    border-radius: 10px;
}

.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data1 {
    flex-basis: 80%;
}

.data1 input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append {
    flex-basis: 20%;
    height: 47px;
    border-radius: 10px;
    margin-bottom: 5px;
}

.input-group-text {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d3d3d3;
  font-size: 1.3em;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    background-color: #dcdcdc;
}

.paieska {
    width: 100%;
    padding: 10px;
    margin-bottom: 0px;
    outline: 0;
    border: 0;
    font-size: 1.1em;
    border-radius: 10px;
}

select {
    height: 45px;
    border: none;
    border-radius: 0px;
    background-color: white;
}

#id_nuotrauka, #id_prisegtukas, #id_profilio_nuotrauka {
    background-color: white;
}

input[type=text]:focus, input[type=email]:focus, textarea:focus, input[type=password]:focus, select:focus, input[type=url]:focus {
    box-shadow:
            0px 0px 10px #888888,
            0px 4px 6px #888888;
}

#div-centravimas {
    text-align: center;
}
.forma p {
    width: 100%;
    text-align: right;
}

#statistika {
    display: flex;
    justify-content: flex-end;
    font-size: 1em;
    color: rgb(85, 85, 85);
    margin-right: 25px;
}

#statistika p {
    padding-left: 5px;
}

#output {
    max-width: 80%;
    margin: 50px auto;
    padding: 20px;
}
.prisijung-mygt {
    width: 100%;
    height: 60px;
    background-color: #d3d3d3;
    border: 0;
    outline: 0;
    font-size: 2em;
    border-radius: 10px;
    z-index: 1;
}

.prisijung-mygt:hover {
    cursor: pointer;
    background-color: #000;
    color: #fff;
}

.paieskos-mygt {
    width: 100px;
    margin-left: 5px;
    background-color: #d3d3d3;
    border: 0;
    border-radius: 10px;
    outline: 0;
    font-size: 1em;
}

.paieskos-mygt:hover, .kategorija a:hover, .prideti-kat-uzr a:hover, .atsaukti-mygt:hover, .plius-mygt:hover, .nuorodos-mygt:hover, .parsisiusti-mygt:hover, .puslapiavimas a:hover {
    cursor: pointer;
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

.uzrasu-klasiu-blokas {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin-left: 30px;
    margin-right: 30px;
    justify-content: center;
}

.uzrasu-klasiu-blokas h2 {
    padding-bottom: 20px;
    width: 250px;
    height: 50px;
    font-size: 1.5em;
}

.uzraso-blokas {
    width: 250px;
    height: auto;
    background-color: white;
    margin-bottom: 20px;
    border-radius: 10px;
}

.uzduoties-blokas-vykdoma {
    width: 250px;
    height: auto;
    background-color: #d4edda;
    margin-bottom: 20px;
    border-radius: 10px;
}

.uzduoties-blokas-sustabdyta {
    width: 250px;
    height: auto;
    background-color: #fdeed6;
    margin-bottom: 20px;
    border-radius: 10px;
}

.uzduoties-blokas-pradelsta {
    width: 250px;
    height: auto;
    background-color: #fa8072;
    margin-bottom: 20px;
    border-radius: 10px;
}

.uzraso-blokas:hover, .uzduoties-blokas-vykdoma:hover, .uzduoties-blokas-pradelsta:hover, .uzduoties-blokas-sustabdyta:hover {
    box-shadow:
            0px 0px 10px #888888,
            0px 4px 6px #888888;
}

.uzraso-blokas img, .uzduoties-blokas-vykdoma img, .uzduoties-blokas-pradelsta img, .uzduoties-blokas-sustabdyta img {
    width: 230px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    display: block;
    border-radius: 10px;
}

.uzraso-blokas h3, .uzduoties-blokas-vykdoma h3, .uzduoties-blokas-pradelsta h3, .uzduoties-blokas-sustabdyta h3 {
    font-size: 1.1em;
    padding: 10px;
    margin-bottom: 0px;
    color: #000;
    text-decoration: none;
}

.uzraso-blokas a, .uzduoties-blokas-vykdoma a, .uzduoties-blokas-pradelsta a, .uzduoties-blokas-sustabdyta a {
    font-size: 1.1em;
    color: #000;
    text-decoration: none;
}

.uzraso-blokas p, .uzduoties-blokas-vykdoma p, .uzduoties-blokas-pradelsta p, .uzduoties-blokas-sustabdyta p {
    font-size: 0.9em;
    padding-left: 10px;
}

.kategorija a, .kategorija p, .kategorija h2 {
    display: flex;
    align-items:center;
    justify-content:center;
    width: 100%;
    height: auto;
    padding: 10px;
    color: #000;
    text-decoration: none;
    font-size: 2em;
    border-radius: 10px;
}

.kategorija p {
    font-size: 1em;
}

.prideti-kat-uzr a {
    display: flex;
    align-items:center;
    justify-content:center;
    width: 100%;
    height: 160px;
    padding: 10px;
    color: #000;
    background-color: #d3d3d3;
    text-decoration: none;
    font-size: 2em;
}

.atsaukti-mygt, .istrinti-mygt, .plius-mygt, .nuorodos-mygt, .parsisiusti-mygt, .pradeti-mygt {
    display: flex;
    align-items:center;
    justify-content:center;
    width: 100%;
    padding: 10px;
    color: rgb(85, 85, 85);
    background-color: #c0c0c0;
    text-decoration: none;
    font-size: 1.1em;
    border: none;
    border-radius: 10px;
    margin: 0px 10px 10px 10px;
}

.plius-mygt {
    display: inline-block;
    width: 250px;
    margin-bottom: 15px;
    font-size: 1.2em;
    border-radius: 10px;
    text-align: center;
    margin-left: 0px;
}

.keisti-trinti {
    max-width: 100%;
    display: flex;
    justify-items: center;
    text-decoration: none;
    color: rgb(85, 85, 85);
    border-radius: 10px;
}

.div_su_profilio_nuotrauka {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgb(85, 85, 85);
    border-radius: 10px;
}

.istrinti-mygt:hover {
    cursor: pointer;
    background-color: #FF2400;
    color: #fff;
    text-decoration: none;
}

.pradeti-mygt:hover {
    cursor: pointer;
    background-color: #568203;
    color: #fff;
    text-decoration: none;
}

.nuorodos-mygt {
    background-color: #87ceeb;
    display: inline-block;
    text-align: center;
}

.parsisiusti-mygt {
    background-color: #e0b8e0;
    display: inline-block;
    text-align: center;
}

#sukurta {
    font-size: 0.7em;
    margin-bottom: 10px;
    margin-right: 5px;
}

#eigos-ist {
    font-size: 0.60em;
    margin-bottom: 7px;
}

#eiga {
    color: rgb(85, 85, 85);
    text-align: center;
    padding-right: 5px;
}

#atlikimo-data {
    color: #92000a;
}

.nuotrauka, .prisegtukas  {
        width: 100%;
        background-color: #d3d3d3;
        color: #A9A9A9;
        border: 1px solid #d3d3d3;
        border-radius: 10px;
        padding: 1px 5px;
        margin-bottom: 0px;
        cursor: pointer;
}

.profilio-nuotrauka img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}


.dokumentai {
    width: 100%;
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

input[readonly] {
    background-color: #d3d3d3;
    width: 100%;
    cursor: not-allowed;
}


/* Lentelės stilius */
.lenteles-konteineris {
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5px;
  padding-bottom: 20px;
}

table {
  border-collapse: collapse;
  border-radius: 10px;
  overflow: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  padding-bottom: 20px;
}

th {
  background-color: #f2f2f2;
  text-align: center;
  padding: 10px;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

td {
  border: 1px solid #dddddd;
  text-align: center;
  padding: 8px;
}

tr:hover {
  background-color: #d4edda;
}

.puslapiavimas {
    text-align: center;
}

.puslapiavimas a {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
}

.puslapiavimas .current-page {
    font-weight: bold;
}

footer p {
    margin: 0px;
}

/* pranešimų stilius */

.errorlist {
    list-style: none;
    font-size: 0.8em;
}

.messages {
    z-index: 100;
    position: fixed;
    bottom: 3%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.5em;
    display: flex;
}

.success {
    background-color: RGB(212, 237, 218, 0.5);
    border-color: #ebcccc;
    color: #376e37;
    padding: 20px;
    border-radius: 10px;
}

.warning, .errorlist, .danger {
    background-color: RGB(248, 215, 218, 0.5);
    color: #a94442;
    padding: 20px;
    border-radius: 10px;
}

.errorlist ul {
    background: none;
}
.messages button {
    border: none;
    font-size: 1em;
}

footer {
    text-align: center;
    background-color: #e5e4e2;
    padding-top: 20px;
}

#spinner-kontaineris {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;

}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

/* Planšetė/PC */
@media screen and (min-width: 1170px) {
    .pav-juosta {
        font-size: 3.5em;
        z-index: 1;
    }

    .uzrasu-klasiu-blokas {
        justify-content: left;
    }
    .meniu {
        display: flex;
    }

    #prisijung-mygt, #output {
        font-size: 2em;
    }
    .lenteles-konteineris {
        display: flex;
        padding: 0 100px;
    }
    table {
        overflow: hidden;
        width: 80%;
        max-width: 80%;
        border-radius: 10px;
    }
}
