
@font-face {
    font-family: 'yekan';
    src: url('../fonts/Yekan-modified.eot');
    src: url('../fonts/Yekan-modified.eot#iefix') format('embedded-opentype'),
         url('../fonts/Yekan-modified.woff') format('woff'),
         url('../fonts/Yekan-modified.ttf') format('truetype'),
         url('../fonts/Yekan-modified.svg#CartoGothicStdBook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: iran-sans-number;
    src: url('../fonts/IRANSansWeb(FaNum).woff2');
}

@font-face {
    font-family: iran-yekan;
    src: url('../fonts/IranYekan.woff');
}

*{
    text-align: right;
}

body {
    /*font-family: iran-yekan, iran-sans-number, yekan,'Open Sans', sans-serif;*/
    font-family: iran-sans-number, yekan,'Open Sans', sans-serif;
    direction: rtl;
    background-color: #f1f2f7;
    font-size: 14px;
}

/*header and sidebar*/
.sidebar {
    margin-top: 60px;
    height: 100%;
    width: 0px;
    /*width: 180px;*/
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #2a3542;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 30px;
}

/*@media only screen and (max-width: 768px) {*/
	/*.sidebar{*/
        /*width: 0px;*/
	/*}*/
/*}*/

.sidebar a {
    padding: 8px;
    text-decoration: none;
    font-size: 14px;
    /*color: #8b9199;*/
    color: white;
    display: block;
    transition: 0.3s;
    background: #35404d;
    margin-bottom: 5px;
}

.sidebar-icon{
    color: #FF6C60;
    margin-left: 5px;
}

.header-name{
    border: 1px solid #f0f0f8;
    font-size: 14px;
    margin-right: 30px;
    padding: 5px 15px 5px 15px;
    border-radius: 5px;
}

.logo-text{
    font-weight: bold;
    color: #818284;
}

.profile-link{
    color: black;
}

/*.sidebar a:hover {*/
    /*color: #f1f1f1;*/
/*}*/

header{
    /*position: fixed;*/
    /*top: 0;*/
    /*right: 0;*/
    /*left: 0;*/
    /*z-index: 1002;*/
    background-color: white;
    min-height: 60px;
    border-bottom: 1px solid #f1f2f7;
    font-size: 21px;
}

.header{
    padding: 12px;
}

.openbtn {
    font-size: 25px;
    cursor: pointer;
    background-color: white;
    color: #666666;
    border: none;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}

/*end header and sidebar*/

.section{
    background-color: white;
    margin: 10px 0 30px 0;
    overflow-x: auto;
}

.panel-heading{
    padding: 10px 15px;
    font-weight: bold;
    font-size: 15px;
}

#main {
    padding: 5px;
    /*margin-right: 185px;*/
    /*margin-right: 10px;*/
    /*transition: margin-right .5s;*/
}

th {
    text-align: right;
}

.form-group{
    font-size: 16px;
}

.form-select{
    height: 42px;
}

.form-error{
    display: block;
    font-size: 14px;
    padding: 10px;
    margin-top: 5px;
}

.form-error:empty{
    display: none;
}

.profile-form-error{
    margin-right: 5px;
    margin-left: 15px;
}

.farm-select{
    width: 150px;
    height: 42px;
    color: black;
    display: inline;
    margin-left: 10px;
}

/*file input*/
.files input {
    outline: 2px dashed #92b0b3;
    outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 60px 32% 85px 5%;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}
.files input:focus{     outline: 2px dashed #92b0b3;  outline-offset: -10px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear; border:1px solid #92b0b3;
 }
.files{ position:relative}
.files:after {  pointer-events: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 30px;
    right: 0;
    height: 36px;
    content: "";
    background-image: url(../img/file_uploader.png);
    display: block;
    margin: 0 auto;
    background-size: 100%;
    background-repeat: no-repeat;
}
.files:before {
    position: absolute;
    bottom: 0;
    left: 0;  pointer-events: none;
    width: 100%;
    right: 0;
    height: 57px;
    content: " or drag it here. ";
    display: block;
    margin: 0 auto;
    color: #2ea591;
    font-weight: 500;
    text-transform: capitalize;
    text-align: center;
}
/*enf file input*/

.plan-title{
    /*background: #41cac0;*/
    /*background: #28a745;*/
    background: #7579e7;
    color: #fff;
    text-align: center;
    padding: 40px 10%;
    border-radius: 8px 8px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    font-size: 18px;
    font-weight: 300;
}

.plan-profile-row{
    float: right;
    direction: rtl;
    margin-bottom: 10px;
    padding: 10px 15px 0 25px;
    line-height: 30px;
}

.bold{
    font-weight: bold;
}

.login-form{
    width: 300px;
    margin: 0;
    position: absolute;
    top: 30%;
    left: 50%;
    -ms-transform: translate(-50%, -30%);
    transform: translate(-50%, -30%);
}

.modal-header{
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

.icon-ok-sign{
    color: green;
}

.icon-remove-sign{
    color: red;
}

.plan-status{
    padding: 5px;
    font-weight: bold;
}

.chart-date{
    /*font-size: 12px;*/
    /*font-weight: bold;*/
    min-width: 130px;
    max-width: 150px !important;
}

.subdeadline-title{
    min-width: 150px;
}

.add-sub-status-button{
    /*color: #2e6da4;*/
    font-size: small;
    /*padding-right: 5px;*/
}

.download-link{
    font-size: 11px;
}

.delta-days{
    direction: ltr;
    text-align: center;
    font-size: large;
}

.table td{
    vertical-align: middle;
}

.sub-deadline-table{
    border-bottom: 0 !important;
    border-top: 0 !important;
    padding-bottom: 0 !important;
}

/*.sub-deadline-padding{*/
    /*padding-right: 50px !important;*/
/*}*/

.change-password-button{
    float: right;
    margin-right: 25px;
    margin-bottom: 15px
}

footer {
	width: 100%;
	margin-top: 20px;
}

/*.login-footer{*/
    /*position: absolute;*/
    /*left: 0;*/
    /*bottom: 0;*/
/*}*/

.comments{
	float: right;
	color: white;
	font-size: 15px;
    line-height: 35px;
	height: 30px;
	width: 130px;
	margin-right: 20px;
	background-repeat: no-repeat;
}

.comments-pan{
	width: 96%;
    margin: 20px auto auto;
	text-align: right;
	line-height: normal;
}

.comment-panel{
	border: 1px solid lightgrey;
    margin: 2% 2% 20px;
    padding: 15px;
}

.comment-name{
	font-weight: bold;
}

.answer-form{
	display: none;
	margin-top: 20px;
}

.answer-comment{
	margin-top: 20px;
	margin-right: 20px;
}

.answer-button{
    float: left;
}

/*.error-block{*/
/*	margin-top: 5px;*/
/*	color: darkred;*/
/*}*/

/*.comment-message{*/
/*	margin-bottom: 10px;*/
/*	font-weight: bold;*/
/*	color: darkred;*/
/*}*/
