@import "forms.css?v=4";
@import "nav.css?v=4";
@import "segments.css?v=4";

:root {
    --vut-red: #EF373E; /*rgb(239,55,62)*/
    --text: #515151;
    --light-grey: #D6D6D6;
    --ligher-light-grey: #ECECEC;
    --grey: #939598;
    --light-grey-2: #E5E5E5;
}

@font-face {
    font-family: "vafle-vut";
    src: url("/font/vafle_vut_regular.otf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "vafle-vut";
    src: url("/font/vafle_vut_bold.otf");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "vafle-vut";
    src: url("/font/vafle_vut_light.otf");
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: 'Open 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: 1440px;
}

.box_content {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

#header {
    background-color: white;
    border-bottom: 1px solid var(--ligher-light-grey);
}

#header .box_content {
    padding: 25px;
    height: 50px;
    width: calc(100% - 50px);
    max-width: 100%;
}

#logo_in_header {
    height: 50px;
    display: inline-block;
}

#content {
    padding-top: 0px;
    padding-bottom: 70px;
    min-height: calc(100vh - 527px);
    background-color: white;
}

#content.img_headline {
    min-height: 1px;
}

#content.c-aktualita .box_content {
    max-width: 800px;
}

#content.img_headline {
    padding-top: 70px;
}

#footer {
    background-color: white;
    padding: 30px 0px 100px 0px;
    border-top: 1px solid var(--light-grey);
}

#footer-bottom {
    background-color: var(--vut-red);
    color: white;
    font-family: vafle-vut;
    font-weight: normal;
    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: 0px;
    top: 0px;
    color: rgb(90%, 90%, 90%);
}

#footer-bottom a, #footer-bottom a.visited, #footer-bottom a:hover {
    color: rgb(90%, 90%, 90%);
    text-decoration: none;
}

#img_headline {
    background-size: cover;
    background-position: center;
}

#img_headline .box_content {
    padding-top: 30%;
}

#img_headline .box_content h1 {
    background-color: var(--vut-red);
    color: white;
    padding: 8px 20px;
    position: absolute;
    margin: 0px;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.fakultni-skas #img_headline .box_content h1 {
    display: none;
}

/*--------------------------------------------------------------------------------*/

.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%);
}

#content a, #content a:hover, #content a:visited {
    color: var(--vut-red);
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    text-decoration: underline;
}

.responsive_table {
    overflow: auto;
    max-width: 100%;
}

.table-dokumenty th:nth-of-type(1), .table-dokumenty th:nth-of-type(3) {
    width: 150px;
    min-width: 150px;
    white-space: nowrap;
}

.table-dokumenty th:nth-of-type(2) {
    min-width: 300px;
}

.table-dokumenty th:nth-of-type(3) {
    width: 100px;
    min-width: 100px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table.kalendar-akci tr td:first-of-type {
    width: 150px;
    min-width: 150px;
    white-space: nowrap;
}

table.kalendar-akci tr td:nth-of-type(2) {
    min-width: 300px;
}

table.kalendar-akci tr td:last-of-type {
    white-space: nowrap;
    width: 100px;
    min-width: 100px;
    font-weight: bold;
}

tr:nth-of-type(2n+1) td {
    background-color: #F9F9F9;
}

td, th {
    border-bottom: 1px solid #ECECEC;
    padding: 25px 15px;
    line-height: 150%;
    vertical-align: middle;
}

h1 {
    font-size: 40px;
    color: var(--vut-red);
    display: block;
    padding-top: 70px;
    margin: 0px;
    margin-bottom: 15px;
}

h2 {
    color: #515151;
    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%;
    font-family: vafle-vut, 'Open Sans', sans-serif;
}

p.datum_zverejneni {
    margin-top: 0px;
    color: #5C5C5C;
    margin-bottom: 30px;
    font-family: vafle-vut, 'Open Sans', sans-serif;
}

p, li {
    line-height: 170%;
}

p {
    margin: 20px auto;
}

#content ul {
    list-style-type: none;
    padding-left: 0px;
}

#content li {
    margin-bottom: 5px;
}

#content li:before {
    content: '';
    border-radius: 50%;
    width: 4px;
    height: 4px;
    margin-right: 10px;
    border: 1px solid var(--vut-red);
    display: inline-block;
    vertical-align: middle;
}

strong, b {
    font-weight: 600;
}