/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : Jan 31, 2015, 3:28:00 PM
    Updated on : Oct 06, 2017, 4:13:42 PM
    Author     : Morteza Fard Saffari
*/

@import"fonts.css";

/** Css reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
{
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ol, ul
{
  list-style: none;
}

blockquote, q
{
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after
{
  content: '';
  content: none;
}

/**
 * remember to define focus styles!
 */
:focus
{
  outline: 0;
}

/**
 * remember to highlight inserts somehow!
 */
ins
{
  text-decoration: none;
}
del
{
  text-decoration: line-through;
}

/**
 * tables still need 'cellspacing="0"' in the markup
 */
table
{
  border-collapse: collapse;
  border-spacing: 0;
}
body
{
    line-height: 1;
    background: white;
    font: 14px 'IRANSansWeb', sans-serif;
}
.col-form-legend {
    font-size: 14px;
    padding-top: 0;
    padding-bottom: 0;
}
/** Structure */
a
{
     text-decoration: none;
}
a:focus, a:hover
{
    text-decoration: none;
    outline: none;
}
html
{
    width: 100%;
    height: 100%;
}
body
{
    width: 100%;
    height: 100%;
    background: none repeat scroll 0 0 #ffffff;
}
.img-logo
{
    float: right;
    width: 135px;
    height: 65px;
}
.logo-sec
{
    background-color: #FFF;
    border-left: 1px solid #273655;
}
.user-info
{
    padding: 0 0.2rem;
}
.user-info:hover
{
    cursor: pointer;
    background: #1c273e;
}
.user-info .user-image
{
    width: 2.6rem;
    height: 2.6rem;
    margin: 0.3rem;
    overflow: hidden;
}
.user-info .user-image img
{
    width: 100%;
}
.user-info .user-name
{
    padding: 1.1rem 0.5rem;
    color: #fff;
    height: 100%;
    line-height: 100%;
}
#menu-mask
{
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    display: none;
}
#hide-menu
{
    position: absolute;
    right: 0;
    font-size: 1rem;
    background: #121826;
    padding: 0.3rem 0.5rem;
    color: #6594bf;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
    margin: 2px;
}
#show-menu
{
    position: relative;
    top: 12px;
    margin-right: 10px;
    font-size: 2rem;
    background: #121826;
    padding: 0.3rem 0.5rem;
    color: #6594bf;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
    cursor: pointer;
}
#sidebar-menu.mobile-view{
    position: fixed;
    z-index: 1000;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    width: 80%;
    max-width: 350px;
}
html[dir=rtl] #sidebar-menu.mobile-view{

}
.main-menu
{
    margin-top: 1.5rem;
    position: relative;
    top: -1px;
}
.main-menu ul li
{
    border-bottom: 1px solid #32456c;
    font-size: 12px;
    margin: 0;
    position: relative;
    width: 100%;
}
.main-menu ul li:first-child
{
    border-top: 1px solid #32456c;
}
.main-menu ul li a {
    color: #8ea2cb;
    display: block;
    padding: 10px 20px;
    position: relative;
    transition: color 250ms ease-in-out 0s, background-color 250ms ease-in-out 0s;
}
.main-menu ul li i {
    font-size: 15px;
    margin-right: 5px;
    position: relative;
}
.main-menu ul li a i {
    display: inline-block;
    top: 0.1rem;
}
.main-menu ul li a span {
    transition: opacity 350ms ease-in-out 0s;
}
.main-menu ul li span {
    padding-right: 5px;
}
.main-menu ul li a:hover {
    background-color: #1c273e;
    color: #ffffff;
}
.main-menu ul li.active > a{
    background-color: #1c273e;
    color: #ffffff;
}
.main-menu ul li:active,
.main-menu ul li a:active,
.main-menu ul li:focus,
.main-menu ul li a:focus {
    border: none;
    outline: none;
}
.main-menu > ul > li.have-submenu > a::after {
    color: #121826;
    font-family: "Font Awesome 5 Pro";
    content: "\f055";
    font-weight: 900;
    display: inline-block;
    float: right;
    font-size: 15px;
    margin-right: 13px;
    position: relative;
    top: 0;
    transition: all 300ms ease-in-out 0s;
}
.main-menu > ul > li.have-submenu.opened > a:after {
    color: #5f7bb6;
    /*
    moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
     */
}
.main-menu ul li ul {
    border-top: 1px solid #172032;
    display: none;
    list-style: outside none none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 1;
    width: 100%;
}
.main-menu ul li ul.visible {
    display: block;
}
.main-menu ul li ul {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #172032;
    border-bottom: 1px solid #172032;
    display: none;
    overflow: hidden;
    z-index: 1;
}
.main-menu ul li ul.visible {
    display: block;
}
.main-menu ul li ul > li {
    border-bottom: 1px solid #32456c;
}
.main-menu ul li ul > li > a {
    background-color: #2c3d61;
    padding-right: 40px;
}
.main-menu ul li ul > li > a:hover {
    background-color: #1c273e;
}
.main-menu ul li ul > li:last-child {
    border-bottom: 0;
}
.main-menu ul li ul > li ul > li > a {
    padding-left: 20px;
    background: #273655;
}
.main-menu ul li ul > li ul > li ul > li > a {
    padding-left: 20px;
    background: #2c3d61;
}
.main-menu ul li ul > li ul > li ul > li ul > li > a {
    padding-left: 20px;
    background: #273655;
}
/* extra elements */
.btn-op
{
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 0;
}
.btn-op i {
    margin-right: -3px;
}

/* Main Container Title */
#main-container .page-title
{
    font-size: 20px;
    margin: 15px auto;
    padding: 5px;
    text-align: center;
    width: 50%;
}
#main-container .page-title dl dt, #main-container .page-title dl dd
{
    display: inline-block;
}
#main-container .page-title dl dt:after
{
    content: ' : ';
}
/* Other */
.error-popup
{
    background-color: #D6D7D9;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    height: 150px;
    display: none;
    opacity: 0;
    position: fixed;
    top: 40%;
    width: 100%;
    z-index: 99999;
}
.error-popup .massage
{
    font-size: 25px;
    position: absolute;
    right: 100px;
    top: 25%;
}
.error-popup .answer-btn-group
{
    font-size: 25px;
    position: absolute;
    left: 100px;
    bottom: 20%;
    opacity: 1 !important;
}
.error-popup .answer-btn-group .btn
{
    padding: 6px 30px;
    margin-right: 5px;
}
#mask
{
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    display: none;
}
.dropdown-item {
    padding: 0 0.5rem;
    font-size: 13px;
}
/* admin component main page */
.quick-access
{
    text-align: center
}
.panel_quick_box
{
    border: 1px solid #ccc;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 5px;
    text-align: center;
    vertical-align: top;
    width: 120px;
    font-size: 12px;
}
.panel_quick_box:first-child
{
    margin-right: 0;
}
.panel_quick_box img
{
    width: 96px;
    display: block;
    margin: 0 auto 10px auto;
}
.panel_quick_box a
{
    text-decoration: none;
}
.fixed-top-left
{
    position: fixed;
    left:0;
    top: 0;
}
.fixed-top-right
{
    position: fixed;
    right:0;
    top: 0;
}
.fixed-bottom-left
{
    position: fixed;
    left:0;
    bottom: 0;
}
.fixed-bottom-right
{
    position: fixed;
    right:0;
    bottom: 0;
}
.small, small
{
    font-size: 80% !important;
}
.invalid
{
    color: #DC3545;
}
.valid
{
    color: green;
}
.filter-panel .card-body
{
    padding: 5px;
}
.filter-panel .input-group-text
{
    font-size: 12px;
}
.filter-panel input
{
    font-size: 12px;
}
/* repeatable style can not be used for now*/
.repeatable-row
{
    border: 1px solid #ccc;
}
.logo_demo
{
    background-color: #ccc;
    width: 300px;
    height: 150px;
    margin: 0 auto;
}
.favicon_demo
{
    background-color: #ccc;
    width: 16px;
    height: 16px;
    margin: 0 auto;
}
.h_iframe-aparat_embed_frame{width: 100%; text-align: center;}
.h_iframe-aparat_embed_frame iframe { width: 80%; min-height: 500px; }

.loading {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -60px 0 0 -60px;
    background: #fff;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    border: 10px solid #007BFF;
    text-align: center;
    line-height: 80px;
}
.loading:before {
    content: '';
    background-color: #FFF;
    width: 140%;
    height: 140%;
    position: absolute;
    border-radius: 100%;
    top: -20%;
    left: -20%;
    opacity: 0.7;
    border: 1px solid rgba(0, 123, 255, 1);

}
.loading:after {
    content: '';
    background: transparent;
    width: 140%;
    height: 15px;
    position: absolute;
    top: 41%;
    left: -20%;
    opacity: 0.7;
    border-left: 7px solid rgba(0, 123, 255, 1);
    animation: rotate 3s infinite linear;
}

@keyframes rotate {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}

#ttloadingmask {
    width: 250px;
    height: 250px;
    color: white;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    border: 5px solid transparent;
    border-radius: 50%;
    -webkit-animation: borderScale 1s infinite ease-in-out;
    animation: borderScale 1s infinite ease-in-out;
}

#ttloadingmask #logo {
    font-family: sans-serif;
    font-weight: bold;
    font-size: 2em;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center;

}
#ttloadingmask #logo img
{
    width: 70%;
}
@-webkit-keyframes borderScale {
    0% {
        border: 5px solid transparent;
    }
    50% {
        border: 25px solid transparent;
    }
    100% {
        border: 5px solid transparent;
    }
}

@keyframes borderScale {
    0% {
        border: 5px solid transparent;
    }
    50% {
        border: 25px solid transparent;
    }
    100% {
        border: 5px solid transparent;
    }
}
.loading_progress{ display: none; width: 100%; height: 100%; position:fixed; top: 0; left: 0;  right: 0; z-index: 100000; text-align: center; background: rgba(0,0,0,0.22)}
.load-wrapp { position: relative; top: 45%; text-align: center; width: 100px; height: 100px; margin: 0 auto; z-index: 100001; }
.load-wrapp p {padding: 0 0 20px; color: #FFF; font-weight: bold; }
.line { display: inline-block; width: 15px; height: 15px; border-radius: 15px; background-color: #FFF; box-shadow: 0px -2px 0px inset #a7a7a7; }
.load-3 .line:nth-last-child(1) {animation: loadingC .6s .1s linear infinite;}
.load-3 .line:nth-last-child(2) {animation: loadingC .6s .2s linear infinite;}
.load-3 .line:nth-last-child(3) {animation: loadingC .6s .3s linear infinite;}
@keyframes loadingC {
    0% {
        transform: translate(0,0);
    }
    50% {
        transform: translate(0,15px);
    }
    100% {
        transform: translate(0,0);
    }
}