@font-face {
    font-family: 'byekan';
    src: url('../fonts/BYekan.ttf') format('truetype');
}

:root {
    --master: #dd0508;
    --slave: #000000; /* 00a65d;*/
    --gray: #363636;
    --border: #e8e5e5;
    --radius: 10px;
}

.field-validation-error {
    color: #F00;
    font-weight: bold;
}

body, th, td, table, h1, h2, h3, h4, h5, h6, body *,
a:link, a:visited, a:hover, p, ul, ol, h1, h2, h3, a, a p, div, li, ul, .tagator_input, .select2-container, .lobibox *, .ddl {
    font-family: byekan;
    font-size: 19px !important;
    font-weight: 400;
    line-height: 200%;
}



.userpass {
    font-weight: bold;
    font-size: 21px;
    margin-right: 5px;
    margin-left: 5px;
    cursor: text;
}


/*user sensor and map */
.border {
    border: 1px dashed var(--border);
    padding: 2%;
    direction: rtl;
    margin-top: 10px;
    border-radius: var(--radius)
}

.tagI {
    font-size: 25px;
    color: var(--master);
    margin-right: 30px
}

.border .tagI:first-child {
    margin-right: 0px
}

.text {
    display: inline-block;
    direction: rtl;
    margin-right: 5px;
    margin-left: 5px;
}

@media all and (max-width: 780px) {
    .tagI {
        font-size: 14px;
        margin: 0px;
    }

    .border b {
        display: block;
    }
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    border: 1px dashed var(--gray);
    margin-top: 15px;
    margin-bottom: 15px;
    z-index: 0 !important;
}
/*  -----end------ */




/*-----------------------Ticket Part------------------*/
/*linear panels*/
p.toggleHeader {
    width: 94%;
    cursor: pointer;
    padding: 3%;
    color: black;
    border-radius: var(--radius);
    font-weight: bold;
    line-height: 30px !important;
    text-align: right !important;
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -ms-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
    margin-bottom: 10px;
    background-color: var(--border);
    border: 1px dashed var(--gray);
}

    p.toggleHeader:hover {
        border: 1px solid var(--master);
        color: black;
    }


    p.toggleHeader:active {
    }

div.toggleBody {
    width: 100%
}

/*-----------------------Ticket masonry alignment-------------------------*/
.m_containerTicket {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.m_colTicket {
    width: 100%;
    padding: 1%;
    margin: 1%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background-color: white;
    text-align: center;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    justify-content: center;
    justify-items: center;
}

.m_containerTicket .left {
    width: 100%;
}

.m_containerTicket .right {
    width: 30%;
}

.m_colTicket:first-child {
    margin-left: 0;
}

.m_colTicket:last-child {
    margin-right: 0;
}



@media all and (max-width: 780px) {
    .m_containerTicket {
        flex-direction: column;
    }

        .m_containerTicket .right {
            width: 90%;
        }

        .m_containerTicket .left {
            width: 90%;
        }

    .m_colTicket {
        margin-left: 0;
        margin-right: 0;
        width: 90%;
        padding: 5%;
    }

    p.toggleHeader {
        width: 90%;
        padding: 5%;
    }
}

.eachChatItem {
    border-radius: var(--radius);
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    width: 98%;
    padding: 1%;
    margin-bottom: 1%;
    direction: rtl;
}

    .eachChatItem .header {
        color: var(--gray);
        border-bottom: 1px solid var(--border);
        min-height: 50px;
        color: darkgray;
        margin-bottom: 10px;
        font-weight: bold;
    }

        .eachChatItem .header i {
            font-size: 22px;
            margin-left: 4px;
            color: var(--gray)
        }

    .eachChatItem .footer i {
        font-size: 18px;
        margin-left: 3px;
        margin-right: 10px;
        color: darkgray;
    }

    .eachChatItem .footer {
        color: darkgray;
        padding-top: 20px;
        text-align: left !important;
    }

.fromAdmin {
    border-right: 4px solid var(--master) !important;
}

@media all and (max-width: 780px) {
    .eachChatItem .footer {
        text-align: center !important;
    }

    .eachChatItem {
        width: 90%;
        padding: 5%;
    }
}
/*-----------------end Ticket-------------------*/





body {
    background-color: #f2f2f2 !important;
    margin: 0;
}

.incrementalNumber {
    font-size: 32px;
    font-weight: bold;
}

.badge {
    position: absolute;
    background-color: red;
    color: white;
    font-size: 13px !important;
    font-weight: bold;
    text-align: center;
    clip-path: circle();
    padding: 5px !important;
    z-index: 1;
    margin-top: -10px !important;
    right: 50%;
}

.badgeMenu {
    position: absolute;
    background-color: red;
    color: white;
    font-size: 13px !important;
    font-weight: bold;
    text-align: center;
    clip-path: circle();
    padding: 5px !important;
    margin-top: -15px !important;
    z-index: 1;
}

/*--------------------- tag a, content style---------------------*/
.GlobalMargin {
    margin-left: 5%;
    margin-right: 5%;
}


.contentStyle {
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding: 3%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 2%;
    margin-bottom: 2%;
}

    .contentStyle a:not(.btnMaster):not(.btnSlave), .contentStyle a:active, a, a:active {
        color: var(--master);
        text-decoration: none !important;
        -webkit-transition: all .3s ease-in;
        -moz-transition: all .3s ease-in;
        -o-transition: all .3s ease-in;
        transition: all .3s ease-in;
    }

    .contentStyle:hover {
        box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    }

    .contentStyle a:hover:not(.btnMaster):not(.btnSlave), a:hover {
        color: #000000 !important;
    }



    .contentStyle ul li, .contentStyle ol li {
        margin-right: 3%;
        margin-left: 3%;
    }

    .contentStyle p {
        margin: 0;
        text-align: justify;
    }



img {
    max-width: 100% !important;
    height: auto !important;
}






/*--------------------- tag header(h1,...)---------------------*/
h1 {
    font-size: 28px !important;
    font-weight: 900;
}

h2 {
    font-size: 24px !important;
    font-weight: 900;
}

h3 {
    font-size: 22px !important;
    font-weight: 700;
}

@media all and (max-width: 780px) {
    h1 {
        font-size: 24px !important;
    }

    h2 {
        font-size: 22px !important;
    }

    h3 {
        font-size: 20px !important;
    }
}






/*-----------------------header-------------------------*/
.containerHeader {
    display: flex;
    flex-direction: row-reverse;
    border-bottom: 3px solid var(--master);
}

.col_header_r, .col_header_l {
    width: 100%;
    align-content: center !important;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: white;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.col_header_l {
    text-align: left;
}

.col_header_r {
    text-align: right;
}

.containerHeader img {
    width: 256px;
    max-width: 100%;
}

.degree_under_Header {
    width: 100%;
    height: 10px;
    background-image: url(../images/meter_symbol.png);
}

@media all and (max-width: 780px) {
    .containerHeader {
        flex-direction: column;
    }

    .col_header_r, .col_header_l {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        text-align: center;
    }
}


/*-----------------------Login panel-------------------------*/

.loginPanel {
    width: 50%;
    margin-left: 50%;
    transform: translate(-50%,0);
    margin-top: 5%;
    margin-bottom: 5%;
}

@media all and (max-width: 1350px) {
    .loginPanel {
        width: 60%;
    }
}

@media all and (max-width: 780px) {
    .loginPanel {
        width: 90%;
    }

    .col_header_l {
        display: none;
    }
}

.tbl_Logincontainer {
    margin-top: 20px !important;
    display: table;
    width: 100%;
}


.tbl_Logincell {
    display: table-cell;
    width: auto;
    padding: 5px;
    vertical-align: middle;
}

    .tbl_Logincell:first-child {
        text-align: right;
    }

    .tbl_Logincell:last-child {
        text-align: left;
    }

@media all and (max-width: 780px) {
    .tbl_Logincontainer, .tbl_Logincell {
        display: block;
        width: 100% !important;
        text-align: center !important;
    }

        .tbl_Logincell img {
            width: 100%;
            max-width: 350px !important;
        }
}


/*-----------------------alert box-------------------------*/
.alertBoxWarning {
    border: 1px solid var(--border);
    background-color: white;
    padding: 3%;
    border-radius: var(--radius);
}

    .alertBoxWarning i {
        margin-bottom: 10px;
        color: #ffd800;
        font-size: 50px;
    }




/*-----------------------title pages on top header-------------------------*/
.titleContainer {
    display: flex;
    align-items: center;
}

.titleLine {
    border-bottom: 2px solid var(--master);
    flex: auto;
    margin-right: 10px;
    height: 10px;
}





/*-----------------------Gridview Table alignment-------------------------*/
.tbl_container {
    display: table;
    width: 100%;
    direction: rtl;
    border: 1px solid var(--border);
}

.tbl_row * {
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.tbl_header * {
    font-weight: bold !important;
    color: var(--slave);
}

.tbl_header .tbl_cell, .tbl_header .tbl_cell a {
    background-color: rgba(54,54,54,1);
    color: white !important;
}

    .tbl_header .tbl_cell a i {
        color: var(--master) !important;
    }

.tbl_row, .tbl_header {
    display: table-row;
}

    .tbl_row:hover * {
        background-color: var(--border);
    }

.tbl_cell {
    display: table-cell;
    width: auto;
    padding: 5px;
    border: 1px dotted var(--border);
    background-color: white;
    text-align: center;
    vertical-align: middle;
}
/*.tbl_cell:first-child {
  background-color:red;
}*/
/*.tbl_cell:first-child {
   width: 400px;
}*/
.disabled_PgGv {
    display: none !important;
}

@media all and (max-width: 780px) {
    .tbl_container, .tbl_row, .tbl_cell {
        display: block;
    }

    .tbl_header {
        display: none;
    }

    .tbl_row {
        border-top: 3px solid var(--border);
    }
}
/*-----------------------Gridview Table search-------------------------*/
.tbl_srch_container {
    display: table;
    width: 100%;
    direction: rtl;
}

.tbl_srch_cell {
    display: table-cell;
    width: auto;
    padding: 5px;
    vertical-align: bottom;
}

    .tbl_srch_cell:first-child {
        width: 100%;
    }

    .tbl_srch_cell:last-child {
        padding-bottom: 19px !important;
    }

@media all and (max-width: 780px) {
    .tbl_srch_container, .tbl_srch_cell {
        display: block;
        width: auto !important;
    }
}



/*--------ticket--------*/
.openTicket {
    background-color: lightcyan;
}

.pendingTicket {
    background-color: lightgoldenrodyellow;
}

.endingTicket {
    background-color: #fcdbdb;
}
/*  -----end------ */





/*-----------------------masonry alignment-------------------------*/
.m_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.m_col {
    width: 100%;
    padding: 1%;
    margin: 1%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background-color: white;
    text-align: center;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    justify-content: center;
    justify-items: center;
}

    .m_col i {
        font-size: 50px;
        color: var(--master);
        padding-bottom: 10px;
    }

    .m_col:first-child {
        margin-left: 0;
    }

    .m_col:last-child {
        margin-right: 0;
    }



@media all and (max-width: 780px) {
    .m_container {
        flex-direction: column;
    }

    .m_col {
        margin-left: 0;
        margin-right: 0;
        width: 98%;
    }
}





/*-----------------------Scroll up-------------------------*/
.scrollup i {
    font-size: 40px;
}

.scrollup {
    width: 66px;
    height: 67px;
    opacity: 0.6;
    position: fixed;
    bottom: 50px;
    right: 53px;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    z-index: 1;
}

    .scrollup:hover {
        bottom: 80px;
        opacity: 1;
    }

@media all and (max-width: 780px) {
    .scrollup {
        right: -28px;
    }
}

#progress {
    position: fixed;
    z-index: 999999999;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--master);
    width: 0px;
}







.required::after {
    color: red;
    font-size: 120%;
    font-weight: bold;
    content: '*';
    margin-right: 5px;
}

.yearselect ,.monthselect, input[type='text'], input[type='number'], input[type='password'], textarea, .tagator_element, .select2-search__field {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    color: #000000;
    background-color: #ffffff;
    -webkit-transition: all .55s ease-in;
    -moz-transition: all .55s ease-in;
    -o-transition: all .55s ease-in;
    transition: all .55s ease-in;
    width: auto;
    outline: none;
    font-family: byekan;
    font-size: 21px;
}

    input[type='text']:focus, input[type='number']:focus, input[type='password']:focus, textarea:focus, .tagator_element:focus, .select2-search__field:focus {
        outline: none;
        border: 1px solid var(--master);
        background-color: #ffffff;
    }




.ddl {
    outline: none;
    border: 1px solid var(--border);
    background-color: #ffffff;
    border-radius: var(--radius);
    padding: 15px;
    width: 100%;
}



    .ddl * {
        background-color: #ffffff;
    }

input[type=radio], input[type=checkbox] {
    display: none;
}


    input[type=radio] + label:before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        background-color: #ffffff;
        border: 1px solid var(--gray);
        border-radius: 50%;
        cursor: pointer;
        margin: 5px;
    }

    input[type=checkbox] + label:before {
        content: "";
        display: inline-block;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        background-color: #ffffff;
        border: 2px solid #e8e5e5;
        border-radius: 4px;
        cursor: pointer;
        margin: 10px;
    }

    input[type=checkbox] + label, input[type=radio] + label {
        white-space: nowrap;
        font-weight: bold;
    }

    input[type=radio]:checked + label:before {
        background-color: var(--master);
        text-shadow: 0px 0px 3px #000000;
    }

    input[type=checkbox]:checked + label:before {
        content: "\2714"; /* Tick */
        color: var(--master);
        background-color: #ffffff;
        border-color: var(--master);
        text-align: center;
        font-size: 25px;
        font-weight: bold;
        line-height: 18px;
    }




/*--------------------- alignment ---------------------*/
.left {
    text-align: left;
    font-weight: bold;
}

.right {
    text-align: right;
}

.leftLTR {
    text-align: left;
    direction: ltr;
}

.rightRTL {
    text-align: right !important;
    direction: rtl !important;
}






/*--------------------- groupbox ---------------------*/

.borderlinegroup {
    position: relative;
    border: 1px solid var(--border);
    background-color: #ffffff;
    z-index: 0 !important;
    padding: 20px !important;
    border-radius: var(--radius);
}

.headertitle {
    font-family: byekan;
    border-radius: var(--radius);
    border: 3px solid var(--border) !important;
    font-weight: 900;
    color: #000000;
    font-size: 20px;
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    position: absolute;
    right: 15px;
}


.borderlinegroup i {
    font-style: normal;
    background: #fff;
    position: absolute;
    padding: 2px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: -46px;
    color: var(--master);
}

/*--------------------- textbox|drp|checkbox ---------------------*/
.field {
    padding-bottom: 8px; /* space between textbox*/
    display: flex;
    flex-direction: column-reverse;
    direction: rtl; /*------------------------- Language */
    margin-bottom: 10px;
}

    .field span {
        transition: all 0.2s ease-in;
        pointer-events: none;
        font-weight: bold;
    }

/* textOver Simple*/
.textoverRight span {
    transform: translate(-15px,48px);
    text-align: right;
}

.textoverLeft span {
    transform: translate(15px,48px);
    text-align: left;
}


/* textOver with icon*/
.textoverIconRight span {
    transform: translate(-75px,48px);
    text-align: right;
}

.textoverIconLeft span {
    transform: translate(75px,48px);
    text-align: left;
}

.textoverIconRight icon, .textupperIconRight icon {
    position: absolute;
    right: 18px;
    font-size: 24px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 1px solid #ccc;
    color: var(--border);
    z-index: 1;
}

.textoverIconLeft icon, .textupperIconLeft icon {
    position: absolute;
    left: 18px;
    font-size: 24px;
    margin-bottom: 20px;
    padding-right: 15px;
    border-right: 1px solid #ccc;
    color: var(--border);
    z-index: 1;
}

.textoverIconLeft input, .textupperIconLeft input {
    padding-left: 65px
}

.textoverIconRight input, .textupperIconRight input {
    padding-right: 68px !important;
}


/* textUpper Simple*/
.textupperRight span {
    transform: translate(0px,-5px);
    text-align: right;
}

.textupperLeft span {
    transform: translate(0px,-5px);
    text-align: left;
}


/* textUpper with icon*/
.textupperIconRight span {
    transform: translate(0px,-5px);
    text-align: right;
}

.textupperIconLeft span {
    transform: translate(0px,-5px);
    text-align: left;
}


/* Dropdown with icon */
.textoverIconRight select, .textupperIconRight select, .textoverIconLeft select, .textupperIconLeft select, .select2-selection__rendered { /* dropdown render text */
    cursor: pointer;
    padding-right: 65px !important;
    font-weight: bold;
}

.select2-selection__placeholder { /*------------------------- dropdown placeholder */
    font-weight: bold;
}


.fieldContainer {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.field input:focus + span, .field textarea:focus + span, .field .tagator_element:focus + span {
    color: var(--master); /* label color when focus */
}


/* Placeholder color */
::-webkit-input-placeholder {
    color: transparent !important;
    transition: inherit;
}

:-moz-placeholder {
    color: transparent !important;
    transition: inherit;
}

::-moz-placeholder {
    color: transparent !important;
    transition: inherit;
}

:-ms-input-placeholder {
    color: #cccccc !important;
    transition: inherit;
}

input:focus::-webkit-input-placeholder {
    color: #cccccc !important;
}

input:focus:-moz-placeholder {
    color: #cccccc !important;
}

input:focus::-moz-placeholder {
    color: #cccccc !important;
}

textarea::-webkit-input-placeholder {
    color: #cccccc !important;
}

textarea:-moz-placeholder {
    color: #cccccc !important;
}

textarea::-moz-placeholder {
    color: #cccccc !important;
}

textarea:-ms-input-placeholder {
    color: #cccccc !important;
}



/* Move up label when typing or when textbox has value*/
.field input:not(:placeholder-shown) + span,
.field input:focus + span {
    transform: translate(0px,-5px) scale(1);
    cursor: pointer;
}

@media all and (max-width: 780px) {
    .fieldContainer {
        display: block;
    }

        .fieldContainer .field {
            width: auto !important;
        }
}



/*-----------------------copyright-------------------------*/
.copyrightParent {
    display: table;
    width: 100%;
    min-height: 400px;
    background-color: #ffffff;
    border-top: 1px solid var(--master);
}


.copy1, .copy2, .copy3 {
    padding: 10px;
    width: 33%;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}


.copyTitle, .copyTitle a {
    color: #808080;
    font-size: 19px !important;
    font-weight: 700 !important;
    text-align: right !important;
}

.copyContent a {
    color: #808080;
    opacity: .7;
}

    .copyContent a, .copyContent a:link, .copyContent a:visited, .copyContent a:hover {
        font-size: 16.5px !important;
    }



.copyContent {
    text-align: right !important;
}

    .copyContent a:hover, .copyTitle a:hover {
        color: var(--master) !important;
    }

.socialBg {
    text-align: center !important;
}

.socialLogin {
    text-align: center;
    color: #5e6e7d !important;
    text-align: left !important;
    margin: 2%;
    margin-bottom: 20px;
    text-decoration: underline !important;
}

    .socialLogin:hover {
        color: var(--master) !important
    }

@media all and (max-width: 780px) {
    .copy1, .copy2, .copy3 {
        display: block;
        width: auto;
    }
    .copy1, .copy2 {
        text-align: right;
        padding:5%;
    }
    .socialLogin {
        text-align: center !important;
    }
}
