body{
  min-width: 1150px;
}

div.in-box{
  width: 1100px;
  max-width: 1100px;
  position: relative;
}

#content{
  min-height: calc(100vh - 80.8px - 188.453px);
}

#user_icon{
  display: inline-block;
  float: right;
  clear: both;
  margin-top: 30px;
  font-weight: bold;

}

.show_menu{
  display: none;
  color: rgb(65, 163, 255);
  font-weight: normal;
  background-color: white;
  border-radius: 40px;
  padding: 10.3px 8.8px 9.7px 8.2px;
  /*margin-top: 13px;*/
  font-size: 17px;
  position: absolute;
  top: 2px;
  right: 0px;

}

.show_menu .icon-menu{
  height: 24px;
  width: 24px;
}

#menu{
  display: inline-block;
}

.menu{
  display: inline-block;
  padding-bottom: 0px;
  padding-left: 0px;
  -webkit-padding-start: 0px;
  margin-bottom: 0px;
  margin-top: 30px;
}

.menu li{
  display: inline-block;
  font-weight: bold;
  margin-right: 30px;

}

.menu a, #user_icon a{
  display: block;
  text-decoration: none;
  color: white !important;
  border-bottom: 3px solid transparent;
  padding-bottom: 25px;
}

#user_icon a{
  display: inline-block;
}

.menu a:hover, .menu .active a, #user_icon a:hover, #user_icon a.active{
  color: #ff8700 !important;
  border-bottom-color: #ff8700;
}

.menu a:hover, .menu .active ul .active a, .menu .active ul a:hover{
}

.menu li:not(.active):hover{
}

.menu .active{
}

.menu li.for_respons{
  display: none;
  font-weight: normal;
}

.logout-btn{
  margin-left: 20px;
  width: 14px;
}

.logout-btn::before{
  margin: 0px !important;
}

/*------------------------------------------------------------------------------------------------*/
/* homepage */

.widgets{
  display: flex;
  margin-left: -10px;
  margin-right: -10px;
}

.widgets div{
  margin: 10px;
  width: 100%;
  padding: 20px !important;
  line-height: 37px;
}

.widgets .icon_hp{
  color: rgb(65, 163, 255);
  font-size: 30px;
  margin-right: 15px;
}

.widgets span, .widgets a{
  display: inline-block;
  vertical-align: middle;
  line-height: 125%;
}

.clanky{
  margin-bottom: 30px;
}

/*------------------------------------------------------------------------------------------------*/

#messages{
  padding-top: 50px;
  max-width: 570px;
  margin: 0 auto;
}

.message{
  width: 80%;
  display: block;
  clear: both;
  float: right;
  margin-bottom: 10px;
}

.message_customer{
  float: left;
}

.message:not(.message_customer) p, .message:not(.message_customer){
  text-align: right !important;
}

.message_date{
  font-size: 11px;
  padding: 10px 15px !important;
  font-style: italic;
  margin: 0px;
}

.message .message_content{
  display: inline-block;
  padding: 10px 15px !important;
  border-radius: 30px;
  border: 2px solid #0FDB73;
  margin: 0px
}

.message_customer .message_content{
  border: 2px solid #FF8700;
}

#msg_form{
  clear: both;
  padding-top: 3px;
}

#msg_form textarea{
  width: calc(100% - 32px);
}

#msg_form p{
  margin-bottom: 3px;
}


/*------------------------------------------------------------------------------------------------*/

/*#vzory-smluv{
  list-style-type: none;
  padding-left: 0px;
}

#vzory-smluv li p{
  margin-top: 0px;
  padding-top: 0px;
}

#vzory-smluv li a{
  text-decoration: none;
}

#vzory-smluv li h3{
  margin-top: 20px;
}

#vzory-smluv li{
  border-top: 1px solid rgb(200,200,200);
  padding-bottom: 20px;
  clear: both;
}

#vzory-smluv li p.smlouvy-left, #vzory-smluv li p.smlouvy-right{
  display: inline-block;
  vertical-align: middle;
}

#vzory-smluv li p.smlouvy-left{
  float:left;
  margin-top: 11px;
}

#vzory-smluv li p.smlouvy-right{
  float:right;
}

#vzory-smluv h3 .status{
  font-size: 14px;
  margin: 0px 20px 0px 0px;
  padding: 5px 7px;
  display: inline-block;
  width: 110px;
  text-align: center;
}*/

#nahled-smlouvy{
  border: 1px solid rgb(200,200,200);
  padding: 50px;
}

#nahled-smlouvy h2{
  margin-top: 20px;
  font-size: 20px;
}

#nahled-smlouvy-content ol li, #nahled-smlouvy-content ul li{
  line-height: 160%;
  text-align: justify;
}

#nahled-smlouvy-content ol, #nahled-smlouvy-content ul{
  padding-left: 15px;
  margin-top: 5px;
  margin-bottom: 15px;
}

#nahled-smlouvy-content ol li ol, #nahled-smlouvy-content ol li ul, #nahled-smlouvy-content ul li ol, #nahled-smlouvy-content ul li ul{
  padding-left: 25px;
  margin-bottom: 5px;
}


/*------------------------------------------------------------------------------------------------*/

.vypis_table{
  border-collapse: collapse;
}

.vypis_table tr td:nth-of-type(1){
  white-space: nowrap;
}

.vypis_table tr:nth-of-type(2){
  border-top: none;
}

.vypis_table tr td:nth-of-type(2), .vypis_table tr td:nth-of-type(4), .vypis_table tr td:nth-of-type(5), .vypis_table tr td:nth-of-type(6), .vypis_table tr td:nth-of-type(7), .vypis_table tr td:nth-of-type(8), .vypis_table tr th:nth-of-type(2), .vypis_table tr th:nth-of-type(4), .vypis_table tr th:nth-of-type(5), .vypis_table tr th:nth-of-type(6), .vypis_table tr th:nth-of-type(7), .vypis_table tr th:nth-of-type(8){
  text-align: right;
  white-space: nowrap;
}

.vypis_table tr th:nth-of-type(3){
  width: 500px;
}

.vypis_table tr td:nth-of-type(8){
  max-width: 250px;
}

.vypis_table tr.faktura td{
  border-top: 1px solid rgb(200,200,200);
}

.vypis_table tr.faktura td:nth-of-type(1), .vypis_table tr.faktura td:nth-of-type(3), .vypis_table tr.faktura td:nth-of-type(8){
  font-weight: bold;
}

.vypis_table td:nth-of-type(1){
  padding-right: 0px;
}

.vypis_table td:nth-of-type(2){
  padding-left: 0px;
}

/*------------------------------------------------------------------------------------------------*/

#polozky tr td:nth-of-type(2) input, #polozky tr td:nth-of-type(4) input, #polozky tr td:nth-of-type(5), #polozky tr td:nth-of-type(6), #polozky tr th:nth-of-type(6), #sum{
  text-align: right;
}

#polozky tr td:nth-of-type(2) input{
  width: 60px;
}

#polozky tr td:nth-of-type(4) input{
  width: 60px;
}

#polozky tr th:nth-of-type(5) {
  width: 60px;
}

#polozky tr td{
  white-space: nowrap;
}

#polozky tr td:nth-of-type(1) input{
  width: 420px;
}

/*------------------------------------------------------------------------------------------------*/

.table_kontakty{
  border-collapse: collapse;
  margin-top: 30px;
  width: 100%;
}

.table_kontakty td{
  border-top: 1px solid rgb(200,200,200)
}

.table_kontakty td:first-of-type{
  width: 30px;
}

.table_kontakty td:nth-of-type(3){
  width: 100px;
}

/*------------------------------------------------------------------------------------------------*/

.item_buttons{
  display: inline-block;
  vertical-align: middle;
  width: 626px;
  text-align: right;
}

.item_buttons.all_width{
  width: 100%;
}

p.edit-info-text, .fakturace h1, .smlouvy h1, .kontakty h1, .dokumenty h1, .konzultace h1{
  display: inline-block;
  vertical-align: middle;
  width: 470px;
}

.upravit-smlouvu p.edit-info-text{
  width: 408px;
}

.upravit-smlouvu .item_buttons{
  width: 692px;
}

#grey_background{
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.50);
  top: 0px;
  left: 0px;
  display: none;
  z-index: 140000;
}

.dialog{
  position: fixed;
  top: 150px;
  background-color: white;
  display: none;
  padding: 30px 40px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, .20);
  z-index: 1000;
  overflow: auto;
  border-radius: 3px;
}

.dialog h2{
  font-size: 23px !important;
  margin-top: 10px;
  margin-bottom: 40px;
}

#delete{
  left: 50%;
  margin-left: -230px;
  width: 400px;
}

/*-------------------------------------*/

.cards{
  text-align: center;
  display: -webkit-flex; /* Safari */
  display: flex;
  -webkit-flex-flow: wrap;
  flex-flow: wrap;
}

.card{
  display: inline-block;
  width: calc(25% - 2px);
  padding: calc(12.5% - 29px) 0px;
  background-color: #475DC7;
  text-decoration: none !important;
  border: 1px solid white;
  line-height: 54px;
}

.card:nth-of-type(2n){
  background-color: #FF8700;
}

.card h2{
  color: white !important;
  margin: 0px !important;
  text-align: center;
  vertical-align: middle;
  display: inline-block;
}

/*-------------------------------------*/

.article{
  display: block;
  padding: 10px 25px 15px 25px !important;
  text-decoration: none !important;
  border: 1px solid white;
  margin-top: 20px;
}

.article, .article:hover, .article:visited{
  color: #7C7990 !important;
}

.article h2, .article h3{
  margin-top: 10px !important;
}

.tag {
  background-color: #0FDB73;
  border-radius: 3px;
  color: white;
  display: inline-block;
  vertical-align: middle;
  padding: 3px 7px;
}

.article .last_change{
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
}

.article p{
  margin: 0px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.article p.item-right, p.item-left{
  display: inline-block;
  vertical-align: middle;
}

.article p.item-left{
  width: calc(100% - 505px);
}

.article p.item-right{
  width: 501px;
  text-align: right;
}

.article a{
  text-decoration: none;
}

.article button{
  margin-left: 10px;
}

.article h3 .status{
  font-size: 14px;
  margin: 0px 20px 0px 0px;
  padding: 5px 7px;
  display: inline-block;
  width: 110px;
  text-align: center;
}

