.pagecontent {
	padding: 0 20px 0 20px;
	max-width:1400px;
	margin: 0 auto 0 auto;
	font-family: Lato Regular,arial,sans-serif;
}

h1 {
	font-size: 24px;
	font-weight: normal;
	padding: 15px 5px 15px 10px;
	color: #727070;
	background: linear-gradient(to bottom, #f7f7f7, #e2e0e0);
	border: 1px solid #fff;
}

p, h3 {
  color: #504e4e;
  font-size: 16px;
  font-weight: bolder;
  
}

.main {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
	-webkit-flex-flow: column;
	flex-flow: column;
	-webkit-align-items:center;
	align-items:center;
	min-width: 0;
	padding-top: 1.5em;
}

.row {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
	-webkit-flex-flow: row;
	flex-flow: row;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 1em 0.6em ;
	max-width:947.8px;
}

.column {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
	-webkit-flex-flow: column;
	flex-flow: column;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	align-items: center;
	margin: 0.6875em 0.6em ;
	max-width:947.8px;
}

#box1 {
	background: #f4f2f2;
	border: 1px solid #cdcbcb;
	border-radius: 0.6em;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	-webkit-flex-flow: row;
	flex-flow: row;
	align-items: center;
	box-sizing: border-box;
}

#box2 {
	background: #ededed;
	border: none;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	-webkit-flex-flow: column;
	flex-flow: column;
	align-items: center;
	box-sizing: border-box;
}

#box3 {
	background: #ededed;
	border: none;
	
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	-webkit-flex-flow: row;
	flex-flow: row;
	align-items: center;
	box-sizing: border-box;
	margin-bottom:15px;
}

#box4 {
	background: #f4f2f2;
	border: #f4f2f2;
	border-radius: 0.6em;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	-webkit-flex-flow: row;
	flex-flow: row;
	align-items: center;
	box-sizing: border-box;
}

#box5 {
	background: #f4f2f2;
	border: 1px solid #cdcbcb;
	border-radius: 0.6em;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	-webkit-flex-flow: row;
	flex-flow: row;
	align-items: center;
	box-sizing: border-box;
	margin-bottom:15px;
}

.form-radio, .form-check {
    margin: 0 2em 2em 2em;
}







button {
  padding: 5px 10px;
  border-radius: 0;
  border: 0;
  
}




 




/* style for radio buttons and checkboxes version 2 */

.form-radio {
  position: relative;
}

.checkbox .form-help, .input .form-help, .form-radio .form-help, .form-group .form-help {
  position: absolute;
  width: 100%;
}
.checkbox .form-help {
  position: relative;
  margin-bottom: 1rem;
}
.input .form-help {
  position: relative;
  margin-bottom: 1rem;
}
.form-radio .form-help {
  padding-top: 0.25rem;
  margin-top: -1rem;
}

.checkbox label,
.form-radio label,
.input label {
  position: relative;
  cursor: pointer;
  padding-left: 2rem;
  text-align: left;
  color: #504e4e;
  display: block;
}
.checkbox input,
.form-radio input,
.input input {
  width: auto;
  opacity: 0.00000001;
  position: absolute;
  left: 0;
}

.radio {
  margin-top: 2rem;	
  margin-bottom: 1rem;
  
}
.radio .helper {
  position: absolute;
  top: -0.25rem;
  left: -0.25rem;
  cursor: pointer;
  display: block;
  font-size: 1 rem;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  color: #999;
}
.radio .helper::before, .radio .helper::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  margin: 0.25rem;
  width: 1rem;
  height: 1rem;
  -webkit-transition: -webkit-transform 0.28s ease;
  transition: -webkit-transform 0.28s ease;
  transition: transform 0.28s ease;
  transition: transform 0.28s ease, -webkit-transform 0.28s ease;
  border-radius: 50%;
  border: 0.125rem solid currentColor;
}
.radio .helper::after {
  -webkit-transform: scale(0);
          transform: scale(0);
  background-color: #a01b2a;
  border-color: #a01b2a;
}
.radio label:hover .helper {
  color: #a01b2a;
}
.radio input:checked ~ .helper::after {
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
}
.radio input:checked ~ .helper::before {
  color: #a01b2a;
}

.checkbox {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.input {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.checkbox .helper {
  color: #999;
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  z-index: 0;
  border: 0.125rem solid currentColor;
  border-radius: 0.0625rem;
  -webkit-transition: border-color 0.28s ease;
  transition: border-color 0.28s ease;
}
.input .helper {
  color: #999;
  position: absolute;
  top: 0;
  left: 0;
  width: 10rem;
  height: 1rem;
  z-index: 0;
  border: 0.125rem solid currentColor;
  border-radius: 0.0625rem;
  -webkit-transition: border-color 0.28s ease;
  transition: border-color 0.28s ease;
}
.checkbox .helper::before, .checkbox .helper::after, .input .helper::before, .input .helper::after {
  position: absolute;
  height: 0;
  width: 0.2rem;
  background-color: #a01b2a;
  display: block;
  -webkit-transform-origin: left top;
          transform-origin: left top;
  border-radius: 0.25rem;
  content: '';
  -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
  transition: opacity 0.28s ease, height 0s linear 0.28s;
  opacity: 0;
}
.checkbox .helper::before, .input .helper::before {
  top: 0.65rem;
  left: 0.38rem;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
  box-shadow: 0 0 0 0.0625rem #fff;
}
.checkbox .helper::after, .input .helper::after {
  top: 0.3rem;
  left: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.checkbox label:hover .helper{
  color: #a01b2a;
}
.checkbox input:checked ~ .helper {
  color: #a01b2a;
}
.checkbox input:checked ~ .helper::after, .checkbox input:checked ~ .helper::before {
  opacity: 1;
  -webkit-transition: height 0.28s ease;
  transition: height 0.28s ease;
}
.checkbox input:checked ~ .helper::after {
  height: 0.5rem;
}
.checkbox input:checked ~ .helper::before {
  height: 1.2rem;
  -webkit-transition-delay: 0.28s;
          transition-delay: 0.28s;
}
.checkbox input:disabled ~ .helper {
  opacity:0.2;
}

.radio input:disabled ~ .helper {
  opacity:0.2;
}

.radio + .radio,
.checkbox + .checkbox,
.input + .input {
  margin-top: 1rem;
}

.has-error .legend.legend, .has-error.form-group .input-label.input-label {
  color: #d9534f;
}
.has-error.form-group .form-help,
.has-error.form-group .helper, .has-error.checkbox .form-help,
.has-error.checkbox .helper, .has-error.radio .form-help,
.has-error.radio .helper, .has-error.form-radio .form-help,
.has-error.form-radio .helper {
  color: #d9534f;
}
.has-error .bar::before {
  background: #d9534f;
  left: 0;
  width: 100%;
}

/* submit button  */

.submit {
	width: 12em;
	height:2.5em;
    background-color: #a01b2a;
    border: none;
    color: white;
    padding: 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
	font-weight: bold;
}

.textcontent {
	padding-top: 0.6em;
	padding-bottom: 0.6em;
	display: block;
}

span {
	font-weight:normal; 
	margin-right:25px; 
	margin-bottom:20px;
}

/* this is the style for fancy push buttons */

.buttonHolder {
	margin: 1em 0 0.5em 0;
}
.pushbutton{
			background-image: -webkit-linear-gradient(top, #f4f1ee, #fff);
			background-image: linear-gradient(top, #f4f1ee, #fff);
			border-radius: 50%;
			box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, .3), inset 0px 4px 1px 1px white, inset 0px -3px 1px 1px rgba(204,198,197,.5);
			float:left;
			height: 50px;
			margin: 0 30px 13px 0;
			position: relative;
			width: 50px;			
			-webkit-transition: all .1s linear;
			transition: all .1s linear;
		}

		.pushbutton:disabled{
			background-image: -webkit-linear-gradient(top, #f4f1ee, #fff);
			background-image: linear-gradient(top, #f4f1ee, #fff);
			border-radius: 50%;
			box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, .3), inset 0px 4px 1px 1px white, inset 0px -3px 1px 1px rgba(204,198,197,.5);
			float:left;
			height: 50px;
			margin: 0 30px 13px 0;
			position: relative;
			width: 50px;			
			-webkit-transition: all .1s linear;
			transition: all .1s linear;
			opacity:0.4;
		}
		
		.pushbutton:after{
			color:#504e4e;
			content: "";
			font-weight: normal !important;
			display: block;
			font-size: 14px;
			height: 35px;
			text-decoration: none;
			text-shadow: 0px -1px 1px #bdb5b4, 1px 1px 1px white;
			position: absolute;
			width: 45px;
		}


		#co2:after{
			content: "CO2";
			left:2px;
			top: 18px;
		}

		#yag:after{
			content: "YAG";
			left:2px;
			top: 18px;
		}

		#fiber:after{
			content: "MOPA";
			left:2px;
			top:18px;
		}

		#spi:after{
			content: "SPI";
			left: 2px;
			top: 18px;
		}
		
		#spi:disabled:after{
			content: "SPI";
			left: 2px;
			top: 18px;
			opacity: 0.4;
		}
		
		.pushbutton:hover{
			background-image: -webkit-linear-gradient(top, #fff, #f4f1ee);
			background-image: linear-gradient(top, #fff, #f4f1ee);
			color:#0088cc;
		}

		#co2:hover:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}
		
		
		
		#yag:hover:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}

		#fiber:hover:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}

		#spi:hover:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}

		#co2:focus:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}
		
		.active:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}
		
		#yag:focus:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}
		
		#fiber:focus:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}
		
		#spi:focus:after{
			color:#a01b2a;
			text-shadow:0px 0px 6px #a01b2a;
		}

		.pushbutton:active{
			background-image: -webkit-linear-gradient(top, #efedec, #f7f4f4);
			background-image: linear-gradient(top, #efedec, #f7f4f4);
			box-shadow: 0 3px 5px 0 rgba(0,0,0,.4), inset 0px -3px 1px 1px rgba(204,198,197,.5);
		}

		.pushbutton:active:after{
			color:#dbd2d2;
			text-shadow: 0px -1px 1px #bdb5b4, 0px 1px 1px white;
		}


@media all and (max-width : 768px){
	
.row {-webkit-flex-flow: column; flex-flow: column; margin:0;box-sizing: border-box;}
.box{
	width:auto;
	margin-top:0.5em; 
	margin-left:0; 
	margin-bottom:0.5em;
	margin-right:0em;
}

#box1, #box3, #box4, #box5 {
	margin-right:0;
	flex-flow: column;
}


#box1, #box2, #box3, #box4, #box5 {
	width:auto;
}

.buttonHolder {
	margin-left: auto !important;
	text-align:center;
}

.pushbutton{
	margin: 0 10px 13px 0;
}

.pushbutton:disabled{
	margin: 0 10px 13px 0;
}

span {
 
	margin-right:5px; 
	margin-bottom:20px;
}

.checkbox, .form-check {
	margin:0.5em;
}

.input, .form-check {
	margin:0.5em;
}


}

#input[type="text"]{background-color:#d8d8d8;border: solid 1px  #bfbfbf;font-family:"Lato Regular",arial,sans-serif;font-weight:normal;
        font-size:0.9em;border:solid 1px  #bfbfbf;height:20px;padding:5px 5px;color:#504e4e;-webkit-border-radius:5px;
        -moz-border-radius:5px;border-radius:5px;}

