header:after {
  display: block;
  content: '';
  clear: both;
  background: transparent;
}

header nav {
  float: left;
  display: block
}

header nav ul {
  list-style: none;
}

header nav ul  li  {
  display: inline-block;
  padding: 10px 20px;
  border-right: 1px solid;
}

header nav ul li:last-child {
  border-right: none;
}

header nav ul  li a {
  font-size: 16px;
  color: #000000;
  transition: all 0.2s ease;
}

header nav ul  li a:hover {
  color: #1d1d1d;
}

header .search {
  width: 550px;
  display: block;
  float: right;
}

header .search input,
header .search button,
button.btn-submit {
  display: inline-block;

}
header .search input {
  width: 70%;
}

header .search button,
button.btn-submit {
  width: 20%;
  border: none;
  font-size: 16px;
  background: #000000;
  color: #ffffff;
  padding: 10px;
  margin-left: 10px;
  transition: all 0.2s ease;
  outline: none;
  cursor: pointer;
}

header .search button:hover,
header .search button:focus,
button.btn-submit:hover,
button.btn-submit:focus {
  background: #1d1d1d;
  color: #ffffff;
}

.no-search {
  color: red;
}

.menu {
  /*width: 1440px;*/
  margin: 0 auto;

  /*border-bottom: 1px solid #cccccc;*/
}

.menu ul {
  text-align: center;
  margin: 0;
}

.menu ul li {
  display: inline-block;
  text-decoration: none;
  padding: 5px 0;
}


.menu ul li a {
  padding: 5px 10px;
  display: block;
  color: #ffffff;
  text-decoration: none;
  /*border-right: 1px solid #ccc;*/
  transition: all 0.2s ease;
  font-size: 16px;
  position: relative;
  text-decoration: none;
}

.menu ul li a:before,
.menu ul li a:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 1px;
  background-color: #000;
  transform: scale(0,1);
  transition: transform .1s ease;
  background-color: #fff;
}

.menu ul li a:before {
  transform-origin: left;
  left: 50%;
}

.menu ul li a:after {
  transform-origin: right;
  right: 50%;
}

.menu ul li a:hover:before,
.menu ul li a:hover:after {
  transform: scale(1,1);
}

.menu ul li:last-child a {
  /*border-right: none;*/
}

/*.menu ul li a:hover {
  color: #000000;
  opacity: 0.7;
}*/

.main h1 {
  text-align: center;
  font-size: 24px;
}

.container {
  /*max-width: 1440px;*/
  /*width: 92%;*/
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.container h2 {
  font-size: 18px;
}

.display-data {
  display: inline-block;
  float: left;
  padding: 0 40px;
}

.pricing-of-villa {
  width: 65%;
  border-right: 3px solid black;
}

.disabled-dates {
  width: 35%;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table tbody tr:nth-child(2n) {
  background: #cccccc;
}

table tbody tr td {
  font-size: 14px;
  padding: 5px;
  color: rgba(0, 0, 0, 0.7);
  border-right: 1px solid black;
  position: relative;
  max-width: 180px;
  word-wrap: break-word;
}

.comments {
  display: none;
  position: absolute;
  top: 23px;
  padding: 20px;
  background-color: rgba(255,255,255, 0.99);
  z-index: 100;
  min-width: 400px;
  border: 1px solid black;
}

.auto_contract .comments,
.home_contract .comments  {
  right: 50px;
}

.life_contract,
.home_contract,
.auto_contract,
.health_contract {
  cursor: pointer;
}

.life_contract ,
.home_contract ,
.auto_contract ,
.health_contract  {
  color: rgba(0, 0, 0, 0.7);
}

.life_contract:hover ,
.home_contract:hover ,
.auto_contract:hover ,
.health_contract:hover  {
  color: rgba(0, 0, 0, 1);
}

.life_contract.over .comments,
.home_contract.over .comments,
.auto_contract.over .comments,
.health_contract.over .comments {
  display: block;
}

.btn-delete {
  background: transparent;
  color: #ff0000;
  outline: none;
  border: none;
  transition: all 0.2s ease;

}

.btn-delete:hover {
  color: #ce0505;
}

tbody .ui-state-disabled span {
  background-color: red !important;
  color: #ffffff !important;
}

#success-pricing {
  min-height: 50px;
  padding: 10px 0;
}

#login {
  max-width: 320px;
  margin: 0 auto;
}

footer {
  background: #000000;
}

footer:after {
  display: block;
  clear: both;
  content: '';
}

.copyright {
  float: left;
  color: #ffffff;
}

.credits {
  float: right;
  color: #ffffff;
}

#login label {
  margin-top: 40px;
  margin-bottom: 0px;
  font-size: 14px;
  color: #666;
}

input {
  border: none;
  border: solid 2px #000;
  color: #000;
  line-height: 1.1em;
  margin: 0;
  padding: 10px;
  width: 100%;
  outline: none;
}

#submit,
#submit-pricing {
  background-color: #000;
  border-color: #000;
  font-size: 16px;
  padding: 16px 38px;
  letter-spacing: .1em;
  background-color: #000;
  border-radius: 0;
  border: 2px solid #000;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1em;
  margin: 0 auto;
  outline: 0;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .1s ease,border-color .1s ease,color .1s ease;
  /*font: normal normal normal 14px/1 FontAwesome;*/
  font-size: inherit;
  -webkit-font-smoothing: antialiased;
}

#login #submit {
  margin-top: 40px;
}

main {
  /*width: 1440px;*/
  overflow: scroll;
  margin: 40px;
}

main:after {
  content: '';
  display: block;
  clear: both;
}

.message-success {
  color: green;
  font-size: 16px;
  letter-spacing: 1px;
}

.message-error {
  color: red;
  font-size: 16px;
  letter-spacing: 1px;
}

.search-box {
  position: relative;
}

.search-info {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
  border: 1px solid;
  cursor: pointer;
}

.extra-info-search {
  display: none;
  position: absolute;
  z-index: 20;
  top: 45px;
  background: #ffffff;
  padding: 20px;
  border: 1px solid;

}

.extra-info-search.active {
  display: block;
}


.extra-info-search ul {
  padding-left: 10px;
}

.extra-info-search ul li {
  font-size: 14px;
  line-height: 16px;
  padding: 5px 0;
}

.comment-exists {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 5px;
  height: 5px;
  background: green;
  border-radius: 50%;
}

/*.btn-delete:after {
  content:'\f00d';
  font-family: 'fontAwesome';
}*/

tr.red td {
  color: red;
}


tr.themis {
  background: #9eead5 !important;
}

tr.maria {
  background: #cd9eea !important;
}

tr.extra {
  background: #f0ad4e !important;
}