@import url('people_photos.css');

*
{
    margin: 0;
    padding: 0;
}

body
{
    width: 100%;
}

a
{
    text-decoration: none;
}

.container
{
    width: 80%;
}

.flex
{
    display: -webkit-flex;
    display:    -moz-flex;
    display:     -ms-flex;
    display:      -o-flex;
    display:         flex;

    justify-content: center;
    -ms-align-items: center;
        align-items: center;
}

h2
{
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;

    margin-bottom: 50px;
    padding-top: 50px;

    text-transform: uppercase;
}

h3
{
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;

    margin-bottom: 30px;

    text-align: center;
    text-transform: uppercase;
}

.info
{
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;

    margin-bottom: 10px;

    text-align: center;
    text-transform: uppercase;
}

table {
    width: 100%; /* Ширина таблицы */
    border: 2px solid black; /* Рамка вокруг таблицы */
    border-collapse: collapse;
}
th {
    background: rgb(239,239,239);
}
td, th {
    border: 2px solid black;

    padding: 3px; /* Поля вокруг содержимого ячеек */
    text-align: center; /* Выравнивание по центру */
}

img{
    width: 150px;
    height: 150px;
}

.img{
    width: 10%;
    height: 150px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;

}

.imgCen{
    margin: 0 auto;
    background-color: #eee;
}

.info_obr{
    font-family: 'Open Sans', sans-serif;
    /*font-family: 'Times New Roman', serif;*/
    font-size: 18px;
    line-height: 20px;
}

.ot{
    margin-left: 50px;
}

/* Шапка (начало) */

header
{
    position: relative;
    height: 100vh;
    z-index: 1;
}

/* Меню (начало) */
nav
{
    position: fixed;
    z-index: 10;

    width: 100%;
    height: 40px;

    background-color: #2f3d3e;
}

nav a
{
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 300;

    display: inherit;

    width: 16.6%;
    height: 40px;

    transition: all .1s;
    text-transform: uppercase;

    color: #fff;
    box-shadow: none;

    justify-content: center;
    align-items: center;
}

nav a:not(:last-child):hover
{
    box-shadow: 0 5px 0 #f18f01;
}

nav a:last-child:hover
{
    background-color:  #4A76A8;
}

/* Меню (конец) */

h1
{
    font-family: 'Open Sans', sans-serif;
    font-size: 40px;

    position: absolute;
    top: 40%;
    left: 50%;

    transform: translateX(-50%);
    text-align: center;
    /*text-transform: capitalize;*/

    color: #fff;
}

h1 span
{
    text-transform: uppercase;
}

/* Слайдер (начало) */
.shadow
{
  background: rgba(0,0,0,.5);
}

#slides
{
    position: relative;
    z-index: -1;

    height: 100vh;
    margin: 0;
    padding: 0;

    list-style-type: none;
}

.slide
{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    -webkit-transition: opacity 1s;
       -moz-transition: opacity 1s;
         -o-transition: opacity 1s;
            transition: opacity 1s;

    opacity: 0;
}

.showing
{
    z-index: 2;

    opacity: 1;
}

.slide
{
    font-size: 40px;

    box-sizing: border-box;
    padding: 40px;

    color: #fff;
    background: #333;
}

.slide:nth-of-type(1)
{
    background: url('images/bbg.png') no-repeat 0 50%;
    background-size: cover;
}
.slide:nth-of-type(2)
{
    background: url('images/shooting.jpg') no-repeat 0 50%;
    background-size: cover;
}
.slide:nth-of-type(3)
{
    background: url('images/wlbg.png') no-repeat center;
    background-size: cover;
}

/* Слайдер (конец)*/

/* Шапка (конец) */

/* Контакты (начало) */

#contacts,
#obrashchenya-grazdan,
#coaches,
#administration,
#service
{
            flex-direction: column;
    -webkit-flex-direction: column;
       -moz-flex-direction: column;
        -ms-flex-direction: column;
         -o-flex-direction: column;
}

#contacts .flex,
#obrashchenya-grazdan .flex,
#service .flex
{
    justify-content: space-between;
}

#contacts section,
#obrashchenya-grazdan section,
#service section
{
    width: 30%;
    height: 500px;

    text-align: center;
}

.adress
{
    background: url('images/icons/house.png') no-repeat 50% 0;
    background-size: 100px;
}

.call
{
    background: url('images/icons/phone-call.png') no-repeat 50% 0;
    background-size: 100px;
}

.email
{
    background: url('images/icons/envelope.png') no-repeat 50% 0;
    background-size: 100px;
}

.game
{
    background: url('images/service/game.png') no-repeat center 0;
    background-size: 100px;
}

.food
{
    background: url('images/service/food.png') no-repeat center 0;
    background-size: 100px;
}

.hostel
{
    background: url('images/service/hostel.png') no-repeat center 0;
    background-size: 100px;
}

.boxer
{
    background: url('images/service/boxer.png') no-repeat center 0;
    background-size: 100px;
}



.adress span,
.call span,
.email span,
.game span,
.food span,
.hostel span,
.boxer span
{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 30px;

    display: block;

    margin-top: 130px;
}

/* Тренерский состав (начало)*/

#coaches
{
  background-color: #eee;
}

.sports,
#administration .flex
{
    margin-bottom: 20px;

    flex-wrap: wrap;
    justify-content: space-between;
    align-items: space-between;
}

.sports section,
#administration section
{
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;

    position: relative;

    display: inherit;
    overflow: hidden;

    width: 300px;
    height: 300px;
    margin-bottom: 30px;

    text-align: center;
            flex-direction: column;
    -webkit-flex-direction: column;
       -moz-flex-direction: column;
        -ms-flex-direction: column;
         -o-flex-direction: column;
    justify-content: flex-end;
}

.sports p
{
    bottom: -100px;
    height: 100px;
}

.sports p,
#administration p
{
    font-weight: bold;
    position: absolute;
    

    display: inherit;

    width: inherit;
    

    transition: bottom .2s;

    background-color: rgba(255,255,255,.9);

            flex-direction: column;
    -webkit-flex-direction: column;
       -moz-flex-direction: column;
        -ms-flex-direction: column;
         -o-flex-direction: column;
    justify-content: center;
}

.sports section:hover p,
#administration section:hover p
{
    bottom: 0;
}

.sports span,
#administration span
{
    font-style: italic;
    font-weight: 400;
    padding-top: 5px;
}

/* Тренерский состав (конец) */

/* Администрация (начало) */

#administration
{
  background-color: #fff;
  padding-bottom: 50px;
}

#administration section
{
  height: 400px;
}

#administration p
{
  height: 150px;
  bottom: -150px;
}

/* Администрация (конец) */

footer
{
  height: 40px;
  background-color: #2f3d3e;
  font-family: 'Open Sans', sans-serif;
  font-size:12px;
}

footer .flex
{
  height: inherit;
  justify-content: flex-start;
}

footer p
{
  cursor: default;
}
