/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
:root {
    --dark-blue: #101279;
    --white: #ffffff;
}

::selection {
    background-color: #E13300;
    color: var(--white);
}

::-moz-selection {
    background-color: #E13300;
    color: var(--white);
}

body {
  font: 13px/20px normal Helvetica, Arial, sans-serif;
  color: #4F5155;
  background-color:var(--white);
}

a {
  color: #003399;
  background-color: transparent;
  font-weight: normal;
  text-decoration: none;
}

a:hover {
  color: #97310e;
}

h1 {
  color: rgb(249, 250, 250);
  background-color: rgb(222, 107, 37);
  border-bottom: 1px solid #D0D0D0;
  font-size: 19px;
  font-weight: normal;
  margin: 0 0 14px 0;
  padding: 14px 15px 10px 15px;
}

code {
  font-family: Consolas, Monaco, Courier New, Courier, monospace;
  font-size: 12px;
  background-color: #f9f9f9;
  border: 1px solid #D0D0D0;
  color: #002166;
  display: block;
  margin: 14px 0 14px 0;
  padding: 12px 10px 12px 10px;
}

#body {
  margin: 0 15px 0 15px;
  min-height: 96px;
}

p {
  margin: 0 0 10px;
  padding:0;
}

p.footer {
  text-align: right;
  font-size: 11px;
  border-top: 1px solid #D0D0D0;
  line-height: 32px;
  padding: 0 10px 0 10px;
  margin: 20px 0 0 0;
}

#header {
  height: 50px;
  background-color: var(--dark-blue);
	position: relative;
}

#headerTitlu {
  color:var(--white);
  font-size: 20px;
  position: absolute;
  top: 15px;
  left: 20px;
}

#container {
  margin: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.butonBariera {
  height: 100px;
  width: 100%;
  font-size: 36px;
  margin-top: 60px;
  margin-bottom: 60px;
  color: var(--dark-blue);
  /*box-shadow: 6px 6px 12px #86020e;*/
  border-radius: 10px;
  border: 2px solid var(--dark-blue);
  background-color: #ffffff;
  cursor: pointer;
}

.placutaLocatie {
    font-size: 24px;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    color: var(--dark-blue);
    /*box-shadow: 6px 6px 12px #86020e;*/
    border-radius: 10px;
    border: 2px solid var(--dark-blue);
    background-color: #ffffff;
    line-height: 36px;
}
/*.butonBariera:hover {
  background-color: #ac6d6d;
}*/

#butonDescarca {
  position: absolute;
	right: 20px;
	top: 60px;
	background-color: var(--dark-blue);
	color:var(--white);
}

#butonLogout {
  float: right;
  background-color: rgb(0,151,247);
  color:var(--white);
  border: none;
  height: 30px;
  position: absolute;
  top: -21px;
  right: 20px;
}

#linkLogout {
  float: right;
  color:var(--white);
  font-size: 20px;
  position: absolute;
  bottom: 15px;
  right: 26px;
}

#linkLogout:hover {
  color: #c1abab;
}

#login {
  width: 50%;
  margin: auto;
  margin-top: 100px;
}

#loginHeader {
  background-color: rgb(0,151,247);
  color:var(--white);
  font-size: 22px;
  height: 50px;
}

#loginHeader p {
  padding-top: 11px;
  padding-left: 6px;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#username, #parola {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  height: 60px;
  padding-top: 5px;
  padding-left: 5px;
  border: 1px solid var(--dark-blue);
}

#usernameLabel, #parolaLabel {
  position: absolute;
  font-size: 18px;
  color: var(--dark-blue);
  ;
}

#usernameInput, #parolaInput {
  height: 100%;
  border: none;
  margin-top: 10px;
  outline: none;
  color: var(--dark-blue);
}

#submit {
  margin-top: 10px;
}

#butonSubmit {
  width: 100px;
  height: 40px;
  background-color: var(--dark-blue);
  color:var(--white);
  border: none;
  float: right;
  font-size: 16px;
  font-weight: bold;
}

@media (prefers-color-scheme: dark) {
    :root {
        --dark-blue: #101279;
        --white: #000;
    }

    #headerTitlu,
    #linkLogout,
    #butonDescarca,
    .butonBariera,
    .placutaLocatie {
        color: #fff;
    
    .butonBariera,
    .placutaLocatie {
        background-color: var(--dark-blue);
    }
}
/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-blue);
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    color: #fff;
    font-size: 1.4em;
    position: relative;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}