﻿/* DEFAULTS
----------------------------------------------------------*/

body {
    font-size: .75em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;
    position:relative;
}
.pageLoader {
    display:none;
    position:fixed;
    height:100vh;
    width:100vw;
    left:0px;
    top:0px;
    background-color:rgba(255,255,255,0.5);
}
.pageLoader > img{
    width:100px;
    position:absolute;
    left:50%;
    margin-left:-50px;
    top:50%;
    margin-top:-50px;
    -webkit-animation: myRoutation 1s infinite; /* Safari 4.0 - 8.0 */
    animation: myRoutation 1s infinite;
}
.pageLoader.show{
    display:block;
}

p {
    margin-bottom: 10px;
    line-height: 1.6em;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

h1 {
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

h2 {
    font-size: 1.5em;
    font-weight: 600;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2 {
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page {
    width: 98%;
    overflow: auto;
    background-color: #fff;
    margin: 10px auto 0px auto;
}

.main {
    border: 1px solid #e5e5e5 !important;
    padding: 15px 7px 2px 7px;
    min-height: 420px;
}

.header {
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #FFFFFF;
    width: 100%;

}

    .header h1 {
        font-weight: 700;
        margin: 0px;
        padding: 0px 0px 0px 20px;
        color: #f9f9f9;
        border: none;
        line-height: 2em;
        font-size: 2em;
    }

.leftCol {
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer {
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 12px auto;
    text-align: center;
    line-height: normal;
}


/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset {
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

    fieldset p {
        margin: 2px 12px 10px 10px;
    }

    fieldset.login label, fieldset.register label, fieldset.changePassword label {
        display: block;
    }

    fieldset label.inline {
        display: inline;
    }

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
    width: 135px;
}

input.textEntry {
    width: 320px;
    border: 1px solid #ccc;
}

input.passwordEntry {
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo {
    width: 280px;
}

/* MISC  
----------------------------------------------------------*/

.clear {
    clear: both;
}

.title {
    display: block;
    float: left;
    text-align: left;
    width: auto;
    margin-bottom:5px;
    margin-left: 20px;
}

.loginDisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: #e5e5e5;
}

    .loginDisplay a:link {
        color: #e44040;
    }

    .loginDisplay a:visited {
        color: #003233;
    }

    .loginDisplay a:hover {
        color: #fff;
    }

.failureNotification {
    font-size: 1.2em;
    color: Red;
}

.bold {
    font-weight: bold;
}

.submitButton {
    text-align: right;
    padding-right: 10px;
}

@font-face {
    font-family: vazir;
    src: url('../fonts/vazir/Vazir-FD.eot');
    src: url('../fonts/vazir/Vazir-FD.eot?#iefix') format('FontName-opentype'), url('../fonts/vazir/Vazir-FD.woff') format('woff'), url('../fonts/vazir/Vazir-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.makePersian {
    font-family: vazir !important;
}

    .makePersian * {
        font-family: vazir !important;
    }

.holderErrors {
    color: #721c24 !important;
    position: relative !important;
    padding: .75rem 1.25rem !important;
    margin-bottom: 1rem !important;
    /*background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    position: relative !important;
    padding: .75rem 1.25rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid transparent;
    border-radius: .25rem !important;*/
}

    .holderErrors strong {
        color: #721c24 !important;
        background-color: #f8d7da !important;
        padding: .75rem .25rem .75rem 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    .holderErrors span {
        color: #721c24 !important;
        background-color: #f8d7da !important;
        padding: .75rem 1.25rem .75rem 0rem !important;
        margin-bottom: 1rem !important;
    }

.noti {
    display: none;
    -webkit-animation: myOpacity 1s infinite; /* Safari 4.0 - 8.0 */
    animation: myOpacity 1s infinite;
}

.notificationCount {
    display: inline-block;
    text-decoration: none;
    color: white !important;
    background-color: red;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    width: 20px;
    height: 20px;
    font-size: 8pt;
    line-height: 19px;
}

    .notificationCount:hover {
        color: white !important;
        cursor: pointer;
        opacity: 0.5;
    }
/* Safari 4.0 - 8.0 */
@-webkit-keyframes myOpacity {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.5;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Standard syntax */
@keyframes myOpacity {
    0% {
        opacity: 1;
    }

    25% {
        opacity: 0.5;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.viewNotification {
    padding: 10px;
}

.makeLookDisabled {
    border: 1px solid #ccc;
    background-color: #e5e5e5;
    color: #696969;
}

.makeInputLineHeightSamePer > input {
    line-height: 21px;
}

#MainContent_GridView_Lines td:last-child {
    width: auto !important;
}

.myTable {
    width: 100%;
}

    .myTable > thead > tr > td {
        background-color: #DDDDDD;
        border-bottom: 1px solid black !important;
    }

    .myTable > thead > tr > td, .myTable > tbody > tr > td {
        border-left: none;
        border-top: none;
    }

    .myTable tr:last-child > td {
        border-bottom: none;
    }

    .myTable tr > td:last-child {
        border-right: none;
    }

    .myTable td {
        text-align: center;
    }

    .myTable tfoot td {
        border-left: none;
    }

.boxGropu {
    border: 1px solid silver;
    padding: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 100px;
}

    .boxGropu > div {
        position: absolute;
        left: 15px;
        padding-right: 10px;
        padding-left: 10px;
        top: -10px;
        background-color: white;
        font-weight: bold;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

.makeTTable {
    width: 100%;
    display: block;
}

@media (max-width: 9999px) {
    .makeTTable > div {
        display: inline-block;
        width: 24%;
        margin-bottom: 10px;
    }
}
@media  (max-width: 1210px) {
    .makeTTable > div {
        display: inline-block;
        width: 33%;
        margin-bottom: 10px;
    }
}
@media  (max-width: 942px) {
    .makeTTable > div {
        display: inline-block;
        width: 49%;
        margin-bottom: 10px;
    }
}
@media  (max-width: 650px) {
    .makeTTable > div {
        display: inline-block;
        width: 99%;
        margin-bottom: 10px;
    }
}
.holderExpandButton{
    width:16px;
}
.expandButton{
    display:inline-block;
    width:16px;
    height:16px;
    background-image:url(/Images/expand.png);
    background-repeat:no-repeat;
    background-size:12px 12px;
    background-position:center;
    cursor:pointer;
}
.mkExpaned{
    background-image:url(/Images/unExpand.png);
}
.rowLoader {
    display:inline-block;
    width:64px;
    -webkit-animation: myRoutation 1s infinite; /* Safari 4.0 - 8.0 */
    animation: myRoutation 1s infinite;
}
@keyframes myRoutation {
    0% {
         -ms-transform: rotate(0deg); /* IE 9 */
          -webkit-transform: rotate(0deg); /* Safari 3-8 */
          transform: rotate(0deg);
    }

    25% {
        -ms-transform: rotate(90deg); /* IE 9 */
          -webkit-transform: rotate(90deg); /* Safari 3-8 */
          transform: rotate(90deg);
    }

    50% {
        -ms-transform: rotate(180deg); /* IE 9 */
          -webkit-transform: rotate(180deg); /* Safari 3-8 */
          transform: rotate(180deg);
    }

    75% {
        -ms-transform: rotate(270deg); /* IE 9 */
          -webkit-transform: rotate(270deg); /* Safari 3-8 */
          transform: rotate(270deg);
    }

    100% {
        -ms-transform: rotate(360deg); /* IE 9 */
          -webkit-transform: rotate(360deg); /* Safari 3-8 */
          transform: rotate(360deg);
    }
}
.tableDetiles {
    width:100%;
    padding:0px;
    margin:0px;
    border:1px solid #FFFFCC !important;
    background:#FFFFCC !important
}
.tableDetiles > tbody tr td {
    border-left:1px solid #ccc !important;
    border-top:1px solid #FFFFCC !important;
    border-bottom:1px solid #ccc !important;
    text-align:center;
}
.tableDetiles > tbody > tr:first-child td {
    border-top:none;
}
.tableDetiles > tbody tr td:first-child {
    border-left:none;
}
.tableDetiles > tbody tr:first-child td{
    background-color:#ccc;
    color:#444;
}

.tableDetiles tr:hover{
    height:25px !important;
    border:1px solid #FFFFCC !important;
}

.textAlignCenter{
    text-align:center;
}
#MainContent_txtFromDate\$Frame > div:nth-child(2), #MainContent_txtToDate\$Frame > div:nth-child(2){
    z-index:1 !important;
}
.makeRowSelected{
    background-color:#FFFF99 !important;
}
.makeLookLabeleDisableTextArea textarea[disabled]{
    border:none;
    background-color:white;
    color:black;
}
.sameSizeForHeader > th{
    width:1px;
}
.buttonMtoTypeHolder > input{
    display:block;
    width:200px !important;
    margin-top:3px;
    margin-bottom:3px;
}
.holderActionButton > button{
    margin-top:2px;
    margin-bottom:2px;
}
.SectionTextBox{
    display:block;
    margin-top:3px;
}
.dropdownSection{
    display:block;
}
