/* ---MAIN STYLE (index.php)--- */
/* Šis atbild par pamata lapas noformējumu */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f2f2f2;
    padding: 40px;
}
/* Te ir galvenā satura kaste */
.box {
    background: white;
    padding: 25px;
    max-width: 420px;
    margin: auto;
    border-radius: 6px;
}
/*Šeit norādam pogas visā projektā */
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    background: #04AA6D;
    color: white;
    font-size: 15px;
}
/* Pogu hover efekts */
button:hover {
    opacity: 0.9;
}
/* Te izveidojam bīstamibas darbības pogu (dzēst lietotāju) */
.danger {
    background: #f44336;
}
/* Te izveidojam informatīvās pogas reģistrācija un iziet. */
.info {
    background: #2196F3;
}
/*šeit izveidojam veiksmīgs paziņojums */
.ok {
    color: green;
}
/* Te izveidojam kļūdas paziņojumu */
.err {
    color: red;
}
/* Te noņemam underline linkiem */
a {
    text-decoration: none;
}

/* ---LOGIN STYLE--- */
/*Te būs ievades lauki */
input[type=text],
input[type=password],
input[type=email] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
/*Šeit atceltšanas poga */
button {
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}
button:hover {
  opacity: 0.8;
}

.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}
/* te izveidojam attēla konteineri */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}
/*Lietotaja avatar attēls */
img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}
/*Šeit piešķiram izvietojumu aizmirstās paroles tekstam */
span.psw {
  float: right;
  padding-top: 16px;
}
/* Modālais loga fons */
.modal {
  display: block;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  padding-top: 60px;
}
/* un šeit modālā loga saturs */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto;
  border: 1px solid #888;
  width: 80%;
}
/* Te piešķiram aizvēršanas pogai (X) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}
/* Hover efekts aizvēršanas pogai */
.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}
/*Šeit pieškir ANIMĀCIJA login modal */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s;
}
/* Animācija pārlūkiem uz WebKit bāzes */
@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)}
  to {-webkit-transform: scale(1))}
}
/* Te ir standarta animācija */
@keyframes animatezoom {
  from {transform: scale(0)}
  to {transform: scale(1))}
}
/* Te plus mobīlās ierīces skats */
@media screen and (max-width: 300px) {
  span.psw {
    display: block;
    float: none;
  }
  .cancelbtn {
    width: 100%;
  }
}

/* --- REGISTER STYLE ---*/
.container {
  padding: 16px;
}
