nav {
    height: 40px;
    margin: 0 auto;
    width: 50%;
    font-size: 11pt;
    margin-bottom: 0.5%;
    font-weight: bold;
    position: relative;

}
nav ul {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1152px;
    height: 40px;
}
nav li {
    display: inline;
    float: left;
    width: 20%;
    border-right: 1px solid #576979;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
nav a {
    color: #494949;
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 40px;

}
nav li a {

}
nav li:last-child a {
    border-right: 0;
}
nav a:hover, nav a:active {
    background-color: #02daa538;
}
nav a#pull {
    display: none;
}

/* Стили для экранов 600px и меньше */
@media screen and (max-width: 600px) {
    nav {
        height: auto;
        width:100%;;
    }
    nav ul {
        width: 100%;
        display: block;
        height: auto;
    }
    nav li {
        width: 100%;
        float: left;
        position: relative;
    }
    nav li a {
        border-bottom: 1px solid #576979;
        border-right: 1px solid #576979;
    }
    nav a {
        text-align: left;
        width: 100%;
        text-indent: 25px;
    }
    nav a#pull {
        display: block;}
}

/*Стили для экранов 515px и меньше*/
@media only screen and (max-width : 480px) {
    nav {
        border-bottom: 0;
    }
    nav ul {
        display: none;
        height: auto;
    }
    nav a#pull {
        display: block;
        border: 1px solid #666;
        width: 100%;
        /* position: relative; */
    }
    nav a#pull:after {
        content:"";
        background: url('nav-icon.png') no-repeat;
        width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 10px;
    }

    .place-icon {
        width: 100%;
        text-align: center;
    }

    .rules-img {
        width: 40%;
    }

    .rules-text {
        width:60%;
    }

    .guardreasons {
        text-align: center;
        border-bottom: 1px dotted #666666;
        padding: 2%;
        width:100% !important;
        }
    .guardreasons > img {
        float: none !important;
    }
}

.textblock {
    max-width: 1152px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Смартфоны */
@media only screen and (max-width : 320px) {
    nav li {
        display: block;
        float: none;
        width: 100%;
    }
    nav li a {
        border-bottom: 1px solid #576979;
    }

}