/********** Template CSS **********/
:root {
    --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

/* youtube na celou sirku */
iframe[allowfullscreen] {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
}

.pagetext img {
    max-width: 100%;
    height: auto !important;
}

.pagetext p > img {
    display: block;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}
.btn.btn-primary[disabled] {
    background-color: #aaaaaa;
    border-color: #aaaaaa;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 0px 0px 10px 0px;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

#home-article-left, #home-article-left a {
    color: white;
}
#home-article-left a:hover {
    opacity: 0.8;
}

#interstudium-logo {
    max-height:6em;
}
#schools-logo {
    margin-left: -3px;
    height: 49px;
}
.home-appointment-button, .home-school-button {
    background-color: rgba(0,0,0,0.3);
}
.home-school-button {
    text-align: left;
}
.home-school-subtitle {
    font-size: 80%;
    opacity: 0.7;
}
#appointment-buttons-column {
    text-align: right;
    margin-top: 12em;
}
.home-appointment-button {
    float: right;
    clear: both;
}
.navbar {
    clear: both;
    right: 30px;
}
.navbar-brand {
    display: block;
    width: 100%;
    text-align: center;
}
.navbar-nav {
        text-align: right;
    }
.hero-header {
    background: url(/img/hero4.jpg) top right no-repeat;
    background-size: cover;
    background-position: right 0px top -90px;
}
.page-perex {
    text-shadow: 1px 0 0 currentColor;
}
.pagecontainer {
    background-color: rgba(255,255,255,0.7);
    padding-top: 3rem !important; /*pt-5*/
    padding-right: 3rem !important; /*px-5*/
    padding-left: 3rem !important;
}
.pagefluid {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
h5, h6 {
    background-color: rgba(0,0,0,0.3);
    border-radius: 50rem !important;
    color: #EFF5F9;
    display: block;
    line-height: 1.5;
    border: 1px solid #EFF5F9;
    padding: 1rem 3rem !important;
    margin: 0px 0.5rem !important;
    font-size: 1rem;
    width: max-content;
}
h6 {
    margin-left: auto !important;
    margin-right: auto !important;
}
.exh6 {
    line-height: 3.2;
}
.alert {
    list-style: none;
    border-width: 1px 0px;
    padding: 0.5em 2em;
}
ul.chosen-choices {
    border-radius: 5px;
    font-size: 130%;
}
.chosen-choices .search-field .default {
    color: gray !important;
}
li.search-choice {
    background-image: none !important;
    line-height: normal !important;
}
ul.chosen-results {
    font-size: 130%;
}
.chosen-container-single {
    font-size: unset;
}
.chosen-container-single .chosen-single {
    background: none !important;
    height: 2.3em;
    border-color: #dfdfdf;
    padding-top: 6px;
    padding-left: 11px;;
}
.statusDiv.bg-primary a {
    color: black;
    text-decoration: underline;
}
.statusDiv.bg-primary a:hover {
    color: white;
}
.statusDiv {
    padding: 10px 15px;
    margin-top: 8px;
}
.statusInfo {
    color: white;
}
.examInfo {
    border-left: solid gray 3px;
    margin-left: 20px;
    padding-left: 1em;
    font-style: italic;
    font-size: 80%;
    font-family: sans-serif;
    margin-top: -5px;
}
ul.user-breadcrumbs {
    padding: 0px 40px;
    border-bottom: 1px solid lightgray;
    margin: 0px 20px 20px;
}
ul.user-breadcrumbs li {
  display: inline;
  font-size: 90%;
  font-family: sans-serif;
}
ul.user-breadcrumbs li+li:before {
  padding: 8px;
  color: black;
  content: ">";
}
ul.user-breadcrumbs li a {
  text-decoration: none;
}
.studentdocform {
    margin-bottom: 2em;
}
.studentdocform input[type="submit"] {
    margin-left: 3em;
}
.studentdocform .documentName {
    padding-right: 10em;
}
.documentDownload {
    padding: 0px 10px;
    border-left: 1px dotted gray;
}
.examMessage {
    margin-top: -0.5em;
}

#personaldataform .col-sm-6 {
    min-width: 300px;
}
#personaldataform .col-sm-3 {
    min-width: 200px;
}
#personaldataform input, #personaldataform select  {
    color: #222;
}
#forgotCaptchaDiv div {
    margin: 10px auto 2px;
}

.loginOuter {
	display: table;
	width: 100%;
}
.loginInner {
	margin-left: auto;
	margin-right: auto;
	max-width: 500px;
	text-align:center;
	padding: 1em 0em;
	border-radius: 2em;
}
.errorBubble {
    margin: -2em auto 1em auto !important;
    display: block;
    background-color: rgba(190,0,0,0.5);
}
summary {
    font-size: 150%;
}
details div {
    padding-left:2em;
}
p.testlink {
    margin-bottom: -0.5em;
    font-weight: bold;
}
p.testinfo {
    margin-bottom: 0.25em;
}
.testresults {
    font-size: 90%;
    padding-left: 2em;
    margin-bottom: 0px;
}
.testProgress {
    text-align: right;
    background-color: #15558438;
    margin-top: -10px;
    margin-bottom: 0px;
    padding: 0px 15px;
}
.questionMessage {
    padding: 5px;
    text-align: center;
    font-weight: bold;
    color: black;
    border-radius: 7px;
    margin: 1em 2em;
    padding: 5px 2em;
    display: inline-block;
}
.questionLetter {
  padding: 2px;
  font-family: monospace;
  color: black;
}
.oneQuestion, .questionLabel {
  padding-left: 2em;
  text-indent: -2em;
  margin-left: 1em;
}
.oneQuestion:not(:last-child) {
    border-bottom: 1px solid lightgray;
    border-image: linear-gradient(to right, lightgray 30px, transparent 87px) 100% 1;
}
#clientStudentsTable a {
    color: #1d2a4d;
}
#clientStudentsTable a:hover {
    color: black;
}
.statusCell {
    color: #1d2a4d;
    white-space:nowrap;
}
#testresultdiv h4 {
    font-size: 120%;
}
#testresultdiv {
    margin-top: 1.5em;
}

@media (min-width: 992px) {
    .navbar-brand {
        margin-bottom: -12px;
    }
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
    .home-school-button {
        display: table;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        position:absolute;
        right: 5px;
        top: 1em;
    }
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
    .navbar-nav {
        position: absolute;
        right: -10px;
        background: white;
        border: 1px solid rgba(0,0,0,0.1);
        padding: 20px;
        margin-top: -13px;
        border-radius: 8px;
    }
    .hero-header {
        background-position: right 0px top 0px;
    }
    .navbar-brand {
/*         display: inline-block; */
        width: auto;
    }
    #appointment-buttons-column {
        margin-top: 2em;
        text-align: center;
    }
    .home-appointment-button {
        float:none;
    }
    .home-school-button {
        text-align: center;
    }
    .pagefluid {
        padding-right: 0px !important;
        padding-left: 0px !important;
        padding-top: 0px !important;
    }
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
.newsframe {
    overflow-wrap: break-word;
}
@media (max-width: 575px) {
    .navbar-toggler, #interstudium-logo {
        margin: 0px auto;
        max-width:100%;
        float: none;
        display: block;
    }
    #interstudium-logo {
        padding-left: 31px;
        max-height: 7em;
    }
    .navbar-nav {
        margin-top: -41px;
        right: 0px;
    }
}
@media (max-width: 452px) {
    .navbar-nav {
        text-align: center;
        margin-top: 3px;
/*         width: 100%; */
    }
    .dropdown-item {
        white-space: normal;
    }
}
