*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    // This defines what 1rem is
    font-size: 62.5%;
}

nav {
  padding: 1rem 0 1rem 0;
}

body {
    box-sizing: border-box;
    background-color: #E8E8E8;
    color: #262626;
}

.container {
    width: 50%;
    margin: 0 auto;
}

h1 {
  text-align: center;
  padding-bottom: 3rem;
  font-weight: 100;
}

.not_loggedin_message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

a.nav-link {
  color: #262626;
}

.section, .nav-login {
  width: 100%;
  margin: 0 auto;
}

.nav-list {
  list-style: none;
  float: right;
}

.nav-list li {
  display: inline-block;
  margin-right: 2rem;
}

.login-link {
  float: right;
  margin-right: 2rem;
}

.section {
  padding-top: 5rem;
}

.section-delete {
  border-radius: 5px;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, .3);
}

/* Inputs */
form {
    width: 50%;
    margin: 0 auto;
}

label {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 100;
    padding-right: 1rem;
    color: rgba(38, 38, 38, .5);
}

input {
  display: block;
  width: 100%;
  height: 35px;
  margin-bottom: 15px;
  padding: 0 0 0 .5rem;
  border: none;
}

textarea {
  border: none;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
}

.group__submit-cancel-btns {
  display: flex;
  margin-top: 40px;
}

input[type="text"], textarea {
  font-size: 1.5rem;
  color: #585656;
  border: 1px solid #C4C4C4;
  border-bottom: 4px solid transparent;
}

input[type="text"]:focus {
  border-bottom: 4px solid rgba(194, 194, 194, 1);
  transition: all 2s;
}

/*///////  BUTTONS ///////////*/
input[type="submit"] {
  border: none;
  width: 50%;
  font-size: 2rem;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

input[type="submit"]:focus {
  box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.5);
}

input[type="submit"].btn-login {
  background-color:  rgba(89, 124, 177, .8);
  color: rgba(38, 38, 38, .6);
}

input[type="submit"].btn-delete {
  background-color:  rgb(198, 78, 57);
  color: rgba(38, 38, 38, .6);
}

input[type="submit"].btn-login:hover {
  background-color: rgba(194, 194, 194, 1);
  transition: all 3s;
}

input[type="submit"].btn-cancel {
  background-color: rgba(194, 194, 194, .1);
  color: rgba(38, 38, 38, .6);
}

input[type="submit"].btn-cancel:hover {
  background-color: rgba(194, 194, 194, .3);
  transition: all 3s;
}

/*//////////////////////////////////*/
/*////// ADD POSITION /////////////*/
/*/////////////////////////////////*/
.btn__add-position {
  height: 35px;
  width: 35px;
  background-color:  rgba(89, 124, 177, .8);
  font-size: 30px;
  text-align: center;
  line-height: 1;
  border: none;
  padding: none;
  border-radius: 5px;
}

.btn__add-position:focus, .btn-subtract:focus {
  outline: none;
  background-color:  rgba(89, 124, 177, .9)
}

.btn-subtract {
  font-size: 30px;
  text-align: center;
}

.input-year-and-remove {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.addEdu__label-button_group {
  padding-bottom: 1rem;
}

/*/////// MESSAGES  ///////*/
div.message-container {
  height: 1.5rem;
  font-size: 1.2rem;
  font-weight: 100;
  padding-bottom: 2.5rem;
}

.error-message {
  color: #FF614C;
}

.success-message {
  color: #41814D;
}

/*////// TABLES  /////////*/
.table-profile {
  width: 100%;
  border: 1px solid rgba(194, 194, 194, .8);
  margin: 0 auto;
}

.table-profile th {
  font-weight: 100;
}

.table-profile tr td:not(.td-action) {
  border: 1px solid rgba(194, 194, 194, .8);
  background-color: rgb(232, 232, 232);
  padding: 0 0 0 .5rem;
}

.td-action {
  width: 180px;
}

.go-back-container {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 1rem;
}

/* tr:nth-child(odd) {background: #CCC} */

/*/////// ACTION ///////*/
.action-link {
  width: 32%;
  text-align: center;
  padding: .3rem .5rem .3rem .5rem;
  border-radius: 3px;
  color: rgb(33, 33, 33);
  text-decoration: none;
}

.action-link:hover {
  color: rgb(232, 232, 232);
}

.action-edit {
  background-color: rgba(0, 63, 130, .8);
  float: left;
  margin: 0 2% 0 2%;
}

.action-edit:hover {
  background-color: rgba(0, 63, 130, 1);
  transition: all 1s;
}

.action-delete {
  background-color: rgba(164, 60, 50, .8);
  float: right;
}

.action-delete:hover {
  background-color: rgba(164, 60, 50, 1);
  transition: all 1s;
}

.action-detail {
  background-color: rgba(30, 130, 0, .8);
  float: left;
}

.action-detail:hover {
  background-color: rgba(30, 130, 0, 1);
  transition: all 1s;
}

.td-action-all-users {
  text-align: center;
}

a.action-detail-all-user {
  width: 100%;
  background-color: rgba(30, 130, 0, .8);
  padding: .3rem 1.5rem .3rem 1.5rem;
}

.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.disabled:hover {
  transition: none;
  color: rgb(33, 33, 33);
}


/******************** SEARCH 2 **************************/
.form-2 {
  width: 80%;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  transition: transform .5s ease-out;
  margin: 0 auto;
  flex-direction: row;
  justify-content: flex-end;
}

.searchbox-container {
  display: flex;
  justify-content: flex-end;
  background-color: aliceblue;
  width: 100%;
}

.searchbox-input-2 {
  height: 2.2rem;
  width: 30%;
  padding: 0 0 0 1rem;
  font-size: 1.5rem;
  color: #777;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  box-shadow: inset 0 1px 2px rgba(19, 80, 124, .6);
  float: right;
}

.searchbox-button-2 {
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  background-color: rgba(19, 80, 124, .8);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.searchbox-button-2:hover {
 cursor: pointer;
 background-color: rgba(19, 80, 124, .9);
}

.btn-go_main-view {
  width: 100px;
  height: 2.2rem;
  background-color: rgba(19, 80, 124, .8);
  color: #DFE3E6;
  border: none;
}

.btn-go_main-view:hover {

}

.btn-go_main-view:focus {
  outline: none;
}

.searchbox-input-2:hover {
  background-color: rgba(19, 80, 124, .03);
}

.searchbox-input-2:focus {
 width: 55%;
 outline: none;
 background-color: rgba(19, 80, 124, .03);
 transition: width .5s ease-out;
}

.searchbox-input-2:placeholder-shown + .search-label {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2rem);
}

.searchbox-button-2:focus {
 outline: none;
 transform: translateY(-1px);
 background-color: rgba(19, 80, 124, .9);
}

.icon-lupa-2 {
 width: 2.2rem;
 height: 2.2rem;
 align-self: baseline;
 /* mask-image: url(lupa-right.svg); */
}

.search-label {
  font-size: 1.4rem;
  font-weight: 600;
  color: #A4A8AD;
  position: absolute;
  top: -2.8rem;
  /* transform: translateY(-1rem); */
  /* visibility: hidden; */
  transition: transform .5s ease-out;

}

::placeholder {
 color: #999;
}

/*/////////////////////////////*/
/*/////// PROFILE DETAIL ////////////*/
ul.view-detailed-profile {
  width: 80%;
  margin: 0 auto;
  border: 1px solid #C4C4C4;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, .3);
}

.view-detailed-profile li {
  list-style: none;
  padding-bottom: .8rem;
}

span.profile-detail-index {
  font-weight: 600;
}

ul.education-and-position {
  padding-left: 1.5rem;
}
