/* IRANSansX-Bold */
@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Bold.woff2') format('woff2'),
       url('fonts/IRANSansX-Bold.woff') format('woff'),
       url('fonts/IRANSansX-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

/* IRANSansX-Regular */
@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Regular.woff2') format('woff2'),
       url('fonts/IRANSansX-Regular.woff') format('woff'),
       url('fonts/IRANSansX-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* IRANSansX-Thin */
@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Thin.woff2') format('woff2'),
       url('fonts/IRANSansX-Thin.woff') format('woff'),
       url('fonts/IRANSansX-Thin.ttf') format('truetype'),
       url('fonts/IRANSansX-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}


body{background-color:#F6F6F7;font-size:12px;direction: rtl;font-family: IRANSansX;}

main{
  margin-top: 50px;
}
.center {
  margin: auto;
  width: 600px;
  background: #FFFFFF;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.15);
  border-radius: 15px;
}

.top{
  display: block;
  height: 130px;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid #EAECF4;
  background: #FAFAFC;
}

.top .right{
  display: inline-block;
}

.top .right .into-right{
  display: inline-block;
  border-radius: 40px;
  margin-top: 28px;
  margin-right: 21px;
  vertical-align: middle;
}

.top .right .into-right .img-show{
  margin: auto;
}

.top .right .into-right .img-class{
  height: 80px;
  width: 80px;
  border-radius: 40px;
}




.top .right .into-left{
  display: inline-block;
  padding-right: 15px;
  vertical-align: middle;
  margin-top: 20px;
}

.top .right .into-left .title-text{

  font-family: IRANSansX;
  font-size: 18px;
  color: #111112;
  text-align: right;
}

.top .right .into-left .site{

  font-family: IRANSansX;
  font-size: 13px;
  color: #8D9094;
  text-align: right;
  margin-bottom: 11px;
}

.top .right .into-left .message{
  background: #F1F4FC;
  border: 1px solid #3B7DFF;
  border-radius: 11.5px;
  padding: 3px 17px 3px 17px;
  width: 65px;
}

.top .right .into-left .message a{
  font-family: IRANSansX;
  font-size: 11px;
  color: #3B7DFF;
  text-align: right;
  text-decoration: none;
}

/**************/
.top .left{
  display: inline-block;
  margin: auto;
  width: 140px;
}

.top .left button{
  display: inline-block;
  background: none;
  border:none;
  outline: none;
}

.top .left span{
  display: inline-block;
  margin: auto;
}

.top .left .details{
  font-family: IRANSansX;
  font-size: 11px;
  color: #717477;
  text-align: center;
  padding-left: 8px;
  vertical-align: middle;
}

.top .left .drop{
  padding-left: 16px;
  vertical-align: middle;
}

/*************************/
.content{
  margin: auto;
  width: 600px;
  background: #FFFFFF;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.05);
  border-radius: 15px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.15);
}

.content .details{
  text-align: center;
  border-bottom: 1px solid #EAECF4;
}

.content .details .title{
  font-family: IRANSansX;
  font-size: 13px;
  color: #000000;
  text-align: right;
  padding: 10px 25px 10px 0px;
  background: #e0e0e0;
}

.content .details .title .product{
  display: inline-block;
  width: 320px;
}

.content .details .title .count{
  display: inline-block;
  width: 100px;
}

.content .details .title .price{
  display: inline-block;
  width: 135px;
}


.content .details .description{
  font-family: IRANSansX;
  font-size: 13px;
  color: #717477;
  text-align: right;
  padding: 5px 25px 5px 0px;
  border: 1px #ededed solid;
}

.content .details .description:nth-of-type(odd) {
  /*background-color:#eff5e9;*/
}

.content .details .description:nth-of-type(even) {
  /*background-color:#f5e9e9;*/
}

.content .details .paddingBottom{
  padding-bottom: 15px;
}

.content .details .description .selectIt{
  display: inline-block;
  width: 20px;
}

.content .details .description .product{
  display: inline-block;
  width: 290px;
}

.content .details .description .count{
  display: inline-block;
  width: 110px;
}

.content .details .description .count input[type=text]{
  border: 1px silver solid;
  border-radius: 10px;
  font-family: IRANSansX;
  font-size: 12px;
  text-align: center;
  width: 40px;
  outline: none;
}

.content .details .description .price{
  display: inline-block;
  width: 115px;
}


.content .details .fadein, .content .details .fadeout {
  padding-top: 0px;
  padding-bottom: 0px;
  max-height: 0px;
  overflow-y: hidden;
  -webkit-transition: max-height 0.5s ease-in-out;
  -moz-transition: max-height 0.5s ease-in-out;
  -o-transition: max-height 0.5s ease-in-out;
  transition: max-height 0.5s ease-in-out;
}
.content .details .fadein {
  max-height: 300px;
}

.content .pay{
  text-align: center;
  padding-top: 27px;
}

.content .pay .text{
  font-family: IRANSansX;
  font-size: 16px;
  color: #111112;
}

.content .pay .price{
  font-family: IRANSansX;
  font-size: 24px;
  color: #FB6D3A;
  padding-right: 15px;
}

.content .pay .price input{
  border: 1px silver solid;
  border-radius: 10px;
  font-family: IRANSansX;
  font-size: 14px;
  text-align: center;
  width: 150px;
  outline: none;
}

.content .pay .price-text{
  font-family: IRANSansX;
  font-size: 16px;
  color: #FB6D3A;
}



.content .inputs{
  padding: 15px 21px 15px 21px;
}


.content .inputs .first-head span{
  display: inline-block;
}

.content .inputs label {
  display: block;
  font-family: IRANSansX;
  font-size: 14px;
  color: #A6A8AC;
  text-align: right;
  margin-top: 10px;
}

.content .inputs input,textarea {
  display: block;
  background: #FFFFFF;
  border: 1px solid #D5D8DC;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.06);
  border-radius: 8px;
  font-family: IRANSansX;
  font-size: 16px;
  color: #111112;
  text-align: right;
  padding: 12px 20px 12px 12px;
  outline: none;
  width: 525px;
}

.content .inputs input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {
  font-family: IRANSansX;
  font-size: 16px;
  color: #A6A8AC;
  text-align: right;
}

.content .inputs input::-moz-placeholder,textarea::-moz-placeholder {
  font-family: IRANSansX;
  font-size: 16px;
  color: #A6A8AC;
  text-align: right;
}


.content .inputs .first-head input{
  width: 238px;
}

.content .inputs .first-head .family{
  margin-right: 10px;
}


.content .cancel-pay span{
  display: inline-block;
  text-align: center;
  width: 100%;
  margin: 0px 0px 20px 0px;
}

.content .cancel-pay .cancel input{
  background: #FFFFFF;
  border: 1px solid #D5D8DC;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.1);
  border-radius: 6px;
  font-family: IRANSansX;
  font-size: 18px;
  color: #111112;
  text-align: center;
  width: 180px;
  padding: 10px 10px 10px 10px;
  outline: none;
}

.content .cancel-pay .pay input{
  background: #3B7DFF;
  border: 1px solid #2260D8;
  box-shadow: 0 1px 4px 0 rgba(59,125,255,0.56);
  border-radius: 6px;
  font-family: IRANSansX;
  font-size: 18px;
  color: #FFFFFF;
  text-align: center;
  width: 355px;
  padding: 10px 10px 10px 10px;
  outline: none;
}


/*****************************/
.footer-center{
  margin: auto;
  width: 460px;
  margin-top: 20px;
}

.footer-center .brand{
  font-family: IRANSansX;
  font-size: 12px;
  color: #111112;
  text-align: center;
  background: url('logo.png') no-repeat;
  background-position: 80% 50%;
  padding-right: 60px;
}


.footer-center .links{
  font-family: IRANSansX;
  font-size: 13px;
  color: #8D9094;
  margin-top: 50px;
  text-align: center;
}

.footer-center .links a{
  color: #8D9094;
  text-decoration: none;
}

.footer-center .links .padding{
  padding-right: 30px;
}

.footer-center .copyright{
  font-family: IRANSansX;
  font-size: 12px;
  color: #8D9094;
  text-align: center;
  margin-top: 10px;
}

/**********************/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  box-shadow: 0 14px 27px 0 rgba(0,0,0,0.07);
  border-radius: 10px;
  font-family: IRANSansX;
  font-size: 13px;
  color: #111112;
  letter-spacing: 0;
  text-align: justify;
  line-height: 29px;
}

/* The Close Button */
.modal-content .close {
  display: inline-block;
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-content .close:hover,
.modal-content .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-content .title{
  font-family: IRANSansX;
  font-size: 14px;
  color: #20BF38;
  letter-spacing: 0;
  text-align: right;
  padding-right: 10px;
}


/*******************************/
@media only screen and (max-width: 700px) {
  .center {
    margin: auto;
    margin-top: 10px;
    width: 320px;
  }

  .top{
    height: auto;
  }

  .top .right{
    display: block;
    width: 280px;
  }

  .top .left{
    display: block;
    padding-top: 10px;
    width: 100px;
  }

  .top .right .into-left .title-text{
    display: inline;
    font-family: IRANSansX;
    font-size: 16px;
    color: #111112;
    text-align: right;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }


  .content{
    margin: auto;
    width: 320px;
  }

  .content .details .title {
    display: none;
  }

  .content .details .description {
    text-align: center;
    justify-content: center;
    margin-top: 20px;
  }

  .content .details .description .selectIt{
    display: inline;
    width: 10px;
  }
  .content .details .description .product{
    display: inline;
    width: 100%;
  }

  .content .details .description .count{
    display: block;
    width: 100%;
  }

  .content .details .description .price{
    display: block;
    width: 100%;
  }

  .content .inputs input,textarea {
    width: 245px;
  }

  .content .inputs .first-head input{
    width: 98px;
  }

  .content .cancel-pay .cancel input{
    width: 90px;
  }

  .content .cancel-pay .pay input{
    width: 165px;
  }

  .footer-center{
    margin: auto;
    width: 360px;
    margin-top: 20px;
  }

  .footer-center .brand{
    text-align: center;
    background: url('../images/logo.png') no-repeat;
    background-position: 85% 50%;
    padding-right: 60px;
  }
}

.none{
  display:none;
}


.alertCenter {
  margin: auto;
  width: 600px;
  background: #FFFFFF;
  box-shadow: 0 3px 12px 0 rgba(0,0,0,0.15);
  border-radius: 15px;
}

.alert {
  direction: rtl;
  padding: 20px;
  background-color: #F66358;
  color: white;
  font-family: IRANSansX;
  font-size: 14px;
  /*display: none;*/
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: left;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}



.blurDiv {
  -webkit-filter: blur(2px);
  -moz-filter: blur(2px);
  -o-filter: blur(2px);
  -ms-filter: blur(2px);
  filter: blur(2px);
  /*background-color: #fff;*/
  pointer-events: none;
}


@media only screen and (max-width: 700px) {
  .alertCenter {
    margin: auto;
    width: 320px;
  }
}
