#printlogo{display: none;}
#suit_title{
  width: 60%;
/*  height: 100px;*/
  margin:5px;
}
.form_radio_group {
	display: inline-block;
	overflow: hidden;
	float: right;
}
.form_radio_group-item {
	display: inline-block;
	float: left;    
}
.form_radio_group input[type=radio] {
	display: none;
}
.form_radio_group label {
	display: inline-block;
	cursor: pointer;
	padding: 0px 5px;
	line-height: 34px;
	border: 1px solid #999;
	border-right: none;
	user-select: none;
}
 
.form_radio_group .form_radio_group-item:first-child label {
	border-radius: 6px 0 0 6px;
}
.form_radio_group .form_radio_group-item:last-child label {
	border-radius: 0 6px 6px 0;
	border-right: 1px solid #999;
}
 
/* Checked */
.form_radio_group input[type=radio]:checked + label {
	background: #ffe0a6;
}
 
/* Hover */
.form_radio_group label:hover {
	color: #666;
}

.price_form{
	width: 60%;
}
.right_box{
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  overflow: hidden;
  position: absolute;
  right:0;
  top: 0;
  width: 40%;
  height: 100%;
}
.flex_photos{
  display: flex;
  flex: 1 1 100%;
  flex-flow: row nowrap;
  padding: 0 0;
  align-self: flex-start;
  align-content: space-around;
  justify-content: space-around;
  align-items: stretch;
  max-height: calc(100% - 200px);
  width: 100%;
}

#small_photos {
/*	max-height: calc(100% - 330px);*/
	flex-flow: row wrap;
	flex 0 0 200px;
/*	height: 200px;*/
}

.flex_pic{
  flex: 0 1 54%;
  padding: 0;
  margin: auto;
  max-height: 100%;
}
.flex_pic  img{
  	object-fit: contain;
  	max-width: 100%;
  }

.flex_pic_small{
  flex: 1 1 auto;
  padding: 0;
  margin: auto;
  max-width: 50%;
}
.flex_pic_small img{
  	object-fit: scale-down;
   max-height: 200px;
   max-width: 100%;
  }

.Product{
    height: calc(100% - 200px);
}
  #contacts input{width: 100%;}

@media screen and (orientation: portrait) {
  .right_box{
    overflow: auto;
  }
  .flex_photos{
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    max-height: none;
/*    align-content: space-between;*/
  }
  .flex_pic{
    flex: 0 1 5%;
  }
	.flex_pic_small{
		max-width: 100%;
	}
	#suit_model{width: 150px;}
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0.5cm;
  }
  .header, .footer, #reset, #print, #submit, #comttl, #contacts label, #cc {display: none;}
  #contacts input{border: 0;}
  #comments {top: 0; margin: 0; height: 100%; width: 100%}
  .Product {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    margin:0;
  }
  #suit_title{
    margin-left: 105px;
    width: calc(60% - 110px);
  }
  #suit_title p{
    text-align: left;
  }
	#suit_model{width: 150px;}
  #printlogo{
	display: inline-block;
	position: absolute;
	width: 100px;
	top: 0;
	left: 0;
	float: right;
  }
  .form_radio_group input + label {display:none;}
  .form_radio_group input[type=radio]:checked + label {display:inline-block; border:0;font-size: x-large;}
}