html,
body {
  position: relative;
  width: 100%;
  height: 100%;
}
html.map,
body.map {
  overflow-x: hidden;
}

.buttons {
  text-align: right;
}

tr.golf:first-child td {
  border-top: 0;
}

tr.golf:not(:first-child) td {
  padding-top: 60px !important;
}

.list-golf {
  margin-top: 50px;
}

.parcours-label {
  padding-left: 30px !important;
}

.modal {
  font-size: 1.5em;
}

#map {
  position: absolute;
  top: 52px;
  bottom: 0;
  right: 0;
  left: 0;
}

.delete-menu {
  position: absolute;
  background: white;
  padding: 3px;
  color: #666;
  font-weight: bold;
  border: 1px solid #999;
  font-family: sans-serif;
  font-size: 12px;
  box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
  margin-top: -10px;
  margin-left: 10px;
  cursor: pointer;
}

.delete-menu:hover {
  background: #eee;
}

.list-holes .checkbox input[type=checkbox] {
  margin-left: 0;
  cursor: pointer;
}

.toolbox {
  position: absolute;
  width: 300px;
  padding: 30px;
  top: 100px;
  right: 0;
  background: #F2F2F2;
  transition: -webkit-transform 0.2s ease-in;
  transition: transform 0.2s ease-in;
  transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
}
.toolbox .btn-close {
  display: block;
  padding: 5px 10px;
  position: absolute;
  left: -30px;
  top: 0;
  background: #F2F2F2;
  text-decoration: none;
  transition: left 0.2s ease-in;
}
.toolbox .btn-close .label {
  display: block;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  font-size: 20px;
  color: #000000;
  padding: 0 0 4px 0;
  margin: 0;
  transition: -webkit-transform 0.2s ease-in;
  transition: transform 0.2s ease-in;
  transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
}
.toolbox.closed {
  -webkit-transform: translateX(300px);
      -ms-transform: translateX(300px);
          transform: translateX(300px);
}
.toolbox.closed .btn-close {
  left: -42px;
}
.toolbox.closed .btn-close .label {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.toolbox input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: no-repeat center center;
  background-size: 100%;
  width: 14px;
  height: 14px;
  border: 1px solid #CCC;
  outline: none;
  margin-top: 3px;
}
.toolbox input[type=checkbox]:checked {
  background-image: url(../img/eye.png);
  border: none;
}
.toolbox input[type=checkbox]:disabled {
  opacity: 0.3;
}
.toolbox .selected label {
  font-weight: 600;
}
