@import "~normalize.css";

* {margin: 0; padding: 0; box-sizing: border-box}
*:focus{
    outline: none;
}
[class^="icon-"], [class*=" icon-"]{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body{
    font-family: Roboto, sans-serif;
    font-size: 14px;
}

body.hideScroll{
    overflow-y: hidden;
}

header{
    line-height: 60px;
    height: 60px;
    background: #47525e;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

header a{
    text-decoration: none;
    color: #FFF;
    margin-left: 10px;
}

fieldset{
    border: none;
}

.megamagLogo{
    padding: 7px 0;
    display: inline-block;
}
.megamagLogo img{
    height: 46px;
    display: inline-block;
}

.filmTable{
    background: #FFF;
    border: 0;
    width: 100%;
}
table{
    border-spacing: 0;
    border-collapse: collapse;
}
th{
    background: #47525e;
    color: #FFF;
    padding: 10px;
    font-weight: normal;
}

.fullContainer {
    max-width: 1200px;
    margin: auto;
    background: #FFF;
    box-shadow: 0 0 100px #0000001f;
}

.filterContainer {
    padding: 14px;
}

.filmsContainer{
    padding: 0 10px;
}



.customScrollbar::-webkit-scrollbar {
    width: 3px;
}
.customScrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.customScrollbar::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 3px;
}




.form-control, .form-control-wa {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d6e3e3;
    border-radius: 4px;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-control-wa{
    width: auto !important;
}

textarea.form-control{
    height: auto;
}

.form-control-min {
    height: 26px;
    padding: 0 10px !important;
    line-height: 26px;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.08), 0 0 8px rgba(102,175,233,0.06);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.08), 0 0 8px rgba(102,175,233,0.06);
}

.transition { -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease-in-out}


.flex-row{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.flex-between{
    justify-content: space-between;
}
.flex-center{
    justify-content: center;
}



.ui-widget.ui-widget-content{
    z-index: 99999999;
}



.checkboxList{
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #f7f7f7;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #a9a9a9;
}

.userItem{
    line-height: 1em;
    padding: 10px 0;
}

.userItem .username {
    margin-top: 8px;
}
.userItem .userLogin{
    margin-bottom: 8px;
    opacity: 0.4;
}




.btn {
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0 .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    position: relative;
    text-decoration: none;
    margin: 0 5px;
    background-color: #efefef;
    cursor: default;
}

.btn-sm {
    font-size: 0.8rem;
    padding: .24rem .5rem;
}
.btn-sm-2{
    font-size: 0.7rem;
    padding: .18rem .4rem;
}

.btn-blue{
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-red {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-green{
    color: #fff;
    background-color: #36c71b;
    border-color: #36c71b;
}

.btn-green-light{
    color: #fff;
    background-color: #1aec0c;
    border-color: #1aec0c;
}

.btn-dark{
    color: #fff;
    background-color: #47525E;
    border-color: #47525E;
}

.btn-gray{
    color: #fff;
    background-color: #797979;
    border-color: #797979;
}

.btn-yel{
    color: #FFF;
    background: #ffc107;
    border-color: #ffc107;
}

.btn:active{
    box-shadow: 0 2px 3px rgba(0,0,0,0.3) inset;
}

*.btn:first-child{
    margin-left: 0;
}




.filmTableHelper {
    text-align: right;
    padding: 5px 5px 0 0;
}



.filterFilms{
    padding: 10px;
}

.filterFilms label, .filterFilms input[type=checkbox]{
    margin-right: 10px;
}

.filmInfo{
    width: 300px;
    border-right: 1px solid #d1d1d1;
}

.filmInfo-head {
    margin: 6px;
    padding: 6px 8px;
    background: #ebeff3;
    border-radius: 8px;
}

.filmInfo-content{
    padding: 10px;
}

.filmDescr {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #CCC;
}

.filmInfo-content .images{
    padding: 10px 0;
}
.filmInfo-content .images > img{
    display: inline-block;
    margin-right: 5px;
}







.btnIcon {
    padding: 0;
    margin: 0;
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    background: none;
    border: none;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btnIcon:hover{
    background: #FFF;
}

.btnIcon:active {
    box-shadow: 1px 1px 2px #b3b3b3 inset;
    background: #deecf1;
}




.noticeMin {
    font-size: 12px;
    padding: 4px 4px 0 4px;
    color: #626262;
}




.seancesTable{
    width: 100%;
    font-size: 0.85em !important;
}

.seancesTable tr > td{
    background: #FFF;
    border:1px solid #d1d1d1;
    padding: 2px 4px;
    text-align: center;
}
.seancesTable tr:first-child td{
    border-top: none;
}
.seancesTable tr:nth-child(even) td{
    background: #ebeff3;
}

.seancesTable tr > td:last-child{
    border-right: 0;
}
.seancesTable tr > td:first-child{
    border-left: 0;
}

.changeDisplayTypeSeance{
    font-size: 16px;
}
.seanceDisplayType1{
    color: #00b700;
}

.seanceDisplayType2{
    color: red;
}

.changeStatusTypeSeance > i{
    width: 16px;
    height: 16px;
    background: #CCC;
    display: inline-flex;
    align-items: center;
    border-radius: 50%;
    color:#FFF;
    font-size: 8px;
}
.seanceStatusType0 > i{
    background: red;
}
.seanceStatusType1 > i{
    background: #00b700;
}

.changeDisplayTypeSeance:hover > i,
.changeStatusTypeSeance:hover > i{
    transform: scale(1.2);
}

.changeDisplayTypeSeance:active > i,
.changeStatusTypeSeance:active > i{
    transform: scale(1);
}






.seanceForm table td{
    padding: 2px 0;
}




.pointerLine > td{
    background: #F44336 !important;
    color: #FFF;
}



.datepicker{
    z-index: 9999999999999 !important;
}



.auth{
    max-width: 300px;
    margin:auto;
    padding: 20px;
    border-radius: 10px;
}
.auth label{
    display: block;
    margin-bottom: 10px;
}





.dateLabel, .timeLabel{
    position: relative;
    display: inline-block;
}

.dateLabel > i, .timeLabel > i{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}



.fullContainer > .users,
.fullContainer > .certificates{
    padding: 20px;
}
.usersList{
    width: 100%;
    line-height: 40px;
}
.usersList tr:first-child td{
    font-weight: bold;
}


.certificates td{
    text-align: center;
    padding: 5px;
}
.certificates tr > td:first-child{
    text-align: left;
    padding-left: 10px;
}
.certificates tr:nth-child(odd) td {
    background: #ebeff3;
}

.certCode {
    font-size: 0.8em;
    opacity: 0.8;
}


.checkboxList {
    display: flex;
    flex-direction: column;
    line-height: 1.4em;
}

.checkboxList label{
    display: flex;
    align-items: center;
}

.checkboxList label > input{
    margin-right: 6px;
}




/*=============== Навигация по страницам =================*/
.clsLink3 a, .clsLink3 span{ display:inline-block; margin: 0 1px 3px 1px; background-color: #FFF; padding: 7px 10px;color: #7b7b7b;}
.clsLink3 a:link {border: 1px solid #c4c4c4; border-radius: 2px;  text-decoration:none;}
.clsLink3 a:visited {border: 1px solid #c4c4c4; border-radius: 2px; text-decoration:none;}
.clsLink3 a:hover {background-color: #363839; color: #FFF; border: 0; padding: 8px 11px;}
.clsLink3 {margin-bottom:0; margin-top:0; text-align:center; padding: 10px 0; clear:both}
.clsLink3 span {border-radius: 2px; background-color: #363839; color: #FFF; padding: 8px 11px; margin: 0 1px}

.ruler {clear:both; width: 100%; display:block; margin: 30px 0 10px 0;}
/*========================================================*/



/* Oh Snap */
#notice { position: fixed; bottom: 10px; right: 10px; z-index: 9999; max-width: 100%}
.alert { text-align: left; margin: 10px auto auto 10px; padding: 15px; border-radius: 3px; background-color: white; color: white }
.alert-red { background-color: rgba(218, 68, 83, 0.7) }
.alert-green { background-color: rgba(22, 226, 120, 0.7) }
.alert-blue { background-color: rgba(74,137,220, 0.7) }
.alert-yellow { background-color: rgba(246,187,66, 0.7) }
.alert-orange { background-color: rgba(233,87,63, 0.7) }
.alert-black { background-color: rgba(0,0,0, 0.7) }






.err_field_content{
    color: red;
}






.tabsPanel{
    display: flex;
    align-items: flex-end;
}
.tabsPanel > .tab{
    background: #c5c9cd;

    padding: 4px 20px;
    user-select: none;
    line-height: 24px;
}

.tabsPanel > .tab:first-child{
    border-radius: 6px 0 0 0;
}

.tabsPanel > .tab:last-child{
    border-radius: 0 6px 0 0;
}

.tabsPanel > .tab.active{
    background: #47525e;
    padding: 8px 20px;
    border-radius: 6px 6px 0 0;
    color: #FFF;
}

.tabContent{
    display: none;
}
.tabContent.active{
    display: block;
}


.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}



.hlight > td { -webkit-animation: hlight 3s; animation: hlight 3s }
@keyframes hlight {
    0% {box-shadow: 0 0 20px #00ba00 inset}
    100% {box-shadow: 0 0 20px transparent inset}
}
@-webkit-keyframes hlight {
    0% {box-shadow: 0 0 20px #00ba00 inset}
    100% {box-shadow: 0 0 20px transparent inset}
}