﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: IRANSans, Tahoma;
    font-size: 12px;
    direction: rtl;
}

@font-face {
    font-family: 'Yekan';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/BYekan.eot') format('embedded-opentype');
    src: url('../fonts/web_Yekan.woff') format('woff');
    src: url('../fonts/BYekan.ttf') format('truetype');
}

@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansWeb.eot') format('embedded-opentype');
    src: url('../fonts/IRANSansWeb.woff') format('woff');
    src: url('../fonts/IRANSansWeb.ttf') format('truetype');
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

#wrapper{
    width: 100%;
    min-height: 100vh;
}

#redline{
    width: 99%;
    height: 4px;
    margin: 8px 5px 0 5px;
    background: url('img/liine.jpg')
}

section {
    width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section header{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

#line {
    width: 517px;
    height: 3px;
    margin: 20px auto;
    text-align: center;
    background-color: darkred;
}

article{
    width: 100%;
    min-height: 670px;
    /*border: 1px dotted gray;*/
    padding: 15px;
    margin: 30px 0 45px 0;
    border-radius: 5px;
}

article h3{
    color: #c33;
    font-size: 18px;
    font-weight: normal;
    margin-right: 5px;
}

#note {
    min-height: 500px;
}

#lblmessageadmin {
    background-color: rgba(250, 235, 215, 0.36);
    border-color: transparent;
    width: 100%;
    height: 500px;
    cursor: default;
    margin: 20px 0;
    font-family: IRANSans !important;
    line-height: 2em;
    padding: 10px;
}

#employee-table {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 60px;
}

fieldset {
    width: 100%;
    border: 1px dotted #ccc;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fffffa !important;
}

#fieldset2 .field {
    width: 100%;
}

#fieldset2 .tdlbl{
    width: 50%;
}

#fieldset2 .tdctrl {
    width: 50%;
}

.tr{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.field {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-direction: row;
    width: 400px;
    margin: 0 5px;
}

.tdlbl{
    margin-left: 5px;
    width: 25%;
    text-align: right;
}

.tdctrl{
    width: 75%;
    
}

#employee-table label{
    font-size: 13px;
}

.form-control {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    width: 275px;
    margin-top: 10px;
}

#txtaddress{
    width: 231%;
    height: 100px;
}

#agree {
    color: green;
    cursor: pointer;
    padding: 6px;
    padding-top: 10px;
    font-weight: bold;
    font-size: 14px;
}

#btnsabt {
    color: darkred;
    border-radius: 4px;
    font-family: Yekan;
    font-size: 14px;
    font-weight: bold;
    float: left;
    border: none;
    width: 150px;
    height: 40px;
    cursor: pointer;
}

footer{
    width: 100%;
    text-align: center;
    background-color: #4d4d4d;
    min-height: 110px;
}

#footer-section {
    width: 1000px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
}

#footer-logo{
    margin: 20px -100px 20px 0;
    text-align: right;
}

#footer-logo img{
    width: 160px;
    height: 60px;
    background-repeat: no-repeat;
}

#footer-logo p{
    font-size: 10px;
    color: #9b9b9b;
}

#employment{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: -30px;
}

#employment a{
    font-size: 13px;
    color: #9b9b9b;
    margin: 2px 0;
}

#email{
    font-size: 14px;
    color: #9b9b9b;
    border-bottom: 1px solid #5a5a5a;
    margin-left: -115px;
}

.radio-labels{
    text-align: right !important;
}

input[type=radio], input[type=checkbox] {
    margin: 30px 5px;
}

.wideTextbox{
    width: 500px !important;
    height: 100px !important;
}

.btnSend {
    padding: 5px;
    float: left;
    background-color: green;
    color: white !important;
}

.form-control {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    width: 275px;
    margin-top: 10px;
    font-family: "yekan",tahoma !important;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #999;
}

.form-control::-webkit-input-placeholder {
    color: #999;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
}

.validation {
    font-size: 10px;
}


@media only screen and (max-width: 768px) and (max-height: 1024px) {
    
    section{
        width: 100%;
    }

    section header{
        flex-direction: column;
        justify-content: center;
    }

    #logo{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }

    nav{
        display: none !important;
    }

    #line{
        width: 90%;
    }

    article{
        text-align: center;
        border: none;
        font-size: 18px !important;
    }

    #lblmessageadmin{
        font-size: 1em;
    }

    .tr{
        flex-direction: column;
        justify-content: center;
    }

    fieldset {
        border: none;
        border-bottom: 1px solid;
    }

    #fieldset2 .tdlbl, #fieldset2 .tdctrl {
        width: 100%;
    }

    .field {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    label, input {
        font-size: 17px !important;
    }

    .tdlbl {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .tdlbl label{
        width: 100%;
    }

    .tdctrl {
        width: 100%;
    }

    #rbkaramuz, #rbravabetomumi, #rbsaat {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    #txtaddress, .wideTextbox {
        width: 100% !important;
    }

    #agree{
        font-size: 0.9em !important;
    }

    #btnsabt{
        float: none !important;
        margin-top: 15px;
    }

    #footer-section {
        width: 100%;
        flex-direction: column-reverse;
    }

    #footer-logo {
        margin: 20px;
        text-align: center;
        font-size: 1.5em;
    }

    #footer-logo img{
        display: none;
    }

    #employment{
        margin: 0;
    }

    #email{
        margin: 0;
        margin: 15px 0 10px 0;
    }
}