/*  custom font */
@import url(https://fonts.googleapis.com/css?family=Montserrat);
@font-face {
	font-family: IRANYekanXFaNum;
	font-style: normal;
	font-weight: normal;
	src: url('woff/IRANYekanXFaNum-Regular.woff') format('woff'),   
	url('woff2/IRANYekanXFaNum-Regular.woff2') format('woff2');	
}
/* basic reset */
*{
  padding: 0;
  margin: 0;
}

html{
 height: 100%;
  /* image only BG fallback */
 /* background: url("img/gs.png"); */
 /* background = gradiant + image pattern combo */
 background : #ccc;
 /* linear-gradient(rgba(192, 168, 0, 0.2) , rgba(155, 89, 182, 0.2)),
 url("img/gs.png"); */
}

body{
  font-family: tahoma, arial, verdana;
}
#msform,
#result {
  direction: rtl;
  width: 400px;
  margin: 50px auto;
  /* text-align: center; */
  position: relative;
}
#result {
  width: 800px;
}
#msform fieldset,
#result fieldset {
  background: white;
  border: 0 none;
  border-radius: 3px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 20px 30px;

  box-sizing: border-box;
  width: 80%;
  margin: 0 10%;
  /* stacking fieldsets above each other */
  position: absolute;
}
#result .result{
  font-family: IRANYekanXFaNum;
  font-weight: normal;
  font-size: 14px;
  line-height: 28px;
  text-align: justify;
}
/* hide all except first */
#msform fieldset:not(:first-of-type){
  display: none;
}
/* input */
#msform input, #msform textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  font-size: 13px;
  color: #2c3e50;
}
/* button */
#msform .action-button {
  width: 100px;
  background: #27ae60;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 1px;
  margin: 10px 5px;
}

#msform #submit {
  width: 100%;
  background: #27ae60;
  font-family: IRANYekanXFaNum;
  font-weight: normal;
  color: white;
  border: 0 none;
  border-radius: 1px;
  margin: 10px 5px;
  cursor: pointer;
}

#msform .action-button:hover, #msform .action-button:focus{
  box-shadow: 0 0 0 2px white, 0 0 0 3px #27ae60;
}
#msform #counter{
  font-family: IRANYekanXFaNum;
}
#msform ul{
  list-style-type: none;
}
#msform .question{
  margin-bottom: 40px;
  font-family: IRANYekanXFaNum;
  font-weight: normal;
  font-size: 14px;
  height: 150px;
  line-height: 42px;
  text-align: center;
}
#result .point{
  margin-bottom: 40px;
  font-family: IRANYekanXFaNum;
  font-weight: normal;
  font-size: 28px;
  text-align: center; 
}
#msform #counter,
#result #counter{
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: IRANYekanXFaNum;
  margin-bottom: 50px;
  /* width: 150px;
  height: 150px;
  border: black solid 1px;
  border-radius: 50%; */
}
#msform #counter span,
#result #counter span{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  font-size: 4rem;
  width: 150px;
  height: 150px;
  border: black solid 1px;
  border-radius: 50%;
}
#result #counter span{
    font-size: 7rem;
    width: 250px;
    height: 250px; 
}
/* heading */
.fs-title {
  font-size: 15px;
  text-transform: uppercase;
  color: #2c3e50;
  margin-bottom: 15px;
}

.fs-subtitle {
  font-weight: normal;
  font-size: 11px;
  color: #666;
  margin-bottom: 20px;
}

/* progressbar */

#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  /* CSS counter to number the steps */
  counter-reset: step;
}

#progressbar li {
  list-style-type: none;
  color: white;
  text-transform: uppercase;
  font-size: 9px;
  width: 33.33%;
  float: left;
  position: relative;
}

#progressbar li::before {
  content: counter(step);
  counter-increment: step;
  width: 20px;
  line-height: 20px;
  display: block;
  font-size: 10px;
  color: #333;
  background: white;
  border-radius: 3px;
  margin: 0 auto 5px auto;
}

/* progressbar connector */

#progressbar li::after {
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  position: absolute;
  left: -50%;
  top: 9px;
  z-index: -1; /* put it behind the numbers */
}

#progressbar li:first-child::after{
  /* connector not needed before the first step */
  content: none;
}
/* marking activ/completed steps green */
/* the number of steps and connector before it = green */
#progressbar li.active::after, #progressbar li.active::before {
  background: #27ae60;
  color: white;
}
.container span{
  font-family: IRANYekanXFaNum;
  font-size: 12px;
  font-weight: normal;
}
/* Custom Radio Button CSS */
/* The container */
.container {
    display: block;
    position: relative;
    padding-right: 35px;
    margin-bottom: 28px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: -3px;
    right: 0;
    height: 25px;
    width: 25px;
    background-color: #ccc;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #eee;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
    /* background-color: #2196F3; */
    background-color: #27ae60;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}
