* {
  box-sizing: border-box;
}
.emtb{
	text-align: center;border-radius: 3px;width: 630px;border-collapse: collapse;
}
@font-face {
    font-family: 'IRAN';
    font-style: normal;
    font-weight: normal;
    src: local('dana regular'), url('../fonts/IRAN/IRAN.woff') format('woff');
    }

@font-face {
    font-family: 'dana regular';
    font-style: normal;
    font-weight: normal;
    src: local('dana regular'), url('../fonts/dana/dana medium.woff') format('woff');
    }
    
    body, html {
  height: 100%;
  margin: 0;
  color: #222;
  font-family: "IRAN","dana regular", "sans-serif", "serif";
}
    
body {font-family: "IRAN","dana regular", "sans-serif", "serif";}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 99%;
	
  position: relative;
  margin: auto;
}




/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}


.bgimg-1, .bgimg-2, .bgimg-3 {
  position: relative;
  opacity: 1;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}

.bgimg-1 {
  background-image: url('img/bgimg/51rwq0761.png');
  min-height: 100%;
}

.bgimg-2 {
  background-image: url('gallery/additional-casting-methods.jpg');
  min-height: 400px;
}

.bgimg-3 {
  background-image: url('gallery/cnc_milling__service_1.jpg');
  min-height: 400px;
}

.caption {
  
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
}

.caption span.border {
  background-color: #111;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}


/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
  .bgimg-1, .bgimg-2, .bgimg-3 {
    background-attachment: scroll;
  }
}

.tm{
	width: 80%;
	height: 30px;
	background-color:#3533Ff;	
}

.tm:focus{
	box-shadow: 0 0px 10px 10px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.z1 {
  transition: transform .2s;
  margin: 0 auto;
}

.z1:hover {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.1); 
}

body {
  margin: 10;
	direction: rtl
}

.dec {
	padding: 10px;
}
.dec a{
	text-decoration: none;
}

.radius{border-radius: 5px; border: solid;border-width: 1px 1px 1px 1px;}

.miniheader {
  background-color: #030303;
  padding: 11px;
  text-align: center;
	margin: 0px 5px ;
}

.header {
  padding: 20px;
  text-align: center;
	margin: 0px 0px ;
}

.panel {
  padding: 0 0px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
	
.buttonaccordion{
	width: 100%;
	border: none;
	cursor: pointer;
  	padding: 18px;
	font-size: 12px;
	color: #ddd;
	background-color: #000;
}
	.buttonaccordion:hover{
		background-color: #828282;
	}

.accordion {
  background-color: #000;
  color: #ddd;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: right;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #525252;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.tbsub{
	width: 30%;
}

.tbtxt{
	width: 62%;
}

.tbmode{
	background-color:#E8E8E8;
	margin: 1% 1% 0% 0%;
	min-height: 35px;
	padding: 5px 15px 5px 15px;
	float: right;
}

/* Create three equal columns that floats next to each other */
.column{
  float: right;
  width: 32.83%;
  margin: 0.25%;
}
.column20{
  float: right;
	width: 20%;
  
}


.column60{
  float: right;
  min-width: 400px;
	width: 60%;
	max-width: 79%;
	margin: 0.25%;
}
.column79{
  float: right;
  min-width: 400px;
	width: 79%;
	max-width: 79%;
	margin: 0.25%;
}
/* Clear floats after the columns */
.row:after {
	margin-top: 0.25%;
  content: "";
  display: table;
  clear: both;
}

.row1:after {
	margin-top: 0.0%;
  content: "";
  display: table;
  clear: both;
}

/* these are my codes */

.ddiv{
	
	background-color: #282E34;border: 1px solid black; padding: 30px 20px 20px 20px;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.tdiv{
	height: 70px;width: 100px;border-radius: 5px;background-color:  #094FA4; position: absolute; margin: 0px 30px 0px 0px;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);color: #ddd;padding: 20px;
}

.sshadow{
	box-shadow: 0 0px 10px 10px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
  .column {
    width: 100%;
  }
  .column20 {
    width: 50%;
  }
}
@media screen and (max-width:600px) {
  
}
.input-group input{
			width: 100%;border-radius: 5px;
			border: none;
			border-bottom: solid 4px #660B28;
			transition: 240ms ease;
			font-size: 16px;
			line-height: 15px;
			padding-bottom: 6px;
			padding-left: 8px;
			padding-right: 8px;
			padding-top: 11px;
			color: #000000;
			background-color: #ffbb00;
		}
		input:focus{
			outline: none;
		}
		.label-active{
			top: 8px !important;
			font-size: 10px !important;
			line-height: 10px !important;
			color: #3E4353
		}
		input:active{
			outline: none;
		}
		.input-group{
			position: relative;
			width: 260px;
		}
		.input-group input:focus{
			border-bottom: solid 4px #532802;
		}
		.input-group label{
			position: absolute;
			top: 50%;
			left: 8px;
			transform: translateY(-50%);
			font-size: 14px;
			line-height: 15px;
			pointer-events: none;
			transition: 180ms ease;
		}
.buttonp{
  background-color: #FFFFFF;
}
.button.gray {
  background-color: #555;
}
		.button {
  position: relative;
  display: inline-block;
  padding: 0.618rem 1.618rem;
  cursor: pointer;
  color: #FFF;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  background: #434343 none repeat scroll 0% 0%;
  border: 1px solid #242424;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.5) inset,
    0 1.25rem 0 rgba(255, 255, 255, 0.08) inset,
    0 -1.25rem 1.25rem rgba(0, 0, 0, 0.3) inset,
    0 1.25rem 1.25rem rgba(255, 255, 255, 0.1) inset;

  transition: all 0.2s linear 0s;

  text-align: center;
  text-decoration: none;
  margin: 0.618rem;
}
		.button:hover,
.button:focus,.button1:focus,.button2:focus {
  text-decoration: none;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.25) inset,
    0 20px 0 rgba(255, 255, 255, 0.03) inset,
    0 -20px 20px rgba(0, 0, 0, 0.15) inset,
    0 20px 20px rgba(255, 255, 255, 0.05) inset;
}
.button:active,.button1:active,.button2:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0) inset,
    0 0 5px rgba(0, 0, 0, 0.5) inset,
    0 20px 0 rgba(255, 255, 255, 0.03) inset,
    0 -20px 20px rgba(0, 0, 0, 0.15) inset,
    0 20px 20px rgba(255, 255, 255, 0.05) inset;
}
.button::before,.button1::before,.button2::before  {
  content: "";
  display: block;
  position: absolute;
  background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
  background:-webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0)));
  background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
  background:linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
  padding: x 12px;
  top: 0;
  left: 15%;
  height: 1px;
  width: 40%;
  box-shadow: 0 1px 5px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out 0s;
}
.button:active::before,.button1:active::before,.button2:active::before {
  opacity: 0;
}
.button:hover::before,.button1:hover::before,.button2:hover::before {
  left: 45%;
}
.sbutton{
			width: 80px;
			height: 35px;
	border-radius: 5px;
			background: #1A3365;
			opacity: 0.9;
			color: #B7B7B7
		}
		.sbutton:hover{
			opacity: 1;
		}

.ee:hover{
	cursor: pointer;
	background: #939090;
}

.button3 {
  position: relative;
  padding: 0.618rem 1.618rem;
  color: #FAF;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  background: #000 none repeat scroll 0% 0%;
  border: 1px solid #242424;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.5) inset,
    0 1.25rem 0 rgba(255, 255, 255, 0.08) inset,
    0 -1.25rem 1.25rem rgba(0, 0, 0, 0.3) inset,
    0 1.25rem 1.25rem rgba(255, 255, 255, 0.1) inset;
  transition: all 0.2s linear 0s;
  text-align: center;
  text-decoration: none;
  
}
.active:after {
  content: "\2212";
}
.button2{
	position: relative;
  padding: 0.618rem 1.618rem;
  color: #FFF;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  background: #111 none repeat scroll 0% 0%;
  border: 1px solid #242424;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.5) inset,
    0 1.25rem 0 rgba(255, 255, 255, 0.08) inset,
    0 -1.25rem 1.25rem rgba(0, 0, 0, 0.3) inset,
    0 1.25rem 1.25rem rgba(255, 255, 255, 0.1) inset;
  transition: all 0.2s linear 0s;
  text-align: center;
  text-decoration: none;
	
}
		.button1 {
  position: relative;
  padding: 0.618rem 1.618rem;
  color: #FFF;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  background: #666 none repeat scroll 0% 0%;
  border: 1px solid #242424;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 rgba(0, 0, 0, 0.5) inset,
    0 1.25rem 0 rgba(255, 255, 255, 0.08) inset,
    0 -1.25rem 1.25rem rgba(0, 0, 0, 0.3) inset,
    0 1.25rem 1.25rem rgba(255, 255, 255, 0.1) inset;
  transition: all 0.2s linear 0s;
  text-align: center;
  text-decoration: none;
  
}

.textmain{
	padding: 5%;
	font-size: 25px;
}