﻿
@font-face {
    font-family: 'sahel-fd';
    src: url('../fonts/sahel/farsi-digits/sahel-fd.eot') format('embedded-opentype');
    src: url('../fonts/sahel/farsi-digits/sahel-fd.ttf') format('truetype');
    src: url('../fonts/sahel/farsi-digits/sahel-fd.woff') format('woff');
    src: url('../fonts/sahel/farsi-digits/sahel-fd.woff2') format('woff2');
}

body {
    padding-top: 5px;
    padding-bottom: 20px;
    font-family: sahel-fd !important;
}


a:hover {
    cursor: pointer;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}


.body-content .mobile {
    padding-left: 0px;
    padding-right: 0px;
}




/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}


.syBgGadget {
    background-color: rgba(255, 255, 255, 0.5);
}

.scrollHeight1 {
    height: 150px;
}
.scrollHeight2 {
    height: 200px;
}

.scrollHeight3 {
    height: 250px;
}

.scrollHeight4 {
    height: 300px;
}

.scrollHeight5 {
    height: 400px;
}



/* for DeskTop Gadget */
.scrollGadget {
    /*height: auto;*/

    overflow-y: auto;
    overflow-x: hidden;
}

    /* width */
    .scrollGadget::-webkit-scrollbar {
        width: 12px;
    }

    /* Track */
    .scrollGadget::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px grey;
        border-radius: 10px;
    }

    /* Handle */
    .scrollGadget::-webkit-scrollbar-thumb {
        background-color: gray;
        border-radius: 10px;
    }

        /* Handle on hover */
.scrollGadget::-webkit-scrollbar-thumb:hover 
{
            background: #006fe7;
}

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}


.topRounded {
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}
/*navbar*/

.sidenav {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    background-color: rgba(110, 110, 110, 0.90);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 10px;
    right: 0;
    color: black;
}

    .sidenav a, .dropdown-btn {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 15px;
        color: #d1cdcd;
        display: block;
        transition: 0.3s;
        border: none;
        background: none;
        width: 100%;
        cursor: pointer;
        outline: none;
    }

        .sidenav a:hover {
            color: #fcfc83;
        }

sidenav .dropdown-btn:hover {
    color: #fcfc83;
}

.sidenav .closebtn {
    font-size: 30px;
    color: aliceblue;
}

.dropdown-container {
    display: none;
    background-color: rgba(1, 125, 125, 0.85);
    padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
    float: right;
    padding-right: 8px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 1px;
    }

        .sidenav a {
            font-size: 13px;
        }
}

/*متن طولانی که به سه نقطه ختم می کنیم*/
.ContinueWithThreeDot {
    display: block;
    width: 300px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-header {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}
.card {
    border-radius: 10px !important;
}

.leftToRight{
    direction:ltr;
}
