html {
    height: 100%;
    box-sizing: border-box;
  }
  
*,
*:before,
*:after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

#print_logo {
    display: none;
    margin-bottom: 20px;
}

body {
    position: relative;
    margin: 0;
    padding-bottom: 6rem;
    min-height: 100%;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

input[type=file] {
    display: none;
}

button, input[type=submit], .upload {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    margin-top: 10px;
    padding: 8px 16px;
    cursor: pointer;
    background: #c00;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0;
    border: 1px solid #c00;
    color: white;
    text-decoration: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

button:hover, input[type=submit]:hover, .upload:hover {
    background: transparent;
    color: #c00;
}

.primary_header {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 18px;
    border-bottom: solid 1px black;
}

.form_container {
    display: inline-block;
    max-width: 800px;
}

.secondary_header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: 18px;
}

input, select {
    padding: 5px;
}

#main_container {
    margin: 20px;
    overflow: auto;
}

#main_wrapper::after {
    content: "";
    display: table;
    clear: both;
}

#top_menu {
    padding: 30px;
    background: black;
    width: 100%;
}

#top_menu * {
    color: white;
}

#top_menu a {
    font-weight: bold;
}

#top_menu a:hover {
    color: #c00;
}

.side_menu_header {
    margin: 30px;
    margin-bottom: 10px;
    color: white;
}

.side_menu_item {
    color: white;
    line-height: 42px;
    font-size: 18px;
    font-weight: normal;
    padding-left: 35px;
    text-align: left;
    background: #333;
    width: 100%;
    margin: 0;
    
}

.side_menu_mini_item {
    background: #333;
    width: 42px;
    text-align: center;
    line-height: 42px;
    margin: 5px 0;
}

.side_menu_item .side_menu_mini_item {
    float: left;
    margin: 0;
    background: transparent;
}

.side_menu_mini_item img {  
    vertical-align: middle;
    width: auto;
    height: 30px;
}

.side_menu_item img {
    height: 25px;
}

#top_menu {
    display: table;
}

#home_link .primary_header {
    margin-bottom: 0;
    border-bottom: none;
}

#user_ph {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    line-height: 26px;
}

#lang_ph {
    display: flex;
    margin-top: 20px;
}

#lang_ph div {
    margin-right: 3px;
    border: 2px transparent solid; 
    width: 45px;
    height: 31px;
    cursor: pointer;
}

.selected_item {
    border: 2px #c00 solid !important; 
}

.send_mail_link {
    cursor: pointer;
    color: blue;
}

.side_menu {
    margin-right: 20px;
    position: sticky;
    top: 0;
    float: left;
}

.side_menu_toggle {
    margin-top: 30px;
    margin-left:auto;
    margin-right:0;
    cursor: pointer;
}

#side_menu_full {
    width: 270px;
    font-size: 18px;
    font-weight: bold;
}

#side_menu_mini {
    display: none;
}

#side_menu_back {
    position: absolute;
    top: 0;
    z-index: -1;
    height: 100%;
    background: #222;
    width: 270px;
}

.side_menu_item:hover, .side_menu_mini_item:hover {
    background: #c00;
}

#main_footer {
    position: absolute;
    padding: 22px;
    background: black;
    color: white;
    text-align: center;
    bottom: 0;
    left: 0;
    right: 0;
}

input[type=checkbox] {
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
}

#top_btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    cursor: pointer;
}

.unselectable {
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

.hidden {
    display: none;
}

@-moz-keyframes preloader_animation { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes preloader_animation { 100% { -webkit-transform: rotate(360deg); } }
@keyframes preloader_animation { 100% { transform: rotate(360deg); } }

.preloader {
    width: 64px;
    height: 64px;
    -webkit-animation: preloader_animation 1s infinite steps(8); /* Safari 4+ */
    -moz-animation:    preloader_animation 1s infinite steps(8); /* Fx 5+ */
    animation:         preloader_animation 1s infinite steps(8); /* IE 10+, Fx 29+ */
}

@media print {
    #print_logo {
        display: block;
    }

    #main_container {
        margin: 0px;
    }
    
    .send_mail_link {
        color: black;
    }

    .primary_header {
        border-bottom: none;
    }

    button, #main_footer, #top_menu, #side_menu_full, #side_menu_mini, #side_menu_back, input, #top_btn {
        display: none !important;
    }
}