:root 
{
  --telegram-color: #30a7de; 
}

.ltr
{
    direction: ltr;
    text-align: left;
}

.rtl 
{ 
    direction: rtl; 
    text-align: right; 
}

.bidi-ltr
{
    direction: ltr;
    unicode-bidi: embed;
}

    .rtl .bidi-ltr { text-align: right; }

.rtl .fld-ltr
{
    direction: ltr;
    text-align: right;
}

.rtl .linkicon { padding-left: 0.3em; }
.ltr .linkicon { padding-right: 0.3em; }

.rtl .floatopp { display:inline-block; float: left; }
.ltr .floatopp { display:inline-block; float: right; }

.left { text-align: left; }
.ltr .align { text-align: left; }
.ltr .align { text-align: left; }

.rtl .alignopp { text-align: left; }
.ltr .alignopp { text-align: right; }

.rtl .pr { padding-right: 0.6em; }
.ltr .pr { padding-left: 0.6em; }

.rtl .spaceback { padding-right: 0.4em; }
.ltr .spaceback { padding-left: 0.4em; }

.rtl .spacebacksmall { padding-right: 0.3em; }
.ltr .spacebacksmall { padding-left: 0.3em; }

.rtl .spacebackverysmall { padding-right: 0.1em; }
.ltr .spacebackverysmall { padding-left: 0.1em; }

.blockquote { display: block; }
.rtl .blockquote { margin-right: 0.8em; }
.ltr .blockquote { margin-left: 0.8em; }



html,
body
{
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
}

body
{
    background:
        radial-gradient(#f5f5f5 3px, transparent 4px),
        radial-gradient(#f5f5f5 3px, transparent 4px),
        linear-gradient(#fff 4px, transparent 0),
        linear-gradient(45deg, transparent 74px, transparent 75px, #e4e4e4 75px, #e4e4e4 76px, transparent 77px, transparent 109px),
        linear-gradient(-45deg, transparent 75px, transparent 76px, #e4e4e4 76px, #e4e4e4 77px, transparent 78px, transparent 109px),
        #fff;
        background-size: 109px 109px, 109px 109px,100% 6px, 109px 109px, 109px 109px;
        background-position: 54px 55px, 0px 0px, 0px 0px, 0px 0px, 0px 0px;
}

    body b, 
    body .bold 
    { 
        font-weight: 600; 
    }
    
    body.ltr 
    { 
        font-family:  'Mada', sans-serif; 
    }
    
    body.rtl 
    { 
        font-family:  'Assistant', sans-serif; 
    }
    

a,
.link
{
    color: #155db3;
    cursor: pointer;
    text-decoration: none;
}

a:hover,
a:focus,
.link:hover,
a.underline
{
    text-decoration: underline !important;
}

    .menu a
    {
        /*text-decoration: underline;*/
    }
    
    .menu a:hover,
    .menu a:focus
    {
        background-color: #eee !important;
        /*text-decoration: underline !important;*/
    }
    
    .menu a.bg-grey
    {
        background-color: #eee !important;
    }
    


.no-link
{
    color: black;
}

.no-link:hover
{
    text-decoration: none;
}

    .fa.link:hover
    {
        text-decoration: none;
    }

a:focus { outline: 0; text-decoration: none; }

#intro a, 
#intro-editor a,
#poll-questions a:not(.link), /* the 'not' intends to display the add-question link with the regular link design */
#poll-questions-for-edit a:not(.link), /* the 'not' intends to display the add-question link with the regular link design */
.editor a 
{ 
    text-decoration: underline; 
}

    #intro a:hover,
    #intro-editor a:hover,
    #poll-questions a:not(.link):hover,
    #poll-questions-for-edit a:not(.link):hover,
    .editor a:hover
    {
        text-decoration: none !important;
        border-bottom: 2px dashed;
    }

a img
{
    border: none;
}

.italic
{
    font-style: italic;
}

.fader
{
    color: #bbb !important;
}

.fade,
.fade *,
a.fade
{
    color: #999 !important;
}

.white
{
    color: white !important;
}

.black
{
    color: black !important;
}

.grey
{
    color: #666 !important;
}

.bg-grey
{
    background-color: #f5f5f5 !important;
}

.lightgrey
{
    color: #ccc !important;
}

.crimson-red
{
    color: #DC143C !important;
}

.red
{
    color: red !important;
}

.red-border
{
    border: 2px solid red !important;
}

.blue
{
    color: #2196F3 !important;
    opacity: 0.9;
}

.navy-blue
{
    color: #0D47A1 !important;
}

.orange
{
    color: #fd7e14 !important;
}

.purple
{
    color: #6A1B9A !important;
}

.green
{
    color: green !important;
}

.stark-green
{
    color: #18b814 !important;
}

.yellow
{
    color: yellow !important;
}

.highlight
{
    background-color: yellow;
    padding: 0.2em 0.6em;
}

    .highlight.no-padding
    {
        background-color: yellow;
        padding: 0;
    }


    p.highlight, div.highlight
    {
        padding: 0.6em 0.6em;
    }

    p.small.highlight,
    div.small.highlight
    {
        padding: 0.2em 0.6em;
    }
    
.line
{
    margin: 3.3em 0 0.5em 0;
    padding-bottom: 0.2em; 
    border-bottom: 1px solid #000;
}

.err
{
    color: black;
    margin: 1.3em auto 1.8em auto !important;
    display: none;
}
    .err.pad
    {
        padding: 0 4%;  
    }

.hidden
{
    display: none;
}

.user-name
{
    display: none;
}

.center,.center *
{
    text-align: center !important;
}

.alignleft
{
    text-align: left !important;
}

.justify
{
    text-align: justify;
}

.middle
{
    vertical-align: middle;
}

.bottom
{
    vertical-align: bottom;
}

.underline
{
    text-decoration: underline !important;
}

.lightsmall
{
    font-size: 0.9em;
    line-height: 1.2em;
}

.small
{
    font-size: 0.8em;
    line-height: 1.2em;
}

    p.small
    {
        /*margin-bottom: 0.3em !important;*/
    }

.smaller
{
    font-size: 0.6em;
    line-height: 1.1em;
}

.tiny
{
    font-size: 0.5em;
    line-height: 1.1em;
}

.slarge
{
    font-size: 1.1em;
}

.large
{
    font-size: 1.2em;
}

.big
{
    font-size: 1.4em;
    line-height: 1.2em;
}

.bigger
{
    font-size: 1.8em;
    line-height: 1.2em;
}

.huge
{
    font-size: 2.3em;
    line-height: 1.5em;
}

.enormous
{
    font-size: 4em;
    line-height: 1.6em;
}

.line-thru
{
    text-decoration: line-through;
}

img
{
    max-width: 100%;
}

.logo-max-height
{
    max-height: 6em;
}


.font-logo
{
    font-family: 'Exo 2', sans-serif;
}

.logo-check
{
    display: inline-block;
    position: relative;
    top: 0.05em;
}
    
    .rtl .logo-check
    {
        margin-right: 0.2em;
    }
        
.telegram-color
{
    color: var(--telegram-color);
}

.icon
{
    display: inline-block;
    width: 1.2em;
}

.faicon
{
    display: inline-block;
    width: 1.9em;
}

.contact
{
    display: inline-block; 
    direction: ltr;
}

.move 
{
    cursor: move;
}

.rtl .space { padding-left: 0.5em; }
.ltr .space { padding-right: 0.5em; }


.rtl .small-space { padding-left: 0.2em; }
.ltr .small-space { padding-right: 0.2em; }

.rtl .very-small-space { padding-left: 0.1em; }
.ltr .very-small-space { padding-right: 0.1em; }

.rtl .fa.spaceback { padding-right: 0.8em; }
.ltr .fa.spaceback { padding-left: 0.8em; }

.rtl .fa.small-spaceback { padding-right: 0.5em; }
.ltr .fa.small-spaceback { padding-left: 0.5em; }

button.space { display: inline-block; }
.rtl button.space { margin-left: 0.1em; }
.ltr button.space { margin-right: 0.1em; }

.fit-content
{
    width: fit-content;
}

.inline-block
{
    display: inline-block; 
}

.width-2em{ width: 2em; } .width-3em{ width: 3em; } .width-4em{ width: 4em; } .width-5em{ width: 5em; } .width-6em{ width: 6em; } .width-7em{ width: 7em; } .width-8em{ width: 8em; }

.line-height-tiny { line-height: 0.5em; }
.line-height-small { line-height: 1em; }
.line-height-big { line-height: 2.6em; }

.margin-auto
{
    margin-right: auto;
    margin-left: auto;
}


.slide
{
    margin: 2em 0 0 0;
    padding: 1.6em 1em 1.3em 1em;
}



.flex
{
    display: flex;
    align-items: flex-start; /* Aligns items at the top */
    flex-wrap: wrap; /* Ensures everything stays on the same line and wraps if necessary */
}

.align-vertically
{
    align-items: center;
}

.block
{
    display: block;
    margin-top: 0.6em;
}

.number
{
    display: inline-block;
    font-size: 1.1em;
    font-weight: 500;
    padding: 0 0.2em;
    background-color: white;
    border: 1px solid #bbb;
}

    .number.highlight
    {
        background-color: yellow;
    }

.h2question
{
    margin-top: 5em !important;
}

.poll-img
{
    display: block;
    margin: 2em auto 5em auto;
    max-width: 100%;
}

#box-qn-editor h3 
{
    margin: 3em 0 0 0;
}

.qfeatures
{
    margin: 0 0 1em 0;
}

.bar
{
    display: inline-block; 
    margin: 0.15em 0 0.6em 0;
    height: 1em; 
    background-color: green;
}

    .bar.color-max
    {
        background-color: #2679ff;
    }
    
    .w-1 {width: 1%;} .w-2 {width: 2%;} .w-3 {width: 3%;} .w-4 {width: 4%;} .w-5 {width: 5%;} .w-6 {width: 6%;} .w-7 {width: 7%;} .w-8 {width: 8%;} .w-9 {width: 9%;} .w-10 {width: 10%;} .w-11 {width: 11%;} .w-12 {width: 12%;} .w-13 {width: 13%;} .w-14 {width: 14%;} .w-15 {width: 15%;} .w-16 {width: 16%;} .w-17 {width: 17%;} .w-18 {width: 18%;} .w-19 {width: 19%;} .w-20 {width: 20%;} .w-21 {width: 21%;} .w-22 {width: 22%;} .w-23 {width: 23%;} .w-24 {width: 24%;} .w-25 {width: 25%;} .w-26 {width: 26%;} .w-27 {width: 27%;} .w-28 {width: 28%;} .w-29 {width: 29%;} .w-30 {width: 30%;} .w-31 {width: 31%;} .w-32 {width: 32%;} .w-33 {width: 33%;} .w-34 {width: 34%;} .w-35 {width: 35%;} .w-36 {width: 36%;} .w-37 {width: 37%;} .w-38 {width: 38%;} .w-39 {width: 39%;} .w-40 {width: 40%;} .w-41 {width: 41%;} .w-42 {width: 42%;} .w-43 {width: 43%;} .w-44 {width: 44%;} .w-45 {width: 45%;} .w-46 {width: 46%;} .w-47 {width: 47%;} .w-48 {width: 48%;} .w-49 {width: 49%;} .w-50 {width: 50%;} .w-51 {width: 51%;} .w-52 {width: 52%;} .w-53 {width: 53%;} .w-54 {width: 54%;} .w-55 {width: 55%;} .w-56 {width: 56%;} .w-57 {width: 57%;} .w-58 {width: 58%;} .w-59 {width: 59%;} .w-60 {width: 60%;} .w-61 {width: 61%;} .w-62 {width: 62%;} .w-63 {width: 63%;} .w-64 {width: 64%;} .w-65 {width: 65%;} .w-66 {width: 66%;} .w-67 {width: 67%;} .w-68 {width: 68%;} .w-69 {width: 69%;} .w-70 {width: 70%;} .w-71 {width: 71%;} .w-72 {width: 72%;} .w-73 {width: 73%;} .w-74 {width: 74%;} .w-75 {width: 75%;} .w-76 {width: 76%;} .w-77 {width: 77%;} .w-78 {width: 78%;} .w-79 {width: 79%;} .w-80 {width: 80%;} .w-81 {width: 81%;} .w-82 {width: 82%;} .w-83 {width: 83%;} .w-84 {width: 84%;} .w-85 {width: 85%;} .w-86 {width: 86%;} .w-87 {width: 87%;} .w-88 {width: 88%;} .w-89 {width: 89%;} .w-90 {width: 90%;} .w-91 {width: 91%;} .w-92 {width: 92%;} .w-93 {width: 93%;} .w-94 {width: 94%;} .w-95 {width: 95%;} .w-96 {width: 96%;} .w-97 {width: 97%;} .w-98 {width: 98%;} .w-99 {width: 99%;} .w-100 {width: 100%;}
    
.options,
ul.results
{
    padding: 1.7em 2em 1em 2em; 
    margin: 1.3em 0 2.5em 0; 
    background-color: #f0f0f0;
    border: 1px solid #eee;
}

    .rtl .options label { padding: 0 0.3em 0 0; }
    .ltr .options label { padding: 0  0 0 0.3em; }
    
.box-link
{
    margin: 0.8em 0 0.6em 0;
    padding: 0.3em 0.5em 0.5em 0.5em; 
    direction: ltr;
    text-align: left;
    background-color: #f5f5f5;
    border: 1px solid #eee;
}

    .box-link a
    {
        color: #155db3 !important;
        text-decoration: underline;
    }

    .box-link a span:not(.fa)
    {
        padding: 0 0.4em 0 0;
    }

/*
//
// Input
//
*/
input,
select,
textarea,
.editor
{
    font-family:  'Assistant', sans-serif;
    color: #333;
    padding: 0.4em 0.8em;
    border: 1px solid #999;
    background-color: white;
    width: 100%;
    box-sizing: border-box;
}

.ltr input,
.ltr select,
.ltr textarea
{
    font-size: 1em;
}

.rtl input,
.rtl select,
.rtl textarea
{
    font-size: 0.9em;
}


    .editor
    {
        font-size: 1em;
    }
    
    input.short,
    select.short
    {
        max-width: 65% !important;
    }
    
    input.very-short,
    select.very-short
    {
        max-width: 55% !important;
    }
    
    input.w-auto,
    select.w-auto
    {
        width: auto !important;
    }
    
    input.w10em,
    select.w10em
    {
        width: 10em !important;
    }
    
    .low input,
    .low select
    {
        display:inline-block; 
        margin-top:0.2em; 
        padding: 0.2em 0.4em;
    }
    
    .rtl input.ltr { direction: ltr; text-align: right; }
    
    input.field-as-text
    {
        width: 5em; 
        height: 1em; 
        padding: 0; 
        font-size: 1em; 
        color: black; 
        border: none; 
        background-color: transparent;
    }
    
    
    select.menu
    {
        margin: 3em 0 0.9em 0; 
        padding: 0.4em; 
        
        font-size: 1em;
        font-weight: 600; 
        
        border: 2px solid #f0f0f0; 
        background-color: #f5f5f5;
    }

    input[type="radio"] + label,
    input[type="checkbox"] + label
    { 
        cursor: pointer;
        display: inline;
        margin: 0 0.3em 0.2em 0.3em;
    }

    input.date,
    select.date
    {
        display: inline-block;
    }
    
    .rtl input.date, .rtl select.date
    { margin-left: 1em; }
    
    .ltr input.date, .ltr select.date
    { margin-right: 1em; }
    
    input.time,
    select.time
    {
        display: inline-block;
    }
    
    textarea.full-width
    {
        max-width: 100% !important;
    }
    
    input[type=radio],
    input[type=checkbox]
    {
        width: unset;
    }

    input[type=radio].upscale,
    input[type=checkbox].upscale
    {
        transform: scale(1.6);
    }
    
    .checked,
    input[type="radio"]:checked + label:not(.do-not-highlight),
    input[type="checkbox"]:checked + label:not(.do-not-highlight)
    { 
        background-color: #ddd !important;
        padding: 0 0.3em 0.1em 0.3em;
    }
    
    .radio
    {
        display: inline-block;
        min-width: 1.2em;
        text-align: center;
        margin: 0.4em 0 0 0;
        padding: 0 0.4em 0.15em 0.4em;
        background-color: #f5f5f5;
        cursor: pointer;
        color: black;
    }
    
    .radio:focus
    {
        background-color: #ccc !important;
        font-weight: unset;
    }
    
        .radio.selected
        {
            background-color: #ddd;
        }
        
    input[type="time"]::-webkit-calendar-picker-indicator 
    {
        display: none;
    }

input:not([type=checkbox]):not([type=radio]):focus,
select:focus,
textarea:focus
{
    border: 2px solid #aaa;
    outline: 0px solid #ccc;
}

.editor:focus
{
    border: 2px solid #aaa;
    outline: 0px solid #ccc;
}

input.error,
select.error,
textarea.error,
div.error
{
    border: 2px solid red;
}

input[type=checkbox].error,
input[type=radio].error
{
    outline: 2px solid red;
}

.err-msg-field
{
    color: red;
    font-size: 1em;
    line-height: 1.2em;
    display: inline-block;
    margin-top: 0.4em;
}

label
{
     display: block; 
     margin-bottom: 0.4em;
     line-height: 1.1em;
     font-size: 1em;
}

    input+label
    {
        display: inline;
    }
    

.flex-between
{
    display: flex; 
    justify-content: space-between;
}

.buttons
{}
    
    body.ltr .buttons button:not(:last-child) 
    {
        margin-left: 0; 
        margin-right: 0.2em; 
    }
    
    body.rtl .buttons button:not(:last-child) 
    {
        margin-right: 0;
        margin-left: 0.2em;
    }

button
{
    height: 2.6em;
    padding: 0 1em;
    background-color: #eee;
    border: 1px solid #ccc;
    outline: 0;
    font-size: 0.87em;
    cursor: pointer;
    border-radius: 0.2em;
    color: black;
}

    .ltr button { font-size: 1em; }
    .rtl button { font-size: 0.87em; }

    .bg-grey button:not(.btn-icon)
    {
        background-color: #d3d3d3;
        font-color: #333333;
    }

        .bg-grey button:not(.btn-icon):hover
        {
            background-color: #bfbfbf;
        }
    
    button.low
    {
    }
    
        button.low *
        {
            font-size: 0.9em;
        }

    /*
    Even though I define a different background color for every focused button (which is the same as `hover`).
    there is a need for better enancement of the focused button, since the mouse is not involved, and therefore
    does not point to the focused button.
    */
    button:focus
    {
        box-shadow: 0 0 0 3px #FFA50080; /* the 80 in the end is Hex for 50% transparency */
    }

        button.important:focus
        {
            box-shadow: 0 0 0 3px #4A9FF580; /* A lighter blue with 50% transparency */
        }
    
        button.bg-green:focus
        {
            box-shadow: 0 0 0 3px #6FDA7580; /* A lighter green with 50% transparency */
        }
    
    button:hover, button:focus
    {
        background-color: #ddd;
        border: 1px solid #bbb;
    }

    button.low
    {
        height: 2.3em;
        padding: 0 0.8em;
    }
    
    button.important
    {
        color: #f5f5f5;
        background-color: #155db3 !important;
    }
    
        button.important:hover,
        button.important:focus
        {
            background-color: #1e70d1 !important;
        }
        

    button.bg-red 
    {
        background-color: #d9534f !important;
        color: white;
    }
    
        button.bg-red:hover,
        button.bg-red:focus
        {
            background-color: #d32f2f !important;
        }

    button.bg-green 
    {
        background-color: #35a13c !important;
        border-color: #33963a;
        color: white;
    }

        button.bg-green:hover,
        button.bg-green:focus
        {
            font-weight: 600;
        }
    
    button.green 
    {
        color: #18b814 !important;
    }

    button.fade 
    {
        background-color: #eee;
        color: #aaa !important;
    }

        button.fade:hover,
        button.fade:focus
        {
            border: 2px dashed #bbb !important;
        }
    
    button.disabled
    {
        color: #aaa;
    }
    
        button.icon.hidden
        {
            display: none !important;
        }
        
        button.icon *
        {
            font-size: 0.9em;
        }
    
        button.icon.space
        {
            margin-left: 0.3em;
        }
        
.button {
    display: inline-block;
    padding: 0.625em 1.25em; /* Equivalent to 10px 20px in most cases */
    background-color: #007BFF;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 0.3125em; /* Equivalent to 5px */
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

    .button:hover 
    { 
        background-color: #0056b3; 
        color: white;
        text-decoration: none !important;
    }



p.important,
span.important
{
    color: #116cff;
    font-weight: 600;
}
    

.editor
{
    min-height: 5em;
}

.qn-btns
{
    position: relative; 
    bottom: 0.1em;
}

.btn-icon
{
    display: inline-block;
    font-size: 0.7em;
    width: 2.3em;
    height: 2.3em;
    padding: 0;
    text-align: center;
    vertical-align: top;
    text-decoration: none;
    background-color: #f5f5f5;
    color: black;
    border: 1px solid #999;
}

    .ltr .btn-icon { margin: 0 0.1em 0 0; }
    .rtl .btn-icon { margin: 0 0 0 0.1em; }
    
        h2 .btn-icon  /* Question editor button-s */
        { 
            font-size: 0.7em;
            width: 1.7em; 
            height: 1.7em; 
        }
            
        .ltr h2 .btn-icon { margin: 0 0 0 0.4em; }
        .rtl h2 .btn-icon { margin: 0 0.4em 0 0; }


    .btn-icon:hover
    {
        border: 1px solid #999;
        background-color: white;
    }


.fa.btn
{
    display: inline-block;
    border-radius: 100%;
    padding: 0.3em 0.42em;
    text-align: center;
    vertical-align: top;

    color: white;
    background-color: #116cff;
    border: none;
    text-decoration: none;
}

    .rtl .fa.btn { margin-left: 0.6em; }
    .ltr .fa.btn { margin-right: 0.6em; }
    .fa.btn.no-margin { margin-left: 0; margin-right: 0; }

    .fa.btn:hover
    {
        color: white;
        background-color: #2879fc;
        text-decoration: unset !important;
    }

    .fa.btn.black
    {
        color: white !important;
        background-color: #000;
    }

    .fa.btn.disabled
    {
        color: white;
        background-color: #ccc;
    }

table
{
    border: 1px solid #d0d0d0;
    border-collapse: collapse;
    margin: 0.8em 0 1em 0;
}

    table.full-width
    {
        width: 100%;
    }
    
    table.min-width
    {
        width: auto;
        table-layout: auto;
    }
    
    thead.collapse
    {
        visibility: collapse; 
    }
    
    td,th
    {
        vertical-align: top;
        border: 1px solid #d0d0d0;
        padding: 0.5em 0.5em 0.5em 0.5em;
        overflow: break-word !important;
    }
    
    th td { font-weight: 600; }

    td.center,th.center
    {
        text-align: center !important;
    }
    
    th
    {
        border-bottom-width: 2px; 
    }
    
    table.no-borders,
    table.no-borders td,
    table.no-borders th
    {
        border: none;
    }
    
    td .fa
    {
        padding-top: 0.22em;
    }
    
    tr.highlight
    {
        background-color: #f0f0f0;
    }
    
    tr.yellow
    {
        background-color: yellow;
    }
    
    table.transparent
    {
        border: 0;
        margin: 0;
    }

        table.transparent td,
        table.transparent th
        {
            border: 0;
            font-size: 1em;
            padding: 0.5em 0.1em 0.5em 0.1em;
            line-height: 1.15em;
        }
        
    tr.border-top
    {
        border-top: 2px solid black;
    }
    
h1
{
    margin: 1.3em 0 1em 0;
    padding: 0;
    font-weight: 400;
    color: black;
    text-align: center;
    line-height: 1.3em;
}

    h1 .small
    {
        font-size: 0.7em;
    }

h2
{
    margin: 2em 0 0.5em 0;
    padding: 0;
    font-size: 1.3em;
    font-weight: 400;
    line-height: 1.1em;
    color: black;
}


h3
{
    margin: 2em 0 0.5em 0;
    padding: 0;
    clear: both;
}

    .ltr h3  { font-size: 1em; font-weight: 500; line-height: 1.4em; }
    .rtl h3  { font-size: 1.2em; font-weight: normal; line-height: 1.3em; }


    p.line,
    h2.line,
    h3.line
    {
        margin-bottom: 0.7em;
        padding: 0 0 0.3em 0; 
        border-bottom: 1px solid #777;
    }

    p.first,
    h1.first,
    h2.first,
    h3.first,
    h4.first
    {
        margin-top: 0 !important;
    }

    h1+h2,
    h1+h3
    {
        margin-top: 1.7em !important;
    }

p,
.p
{
    display: block;
    margin: 0 0 0.5em 0;
    padding: 0;
    font-size: 1em;
    line-height: 1.25em;
    clear: both;
}

.ltr p, .ltr .p
{
    line-height: 1.4em;
}

    .pt
    {
        padding-top: 1.3em !important;
    }
    
    .pd
    {
        padding-bottom: 0.3em !important;
    }
    
    .mt-1    
    {
        margin-top: -0.8em !important;
    }

    .mt0
    {
        margin-top: 0 !important;
    }

    .mtsmaller
    {
        margin-top: 0.2em !important;
    }

    .mtsmall
    {
        margin-top: 0.4em !important;
    }

    .mtlightsmall
    {
        margin-top: 0.8em !important;
    }

    .mt
    {
        margin-top: 1.3em !important;
    }

    .mt15
    {
        margin-top: 2.1em !important;
    }

    .mt1
    {
        margin-top: 2.6em !important;
    }

    .mt1-2
    {
        margin-top: 3.2em !important;
    }

    .mt2
    {
        margin-top: 4em !important;
    }

    .mt3
    {
        margin-top: 7em !important;
    }

    .mb0
    {
        margin-bottom: 0 !important;
    }
    
    .mbtiny
    {
        margin-bottom: 0.2em !important;
    }
    
    .mbsmaller
    {
        margin-bottom: 0.4em !important;
    }
    
    .mbsmall
    {
        margin-bottom: 0.8em !important;
    }
    
    .mb
    {
        margin-bottom: 1.3em !important;
    }
    
    .mb1
    {
        margin-bottom: 1.6em !important;
    }
    
    .mb2
    {
        margin-bottom: 2.3em !important;
    }
    
    .mb3
    {
        margin-bottom: 3.6em !important;
    }
    
    .mb4
    {
        margin-bottom: 5.6em !important;
    }
    
    .mb5
    {
        margin-bottom: 7em !important;
    }
    
    .mb-min-1
    {
        margin-bottom: -1.5em !important;
    }
    
    .block-tight-lines
    {
        display: block;
        margin-top: 0.7em;
        line-height: 1em !important;
    }
    
    p.table-title
    {
        text-align: center; 
        margin: 2em 0 0.5em 0; 
        font-size: 0.9em; 
        font-weight: 600;
    }
    
    .m0
    {
        margin: 0 !important;
    }

    p.table-count
    {
        margin: 1.5em 0 0.5em 0;
        font-size: 0.8em;
    }

span.mt
{
    display: inline-block; 
    margin-top: 0.6em;
}

li
{
    margin: 0 0 0.5em 0;
    padding: 0;
    font-size: 1em;
    line-height: 1.3em;
}

    .small li
    {
        line-height: 1em;
    }
    
ul,ol
{
    margin: 0.8em auto 1em auto;
    padding: 0 2em;
}

    ul.no-bullets
    {
        list-style-type: none;
    }

    .frame ul, .frame ol
    {
        padding: 0 1.5em;
    }
    
    ul.tight-lines li
    {
        line-height: 1em;
    }
    
li
{
    
}

.indent
{
    margin: 0.7em 1.4em 1.8em 1.4em;  
}

p.image
{
    margin: 2em 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 98%;
    padding: 1.4em 1%;
    background-color: white;
}

p.image.small img
{
    width: 70%;
}



/* 
============================================
  Boxes
============================================
*/

#top
{
    z-index: 100; /* prevents YouTube embedded videos from covering it */ 
    top: 0;
    margin: 0;
    box-shadow: rgba(170, 170, 170, 0.1) 0px 7px 30px 0px;
}

    #top a { text-decoration: none; }
    
    #top .logotext { color: #8c96a3; }
    
    #top .fa
    {
        vertical-align: middle;
        padding-right: 0em;
    }
    
    #top-logo { direction: ltr; float: left; }


#container
{
    word-wrap: break-word;
}

#footer
{
    margin: 0;
    padding: 1em;
    background-color: #232f3e;
    border-top: 1px solid #e5e5e5;
    color: #ddd;
    text-align: center !important;   
}

    #footer p
    {
        font-size: 0.9em;
        line-height: 1.3em;
        text-align: center !important;
    }

        #footer p:last-of-type
        {
            margin: 0;
        }

    #footer .fa
    {
        padding-right: 0.2em;
        vertical-align: -0.05em; 
    }

    #footer a
    {
        color: #ccc;
    }
    
    #footer a:hover
    {
        color: white;
        text-decoration: none;
    }

/*
Inline Menu
*/
.a-menu
{
    margin: 0 0 2em 0;
    border-top: 1px solid #999;
}

    .a-menu.no-top-border
    {
        border-top: none;
    }

    .a-menu > a
    {
        display: block;
        font-size: 1em;
        margin: 0;
        padding: 0.6em 5%;
        border-bottom: 1px solid #999;
        cursor: pointer;
    }

    .a-menu > a.hide
    {
        display: none;
    }
    
    .a-menu a:not(.link) { color: black; }
    .a-menu a:not(.link):hover { text-decoration: none !important; }
    
    .a-menu > a:hover { background-color: #f0f0f0; }
    .a-menu > a:focus { outline:0; border: 2px solid black; text-decoration: none !important; }
    
    .a-menu input 
    {
        height: 1.6em;
    }
        
    
table.menu
{
    border: unset;
    border-collapse: collapse;
}

    table.menu tr
    {
        cursor: pointer;    
    }
    
    table.menu tr:hover
    {
        background-color: #f0f0f0;
    }

    table.menu th,
    table.menu td
    {
        border: unset;
        border-top: 1px solid #888;
        border-bottom: 1px solid #888;
        padding-right: 5%;
        padding-left: 5%;
    }
    
    table.menu td
    {
        padding-top: 0.7em;
        padding-bottom: 0.6em;
    }
        
    table.menu td > p:first-of-type
    {
        padding-top: 0;
        padding-bottom: 0;
    }

    table.menu a:not(.btn)
    {
        color: black;
    }

    table.menu a:not(.btn):hover
    {
        text-decoration: none;
    }
    
.box-edit
{
    background-color: #fdfdfd; 
    border-bottom: 1px solid #999; 
    border-right: 1px solid #999; 
    border-left: 1px solid #999; 
    padding: 1.2em 5% 1.2em 5%;
}

    .box-edit.pb
    {
        padding-bottom: 1.9em;
    }

    .box-edit.border-top
    {
        border-top: 1px solid #999; 
    }



.frame
{
    margin: 1em 0 1.3em 0;
    padding: 1.2em 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: white;
}

    .frame.bg-grey
    {
        border: 1px solid #eee;
        background-color: #fdfdfd;
    }
    
    .frame.bg-greyer
    {
        border: 1px solid #eee;
        background-color: #f0f0f0;
    }
    
    .frame.note
    {
        background-color: #fcfcfc;
        border: 1px solid #dcdcdc;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .frame.pad
    {
        padding: 1em 3em;
    }
    
    .frame.center
    {
        margin: 0 auto;
    }
    
.extra-line-height
{
    line-height: 1.5em;
}
    
.double-extra-line-height
{
    line-height: 2.8em;
}
    
.pointer
{
    cursor: pointer;
}


.blink
{
    overflow: hidden; 
    display: inline-block;
    animation: reveal-animation 5s infinite; /* Total cycle: 2 seconds visible + 0.4 seconds blinking */
    white-space: nowrap; 
}

    @keyframes reveal-animation 
    {
        0% {
            width: 100%; /* Fully visible */
        }
        10% {
            width: 0%; /* Start hiding (left-to-right) */
        }
        100% {
            width: 100%; /* Reset to fully visible */
        }
    }

.notification
{
    padding: 1em;
    background-color: #f5f5f5;
    margin: 0 0 2em 0;
}

.links
{
    margin: 0.8em 1em 1.2em 1em;
}

.log-item
{
    margin-bottom: 3em;
}

    .log-item li
    {
        font-size: 0.9em;
    }




#search-results
{
}

    .box-search-result
    {
        margin: 0 0 2em 0;    
    }
    
        .box-search-result p.title
        {
            margin: 0 0 0.2em 0;
            font-size: 1.1em;
            font-weight: 600;
        }
        
            .box-search-result p.title a { color: #155db3; }
            .box-search-result p.title a:hover { text-decoration: underline !important; }
            
        .box-search-result p.description
        {
            margin: 0 0 0.2em 0;
            font-size: 0.9em;
        }
        
            .box-search-result p.description .big
            {
                font-size: 1.05em;
            }
        
        .box-search-result p.keywords
        {
            margin: 0 0 0.2em 0;
            font-size: 0.7em;
            color: #888;
        }
    




/* ///////////////////////////////////////////////////////////////////////////////////////
//
// PRINT
//
/////////////////////////////////////////////////////////////////////////////////////// */

@page 
{
    size: A4 portrait;
    margin: 2cm 0 2cm 0;
}

@media print
{    
    .no-print, 
    .no-print *
    {
        display: none !important;
    }
    
    .print-only
    {
        display: block !important;
    }
    
    body 
    {
        background: none !important;
    }
           
    #top,
    #footer
    {
        display: none;
    }
    
    #container
    {
        width: 90% !important;
        margin: -1em auto 0 !important;
        padding: 0 !important;
        background-color: white !important;
    }
    
    h1
    {
        margin-top: 0 !important;
    }
    
    #box-banner { background-color: transparent; }
    #box-banner a#logo-link { color: black;}
    #box-banner #voteclick-url {display: block;}
    
    #print-voteclick-logo
    {
        margin: 1em auto 4em auto !important;
    }
    
    .box #print-voteclick-logo /* when printing from the poll manage screen */
    {
        margin: -4em auto 4em auto !important;
    }
    
    .box-edit
    {
        background-color: white !important;
        border: none !important;
        padding: 0 !important;
    }
    
}


.box-excel
{
    overflow: scroll; 
    max-height: 10em; 
    border: 4px solid #cadae9;
}



table.excel
{
    border: 1px solid #dbdbdb;
    border: none !important;
    border-spacing: 1px;
    border-collapse: separate;
    margin: 0;
    padding: 0;
}

    table.excel th,
    table.excel td
    {
        font-size: 0.9em;    
    }
    
    table.excel td
    {
        background-color: white;
        border: 1px solid #dbdbdb;
        padding: 0;        
    }

    table.excel th,
    table.excel td.th
    {
        background-color: #cadae9;
        color: black;
        font-weight: 400;
        border: 1px solid white;
    }
    
    table.excel td.th
    {
        text-align: center !important;
        vertical-align: middle !important;
    }

    table.excel td input
    {
        border: none;
    }

    table.excel td input:focus
    {
        outline: 2px solid #4b89ff;
    }


.floating-box
{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 25%;
    max-height: 75vh;
    overflow-y: auto;
    overflow-wrap: break-word;
    transform: translate(-50%, -50%);
    padding: 0.7em;
    background-color: white;
    border: 2px solid #ccc;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}


/* ===============================================================================
//
// Modal window
//
=============================================================================== */

.modal 
{
    /* center on screen */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* make it top-layer */
    z-index: 9999; 
    
    /* design */
    background: #fff; 
    padding: 1.3em 1.5em 1em 1.5em;
    
    /* limit width */
    max-width: 90%;
    min-width: 300px;

    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.4), 
                0 5px 15px rgba(0, 0, 0, 0.5);
    
    animation: fadeIn 0.2s ease-out; 
}

    .modal .confirm-text
    {
        margin: 0 0 1em 0;
    }

    .modal .buttons 
    {
        display: flex;
        justify-content: flex-end; 
        gap: 0.4em;
        margin-top: 1.5em;
    }
    
    @media (max-width: 480px) 
    {
        .modal .buttons 
        {
            flex-direction: column;
            width: 100%;
        }
        
        .modal .buttons button 
        {
            width: 100%;
        }
    }

@keyframes fadeIn 
{
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}



/* ===============================================================================
//
// Embeddd website page in support screen.
//
=============================================================================== */

.embedded-page 
{
    margin: 0;    
    padding: 0;    
}

    .embedded-page .slide
    {
        margin: 0;    
        padding: 0;    
    }
    
        .embedded-page .slide.bg-grey
        {
            background-color: transparent !important;
        }

    .embedded-page h1 
    {
        margin-top: 1em !important;    
    }
    
    .embedded-page h3
    {
        margin: 3em 0 0.5em 0 ;
        padding: 0 0 0.3em 0;
        font-size: 1.15em;    
        border-bottom: 1px solid #999 !important;
    }
    
    .embedded-page h3:first-of-type
    {
        margin-top: 3em;
    }
    
    .embedded-page p.figure
    {
        margin: 1.7em 0;
        text-align: center;
    }
    
        .embedded-page p.figure img
        {
            margin: 0;
            padding: 0.5em;
            width: 90%;
            border: 1px solid #ccc;
        }
        
        .embedded-page p.figure.narrow img
        {
            width: 70%;
        }
        
        
    
    .embedded-page p.img { text-align: center; }
    .embedded-page p.img img { width: 30%; margin: 2em 0; }
        
    
    .embedded-page .box-video
    {
        margin: 1.2em 0;
    }
    
    
    
    
    
    
    
    

/* ===============================================================================
//
// Switch (a single checkbox)
//
=============================================================================== */

.switch 
{
    display: inline-block;
    position: relative;
    width: 34px;
    height: 12px;
    top: 5px;
}

    .ltr .switch { margin: 0 0.4em 0 0; }
    .rtl .switch { margin: 0 0 0 0.4em; }

    .switch input /* Hide the original checkbox - it will is replace by the switch */
    {
        opacity: 0;
        width: 0;
        height: 0;
    }
    
    .slider 
    {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 14px;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }
    
    .slider:before 
    {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: -2px;
        bottom: -4px;
        background-color: #fafafa;
        border: 1px solid #aaa;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }

    input:checked + .slider 
    {
        background-color: #acc1e6;
    }
    
    input:checked + .slider:before
    {
        background-color: #055be6;
        border: 1px solid #01358a;

        -webkit-transform: translateX(20px);
        -ms-transform: translateX(20px);
        transform: translateX(20px);
    }
    
    



/*
  ====================================
  Greyscale
  ====================================
*/

body.greyscale
{
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    
    background: white !important;
}

    body.greyscale a
    {
        color: black !important;
        text-decoration: underline;
    }
    
    body.greyscale #top a,
    body.greyscale #footer a
    {
        color: white !important;
    }
    
    
    body.greyscale img
    {
        filter: contrast(200%);
        -webkit-filter: contrast(200%);
        -moz-filter: contrast(200%);
        -o-filter: contrast(200%);
        -ms-filter: contrast(200%);
    }
    
    body.greyscale button
    {
        color: white !important;
        background-color: black !important;
        background-image: none !important;
    }
    
    body.greyscale button:hover,
    body.greyscale button:focus
    {
        color: white !important;
        background-color: black !important;
        font-style: italic;
    }
    
    body.greyscale input,
    body.greyscale textarea,
    body.greyscale select
    {
        border: 1px solid black;
    }
    
    body.greyscale .err
    {
        color: black;
    }
    
    body.greyscale .bg-grey
    {
        background-color: white !important;
    }
    
    body.greyscale .fade,
    body.greyscale span.green
    {
        color: black !important;
    }
    
    
    body.greyscale #footer
    {
        padding: 1.8em 0em !important;
    }
    
    