:root {
	--primary: #1c9b32;
	--secondary: #096733;
	--button-text: #eaeaea;
	--options-caption: #6b6b6b;
    --options-value: #141414;
	--max-width-all: 700px;
}


html {
    color: #222;
    line-height: 1.4;
	font-family: Helvetica;
}

body,p,a,ul,li {
	margin: 0;
	padding: 0;
	text-decoration: none;
}

h1,h2 {
	font-size: 1.2em;
}

h3 {
	font-size: 1.1em;
}

h4 {
	font-size: 1em;
}

p,a, th {
	font-size: 0.8em;
}

tbody {
	font-size: 0.75em;
}

li {
	list-style-type: none;
}



.button {
	background: var(--primary);
	border: 1px solid var(--primary);
	color: var(--button-text);
	padding: 6px 12px;
	border-radius: 3px;
	/*text-transform: uppercase;*/
	box-shadow: 1px 2px 3px rgba(0,0,0,0.9);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	white-space: normal;
}


input {
	background: none;
	border: 2px solid var(--secondary);
	color: var(--options-value);
	padding: 6px 12px;
	border-radius: 3px;
	/*text-transform: uppercase;*/
	box-shadow: 1px 2px 3px rgba(0,0,0,0.9);

}

input[type="radio"], input[type="checkbox"] {
	box-shadow: none;
}

input:focus {
	outline: none;
}

.center-heading {
	text-align: center;
}


nav {
    width: 99%;
	max-width: var(--max-width-all);
	margin: 0 auto;
}


nav ul li {
	display: flex;
	padding: 5px;
}

nav a {

    text-align: left;
    font-weight: bold;
    color: #2b2b2b;

}

nav ul li a:before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 100%;
    vertical-align: middle;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}


 .modal {
	display: none; 
	position: fixed;
	justify-content: center;
	z-index: 1000; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%; 
	overflow: auto; 
	background-color: rgb(0,0,0); 
	background-color: rgba(0,0,0,0.4);
  }
  

  .modal-content {
	display: flex;
	justify-content: center;
	flex-direction: column;
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	border-radius: 0.3rem;
	width: 50%; 
	max-width: 230px;
	
  }

  .languages {
	  display: flex;
	  justify-content: center;
  }

  .btn-flag {
	  width: 32px;
  }

  .btn-down {
	  width: 10px;
	  padding-bottom: 11px;
  }

  .btn-close {
	color: #aaa;
	float: right;
	font-size: 1.4em;
	padding:  2px;
	background-color: none;
  }
  
  .btn-close:hover,
  .btn-close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
  } 



.footer {
	width:100%;
	margin: 20px auto 0 auto;
	text-align: center;
	font-size: 0.8em;
}



  .swiper {
	width: 100%;
	height: 100%;
	margin-bottom: 10px;
	padding-bottom: 30px;

  }


  .swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;

	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
  }

  .swiper-button-prev, .swiper-button-next {
	  display: none;
  }

.de:before {
    background-image: url('../images/flags/de.png');
}

.en:before {
    background-image: url(../images/flags/en.png);
}

.fr:before {
    background-image: url(../images/flags/fr.png);
}

.ru:before {
    background-image: url(../images/flags/ru.png);
}

.pl:before {
    background-image: url(../images/flags/pl.png);
}

.se:before {
    background-image: url(../images/flags/se.png);
}

.nl:before {
    background-image: url(../images/flags/nl.png);
}

.es:before {
    background-image: url(../images/flags/es.png);
}

.bgr:before {
    background-image: url(../images/flags/bgr.png);
}


.logo {
	text-align:center;
	padding:30px 20px;
}

.logo img {
	max-width: 100%;
}

.language-selector {
	margin-right:5px;
	margin-left: auto;
	padding: 10px 0;
	width:55px;

}

.main-container {
	position: relative;
	margin:auto;
	padding: 10px 20px 10px 20px;
	max-width: var(--max-width-all);
	box-shadow: 15px 15px 120px -50px rgba(0, 0, 0, 0.3)
}



.peimage-container {
	display: flex;
	width:100%;
	justify-content: center;
	gap: 35px;
	flex-wrap: wrap;
	margin-top: 100px;
}

.peimage-container img {
	width:4em;
	height: 4em;
}

.splash-action {
	width: 100%;
	text-align: center;
	margin-top: 100px;
}


/* step 2 */


#unit-switch-container {
	width:100%;
	display:inline-block;
	text-align: center;
}


#unit-switch-container:after {
	content: " ";
	clear: both;
	display: block;
}

#unit-switch {
    position:relative;
    /*width:370px;*/
	width:25%;
	margin: auto;
}

#unit-switch input {
    display: none;
}

#switch-background, .unit-switch-labels {
    width:50%;
    height:20px;
    text-align:center;
    display: inline-block;
    float:left;
    padding-top:0px;
    z-index:2;
    cursor:pointer;
}
.unit-switch-labels {
    outline: 1px solid #1c9b32;
	font-size: 15px;
}

#unit-switch-mm-label {
	border-radius: 3px 0 0 3px;
}

#unit-switch-inch-label {
    border-radius: 0 3px 3px 0;

}
#switch-background {
    background-color:#1c9b32;
    position:absolute;
    left:0;
    top:0;
    z-index:-1;
    transition: left linear 0.3s;
}
#unit-switch-mm:checked ~ #switch-background {
    left:0;
}
#unit-switch-inch:checked ~ #switch-background {
    left:50%;
}


.step2-form {
	max-width: 400px;
	margin: auto;
}

.step2-form p {
	padding: 10px;
}

.step2-form input {
	width: 25%;
	max-width: 100px;
	text-align: right;
}

.step2-form-input {
	display: flex;
	justify-content: center;
}

.step2-form-input p {
	width: 2em;
}

.image-container {
	display: none;
}

.image-container img {
	max-width: 50%;
	height: auto;
}

.footer-menu, .table-menu {
	display: flex;
	max-width: 330px;
	justify-content: space-evenly;
	flex-wrap: wrap;
	gap: 5px;
	margin: 40px auto 40px auto;
	/*margin-top: 40px;
	margin-bottom: 30px;*/
}

.footer-menu .w100, .table-menu .w100 {
	flex-basis: 100%;
	
}

.footer-menu input {
	margin-bottom: 10px;
}
/* step 3 */

.pe-calc-info-cap {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	text-align: center;
	padding-bottom: 10px;
}

.pe-calc-info-cap * {
	align-self: center;
}

.option-caption {
	color: var(--options-caption);
}

.pe-calc-info-val{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	text-align: center;
	border-bottom: 1px solid var(--options-caption);
	padding-bottom: 10px;
	
}

.option-value {
	color: var(--options-value);
	font-weight: bold;
}

.pe-type-overview {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pe-type-img {
	width:100%;
	text-align:center;
}

.pe-type-overview img {
	max-width: 50%;
	height: auto;
}

.pe-type-list {
	width: 100%;
	padding-bottom: 10px;
	text-align: center;

}

.pe-type-list .option-value {
	padding-bottom: 10px;
}


.pe-errormessage {
	padding-top: 15px;
	color:rgb(200, 0, 40);
}




/* step 4 */

.material-list {
	display:grid;
	grid-template-columns: auto 50px;
	column-gap: 10px;
	font-size: 0.9em;
}

.material-type-image {
	place-self: center;
	max-width: 30px;
	width: 100%;
}

.material-type-image img {
	max-width: 100%;
}

.material-type {
	position: relative;
	margin-bottom: 10px;
    box-shadow: 3px 10px 12px -10px rgba(0, 0, 0, 0.29);
	min-height: 2em;

}

.material-type div {
	height: 100%;
}

/*
.material-type:nth-of-type(odd) {
		background-color: rgba(0, 0, 0, 0.05);
}
*/

.material-type input {
	position: absolute;
	top: 0;
	left: 0;
    width: 100%;
	height: 100%;
	opacity: 0;
}

.material-type input[type=checkbox]:checked ~ div {
	background-color: rgba(10, 110, 5, 0.15);

}

.material-type input[type=radio]:checked ~ div {
	background-color: rgba(10, 110, 5, 0.15);

}



/* step 5 */

.model-list {
	border-collapse: collapse;
	margin: 30px auto 30px auto;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.model-list thead tr {
	background-color: var(--secondary);
    color: #ffffff;
    text-align: center;
}

.model-list th, .model-list td {
	padding: 10px 12px;
	text-align: center;
}

.model-list tbody tr {
	border-bottom: 1px solid #dddddd;
}

.model-list tbody tr:nth-of-type(even) {
	background-color: #f3f3f3;
}



.model-list .button {
	width: 100%;
	font-size: 0.9em;
	padding: 3px;
	margin: 4px;
}

.table-menu {
	margin: 10px auto 60px auto;
}


.ring-count-modal {
	display: none; 
	position: fixed;
	justify-content: center;
	z-index: 1000; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%; 
	overflow: auto; 
	background-color: rgb(0,0,0); 
	background-color: rgba(0,0,0,0.4);
  }
  

  .ring-count-modal-content {
	display: flex;
	justify-content: center;
	text-align: center;
	flex-direction: column;
	background-color: #fefefe;
	margin: auto;
	padding: 10px;
	border: 1px solid #888;
	border-radius: 0.3rem;
	width: 75%; 
	max-width: 230px;
  }

  .ring-count-modal-content * {
	  margin: 0 0 5px 0;
  }

  .ring-count-modal-content .button {
	  padding: 5px 20px;
  }

  .ring-count-modal-content #RingCount {
	  text-align: right;
	  width: 70px;
  }




  /* inquiry */

.document-control {
	width:100px;
	margin:auto;
	text-align: center;

}

.document-control img {
	height: 30px;
}

.order-list {
	border-collapse: collapse;
	margin: 30px auto 40px auto;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
	width: 100%;
	max-width: 800px;
}

.order-list thead tr {
	background-color: var(--secondary);
    color: #ffffff;
    text-align: center;
}

.order-list th, .order-list td {
	padding: 10px 12px;
	text-align: center;
}

.order-list tbody tr {
	border-bottom: 1px solid #dddddd;
}

.order-list tbody tr:nth-of-type(even) {
	background-color: #f3f3f3;
}


.order-pipe-info .option-value {
	margin-bottom: 20px;
}

.address-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;

}

.address {

	margin:5px 0 15px 0;

}

.address:first-of-type {
	width: 200px;
	max-width: 250px;
}

.address-type {
	font-weight: bold;
	margin-bottom: 5px;
	margin-top: 10px;
}

.address-type not {
	font-weight: bold;
	margin-bottom: 5px;
}

.address-info-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	row-gap: 10px;
	
}

.address input {
	text-transform: none;
}

.address-line {
	width: 250px;
	margin: 25px auto 25px 0px;
}

.address-info-form .grid-100 {
	grid-column: 1 / 3;
	font-weight: bold;
}


.delivery-terms {
	text-align: center;
	margin-top: 20px;
}

.delivery-terms p {
	margin:10px 0px;
	font-size: 0.7em;
}

  /* order */


  /* tendering */


  .tender-info, .tender-fab-info {

	color: var(--options-caption);
	text-align: justify;
	margin-top: 10px;

  }

  .tender-fab-info {
	  font-style: italic;
	  margin-bottom: 10px;
  }


.tender-list p:nth-child(odd) {
	font-weight: bold;
	padding: 10px;
}

.tender-list p:nth-child(even) {
	margin-left: 15px;
}





@media only screen and (min-width: 620px) {
	

	.image-container {
		display: block;
		position: absolute;
		bottom: 8%;
		left: 10%;
	}
	
	.pe-type-img {
		width:100%;
		text-align:left;
	}
	
	.step2-form {
		padding-left: 70px;
	}

}


@media only screen and (min-width: 960px) {

	body {
		font-size: 18px;
	}

	.swiper-button-prev, .swiper-button-next {
		display: flex;
	}
  
	.image-container {
		display: block;
		position: absolute;
		bottom: 10%;
		left: 10%;
	}

	.pe-type-img {
		width:100%;
		text-align:left;
	}

	.material-type-image {
		max-width: 50px;
	}

	.document-control img {
		height: 35px;
	}
}




@media only screen and (min-width: 1200px) {
	
	body {
		font-size: 20px;
	}

	.modal-content {
		margin-top: 300px;
	}

	.material-type-image {
		max-width: 50px;
	}

	.document-control img {
		height: 35px;
	}
}



@media print {
	input {
		border: none;
		border-radius: 0;
		text-transform: none;
		box-shadow: none;
		padding:0;
	}

	.logo img {
		max-width: 30%;
	}

	.document-control, .language-selector {
		display: none;
	}

	.order-list {
		box-shadow: none;
	}

	.order-pipe-info p {
		display: inline;
	}

	.order-pipe-info p:nth-child(2) {
		margin-right:20px;
	}

	.signature {
		display: flex;
		justify-content: space-between;
	}
}