* {
    margin:0;
    padding:0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #dfdfdf;
    }

.container {
        
}
.header {
    margin: 20px 0 0;
    height: 250px;
    background: -webkit-linear-gradient(top, #4e4e4e 0%, #c9c9c9 100%);
    border-radius: 20px 20px 0 0;
    border: 3px solid #fff;
    border-bottom:none;
   position:relative; 
 }

.header a {
    position:relative;
    display:block;
    margin: 15px auto;
    width:221px;
    height:221px;
}

.header>div {
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    background-position: center; 
    background-size: cover;
}

.boke1 {
    background-image: url(./images/boke01.png)
}
.boke2 {
    background-image: url(./images/boke02.png);
    animation: boke 130s linear infinite;
    animation-direction:alternate-reverse;
}
.boke3 {
    background-image: url(./images/boke03.png);
    animation: boke 60s linear infinite;
    animation-direction: alternate;   
}

@-webkit-keyframes boke {
    0% {opacity:1;
        background-position: 0 -300px;}
    80% {opacity:0;}
    100% {
        opacity:0; background-position: 0 100px;}
}

@-webkit-keyframes boke2 {
    0% {transform:rotate(30deg);}
    100% {transform:rotate(0deg);}
}
.footer {
    background: url(images/glitter_orange.jpg) repeat-x bottom center;
    margin: 0 0 20px;
    height:80px;
    border-radius: 0 0 20px 20px;
    border: 3px solid #fff;
    text-align:center;
    font-size: 1.2em;
    }
.footer p {
    margin: 25px;
    color:azure;
}
h1, h2, h3 {
    margin:0;
    padding:0;
}
.header h1 {
    margin-top: 80px;
    font-size:3em;
}

.content {
    padding: 15px 0;
    background-color: #fff;
}
article {
    border: 1px solid #c7c7c7;
    background-color: #fff;
    margin-bottom: 25px;
    box-shadow:0 3px 5px rgba(128,128,128,0.5)
    }

article:nth-child(even){
    margin-right:0
}

article h1 {
    text-transform: uppercase;
    font-weight: lighter;
    margin: 0 0 15px 0;
    padding: 15px 25px;
    background-color: rgba(150, 150, 150, 0.65);
}

article h2 {
    text-transform: uppercase;
    font-weight: lighter;
    margin: 0 0 15px 0;
    padding: 15px 25px;
    background-color: rgba(223, 223, 223, 0.65);
}

article h3{
    text-transform: uppercase;
    font-weight: lighter;
    margin: 0 0 15px 0;
    padding: 5px 25px;
}

article ul {
    margin: 25px;
    list-style-type: none;
    }
article ol {
    margin: 25px;
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(10,1fr);
    padding: 15px 5px;
        }
article ol li {
            border: 0.5px solid #666;
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr 1fr;
                }
article ol span {
                display: block;
                padding: 15px 5px;
                text-align: center;
                        }
.days{
    background-color: rgba(223, 223, 223, 0.65);
}
.holiday{
    position: relative;
    background-color: #eb0f0f;
}
.holiday::after{
   content: "Праздничный";
   display: none;
   padding:5px 5px;
   background-color:#fdfbb5;
   box-shadow:0 2px 3px #000;
   position: absolute;
   bottom: 3px;
   font-size:0.75em;
}
.holiday:hover::after{
    display: block;
 }

/* .holiday::before{
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    background-color:#fdfbb5;
   transform: rotate(90deg);
    position: absolute;
    bottom: 0px;
    left: 0px;
 }  */

.offday{
    position: relative;
    background-color: #283add;
}
.offday::after{
    content: "Выходной";
    display: none;
    padding:5px 5px;
    background-color:#fdfbb5;
    box-shadow:0 2px 3px #000;
    position: absolute;
    bottom: 3px;
    font-size:0.75em;
 }
 .offday:hover::after{
     display: block;
  }
.workday{
    position: relative;
    background-color: rgb(94, 255, 0);
}
.workday::after{
    content: "Рвбочий";
    display: none;
    padding:5px 5px;
    background-color:#fdfbb5;
    box-shadow:0 2px 3px #000;
    position: absolute;
    bottom: 3px;
    font-size:0.75em;
 }
 .workday:hover::after{
     display: block;
  }

.hospitalday{
    position: relative;
    background-color: #ebdc0e;
}
.hospitalday::after{
    content: "Больничный";
    display: none;
    padding:5px 5px;
    background-color:#fdfbb5;
    box-shadow:0 2px 3px #000;
    position: absolute;
    bottom: 3px;
    font-size:0.75em;
 }
 .hospitalday:hover::after{
     display: block;
  }

.resday{
    position: relative;
    background-color: #e415c1;
}
.resday::after{
    content: "Отпуск";
    display: none;
    padding:5px 5px;
    background-color:#fdfbb5;
    box-shadow:0 2px 3px #000;
    position: absolute;
    bottom: 3px;
    font-size:0.75em;
 }
 .resday:hover::after{
     display: block;
  }
.resetday{
    position: relative;
    background-color: #1ac3c9;
}
.resetday::after{
    content: "Прогул";
    display: none;
    padding:5px 5px;
    background-color:#fdfbb5;
    box-shadow:0 2px 3px #000;
    position: absolute;
    bottom: 3px;
    font-size:0.75em;
 }
 .resetday:hover::after{
     display: block;
  }

article ul li {
    display: grid;
    grid-template-columns: 1fr 3fr;
    padding: 15px 0;
    border-bottom: dashed 1px rgba(223, 223, 223, 0.8);
        }

article p {
    font-size: 1.3em;
    color: #a3a3a3;
    font-weight: lighter;
}

article .photo {
    height: 400px;
    overflow: hidden;
    position:relative;
    
    }

.photo::after{
    content: "";
    display:block;
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    box-shadow: inset 0 0 25px;
    transition: all 0.5s linear;
    
}
.photo:hover::after {
    box-shadow: inset 0 0 0px;
    background-color: rgba(255, 255, 255, 0.26)
}

.photo:hover .date{
    left:-100px;
    
}

.photo img {
    width: 100%;
    transform:scale(1.2);
    transition:all 0.5s
    }

.photo:hover img {
    width: 100%;
    transform:scale(1);
    
    }

.text {
    padding: 15px;
    font-weight: lighter;
}

.more {
    text-align: right;
    margin: 15px;
    padding:10px;
    text-transform: uppercase;
    color: #a3a3a3
    }

.more a{
    color: #a3a3a3;
    font-size:1.4em;
}

.more a::after {
    content:"";
    display: inline-block;
    background-image: url(images/arrow_small.png);
    width:16px;
    height:16px
}
.more a:hover {
    color: #353535;
}

/*Стилевое описание блоков в навигационной панели*/

.block {
    border:1px solid #cfcfcf;
    box-shadow: 0 1px 3px #c7c7c7; 
}
.block ul {
    list-style-type: none;
    }

.block h3 {
    padding: 10px 15px;
    background-color: rgba(223, 223, 223, 0.65)
}

.block li{
    border-bottom: 1px dotted #c7c7c7;
    transition: all 0.5s linear
}

.block li:hover {
    background-color: rgba(223, 223, 223, 0.65)
}

.block a {
    display:block;
    padding: 7px 15px;
    color: #505050;     
}

.date {
    position:absolute;
    top:25px;
    left: 25px;
    width: 80px;
    height:80px;
    background-color: #fff;
    border-radius:100%;
    overflow: hidden;
    transition: all 0.5s linear;
    transition-delay: 0.2s
}
.date span{
    display:block;
    text-align:center;
    
    
}
.day {
    height:50px;
    font-size:30px;
    line-height:50px;
    font-weight:bold;
}

.mon {
    font-size: 1.2em;
    height: 40px;
    border-top: 1px solid #c7c7c7;
    background-color: rgba(223, 223, 223, 0.65); 
}

.titl {
    width: 250px;
}

.cont {
    font-weight: bold;
}

form{
    margin: 15px auto;
    width: 247px;
}

form p label, .login-submit, .login-title{
    display: block;
    text-align: center;
    margin-top: 10px;
    }

 .input, .button-primary{
    width: 247px;
 }

