﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #006fad ;/*#0366d6;*/
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 0.9rem !important;
}

.bootstrap-select {
    border: 1px solid #ced4da !important;
    border-radius: 0;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

/*body {
  margin-bottom: 60px;
}*/
.footer {
    /*position: absolute;*/
    /*width: 100%;*/
    white-space: nowrap;
    background-color: #f3f5f9;
    font-size: 0.85rem;
}

.bg-upol {
    background-color: rgb(0,107,173) !important;
}

.text-upol {
    color: rgb(0,107,173) !important;
}

.navbar-brand {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar {
    padding: 0 !important;
}

/*Footer*/
container {
    min-height: 0px !important;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

footer {
    margin-top: 20px;
}

.list-inline-item:not(:last-child) {
    margin-right: 1rem !important;
}

.filter-option-inner-inner {
    font-size: 0.8rem;
}

.dropdown-menu {
    font-size: 0.8rem !important;
}
/*dále má doplnění*/
*[onclick] {
    cursor: pointer;
}

h1 {
    font-size: 140%;
}

.btn-del-meeting {
    color: red;
}

h1 a {
    text-decoration: none;
    color: white;
}

    h1 a:hover {
        color: #e5e5e5;
    }
h2 {
    font-size: 130%;
}
h3 {
    font-size: 120%;
}

.stickyBottom {
    position: sticky;
    bottom: 0px;
    background-color: white;
}

dl > * { /* řeší různé výšky řádků podle obsahu v dl */
    margin-bottom: 5px;
}

.form-group {/*tak, aby to nebylo tak nalepené ve formuláři*/
    margin-bottom: 5px;
}

.btn { /*tak, aby to nebylo tak nalepené*/
    margin: 5px;
    margin-left: 0; /*ale přitom nebylo odsazené zleva*/
}
.btn-small {
    background-color: #006fad;
    color: white;
    padding: 0px 3px 2px 3px;
    border-radius: 3px;
    white-space: nowrap;
    text-decoration: none;
    font-size: small
}

    .btn-small:hover {
        background-color: #00ad99 !important;
        border-color: #00ad99;
        color: white;
    }
.hihglighted-menu-item {
    font-weight: 700;
}
/*responzivita menu*/
.clearfix::after {
    content: "";
    clear: both;
}

.up-logo {
    float: left;
}

.app-name {
    display: none;
}
.testing-warnning {
    background-color: orange;
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 5px;
}
.user-menu {
    float: right;
    list-style-type: none;    
    margin-top: 40px;
}

    .user-menu a {
        text-decoration: none;
        color: white;
        margin: 10px;
    }
    .user-menu li {
        display: inline;
        text-align: right;
    }
    .user-menu  a:hover {
        color: #e5e5e5;
    }
    .user-menu .user-name{
        color: white;
    }

.hamburger_icon-div {
    display: none;
}
.hideable-menu {
    display: none;
}
.nav-menu {
    position: absolute;
    left: 250px;
    margin-top: 31px;
}
    .nav-menu a {
        color: white;/*rgb(0,107,173);*/
        text-decoration: none;
        padding: 10px 20px 10px 0;
        display: inline-block;
    }
@media(max-width: 1000px) { /*nevzelze se menu*/
    .nav-menu, .user-menu {
        display: none
    }
    .hamburger_icon-div {
        float: right;
        display: block;
        padding: 10px;
        display: block;
    }
    .hamburger_icon {
        font-size: 30px;
        color: white;
        padding: 10px;
        border: 2px solid white;
        border-radius: 5px;
        margin: 10px;
    }
    .hideable-menu {
        display: block;
        list-style: none;
        text-decoration: none;
        background-color: rgba(var(--bs-light-rgb));
    }
    .hideable-menu li {
        padding: 5px;
    }

}
@media (max-width: 362px) { /*Nevleze se logo*/
    .up-logo {
        display: none;
    }
    .app-name {
        display: block;
        float: left;
        color: white;
        padding-left: 15px;
        padding-top: 37px;
    }
}

/*index - přehled hlasování*/
.bigger-checkbox .form-check-input {
    width: 1.2em;
    height: 1.2em;
}
.bigger-checkbox .form-check-input + label { /* "+" sibling selector. je to label, který je sibling .form-check-input, který je potomkem třídy bigger-checkbox*/
    position: relative;
    top: 1px;
}
.search-input-wrapping-div{
    position: relative;
}
    .search-input-wrapping-div > .fa-times {
        position: absolute;
        top: 10px;
        right: 10px;
        color: grey;
    }
/*vytvořený tooltip*/
.moreComplicatedTooltip {
    position: fixed;
    background: white;
    border: 1px solid black;
    padding: 3px;
    font-size: 0.9em;
}
.btn-primary {
    background-color: rgb(0,107,173);
}
    .btn-primary:hover {
        background-color: #00ad99;
        border-color: #00ad99;
    }

.btn-white {
    border: 1px solid rgb(0,107,173);
    color: rgb(0,107,173);
}
    .btn-white:hover {
        background-color: rgb(0,107,173);
        color: white;
    }
/*Stylování pro modál pro náhledy e-mailů*/
.modalDivBackground {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
}
.modalDiv {
    position: fixed;
    background: white;
    border: 1px solid black;
    padding: 15px;
    top: 15%;
    left: 3%;
    right: 3%;
    overflow: auto;
    max-height: 70%;
    scroll-behavior: auto;
}

.closeButtonForModalDiv {
    position: fixed;
    top: calc(15% + 5px);
    right: calc(3% + 20px);
    /*position: absolute;
    top: 5px;
    right: 5px;*/
}
/*Stylování pro modál pro náhledy e-mailů - konec*/
/*část pro Partial-Results.cshtml a Partila-QuestionnaireItself.cshtml asi by si taky zasloužilo vlastní soubor*/
.answersSpan {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
}
.dashedBorderForSpanChild > span {
    border: 1px dashed black;
}
.uncheckedAnswerSpan{
    position: relative;
    top: 3px;
}

.yesChecked {
    background-color: #099622; /*rgba(0, 255, 0, 0.5);*/ /*#6BAD00*/
}

.couldBeChecked {
    /*background-color: rgba(168, 172, 0, 1);*/
    background-color: #E89405; /*rgba(255, 165, 0, 0.5);*/
}
/*Bude nejspíše nevyužito možno smazat .noChecked*/
.noChecked {
    background-color: #AD1400;/* rgba(255, 0, 0, 0.5);*/
}

.centered-cell { /*ještě je v resultsPartial.cshtml*/
    text-align: center;
}
.answersTr {
    height: 66px; /*aby neposkakovala výška řádeku při překlikávání odpovědí*/
}
.th_width {
    min-width: 120px;
    text-align: center;
}
/*konec části pro Partial-Results.cshtml a Partila-QuestionnaireItself.cshtml*/
/*Pro SureysList*/
.bold{
    font-weight: 600;
}
/*konec pro PollsList*/
.btn-secondary:hover { /*používá se pro neaktivní tlačítka, tak ať nemění kurzor a barvu na hover*/
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: default;
}
.onlySuperadminCanSeeThis{
    background-color: yellowgreen;
}

/*využívá MeetingDetail a PollsList*/
.btn-grey {
    border: 1px solid grey;
    color: grey;
}

    .btn-grey:hover {
        border: 1px solid grey;
        color: grey;
        cursor: default;
    }

    .btn-grey:focus {
        box-shadow: none;
    }
/*konec - využívá MeetingDetail a PollsList*/

.inputInvalid {
    border-color: red;
    /*background-color: #fadbd8;*/
}

.poll-header-column {
    margin-bottom: 0;
}

@media (min-width: 768px) { /*aby se nezalamoval text*/
    .poll-header-column {
        width: 50%;
        float: left;
    }
}

.table-hightlight {
    font-size: 130%;
    font-weight: 500;
}

a {
    text-decoration: none;
}

.nowrap {
    white-space: nowrap;
}