@font-face {
    font-family: 'basic';
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    src: url('font/Roboto-Regular.woff') format('woff');
    text-rendering: optimizelegibility;
    }
@font-face {
    font-family: 'headline';
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    src: url('font/Roboto-Light.woff') format('woff');
    text-rendering: optimizelegibility;
    }



:root {
    --nav-width: 220px;
    --nav-font-size: 12px;
    --loose-width: 220px;
    --gallery-thumb-width: 60px;
    --gallery-thumb-height: 60px;
    --footer-height: 44px;
    --font-size: 16px;
    --content-pad: 20px;
    --input-font-size: 14px;
    --success-rgb: 140,176,16;
    --error-rgb: 170,55,98;
    --m-rgb: 76, 143, 172;
    --w-rgb: 183, 85, 123;
    }


    @media (min-width: 1200px)  {
        :root {
            --nav-width: 300px;
            --loose-width: 300px;
            --nav-font-size: 14px;
        }
    }


    @media (max-width: 600px)  {
        :root {--font-size: 14px;}
    }

    @media (max-width: 400px)  {
        :root {--font-size: 13px;}
    }


* {
    margin: 0;
    padding: 0;
    outline: 0;
    -webkit-overflow-scrolling: touch;
    }
body {
    font-family: 'basic';
    background: #eee;
    font-size: var(--font-size);
    }



.color-m {color: rgb(var(--m-rgb)) !important;}
.color-w {color: rgb(var(--w-rgb)) !important;}
.bgcolor-m {background-color: rgb(var(--m-rgb)) !important;}
.bgcolor-w {background-color: rgb(var(--w-rgb)) !important;}

i.love::before {
    font-family: 'e2icon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f004";
    color: rgba(236,190,208,.7);
    transform: scale(.8);
    display: inline-block;
    }

small, .small {font-size: 70%;}


.hide {display: none !important;}


a {
    color: #623984;
    text-decoration: none;
    }

h1, .h1,
h2, .h2,
h3, .h3 {
    padding: 0;
    margin: 0;
    font-size: 300%;
    line-height: 100%;
    color: #555;
    font-weight: 300;
    font-family: headline;
    }
    h1, .h1 {margin: 0 0 20px 0;}
    h2, .h2 {font-size: 240%;margin: 0 0 10px 0;}
    h3, .h3 {font-size: 160%;margin: 0 0 10px 0;}

    h1 small, .h1 small {
        display: block;
        margin: 6px 0 0 0;
        font-size: 40%;
        line-height: 120%;
        }



::-webkit-input-placeholder { /* WebKit browsers */
    color:  rgba(110,110,110, .8);
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:  rgba(110,110,110, .8);
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:  rgba(110,110,110, .8);
}



input:not([type="checkbox"]):not([type="radio"]),
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: var(--input-font-size);
    transition: all 200ms, background 600ms, border 600ms;
    }

.btn,
input,
select {
    padding: 4px 6px;
    border: 1px solid transparent;
    background: rgba(0,0,0, .05);
    border-radius: 4px;
    box-sizing: border-box;
    color: #000;
    vertical-align: middle;
    }


    .btn,
    input[type="submit"] {
        background-color: #8aae0d;
        color: #fff;
        padding: 8px 20px;
        line-height: 120%;
        min-width: 28px;
        text-decoration: none;
        cursor: pointer;
        box-shadow: 2px 2px 1px rgba(0,0,0,.1);
        transition: all 200ms;
        }

        .btn:hover,
        input[type="submit"]:hover {
            background-color: #222 !important;
            color: #fff !important;
            }

        textarea:focus,
        input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
        select:focus {
            outline: 0;
            background: rgba(0,0,0, .15);
            color: #000;
            }

        select:invalid,
        input:invalid {
            background: rgba(0,0,0, .15);
            }

        select:invalid:focus,
        input:invalid:focus {
            background: rgb(var(--error-rgb)) !important;
            color: #fff !important;
            }



ul.inline-list {
    display: inline;
    margin: 0 !important;
    }
    ul.inline-list li {
        display: inline;
        padding:0;
        }
        ul.inline-list li a {
            padding: 0;
            display: inline !important;
            }



ul.edit-ul {
    width: 100%;
    box-sizing: border-box;
    }


    ul.edit-ul li{
        position: relative;
        list-style-type: none;
        padding: 6px 0px;
        border-bottom: 1px solid #ddd;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        }

        ul.edit-ul li:last-child{
            border-bottom: 0;
            }

            ul.edit-ul li > label {
                flex: 1;
                }


            ul.edit-ul li > label.image-label {
                padding-left: 50px;
                }
            ul.edit-ul ul li > label.image-label {
                padding-left: 30px;
                }


            ul.edit-ul li > label.children-label {
                min-width: 90%;
                }

            ul.edit-ul li > label.action-label {
                text-align: right;
                }

            ul.edit-ul  li  ul.edit-ul{
                padding: 8px 0 0 45px;
                }

               ul.edit-ul  li  ul.edit-ul::before{
                content: 'bu eşi ile olan çocukları';
                display: block;
                font-size: 11px;
                padding: 2px 10px;
                background: rgba(0,0,0,.02);
                border-radius: 999px;
                }
               ul.edit-ul  li  ul.edit-ul:empty::before{
                content: '';
                }

                    ul.edit-ul label small{
                        display: block;
                        min-height: 12px;
                        }

                        ul.edit-ul ul.edit-ul label small{
                            display: inline;
                            min-height: 12px;
                            }

                        ul.edit-ul ul.edit-ul [name^="addChild"] {
                            width: 48%;
                            }



                    ul.edit-ul select,
                    ul.edit-ul input,
                    ul.edit-ul .btn {
                        display: inline-block;
                        min-height: 12px;
                        padding: 4px 6px;
                        border: 0;
                        max-width: 100%;
                        min-width: 20px;
                        font-size: 12px;
                        line-height: 130%;
                        }

                    ul.edit-ul .btn {
                        background: #aaa;
                        }

                    ul.edit-ul .btn[data-ic="minus"] {
                        background: #9a6b77;
                        }


                    ul.edit-ul img {
                        width: 38px;
                        height: auto;
                        border-radius: 50%;
                        position: absolute;
                        left: 0;
                        top: 4px;

                        }

                    ul.edit-ul ul img {
                        width: 20px;
                        }

                       ul.edit-ul img.default-img {
                            opacity: .3;
                            }

                    ul.edit-ul select,
                    ul.edit-ul input {
                        width: 100%;
                        }


.image-upload-box {
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    background: none center center rgba(0,0,0,.3);
    background-size: cover;
    display: inline-block;
    vertical-align: middle;
    }

    .image-upload-box .add-new{
        background: rgba(0,0,0,.2);
        width: 100%;
        height: 100%;
        position: relative;
        opacity:0;
        transition: all 200ms;
        }


    .image-upload-box:hover .add-new{
        opacity: 1;
        }

        .image-upload-box .add-new::before{
            font-family: 'e2icon';
            content: "\f067";
            display: block;
            position: absolute;
            left: 0;top: 0;bottom:0; right: 0;
            width: 30px;
            height: 30px;
            line-height: 30px;
            font-size: 30px;
            text-align: center;
            margin: auto;
            color: #fff;
            }


    .image-upload-box input{
        position: absolute;
        left: 0; top: 0; margin: 0;
        background: black;
        width: 100%;
        height: 100%;
        z-index: 3;
        border-radius: 0;
        cursor: pointer;
        opacity: 0.0001;
        }



.editoptions {
    position: absolute;
    right: 10px;
    top: 10px;
    display: block;
    height: 40px;
    width: 40px;
    color: #fff;
    font-size: 9px;
    line-height: 10px;
    cursor: pointer;
    color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    text-align: center;
    }

            [data-ic="ellipsis-v"]::before {
                padding-top: 6px;
                line-height: 100%;
                font-size: 20px;
                display: block;
                color: #fff;
                }


        .editoptions > div {
            text-align: left;
            position: absolute;
            right: 0;top: 30px;
            width: 200px;
            height: auto;
            background: white;
            padding:10px;
            box-shadow: 1px 1px 4px rgba(0,0,0,.4);
            border-radius: 2px;
            pointer-events: none;
            opacity: 0;
            transition: all 100ms;
            }

        .editoptions:hover > div {
            pointer-events: auto;
            opacity: 1;
            }

            .editoptions > div a{
                display: block;
                padding: 5px 10px;
                margin: 0 -10px;
                font-size: 12px;
                color: #333 !important;
                }

            .editoptions > div a:hover{
                background: rgba(0,0,0,.2);
                }



.message {
    display: block;
    padding: 4px 20px;
    margin: 0 auto 1px;
    text-align: center;
    max-width: 800px;
    }
    .message.error {color:#fff;
        background: rgb(var(--error-rgb));
        }
    .message.success {color:#fff;
        background: rgb(var(--success-rgb));
        }
    .message:last-of-type {
        margin-bottom: 20px;
        }


    #content {
        margin-right: var(--loose-width);
        padding: var(--content-pad) var(--content-pad) calc(var(--footer-height) + var(--content-pad));
        transition: opacity 190ms linear 10ms, filter 200ms linear 200ms, transform 200ms linear 0ms;
        background: #eee;
        }

    body.loading #content {
        opacity: 0.01;
        transition: all 0ms;
        transform: scale(.96);
        }

    #sidebar {
        position: fixed;
        right: 0;
        top: 0;
        height: 100%;
        width: var(--nav-width);
        background: #fff;
        z-index: 10;
        transition: all 180ms;
        }

        #sidebar::after {
            content: '';
            position: absolute;
            left: -80px;
            top: 0;
            height: 100%;
            width: 80px;
            pointer-events: none;
            opacity: 0;
            background: linear-gradient(to right, transparent 0%,rgba(0,0,0,.2) 100%);
            transition: all 180ms;
            }



    body[data-navi="true"][data-sidebar-action] #content {
        opacity: .5;
        filter: blur(3px);
        }

    body[data-navi="true"][data-sidebar-action] #sidebar::after {
            opacity: 1;
            }



    body[data-navi="true"][data-sidebar-action] #content > * {
        pointer-events: none;
        }



        #sidebar-top input[name="search"] {
            display: block;
            border: 0;
            border-radius: 99999px;
            margin: 8px 8px 6px;
            width: calc(100% - 16px);
            box-sizing: border-box;
            font-size: 18px;
            line-height: 200%;
            padding: 0px 10px;
            color: #555;
            transition: all 200ms;
            border: 1px solid transparent;
            background: rgba(0,0,0,.05);
            }

            #sidebar-top input[name="search"]::-webkit-input-placeholder { /* WebKit browsers */
                color:  #ccc;
            }
            #sidebar-top input[name="search"]::-moz-placeholder { /* Mozilla Firefox 19+ */
                color:  #ccc;
            }
            #sidebar-top input[name="search"]:-ms-input-placeholder { /* Internet Explorer 10+ */
                color:  #ccc;
            }


            #sidebar-top input[name="search"]:invalid,
            #sidebar-top input[name="search"]:invalid:focus  {
                    outline-color: transparent !important;
                    border-color: transparent !important;
                    background: rgba(0,0,0,.05) !important;
                    }

            #sidebar-top input[name="search"]:focus {
                    box-shadow: 0px 0px 8px rgba(0,0,0,.1) inset;
                    }
            #sidebar-top input[name="search"]:focus:valid {
                    box-shadow: 0px 0px 8px rgba(0,0,0,.2) inset;
                    }

            #sidebar-top input[name="search"]:valid {
                    background: #ddd !important;
                    color: #444 !important;
                    outline: 0;
                    }


                #sidebar-top .filterlist {
                    display: flex;
                    align-content: stretch;
                    padding:0 1px;
                    }

                #sidebar-top label {
                    flex: auto;
                    padding: 0;
                    font-size: 16px;
                    line-height: 28px;
                    box-sizing: border-box;
                    text-align: center;
                    color: #888;
                    font-weight: bold;
                    border-radius: 2px;
                    }


                   #sidebar-top  label[data-ic="mars"] {color: rgb(var(--m-rgb));}
                   #sidebar-top  label[data-ic="venus"] {color: rgb(var(--w-rgb));}


                    #sidebar-top label:hover {
                        background: #ddd;
                        }


                        #sidebar-top label::before {
                            transition: transform 0ms linear 0ms;
                            display: inline-block;
                            }

                        #sidebar-top label[data-checked="checked"]::before {
                            transition: transform 340ms cubic-bezier(.25,.98,.64,1.43) 80ms;
                            transform: rotate(360deg);
                            }


                        #sidebar-top label[data-checked="checked"] {background: #888;color: #fff; }
                        #sidebar-top label[data-ic="mars"][data-checked="checked"] {background-color: rgb(var(--m-rgb)); }
                        #sidebar-top label[data-ic="venus"][data-checked="checked"] {background-color: rgb(var(--w-rgb)); }

                    #sidebar-top label input{
                        display: none;
                        }


            #sidebar ul {
                position: absolute;
                left: 0;
                bottom: 0;
                width: 100%;
                height: calc(100% - 81px);
                overflow: auto;
                margin: 0;
                padding: 0 0;
                box-sizing: border-box;
                list-style-type: none;
                box-sizing: border-box;
                }

/**
                #sidebar ul::after {
                    content: '';
                    display: block;
   todo FF                 clear: both;
                    height:1px;
                    }
**/
            #sidebar li {
                position: relative;
                border-bottom: 1px solid rgba(0,0,0,.1);
                margin: 0 0 0;
                font-size: var(--nav-font-size);
                }


            #sidebar li:not(.hideli):last-of-type {
                margin-bottom: 140px;
                border-bottom: 0;
                }



            #sidebar li.hideli,
            body[data-sidebar-gender="w"] #sidebar li[data-gender="m"],
            body[data-sidebar-gender="m"] #sidebar li[data-gender="w"],
            body[data-sidebar-action="child"] #sidebar li[data-father-id],
            body[data-sidebar-action="child"] #sidebar li[data-mother-id] {
                display: none;
                }

            body[data-sidebar-action] #sidebar li[data-checked="checked"] {
                display: block !important;
                }


                #sidebar a.add-new,
                #sidebar li a {
                    background: #fff;
                    padding: calc(var(--nav-font-size) * .6) calc(var(--nav-font-size));
                    display: block;
                    color: #555;
                    box-sizing: border-box;
                    min-height: 40px;
                    line-height: 130%;
                    text-decoration: none;
                    transition: all 200ms;
                    white-space: nowrap;
                    }
                #sidebar a.add-new {
                    position: absolute;
                    bottom: var(--footer-height);
                    left: 0;
                    width: 100%;
                    background: #fbe78c;
                    display: none;
                    }

                body[data-sidebar-action="child"] #sidebar a.add-new {
                    display: block;
                    }

                    #sidebar a.add-new:hover,
                    #sidebar li a:hover { background: #555; color: #fff;}
                    #sidebar li[data-gender="w"] a:hover { background: rgb(var(--w-rgb)); }
                    #sidebar li[data-gender="m"] a:hover { background: rgb(var(--m-rgb)); }


                        #sidebar li[data-gender] a::before {
                            position: absolute;
                            left: 0;
                            top: 0;
                            width: 4px;
                            height: 100%;
                            content: '';
                            display: block;
                            transition: all 200ms;
                            }

                            #sidebar li[data-gender="w"] a::before { background: rgb(var(--w-rgb)); }
                            #sidebar li[data-gender="m"] a::before { background: rgb(var(--m-rgb)); }


                        #sidebar li small {
                            display: block;
                            opacity: .6;
                            font-size: 70%;
                            line-height: 130%;
                            padding: 0 0 0 20px;
                            z-index: 5;
                            }

                           #sidebar li small.id {
                                position: absolute;
                                right: 8px;
                                bottom: 2px;
                                padding:0;
                                }

                        #sidebar li img {
                            position: absolute;
                            right: 4px;
                            top: 4px;
                            height: 24px;
                            z-index: 4;
                            border-radius: 50%;
                            }

                            body[data-navi="true"][data-sidebar-action] #sidebar li img {
                                display: none;
                                }


                        #sidebar li label {
                            position: absolute;
                            left: 0;
                            top: 0;
                            height: 100%;
                            width: 100%;
                            display: block;
                            pointer-events: none;
                            opacity: .0;
                            }

                        body[data-sidebar-action] #sidebar li label {
                            pointer-events: auto;
                            opacity: 1;
                            }

                            #sidebar li label::before {
                                font-family: 'e2icon';
                                content: "\f1db";
                                display: block;
                                position: absolute;
                                right: 18px;
                                bottom: 4px;
                                font-size: 26px;
                                color: rgba(0,0,0,.4);
                                }

                            #sidebar li[data-checked="checked"] label::before {
                                content: "\f058";
                                color: rgb(var(--success-rgb));
                                }
                            #sidebar li[data-checked="checked"][data-gender="m"] label::before {color: rgb(var(--m-rgb));}
                            #sidebar li[data-checked="checked"][data-gender="w"] label::before {color: rgb(var(--w-rgb));}

                            #sidebar li label input {
                                display: non;
                                opacity:.2;
                                }


    #nav-toggle {
        position: fixed;
        right: 14px;
        bottom: 14px;
        width: 62px;
        height: 62px;
        line-height: 62px;
        font-size: 26px;
        background: #623984;
        z-index: 20;
        text-align: center;
        color: #fff;
        border-radius: 50%;
        box-shadow: 2px 2px 6px rgba(0,0,0,.5);
        cursor: pointer;
        display: none;
        transition: all 350ms linear 500ms;
        }

        #nav-toggle::before {
            font-family: 'e2icon';
            content: '\f0ca';
            }
        body[data-navi="true"] #nav-toggle {
            background: #000;
            }
            body[data-navi="true"] #nav-toggle::before {
                content: '\f064';
                }
        body[data-navi="true"][data-sidebar-action] #nav-toggle {
            background: #8aae0d;
            display: block;
            }
            body[data-navi="true"][data-sidebar-action] #nav-toggle::before {
                content: '\f00c';
                }

    #footer {
        position: fixed;
        left:0px;
        bottom: 0px;
        width: 100%;
        box-sizing: border-box;
        z-index: 15;
        background: rgba(65,50,78,.8);
        text-align: center;
        font-size: var(--font-size);
        text-shadow: 0px -1px 0px rgba(0,0,0,.3);

        }

    #footer_inner {
        max-width: 800px;
        background: rgba(65,50,78,.1);
        margin: 0 0 0 calc(100vw / 2 - 400px);
        padding: 0px 10px;
        display: flex;
        height: var(--footer-height);
        flex-direction: row;
        }
        @media (max-width: 820px)  {
            #footer_inner {
                margin: 0;
                }
        }



        #footer .ic-btn {
            display: block;
            min-width: 44px;
            height: 100%;
            color: #fff;
            padding: 0px 5px;
            font-size: 9px;
            line-height: 10px;
            cursor: pointer;
            color: rgba(255,255,255,.6);
            position: relative;
            }

            #footer .ic-btn::before {
                padding-top: 8px;
                font-size: 20px;
                display: block;
                color: #fff;
                }


            #footer label.ic-btn::after {
                position: absolute;
                right: 5px;
                top: 5px;
                font-family: 'e2icon';
                content: "\f00c";
                background: #8aae0d;
                color: #fff;
                font-size: 8px;
                height: 14px;
                width: 14px;
                line-height: 14px;
                border-radius: 50%;
                transform: scale(.4);
                box-shadow: 1px 1px 2px rgba(0,0,0,.4);
                opacity: 0.05;
                transition: all 70ms;
                }


            #footer label.ic-btn.active::after {
                opacity:1;
                transform: none;
                }



            #footer .ic-btn:hover {
                background: rgba(255,255,255,.1);
                }

                 #footer .ic-btn input{
                    display: none;
                    }

        #footer label.ic-btn {
            background: rgba(65,50,78,1);
            }


        #footer .ic-btn[data-ic="home"] {
            background: #623984;
            }

        @media (max-width: 800px)  {

            :root {
                --loose-width: 0;
                }

            #nav-toggle {display: block;}

            #sidebar {
                right: calc(var(--nav-width) * -1 - 10px);
                }

            body[data-navi="true"] #sidebar {
                right: 0;
                }

            body[data-navi="true"] #sidebar::after {
                    opacity: 1;
                    }

            body[data-navi="true"] #content {
                opacity: .5;
                filter: blur(3px);
                }


            body[data-navi="true"] #content > * {
                pointer-events: none;
                }
        }



span[data-death] {
    text-decoration: line-through;
    }

body[data-oc] {
    background: transparent;
    }

body[data-oc] a[href^="/"]:focus {
    pointer-events: none;
    }
#elayer {background: rgba(34, 28, 40, 0.94) !important;}




#elayer_content > iframe {
    max-height: 600px !important;
    max-width: 600px !important;
    }