@media only screen and (min-width: 300px) {
        /* styles for browsers larger than 480px; */
  body {
    width: 98%;
  }

  .user_name {
    font-size: 10px;
    font-family: Tahoma;
  }

  header {
    font-size: 12px;
    height: 30px;
    padding: 4px 20px 4px 4px;
    margin: 4px 4px 4px 4px;    
  }

  legend {
    font-size: 10px;
  }

  .fieldset_menu a {
    font-size: 10px;
  }

  .fieldset_menu {
    font-size: 10px;
  }

  .submenu li {
    font-size: 4px;
  }

  .menu_in_content a {
    font-size: 10px;
    padding: 4px;
    margin-left: 3px;
    margin-right: 3px;
    border : 1px solid #C0C0C0;
  }

  .flex_forms .input_submit {
    font-size: 10px;
  }

  .flex_forms table {
    font-size: 8px;
    padding: 1px 1px 1px 1px;
  }

  .flex_forms td, .flex_forms th {
    font-size: 8px;
    padding: 1px 1px 1px 1px;
  }

  .flex_forms label {
    font-size: 10px;
  }

  .table_forms table {
    font-size: 8px;
  }

  .table_forms td, .table_forms th {
    font-size: 8px;
    padding: 2px 2px 2px 2px;
  }

  .table_info table {
    font-size: 8px;
  }

  .table_info td, .table_forms th {
    text-align: left;    
    font-size: 8px;
    padding: 2px 2px 2px 2px;
  }

  input, select {
    font-size: 8px;
    margin: 5px 5px 5px 5px;
  }

  .logo_image {
    width: 30px;
    height: 30px;
  }

  .fieldset_login {
    text-align: center;
    width:40%;
    margin: auto;
    font-size: 10px;
  }

  .fieldset_login legend {
    font-size: 10px;
  }

  .fieldset_login input {
    width:80px;
  }

  h1 {
    font-size: 13px;
  }

  h2 {
    font-size: 9px;
  }
}

@media only screen and (min-width: 740px) {
        /* styles for browsers larger than 480px; */
  body {
    /*width: 700px;*/
    width: 98%;
  }

  .user_name {
    font-size: 12px;
    font-family: Tahoma;
  }

  header {
    font-size: 16px;
    height: 40px;
    padding: 4px 30px 4px 4px;
    margin: 4px 4px 4px 4px;    
  }

  legend {
    font-size: 16px;
  }

  .fieldset_menu a {
    font-size: 15px;
  }

  .fieldset_menu {
    font-size: 15px;
  }

  .submenu li {
    font-size: 10px;
  }

  .menu_in_content a {
    font-size: 11px;
    padding: 7px;
    margin-left: 5px;
    margin-right: 5px;
    border : 2px solid #C0C0C0;
  }

  .flex_forms .input_submit {
    font-size: 15px;
  }

  .flex_forms table {
    font-size: 11px;
    padding: 2px 2px 2px 2px;
  }

  .flex_forms td, .flex_forms th {
    font-size: 11px;
    padding: 2px 2px 2px 2px;
  }

  .flex_forms label {
    font-size: 14px;
  }

  .table_forms table {
    font-size: 14px;
  }

  .table_forms td, .table_forms th {
    font-size: 12px;
    padding: 2px 2px 2px 2px;
  }

  .table_info table {
    font-size: 8px;
  }

  .table_info td, .table_forms th {
    text-align: left;    
    font-size: 8px;
    padding: 2px 2px 2px 2px;
  }

  input, select {
    font-size: 16px;
    margin: 5px 5px 5px 5px;
  }

  .logo_image {
    width: 30px;
    height: 30px;
  }

  .fieldset_login {
    text-align: center;
    width:40%;
    margin: auto;
    font-size: 10px;
  }

  .fieldset_login legend {
    font-size: 10px;
  }

  .fieldset_login input {
    width:80px;
  }

  h1 {
    font-size: 15px;
  }

  h2 {
    font-size: 10px;
  }
}

@media only screen and (min-width: 900px) {
        /* styles for browsers larger than 960px; */
  body {
    width: 98%;
  }

  .user_name {
    font-size: 13px;
    font-family: Tahoma;
  }

  header {
    font-size: 18px;
    height: 50px;
    padding: 4px 40px 4px 4px;
    margin: 4px 4px 4px 4px;    
  }

  legend {
    font-size: 16px;
  }

  .fieldset_menu a {
    font-size: 15px;
  }

  .fieldset_menu {
    font-size: 15px;
  }

  .submenu li {
    font-size: 10px;
  }

  .menu_in_content a {
    font-size: 12px;
    padding: 5px;
    margin-left: 4px;
    margin-right: 4px;
    border : 2px solid #C0C0C0;
  }

  .flex_forms .input_submit {
    font-size: 15px;
  }

  .flex_forms table {
    font-size: 12px;
    padding: 3px 3px 3px 3px;
  }

  .flex_forms td, .flex_forms th, .flex_forms thead {
    font-size: 12px;
    padding: 3px 3px 3px 3px;
  }

  .flex_forms label {
    font-size: 14px;
  }

  .table_forms table {
    font-size: 14px;
  }

  .table_forms td, .table_forms th, .table_forms thead {
    font-size: 12px;
    padding: 2px 2px 2px 2px;
  }

  .table_info table {
    font-size: 8px;
  }

  .table_info td, .table_forms th {
    text-align: left;    
    font-size: 8px;
    padding: 2px 2px 2px 2px;
  }

  input, select {
    font-size: 16px;
    margin: 5px 5px 5px 5px;
  }

  .logo_image {
    width: 30px;
    height: 30px;
  }

  .fieldset_login {
    text-align: center;
    width:40%;
    margin: auto;
    font-size: 10px;
  }

  .fieldset_login legend {
    font-size: 10px;
  }

  .fieldset_login input {
    width:80px;
  }

  h1 {
    font-size: 17px;
  }

  h2 {
    font-size: 12px;
  }
}

@media only screen and (min-width: 1390px) {
        /* for browsers larger than 1440px; */
  body {
    width: 98%;
  }

  .user_name {
    font-size: 14px;
    font-family: Tahoma;
  }

  header {
    font-size: 18px;
    height: 50px;
    padding: 4px 40px 4px 4px;
    margin: 4px 4px 4px 4px;    
  }

  legend {
    font-size: 16px;
  }

  .fieldset_menu a {
    font-size: 15px;
  }

  .fieldset_menu {
    font-size: 15px;
  }

  .submenu li {
    font-size: 15px;
  }

  .menu_in_content a {
    font-size: 13px;
    padding: 7px;
    margin-left: 4px;
    margin-right: 4px;
    border : 2px solid #C0C0C0;
  }

  .flex_forms .input_submit {
    font-size: 15px;
  }

  .flex_forms table {
    font-size: 13px;
    padding: 4px 4px 4px 4px;
  }

  .flex_forms td, .flex_forms th {
    font-size: 13px;
    padding: 4px 4px 4px 4px;
  }

  .flex_forms label {
    font-size: 14px;
  }

  .table_forms table {
    font-size: 14px;
  }

  .table_forms td, .table_forms th {
    font-size: 12px;
    padding: 2px 2px 2px 2px;
  }

  .table_info table {
    font-size: 14px;
  }

  .table_info td, .table_forms th {
    text-align: left;    
    font-size: 14px;
    padding: 2px 2px 2px 2px;
  }

  input, select {
    font-size: 16px;
    margin: 2px 2px 2px 2px;
    padding: 3px 3px 3px 3px;
  }

  .logo_image {
    width: 40px;
    height: 40px;
  }

  .fieldset_login {
    text-align: center;
    width:25%;
    margin: auto;
    font-size: 16px;
  }

  .fieldset_login legend {
    font-size: 18px;
  }

  .fieldset_login input {
    width:98%;
    font-size: 16px;
    font-weight: bolder;
    font-family: sans-serif;
  }

  h1 {
    font-size: 19px;
  }

  h2 {
    font-size: 14px;
  }
}

@media only screen and (min-width: 1860px) {
        /* for 1920px */
  body {
    width: 98%;
  }

  .user_name {
    font-size: 15px;
    font-family: Tahoma;
  }

  header {
    font-size: 18px;
    height: 50px;
    padding: 4px 40px 4px 4px;
    margin: 4px 4px 4px 4px;    
  }
  
  legend {
    font-size: 16px;
  }

  .fieldset_menu a {
    font-size: 15px;
  }

  .fieldset_menu {
    font-size: 15px;
  }

  .submenu li {
    font-size: 15px;
  }

  .menu_in_content a {
    font-size: 14px;
    padding: 7px;
    margin-left: 5px;
    margin-right: 5px;
    border : 2px solid #C0C0C0;
  }

  .flex_forms .input_submit {
    font-size: 15px;
  }

  .flex_forms table {
    font-size: 15px;
    padding: 4px 4px 4px 4px;
  }

  .flex_forms td, .flex_forms th {
    font-size: 15px;
    padding: 4px 4px 4px 4px;
  }

  .flex_forms label {
    font-size: 16px;
  }

  .table_forms table {
    /*font-size: 14px;*/
  }

  .table_forms td, .table_forms th {
    font-size: 12px;
    padding: 3px 3px 3px 3px;
  }

  .table_info table {
    font-size: 16px;
  }

  .table_info td, .table_forms th {
    text-align: left;
    font-size: 16px;
    padding: 4px 4px 4px 4px;
  }

  input, select {
    font-size: 16px;
    margin: 5px 5px 5px 5px;
  }

  .logo_image {
    width: 50px;
    height: 50px;
  }

  .fieldset_login {
    text-align: center;
    width:40%;
    margin: auto;
    font-size: 10px;
  }

  .fieldset_login legend {
    font-size: 10px;
  }

  .fieldset_login input {
    width:80px;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 15px;
  }
}

body {
  margin-top: 2%;
  margin-left: 2%;
  margin-right: 2%;
  margin-bottom: 2%;
  background-color : #FFFFFF;
  font-family: Tahoma;
  color: #404040;  
}

.container {
display: flex;
min-height: 65%;
}

.main {
flex-grow: 0;
order: 2;
width: 90%;
}

nav {
flex-grow: 0;
flex-shrink: 0;
flex-basis: 10%;
order: 1;
}

footer, nav, .main {
text-align:center;
padding: 2%;
margin: 2%;
border-radius : 10px;
}


li {
  list-style-type: none;
  margin-left: 1%;
  margin-right: 1%;
}

.header_menu {
  display : flex;
}


header {
text-align:center;
display : flex;
align-items : center;
justify-content : space-between;
border: 0px;
border-bottom: 2px solid #C0C0C0;
border-top: 2px solid #C0C0C0;
}

footer {
height: 5%;
}

a {
  color: #696969;
  text-decoration: none
}

a:hover {
  color: #404040;
}

legend {
    position:relative;
    bottom: 1px;
    font-weight: bold;
    color: Navy;
}

fieldset {
  max-width: 90%;
  min-width: 10%;
  border-radius: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: left;
  border : 2px solid #C0C0C0;  
}

label {
  margin-right: 10px;
}

footer, nav, .main, nav li {
  border : 1px solid #C0C0C0;  
}

.input_button {
  margin-left: 10px;
  margin-top: -15px;
  padding: 7px;
  border-radius: 5px;
}

ul {
  padding-left: 0;
}

nav li {
  border-radius: 5px;
  padding: 5px;
  margin-top: 10px;
  color: #696969;
  font-weight: bolder;
}

nav li:hover {
  border: 1px solid #404040;
  color: #404040;
}

.li_selected {
  border: 1px solid #404040;
  color: #404040; 
}

.fieldset_menu {
    flex-direction: column;
    align-items: center;
}

.fieldset_menu a {
    color : blue;
    font-weight: bolder;
}

.fieldset_menu a:hover {
    text-decoration: underline;
}

.fieldset_menu input {
    padding: 7px;
    border-radius: 5px;
}

.submenu li {
  text-align: right;
}

.menu_in_content {
  display: flex;
}

.menu_in_content a {
  border-radius: 5px;
  font-weight: bolder;
}

.menu_in_content a:hover {
  border-color: blue;
}

.flex_forms {
/*  display: flex;*/
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: auto;
  width: 90%;
  max-width: 90%;
}

.flex_forms .input_submit {
  border-radius: 7px;
  padding-top: 1%;
  padding-bottom: 1%;
  padding-left: 2%;
  padding-right: 2%;
  font-weight: bolder;
  margin: 2%;
  background-color: #FFFFFF;
}

.flex_forms table {
  margin: 2%;
  border-collapse: collapse;
  border: solid 1px #646464;
  /*width: 100%;
  max-width: 100%;*/
  border-collapse: collapse;
  color: #404040;
  font-family: Arial;
  text-align: center;
}


.flex_forms th {
background: #FFE4B5;
/*color: white;*/
/*text-shadow: 0 1px 1px #2D2020;*/
}

.flex_forms tr:hover {
  background: #C0C0C0;
}

.flex_forms td, .flex_forms th {
  border: 1px solid #646464;
}

.flex_forms td {
  font-family: Arial;
}

.flex_forms label {
  font-weight: bolder;
}

.table_forms {
  position: relative;
  overflow-x: auto;
  width: 99%;
  max-width: 99%;
}

.table_forms table {
  margin: 1%;
  border-collapse: collapse;
  border: solid 1px #646464;
  /*width: 100%;
  max-width: 100%;*/
  border-collapse: collapse;
  color: #404040;
  font-family: Arial;
  text-align: center;
}

.table_forms th {
background: #FFE4B5;
}


.table_forms td, .table_forms th {
  border: 1px solid #646464;
}

.table_forms td {
  font-family: Arial;
}

.table_info {
  position: relative;
  overflow-x: auto;
  width: 99%;
  max-width: 99%;
}

.table_info table {
  margin: 1%;
  border-collapse: collapse;
  border: solid 1px #646464;
  /*width: 100%;
  max-width: 100%;*/
  border-collapse: collapse;
  color: #404040;
  font-family: Arial;
  text-align: center;
}

.table_info th {
background: #FFE4B5;
}


.table_info td, .table_forms th {
  border: 1px solid #646464;
}

.table_info td {
  font-family: Arial;
}

input, select {
  outline:none;
  border: 1px solid #646464;
  width: 85%;
}

input:hover, select:hover {
  border: 1px solid blue;
}

input:focus {
  border: 2px solid blue;
}

.rkf_logo_for_input {
  width: 22px;
  height: 22px;
  margin-left:10px;
  vertical-align: middle;

}




