/**
 * Body CSS
 **/
* {
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
    font-size: 14px;
}
html, body, input, textarea, buttons {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}
/**
 * Layout CSS
 **/
#header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    transition: left 0.2s;
}
.lottoC .mui-appbar{
    background: #1e1f28;
}
.lottoC #sidedrawer{
    background: #1e1f28;
    color: #929cad;
}
.sidebar-list-item-active{
    background: #0a0b11;
}
#sidedrawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 280px;
    left: -280px;
    overflow: auto;
    z-index: 2;
    background-color: #fff;
    transition: transform 0.2s;
}
.sidebar-filter {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    bottom: 0;
    right: 0;
    width: 280px;
    overflow: auto;
    z-index: 2;
    transition: transform 0.2s;
    color: #929cad;
    background: rgba(30,31,40, 0.96);
}
.hide-filter{
    display: none;
}
.sidebar-filter label{
    margin-bottom: 5px;
}
.sidebar-filter input,
.sidebar-filter select,
.sidebar-filter option{
    background: #37404c;
    border: 1px solid #141420;
    color: #fff;
    padding: 5px;
}
.upload-file,
.apply-wrap,
.form-item{
    display: flex;
    flex-direction: column;
}
.btn-lotto{
    background: linear-gradient(#384570, #3e4f7a) #384570;
    color: #fff;
    border-width: 2px 0;
    border-style: solid none;
    border-radius: 1px;
    border-color: #384E7A #000 #35406B;
    padding: 5px;
    outline: none;
    transition: 0.2s;
    cursor: pointer;
}
.btn-lotto:hover { background: linear-gradient(#384570, #3e4f7a) #384570; }
.btn-lotto:active { background: linear-gradient(#3e4f7a, #384570) #3e4f7a; }
.btn-disable{
    background: rgb(75,75,75);
    color: rgb(150,150,150);
    border-color: rgb(50,50,50) rgb(100,100,100) rgb(50,50,50);
}
.btn-disable:hover {  background: rgb(75,75,75); }
.btn-disable:active {  background: rgb(75,75,75); }
.upload-file input[type="file"]{
    margin-bottom: 5px;
    padding: 0;
    background: none;
    border: none;
}
.upload-file,
.form-filter{
    padding: 10px 20px;
    border-bottom: 2px groove #222a33;
}
.apply-wrap{
    padding: 10px 20px;
    border-bottom: 2px groove #222a33;
}

#content-wrapper {
    min-height: 100%;
    overflow-x: hidden;
    margin-left: 0;
    transition: margin-left 0.2s;
    /* sticky bottom */
    box-sizing: border-box;
}

#footer {
    box-sizing: border-box;
    height: 160px;
    margin-left: 0;
    transition: margin-left 0.2s;
}


/**
 * Toggle Sidedrawer
 **/
#sidedrawer.active {
    transform: translate(280px);
}
/**
 * Header CSS
 **/
.sidedrawer-toggle {
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    margin-right: 10px;
}
.sidedrawer-toggle:hover {
    color: #fff;
    text-decoration: none;
}
/**
 * Sidedrawer CSS
 **/
#sidedrawer-brand {
    padding-left: 20px;
    border-bottom: 3px groove #222a33;
}
#sidedrawer ul {
    list-style: none;
}
#sidedrawer > ul {
    padding-left: 0;
}
#sidedrawer strong {
    display: block;
    padding: 15px 22px;
    cursor: pointer;
    font-weight: 400;
    border-bottom: 2px groove #222a33;
}
#sidedrawer strong:hover {
    background: #0a0b11;
}
#sidedrawer strong + ul > li {
    padding: 6px 0;
}
.logo{
    height: 25px;
    position: relative;
    color: #5a739a;
    text-decoration: none;
    font-weight: bold;
}
.logo:hover{
    text-decoration: none;
}
.version{
    position: relative;
}
.version:after{
    position: absolute;
    content: "V1.0";
    color: #fff;
    top: -12px;
    left: 32px;
    font-size: 12px;
    word-wrap: normal;
}
.logo-lotto{
    display: inline-block;
    margin-left: -.36em;
    line-height: 25px;
    width: 25px;
    height: 25px;
    text-align: center;
    border: 6px double #5a739a;
    border-radius: 50%;
    font-family: "Times New Roman", serif;
}
.logo-lotto:last-child{
    margin-left: 0;
}
.icon-list-item{
    display: inline-block;
    min-width: 40px;
}
.sidebar-submenu{
    background: #262e37;
    padding-top: 5px;
    padding-left: 0;
}
.sidebar-submenu a{
    display: block;
    color: #929cad;
    padding-left: 40px;
    line-height: 40px;
}
#sidedrawer  strong + ul > li{
    padding: 0;
}

.sidebar-submenu a:hover,
.sidebar-submenu a.active-item-sub-menu {
    color: #fff;
    text-decoration: none;
    background: #252630;
}
.logout-block{
    margin-top: auto;
    text-align: right;
    border-top: 2px groove #222a33;
}
.logout-block .username,
.logout-block .logout{
    padding: 0 22px;
}
.logout-block .username{
    display: inline-block;
}
.logout-block a{
    display: inline-block;
    color: #8f96a6;
    line-height: 64px;
}
.logout-block .logout{
    border-left: 1px solid #151721;
}
.logout-block .fa-power-off{
    font-size: 22px;
}
.bar-container{
    padding-left: 0;
}
.bar-container .fa-bars{
    padding-left: 20px;
    padding-right: 20px;
    line-height: 64px;
    color: #8f96a6;
    border-left: 1px solid #151721;
    border-right: 1px solid #151721;
}
.mui-appbar{
    display: flex;
    justify-content:  space-between;
}
.filter-button{
    display: flex;
    margin: 0;
    font-size: 20px;
    color: #8f96a6;
}
.filter-button a{
    color: #8f96a6;
}
.filter-button .fa-filter{
    padding-left: 20px;
    padding-right: 20px;
    line-height: 64px;
    border-left: 1px solid #151721;
}
.filter-button .fa-search{
    padding-left: 20px;
    padding-right: 20px;
    line-height: 64px;
    border-left: 1px solid #151721;
    border-right: 1px solid #151721;
}

.links-panel{
    padding: 15px;
    display: flex;
    color: #929191;

}
.links-panel-list{
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #5a5d5d;
}
.links-panel-list li{
    margin-left: 15px;
}
.table-tickets-pools,
.table-journals-tickets,
.table-halls,
.table-terminals{
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    font-size: 14px;
}
.table-tickets-pools tr:nth-child(odd),
.table-journals-tickets tr:nth-child(odd),
.table-halls tr:nth-child(odd),
.table-terminals tr:nth-child(odd){
    background: #f7f7f9;
}
.table-tickets-pools th,
.table-tickets-pools td,
.table-journals-tickets th,
.table-journals-tickets td,
.table-halls th,
.table-halls td,
.table-terminals th,
.table-terminals td{
    border: 2px solid #f1f1f3;
}
.table-tickets-pools th,
.table-journals-tickets th,
.table-halls th,
.table-terminals th{
    background: #738dbd;
    color: #fff;
}
.table-tickets-pools th,
.table-tickets-pools td,
.table-journals-tickets th,
.table-journals-tickets td,
.table-halls th,
.table-halls td,
.table-terminals th,
.table-terminals td{
    padding: 5px 15px;
}
.wrap-table{
    overflow-x: auto;
}

.protocol-date{
    display: inline-table;
    border-top: 1px solid rgba(115,141,189, 0.5);
    border-bottom: 1px solid rgba(115,141,189, 0.5);
}
.text-date-prot{
    position: relative;
    background: #738dbd;
    color: #fff;
    padding: 5px;
}
.text-date-prot:after{
    content: '';
    position: absolute;
    top: 0;
    right: -25px;
    border: 15px solid transparent;
    border-left: 10px solid #738dbd;
}
.input-date{
    width: 19em;
    padding: 4px 5px 4px 20px;
    border: 1px solid rgba(115,141,189, 0.7);
    margin-right: 15px;
}
.input-text{
    padding: 6px 5px 6px 20px;
    border: 1px solid rgba(115,141,189, 0.7);
    margin-right: 15px;
}
/**
 * Authorisation
 **/

.wrapper-auth{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(30,31,40, 1);
}
.logo-auth{
    text-align: center;
}
.authorisation-form{
    min-width: 320px;
    background: #fff;
    padding: 30px 25px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}
.auth-text{
    color: rgba(30,31,40, 1);
    font-size: 26px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px dotted rgba(30,31,40, 0.5);
}
.input-block{
    margin-bottom: 10px;
}
.input-block label{
    display: flex;
}
.input-block input{
    width: 100%;
    padding: 5px 0;
    border: 1px solid rgba(0,0,0, 0.2);
    border-left: none;
    outline: none;
}
.input-block .fa{
    padding: 5px;
    border: 1px solid rgba(0,0,0, 0.2);
    border-right: none;
    color: rgba(0,0,0, 0.5);
}


/**
 * Footer CSS
 **/
#footer {
    background-color: #0288D1;
    color: #fff;
}
#footer a {
    color: #fff;
    text-decoration: underline;
}
.hide-block{
    display: none;

}
@media (min-width: 768px) {
    #header {
        left: 280px;
    }

    #sidedrawer {
        transform: translate(280px);
    }

    #content-wrapper {
        margin-left: 280px;
    }

    body.hide-sidedrawer #header {
        left: 0;
    }

    body.hide-sidedrawer #sidedrawer {
        transform: translate(0px);
    }

    body.hide-sidedrawer #content-wrapper {
        margin-left: 0;
    }

    body.hide-sidedrawer #footer {
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    #header .logo-lotto{
        width: 22px;
        height: 22px;
        line-height: 22px;
        font-size: 12px;
        border: 4px double #5a739a;
    }
    #header .version:after{
        display: none;
    }
    #sidedrawer-brand{
        padding-top: 6px;
    }
}
@media (max-width: 325px) {
    .bar-container .fa-bars{
        padding: 0 14px;
    }
    .filter-button .fa-filter,
    .filter-button .fa-search{
        padding-left: 14px;
        padding-right: 14px;
        font-size: 14px;
    }
}
.getpdfbutton {
    text-decoration: none;
    line-height: 30px;
    border: 1px solid #21a20d;
    display: inline-block;
    padding: 0.3em 1.2em;
    margin: 0 0.3em 0.3em 0;
    border-radius: 2em;
    box-sizing: border-box;
    font-weight: 300;
    color: #FFFFFF;
    background-color: #248f1d;
    text-align: center;
    transition: all 0.2s;
    font-family: sans-serif;
}


.getpdfbutton:hover {
    text-decoration: none;
    border: 1px solid black;
}
.protogenerate {
    text-decoration: none;
    line-height: 30px;
    border: 1px solid #2196f3;
    display: inline-block;
    padding: 0.3em 1.2em;
    margin: 0 0.3em 0.3em 0;
    border-radius: 2em;
    box-sizing: border-box;
    font-weight: 300;
    color: #FFFFFF;
    background-color: #4eb5f1;
    text-align: center;
    transition: all 0.2s;
    font-family: sans-serif;
}

.protogenerate:hover {
    border: 1px solid black;
    text-decoration: none;
}
.fa-create::before {

    content: "\f0e7";
    margin-right: 5px;
    font-family: Font Awesome 5 Free;
}
.fa-download::before {
    content: "\f103";
    margin-right: 5px;
    font-family: Font Awesome 5 Free;
}
.fa-video::before {
    content: "\f111";
    font-family: Font Awesome 5 Free;
    color: #526f8c;
}
.fa-power-off::before {
       content: "\f011";
       font-family: Font Awesome 5 Free;
       color: #d56b6b;
   }