﻿
html, body {
    padding: 0;
    margin: 0;
    font-family: Vazir;
}
/*---------Public---------*/
.Newbtn {
    text-decoration: none;
    background-color: rgba(0, 50, 0, 0.3);
    border-radius: 10%;
    margin: 1px;
    padding: 5px 10px;
    text-align: center;
    display: inline-block;
    font-family: Vazir;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
}

button {
    font-family: Vazir;
}

.imgCircle {
    border-radius: 50%;
}

.floatRtl {
    float: right;
}

fieldset div {
    font-size: small;
}

.div-none {
    display: none;
}

.fontXXSmall {
    font-size: xx-small;
}

/*---------navbar---------*/
.navbar {
    padding: 8px 20px 0px 0px;
    /*padding: 100px;*/
    top: 0;
    background-color: rgba(255, 255, 255, 0.68);
    position: fixed;
    width: 99%;
    text-align: right;
}

#ListTrInCrm a {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.3);
    /*border-top-right-radius: 15px;
    border-top-left-radius: 15px;*/
    border-radius: 10%;
    margin: 1px;
    /*padding: 5px 5px;*/
    text-align: center;
    width: 100px;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
}

    #ListTrInCrm a:hover {
        background-color: rgba(0,0,0, 0.74);
        cursor: pointer;
    }

.ticket {
    background-color: rgba(250, 0, 0, 0.5);
    cursor: pointer;
    border-radius: 10px;
    min-width: 150px;
    min-height: 10px;
    margin: 1px;
    padding: 1px;
    display: inline-grid;
    /*text-decoration: none;*/
    /*background-color: rgba(0, 0, 0, 0.3);*/
    /*border-radius: 10%;
    margin: 1px;
    padding: 10px 10px;*/
    /*text-align: center;*/
    /*width: 200px;*/
    /*display: inline-block;*/
    /*font-size: 12px;
    font-weight: 400;
    color: #fff;*/
}

    .ticket:hover {
        background-color: rgba(0,0,0, 0.74);
    }

.navbar a {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.3);
    /*border-top-right-radius: 15px;
    border-top-left-radius: 15px;*/
    border-radius: 10%;
    margin: 1px;
    padding: 10px 10px;
    text-align: center;
    width: 100px;
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    color: #fff;
}

    .navbar a:hover {
        background-color: rgba(0,0,0, 0.74);
    }
/*---------navbar-crm---------*/
.navbar-crm {
    padding: 8px 20px 0px 0px;
    /*padding: 100px;*/
    /*top: 0;*/
    /*background-color: rgba(255, 255, 255, 0.68);*/
    /*position: fixed;*/
    width: 99%;
    text-align: right;
}

.navbar-crm-dropdown {
    /*float: left;*/
    /*position: relative;*/
    /*display: inline-block;*/
    cursor: pointer;
    /*padding-right: 30px;*/
    /*border: 1px solid red;*/
}

.navbar-crm a:hover {
    background-color: rgba(0,0,0, 0.4);
}

.navbar-crm a {
    text-decoration: none;
    background-color: rgba(0, 50, 0, 0.3);
    /*border-top-right-radius: 15px;
    border-top-left-radius: 15px;*/
    border-radius: 10%;
    margin: 1px;
    padding: 5px 10px;
    text-align: center;
    width: 80px;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
}
/*---------footer---------*/

.footer {
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.44);
    position: fixed;
    width: 99%;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #fff;
}

/*---------menu_user_Selected---------*/
#demo p {
    background-color: rgba(0, 255, 0, 0.44);
    padding: 10px;
    display: inline-block;
    margin: 3px;
}

.userAragmentImg {
    position: initial;
    padding: 10px;
}

    .userAragmentImg:hover {
        /*display: block;
        float: left;*/
        background-color: rgba(0, 180, 0, 0.44);
    }

.dropdown_1 {
    position: relative;
    display: inline-block;
    cursor: pointer;
    /*padding-right: 30px;*/
    /*border: 1px solid red;*/
}

.dropdown_1-content {
    display: none;
    /*position: absolute;*/
    text-align: center;
    min-width: 400px;
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 2%;
    overflow: auto; /* Enable scroll if needed */
    max-height: 450px;
}

.dropdown_1:hover .dropdown_1-content {
    display: block;
    /*float: left;*/
    text-align: center;
    width: 100%;
    /*padding-right: 100px !important;*/
}

.dropdown {
    float: left;
    position: relative;
    display: inline-block;
    cursor: pointer;
    /*padding-right: 30px;*/
    /*border: 1px solid red;*/
}

.dropdown-content {
    display: none;
    position: absolute;
    text-align: left;
    min-width: 400px;
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 2%;
    overflow: auto; /* Enable scroll if needed */
    max-height: 450px;
}

.dropdown:hover .dropdown-content {
    display: block;
    float: left;
    /*padding-right: 100px !important;*/
}











.desc {
    /*padding: 15px;*/
    text-align: center;
}
/*---------menu_Link_Selected---------*/
.dropdown-Link {
    display: none;
    position: absolute;
    text-align: left;
    min-width: 810px;
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 2%;
    overflow: auto; /* Enable scroll if needed */
    max-height: 450px;
}

.dropdown:hover .dropdown-Link {
    display: block;
    /*float: left;*/
}
/*---------menu_List_Tr_InCrm---------*/
.dropdown-ListTrInCrm {
    /*display: none;*/
    /*position: absolute;*/
    text-align: left;
    /*min-width: 810px;*/
    /*background-color: rgba(255, 255, 255, 0.90);*/
    border-radius: 2%;
    overflow: auto; /* Enable scroll if needed */
    max-height: 450px;
}

.dropdown:hover .dropdown-ListTrInCrm {
    display: block;
    /*float: left;*/
}
/*---------menu_Crm_Selected---------*/
.dropdown-Crm {
    display: none;
    position: absolute;
    text-align: left;
    min-width: 630px;
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 2%;
    overflow: auto; /* Enable scroll if needed */
    max-height: 450px;
}

.dropdown:hover .dropdown-Crm {
    display: block;
    float: left;
}

/*---------menu_MainMenuTR_Selected---------*/
.dropTR {
    float: right;
    position: relative;
    display: inline-block;
    cursor: pointer;
    /*padding-right: 30px;*/
    /*border: 1px solid red;*/
}

.dropTR-MainMenuTR {
    display: none;
    position: absolute;
    /*padding-top: 10px;*/
    padding: 30px;
    padding-bottom: 250px;
    /*margin-top: 1px;*/
    /*text-align: left;*/
    /*min-width: 727px;*/
    overflow: auto; /* Enable scroll if needed */
    max-height: 450px;
    width: 93%;
    background-color: rgba(255, 255, 255, 0.90);
    border-radius: 2%;
}

.dropTR:hover .dropTR-MainMenuTR {
    /*float: left;*/
    display: block;
}
/*---------menu_MainMenuTR_Selected in crm---------*/
.dropTR-crm {
    float: right;
    /*position: relative;*/
    display: inline-block;
    cursor: pointer;
    padding-right: 30px;
    padding-top: 15px;
    /*border: 1px solid red;*/
}

/*--------- Filter-Object in sub_menu---------*/
.filterDiv {
    display: none;
}

.show {
    display: inline-block;
    cursor: pointer;
    margin: 1px;
}


/* Style the buttons */
.btn {
    float: right;
    background-color: #2196F3;
    color: #ffffff;
    width: 100px;
    line-height: 50px;
    /*text-align: center;*/
    margin: 2px;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.3);
    /*border-top-right-radius: 15px;
    border-top-left-radius: 15px;*/
    border-radius: 10%;
    margin-left: 1px;
    padding: 10px 10px;
    cursor: pointer;
}

    .btn:hover {
        background-color: rgba(255, 255, 255, 0.20);
    }

    .btn.active {
        background-color: rgba(255, 255, 255, 0.20);
    }
/* Style the buttons */
.btn_Sm {
    /*float: right;*/
    background-color: #2196F3;
    color: #ffffff;
    width: 100px;
    line-height: 10px;
    text-align: center;
    margin: 2px;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.3);
    /*border-top-right-radius: 15px;
    border-top-left-radius: 15px;*/
    border-radius: 10%;
    margin-left: 1px;
    padding: 10px 10px;
    cursor: pointer;
    font-family: Vazir;
}

    .btn_Sm:hover {
        background-color: rgba(255, 255, 255, 0.20);
    }

    .btn_Sm.active {
        background-color: rgba(255, 255, 255, 0.20);
    }
/* ---------Scrol Them---------*/

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.50);
    border-radius: 10px;
}
/* ---------modal---------*/


/* Add padding and center-align text to the container */
.container {
    /*padding: 16px;*/
    text-align: center;
}

legend {
    text-align: right;
}
/*----------crm-txt-Logo---------*/
.CrmTxtLogo {
    text-align: left;
    margin-left: 5px;
    /*background-color: rgba(255, 0, 60, 0.50);*/
    /*font-size: 15rem;*/
    /*text-align: center;*/
    /*height: 90vh;*/
    /*line-height: 90vh;*/
    /*color: #fcedd8;*/
    /*background: #d52e3f;*/
    /*font-family: 'Niconne', cursive;*/
    /*font-weight: 700;*/
}
/*----------modal-crm---------*/
.modal-crm {
    display: none; /* Hidden by default */
    /*position: fixed;*/ /* Stay in place */
    /*z-index: 1;*/
    /*left: 0;
    top: 10%;*/
    /*margin:30px;*/
    /*width: 100%; 
    height: 100%;*/
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(255, 255, 60, 0.10);
    /*padding-top: 50px;*/
}


/* Modal Content/Box */
.modal-content-Ticket {
    /* background-color: #fefefe; */
    background-color: rgba(255, 255,255, 0.8);
    margin: 0%;
    margin-top: 12%;
    /* border: 1px solid #888; */
    border-radius: 1%;
    box-shadow: 0 15px 25px rgba(0,0,0,.9);
    width: 25%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal-content-crm {
    background-color: #fefefe;
    /*background-color: rgba(255, 255,255, 0.85);*/
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    /*border: 1px solid #888;*/
    box-shadow: 0 15px 25px rgba(0,0,0,.9);
    width: 95%; /* Could be more or less, depending on screen size */
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(255, 255, 60, 0.15);
    padding-top: 50px;
    overflow-y: 170px;
}

/* Modal Content/Box */
.modal-content {
    /*background-color: #fefefe;*/
    background-color: rgba(255, 255,255, 0.85);
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    /*border: 1px solid #888;*/
    box-shadow: 0 15px 25px rgba(0,0,0,.9);
    width: 50%; /* Could be more or less, depending on screen size */
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-content2 {
    background-color: #fefefe;
    /*background-color: rgba(255, 255,255, 0.85);*/
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    /*border: 1px solid #888;*/
    box-shadow: 0 15px 25px rgba(0,0,0,.9);
    width: 75%; /* Could be more or less, depending on screen size */
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}
/* Style the horizontal ruler */
hr {
    border: 1px solid #f1f1f1;
    margin-bottom: 25px;
}

/* The Modal Close Button (x) */
.close {
    /*position: absolute;*/
    float: right;
    padding-right: 22px;
    right: 35px;
    top: 15px;
    font-size: 40px;
    font-weight: bold;
    color: rgba(0,0,0, 0.6);
}

    .close:hover,
    .close:focus {
        color: #f44336;
        cursor: pointer;
    }

/* Clear floats */
.clearfix::after {
    content: "";
    /*clear: both;*/
    /*display: table;*/
}


/* ---------Box_Form_Modal---------*/
.Box_Form_Modal {
    /*width: 500px;*/
    border: 1px solid #ccc;
    /*margin: 5px auto;*/
    display: initial;
    /*float:left;*/
}
/* ---------Box_Form_Modal---------*/
.Box_Cartabl_Modal {
    /*width: 500px;*/
    border: 1px solid #ccc;
    margin: 5px auto;
    display: initial;
    min-height: 350px;
}

/* Set a style for all buttons */
button {
    /*background-color: #4CAF50;*/
    /*color: white;*/
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    /*width: 100%;*/
    opacity: 0.8;
    min-width: 130px;
}

    button:hover {
        opacity: 1;
    }
/* ---------Btn_Form_Modal---------*/

/* Float cancel and delete buttons and add an equal width */
.yellowbtn, .RedBtn, .Blubtn, .Greenbtn {
    text-align: center;
    width: 24%;
}

/* Add a color to the cancel button */
.yellowbtn {
    background-color: #eea236;
    color: black;
}
/* Add a color to the cancel button */
.Blubtn {
    background-color: #008CBA;
    color: black;
}
/* Add a color to the cancel button */
.Greenbtn {
    background-color: #4CAF50;
    color: black;
}
/* Add a color to the delete button */
.RedBtn {
    background-color: #f44336;
    color: black;
}

.btn_link {
    max-width: 200px;
    margin: 2px;
    text-decoration: none;
    /*background-color: rgba(0, 0, 0, 0.3);*/
    border-radius: 10%;
    margin-left: 1px;
    padding: 10px 10px;
    cursor: pointer;
    text-align: center;
}
/* Change styles for cancel button and RedBtn button on extra small screens */
/*@media screen and (max-width: 300px) {
    .yellowbtn, .RedBtn, .Blubtn, .Greenbtn {
        width: 100%;
    }
}*/

/* ---------TextBox_Form_Modal---------*/
input[type=text] {
    width: 60%;
    padding: 12px 20px;
    margin: 8px 0;
    text-align: right;
    border-radius: 10px;
    /*box-sizing: border-box;*/
    /*border-radius: 32px;*/
    border: 1px solid #ccc !important;
    background-color: rgba(255, 255, 255, 0.20);
}

    input[type=text]:focus {
        border: 1px;
        background-color: rgba(150, 255, 255, 0.20);
    }


/* For mobile phones: */
[class*="col-"] {
    width: 100%;
}
/* ---------Resposiv item---------*/

@media only screen and (min-width: 600px) {
    /* For tablets: */
    .col-s-1 {
        width: 8.33%;
    }

    .col-s-2 {
        width: 16.66%;
    }

    .col-s-3 {
        width: 25%;
    }

    .col-s-4 {
        width: 33.33%;
    }

    .col-s-5 {
        width: 41.66%;
    }

    .col-s-6 {
        width: 50%;
    }

    .col-s-7 {
        width: 58.33%;
    }

    .col-s-8 {
        width: 66.66%;
    }

    .col-s-9 {
        width: 75%;
    }

    .col-s-10 {
        width: 83.33%;
    }

    .col-s-11 {
        width: 91.66%;
    }

    .col-s-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 24%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }
}

/* ---------table---------*/

/* ---------iframe---------*/

.container-iframe {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.loader1 {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 20px;
    height: 20px;
    margin: auto;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    border-width: medium;
    display: inline-block;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 420px;
    height: 420px;
    margin: auto;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0 % {
        - webkit - transform: rotate(0deg);
    }

    100% {
        -webkit - transform: rotate(360deg);
    }
}

@keyframes spin {
    0 % {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}





#myTable {
    font-family: Vazir, Helvetica, sans-serif;
    border-collapse: collapse;
    font-size: x-small;
    min-width: 150%;
}

    #myTable td, #customers th {
        border: 1px solid #ddd;
        padding: 8px;
        cursor: pointer;
    }

    #myTable tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    #myTable tr:hover {
        background-color: #ffe109;
    }

    #myTable th {
        padding-top: 3px;
        padding-bottom: 3px;
        text-align: center;
        background-color: #04AA6D;
        color: white;
    }

#myInput {
    background-image: url('/css/searchicon.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 16px;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}













/* Full-width input fields */
/* Set a style for all buttons */
button {
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    /*width: 50%;*/
}

    button:hover {
        opacity: 0.8;
    }


/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }

    .cancelbtn {
        width: 100%;
    }
}





.dropdown_2 {
    float: left;
    position: relative;
    /*display: inline-block;*/
    cursor: pointer;
    /*padding-right: 30px;*/
    /*border: 1px solid red;*/
    display: block;
}

.dropdown_2-content {
    /*display: none;*/
    /*position: absolute;*/
    text-align: left;
    min-width: 400px;
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 2%;
    overflow: auto; /* Enable scroll if needed */
    max-height: 450px;
    display: block;
}

.dropdown_2:hover .dropdown_2-content {
    display: block;
    float: left;
    /*padding-right: 100px !important;*/
}



.dropdown-List {
    display: none;
    position: absolute;
    text-align: left;
    min-width: 810px;
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 2%;
    overflow: auto; /* Enable scroll if needed */
    max-height: 450px;
}

.dropdown_2:hover .dropdown-List {
    display: block;
    /*float: left;*/
}

@keyframes blink {
    0% {
        border-color: #ff0000;
    }

    50% {
        border-color: transparent;
    }

    100% {
        border-color: #ff0000;
    }
}

.blinking-border {
    border: 4px solid #ff0000;
    animation: blink 1s infinite;
}
