html,
body {
   margin:0;
   padding:0;
   height:100%;
}

body {
  background-image: url('../images/background.png');
  font-family: Tahoma, Verdana, Segoe, sans-serif;
}

.wrapper {
  min-height: 100%;
  position: relative;
}
  nav {
    width: 100%;
    height: 50px;
    margin: 0;
    background-color: #515151;  
  }
    .nav-panel {
      width: 950px;
      height: 50px;
      margin: auto;
    }
      .nav-logo {
        float: left;
        margin-top: 5px;
      }
      #logo-brand {
        color: #d3d3d3;
        font-size: 14px;
        font-family: Tahoma, Verdana, Segoe, sans-serif;
        position: relative;
        top: 15px;
        left: 5px;
      }

      .nav-logout {
        float: right;
        color: #d3d3d3;
        font-size: 14px;
        font-family: Tahoma, Verdana, Segoe, sans-serif;
      }

      #nav-logout-button {
        position: relative;
        top: 12px;
      }

      #logout {
        position: relative;
        top: -5px;
        color: #d3d3d3;
        text-decoration: none;
      }
      
      a#logout:hover {
        text-decoration: underline;
      }

      .nav-search {
        float: right;
        margin-right: 50px;
        display: none;
      }

      .search-input {
        -webkit-border-radius: 5px; 
        -moz-border-radius: 5px; 
        -khtml-border-radius: 5px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border: 2px solid #717171;
        border-right: none;
        position: relative;
        top: 10px;
        height: 20px;
        width: 130px;
        padding-left: 5px;
        background-color: #fff;
      }

      /* Ok date*/
      a#search-btn {
        text-decoration: none;
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        text-align: center;
        margin-left: 10px;
      }

      #search-btn {
        float: right;
        position: relative;
        top: 10px;
        right: 10px;
        border: 2px solid #717171;
        -webkit-border-radius: 7px; 
        -moz-border-radius: 7px; 
        -khtml-border-radius: 7px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none;
        display: inline-block;
        width: 26px;
        height: 22px;
        background-image: url('/assets/images/imgo.png');
        background-size: 26px 22px;
      }

      #search-btn:hover {
        cursor: pointer;
      }


  main {
    padding-bottom:40px; 
    width: 960px;
    clear: both;
    margin: 0 auto;
  }  


  footer {
    background-color: #313131;
    text-align: center;
    position:absolute;
       bottom:0;
       width:100%;
       height:45px;   /* Height of the footer */
  }

  #footer-text {
    position: relative;
    top: 10px;
    color: #fff;
    font-size: 18px;
  }     

  /*-------------- Radio button ----------------------*/
  input[type=checkbox]:not(old),
  input[type=radio   ]:not(old){
    width   : 28px;
    margin  : 0;
    padding : 0;
    opacity : 0;
  }

  input[type=checkbox]:not(old) + label,
  input[type=radio   ]:not(old) + label{
    display      : inline-block;
    margin-left  : -28px;
    padding-left : 28px;
    background   : url('../images/checks2.png') no-repeat 0 0;
    line-height  : 24px;
  }

  /* hovered*/
  input[type=checkbox]:not(old):hover + label:hover,
  input[type=radio   ]:not(old):hover + label:hover{
    cursor: pointer;
  }

  input[type=checkbox]:not(old):hover,
  input[type=radio   ]:not(old):hover{
    cursor: pointer;
  }

  input[type=checkbox]:not(old):checked + label{
    background-position : 0 -24px;
  }

  input[type=radio]:not(old):checked + label{
    background-position : 0 -48px;
  }
  /*----------------------------------------------*/
  /* Loader */
  img.loader {
    width: 18px;
    height: 18px;
    float: right;
    display: none;
  }