// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements.  See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.  The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License.  You may obtain a copy of the License at
//
//   http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.  See the License for the
// specific language governing permissions and limitations
// under the License.

#header {
  position: relative;
  width: 100%;
  height: 135px;
  background: url('../images/overlay-pattern.png') repeat 0, #1b5070 url('../images/header-gradient.png') no-repeat center;
  background-size: auto, cover;
}

#header div.button {
  font-size: 12px;
  color: #ffffff;
  cursor: pointer;
}

#header.nologo div.logo {
  position: relative;
  top: 15px;
  left: 0;
  width: 1224px;
  /*+placement:shift 0px 15px;*/
  height: 47px;
  margin: auto;
  background: url('../images/logo.png') no-repeat 0 center;
}

#header div.controls {
  position: relative;
  width: 1226px;
  height: 48px;
  margin: 27px auto 0;
  padding-top: 13px;
  /*+border-radius:4px 4px 0 0;*/
  border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  -khtml-border-radius: 4px 4px 0 0;
}

#header div.controls.nologo {
  box-shadow: 0 -1px 6px #0e3955;
  background: #666666;
  background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY2NjY2NiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzZDNkM2QiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+');
  background: -moz-linear-gradient(top, #666666 0%, #3d3d3d 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #666666), color-stop(100%, #3d3d3d));
  background: -webkit-linear-gradient(top, #666666 0%, #3d3d3d 100%);
  background: -o-linear-gradient(top, #666666 0%, #3d3d3d 100%);
  background: -ms-linear-gradient(top, #666666 0%, #3d3d3d 100%);
  background: linear-gradient(to bottom, #666666 0%, #3d3d3d 100%);
  /*+box-shadow:0px -1px 6px #0E3955;*/
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#3d3d3d', GradientType=0);
  -moz-box-shadow: 0 -1px 6px #0e3955;
  -webkit-box-shadow: 0 -1px 6px #0e3955;
  -o-box-shadow: 0 -1px 6px #0e3955;
}
