@import "css/label.css";
@import "css/text.css";
@import "css/button.css";

body{
   background: #ffffff;
   font-family: sans-serif;
   margin: 0;
}

header {
    padding: 20px 0;
    border-bottom: 1px solid #bdbdbd;
    margin: 0;
}

footer {
    border-top: 1px solid #bdbdbd;
    padding: 20px 8px;
    background-color: #666;
    box-sizing: content-box;
}

p, h4, h3, h1 {
    margin: 0;
}

a:link, a:visited {
   text-decoration: none;
   color: #000
}

li {
   display: block;
   position: relative;
}

ul {
    padding: 0;
}

button {
    width: 1em;
    height: 1em;
}

img {
    max-width: 200px;
}

button img {
    max-height: 100%;
}

hr {
    border: none;
    color: #ffffff;
    background-color: #939393;
    height: 2px;
}

textarea {
    display: block;
    resize: none;
    width: 50%;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 5px 5px;
    margin: 5px 0;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-size: 14pt;
}

.container {
    margin: 8px 12px;
    padding: 20px 20px;

}

.section-list{
    margin: 16px auto;
    max-width: 600px;
    border: 4px solid #039e9b;
    border-radius: 4px;

}

.section {
    border-bottom: 2px solid #039e9b;
    border-top: 2px solid #039e9b;
    padding-left: 5px;
    padding-bottom: 5px;
}

.sub-section-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    padding-bottom: 16px;
}

.card {
    border: 3px solid #fad201;
    padding: 0 5px 30px 10px;
    width: 300px;
}

.lang-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    border-top: 1px solid #039e9b;
    border-bottom: 1px solid #039e9b;
}

.label-disabled .txt {
    cursor: default;
    color: #666;
}

.author {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
}

.grid-nav {
    justify-self: end;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 0.15fr);
    grid-gap: 8px
}

.footer-nav-el {
    border-right: 1px solid white;
}

.list {
    display: block;
    margin-left: 8px;
}

.list a {
    text-decoration: underline;
}

#description {
    border-bottom: 3px solid #039e9b;
    max-width: 960px;
    margin: 0 auto 0 30px;
    line-height: 1.5;
}

.descr {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    grid-gap: 30px;
}

.outer-container {
    display: table;
    width: 100%;
    height: 120px;
}

.inner-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.centered-content {
    display: inline-block;
    text-align: left;
    background: #fff;
    padding : 20px;
}
