@font-face {
    font-family: JCregular;
    src: url(../fonts/junicode/Junicode-Regular.ttf);
}
@font-face {
    font-family: GLlight;
    src: url(../fonts/exo/exo-medium.ttf);
}
@font-face {
    font-family: GLbold;
    src: url(../fonts/exo/exo-bold.ttf);
}
@font-face {
    font: LBregular;
    src: url(../fonts/librebaskerville/librebaskerville-regular.ttf);
}
@media only screen and (min-width : 481px) {
   .flex-row.row {
	 display: flex;
	 flex-wrap: wrap;
   }
   .flex-row.row > [class*='col-'] {
	 display: flex;
	 flex-direction: column;
	 min-height: 200px;
   }
  .flex-row.row:after, 
  .flex-row.row:before {
	 display: flex;
  }
}
@media (min-width: 768px){
    .tbpl-0 {
        padding-left: 0 !important;
    }
    .tbpl-1 {
        padding-left: 10px !important;
    }
    .tbpl-2 {
        padding-left: 20px !important;
    }
    .tbpr-0 {
        padding-right: 0 !important;
    }
    .tbpr-1 {
        padding-right: 10px !important;
    }
    .tbpr-2 {
        padding-right: 20px !important;
    }
}
@media (max-width: 768px){
    .dresy .row div {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.dresy img {
    transition: 0.4s;
}
.dresy img:hover {
    box-shadow: 1px 1px 5px 1px white;
    cursor: pointer;
}
.plan_inv_p {
    font-size: 85%;
}
.plan_inv_p .lead {
    font-size: 100%;
}
.small {
    font-size: 70% !important;
}
p.lead:not(.text-center) {
    text-align: justify;
}
.back-proc {
    position: relative;
    background: #5C97FF;
    overflow: hidden;
}
.back-proc:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
    background-image: url('../img/proctbgf.jpg');
    background-repeat: no-repeat;
    background-position: 70% 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
}
p.text-center:not(.page-section-subheading) {
    margin-bottom: 2rem;
}
.ppb-4 {
    padding-bottom: 2.5rem;
}
.ppb-4 h5 {
    padding-bottom: 1rem;
}
.img-investori.img-invr {
    right: 0;
}
@media(min-width: 1400px){
    #header {
        margin-top: 5.5rem;
    }
    
    #logo {
        height: 4.5rem;
    }
    .page-section:not(.pt-3) {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .page-section-subheading{
        padding-bottom: 6rem;
    }
    #header-div {
        text-align: center;
    }
    .nav-masthead .nav-link {
        line-height: 1.5rem;
        margin: 1.2rem .8rem 1.2rem .8rem;
        padding: .3rem .2rem .3rem .2rem;
        font-size: 18px;
    }
    .inv-divi {
        padding-right: 3rem;
    }
    
    .inv-divj {
        padding-left: 3rem;
    }
    .page-section-heading {
        font-size: 2.5rem !important;
    }
    .pos-rel {
        position: relative;
    }
    .img-investori {
        width: 100%;
        height: auto;
        position: absolute;
        bottom: 0;
    }
    .page-section-anim {
        opacity: 0;
    }
}
@media (max-width: 1400px){
    #header {
        margin-top: 7rem;
    }
    
    #logo {
        height: 4.5rem;
    }
    .page-section:not(.pt-3) {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .page-section-subheading{
        padding-bottom: 6rem;
    }
    #header-div {
        text-align: center;
    }
    .nav-masthead .nav-link {
        line-height: 1.5rem;
        margin: 1.2rem .3rem 1.2rem .3rem;
        padding: .3rem .2rem .3rem .2rem;
        font-size: 18px;
    }
    .inv-divi {
        padding-right: 3rem;
    }
    .inv-divj {
        padding-left: 3rem;
    }
    .page-section-heading {
        font-size: 2.5rem !important;
    }
    .quote-desktop {
        font-size: 0px !important;
        height: 0px !important;
        line-height: 0 !important;
        display: none !important;
    }
    .img-investori {
        width: 75%;
    }
    .page-section-anim {
        opacity: 0;
    }
}
@media (min-width: 768px){
    .inv-mobile {
        font-size: 0px;
        height: 0px;
        opacity: 0;
        line-height: 0;
        display: none;
    }
}
@media (max-width: 767px){
    .inv-desktop {
        font-size: 0px;
        height: 0px;
        line-height: 0;
        display: none;
    }
}
@media (max-width: 1140px){
    #header {
        margin-top: 8rem;
    }
    #logo {
        height: 3.5rem;
    }
    .page-section:not(.pt-3) {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
    .page-section-subheading{
        padding-bottom: 7rem;
    }
    .inv-divi {
        padding-right: 0;
    }
    .inv-divj {
        padding-left: 0;
    }
    #header-div {
        text-align: center;
        display: block !important;
    }
    .masthead-brand {
        float: unset !important;
    }
    .masthead {
        max-width: 95% !important;
    }
    .page-section-heading {
        font-size: 2rem !important;
    }
    .img-investori {
        width: 100%;
        padding-right: 8.333333%;
        padding-left: 8.333333%;
    }
   #mobile-control {
       opacity: 0.5;
   }
   .page-section, .page-section-anim {
        opacity: 1 !important;
    }
}
.noshowthis {
    display: none;
    height: 0;
}
.inv-popis {
    padding-right: 0;
    padding-left: 0;
}
#proctbgf .col-sm-4 {
    padding-right: 25px;
    padding-left: 25px;
}
@media (max-width: 1140px) and (max-width: 660px){
    .nav-masthead .nav-link {
        line-height: 1.2rem;
        margin: .5rem .4rem .5rem .4rem;
        padding: .1rem .1rem .1rem .1rem;
        font-size: 14px;
    }
}
@media (max-width: 1140px) and (min-width: 660px){
    .nav-masthead .nav-link {
        line-height: 1.2rem;
        margin: 1.2rem .4rem 1.2rem .4rem;
        padding: .3rem .1rem .3rem .1rem;
        font-size: 14px;
    }
}
@media (min-width: 786px) {
    .masthead-brand {
        float: left;
    }
    .nav-masthead {
        float: right;
    }
}
.row:not(.onas) {
    margin-top: 0px !important;
}
.a_modal {
    cursor: pointer;
}
.navbar {
    background-color: white;
}
body, .modal-body, .modal-footer {
    font-family: GLlight;
    height: 100%;
}
.modal-title {
    font-family: GLbold;
}
.row {
    margin-top: 4%;
}
.nav-link, .page-section-heading {
    font-family: LBregular;
}
.footer p.lead {
    color: gray;
}
.proctbgf .col-sm-3 {
    padding-left: 5%;
    padding-right: 5%;
}
.foot a {
    margin-left: 20px;
}
h4 {
    font-size: 36px;
}
h6 {
    font-size: 30px;
}
h2.cite {
    font-size: 26px;
}
.page-section-heading {
    padding-bottom: 3px;
}
h5, p.lead.text-bold, span.text-bold, p.text-bold, .foot, h2.cite {
    font-family: GLbold;
}
.inv-divi p {
    margin-bottom: 1rem;
}
.disclaimer {
    margin-top: 5rem;
    margin-bottom: 1.5rem;
}
p.text-center {
    font-size: 90%;
}
.foot a, .kontakt a, #cojetbgf a, .disclaimer a, #investicniportfolio a {
    color: #475c6c;
}
#cojetbgf a, #investicniportfolio a {
    text-decoration: underline;
}
#cojetbgf a:hover, .disclaimer a:hover, .disclaimer a:focus, #investicniportfolio a:hover, #investicniportfolio a:focus {
    color: black;
    background-color: lightgrey;
}
.foot a:hover, .foot a:focus, .kontakt a:hover, .kontakt a:focus {
    color: black;
    text-decoration: none;
}
.btn-secondary {
    background-color: #475c6c !important;
}
a, button {
    transition: 0.6s !important;
}
a:hover, button:hover {
    transition: 0.4s !important;
}
.masthead {
    margin-bottom: 2rem;
}
.masthead-brand {
    margin-bottom: 0;
}
.nav-masthead .nav-link {
    color: #475c6c;
    background-color: transparent;
    border-bottom: 2px solid transparent;
}
p.lead, span.sptbgf, ol.lead li {
    font-size: 15px;
}
.disclaimer p.lead {
    font-size: 11px;
}
h5 {
    font-size: 110%;
}
.nav-masthead .nav-link:hover, .nav-masthead .nav-link:focus {
    border-bottom-color: #475c6c;
}
.cover-container {
    width: 75% !important;
}
#header {
    border: 0;
}
.mainol {
    display: cover;
    height: 455px;
    object-fit: cover;
    object-position: 0 24%;
    filter: brightness(0.5);
}
.btn-tbgf, .btn-tbgf:hover {
    width: 100%;
    max-width: 145px;
    color: white;
    border: 2px solid white;
    background: transparent;
    border-radius: 0px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 16px;
}
.btn-tbgf:hover {
    background-color: white;
    color: #475c6c;
}
.logo-tbgf {
    border-top: 3px solid #475c6c;
    border-bottom: 3px solid #475c6c;
    font-family: LBregular;
    padding-bottom: 9px;
}
.text-tbgf {
    color: #475c6c;
}
.bg-tbgf {
    background-color: #475c6c;
}
.lead {
    font-size: 15px;
}
.bg-secondary {
    background-color: #eef0f2 !important;
}

.testimonial-quote {
    font-size: 16px;
    margin-bottom: 5rem;
}
.testimonial-quote blockquote {
    border: 0;
    margin: 0;
    padding: 0;
    background: none;
    margin: 0;
    position: relative;
    z-index: 600;
}
p span.t-italic {
    font-style: italic;
}
.testimonial-quote blockquote * {
    box-sizing: border-box; 
}
.testimonial-quote .quote-container.rla {
    max-width: 360px;
}
.testimonial-quote .quote-container.jja {
    max-width: 452px;
}
.blockquote p {
    text-align: justify;
}
.testimonial-quote blockquote p:first-child:before {
    content: '\201C';
    color: gray;
    font-size: 29em;
    font-family: JCregular;
    opacity: 0.2;
    position: absolute;
    top: -.77em;
    left: -.24em;    
    text-shadow: none;
    z-index: -300;
}
.testimonial-quote {
    position: relative; 
}
.testimonial-quote .quote-container-left {
    padding-right: 15px;
}
.testimonial-quote .quote-container-right {
    padding-right: 20%;
    padding-left: 15px;
}
.testimonial-quote.right .quote-container {
    padding-left: 0;
    padding-right: 160px; 
}