@import "variables";

.popup {
  border: 1px solid $black;
  background-color: $white;

  * {
    box-sizing: border-box;
  }

  .popup-header {
    position: relative;
    width: 100%;
    height: 33px;
    text-shadow: 0 1px 0 $white;
    background: url("[{$dir_images}]gradient.png") repeat-x scroll 0 0 $grey;
    border-bottom: 1px solid $darkgrey;
    padding: 8px;
  }

  .popup-content {
    position: absolute;
    top: 33px;
    right: 0;
    bottom: 35px;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .popup-footer {
    position: absolute;
    width: 100%;
    height: 35px;
    bottom: 0;
    background: $lightgrey;
    border-top: 1px solid $darkgrey;
    padding: 5px;
  }
}
