/* 
 Created on : Dec 26, 2019
 Author : Afshin Pouria
*/
@font-face {
    font-family: 'IRAN';
    font-style: normal;
    font-weight: 400;
    src: url("/jakarta.faces.resource/iran/IRAN.eot.xhtml?ln=font");
    src: local('IRAN'),
        url("/jakarta.faces.resource/iran/IRAN.eot.xhtml?ln=font?#iefix") format('embedded-opentype'),
        url("/jakarta.faces.resource/iran/IRAN.woff2.xhtml?ln=font") format('woff2'),
        url("/jakarta.faces.resource/iran/IRAN.woff.xhtml?ln=font") format('woff'),
        url("/jakarta.faces.resource/iran/IRAN.ttf.xhtml?ln=font") format('truetype');
}
@font-face {
    font-family: 'Nexus';
    font-style: normal;
    font-weight: 400;
    src: local('Nexus'),
        url("/jakarta.faces.resource/nexus/serif/NexusSerifWebPro-Regular.woff.xhtml?ln=font") format('woff')
}

@font-face{
    font-family: 'Source Code Pro';
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    src: url("/jakarta.faces.resource/sourcecodepro/SourceCodePro-Regular.ttf.woff2.xhtml?ln=font") format('woff2'),
    url("/jakarta.faces.resource/sourcecodepro/SourceCodePro-Regular.otf.woff.xhtml?ln=font") format('woff'),
    url("/jakarta.faces.resource/sourcecodepro/SourceCodePro-Regular.otf.xhtml?ln=font") format('opentype'),
    url("/jakarta.faces.resource/sourcecodepro/SourceCodePro-Regular.ttf.xhtml?ln=font") format('truetype');
}

.w3-theme-l5 {color:#000 !important; background-color:#edfdff !important}
.w3-theme-l4 {color:#000 !important; background-color:#c4f8ff !important}
.w3-theme-l3 {color:#000 !important; background-color:#89f1ff !important}
.w3-theme-l2 {color:#000 !important; background-color:#4eeaff !important}
.w3-theme-l1 {color:#000 !important; background-color:#12e3ff !important}
.w3-theme-d1 {color:#fff !important; background-color:#00aac1 !important}
.w3-theme-d2 {color:#fff !important; background-color:#0097ab !important}
.w3-theme-d3 {color:#fff !important; background-color:#008496 !important}
.w3-theme-d4 {color:#fff !important; background-color:#007281 !important}
.w3-theme-d5 {color:#fff !important; background-color:#005f6b !important}

.w3-theme-light {color:#000 !important; background-color:#edfdff !important}
.w3-theme-dark {color:#fff !important; background-color:#005f6b !important}
.w3-theme-action {color:#fff !important; background-color:#005f6b !important}

.w3-theme {color:#fff !important; background-color:#00bcd4 !important}
.w3-text-theme {color:#00bcd4 !important}
.w3-border-theme {border-color:#00bcd4 !important}

.w3-hover-theme:hover {color:#fff !important; background-color:#00aac1 !important}
.w3-hover-text-theme:hover {color:#00bcd4 !important}
.w3-hover-border-theme:hover {border-color:#00bcd4 !important}

.brand-logo{
    background-image: url("/jakarta.faces.resource/logo-vert.png.xhtml?ln=images") ;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    height: 42px;
    width:200px;
    text-indent: 30px;
}
a{text-decoration: none}
.tn-indent{text-indent: 20px }
.icon-encyclopedia{
    display: inline-block;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    background: url("");
    background-size: cover;
}
.icon-dictionary{
    display: inline-block;
    text-indent: -9999px;
    width: 16px;
    height: 16px;
    background: url(../images/dictionary.svg);
    background-size: cover;
}

.icon-math:before{
    content:"ℵ₀";
    font-weight: bold;
    font-family: 'STIX2Math';
}

.icon-plus:before{
    content:"+";
    font-weight: bold;
    font-family: 'STIX2Math';
}

.icon-formgen{
    display: inline-block;
    text-indent: -9999px;
    width: 24px;
    height: 24px;
    background: url("");
    background-size: cover;
    color:#4CAF50!important;
}
.icon-item-add{
    display: inline-block;
    text-indent: -9999px;
    width: 32px;
    height: 32px;
    background: url("");
    background-size: cover;
    color:#4CAF50!important;
}
.seo{display: none}
.noselect { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
.link{color: #007281;text-decoration: none}
.link:hover{color: #008496;text-decoration: underline}
.result-item{border-bottom: 1px solid silver}
.nowrap{white-space: nowrap; overflow: hidden; text-overflow: ellipsis;flex: 1}
.recent-text{border-right: 1px solid #e1bee7;border-left: 1px solid #e1bee7}
.featured-text{border-right: 1px solid #ffecb3;border-left: 1px solid #ffecb3}
.english{direction: ltr;font-family: STIX2Math,Georgia,Verdana,sans-serif; float:left;}
.padding-4{padding: 4px !important}
.negative {text-decoration: line-through}
.foreign {text-decoration: line-through}
li.letterlink{display: inline-block; margin: 5px;list-style-type: none;font-weight: bold;font-style: italic ; font-size: 18px;color: maroon}
[id^='datagrid']{
    border: none;
}

[id^='datagrid'] th{
    background-color: #ccc;
    padding: 2px 12px;
    border: none;
    border-bottom: 1px solid gray;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

[id^='datagrid'] td{
    padding: 2px 12px;
    border: none;
    border-bottom: 1px solid silver;
    font-size: 16px;
    vertical-align: top;
}
.writing{
    /* font-family: Raleway,sans;*/
    /*font-size: 12px;*/
    background-color: #1a73e8;
    color:#3C3C3C;
    border: 1px solid #CCCCCC;
    margin: 3px;
    padding: 3px;
    text-decoration: none;
}


footer>span>a{color: #007281;text-decoration: none }
footer>span>a:hover{color: #008496;text-decoration: none}

.btn-login {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}

.container {
    padding: 16px;
}

span.psw {
    float: right;
    padding-top: 16px;
}
.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.redundant{
    border: 1px dotted #777777;
    color: #777777;
}
.negative{
    text-decoration: line-through;
    color: firebrick;
}
.den{ /* denominator */
    border-top: 1px solid;
}
.dotted-row{
    border-top: 1px dashed #DDDDDD;
}
.preview{background: linear-gradient(to bottom, #3C3C3C 250px, white 350px);
         -webkit-background-clip: text;
         -webkit-text-fill-color: transparent;
         height:500px;overflow: hidden
}

@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}
.margin-4{margin:4px!important}
fieldset{border-radius: 20px}
legend {
    margin:0 auto;
    padding: 0px 4px;
}
section>p{text-align: justify}
.img-container{position: relative}
.text-over {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: black;
    padding-left: 20px;
    padding-right: 20px;
}
.alert-success{color: #155724;background-color: #d4edda; border-color: #c3e6cb;}
.alert-info {color:#31708f; background-color: #d9edf7; border-color: #bcdff1;}
.alert-warning {color: #856404;background-color:#fff3cd;border-color: #ffeeba;}
.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb;}
/*.dataTables_wrapper{direction: rtl;padding: 10px}*/
/*.dataTables_wrapper input{border:1px solid silver;margin: 0 6px}*/
/*.dataTables_wrapper select{border:1px solid silver;width: 60px;margin: 0 6px}*/

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
}

.parallelogram{
    position: relative;
    height: 50px;
    width: 180px;
    background: #c5cae9;
    margin-left: 60px;
    margin-right: 60px;
}
.parallelogram:after{
    position: absolute;
    content: '';
    right: -60px;
    top: 0px;
    border-style: solid;
    border-color:  transparent #c5cae9 transparent #c5cae9;
    border-width: 50px 0px 0px 60px;
}
.parallelogram:before{
    position: absolute;
    content: '';
    left: -60px;
    top: 0px;
    border-style: solid;
    border-color: #c5cae9 transparent #c5cae9 transparent ;
    border-width: 50px 0px 0px 60px;
}

#canvas {
    width: 92vw;
    max-width: 600px;
    height: 400px;
    border: 1px solid lightgray;
}

.autocomplete {
    background: white;
    z-index: 1000;
    font: sans-serif;
    overflow: auto;
    box-sizing: border-box;
    border: 1px solid silver;
    box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.autocomplete * {
    font: inherit;
}

.autocomplete > div {
    /*padding: 0 4px;*/
}

.autocomplete .group {
    background: #eee;
}

.autocomplete > div:hover:not(.group),
.autocomplete > div.selected {
    /*background: #81ca91;*/
    cursor: pointer;
}

.form{
    background-color: #FBFBFB;
    border: 1px solid silver;
}
.form input[type='text'],select{
    border:1px solid silver;
    border-radius: 4px;
    background-color: white
}
.round {
    border-radius: 50%;
}

@media (max-width:600px){
    h1{font-size: 26px}
}
.spin {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
.spin-back {
    -webkit-animation:spin-back 4s linear infinite;
    -moz-animation:spin-back 4s linear infinite;
    animation:spin-back 4s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

@-moz-keyframes spin-back { 100% { -moz-transform: rotate(-360deg); } }
@-webkit-keyframes spin-back { 100% { -webkit-transform: rotate(-360deg); } }
@keyframes spin-back { 100% { -webkit-transform: rotate(-360deg); transform:rotate(-360deg); } }