/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

@import url("https://fonts.googleapis.com/css2?family=Asimovian&family=Encode+Sans+SC:wght@400&display=swap");

/* Motyw */
/** Tło **/
body {
    font-family:'Asimovian' !important;
    color:#FFFFFF;
    background-image:url('../files/background.jpg');
    background-position:center;
    background-size:cover;
    background-attachment:fixed;
    background-repeat:no-repeat;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px)
}

/** Kolor linków **/
.fruity a {
    color: #00CCA3 !important;
}

.fruity a:hover {
    color: #007A61 !important;
}

/* Nagłówek */
.fruity .navbar {
    background-color: #090A11CC !important;
}

/** Usunięcie cienia **/
.fruity .navbar-collapse {
    box-shadow: none;
}

/** Usunięcie dolnej ramki **/
.border-bottom {
    border-bottom: none !important;
}

/*** Efekt hover ***/
.fruity .navbar .navbar-nav .nav-item::after {
    background-color: #00CCA3;
}

/** Wyśrodkowania loga **/
#survey-nav .container-fluid {
    display: flex;
    justify-content: center;
    position: relative;
}

#survey-nav .navbar-brand {
    position: relative;
}

/** Rowijane menu **/
.fruity .dropdown-menu {
    background-color: #13141BCC !important;
    border-radius: 12px !important;
}

.fruity .dropdown-menu > .active > a, .fruity .dropdown-menu > .active > a:focus, .fruity .dropdown-menu > .active > a:hover, .fruity .dropdown-menu > li > a:focus, .fruity .dropdown-menu > li > a:hover {
    background-color: rgb(from #00CCA3 r g b / 25%) !important;
}

.fruity .list-group-item {
    background-color: #13141BCC !important;
    border: 0 !important;
}

/** Miernik postępu **/
.fruity .progress {
    background-color: rgb(from #00CCA3 r g b / 25%) !important;
}

.fruity .progress-bar {
    background-color: #00CCA3 !important;
    color: #000000 !important;
    box-shadow: none !important;
}

/** Footer **/
#surveyListFooter {
    background-color: #13141BCC !important;
    padding:12px;
    height:auto;
}

#surveyListFooter a {
    color: #00CCA3 !important;
}

.fruity .footer {
    border-top: none !important;
}

.col-6.col-md-12 {
    width: 100%;
}

    
body {
    min-height: 100vh;
    margin: 0;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

body > article {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

body > article > div,
body > article > div > .container-fluid {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

#surveyListFooter {
    margin-top: auto;
    margin-bottom: 0 !important;
}

/** Ankieta **/
/*** Odpowiedzi ***/
.question-container {
    background-color: #090A11CC !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px;
}

.answer-item label::after {
    background-color: #00CCA3 !important;
}

.radio-item label::before {
    background-color: transparent !important;
    border: 1px solid #00CCA3 !important;
}

.fruity .form-control {
    background-color: #84848825;
    color: #FFFFFF !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 12px !important;
}

.fruity .text-info {
    color: #00CCA3 !important;
}

.checkbox-item label::before {
    background-color: transparent !important;
    border: 1px solid #00CCA3 !important;
    border-radius: 50%
}

.checkbox-item input[type="checkbox"]:checked + label::after {
    border-radius: 50% !important;
}

/* Ekrany */
/** Komunikaty **/
.fruity .text-danger {
    color: #F00000 !important;;
}

.fruity .text-primary {
    color: #FFFFFF !important;
}

/** Anonimowa ankieta **/
.ls-privacy-head.text-primary {
    color: #F7BC4D !important;
}

.ls-privacy-head {
    position: relative;
    margin-bottom: 5px;
}

.dir-ltr .ls-privacy-head {
    margin-left: 1.2em;
}

.ls-privacy-head::before {
    display: block;
    position: absolute;
    font-family: FontAwesome;
    font-size: inherit;
    line-height: inherit;
    height: 100%;
    content: "\f06a";
}

.dir-ltr .ls-privacy-head::before {
    left: -1.1em;
}

.col-12.col-centered {
    color: #F7BC4D !important;
}

/** Moduły **/
.fruity .modal-content {
    background-color: #090A11CC !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 12px !important;
}

.fruity .modal-header {
    border: none !important;
}

.fruity .modal-footer {
    border: none !important;
}

/*** Błędy ***/
#error-card {
  background-color: #FF000050;
  box-shadow: none !important;
  border: 1px solid #F00;
  border-radius: 12px;
}

#error-card .text-danger {
    color: #FFFFFF !important;
}

#error-card a {
    color: #00CCA3 !important;
}

/*** Ostrzeżenia ***/
.fruity .alert-warning {
    background-color: #F6863A50 !important;
    border: 1px solid #F6863A !important;
    color: #FFFFFF !important;
}

/*** JavaScript ***/
div[data-type="checkjavascript"] {
  background-color: #FF000050 !important;
  box-shadow: none !important;
  border: 1px solid #F00000 !important;
  border-radius: 12px;
  color: #FFFFFF !important;
}

/** Witamy **/
.form-check-input {
    background-color: transparent !important;
    border: 1px solid #00CCA3 !important;
    border-radius: 50% !important;
}

.form-check-input:checked {
    background-color: #00CCA3 !important;
    border-color: #00CCA3 !important;
}

/** Uczestnik **/
.bg-light {
    background-color: #090A11CC !important;
    border-radius: 12px;
}

/** Ankiety **/
.container-fluid {
    text-align: center;
}
.img-fluid.mx-auto.d-block {
    width: 350px !important;
}

/* Przyciski */
#token {
    border-radius: 12px 0 0 12px !important;
}

.fruity .input-group-text {
    background-color: #00CCA3 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 0 12px 12px 0 !important;
}

.fruity .btn-outline-secondary {
    background-color: rgb(from #00CCA3 r g b / 25%) !important;
    border: 1px solid #00CCA3 !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
}

.fruity .btn-outline-secondary:hover {
    background: transparent !important;
    border: 1px solid #007A61 !important;
    color: #007A61 !important;
}

.fruity .btn-primary {
    background-color: #00CCA3 !important;
    border: 1px solid #00CCA3 !important;
    color: #000000 !important;
    border-radius: 12px !important;
}

.fruity .btn-primary:hover {
    background: #007A61 !important;
    border: 1px solid #007A61 !important;
    color: #000000 !important;
}

/** Wczytaj **/
#loadsecurity {
    border-radius: 0 12px 12px 0 !important;
}

.input-group-text.captcha-image {
    border-radius: 12px 0 0 12px !important;
}