body {
    margin: 0px;
    /*transition-duration: 200ms;*/
}
h1 {
    text-indent: 0;
}
#header {
    top: 0;
    display: flex;
    width: 100%;
    height: 64px;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    position: fixed;
    z-index: 100;
}
#headerLeft {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
#headerRight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
#menuHamburger {
    display: none;
}
.headerName {
    display: block;
    cursor: pointer;
    user-select: none;
    /* height: inherit; */
    font-family: 'Fira Sans', sans-serif;
    font-weight: 900;
    margin-left: 20px;
    font-size: 2em;
    padding: 5px;
    margin-top: 3px;
    border-radius: 10px;
    /*transition-duration: 500ms;*/
}
/* .headerName:hover {} */
.loginSVG {
    background: url("img/signin.svg");
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
.login {
    font-family: 'Fira Sans', sans-serif;
    padding: 10px;
    border-radius: 10px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    align-items: center;
    font-size: 20px;
    margin-right: 20px;
    /*transition-duration: 500ms;*/
}
/* .login:hover {} */
#header a {
    text-decoration: none;
}
#main {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 350;
    margin-bottom: 10px;
}
#sidebar {
    padding: 1em 4em 1em 2em;
    width: 180em;
    position: fixed;
    border-radius: 10px;
    top: 74px;
    margin-left: 10px;
    margin-right: 10px;
	font-size: 1.2em;
	font-weight: 400;
}
.sidebarMenu {
    top: 60px;
    position: fixed;
    z-index: 100;
    border-radius: 10px;
}
.content {
    margin-left: 30%;
    margin-right: 30%;
    border-radius: 10px;
    padding: 10px;
	font-size: 1.2em;
	/*box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);*/
}
p {
	text-indent: 1em;
}
#footer {
    margin-top: 10px;
    padding: 10px 20px 10px 20px;
    margin: 15px 0 15px 0;
    border-top: 1px #bbb solid;
    margin-right: 30%;
    margin-left: 30%;
	text-align:center;
}
/* #underFooter {} */
#container {
    padding-top:74px;
    padding-bottom: 10px;
}
.themeSwitch {
    width: 30px;
    height: 30px;
    cursor: pointer;
   
}
#themeSwitchBase {
    margin-left: 20px;
    border-radius: 50%;
    padding: 10px;
}
.switch-btn {
    display: inline-block;
    width: 72px; 
    height: 38px; 
    border-radius: 19px;
    background: #999; 
    z-index: 0;
    margin: 0;
    margin-right: 20px ;
    padding: 0;
    border: none;
    cursor: pointer;
    position: relative;
  }
  .switch-btn::after {
    content: "";
    height: 32px; 
    width: 32px; 
    border-radius: 17px;
    background: white;
    top: 3px; 
    left: 3px; 
    position: absolute;
    z-index: 1;
  }
.switch-on {
    background: #999;
}
.switch-on::after {
    left: 37px;
}
@media only screen and (min-width: 1440px) {
    #sidebar {
        padding: 10px;
        width: 18%;
        position: fixed;
        border-radius: 10px;
        top: 54px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .sidebarMenu {
        top: 74px;
        position: fixed;
        z-index: 100;
        border-radius: 10px;
    }
}
@media only screen and (max-width: 1440px) {
    .content {
        margin-left: 10px;
        margin-right: 10px;
    }
    #menuHamburger {
        background-image: url("img/menuHamburger.svg");
        width: 40px;
        height: 40px;
        display: block;
    }
    #menuHamburgerBase {
        cursor: pointer;
        margin-left: 20px;
        padding: 10px;
        border-radius: 50%;
        transition-duration: 500ms;
    }
    #sidebar {
        display: none;
    }
    #footer {
        margin-right: 10px;
        margin-left: 10px;
    }
}
@media only screen and (max-width: 600px), (max-height:600px) {
    #themeSwitchBase {
	    margin-left: 0px;
    }
	.headerName {
	    display:none;
	}
    #header {
        height: 56px;
    }
    #menuHamburgerBase {
        margin-left: 0px;
    }
    #container {
        padding-top: 70px;
    }
    .headerName {
        font-size: 2em;
        margin-left: 0px;
    }
    .loginText {
        display: none;
    }
    .login {
        margin: 0;
    }
    .loginSVG {
        margin: 0;
    }
    #sidebar {
        top:70px
    }
}
body {
    transition-duration: 200ms;
}
#themeSwitchBase {
    transition-duration: 300ms;
}
.switch-btn {
    transition-duration: 300ms; 
}
.switch-btn::after {
    transition-duration: 300ms; 
}
.login {
    transition-duration: 300ms;
}
.headerName {
    transition-duration: 300ms;
}
.li_menu {
	padding-bottom: 1em;
	width: 5em;
}

a.disabled {
	pointer-events: none; 
	cursor: default; 
	color: #888;
}
.flexCards {
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
    margin-left: auto;
}
.a_card {
	width: calc((100% / 5) - 5px);
	aspect-ratio: 1/1;
	transition-duration: 500ms;
}
@media (max-width: 1024px) { /* Для планшетов */
    .a_card {
		width: calc((100% / 3) - 10px);
	}
}

@media (max-width: 600px) { /* Для смартфонов */
	h1 {
		font-size: 2em;
		line-height: 1.3em;
	}
    .a_card {
		width: calc((100% / 2) - 10px);;
	}
}
.card {
	font-size: 1em;
	width: calc(100%-10px);
	border-radius: 10px;
	padding:1em;
	margin: 10px;
	aspect-ratio: 1/1;
	display: flex;
	align-items: flex-end;
	text-indent:0;
}
.textInCard {
	font-weight: 400;
    font-style: italic;
	margin:0;
	text-align:center;
}
a {
	outline: none;
	text-decoration: none;
	padding: 2px 1px 0;
	border-radius:10%;
}
details {
	border-radius: 10px;
	padding: 1em;
}
img {
    width:20em;
    border-radius: 10px;
}
@media only screen and (max-width: 600px), (max-height:600px) {
    img {
        width:10em;
    }
}
.code {
    border-radius: 10px;
    padding: 1em;
    text-indent: 0;
    font-family: Courier New,Courier,Lucida Sans Typewriter,Lucida Typewriter,monospace; 
}
input[type=text] {
    padding-left: 1em;
    font-size: 0.8em;
    font-family: 'Fira Sans', sans-serif;
    border-radius: 5px;
    height: 1.8em;
    
}
input[type=button] {
    font-family: 'Fira Sans', sans-serif;
    font-size: 0.8em;
    border-radius: 5px;
    margin-left:1em;
    border: 0px;
    cursor: pointer;
    padding: 3px 16px;
    height: 1.9em;
}
select {
    border-radius: 5px;
    border: none;
    margin-left: 1em;
    height: 2em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);

}
.tableManage {
    overflow: auto;
}

.tableManage table {
    border: 1px solid;
    height: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: center;
    margin: auto;
    margin-top: 1em;
    
}

.tableManage th {
    border: 1px solid;
    padding: 5px;
    min-width: 40px;
}

.tableManage td {
    border: 1px solid;
    padding: 5px;
    min-width: 40px;
}