﻿@font-face
{
    font-family: 'iransans';
    src: url('IRANSansWeb.eot');
    src: url('IRANSansWeb.eot?#iefix') format('embedded-opentype'),
         url('IRANSansWeb.woff') format('woff'),
         url('IRANSansWeb.ttf') format('truetype'),
         url('IRANSansWeb.svg#iransans') format('svg');
}
html,body{width:100%;min-height:100%;margin:0px;padding:0px;font:14px 'iransans';overflow-x: hidden;direction: rtl;}

header{
    padding-top: 40px;
    padding-bottom: 40px;
    background: #2e7bcf url('header-bg.jpg') 0 0 repeat-x;
    border-bottom: solid 1px #275da1;
}
#logo{
    display: block;
    width: 520px;
    height: 112px;
    max-width: 100%;
    background: url('logo.png') no-repeat center center;
    background-size: 100% 100%;
}
form {
    padding: 30px 0px 25px;
    /* display: inline-block; */
    max-width: 100%;
}
.block{
    padding: 8px 5px 8px 0;
   margin: 4px 0;
   overflow: auto;
}
label{
    /* min-width: 175px; */
    display: block;
    font-size: 15px;
}
label.min {
    min-width: 75px;
    display: inline-block;
}
label.medium {
    width: 120px;
    display: inline-block;
}
textarea.d-inline-block {
    display: inline-block;
    width: 300px;
}
.mt-2 {
    margin-top: 15px;
}
label.v-align-top, input.v-align-top {
    vertical-align: top;
}
html, body {
    background-color: whitesmoke;
}
article {
    border: 1px solid #dfdfdf;
    padding: 0 0 25px !important;
    margin-bottom: 25px;
    background-color: white;
}
h4 {
    font-weight: bold;
    border-bottom: 1px solid #dfdfdf;
    padding: 8px 25px 16px;
    font-size: 21px;
    line-height: 1.8em;
    color: #555;
    margin-bottom: 25px;
}
input[type=text], input[type=number], input[type=email], select{
    
    padding: 2px 10px;
    width: 300px;
max-width: 90%;
    border: solid 1px #ccc;
}
input, select, textarea {
    background-color: whitesmoke;
}
.items {
    padding-right: 25px;
}
.items label{
    cursor: pointer;
    margin-left: 25px;
    min-width: initial;
    font-weight: normal;
    display: block;
}
.items.inline label{
    display: inline-block;
    margin-left: 25px;
    min-width: 145px;
    font-weight: bold;
    color: #444;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}
.d-block {
    display: block;
}
.block {
    padding: 15px 25px;
}
.w-auto {
    min-width: initial;
    margin-left: 25px;
}
.radio-group .w-auto {
    min-width: initial !important;
    margin-left: 25px;
}
input[type=radio] {
    margin-left: 8px !important;    
}
input[type=number] {
    width: 64px;
    margin-right: 10px;
    text-align: center;
}
/* input[name=applicator] {
    width: 420px;
} */
input[type="checkbox"]{
    vertical-align: middle;
    cursor: pointer;
    margin-right: 5px;
    margin-left: 5px; 
}
textarea{
    display: block;
    width: 600px;
    height: 120px;
    resize: none;
    padding: 10px;
    border: solid 1px #ccc;
    max-width: 100%;
}
input[type="submit"]{
    background: #327ace;
    color: white;
    border: solid 1px #327acc;
    padding: 6px 70px;
    font-size: 18px;
    display: inline-block;
}
.div-submit{
    margin-top: 0px;
    text-align: center;
}
.bold {
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.7em;
}
.leed {
margin-bottom: 35px;
}
.ltr{
    direction: ltr;
}
.message{
    padding: 9px 0px 8px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
}
.success{
    background: rgb(33, 139, 33);
    background: rgba(0,255,0,0.5);
}
.error-msg{
    background: rgba(255,0,0);
    color: white;
}
.error{
    display: none;
    color: red;
}
.brd-red {
    border: 2px solid red;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.items span{
    display: none;
}

table input[type="text"] {
    display: inline-block;
    padding: 5px 10px;
    width: 100%;
    max-width: 100%;
    border: none;
}
.lbl-table {
    text-align: center;
    color: #555;
}
table {
    width: 100%;
    margin: 14px 0;
}
table th {
    padding: 5px 15px;
}
table td, table th {
    border: 1px solid #dfdfdf;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}
.font-large {
    font-size: 18px;
    letter-spacing: .15em;
}
b {
    vertical-align: middle;
}


@media screen and (max-width: 768px) {
    .bold {
        font-size: 20px;
        line-height: 1.7em;
        margin: 0 0 25px;
    }
    h4 {
        font-size: 16px;
    }
    label {
        font-size: 12px;
    }
    input[type="submit"] {
        padding: 5px 50px;
        font-size: 16px;
    }
 .block-table {margin-left: 25px}
header {
    padding-top: 25px;
    padding-bottom: 25px;
}
}


@media screen and (max-width: 450px) {
    input[type=text], input[type=number], select{
        padding: 2px 5px;
        width: 200px;
    }
    #logo{
        height: 90px;
    }
    .items span{
        display: block;
    }
}