html, body {
    height: 100%;
}

body {
    font-family: 'Roboto Slab', "Helvetica", "Arial", sans-serif;
    margin: 0px;
    padding: 0px;
    width: auto !important;

    display: flex;
    flex-direction: column;
    min-height: 100vh;

    background: #f2f2f2 url(/static/images/road-sky.jpg) 50% 50% fixed;
}

.EngineErrors {
    font-family: Consolas;
    font-size: 1em;
    color: red;
}

.EngineErrors pre {
    margin-top: 20px;
}

body.error404 {
    padding: 2em;
}
.error404 .container {
    padding: 2em;
}

.main.menu {
    margin-top: 0px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: box-shadow 0.5s ease, padding 0.5s ease;
    min-height: 80px;
}

.main.menu .item {
    padding: 1em 1em 1em 1em;
}

.main.menu .profile .icon {

    padding: 0;
    margin: 0 !important;
}

.main.menu .item img.logo {
    margin-right: 1em;
    width: 47px;
}

.main.menu.fixed {
    background-color: #FFFFFF;
    border: 1px solid #DDD;
}

#content {
    padding-top: 105px;
    padding-bottom: 10px;
}

.site-header {
    flex-shrink: 0;
}

.site-content {

    /* min-height: 100%; */
    color: #000 !important;
    /* padding-bottom: -80px; */
    flex: 1 0 auto;
}

.site-footer {
    background-color: #FFFFFF;
    border-top: 1px solid #DDD;
    /*margin-top: -80px;
    min-height: 80px;*/
    flex-shrink: 0;
}

.site-footer a.item {
}

.copy {
    margin-top: 5px;
}

.main-form {
    margin: 0;
}

.find-button {
    text-align: right;
}

/*** popular **********************************************************************************************************/

.segment.popular .button {
    width: 100%;
}

.segment.popular .form{
    padding: 10px;
}

.popular form .button {
    text-align: left;
}

.ui.segment.popular {
    padding: 1em 1.5em 1.5em 1.5em;
}

.ui.segment.popular .header {
    padding-bottom: 10px;
}

/**********************************************************************************************************************/

.ui.segment.popular .icon.long.arrow.right,
.ui.segment.result .icon.long.arrow.right {
    margin: 0 5px 0 5px;
}

.ui1.selection.dropdown {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#exchange {
/*    border: 1px solid red; */
    width: 40px !important;
    margin: 0px;
    padding: 0px;
}

#exchange .button {
    height: 38px;
    margin: 0px;
}

.m-width800 {
    max-width: 800px !important;
}

/**********************************************************************************************************************/

form.sale {
    margin-bottom: 0px;
}

form.sale .tcategory .cat_name {
    float: left;
    margin-right: 20px;
    font-weight: bold;
}

form.sale .tcategory .cat_price {
    margin-left: 20px;
    float: right;
    font-weight: bold;
}

form.sale .rouble:after {
    font-weight: normal;
    font-family: 'Icons';
    content: " \f158";
}

form.sale .percent:after {
    font-weight: normal;
    font-family: 'Icons';
    content: "%";
}

.total_price {
    float: right;
    padding: 0.5em 0 0.5em 0;
}

.not_found_popup {
    min-width: 380px !important;
    color: #49769C !important;
}

.not_found_popup p:first-child {
    padding: 0 0 5px 0;
    margin: 0;
}

.tickets_top {
    margin-top: 0 !important;
}

.tickets_header {
    margin-bottom: 1.5em !important;
}

.tickets_header .content {
    /* margin-bottom: 10px; */
}

/**********************************************************************************************************************/

.ui.popup.calendar {
     z-index: 2000 !important;
}

/**********************************************************************************************************************/

.detail-form {
    margin-bottom: 1em;
}

/**********************************************************************************************************************/

.times .content {
    text-align: center;
}

.times .item {
    width: 8em;
    margin: 0 10px 0 0 !important;
}