﻿
html, body {
    padding: 0;
    margin: 0;
    font-family: Vazir;
}

/*----------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: 95%;
    width: 95%;
    -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;
}


/* ---------TextBox_Form_Modal---------*/
input[type=text] {
    width: 100%;
    height: 15%;
    padding: 12px 0px;
    margin: 8px 0;
    text-align: right;
    border-radius: 10px;
    /*box-sizing: border-box;*/
    /*border-radius: 32px;*/
    font-size: 50px;
    border: 1px solid #ccc !important;
    background-color: rgba(255, 255, 255, 0.20);
}

    input[type=text]:focus {
        border: 1px;
        width: 100%;
        height: 15%;
        font-size: 50px;
        background-color: rgba(150, 255, 255, 0.20);
    }

input[type=number] {
    width: 100%;
    height: 15%;
    padding: 12px 0px;
    margin: 8px 0;
    text-align: right;
    border-radius: 10px;
    /*box-sizing: border-box;*/
    /*border-radius: 32px;*/
    font-size: 50px;
    border: 1px solid #ccc !important;
    background-color: rgba(255, 255, 255, 0.20);
}

    input[type=number]:focus {
        border: 1px;
        width: 100%;
        height: 15%;
        font-size: 50px;
        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%;
    height: 100%;
    padding-top: 146.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: 95%;
    height: 90%;
    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: 6px;
    width: 100%;
}

    #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: 2px 2px 2px 2px;
    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;*/
}