body {background:#333;}
span {position:absolute;}
#browser,#toolbar {
  -moz-border-radius:5px 5px 0 0;
  border-radius:5px 5px 0 0;
}
#browser {
  top:50%;
  left:50%;
  width:450px;
  height:430px;
  margin:-250px 0 0 -225px;
  background:#fff;
  -webkit-box-shadow:0 1px 20px #000;
  -moz-box-shadow:0 1px 20px #000;
  box-shadow:0 1px 20px #000;
}
#toolbar {
  width:100%;
  height:51px;
  border-top:1px solid #e2e2e2;
  border-bottom:1px solid #555;
  background:-webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#d0d0d0),
    to(#a5a5a5)
  );
  background:-moz-linear-gradient(
    #d0d0d0, #a5a5a5
  );
}
#close,#minimize,#zoom {
  top:4px;
  width:14px;
  height:14px;
  -moz-border-radius:7px;
  border-radius:7px;
  -webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.8),
                     0 1px 1px rgba(255,255,255,.5);
  -moz-box-shadow:inset 0 1px 3px rgba(0,0,0,.8),
                  0 1px 1px rgba(255,255,255,.5);
  box-shadow:inset 0 1px 3px rgba(0,0,0,.8),
             0 1px 1px rgba(255,255,255,.5);
}
#close:before,#minimize:before,#zoom:before {
  top:2px;
  left:4px;
  width:6px;
  height:3px;
  -moz-border-radius:2px;
  border-radius:2px;
  background:-webkit-gradient(
    radial,
    50% 0,
    0,
    50% 20%,
    4,
    from(rgba(255,255,255,.9)),
    to(rgba(255,255,255,0))
  );
  background:-moz-radial-gradient(
    50% 10%,
    circle cover,
    rgba(255,255,255,.9) 0,
    rgba(255,255,255,0) 100%
  );
}
#close {
  left:8px;
  background:-webkit-gradient(
    radial,
    50% 100%,
    3,
    50% 100%,
    12,
    from(#fabcbc),
    to(#d70000)
  );
  background:-moz-radial-gradient(
    50% 90%,
    circle cover,
    #fabcbc 0,
    #d70000 100%
  );
}
#minimize {
  left:29px;
  background:-webkit-gradient(
    radial,
    50% 100%,
    3,
    50% 100%,
    12,
    from(#fbec8a),
    to(#e3a54e)
  );
  background:-moz-radial-gradient(
    50% 90%,
    circle cover,
    #fbec8a 0,
    #e3a54e 100%
  );
}
#zoom {
  left:50px;
  background:-webkit-gradient(
    radial,
    50% 100%,
    3,
    50% 100%,
    12,
    from(#d1ee97),
    to(#669f3e)
  );
  background:-moz-radial-gradient(
    50% 90%,
    circle cover,
    #d1ee97 0,
    #669f3e 100%
  );
}
#close:before,#minimize:before,#zoom:before,
#history:before,#bookmark:before,#bookmark:after,
#reload:after,#magnifier:before,#magnifier:after,
#resizer:before,#resizer:after {
  content:"";
  position:absolute;
}
#history,#bookmark,#url,#search {
  top:24px;
  height:20px;
  border:1px solid rgba(0,0,0,.6);
  -webkit-background-clip:padding-box!important;
  -webkit-box-shadow:0 1px 0 rgba(255,255,255,.3);
  -moz-box-shadow:0 1px 0 rgba(255,255,255,.3);
  box-shadow:0 1px 0 rgba(255,255,255,.3);
}
#history {
  left:8px;
  width:51px;
  -moz-border-radius:4px;
  border-radius:4px;
  background:-webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#fefefe),
    to(#b8b8b8)
  );
  background:-moz-linear-gradient(
    #fefefe, #b8b8b8
  );
}
#history:before {
  left:25px;
  width:1px;
  height:100%;
  background:#5f5f5f;
}
#arrows:before,#arrows:after {
  content:"▲";
  position:absolute;
  top:30px;
  font-size:9px;
}
#arrows:before {
  color:#333;
  left:18px;
  -webkit-transform:scaleX(1.1) rotate(-90deg);
  -moz-transform:scaleX(1.1) rotate(-90deg);
  transform:scaleX(1.1) rotate(-90deg);
  text-shadow:0 1px 0 rgba(255,255,255,.5);
}
#arrows:after {
  color:#999;
  left:42px;
  -webkit-transform:scaleX(1.1) rotate(90deg);
  -moz-transform:translateY(1px) scaleX(1.1) rotate(90deg);
  transform:scaleX(1.1) rotate(90deg);
  text-shadow:1px 0 0 rgba(255,255,255,.5);
}
#bookmark {
  left:69px;
  width:26px;
  -moz-border-radius:4px 0 0 4px;
  border-radius:4px 0 0 4px;
  background:-webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#fefefe),
    to(#a9a9a9)
  );
  background:-moz-linear-gradient(
    #fefefe, #a9a9a9
  );
}
#bookmark:before,#bookmark:after {
  -webkit-box-shadow:0 1px 0 rgba(255,255,255,.5);
  -moz-box-shadow:0 1px 0 rgba(255,255,255,.5);
  box-shadow:0 1px 0 rgba(255,255,255,.5);
}
#bookmark:before {
  top:9px;
  left:8px;
  width:10px;
  height:2px;
  background:-webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#000),
    to(#333)
  );
  background:-moz-linear-gradient(
    #000, #333
  );
}
#bookmark:after {
  top:5px;
  left:12px;
  width:2px;
  height:10px;
  background:-webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#000),
    to(#3c3c3c)
  );
  background:-moz-linear-gradient(
    #000, #3c3c3c
  );
}
#url,#search {
  background:-webkit-gradient(
    linear,
    0 0,
    0 100%,
    color-stop(0,#ccc),
    color-stop(.1,#fff)
  );
  background:-moz-linear-gradient(
    #ccc 0, #fff 1px
  );
}
#url {
  left:97px;
  width:224px;
  border-left:none;
  -moz-border-radius:0 4px 4px 0;
  border-radius:0 4px 4px 0;
}
#reload,#magnifier {
  width:6px;
  height:6px;
  -moz-border-radius:5px;
  border-radius:5px;
  border:2px solid #555;
}
#reload {
  top:31px;
  right:136px;
}
#reload:before {
  content:"\25C0";
  position:absolute;
  z-index:1;
  top:-5px;
  right:-3px;
  font-size:7px;
  color:#555;
  -webkit-transform:rotate(180deg);
  -moz-transform:scaleY(1.2) rotate(180deg);
  transform:rotate(180deg);
}
#reload:after {
  top:-2px;
  right:-3px;
  width:5px;
  height:5px;
  background:#fff;
}
#search {
  right:8px;
  width:112px;
  -moz-border-radius:10px;
  border-radius:10px;
}
#magnifier {
  top:29px;
  right:104px;
}
#magnifier:before {
  width:2px;
  height:6px;
  background:#555;
  -webkit-transform:translate(7px,5px) rotate(-45deg);
  -moz-transform:translate(7px,5px) rotate(-45deg);
  transform:translate(7px,5px) rotate(-45deg);
}
#magnifier:after {
  top:2px;
  right:-10px;
  width:0;
  height:0;
  border-width:3px 3px 0 3px;
  border-style:solid;
  border-color:#5f5f5f transparent transparent transparent;
}
#statusbar {
  bottom:0;
  width:100%;
  height:15px;
  background:-webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(#b0b0b0),
    to(#a7a7a7)
  );
  background:-moz-linear-gradient(
    #b0b0b0, #a7a7a7
  );
  border-top:1px solid #555;
  -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.4);
  -moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4);
}
#resizer,#resizer:before,#resizer:after {
  width:1px;
  background:#555;
  -webkit-box-shadow:1px 0 0 #fff;
  -moz-box-shadow:1px 0 0 #fff;
  box-shadow:1px 0 0 #fff;
}
#resizer {
  bottom:0;
  right:6px;
  height:13px;
  -webkit-transform:rotate(45deg);
  -moz-transform:rotate(45deg);
  transform:rotate(45deg);
}
#resizer:before {
  bottom:3px;
  right:-3px;
  height:7px;
}
#resizer:after {
  bottom:5px;
  right:-6px;
  height:3px;
}