   html, body {
        color:  #2F4F4F;  
        font-family: Calibri; 
        width: 100%; 
        height: 100%; 
        margin: 0px; 
        padding: 0px;
   }
   
   
   
   
   body{
       background-color: #F5F5F5;
        background-image: url(../img/fon-nebo7.jpg); 
        /*background-image: url(../img/BB_fone.jpg);*/
        background-repeat: no-repeat; 
        background-position: left top; 
        background-size: cover;
   }
   
   
/*.mainTable{
    background-image: url(../img/fon-nebo7.jpg);
    background-repeat: no-repeat; 
    background-position: left top; 
    background-size: cover;
   }    */
   
.common_forms_wrapper {
    height: 100%; 
    width: 100%; 
    position: fixed; 
    top: 15px; 
    left: 0; 
    display: flex;
    display: -webkit-flex;
    align-items: center; 
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center; 
}



.errorBtn{
    background-color: #FFE4E1;
    border-color: #B22222;
}   
.errorBtn:hover{
    border-color: #FF0000;
}
  
@media screen and (min-width: 768px)
{
    /* desktop */
    .shortBtn {
        height: 20px;
    }
    .longBtn {
        height: 20px;
    }
    
    .ctrlBtn {
        height: 20px;
    }
    
/*    #addBtnBottom{
        display: nones;
    }*/
/*    #fsButton{
        display:none;
    }*/
    
}

@media screen and (max-width: 767px)
{
    /* mobile */
    .shortBtn { 
        height: 25px;
    }
    .longBtn {
        height: 25px;
    }
    .ctrlBtn {
        height: 25px;
    }
    #addBtnBottom{
        display:none;
    }
/*    #fsButton{
        display:block;
    }*/
    
    html, body {

        color: #2F4F4F;  
        font-family: Calibri;
        width: 100%; 
        height: 100%; 
        margin: 0px; 
        padding: 0px;
   }
} 





.longBtn{
    width:110px;
    border-radius: 3px;
    border-style: solid;
    border-width: 0.8px;
    padding: 2px 2px 2px 2px;
    background-color: #DDDEDF;
    border-color: #666;
}

.shortBtn img
{
    height: 100%;
    vertical-align: top;
}

.shortBtn:focus
{
    outline: none;
}

.shortBtn:hover{
    transform:scale(1.02);
    -moz-transform:scale(1.02);
    -webkit-transform:scale(1.02);
    -moz-box-shadow: 1px 1px 1px #444; 
    -webkit-box-shadow: 1px 1px 1px #444; 
    box-shadow: 1px 1px 1px #444;  
    cursor: pointer;
    background-color: #efefef;
}

.ctrlBtn {
        width:50px; 
        border-radius: 3px; 
        border-style: solid;
        border-width: 0.8px;
        border-color: #666;
        padding: 2px 2px 2px 2px;
        background-color: #DDDEDF;
    }

.ctrlBtn img
{
    height: 100%;
    vertical-align: top;
}

.ctrlBtn:focus
{
    outline: none;
}

.hoverable:hover{
    transform:scale(1.02);
    -moz-transform:scale(1.02);
    -webkit-transform:scale(1.02);
    -moz-box-shadow: 1px 1px 1px #444; 
    -webkit-box-shadow: 1px 1px 1px #444; 
    box-shadow: 1px 1px 1px #444;  
    cursor: pointer;
    background-color: #efefef;
}

.longBtn img
{
    height: 100%;
    vertical-align: top;
}



.longBtn:hover{
    transform:scale(1.02);
    -moz-transform:scale(1.02);
    -webkit-transform:scale(1.02);
    cursor: pointer;
    background-color: #efefef;
}

.common_shadow{
    -moz-box-shadow: 4px 4px 6px #999; 
    -webkit-box-shadow: 4px 4px 6px #999; 
    box-shadow: 4px 4px 6px #999;
}

.common_shadow:hover{
    -moz-box-shadow: 4px 4px 7px #666; 
    -webkit-box-shadow: 4px 4px 7px #666; 
    box-shadow: 4px 4px 7px #666;
}

.common_forms {  
    position: relative; 
    display: block;
    padding: 5px;
    border-radius: 3px;
    height: auto/*18px*/;
    color: #333; /* цвет текста */
    border-style: solid;
    border-width: 1px;
    border-color: #888;
    background: #eae9e8;   
    width: 650px; 
}
.timeManagerForm{
    margin: 5px auto;
    position: absolute;
/*    top: -5px;*/
    left: 50%;
    transform: translate(-50%, 0%);
    display: block;
    padding: 5px;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    border-color: #888;
    background: #eae9e8;   
    width: 430px; 
    height: auto;
}

#timeManagerWrapper{
    top:0;
    display:none; 
    z-index: 9;
    background-color: rgba(127, 127, 127, 0.5);
}

#fileManagerWrapper{
    top:0;
    display:none; 
    z-index: 9;
    background-color: rgba(127, 127, 127, 0.5);
}

.interactiveTable { 
    width:100%; 
    border-collapse:collapse; 
    border-spacing:0; 
    border-color: #bbb;
}

.thinBorders { 
    width:100%; 
    border-collapse:collapse; 
    border-spacing:0; 
    border-color: #bbb;
}

.thinBordersNoOuter{
    width:100%; 
    border-collapse:collapse; 
    border-style: hidden;
    border-color: #bbb;
}

.interactiveTable tr:hover {
    background-color: #ccc; 
    color: #000; 
}

.interactiveTable td:hover {
    cursor: default;
}

.interactiveTableHref tr:hover:not(.startRowActive):not(.startRowInvite) {
    background-color: #ccc; 
}

.interactiveTableHref td:hover {
    cursor: pointer;
}

.interactiveCell:hover {
    cursor: default;
    background-color: #ccc; 
    color: #000;
}

.cellHover {
    cursor: default;
    background-color: #ccc; 
    color: #000;
}

.interactiveInviteCell:hover {
    cursor: default;
    background-color: #aaa; 
    font-weight: bold;
}

.nominative_forms {     
    margin-top: 24px; /* Отступ сверху */
}

.nomination {
    position: absolute;
    top: -24px;
    border-radius: 6px 6px 0px 0px;
    width: 48px;
    height: 23px;
    border-style: solid;
    border-bottom: none; 
    border-width: 1px;
    border-color: #aaa; 
    text-align: center;
}

.nomination a {
    display: block;
    text-decoration: none;
    color: #444;
    border-radius: 6px 6px 0px 0px;
    height: 22px; 
}
.nomination a:hover{  
    text-decoration: underline; 
    background: #eae9e8;  
}

.active_nom {
    background: #eae9e8;
    border-color: #888;
    z-index: 0;
}

.unittype {
    position: absolute;
    top: -24px;
    border-radius: 6px 6px 0px 0px;
    width: 120px;
    height: 23px;
    border-style: solid;
    border-bottom: none;
    border-width: 1px;
    border-color: #aaa; 
    text-align: center;
}

.unittype a {
    display: block;
    text-decoration: none;
    color: #444;
    border-radius: 6px 6px 0px 0px;
    height: 22px; 
}
.unittype a:hover{  
    text-decoration: underline; 
    background: #eae9e8;  
}

.active_elementtype {
    background: #eae9e8;
    border-color: #888;
    z-index: 0;
}

.day {
    position: absolute;
    top: -24px;
    border-radius: 6px 6px 0px 0px;
    width: 60px;
    height: 23px;
    border-style: solid;
    border-bottom: none;
    border-width: 1px;
    border-color: #aaa; 
    text-align: center;
}

.day a {
    display: block;
    text-decoration: none;
    color: #444;
    border-radius: 6px 6px 0px 0px;
    height: 22px; 
}
.day a:hover{  
    text-decoration: underline; 
    background: #eae9e8;  
}

.active_day {
    background: #eae9e8;
    border-color: #888;
    z-index: 0;
}

#day_1 {
    left: 15px;
}

#day_2 {
    left: 78px;
}

#day_3 {
    left: 141px;
}

#day_4 {
    left: 204px;
}

#day_5 {
    left: 267px;
}

#day_6 {
    left: 330px;
}

#day_7 {
    left: 393px;
}

#day_8 {
    left: 456px;
}

#day_9 {
    left: 519px;
}

#day_10 {
    left: 582px;
}

#day_11 {
    left: 645px;
}

#day_12 {
    left: 708px;
}

#day_13 {
    left: 771px;
}

#day_14 {
    left: 834px;
}

#IW_nom {
    left: 6px;
}
#IM_nom {
    left: 57px;   
}
#MP_nom {
    left: 108px;
}
#TR_nom {
    left: 159px;
}
#GR_nom {
    left: 210px;
}
#AD_nom {
    left: 261px;
}
#AS_nom {
    left: 312px;
}

#rgClass_1 {
    left: 6px;
}
#rgClass_2 {
    left: 63px;  
}
#rgClass_3 {
    left: 120px;
}
#rgClass_4 {
    left: 177px;
}
#rgClass_5 {
    left: 234px;
}
#rgClass_6 {
    left: 291px;
}
#rgClass_7 {
    left: 348px;
}
#rgClass_8 {
    left: 405px;
}
#rgClass_9 {
    left: 462px;
}
#rgClass_10 {
    left: 519px;
}
#rgClass_11 {
    left: 576px;
}
#rgClass_12 {
    left: 567px;
}

.rgClasses {
    position: absolute;
    top: -24px;
    border-radius: 6px 6px 0px 0px;
    width: 54px;
    height: 23px;
    border-style: solid;
    border-bottom: none; 
    border-width: 1px;
    border-color: #aaa; 
    text-align: center;
}

.rgClasses a {
    display: block;
    text-decoration: none;
    color: #444;
    border-radius: 6px 6px 0px 0px;
    height: 22px; 
}
.rgClasses a:hover{  
    text-decoration: underline; 
    background: #eae9e8;  
}

.scheduleTd{
    width: 12.5%;
    max-width: 12.5%;
    font-size: 0.9em;
    height:0px; 
    padding-top: 0px;
    padding-bottom: 0px;
    word-break: break-all; 
}

/* Цвета для чередования строк таблиц */

.scheduleLight{
    background-color: #F3F3F3;
}

.scheduleDark{
    background-color: #E9E9E9;
}

.newTableRow{
    background-color: #EFF5EF;
}

.headerTableRow{
    background-color: #CED8F6;
    font-weight: bold;
}
.oddTableRow{
    background-color: #EFF5EF; 
}
.evenTableRow{
    background-color: #E0ECF8; 
}
.evenTableRowGrey{
    background-color: #dcdcdc; /*светлее*/
}
.oddTableRowGrey{
    background-color: #efefef; /*светлее*/
}
.oddTableRowGrey1{
    background-color: #eae9e8; /*светлее*/
}
.evenTableRowGrey1{
    background-color: #d5d5d5; /*светлее*/
}

.startRowActive{
    background-color: #FFD700/*#FFD700;*/
}
.startRowInvite{
    background-color: #00FA9A;	  /*#A9FFC7;*/
}

.cellActive{
    -moz-box-shadow: 5px 5px 5px #444; 
    -webkit-box-shadow: 5px 5px 5px #444; 
    box-shadow: 5px 5px 5px #444; 
}


.headerTableRowGrey{
   background-color: #d5d5d5; /*светлее*/
   /*font-weight: bold;*/
   color: #000;
   height:25px;
}
.evenGrey{
    background-color: #efefef;
    color: #666;
}
.oddGrey{
    background-color: #eae9e8;
    color: #333;
}
.errorTableRow{
    background-color: #FFE4E1;
}
.okTableRow{
    background-color: #ccffcc;
}
.deletedTableRow{
    text-decoration: line-through;
}

.revokedCellClass{
    text-decoration: line-through;
}
.revokedRowClass{
    background-color: #FFE4E1;
}

.breakRow{
    color: blue;
    font-weight: bold;
}

.evalRow{
    background-color: #FFD4C1;  /*#FFC0CB #FFE4E1;*/
}

.processedRowShort{
    animation-name: processedRow;
    animation-duration: 0.5s;
    animation-iteration-count: 2;
}

.processedRow{
    animation-name: processedRow;
    animation-duration: 0.5s;
    animation-iteration-count: 4;
}
@keyframes processedRow{
    from{
        background-color: #fff;
    }
    17% {
        background-color: #EFF5FB;
    }
    33% {
        background-color: #E0ECF8;
    }
    67% {
        background-color: #CED8F6;
    }
    83% {
        background-color: #E0ECF8;
    }
    to{
        background-color: #EFF5FB;
        
    }
}
.processed{
    animation-name: processedTeam;
    animation-duration: 0.4s;
    animation-iteration-count: 3;
}
@keyframes processedTeam{
    from{
        opacity: 0.2;
    }
    25% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    to {
        opacity: 0.6;
    }
}

.hideon_1_5
{
    -webkit-animation: hideAnimation 1.5s ;
    -moz-animation: hideAnimation 1.5s ;
    -o-animation: hideAnimation 1.5s ;
    animation: hideAnimation 1.5s ;
    animation-iteration-count: 1;
}
@keyframes hideAnimation {
  0%   { opacity:0; }
  90%  { opacity:0; }
  100% { opacity:1; }
}


.blinkMessage{
    -webkit-animation: flickerAnimation 0.4s ;
    -moz-animation: flickerAnimation 0.4s ;
    -o-animation: flickerAnimation 0.4s ;
    animation: flickerAnimation 0.4s ;
    animation-iteration-count: 3;
}
@keyframes flickerAnimation {
  0%   { opacity:1; }
  50%  { opacity:0.4; }
  100% { opacity:1; }
}

@-o-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0.4; }
  100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0.4; }
  100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0.4; }
  100% { opacity:1; }
}

#deletedTableRow{
    text-decoration: line-through;
}

.clear{
    clear: both;
}


.msgError {
    color: #CC0000;
}

.errorMsg {
    color: #CC0000;
}
.msgWarning {
    color: #FF4500;
}

.msgInfo {
    color: #2E8B57;
}

.msgAge {
    color: #FF8C00;
}

.msgRepeat {
    color: #B22222;
}

.messagesArea {
    text-align: right;
   /* padding: 4px;*/
}

.text_center{
    text-align: center;
}

.note_text{
    color: #667;
    font-size: 16px;
}


#header{

}

#footer{
 /*   position: absolute; */
    bottom: 0;
    right: 0;
    width: 100%;
 /*   border: 1px solid #000; */
}

#header h2, #footer h2{
    text-align: center;
    margin: 0;
}

.ageError{
    border-bottom-color: #FF4500;
    border-bottom-style: double;
}
.sexError{
    border-bottom-color: #0000CD;
    border-bottom-style: double;
}

.formButtonText a{
    text-decoration: none;
    font-size: 14px;
    color: #444;
}
.formButtonText a:hover{
    color: #000; 
}

.formControlNoUnderline a{
    text-decoration: none;

    color: #444;
}
.formControlNoUnderline a:hover{
    text-decoration: underline ;
    color: #000; 
}

.formControl a{
    
    text-decoration: none;
    border-bottom: 1px dotted ;
    color: #444;
}
.formControl a:hover{
    text-decoration: none;
    border-bottom: 1px solid;
    color: #000; 
}

.formControl label{
    
    text-decoration: none;
    border-bottom: 1px dotted ;
    color: #444;
}
.formControl label:hover{
    text-decoration: none;
    border-bottom: 1px solid;
    color: #000; 
}


   
/* Блок с формой регистрации */
#form_register, #form_auth, #form_resetpwd{
  /*  width: 1000px;*/
    margin: 0 auto;
    align-content: center;
}

input[type="submit"] {
    width: 100%;
    height: 30px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
}

/* ModalWindow >> */
.modalDialog {
        position: fixed;
  /*      font-family: Calibri; */
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.2);
        z-index: 99999; 
        -webkit-transition: opacity 200ms ease-in;
        -moz-transition: opacity 200ms ease-in;
        transition: opacity 200ms ease-in;      
    /*    display: none;
        pointer-events: none;*/
        visibility: hidden; 
        opacity: 0; 
}

.modalDialog:target {
        display: block;
        pointer-events: auto;
        visibility: visible;
        opacity: 1;
}

#modalMessage > div {
    width: 500px;
    height: auto;
    margin: 120px auto;
}

#modalConfirmResetTossup > div {
    width: 450px;
    height: 100px;
    margin: 10% auto;    
}
#modalChooseEvent > div {
    width: 600px;
    height: 300px;
    margin: 10% auto;    
}
#modalChooseRole > div {
    width: 760px;
    height: 250px;
    margin: 10% auto;    
}
.modalDialog > div {
        
        position: relative;       
        padding: 16px 16px 26px 36px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        background: #F5F5F5;
        -moz-box-shadow: 6px 6px 6px #222; 
        -webkit-box-shadow: 6px 6px 6px #222; 
        box-shadow: 6px 6px 6px #222; 
}


.modalClose {
        background: #eee;
        color: #222;
        line-height: 30px;
        position: absolute;
        right: -6px;
        text-align: center;
        top: -12px;
        width: 120px;
        text-decoration: none;      
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        
        -moz-box-shadow: 3px 3px 3px #333; 
        -webkit-box-shadow: 3px 3px 3px #333; 
        box-shadow: 3px 3px 3px #333; 
        
        border-style: solid;
        border-width: 1px;
        border-color: #aaa;
}

.modalClose:hover { 
        color:#fff;
        background: lightslategrey; 
        
        -moz-box-shadow: 5px 5px 5px #333; 
        -webkit-box-shadow: 5px 5px 5px #333; 
        box-shadow: 5px 5px 5px #333;
        
        transform:scale(1.07);
	-moz-transform:scale(1.07);
	-webkit-transform:scale(1.07);

}

/* Кнопка закрытия модалки — крестик, крупная для планшета (удобно нажимать пальцем) */
.modalCloseBtn {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 155px;
    height: 72px;
    font-size: 48px;
    line-height: 1;
    padding: 0;
    border: 2px solid #aaa;
    border-radius: 12px;
    background: #eee;
    color: #333;
    cursor: pointer;
    box-shadow: 3px 3px 3px #333;
}

.modalCloseBtn:hover {
    background: lightslategrey;
    color: #fff;
}




/*------------------------------------*\
	СБРОС
\*------------------------------------*/


address,caption,cite,code,dfn,var{
	font-style:normal;
	font-weight:normal;
}

caption{
	text-align:left;
}
/*
q:before,q:after{
	content:'';
}*/
abbr,acronym{
	border:0;
}

/* Выпадающее меню >> */
/*Обнуляем отступы*/

ul, li {
    margin:0;
    padding:0;
    list-style-type:none; 
}
.nav2 li{
	position:relative;
}
.nav2 ul{
	list-style:none;
	position:absolute; 
	left:-9999px; 
	opacity:0.3; 
	-webkit-transition:0.25s linear opacity;
        -moz-transition:0.25s linear opacity;
        transition:0.25s linear opacity;
}

.nav2 ul a {
	white-space:nowrap; /* Останавливаем перенос текста и создаем многострочный выпадающий пункт */
	display:block;
}

.nav2 li:hover ul{ /* Выводим выпадающий пункт при наведении курсора */
	left:0; /* Приносим его обратно на экран, когда нужно */
	opacity:1; /* Делаем непрозрачным */
}

.nav2 li:hover ul li a:hover{ /* Устанавливаем стили для выпадающих пунктов, когда курсор наводится на конкретный пункт */
        transform:scale(1.4);
	-moz-transform:scale(1.4);
	-webkit-transform:scale(1.4);
} 
.nav{
	float:left;
	list-style:none;
        
}

.nav li {
	float:left;
        text-align: center;
	margin-right:3px;
	position:relative;
	display:block;
        width:130px;
}

.navAdmin li {
	
        width:250px;
}

.navBtn{
    margin-right:3px;
    background:#DDDEDF;
    text-decoration:none;	
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border-style: solid;
    border-width: 0.8px;
    border-color: #999;
    -moz-box-shadow: 4px 4px 6px #999; 
    -webkit-box-shadow: 4px 4px 6px #999; 
    box-shadow: 4px 4px 6px #999;
    width:100px;
    height:30px;
}
.navBtn:hover{
    color:#fff;	
    /*background: lightslategray;*/
    background-color: #efefef;
    -moz-box-shadow: 4px 4px 7px #666; 
    -webkit-box-shadow: 4px 4px 7px #666; 
    box-shadow: 4px 4px 7px #666;
    
    transform:scale(1.02);
    -moz-transform:scale(1.02);
    -webkit-transform:scale(1.02);
    cursor: pointer;
    background-color: #efefef;
}
.navBtn:focus
{
    outline: none;
}

.nav li a, abbr{
	display:block;
	padding:5px;
	color:#444;
	background:#DDDEDF;
        /*background:#efefef;*/
	text-decoration:none;	
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
        border-style: solid;
        border-width: 0.8px;
        border-color: #999;
        
/*        -moz-box-shadow: 2px 2px 2px #444; 
        -webkit-box-shadow: 2px 2px 2px #444; 
        box-shadow: 2px 2px 2px #444; */
        -moz-box-shadow: 4px 4px 6px #999; 
        -webkit-box-shadow: 4px 4px 6px #999; 
        box-shadow: 4px 4px 6px #999;

}
.nav li a:hover, abbr:hover{

	color:#fff;	
        background: lightslategray;
        
        -moz-box-shadow: 4px 4px 7px #666; 
        -webkit-box-shadow: 4px 4px 7px #666; 
        box-shadow: 4px 4px 7px #666;
        
/*        -moz-box-shadow: 2px 2px 2px #000; 
        -webkit-box-shadow: 2px 2px 2px #000; 
        box-shadow: 2px 2px 2px #000;	*/
}
.nav li a:hover{
    text-decoration: underline;
}
/*--- ВЫПАДАЮЩИЕ ПУНКТЫ ---*/
.nav ul{
	list-style:none;
	position:absolute;
	left:-9999px; 
	opacity:0.3;
        z-index: 2;
	-webkit-transition:0.25s linear opacity;
        -moz-transition:0.25s linear opacity;
        transition:0.25s linear opacity;
}
.nav ul li{
	padding-top:4px; /* Вводим отступ между li чтобы создать иллюзию разделенных пунктов меню */
	float:none;
        margin-left: 20px;
/*	background:url(../img/dot.gif);*/
}

.nav ul a {
	white-space:nowrap; /* Останавливаем перенос текста и создаем многострочный выпадающий пункт */
	display:block;
}

.nav li:hover ul{ /* Выводим выпадающий пункт при наведении курсора */
	left:0; /* Приносим его обратно на экран, когда нужно */
	opacity:1; /* Делаем непрозрачным */
}

.nav li:hover ul li a:hover{ /* Устанавливаем стили для выпадающих пунктов, когда курсор наводится на конкретный пункт */
        transform:scale(1.05);
	-moz-transform:scale(1.05);
	-webkit-transform:scale(1.05);   
}

.shortBtn {
        width:50px; 
        border-radius: 3px; 
        border-style: solid;
        border-width: 0.8px;
        border-color: #666;
        padding: 2px 2px 2px 2px;
        /*background-color: #DDDEDF;*/
    }
    
.formButton a{
        width:45px; 
        height:15px;
        display:block;
        border-radius: 3px; 
        border-style: solid;
        border-width: 0.8px;
        border-color: #666;
        padding: 2px 2px 2px 2px;
        background-color: #DDDEDF;
        position: relative;
        margin-left: 5px;       
}

.formButton a:hover{
    transform:scale(1.02);
    -moz-transform:scale(1.02);
    -webkit-transform:scale(1.02);
    -moz-box-shadow: 1px 1px 0px #444; 
    -webkit-box-shadow: 1px 1px 0px #444; 
    box-shadow: 1px 1px 0px #444;  
    cursor: pointer;
    background-color: #efefef;
}

    /*
.formButton a{
        display:block;
	background:#E0E0E0;
	text-decoration:none;	
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;  
        -moz-box-shadow: 1px 1px 1px #222; 
        -webkit-box-shadow: 1px 1px 1px #222; 
        box-shadow: 1px 1px 1px #222;      
        position: relative;
        height: 16px;
        margin-left: 5px;
        margin-right: 5px;
}
*/

/*.formButton a:hover{
        transform:scale(1.08);
	-moz-transform:scale(1.08);
	-webkit-transform:scale(1.08);
        background: #C0C0C0; 
        box-shadow: 1px 1px 1px #111;  
}*/

.formButton a:active{
    box-shadow: 0px 0px 0px ;
    transform:scale(1);
    -moz-transform:scale(1);
    -webkit-transform:scale(1);
        
}


.forceInviteBtn{
    height: 20px;
    width: 45px;
    text-align: center;
    vertical-align:middle;
    padding-bottom: 0px;
    border-radius: 3px;
    border-width: 0.5px;
    background-color: #DDDEDF;
}

.forceInviteBtn img
{
    height: 80%;
    vertical-align: top;
}

.forceInviteBtn_hover:hover{
    transform:scale(1.02);
    -moz-transform:scale(1.02);
    -webkit-transform:scale(1.02);
    -moz-box-shadow: 1px 1px 1px #444; 
    -webkit-box-shadow: 1px 1px 1px #444; 
    box-shadow: 1px 1px 1px #444;  
    cursor: pointer;
    background-color: #efefef;
}

.forceInviteBtn:active{
    outline: none;
    border: none;   
}
.forceInviteBtn:focus {outline:0;}

.smallSubmit{
 font-size: 0;
 width: 0px;
 height: 0px;

}

#event_links a{
        margin-top: 2px; 
        display:block;
	padding:3px;
	color:#444;
	background:#D8D8D8;
	text-decoration:none;	
	/*text-shadow:1px 1px 1px rgba(0,0,0,0.15);*/ /* Тень текста, чтобы приподнять его на немного */
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
        border-style: solid;
        border-width: 1px;
        border-color: #aaa;
        
}

#event_links a:hover{
    background-color: lightslategray/*#8D8D8D; */;
    color: #fff;
    text-decoration: underline;
}
.eventData
{
    display: table-cell; 
}
.roleData
{
    display: table-cell; 
}
.activeLink { 
    font-weight: bold;
}


.digits{
  list-style-type: none;
  margin:0;
  padding:3px;
  font-size: 14px;
  position: absolute;
  display: inline-block;
}
.digits li {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  background: #d6d6d6;
  opacity: 0;
}

.appearance {
    opacity:0;
    animation: opacity 6s 1;
}
@keyframes opacity {
  0% {
    opacity: 0
  }
  9% {
    opacity: 0
  }
  10% {
    opacity: 0.25
  }
  30% {
    opacity: 0.75
  }
  50% {
    opacity: 1
  }
  100% {
    opacity: 1
  }
}

#simpleMessage{
    text-align: center;
    width: 70%; 
    margin:auto;
}


/* for single event: */
.invitation_3{
    width: 940px; 
    height: 245px;
    overflow:auto; 
    background-color: #eae9e8; 
}

.img_3 {
        width: 288px;
        height: 180px;
        -moz-box-shadow: 5px 5px 5px #444; 
        -webkit-box-shadow: 5px 5px 5px #444; 
        box-shadow: 5px 5px 5px #444;  
        padding:0;
}

.img_3:hover { 
        -moz-box-shadow: 7px 7px 7px #444; 
        -webkit-box-shadow: 7px 7px 7px #444; 
        box-shadow: 7px 7px 7px #444; 
        
        transform:scale(1.03);
	-moz-transform:scale(1.03);
	-webkit-transform:scale(1.03);
}

.img_4 {
        width: 300px;
        height: 300px;
        -moz-box-shadow: 5px 5px 5px #444; 
        -webkit-box-shadow: 5px 5px 5px #444; 
        box-shadow: 5px 5px 5px #444;  
        padding:0;
}

.img_4:hover { 
        -moz-box-shadow: 7px 7px 7px #444; 
        -webkit-box-shadow: 7px 7px 7px #444; 
        box-shadow: 7px 7px 7px #444; 
        
        transform:scale(1.03);
	-moz-transform:scale(1.03);
	-webkit-transform:scale(1.03);
}

.invitation_4{
    width: 800px; 
    height: 360px;
    overflow:auto; 
    background-color: #eae9e8; 
}

.invitation_2{
    width: 890px; 
    height: 330px;
    overflow:auto; 
    background-color: #eae9e8; 
}

.img_2 {
        width: 375px;
        height: 234px;
        -moz-box-shadow: 5px 5px 5px #444; 
        -webkit-box-shadow: 5px 5px 5px #444; 
        box-shadow: 5px 5px 5px #444;  
        padding:0;
}

.img_2:hover { 
        -moz-box-shadow: 7px 7px 7px #444; 
        -webkit-box-shadow: 7px 7px 7px #444; 
        box-shadow: 7px 7px 7px #444; 
        
        transform:scale(1.03);
	-moz-transform:scale(1.03);
	-webkit-transform:scale(1.03);
}

.invitation_1{
    width: 890px; 
    height: 530px;
    overflow:auto; 
    background-color: #eae9e8; 
}

.img_1 {
        width: 600px;
        height: 385px;
        -moz-box-shadow: 5px 5px 5px #444; 
        -webkit-box-shadow: 5px 5px 5px #444; 
        box-shadow: 5px 5px 5px #444;  
        padding:0;
}

.img_1:hover { 
        -moz-box-shadow: 7px 7px 7px #444; 
        -webkit-box-shadow: 7px 7px 7px #444; 
        box-shadow: 7px 7px 7px #444; 
        
        transform:scale(1.03);
	-moz-transform:scale(1.03);
	-webkit-transform:scale(1.03);
}

.img_ag {
        width: 559px;
        height: 321px;
        -moz-box-shadow: 5px 5px 5px #444; 
        -webkit-box-shadow: 5px 5px 5px #444; 
        box-shadow: 5px 5px 5px #444;  
        padding:0;
}

.img_ag:hover { 
        -moz-box-shadow: 7px 7px 7px #444; 
        -webkit-box-shadow: 7px 7px 7px #444; 
        box-shadow: 7px 7px 7px #444; 
        
        transform:scale(1.03);
	-moz-transform:scale(1.03);
	-webkit-transform:scale(1.03);
}



/* for multiply events: */
.invitation{
    width: 950px; 
    height: 65%;
    overflow:auto; 
}
.activeEvents{
    height: auto;
    background-color: #eae9e8; 
    border-radius: 3px;
}  

.img {

        height: 120px;
        -moz-box-shadow: 3px 3px 3px #444; 
        -webkit-box-shadow: 3px 3px 3px #444; 
        box-shadow: 3px 3px 3px #444; 
        float: left;     
        padding:0;
        margin: 5px;
}

.img:hover { 
        -moz-box-shadow: 4px 4px 4px #444; 
        -webkit-box-shadow: 4px 4px 4px #444;   
        box-shadow: 4px 4px 4px #444;  
        
        transform:scale(1.03);
	-moz-transform:scale(1.03);
	-webkit-transform:scale(1.03);
        
        cursor: pointer;
}

.tdFsInfo{
    text-align: left; 
    font-weight: bolder; 
    font-size: 18px;
}

.leftimg {
    float: left; 
    margin: 5px 0px 12px 15px; 
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

.block {
    font-size:0.875em; /* размер шрифта в рекламном блоке */    
    margin:0 auto; /* выравниваем рекламный блок по центру */
    border-radius: 10px;
    border-width: 2px;
    border-style: solid;
    width:120px;
    font-weight: normal;
}

.block td{
    height:21px;
} 

.blockheader{    
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    height: 1.4em;
    font-size:1.3em; /* размер шрифта заголовка */
    font-weight:normal; /* нормальное начертание шрифта */
    color:#fff;  /* цвет заголовка */
    text-align: center;
}

.evalInput{    
    width:40px; 
    text-align: right; 
    font-weight: bold;
    font-size: 1.12em;
    border: 1px solid #ccc;
}
#mainModal input.evalInput.minMaxMarked,
#mainModal .evalInput.minMaxMarked {
    border: 1px solid #CC0000 !important;
    border-radius: 2px !important;
}
#mainModal input.evalInput.minMaxMarked:focus,
#mainModal .evalInput.minMaxMarked:focus {
    border: 1px solid #CC0000 !important;
    outline: none !important;
}
.evalName{
    width:50px;
    text-align: center;
    font-weight: bold;
    font-size: 1.12em;
}
.evalValue{
     width:40px;
   /*  color: #000; */
     text-align: right;
}

.evalValue :enabled {
    border-color: green;
    border-width: 1px;
}

.evalValue :disabled {
    border-color: red;
    border-width: 1px;
}

.evalConfirmation{
     width:40px;
   /*  color: #000; */
     text-align: center;
}

#uBlock{
  /*  color:#0000CD;  */
    border-color: #654;   
}
#uHeader{
    background:#654;       
}
                                        
#eBlock{
  /*  color:#0000CD;  */
    border-color: #0000CD;   
}
#eHeader{
    background:#0000CD;       
}

#aBlock{
   /* color:#006400;  цвет шрифта в блоке */
    border-color: #006400;   
}
#aHeader{
    background:#006400;       
}

#dBlock{
   /* color:#4B0082;  цвет шрифта в блоке */
    border-color: #4B0082;   
}
#dHeader{
    background:#4B0082;       
}

#ddBlock{
   /* color:#8B0000;  цвет шрифта в блоке */
    border-color: #8B0000;   
}
#ddHeader{
    background:#8B0000;       
}




#sBlock{
  /*  color:#008080;  цвет шрифта в блоке */
    border-color: #005050;   
}
#sHeader{
    background:#005050;       
}
.wpr td{
    width:33%; 
    font-weight: bold;
    text-align:center;
    height: 35px;
    font-size: 19px;
}
.wpr button{
    height: 100%; 
    width: 90%;
    font-size: 17px;
}

.wprh_input{
    width:95%;
    height:100%;
    font-size:18px;
    text-align:center;
}

.referee{
    width: 60%;
    margin: 12% auto 0;
}

.arbiter{
    width: 500px;
    margin: 20% auto 0;
}


    
.dialog-ovelay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(0, 0, 0, 0.30);*/
    background: rgba(255, 255, 255, 0.70);   
    z-index: 999999;
}

.dialog-ovelay .dialog { 
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    border-radius: 6px;
    overflow: hidden
        
}
.dialog-ovelay .dialog header {
    padding: 10px 8px;
    background-color: #f6f7f9;
    border-bottom: 1px solid #e5e5e5
}
.dialog-ovelay .dialog header h3 {
    font-size: 1.4em;
    margin: 0;
    color: #555;
    display: inline-block
}
.dialog-ovelay .dialog header .fa-close {
    float: right;
    color: #c4c5c7;
    cursor: pointer;
    transition: all .5s ease;
    padding: 0 2px;
    border-radius: 1px    
}
.dialog-ovelay .dialog header .fa-close:hover {
    color: #b9b9b9
}
.dialog-ovelay .dialog header .fa-close:active {
    box-shadow: 0 0 5px #673AB7;
    color: #a2a2a2
}

.dialog-ovelay .dialog .dialog-msg{
    margin: 0;
    font-size: 1.5em;
    color: #333;
    padding: 12px 10px
}


.dialog-ovelay .dialog {
    border-top: 1px solid #e5e5e5;
    padding: 8px 10px 
}

.referee-footer{
    height: 3.5em;
}

.arbiter-footer{
    height: 3em;
}

.dialog-ovelay .dialog footer  .dialogbtn {
    padding: 5px 15px; 
}
.dialogbtn {
  cursor: pointer;
  font-size: 1.2em;
  width:100%;
  height:100%;
  color: #FFF;
  border: 1px solid rgba(204, 204, 204, 0.5);
  border-radius: 4px
}
.dialogbtn-default {
    background-color: #f44336;  
}
.dialogbtn-ok {
    background-color: #388E3C;
} 

.linethrow{
    text-decoration: line-through;
    color: #CC0000;
}

.label_title:hover{
    cursor:pointer;
}

.more_info .title {
  position:fixed;
  background: #FFF;
  padding: 2px 8px 3px 8px;
  font-size: 0.84em;
  white-space: nowrap;
  border: 0.5px solid #777;
}

.scheduleMoreInfo {
  text-align: left; 
  position:absolute; 
  top:80px; 
  left:90px;
  background: #FFF;
  padding: 2px 8px 3px 8px;
  font-size: 0.84em;
  white-space: nowrap;
  border: 0.5px solid #777;
}

.more_info:focus{
    outline: 0px solid transparent;
}

.sticker {
  position: absolute;
  right: -9px; top: -5px;
}

.newRowTemplate, .emptyBottom, .emptyTop
{
    display:none;
}

.processingRow{
    color: #fff;
    font-weight: bold;
    background-color: #555;
}

#modal_form_container {   
    position: absolute;
    width: 100vw;
    /*height: 150vh;*/    
    background-color: rgba(127, 127, 127, 0.5);
    top: 0;
    left: 0;
    display: none;
    opacity:0; 
    z-index: 999;  
}

.comon_modalForm{
    margin: 50px auto;
    position: relative;
   /*top: -40px;*/
    /*left: 50%;*/
    /*transform: translate(-50%, 0%);*/ 
    opacity:0; 
    display:none;
}

.scheduleForm{
    margin: 50px auto;
    position: absolute;
    transform: translate(-50%, 0%);
    top: -48px;
    left: 50%;
}


#tooltip
{
    text-align: center;
    color: #fff;
    background: #111;
    position: absolute;
    z-index: 100;
    padding: 15px;
}
 
#tooltip:after /* triangle decoration */
{
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #111;
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    margin-left: -10px;
}

#tooltip.top:after
{
    border-top-color: transparent;
    border-bottom: 10px solid #111;
    top: -20px;
    bottom: auto;
}

#tooltip.left:after
{
    left: 10px;
    margin: 0;
}

#tooltip.right:after
{
    right: 10px;
    left: auto;
    margin: 0;
}

.GroupColor{
    width:186px; 
    color: #757575; 
    border-style: solid; 
    border-width: 0.1px; 
    border-color: #777;
    border-radius: 1px;
}

.GroupColor:hover{
    border-color: #444;
    cursor: pointer;
}

.colorPicker{
    position: fixed; 
    top:30px; 
    display:none
}

.palette td{
    border:1pt solid #777; 
    border-radius:3px;
    width:31px;
    height:16px;
}

.palette td:hover{
    border-color: #444;
    transform:scale(1.03);
    -moz-transform:scale(1.03);
    -webkit-transform:scale(1.03);
    -moz-box-shadow: 1px 1px 1px #444; 
    -webkit-box-shadow: 1px 1px 1px #444; 
    box-shadow: 1px 1px 1px #444;  
    cursor: pointer;
}

.activeColor{
    transform:scale(1.03);
    -moz-transform:scale(1.03);
    -webkit-transform:scale(1.03);
    -moz-box-shadow: 1px 1px 1px #444; 
    -webkit-box-shadow: 1px 1px 1px #444; 
    box-shadow: 1px 1px 1px #444;  
}

.scheduleCell{
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    width:14.3%; 
    border-width: 1px; 
    border-radius: 5px; 
    border-style: dashed;
    height:50px;
}

.scheduleCell:hover{
    transform:scale(1.02);
    -moz-transform:scale(1.02);
    -webkit-transform:scale(1.02);
    -moz-box-shadow: 1px 1px 1px #777; 
    -webkit-box-shadow: 1px 1px 1px #777; 
    box-shadow: 1px 1px 1px #777;  
}

.scheduleTimeCell{
    height:15px; 
    font-size: 0.75em;
    background-color: inherit;
    border-style: dotted;
}


.scheduleMonCell{
    background-color: #d2d1ff;
}

.scheduleMonCell:hover, 
.scheduleTueCell:hover,
.scheduleWedCell:hover,
.scheduleThuCell:hover,
.scheduleFriCell:hover,
.scheduleSatCell:hover,
.scheduleSunCell:hover
{
    background-color: #cсc; 
}

.scheduleTueCell{
    background-color: #fcd1ff;
}

.scheduleWedCell{
    background-color: #d1f4ff;
}

.scheduleThuCell{
    background-color: #d1ffd9;
}

.scheduleFriCell{
    background-color: #f1ffd1;
}

.scheduleSatCell{
    background-color: #fff0d1;
}

.scheduleSunCell{
    background-color: #ffd1d1;
}

.athleteScheduleCell{
    padding-left: 10px;
}

@media only screen and (orientation:portrait){
    .tableScroll{ width:340px; }
    .attendanceControl{ width:340px; }
    .attendanceDateDiv{ width:45px; } 
    #landscapeAttendance{ display: none}
    #portraitAttendance{ display: nones;}
    #attendanceModal{ width:300px; }
}

@media only screen and (orientation:landscape){
    .tableScroll{ width:650px; }
    .attendanceControl{ width:650px; }
    .attendanceDateDiv{ width:75px; }
    #landscapeAttendance{ display: nones;}
    #portraitAttendance{ display: none}
    #attendanceModal{ width:600px; }
}

/* Table with fluid height and width fixed header, footer and first column using position:sticky */
.tableScroll {
  position: relative;
  
  z-index: 1;
  margin: auto;
  overflow: auto;
  /*height: 250px;*/
}
/*.table-scroll stickyTable {
  width: 100%;
  min-width: 1280px;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
}
.table-wrap {
  position: relative;
}
.table-scroll th,
.table-scroll td {
  padding: 5px 10px;
  border: 1px solid #000;
  background: #fff;
  vertical-align: top;
}*/
.fixed {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.fixedRowCol {
  background-color: #e0e0e0;
}


.fixed:first-child {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
}
.attendanceDate{
    font-size: 0.8em;
}

.athleteCol{
    font-size: 0.8em;
}

thead .fixed:first-child {
  z-index: 5;
}

.currDate {
    background-color: #b7ffcf; 
    color: #006400;
}

.currDateHover {
    background-color: #9dd7a9; 
    color: #006400;
    font-weight: bold;
}

.noScheduled {
    color: #FFD4C1;
    background-image: url(../img/notavail.png); 
    background-repeat:no-repeat;
    background-size:22px;
    background-position: center;
    background-color: #fff;
}

.fileBtn {
    width:95%; 
    height: 35px;
}

.disabled {
    opacity: 0.4; 
    cursor: not-allowed;
}

.cameraButton {
    display: inline-block;
    margin-top: 10px;
    /* Styles to make it look like a button */
    padding: 2px 8px 2px 8px; 
    border: 2px solid #666;
    border-color: #EEE #999 #999 #EEE;
    background-color: #DDD;
}

.cameraButton:hover{
    background-color: #d3d3d3;
    border-color: #eee #888 #888 #eee;
    cursor: pointer;
}

/* Look like a clicked/depressed button */
.cameraButton:active {
    border-color: #999 #EEE #EEE #999;
}

.cameraButton input[accept*="camera"] {
    display: none;
}

.fileAttached{
    background-image: url(../img/paperclip4.png); 
    background-repeat:no-repeat;
    background-size:7px;
    background-position: top -2px right 2px;
}

.paidFlag{
    background-image: url(../img/rouble.png); 
    background-repeat:no-repeat;
    background-size:12px;
    background-position: top -1px left -2px;
}

.dvPreview
{
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image);
    display: nones;
}

.dvPreview img{
    height:50px;
    width: 50px;
}

/* Button */
.upButton{
    border: 0px;
    background-color: deepskyblue;
    color: white;
    padding: 9px 25px;
}

.imgPreview{
    width: 50px;
    height: 50px;
    border: 1px solid black;
    margin: 0 auto;
    display: none;
}

.imgPreview img{
    display: none;
}

.alianRow
{
   color: #007fff;
}

.outOfReach
{
   background-image: linear-gradient(to bottom right,  transparent calc(50% - 1px), darksalmon, transparent calc(50% + 1px)); 
}

.blink_me {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.blinkInputText {
  animation: blinkInputTextAnimation 1s linear infinite;
}

@keyframes blinkInputTextAnimation {
  50% {
    color: transparent;
  }
}

.dragDropLabel{
    color: darkgreen;
}

.evalEntered{ 
    color:#0000CD;  
}

.noEvalEntered{
    color:#AAA;
}

.evalHeader{
    color:#8B0000
}

.evalBlinker
{
    animation: blinker 0.3s linear;
    animation-iteration-count: 4;
}

.noEval {
    opacity:0;
}

.status_draft{
    color: #CC0000; 
    border: 1px solid #CC0000;
}

.status_on_server{
    color: darkgoldenrod; 
    border: 1px solid darkgoldenrod;
}

.status_approved{
    color: green;
    border: 1px solid green;   
}


.status_on_server span {
    display:none
}

.status_draft span {
    display: block
}

.status_approved span {
    display: block
}

.status_on_server button {
    display: table-cell;
    cursor:pointer;
    animation: blinker 1s linear infinite;
}

.status_draft button {
    display:none
}

.status_approved button {
    display:none
}

.status_empty button {
    display:none
}

.status_empty span {
    display:none;
}


.likeHrefRow:hover
{
    cursor: pointer;
}

.invisible
{
    display:none;
}

.refereeBtn{
    width:100px;  
    padding: 1px;
    border-radius: 8px;    
    margin-top: 8px;
    margin-bottom: 15px;
    margin-left: 8px;
    margin-right: 8px; 
    font-weight: bold;
}

.btnRefresh{
    background-color: #CD5C5C /*#8B4513*/ /*!important*/; /*#CD5C5C*/
    color:#fff;
}

.btnReload{
    background-color: #3CB371 /*#00FA9A*/ /*!important*/; /*#3CB371*/
    color:#fff;
}

.btnStatistics{
    background-color: #b0b0b0;
    color:#fff;
    width: auto;
    min-width: 100px;
    padding: 1px 8px;
    white-space: nowrap;
}

.btnRefresh:hover {
    cursor: pointer;
}

.noEvalReferee {
    border-color: red;
    border-width: 2px;
}

.hidden{
    display: none;
}

.disableSelect
{
    pointer-events: none; 
    background-color: lightgrey
}

.AjaxError {
    color:#8B0000;
    /*display:none;*/ 
    text-decoration: none;
    cursor: pointer;
}

.intermediateTotal {
    margin-right: 3px;
    font-weight: bold;
    color: #222;
    font-size: 1.15em;
}
