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 {
        position: relative;
        float: right;
        color: #d3d3d3;
        font-size: 14px;
        font-family: Tahoma, Verdana, Segoe, sans-serif;
        display: flex;
        justify-content: center;
        gap: 15px;
        top: 10px;
      }

      #nav-logout-button {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background-color: white;
        border-radius: 50%;
        /* top: 12px; */
        /* right: -10px; */
        img {
          /* width: 20px; */
          padding-top: 5px;
          height: 20px;
        }
      }

      #logout { 
        position: relative;
        /* top: -5px; */
        color: #d3d3d3;
        text-decoration: none;
      }

      .curr-lang {
        position: relative;
        /* top: 7px; */
        text-transform: capitalize;
        /* border-bottom: 2px solid #F44336; */
        cursor: pointer;
        width: 30px;
        height: 30px;
        background-color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: black;
      }

      #lang-selector {
        position: absolute;
        top: 38px;
        left: -4px;
        display: flex;
        flex-direction: column;
        background-color: #515151;
        padding: 5px 10px;
        z-index: 5;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        transition: 0.5s;
        transform: scaleX(0);
        &.show-lange {
          transition: 0.5s;
          transform: scaleX(1);
        }
      }

      #lang-rus,
      #lang-it,
      #lang-ua,
      #lang-en,
      #lang-de,
      #lang-es,
      #lang-eng {
        position: relative;
        color: #d3d3d3;
        text-decoration: none;
      }
	  
      #lang-rus.selected,
      #lang-it.selected,
      #lang-ua.selected,
      #lang-en.selected,
      #lang-de.selected,
      #lang-es.selected,
      #lang-eng.selected {
        color: #F44336;
      }
      
      a#logout:hover,
      a#lang-rus:hover,
      a#lang-ua:hover,
      a#lang-es:hover, 
      a#lang-it:hover, 
      a#lang-eng: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;
  }