body {
    background-color: #f8ca8f;
}

.zag-1 {
    color: #462807;
    font-family: "Arsenal";
    font-size: 35px;
    text-align: center;
    font-weight: bold;
    margin-top: 30px;
}

.zag-1-1 {
    color: #462807;
    font-family: "Arsenal";
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.zag-2 {
    color: #462807;
    font-family: "Arsenal";
    font-size: 40px;
    text-align: center;
    font-weight: bold;
    margin-top: 30px;
}

@font-face {
    font-family: 'Arsenal';
    src: local('Arsenal-Regular'), url('../fonts/arsenal/arsenal-regular.woff2') format('woff2'), url('../fonts/arsenal/arsenal-regular.woff') format('woff'), url('../fonts/arsenal/arsenal-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Arsenal';
    src: local('Arsenal-Italic'), url('../fonts/arsenal/arsenal-italic.woff2') format('woff2'), url('../fonts/arsenal/arsenal-italic.woff') format('woff'), url('../fonts/arsenal/arsenal-italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Arsenal';
    src: local('Arsenal-Bold'), url('../fonts/arsenal/arsenal-bold.woff2') format('woff2'), url('../fonts/arsenal/arsenal-bold.woff') format('woff'), url('../fonts/arsenal/arsenal-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Arsenal';
    src: local('Arsenal-BoldItalic'), url('../fonts/arsenal/arsenal-bolditalic.woff2') format('woff2'), url('../fonts/arsenal/arsenal-bolditalic.woff') format('woff'), url('../fonts/arsenal/arsenal-bolditalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

.social {
    padding: 50px;
}

.bold {
    font-weight: bold;
}

.titletext {
    font-size: 40px;
    font-family: "Arsenal";
    color: #4f2900;
    font-weight: bold;
    font-style: italic;
    margin-top: 20px;
}

.adm {
    font-family: "Arsenal";
    font-size: 15px;
    color: #fff; /* цвет текста */
    text-decoration: none; /* убирать подчёркивание у ссылок */
    user-select: none; /* убирать выделение текста */
    background: rgb(121,0,0); /* фон кнопки */
    padding: .7em 1.5em; /* отступ от текста */
    outline: none; /* убирать контур в Mozilla */
}

.adm:hover { background: rgb(193,0,0); } /* при наведении курсора мышки */

.adm:active { background: rgb(121,0,0); } /* при нажатии */

.portfolio-padding {
    margin-bottom: 30px;
}

.time-block-padding {
    margin-bottom: 20px;
}

.portfolio-border {
    border-width: 3px;
    border-color: #8B4513;
    border-style: solid;
}

.time-block {
    color: #000;
    font-weight: bold;
    float: left;
    width: 130px;
    height: 130px;
    padding-top: 15px;
    margin-top: 0px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    background-color: #fff;
    border: 2px solid #623900;
    text-align: center;
    clear: both;
}

.time-block-new-active {
    font-size: 14px;
    width: 130px;
    height: 130px;
    background: #fff;
    margin-top: 5px;
    display: inline-block;
    text-align: center;
    border: 2px solid #4E4E4E;
}

.time-block-new-empty {
    font-size: 14px;
    size: auto;
    width: 130px;
    height: 130px;
    background: #ccc;
    margin-top: 5px;
    display: inline-block;
    text-align: center;
    border: 2px solid #4E4E4E;
}

.time-block-off {
    color: #000;
    font-weight: bold;
    float: left;
    width: 130px;
    height: 130px;
    padding-top: 5px;
    margin-top: 0px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    background-color: #ccc;
    border: 2px solid #4E4E4E;
}

.footertext {
    font-size: 12px;
    font-weight: bold;
    bottom: 0;
    display: block;
}

/*
*******************************
dynamic fields add
*******************************
*/
/*
.dynamic_fields, .dynamic_fields * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.example_student {
    display: none;
}

.form-control {
    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 #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -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;
}

.pull-right {
    float: right;
}

.table {
    display: table;
    width: 100%;
    padding-bottom: 10px;
}

.table .cell {
    display: table-cell;
    vertical-align: top;
}

.table .cell:last-child {
    width: 1px;
    padding-left: 10px;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: monospace;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    margin-top: 10px;
}
*/
/*
*******************************
MENU
*******************************
*/

#container {
    margin: 0 auto;
    max-width: 960px;
}

.toggle,
[id^=drop] {
    display: none;
}

/* Giving a background-color to the nav container. */

nav {
    margin: 0;
    padding: 0;
    background-color: #4f2900;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

/*
#logo {
    display: block;
    padding: 0 30px;
    float: left;
    font-size: 20px;
    line-height: 60px;
    color: #ccc;
}
*/

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
    content: "";
    display: table;
    clear: both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */

nav ul {
    float: left;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

/* Positioning the navigation items inline */

nav ul li {
    margin: 0px;
    display: inline-block;
    float: left;
    background-color: #4f2900;
}

/* Styling the links */

nav a {
    display: block;
    font-family: "Arsenal";
    padding: 14px 40px; /* 40px - отступ меню слева в режиме < 768 */
    color: #dddddd;
    font-size: 20px; /* размер шрифта */
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid rgba(150, 150, 150, 0.15);
}

nav ul li ul li:hover {
    background: #FFE2C3;
}

/* Background color change on Hover */

nav a:hover {
    background-color: #FFE2C3;
    text-decoration: none; /* убираем подчеркивание ссылок */
    color: #4f2900; /* цвет шрифта при наведении мышью */
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */

nav ul ul {
    display: none;
    position: absolute;
    /* has to be the same number as the "line-height" of "nav a" */
    /* top: 60px; удаляем отступ подменю на широком экране */
}

/* Display Dropdowns on Hover */

nav ul li:hover > ul {
    display: inherit;
}

/* Fisrt Tier Dropdown */

nav ul ul li {
    float: none;
    display: list-item;
    position: relative;
    width: 300px; /* ширина блока выпадающего подменю */
}

/* Second, Third and more Tiers
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/

nav ul ul ul li {
    position: relative;
    top: -60px;
    /* has to be the same number as the "width" of "nav ul ul li" */
    left: 170px;
}

/* Change ' +' in order to change the Dropdown symbol */

li > a:after {
    content: ' +';
}

li > a:only-child:after {
    content: '';
}

/* Media Queries
--------------------------------------------- */

@media all and (max-width: 768px) {
    /*
    #logo {
        display: block;
        padding: 0;
        width: 100%;
        text-align: center;
        float: none;
    }
    */
    nav {
        margin: 0;
    }
    /* Hide the navigation menu by default */
    /* Also hide the  */
    .toggle + a,
    .menu {
        display: none;
    }
    /* Stylinf the toggle lable */
    .toggle {
        display: block;
        font-family: "Arsenal";
        background-color: #4f2900;
        padding: 14px 40px; /* 40px - отступ меню "+" слева в режиме < 768 */
        color: #dddddd;
        font-size: 20px; /* размер шрифта */
        text-decoration: none;
        font-weight: bold;
        border-bottom: 1px solid rgba(150, 150, 150, 0.15);
        margin-bottom: 0; /* заглушка от конфликта label bootstrap */
    }
    .toggle:hover {
        background-color: #FFE2C3;
        margin-bottom: 0; /* заглушка от конфликта label bootstrap */
        color: #6B3E00; /* цвет текста меню и ссылок с  "+" */
    }
    /* Display Dropdown when clicked on Parent Lable */
    [id^=drop]:checked + ul {
        display: block;
    }
    /* Change menu item's width to 100% */
    nav ul li {
        display: block;
        width: 100%;
    }
    nav ul ul .toggle,
    nav ul ul a {
        padding: 0 40px;
    }
    nav ul ul ul a {
        padding: 0 80px;
    }
    nav a:hover,
    nav ul ul ul a {
        background-color: #FFE2C3;
    }
    nav ul li ul li .toggle,
    nav ul ul a,
    nav ul ul ul a {
        padding: 14px 50px; /* 50px - отступ подменю слева в режиме < 768 */
        color: #dddddd;
        font-size: 20px; /* размер шрифта подменню */
        border-bottom: 1px solid rgba(150, 150, 150, 0.15);
    }
    nav ul li ul li .toggle,
    nav ul ul a {
        background-color: #6B3E00; /* цвет фона подменю в режиме < 768 */
    }
    /* Hide Dropdowns by Default */
    nav ul ul {
        float: none;
        position: static;
        color: #ccc;
        /* has to be the same number as the "line-height" of "nav a" */
    }
    /* Hide menus on hover */
    nav ul ul li:hover > ul,
    nav ul li:hover > ul {
        display: none;
    }
    /* Fisrt Tier Dropdown */
    nav ul ul li {
        display: block;
        width: 100%;
    }
    nav ul ul ul li {
        position: static;
        /* has to be the same number as the "width" of "nav ul ul li" */
    }
}

@media all and (max-width: 330px) {
    nav ul li {
        display: block;
        width: 94%;
    }
}

