﻿*,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
    overflow-y: hidden;
}

body {
    height: 100%;
    width: 100%;
    margin: 0;
    background-color: #2E3349;
    overflow: hidden;
    font-family: 'Californian FB';
    font-size: 10px;
    color: #C8C8C8;
}

:root {
    --field-h: 28px;
    --combo-w: 310px;
    --drop-max-h: 250px;
}

#content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Californian FB';
    font-size: 10px;
}

#header {
    width: 100%;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    background: linear-gradient(to bottom, #153D64, #5B9BD5);
    border-bottom: 2px inset white;
    font-family: 'Berlin Sans FB Demi' !important;
    font-size: 10px;
}

#mainSquare {
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    overflow: hidden;
    font-family: 'Californian FB';
    font-size: 10px;   
    background-color: #A6CDF8;
    position: relative;
}

#footer {
    width: 100%;
    height: 25px;
    flex-shrink: 0;
    background: linear-gradient(to bottom, #153D64, #5B9BD5);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Berlin Sans FB Demi' !important;
    font-size: 10px;
}

#container {
    width: 175px;
    flex-shrink: 0;    
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 5px;
    color: #000000;    
}

#display {
    width: calc(100% - 180px);
    height: 590px;
    margin-top: 5px;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px inset white;    
    border-radius: 5px;
}

.links {
    width: 100%;
    height: 99%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;   
    border-right: 2px inset white;
    border-top: 2px inset white;
    border-radius: 8px;
    background: linear-gradient(to bottom, #153D64, #5B9BD5);
    font-family: 'Californian FB' !important;
    font-size: 12px !important;
    padding: 10px 10px;
    gap: 1px;
}

    .links a {
        width: 140px !important;
        height: 25px;
        max-height: 25px;
        display: flex;
        align-items: start;
        padding: 5px;
        justify-content: center;
        color: #000000;
        text-decoration: none;
        border: 2px inset white;
        border-radius: 5px;
        background: linear-gradient(to bottom, #FFFFFF, #D0D0D0);
        transition: background 0.3s, border-color 0.3s;
        font-family: 'Californian FB' !important;
        font-size: 12px !important;
    }

        .links a:hover {
            background-color: #2E3349;
            border-color: #A6C9EC;
            color: #A6C9EC;
        }

    .links .active {
        border: 2px inset white;
        background: linear-gradient(to bottom, #333333, #D0D0D0);
        color: #FFFFFF;
        font-weight: bold;
    }


#headMain {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

#headTop {
    width: 100%;
    height: 40%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#headBotton {
    width: 100%;
    height: 60%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.headLang {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.headSide-en {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.headSide-ar {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.englComp {
    direction: ltr;
    text-align: left;
    font-size: 1.25rem;
    font-family: 'Berlin Sans FB Demi' !important;
    font-weight: bolder;
    color: white;
}

.arabComp {
    direction: rtl;
    text-align: right;
    font-size: 1.25rem;
    font-family: 'PT Heading';
    font-weight: normal !important;
    color: white;
}

.englApps {
    direction: ltr;
    text-align: left;
    font-size: 1.00rem;
    font-family: 'Berlin Sans FB Demi' !important;
    font-weight: bolder;
}

.arabApps {
    direction: rtl;
    text-align: right;
    font-size: 0.75rem;
    font-family: 'PT Heading';
    font-weight: normal !important;
}

#Page-block {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 10px;
    border-radius: 5px;
    overflow: hidden;
    padding: 10px 10px;
}

.page-row {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 3px inset white;
    border-radius: 5px;
    padding: 5px 5px;
    gap: 5px;
}

.page-col {
    width: 100%;
    height: 100%;   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px 2px;
    color: white;
    gap: 5px;
    border-radius: 5px;
}

#controls-block {
    width: 99%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 5px 5px;
    gap: 5px;
    border: 1px inset white;
    border-radius: 5px;
}

#grid-block {
    width: 99%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 5px 5px;
    border: 1px inset white;
    border-radius: 5px;
}

.row-block {
    width: 100%;
    height: 25px !important;
    color: black;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    padding: 2px 2px;
    gap: 5px;
    border: 1px inset white;
    border-radius: 5px;
}

.IsRow {
    width: 87vw !important;
    height: 82vh !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 1px inset white;
    border-radius: 5px;
    padding: 5px 5px;
    gap: 5px;
}

.IsCol {
    width: 100% !important;
    height: 100% !important;    
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 1px 2px;
    color: white;
    gap: 5px;
    border-radius: 5px;
}


#rigt-container {
    width: 50% !important;
    height: 99% !important;
    gap: 10px;
    padding: 5px;
    border: inset 1px gray;
    border-radius: 6px;
}

#left-container {
    width: 50% !important;
    height: 99% !important;
    gap: 10px;
    padding: 5px;
    border: inset 1px gray;
    border-radius: 6px;
}

.wrapper {
    height: 86.50vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #CEE3FB;
}

.loginContainer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 5px inset white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: white;
    background-color: #A6CDF8;
    gap: 5px;
}

.WrapperA {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: self-start;
    justify-content: flex-start;
    padding: 10px;
}

.LogincontainerA {
    border-radius: 25px;
    background-color: #fff;
    width: 70vw;
    max-width: 70vw;
    height: 75vh;
    max-height: 75vh;
    padding: 15px 15px;
    border: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
}


.login-Control {
    display: block;
    width: 300px;
    max-width: 300px;
    height: 28px;
    max-height: 28px;
    padding: 5px 5px;
    font-size: 11px;
    font-weight: normal;
    color: black;
    background-color: whitesmoke;
    border: inset 1px white;
    border-radius: 5px;
}

.btn-Login, .btn-Register {
    display: block;
    width: 300px;
    height: 28px;
    font-size: 11px;
    color: white;
    padding: 2px 2px;
    border-radius: 5px;
    border-style: inset;
    margin: 1px 0;
    border: none;
    cursor: pointer;
}

.btn-Login {
    background-color: royalblue;
}

    .btn-Login:hover {
        background-color: darkorange;
    }

.btn-Register {
    background-color: forestgreen;
}

    .btn-Register:hover {
        background-color: darkorange;
    }


.BarButton {
    padding: 1px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #7FB3E6;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E6F2FF;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
    transition: all 0.2s ease-in-out;
}

.btnAddn {
    background-image: url('/Images/WebBtn/ADDN.png');
}

.btnEdit {
    background-image: url('/Images/WebBtn/EDIT.png');
}

.btnUndo {
    background-image: url('/Images/WebBtn/UNDO.png');
}

.btnSave {
    background-image: url('/Images/WebBtn/SAVE.png');
}

.btnDele {
    background-image: url('/Images/WebBtn/DELE.png');
}

.btnPrnt {
    background-image: url('/Images/WebBtn/PRNT.png');
}

.btnFind {
    background-image: url('/Images/WebBtn/FIND.png');
}

.BarButton:hover {
    background-color: #CFE6ff;
    border-color: #3399FF;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

.BarButton:active {
    background-color: #BCDCFF;
    transform: scale(0.95);
}

.BarButton.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

#btnLang {
    cursor: pointer;
    width: 36px;
    height: 36px;
    background: linear-gradient(to bottom, #5B9BD5, #2F75B5);
    color: white;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #2F75B5;
    border-radius: 6px;
}

    #btnLang:hover {
        transform: scale(1.05);
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.20);
    }


.text-control {
    display: block;
    width: 300px;
    height: 22px !important;
    max-height: 22px !important;
    padding: 5px 5px;
    font-size: 11px;
    font-weight: normal;
    font-family: 'Times New Roman', Times, serif;
    color: black;
    background-color: white;
    border: inset 1px white;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.txt-en {
    direction: ltr !important;
    text-align: left !important;
    text-transform: uppercase;
    font-family: Courier New, Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    color: #000000
}

.txt-ar {
    direction: rtl !important;
    text-align: right !important;
    font-family: 'Arabic Transparent';
    font-size: 10px;
    font-weight: normal;
    color: #000000
}

.eng-rtl {
    display: block;
    width: 480px;
    padding: 5px 5px;
    font-size: 11px;
    font-weight: normal;
    font-family: Courier New, Courier, monospace;
    color: black;
    background-color: whitesmoke;
    border: inset 1px white;
    border-radius: 5px;
    direction: ltr;
    margin: 2px 2px 2px;
    text-align: left;
    color: #000000
}

.arb-rtl {
    display: block;
    width: 480px;
    padding: 5px 5px;
    font-size: 11px;
    font-weight: normal;
    font-family: Courier New, Courier, monospace;
    color: black;
    background-color: whitesmoke;
    border: inset 1px white;
    border-radius: 5px;
    direction: rtl;
    margin: 2px 2px 2px;
    text-align: right;
    color: #000000
}

.label-control {
    display: block;
    width: 100px;
    height: 22px !important;
    max-height: 22px !important;
    padding: 5px 5px;
    font-size: 11px;
    font-family: 'Times New Roman', Times, serif;
    color: black;
    background-color: white;
    border: inset 1px white;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.label_warning {
    height: 25px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding: 5px 5px;
    color: white;
    background-color: red;
    border: inset 2px white;
    border-radius: 5px;             
    font-size: 12px;
    font-weight: bolder;
    font-family: Courier New, Courier, monospace;
}

.btn-control {
    width: 100px;
    height: 25px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 5px 5px;
    background-color: transparent;
    font-size: 12px;
    font-family: 'Times New Roman';
    font-weight: bold;
    border: 1px inset white;
    border-radius: 5px;
}

    .btn-Control:hover {
        opacity: 0.6;
    }


.btn-Block {
    width: 100%;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5px 5px;
    gap: 10px;
    border: inset 1px white;
    border-radius: 5px;
}

.img-get-control {
    display: block;
    width: 150px;
    height: 25px;
    padding: 5px 5px;
    background-color: #f8f9fa;
    border: 1px inset white;
    border-radius: 5px;
    font-size: 9px;
    text-align: center;
    cursor: pointer;
    color: #007bff;
    transition: all 0.3s ease-in-out;
}

    .img-get-control:hover {
        background-color: #e9f5ff;
        border-color: #0056b3;
        color: #0056b3;
    }

    .img-get-control:focus {
        outline: none;
        border-color: #0056b3;
        box-shadow: 0 0 5px #007bff;
    }


.radio-group {
    width: 400px;
    height: 24px;
    color: #000000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5px 5px;
    margin-left: 5px;
    margin-right: 5px;
    border: inset 1px whitesmoke;
    border-radius: 5px;
    gap: 15px;
}

.combo-control {
    width: 170px !important;
    height: 22px !important;
    border: 1px inset white;
    border-radius: 5px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 9px;
}

    .combo-control .riTextBox {
        width: 170px !important;
        height: 22px !important;
        background-color: #F5F7FA;
        color: #333333;
        border: 1px inset white;
        border-radius: 5px;
        padding: 5px 5px;
        font-family: 'Times New Roman', Times, serif;
        font-size: 9px;
    }

        .combo-control .riTextBox:hover {
            border-color: #2C6CD1;
            background-color: #FFFFFF;
        }

        .combo-control .riTextBox:focus {
            border-color: #1B4F9C;
            box-shadow: 0 0 4px rgba(27,79,156,0.4);
        }

    .combo-control .riButton {
        background-color: #4A90E2;
        border-left: 1px solid #4A90E2;
    }

        .combo-control .riButton:hover {
            background-color: #2C6CD1;
        }

        .combo-control .riButton span {
            color: #FFFFFF;
        }

.RadComboBox {
    width: 250px !important;
    height: 24px !important;
    vertical-align: top !important;
    display: flex !important;
    align-items: center !important;
    justify-content: start !important;
    font-family: 'Times New Roman', Times, serif;
    font-size: 9px;
}

    .RadComboBox .rcbInput {
        width: 250px !important;
        height: 24px !important;
        line-height: 18px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: start !important;
        font-family: 'Times New Roman', Times, serif;
        font-size: 9px;
    }

    .RadComboBox .rcbInner {
        width: 250px !important;
        height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: start !important;
        font-family: 'Times New Roman', Times, serif;
        font-size: 9px;
    }

    .RadComboBox .rcbArrowCell {
        width: 250px !important;
        height: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: start !important;
        font-family: 'Times New Roman', Times, serif;
        font-size: 9px;
    }


.text-Editor {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 12px !important;
    padding: 10px !important;
    font-family: 'Times New Roman' !important;
    font-weight: normal;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

    .text-Editor .reBottomPart {
        display: none !important;
    }

    .text-Editor .reContentCell {
        background: #FFFFFF !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .text-Editor .reContentArea {
        background: #FFFFFF !important;
        overflow-y: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .text-Editor iframe {
        background: #FFFFFF !important;
        width: 100% !important;
        display: block !important;
        border: none !important;
    }

    .text-Editor table {
        width: 100% !important;
        background: #FFFFFF !important;
        table-layout: fixed !important;
    }

    .text-Editor * {
        background: #FFFFFF !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

.text-Editor-AR {
    direction: rtl;
    background: #FFFFFF !important;
    font-family: 'Arabic Typesetting';
}

    .text-Editor-AR .reContentCell,
    .text-Editor-AR .reContentArea {
        background: #FFFFFF !important;
        direction: rtl;
    }

    .text-Editor-AR iframe {
        background: #FFFFFF !important;
        direction: rtl;
    }

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}



h1 {
    font-size: 1.75rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

h2 {
    font-size: 1.25rem;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.txt-eng {
    direction: ltr;
    text-align: left;
    font-family: 'Britannic Bold', serif;
}

.txt-arb {
    direction: rtl;
    text-align: right;
    font-family: 'PT Heading', sans-serif;
}


h3 {
    font-size: 0.75rem;
    font-family: Courier New, Courier, monospace;
    text-align: center;
    vertical-align: top;
    color: lightcyan;
}


#map {
    width: 100%;
    height: 100%;
    border: 2px solid white;
    border-radius: 5px;
    background-color: #005A9E;
}

    #map.disabled {
        pointer-events: none;
        opacity: .5;
        filter: grayscale(1);
    }

#maps-Contents {
    width: 99%;
    height: 490px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 2px inset white;
    border-radius: 5px;
    padding: 5px 5px;
    gap: 5px
}

#city-map-Sider {
    width: 50%;
    height: 470px;
    border: 2px inset white;
    border-radius: 5px;
    padding: 5px 5px;
    gap: 5px;
}

#city-map-Right {
    width: 50%;
    height: 470px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px inset white;
    border-radius: 5px;
    padding: 5px 5px;
    gap: 5px;
}


.row {
    width: 99%;
    height: auto !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: 2px inset white;
    border-radius: 5px;
    padding:5px 5px;
    gap: 5px;
}

.col {
    width: 88%;
    height: auto !important;
    margin: 5px 5px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 2px 2px;
    color: white;
    gap: 5px;
    border-radius: 5px;
}

#img-block {
    width: 10%;
    height: 160px;
    margin: 5px 5px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px 2px;
    color: white;
    gap: 5px;
    border: 1px inset white;
    border-radius: 5px;
}

.brthCombo {
    width: 123px !important;
    height: 24px !important;
    border-radius: 5px;
}

    .brthCombo .riTextBox {
        width: 123px !important;
        height: 24px !important;
        background-color: #f5f7fa; /* background */
        color: #333333; /* text color */
        border: 1px solid #4a90e2; /* border color */
        border-radius: 6px; /* rounded corners */
        padding: 6px 10px;
        font-size: 14px;
    }

        .brthCombo .riTextBox:hover {
            border-color: #2c6cd1;
            background-color: #ffffff;
        }

        .brthCombo .riTextBox:focus {
            border-color: #1b4f9c;
            box-shadow: 0 0 4px rgba(27,79,156,0.4);
        }

    .brthCombo .riButton {
        background-color: #4a90e2;
        border-left: 1px solid #4a90e2;
    }

        .brthCombo .riButton:hover {
            background-color: #2c6cd1;
        }

        .brthCombo .riButton span {
            color: #ffffff;
        }

.label-warning {
    display: block;
    width: 100%;
    height: 18px !important;
    padding: 2px 2px;
    color: white;
    background-color: red;
    border: inset 1px darkred;
    border-radius: 4px;
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bolder;
    font-family: Courier New, Courier, monospace;
}

.img_Get {
    width: 175px;
    height: 24px;
    background-color: #F8F9FA;
    font-size: 10px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    color: #007BFF;
    border: 1px inset white;
    border-radius: 5px;
    padding: 4px 4px;
    transition: all 0.3s ease-in-out;
}

    .img_Get:hover {
        background-color: #E9F5FF;
        border-color: #0056B3;
        color: #0056B3;
    }

    .img_Get:focus {
        outline: none;
        border-color: #0056B3;
        box-shadow: 0 0 5px #007BFF;
    }

.PhonCode {
    width: 120px;
    float: left;
}

.PhonText {
    width: 58%;
    height: 25px;
    float: right;
    padding: 3px 5px;
    border-radius: 5px;
    border: 2px inset white;
    font-size: 10px;
    color: black
}

.PhonNmbr {
    height: 25px;
    border-radius: 5px;
    border: 2px inset white;
    font-size: 10px;
    color: black;
}

.map-block-big {
    width: 1300px;
    height: 500px;
    border: 2px inset white;
    border-radius: 5px
}

.controls-block-css {
    width: 1300px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 5px 5px;
    color: white;
    gap: 5px;
    padding: 5px 5px;
    border: 2px inset white;
    border-radius: 5px;
}

.headLang {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.headSide-en {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.headSide-ar {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-Control {
    width: 200px;
    height: 22px;
    padding: 2px 2px;
    color: #FFFFFF;
    background-color: #2F75B5;
    border: 2px inset #FFFFFF;
    border-radius: 5px;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
}