:root {
    --main-bg-color: rgb(243, 243, 243);
    --border-color: rgb(184, 184, 184);
    --font-color: rgb(54, 54, 54);
    --main-color: rgb(202, 41, 41);
    --green-color: rgb(46, 177, 46);
    --red-color: rgb(223, 48, 48);
}

body {
    background-color: var(--main-bg-color);
}

.top-nav {
    background-color: var(--main-color);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 20;
}

.container-card {
    background-color: white;
    color: var(--font-color);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    padding: 10px;
}

.beginner {
    margin-top: 100px;
}

.navbar-toggler {
    color: rgb(255, 255, 255);
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.801);
}

.navbar-brand {
    color: white;
}

.navbar-brand:hover {
    color: rgba(255, 255, 255, 0.877);
}

.user-dropdown-main {
    position: relative;
    right: 0;
    width: 250px;
    text-align: right;
}

.user-dropdown {
    width: 250px;
}

.language-dropdown-main {
    position: relative;
    right: 0;
    width: 60px;
    text-align: right;
}

.language-dropdown-mobile {
    display: none;
}

.language-dropdown {
    width: 30px;
    right: 200px;
}

.language-item {
    max-width: 80px;
    padding-left: 10px;
}

.dropdown-menu a {
    color: var(--font-color);
}

.main-panel {
    max-width: 1080px;
    margin-top: 30px;
    width: 95%;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 3px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--font-color);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
}

.main-panel-nobg {
    max-width: 1080px;
    width: 95%;
    padding-left: 0;
    padding-right: 0;
}

.title-panel {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    font-size: 20px;
    margin-bottom: 30px;
}

.row {
    margin-bottom: 20px;
}

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

.form-control {
    border-radius: 3px;
}

.save-btn {
    background-color: rgb(37, 146, 37);
    color: white;
    border: none;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 2px;
    right: 0;
    margin-right: 20px;
    font-size: 14px;
    white-space: nowrap;
}

.delete-btn {
    background-color: rgb(206, 38, 38);
    color: white;
    border: none;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 2px;
    right: 0;
    margin-right: 20px;
    font-size: 14px;
    white-space: nowrap;
}

.edit-btn {
    background-color: var(--main-color);
    color: white !important;
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: 2px;
    margin-right: 20px;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 40px;
    white-space: nowrap;
    line-height: 40px;
    cursor: pointer;
}

.disabled-btn {
    background-color: rgb(46, 177, 46);
    color: white;
    border: none;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 3px;
    right: 0;
    margin-right: 20px;
    font-size: 14px;
    cursor: default;
    white-space: nowrap;
}

.delete-block-btn {
    background-color: rgb(206, 38, 38);
    color: white;
    border: none;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 2px;
    right: 0;
    margin-right: 20px;
    font-size: 14px;
    float: right;
    margin-top: 10px;
    white-space: nowrap;
}

.delete-answer-btn {
    background-color: rgb(206, 38, 38);
    color: white;
    border: none;
    padding: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 2px;
    right: 0;
    margin-right: 20px;
    font-size: 14px;
    float: right;
    margin-top: 5px;
    white-space: nowrap;
}

.download-btn {
    background-color: var(--main-color);
    color: white;
    height: 100px !important;
    white-space: nowrap;
}

.valasz {
    max-width: 70%;
    display: inline-block;
}

.check_valasz {
    float: right;
    display: inline-block;
    margin-right: 15px;
}

.edit-btn:hover {
    text-decoration: none;
    color: white;
}

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

.content-card {
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
    border-bottom: 1px solid rgb(231, 231, 231);
    padding-bottom: 10px;
    padding-top: 10px;
}

.content-card-title {
    width: 200px;
    max-width: 100%;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    margin-right: 20px;
    padding-top: 10px;
}

.content-card-data {
    width: 200px;
    max-width: 100%;
    font-size: 16px;
    display: inline-block;
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 10px;
}

.content-card-action {
    font-size: 20px;
    display: inline-block;
    margin-left: 20px;
    float: right;
}

.scrolltop {
    width: 60px;
    height: 60px;
    background-color: var(--main-color);
    position: fixed;
    bottom: 30px;
    left: 30px;
    cursor: pointer;
    border-radius: 3px;
    display: none;
}

.stat-title {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    font-size: 20px;
}

.stat-counter {
    width: 100%;
    text-align: center;
    font-size: 80px;
    padding: 0;
}

.user-dropdown-mobile {
    display: none;
}

.success-badge {
    background-color: var(--green-color);
    color: white;
    width: 60px;
    text-align: center;
    border-radius: 3px;
    position: absolute;
    margin-top: -20px;
}

.error-badge {
    color: var(--red-color);
    position: absolute;
    margin-top: -20px;
}

.card-header {
    background-color: var(--main-color);
    color: white;
    font-weight: bold;
}

.add_row {
    vertical-align: top;
    cursor: pointer;
    padding: 5px;
    padding-left: 10px;
}

.add_content_td_1 {
    vertical-align: top;
    border-right: 1px solid var(--border-color);
    width: 50%;
    min-height: 500px;
}

.add_content_td_2 {
    vertical-align: top;
    min-height: 500px;
}

.add_button_img {
    width: 16px;
    height: 16px;
    background-image: url('/images/add_button.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    margin-top: -4px;
    margin-right: 5px;
    vertical-align: middle;
}

.add_table {
    width: 100%;
}

.add_top_row {
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.remove_button_img {
    width: 16px;
    height: 16px;
    background-image: url('/images/remove_button.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    margin-top: -4px;
    margin-right: 5px;
    vertical-align: middle;
}

.mx-datepicker {
    width: 100% !important;
    margin-bottom: 20px;
}

input {
    border-radius: 0px;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid var(--border-color);
    width: 100%;
}

optgroup {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding-left: 5px;
}

.question_panel {
    width: 15px;
    height: 15px;
    margin-left: 5px;
    margin-right: 5px;
    background-image: url('/images/info.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    cursor: pointer;
}

.question_panel_text {
    max-width: 300px;
    margin-left: -150px;
    width: 90%;
    background-color: white;
    border: 2px solid var(--main-color);
    border-radius: 2px;
    padding: 5px;
    position: absolute;
    z-index: 2;
    display: none;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.1);
}

.question_panel:hover .question_panel_text {
    display: block;
}

@media only screen and (max-width:1000px) {
    .user-dropdown-main {
        display: none;
    }
    .user-dropdown-mobile {
        display: block;
    }
    .language-dropdown-main {
        display: none;
    }
    .language-dropdown-mobile {
        display: block;
    }
    .container-card {
        margin-bottom: 30px;
    }
    .question_panel_text {
        left: 5%;
        margin: 0;
    }
    .mobile_col {
        padding-bottom: 20px;
    }
    .scrolltop_desktop {
        display: none;
    }
    .edit-btn {}
}


/* The container */

.c-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */

.c-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 32px;
    margin-top: 5px;
    background-color: #eee;
    border-radius: 3px;
}


/* On mouse-over, add a grey background color */

.c-container:hover input~.checkmark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

.c-container input:checked~.checkmark {
    background-color: var(--green-color);
}


/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.c-container input:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.c-container .checkmark:after {
    left: 13px;
    top: 5px;
    width: 8px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.pagination_row {
    width: 100%;
}

.pagination_cont {
    text-align: right;
    margin-left: 20px;
    margin-right: 20px;
    border-top: 1px solid rgb(211, 211, 211);
    padding-top: 10px;
}

.pagination_num {
    display: inline-block;
    margin-right: 10px;
}

.page_off {
    color: rgb(161, 161, 161);
}

.page_on {
    cursor: pointer;
}

.error_icon {
    background-color: var(--red-color);
    color: white;
    font-weight: bold;
    font-size: 13.5px;
    border-radius: 100px;
    width: 20px;
    height: 20px;
    padding-left: 8px;
    padding-top: 0px;
    padding-bottom: 9px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 5px;
    margin-top: -3px;
}

.product-card {
    background-color: white;
    width: 33%;
    padding: 20px;
    width: 100%;
    display: inline-block;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    min-height: 200px;
    margin-bottom: 30px;
    cursor: pointer;
}

.product-card-icon img {
    width: 60%;
}

.product-card-icon {
    text-align: center;
}

.product-card-title {
    font-size: 16px;
    width: 100%;
    min-height: 30px;
}

.product-card-description {
    font-size: 12px;
    width: 100%;
    min-height: 50px;
}

.product-card-price {
    font-size: 18px;
    width: 100%;
    text-align: right;
    font-weight: bold;
    min-height: 50px;
}

.product-popup-cont {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.699);
    top: 0;
    left: 0;
}

.product-popup {
    width: 95%;
    max-width: 500px;
    background-color: white;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15vh;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
    padding: 20px;
}

.product-popup-text {
    margin-top: 0;
    padding-top: 0;
    text-align: justify;
    max-height: 50vh;
    overflow: auto;
}

.product-popup-buttons {
    margin-top: 0;
    padding-top: 0;
    margin-left: -20px;
    margin-right: -20px;
    text-align: right;
}