﻿/*#content .innerContentEx {
    width: 90%;
    max-width: 96%;
}

    #content .innerContentEx .leftContent > h2 {
        width: 77.93%;
        max-width: 100%;
        margin: 0 auto 20px auto;
    }

#content .leftContentEx {
    width: 100%;
    float: none;
}

    #content .leftContentEx .structureTree {
        width: 100%;
        margin: 0 auto;
        padding: 0 0px;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    #content .leftContentEx .org-chart * {
        position: relative;
    }

    #content .leftContentEx .cf:before, #content .cf:after {
        content: " ";*/ /* 1 */
        /*display: table;*/ /* 2 */
    /*}

    #content .leftContentEx .cf:after {
        clear: both;
    }*/
/**For IE 6/7 only * Include this rule to trigger hasLayout and contain floats.*/
/*.cf {
    *zoom: 1;
    width: 100%;
    float: left;
}

#content .leftContentEx .structureTree .org-chart ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

    #content .leftContentEx .structureTree .org-chart ul a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 92%;
        min-height: 75px;
        color: #929092 !important;
        font-size: 0.8125rem;
        line-height: 1;
        text-align: center;
        font-family: 'BPG Nino Mtavruli';
        margin-bottom: -35px;
        border: 1px solid #c8c7c8;
        -webkit-transition: all linear .1s;
        -moz-transition: all linear .1s;
        transition: all linear .1s;
        padding: 0 4%;
        margin-left: -2px;
        cursor: default;
        background: #fff !important;
        overflow: hidden;
        z-index: 5;
        cursor: pointer;
    }

        #content .leftContentEx .structureTree .org-chart ul a:hover {
            background-color: #e3e3e3 !important;
        }

        #content .leftContentEx .structureTree .org-chart ul a span {
            display: inline-block;
            color: #929092 !important;
            font-size: 0.8125rem;
            line-height: 1;
            font-family: 'BPG Nino Mtavruli';
            vertical-align: middle;
            padding: 5px 2%;
            position: relative;
        }

#content .leftContentEx .structureTree .org-chart > ul > li > a {
    width: 30%;
    font-size: 0.93rem;
    line-height: 1;
    margin: 0 auto 0 auto;
}

#content .leftContentEx .structureTree .org-chart > ul > li > ul {
    width: 100%;
    padding-top: 25px;
}

    #content .leftContentEx .structureTree .org-chart > ul > li > ul:after {
        content: "";
        display: block;
        position: absolute;
        width: 90.9%;
        height: 50px;
        border-top: 2px solid #c8c7c8;
        border-right: 2px solid #c8c7c8;
        border-left: 2px solid #c8c7c8;
        margin: 0 auto;
        top: -25px;
        left: 5.3%;
    }

    #content .leftContentEx .structureTree .org-chart > ul > li > ul.forAfter:after {
        width: 93%;
    }

    #content .leftContentEx .structureTree .org-chart > ul > li > ul > li {
        width: 24%;
        float: left;
        margin-left: 1%;
        margin-bottom: 70px;
    }

        #content .leftContentEx .structureTree .org-chart > ul > li > ul > li li:after {
            content: "";
            display: block;
            position: absolute;
            width: 0;
            height: 15px;
            border-left: 2px solid #c8c7c8;
            z-index: 1;
            top: -22px;
            left: 50%;
            margin-left: -2px;
        }

        #content .leftContentEx .structureTree .org-chart > ul > li > ul > li:last-child:after,
        #content .leftContentEx .structureTree .org-chart > ul > li > ul > li:only-of-type:after {
            border-left: 0px solid #c8c7c8;
        }

        #content .leftContentEx.structureTree .org-chart > ul > li > ul > li ul {
            float: left;
            margin-left: -2px;
            margin-bottom: 20px;
        }

        #content .leftContentEx .structureTree .org-chart > ul > li > ul > li:first-of-type:before,
        #content .leftContentEx .structureTree .org-chart > ul > li > ul > li:last-of-type:before {
            display: none;
        }

        #content .leftContentEx .structureTree .org-chart > ul > li > ul > li:before {
            content: "";
            display: block;
            position: absolute;
            width: 0;
            height: 50px;
            border-left: 2px solid #c8c7c8;
            z-index: 1;
            top: -50px;
            left: 48%;
            margin-left: -2px;
        }

#content .leftContentEx .department > ul {
    margin-top: 0px;
    margin-bottom: 0px;
}

#content .leftContentEx .structureTree .org-chart > ul > li > ul > li li {
    width: 100%;
}*/

/*ვცადე ბიძის და შვილის გადაფარვის პრობლემა*/
/*#content .leftContentEx .structureTree .org-chart > ul > li > ul > li > ul > li:first-child > a {
    margin-top: 65px;
    margin-bottom: -35px;
    width: 100%;
    min-height: 80px;
    padding: 15px 0;
    vertical-align: middle;
}

#content .leftContentEx .structureTree .org-chart > ul > li > ul > li > ul > li:not(:first-child) > a {
    margin-top: 30px;
    margin-bottom: 0;
    width: 100%;
    min-height: 80px;
    padding: 15px 0;
    vertical-align: middle;
}

#content .leftContentEx .structureTree .org-chart > ul > li > ul > li > ul > li ul li a {
    margin-top: 30px;
    margin-bottom: 0;
    width: 100%;
    min-height: 80px;
    padding: 15px 0;
    vertical-align: middle;
}*/

/*Structure pop-up*/

/* Dark background behind the popup (shown/hidden by JS) */
/*#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    cursor: pointer;
}

.mainPop {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 10px 20px 20px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 900px;
    max-width: calc(100vw - 32px);
    max-height: 90vh;
    overflow-y: auto;
}
.mainPop .popClose{
    display: flex;
    justify-content: flex-end;
    position: sticky;
    top: -10px;
    background: #fff;
    padding-top: 10px;
    margin-bottom: 10px;
    z-index: 2;
}

    .mainPop .popClose button {
        position: relative;
        width: 48px;
        height: 48px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        font-size: 0;*/ /* hides the × character, the lines below draw the cross */
        /*cursor: pointer;
        transition: background-color 0.2s ease;
    }*/

        /* the two lines of the cross */
        /*.mainPop .popClose button::before,
        .mainPop .popClose button::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 30px;*/ /* length of each line = size of the cross */
            /*height: 3px;*/ /* thickness of the lines */
            /*background: #818181;*/ /* grey */
            /*border-radius: 2px;
            transition: background-color 0.2s ease;
        }

        .mainPop .popClose button::before {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .mainPop .popClose button::after {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

        .mainPop .popClose button:hover,
        .mainPop .popClose button:focus-visible {
            background: #F0F0F0;
        }

            .mainPop .popClose button:hover::before,
            .mainPop .popClose button:hover::after,
            .mainPop .popClose button:focus-visible::before,
            .mainPop .popClose button:focus-visible::after {
                background: #464646;
            }*/

    /* Close button row stays visible while scrolling long text */
    /*.mainPop > div:first-child {
        position: sticky;
        top: -10px;
        background: #fff;
        padding-top: 10px;
        z-index: 2;
    }

    .mainPop .popUpFlex {
        display: flex;
        width: 100%;
    }

        .mainPop .popUpFlex .popupImage {
            display: flex;
            width: 300px;
            height: 300px;
            flex-shrink: 0;
            position: relative;
            justify-content: center;
            align-items: center;
            background: url('../images/ertinophoto.jpg') no-repeat center center;
            background-size: 80%;
        }

            .mainPop .popUpFlex .popupImage img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .mainPop .popUpFlex .popupImage:after {
                content: '';
                display: block;
                width: 1px;
                height: 80%;
                border-right: 1px solid rgba(0,0,0,0.6);
                position: absolute;
                right: -20px;
            }

        .mainPop .popUpFlex .popupText {
            display: flex;
            flex-direction: column;
            flex: 1;
            flex-wrap: nowrap;
            margin-left: 50px;
            min-width: 0;
        }

.popParagraph {
    display: block;
    font-size: 0.87em;
    color: #424142;
    line-height: 1.5;
    font-family: 'DejaVu Sans' !important;
    margin-top: 40px;
    overflow-wrap: break-word;
}

    .popParagraph p {
        margin-bottom: 10px;
    }

.mainPop .popUpFlex .popupText h4 {
    display: block;
    width: 100%;
    font-family: 'BPG Nino Mtavruli';
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}*/

/* Tablets: smaller photo, less spacing */
/*@media (max-width: 1000px) {
    .mainPop .popUpFlex .popupImage {
        width: 220px;
        height: 220px;
    }

    .mainPop .popUpFlex .popupText {
        margin-left: 30px;
    }

    .mainPop .popUpFlex .popupImage:after {
        right: -15px;
    }

    .popParagraph {
        margin-top: 20px;
    }
}*/

/* Phones: photo on top, text below */
/*@media (max-width: 750px) {
    .mainPop {
        padding: 10px 14px 16px 14px;
        max-height: 92vh;
    }

        .mainPop .popUpFlex {
            flex-direction: column;
        }

            .mainPop .popUpFlex .popupImage {
                width: 100%;
                height: 220px;
            }

                .mainPop .popUpFlex .popupImage:after {
                    display: none;
                }

            .mainPop .popUpFlex .popupText {
                margin-left: 0;
                margin-top: 16px;
            }

    .popParagraph {
        margin-top: 12px;
        font-size: 0.9em;
    }
}*/

/* =========================================================
   Kendo editor content inside the Structure popup.
   Restores formatting removed by reset.css.
   #popup (ID) makes these rules win over the reset.
   ========================================================= */

/* Inline formatting */
/*#popup .popParagraph em,
#popup .popParagraph i {
    font-style: italic;
}

#popup .popParagraph strong,
#popup .popParagraph b {
    font-weight: bold;
}

#popup .popParagraph u {
    text-decoration: underline;
}

#popup .popParagraph s,
#popup .popParagraph strike,
#popup .popParagraph del {
    text-decoration: line-through;
}

#popup .popParagraph sub {
    vertical-align: sub;
    font-size: smaller;
}

#popup .popParagraph sup {
    vertical-align: super;
    font-size: smaller;
}*/

/* Lists */
/*#popup .popParagraph ul,
#popup .popParagraph ol {
    display: block;
    margin: 0 0 10px 0;
    padding-left: 2em;
}

#popup .popParagraph ul {
    list-style: disc;
}

#popup .popParagraph ol {
    list-style: decimal;
}

#popup .popParagraph li {
    display: list-item;
    margin-bottom: 4px;
}*/

    /* Nested lists */
    /*#popup .popParagraph li ul,
    #popup .popParagraph li ol {
        margin: 4px 0 0 0;
    }

#popup .popParagraph ul ul {
    list-style: circle;
}

#popup .popParagraph ol ol {
    list-style: lower-alpha;
}*/

/* Links */
/*#popup .popParagraph a {
    text-decoration: underline;
    color: #E1001B;
}

    #popup .popParagraph a:hover {
        text-decoration: none;
    }*/


/* Page can't scroll while the popup is open (class set by JS) */
/*html.popup-open,
body.popup-open {
    overflow: hidden;
}*/
/*============================ for protected area detail page ===============================*/
strong, b {
    font-weight: bold;
}
