
html {
	height: 100%;
}

body {
	background-image: url("img/background.jpg");    
    background-size: 100% 100%; 
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 60px;
    margin-bottom: 0px;
    height: calc(100% - 60px);
	display: flex;
	flex-direction: column;
    overflow: hidden;
    background-position: center;
}

/*
img {
    height: auto; 
    max-width: 100%;
}

.label {
    box-sizing: border-box;
    color: #111;
    font-size: 120%;
    height: 1.5rem;
    margin-bottom: 40px;
    padding: 0.375rem;
	text-align: center;
}
*/

/*
label{
color: #464646; 
text-shadow: 0 1px 0 #fff;
font-size: 14px;
font-weight: bold;
}
*/

/*
input[type=text],[type=password] {
width: 97.7%;
height: 34px;
padding-left: 5px;
margin-bottom: 20px;
margin-top: 8px;
box-shadow: 0 0 5px #00F5FF;
border: 2px solid #00F5FF;
color: #4f4f4f;
font-size: 16px;
}
*/

*[class^="revealator"] {
    display: inline-block;
    height: auto;
    margin: 0 auto 15px;
    width: 26%;
}


.main-nav {
  background: green; /* #3092c0; */
  background-image: -webkit-gradient(linear, to bottom, to top, color-stop(0%, #00CC00), color-stop(100%, #00FF00));
  background-image: -webkit-linear-gradient(to bottom, #00CC00, #00FF00);
  background-image: -moz-linear-gradient(to bottom, #00CC00, #00FF00); /* #3298c8, #2e8cb8); */
  background-image: -o-linear-gradient(to bottom, #00CC00, #00FF00);
  background-image: linear-gradient(to bottom, #00CC00, #00FF00);
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
  border-radius: 16px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}


.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}


.nav-brand {
  float: left;
  margin: 0;
}


.nav-brand a {
  display: block;
  padding: 10px 10px 10px 20px;
  color: red;
  font-family: "Cambria";
  font-size: 32px; /* Fersist LTD */
  font-weight: bold;
  line-height: 40px;
  text-decoration: none;
}

/*
.pro-brand {
  float: left;
  margin: 0;
}

.pro-brand a {
  display: block;
  padding: 10px 10px 10px 20px;
  color: red;
  font-family: "Times New Roman";
  font-size: 32px;
  font-weight: black;
  line-height: 40px;
  text-decoration: none;
}
*/

#main-menu, .sub-menu {
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;	
}


#main-menu li {
	float: left;
	margin-top: 8px;
	margin-bottom: 8px;
	margin-right: 16px;
	position: relative;
}


#main-menu li a {
	background: url("img/normal.jpg") repeat-x;
	border: 1px solid #00B0D0; /*#c15e20;*/	
	border-radius: 25px;
	color: black;
	font-size: 28px; /* main menu items */
	font-weight: bold;
	display: block;
	height: 40px; /* 40 menu + (1+1 border + 8 margin)*2 = 60 px */
	line-height: 40px;
	padding: 0px 15px; 
	text-decoration: none;
   }


#main-menu li a:hover {
	background: url("img/hover.jpg") repeat-x;
	border: 1px solid #0093d8;
	color: #231f20;
}


#main-menu li a .indicator {
	background: url("img/indicator.png") 0% 52% no-repeat;
	padding: 10px;
	position: relative;
	left: 3px;
}


#main-menu li a .hover-indicator {
	background: url("img/hover-indicator.png") 0% 56% no-repeat;
}


#main-menu .sub-menu {
	display: none;
	padding-top: 1px;
	position: absolute;
	width: 600px;
}

#main-menu .sub-menu li {
	float: none; 
	padding-bottom: 1px;
	margin-top: 0px;
	margin-bottom: 0px;
}


a.selected {
  background-color:#1F75CC;
  color:white;
  /* z-index:100; */
}


.bus, .vat, .num, .pos, .ist {
  position: relative;
  display: inline-block;
 }

.bus:hover, .vat:hover, .num:hover, .pos:hover, .ist:hover {
  display: inline-block;
 }

/*
 form {
    padding: 15px 25px;
    display: flex;
    gap: 10px;
    justify-content: center;
  }
   
  form label {
    font-size: 1.5rem;
    font-weight: bold;
  }
   
  input {
    font-family: "Lato";
  }
*/   

/*
  a {
    text-decoration: none;
  }
   
  a:hover {
    text-decoration: underline;
  }
*/


  #usermsg {
    /* flex: 1; */
    /* border-radius: 4px; */
    /* border: 1px solid #ff9800; */

    width: 99%; 
    /* float: left; */
    font-family: Cambria; 
    font-size: 18px;
  }
  
   
  #prices_title {    
	font-family: Cambria; 
	font-size: 26px; 
	background-color: rgba(152,251,152,0.3);
	color: black;
	text-align: center;
	padding-left: 10px;
    padding-right: 10px;
    padding-top: 40px;
    padding-bottom: 10px;
   }
   
   
  #calc_title, #calc_rowl, #calc_rowc, #calc_rowr, #calc_footl, #calc_footc, #calc_footr {
	font-family: Cambria; 
	font-size: 24px; 
    text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 20px;
	padding-bottom: 20px;
   }
   
  #calc_title {
	font-weight: bold;
	background-color: rgba(255,69,0,0.5);
	color: black;
	text-align: center;
    font-family: Cambria;
	font-size: 32px;
   }   
   
  .bus, .vat, .pos, .ist, .fis, .drop_item {
    font-family: Cambria;
	font-size: 20px;
   }
     
  .num, .per, .bac, .drop_label {
    font-family: Cambria;  
	font-size: 20px;
	color:black;
   }   
   
  #calc_rowl {
	color: black;
	text-align: right;
	display: table-cell;
	white-space: nowrap;
   }
   
  #calc_rowc {
	color: black;
	text-align: right;
	display: table-cell;
	white-space: nowrap;
   }   
    
  #calc_rowr {
	color: black;
	text-align: right;
	display: table-cell;
	white-space: nowrap;
   }   
   
  #inv_year {
	background-color: #E8E8E8;
	font-family: Cambria; 
	font-size: 24px;
	font-weight: normal;	
	color: black;
	white-space: nowrap;
    display: inline-block;
    width: 5em;
	text-align: center;
   }
     
  #calc_footl {
    /* border-left: 1px solid black; */
	/* border-bottom: 1px solid black; */
	color: black;
	text-align: right;
	white-space: nowrap;
   }
   
  #calc_footc {
	/* border-bottom: 1px solid black; */
	color: black;
	text-align: right;
	white-space: nowrap;
   }

  #calc_footr {
    /* border-right: 1px solid black; */
	/* border-bottom: 1px solid black; */
	color: black;
	text-align: right;
	white-space: nowrap;
   }   
    
  #resA, #resY {
    background-color: rgba(173,216,320,0.6);
	color: red;
	text-align: right;
	font-weight: bold;
    font-family: Cambria;  
	vertical-align: middle;	
	white-space: nowrap;
    display: inline-block;
    width: 8em;
	text-align: center;	
   }
   
  #resA {
	font-size: 25px;
   }
   
  #resY {
	font-size: 25px;
   }
   
  .resL {
	color: blue;
	text-align: right;
	font-weight: bold;
    font-family: Cambria;
	font-size: 24px;
	vertical-align: bottom;
   }        
   
  .price_checkA {
     transform: scale(2.0);     
   }      


  #chatbox {
    text-align: left;
    /* margin: 0 auto; */
    margin-top: 5px;
    margin-bottom: 25px;
    /* padding: 10px; */
    background: #fff;
    height: 300px;
    width: 100%; /* 530px; */
    border: 2px solid #a7a7a7; 
    overflow-x: auto;
    overflow-y: scroll;
    border-radius: 4px; 
    border-bottom: 4px solid #a7a7a7;     
  }

 .msgln {
   background-color: #E0E0E0;
  }

 .chat-time {
   background-color: gold;
   border-radius: 4px;
   font-size: 12px;
   vertical-align: super;
   padding-left: 4px;
   padding-right: 4px;
  }

 .user-name {
   background-color: magenta;
   color: white;
   border-radius: 8px;
   padding-left: 8px;
   padding-right: 8px;
  }

 .cell_left {
   text-align: left;
   font-family: Cambria; 
   font-size: 22px;
  }

 .cell_right {
   text-align: right; 
   font-family: Cambria; 
   font-size: 22px;
  }

 .cell_center {
   text-align: center;
   font-family: Cambria;
   font-size: 22px;
  }

 #cxit, #exit {
   background-color: red; 
   border-radius: 4px;
   text-decoration: none;
   font-family: Cambria; 
   font-size: 32px;
  }

 #cxit:hover, #exit:hover {
   text-decoration: underline;
  }


/*
  a#exit {
    color: white;
    background-color: #c62828;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
  }
*/
 #mail_send {
   background-color: lime;
   border-radius: 4px;
   font-family: Cambria;
   font-size: 30px;
   width: 4em;
   height: 1em;
   text-decoration: none;
  }

 #submitmsg {
   background-color: lime;
   border-radius: 4px;
   font-family: Cambria;
   font-size: 32px;
   width: 4em;
   height: 1em;
   text-decoration: none;
  }

 #mail_send:hover, #submitmsg:hover {
   text-decoration: underline;
  }

/*
  #submitmsg, .msg_send {
    background: #ff9800;
    border: 2px solid #e65100;
    color: white;
    font-weight: bold;
    border-radius: 8px;
  }
  
 .msg_send {
	  font-family: Cambria;
	  font-size: 30px;
	  width: 1em;
	  height: 50%;

      background-color: orangered; 
      float: right; 
      padding: 0px;
      text-align: center; 
  }
*/

 #set_name {
   background: #ff9800;
   border: 2px solid #e65100;
   font-weight: bold;
   border-radius: 8px;
   color: black; 
   font-family: Cambria; 
   font-size: 20px;
   text-decoration: none;
  }

 #set_name:hover {
   text-decoration: underline;
  }

 .label_contacts {
   font-family: Cambria; 
   font-size: 22px; 
   padding-left: 10px;
  }

 #msg_email, #msg_phone {
   font-family: Cambria; 
   font-size: 20px;
  }

 #msg_text {
   font-family: Cambria;
   font-size: 20px;
   height: 5em;
  }  

 #msg_title {
   font-family: Cambria; 
   font-size: 20px;
  }

 #msg_file {
   font-family: Cambria;
   font-size: 18px;
  }

 #contact_fersyst {
   text-align: left;
   padding-top: 0px;
   padding-bottom: 0px;
   padding-left: 10px; 
   padding-right:10px; 
   font-family: Cambria; 
   font-size: 24px;
   color: black;
  }

 .userbtn {
    border-radius: 8px;
   } 
