﻿body {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

textarea {
    resize: none;
}

input.wide-control {
    max-width: 100%;
    width: 100%;
}

input.table-form-control {
  width: auto;
}


body {
    font-family: "IRANSans";
    font-size: 12px;
    line-height: 1.4285;
    color: #333;
    background-color: #fff;
    direction: rtl;
}


.navbar-inverse {
    background-color: #cb2a2a;
    border-color: #cb2a2a;
}

.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
    color: #fff;
    background-color: transparent;
}


    .navbar-inverse .navbar-nav > li > a {
        color: #fff;
    }

.navbar-nav > li > a {padding-top:5px !important; padding-bottom:5px !important;}
.navbar {min-height:32px !important}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
    background-color: #dc4c4c;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a {
    color:  #dc4c4c;
    font-size: 12px;
    text-align:right;
}

    .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {   
    color:#fff;
    background-color:#dc4c4c;
    }

.modal {
    overflow: auto !important;
}


/*popup--------------------------------------------------------------------------------------------------------*/
.actions {
    position: fixed;
    top: 10px;
    left: 20px;
    opacity: 1;
    display: block;
    z-index: 999999999999;
}

    .actions .popover-content {
        padding: 20px 20px;
        white-space: nowrap;
    }

    .actions .popup-window,
    .action-link {
        display: inline-block;
        margin-right: 5px;
        line-height: 20px;
        border-radius: 5px;
        padding: 7px;
        width: 34px;
        height: 34px;
        background-color: #2fa0e5;
        color: #fff;
        cursor: pointer;
    }

        .actions .popup-window:hover,
        .actions .popup-window:focus,
        .action-link:hover,
        .action-link:focus {
            opacity: 0.85;
        }

        .action-link:last-child,
        .actions .popup-window:last-child {
            margin-right: 0;
        }

.btn-popup.fa {
    font-size: 20px;
    cursor: pointer;
}

.actions .popover-title {
    background-color: transparent;
    border-color: transparent;
    float: right;
}

.actions .popover-content .form-group:first-child {
    margin-top: 10px;
}

.actions .popover-content .well {
    background-color: transparent;
    border-color: transparent;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}

    .actions .popover-content .well a {
        margin: 0 10px 0 0;
    }
/*popup--------------------------------------------------------------------------------------------------------*/
