@import "forms.css?v=4";
@import "nav.css?v=4";
@import "segments.css?v=4";

:root {
    --green: #BCC716;
    --blue: #1673c7;
    --orange: #ff7b00;
    --text: rgb(50,50,50);
    --light-grey: #D6D6D6;
    --ligher-light-grey: #ECECEC;
    --grey: #939598;
    --light-grey-2: #E5E5E5;
}

body {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    margin: 0px;
    padding: 0px;
    top: 0px;
    position: relative;
    text-align: left;
    height: 100%;
    color: var(--text);
}

html {
    text-align: center;
    height: 100%;
}

/*-------------------------------------------------------------------------*/

.box {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    background-color: rgba(250,250,250);
}

.box_content {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.box:nth-last-of-type {
    padding-bottom: 40px;
}

#header {
    background-color: white;
    border-bottom: 1px solid var(--ligher-light-grey);
}

#header .box_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    height: 50px;
}

#logo_in_header {
    height: 50px;
}

.box_content.with_nav {
    display: flex;
}

#subnav {
    box-sizing: border-box;
    margin: 70px 30px 30px 0;
    width: 220px;
    padding-right: 30px;
    border-right: 1px solid var(--ligher-light-grey);
}

.box_content.with_nav #content {
    box-sizing: border-box;
    width: calc(100% - 260px);
}

#content {
    padding-top: 0px;
    padding-bottom: 50px;
}

#content .datum-aktuality {
    font-style: italic;
}

#content.img_headline {
    min-height: 1px;
}

#content.img_headline {
    padding-top: 70px;
}

#footer {
    background-color: var(--ligher-light-grey);
}

#footer .box_content{
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer .kontakty h3 {
    margin-top: 0;
}

#footer .kontakty-content{
    display: flex;
    justify-content: space-between;
}

#footer .kontakty-content div{
    margin-right: 40px;
}

#footer .skupina-cez p {
    margin-top: 0;
}

#footer .skupina-cez{
    text-align: center;
}

#footer img {
    width: 130px
}

#footer-bottom {
    border-top: 1px solid var(--light-grey);
    background-color: var(--ligher-light-grey);
    font-size: 14px;
    line-height: 14px;
    vertical-align: middle;
    padding: 28px 0px 28px 0px;
    position: relative;
}

#footer-bottom .powered-by {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
}

#img_headline {
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
}

#img_headline .box_content {
    padding-top: 30%;
}

#img_headline .box_content h1 {
    background-color: var(--green);
    color: white;
    padding: 8px 20px;
    position: absolute;
    margin: 0px;
    bottom: 30px;
}

.uchazeci #img_headline .box_content h1 {
    background-color: var(--orange);
}

.studenti-a-rodice #img_headline .box_content h1 {
    background-color: var(--blue);
}

/*--------------------------------------------------------------------------------*/

.square {
    margin: 10px 10px 0px 0px;
    width: calc(25% - 7.5px);
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    vertical-align: top;
}

.square:nth-of-type(4n) {
    margin-right: 0px;
}

.inner-square {
    filter: opacity(100%);
    transition: transform .4s;
    width: 100%;
    padding-top: 100%;
    background-position: center center;
    background-size: cover;
}

.inner-square:hover {
    filter: opacity(100%);
    transform: scale(1.1);
}

/*----------------------------------------------------------------------------*/
/* other styles */

#content img {
    max-width: 100% !important;
    height: auto !important;
    border-style: none;
}

hr {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    height: 2px;
    border-width: 0;
    clear: both;
    background-color: rgb(80%, 80%, 80%);
}

a, a:hover, a:visited {
    color: var(--text);
    text-decoration: underline;
    transition: 0.5s;
}

a:hover {
    text-decoration: none;
}

.responsive_table {
    overflow: auto;
    max-width: 100%;
}

table {
    max-width: 100%;
    border-collapse: collapse;
}

tr:nth-of-type(2n+1) td {
    background-color: white;
}

td, th {
    border-top: 1px solid #ECECEC;
    border-bottom: 1px solid #ECECEC;
    padding: 15px 15px;
    line-height: 150%;
    vertical-align: middle;
}

th {
    color: white;
    background-color: var(--green);
}

.uchazeci th {
    background-color: var(--orange);
}

.studenti-a-rodice th {
    background-color: var(--blue);
}

h1 {
    font-size: 40px;
    color: var(--green);
    display: block;
    padding-top: 70px;
    padding-bottom: 30px;
    margin: 0px;
    margin-bottom: 15px;
}

.uchazeci h1 {
    color: var(--orange);
}

.studenti-a-rodice h1 {
    color: var(--blue);
}

h2 {
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 25px;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    line-height: 150%;
}

h4 {
    font-size: 15px;
    font-weight: normal
}

h1, h2, h3 {
    line-height: 150%;
}

p, li {
    line-height: 170%;
}

p {
    margin: 20px auto;
}

#content ul {
    list-style-type: none;
    padding-left: 0px;
}

#content li {
    margin-bottom: 5px;
}

#content ul li:before {
    content: '';
    width: 7px;
    height: 7px;
    margin-right: 10px;
    background-color: var(--green);
    display: inline-block;
    vertical-align: middle;
}

.uchazeci #content ul li:before {
    background-color: var(--orange);
}

.studenti-a-rodice #content ul li:before {
    background-color: var(--blue);
}
