* {
    font-family: "Domine";
}

body {
    padding: 0;
    margin: 0 !important;
    overflow-x: hidden;
}

.parallax-window {
    min-height: 400px;
    background: transparent;

}

.paraxify {
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    height: 768px;
   
}
.chapter-container .top.logotip{
    height: 35px;
    background-repeat: no-repeat;
    background-image: url("../images/MMCpodrobno-logo.png");
    background-size: 196px 35px;
}

.mobileheader .header-logo{
    height: 30px;
    width: 198px;
    background-size: 198px 30px;
    display: inline-block;
    background-repeat: no-repeat;;
    background-image: url("../images/MMCpodrobno-logo-bel-60px.png");
    margin-top: 5px;
    margin-bottom: -5px;

}

ul {
    padding-left: 0;
    padding-top: 0;
    margin: 0;
    list-style: none;
}
a{
    font-size: 100%;
    text-decoration: none;
    vertical-align: baseline;
    margin: 0px;
    padding: 0px;
    background: none repeat scroll 0px 0px transparent;
    color: #004276;
}

a {
    outline: 0;
}
a:hover { 
    text-decoration:none;
    color: #fff;

}
.chapter-container a:hover{
    color: #004276;
}
.sticky-menu{
    position: fixed;
    right:0px;
    top:00px;
    width: 200px;
    background-color: #fff;
    opacity: 0.9;
    padding:20px;
}

.mobileheader {
    background: none repeat scroll 0% 0% #2D2D2D;
    padding: 5px 0px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transform: translate3d(0px, 0px, 0px);
}
.mobileheader a.hamburger{
    color:#fff;  
    font-size: 1.6em;
    line-height: 36px;
    outline: 0;
    padding: 0;
    margin: 0;
    padding-left: 40px;
}

.mobileheader .responsive-menu-button{
    padding-left:40px;
}

.mobileheader .logo {

    background-image: url("../images/RTVSLOMMC-60px.png");
    background-position: right center;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 1;
    width: 168px;
    height: 30px;
    background-size: 168px 30px;
    display: block;
    float: right;
    margin-right: 40px;
    margin-top: 3px;

}

.header {
    position: fixed;
    width: 100%;
    z-index: 200;
    height: 38px;
    background-color: #333;
    z-index: 9999;

}

.header .flex a.hambi{
    color:#fff;
    padding-left: 40px;
    font-size: 2em;
    opacity: 0.8;
}

.header .flex{
    display: flex;
    align-items: center;
    justify-content: center;
}
.header .logo{

    background-image: url('../images/rtvslommc-logo-30px.png');
    background-repeat: no-repeat;
    cursor: pointer;
    height: 30px;
    width: 100px;
    margin: 0 auto;
    display: block;


}

.header .close {
    color:#fff;
    padding-right: 40px;
    font-size: 2em;
    opacity: 0.8;
    cursor: pointer;

}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 30px;
    background: #f5f5f5;
    color: #444;
    cursor: pointer;
    border: 0;
    border-radius: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
}
#back-to-top:hover {
    background: #e9ebec;
}
#back-to-top.show {
    opacity: 1;
}

#back-to-top-home{
    cursor: pointer;
}
#content {
    height: 2000px;
}

.sidr ul li {

    line-height: 20px;

}
.sidr ul li:hover {
    line-height: 20px;
}
.sidr ul li a, .sidr ul li span {
    padding: 8px 15px;

}


.chapter-container {
    margin: 0;
}

.chapter {
    margin: 0 auto;
    padding: 30px 0 0;

}

.chapter-content {
    margin: 0 auto;
    clear: both;
    max-width: 600px;
    padding: 0 20px;
    line-height: 26px;

}

.g-footer {
    clear: both;
    top: 80px;
    position: relative;
    padding: 25px 30px 5px;
    border-top: 1px solid #DBDBDB;
    background-color: #F7F7F7;

}

.g-footer .signiture{
    text-align: center;
    font-size: 0.9em;
    font-family: sans-serif;
}

.bottom-menu{
    position: fixed;
    bottom: 0px;
    left: 0px;
    height: 45px;
    width: 100%;
    z-index: 999;
}

.gallery {
    margin: 20px auto 40px;
    clear: both;
    max-width: 980px;
    padding: 0 20px;
    line-height: 26px;
}
.content-middle {
    margin: 20px auto 40px;
    clear: both;
    max-width: 980px;
    padding: 0 20px;
    line-height: 26px;
}
.gallery img {
    padding: 0 5px 8px 0;
    max-width: 100%;
}

.image-subtitle{
    background-color: #FFF;
    z-index: 9999;
    position: fixed;

    bottom: 0px;
    width: 100%;
    color: #555;
    display: none;
}

.next-img-btn{
    cursor: pointer;
    position: fixed;
    top: 50%;
    z-index: 999999;
    font-size:2em;
    background-color: #fff;
    opacity: 0.9;
    padding: 10px 20px;

}
.next-img-btn:hover{

    background-color: #ddd;


}
.next-img-btn.right{

    right: 50px;


}
.next-img-btn.left{

    left: 50px;


}
.image-subtitle .gallery{

    margin: 0 auto;
    padding: 0px;

}
.image-subtitle .gallery #image-subtitle{

    text-align: center;

}

.gallery .fluidbox-wrap{
    float: left;
    margin-left: 1%;
    margin-bottom: 1%;
}

.chapter-content > p, .chapter-content > h1, .chapter-content > h2, .chapter-content > h3, .chapter-content > h4 {
    margin: 0;
    font-size: 16px;
    padding: 9px 0;
    max-width: 600px;
}

.chapter-content-share{
    width: 82px;
    position: absolute;
    bottom: 60px;
    right: 70px;
}

.chapter-content p .sc {
    text-transform: uppercase;
    font-size: 77%;
    letter-spacing: 1.5px;
    padding-right: 1px;
    color: #000;
}

.chapter-content .g-lead p {
    font-size: 18px;
    //font-weight: 300;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    padding: 0 10px;
}

.viewport-medium .chapter-content .g-lead p {
    margin: 20px 0;
    padding: 0;
    font-size: 24px;
    line-height: 34px;
}

.chapter h2 {
    font-size: 32px;
    line-height: 38px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0px;
}
.chapter h2.sub {
      padding: 0; 
    font-size: 25px;
  
}
h2.top {
    margin-top: 0;
  
}


.chapter h3 {
    font-size: 19px;
    line-height: 30px;
    font-weight: 700;
    font-size: 21px;


    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    text-rendering: optimizeLegibility;
}

.chapter hr {
    display: none;
    width: 80px;
    margin: 0 auto 20px auto;
    border: 0;
    height: 0;
    border-bottom: 1px solid #555;
}

.g-filler {
    text-align: center;
    margin: 0;
    padding: 0;
}

.g-filler > * {
    margin: 0;
}

.g-fill-full, .g-fill-max, .g-fill-wide {
    padding: 30px 0 0 0;
    clear: both;
}

.g-image.in-text {
    margin-left: -200px;
    width: 400px;
    float: left;
    padding: 20px 30px 0 10px;
}



.g-image img {
    width: 100%;;
    background-size: cover;
    background: no-repeat 50% 50%;
}

.g-graphic {
    background-color: #EEF8FD;
}

.g-caption {
    margin: 5px 0 20px 0;
    padding: 0 20px;
    color: #777;
    font-weight: 300;
    font-size: 13px;
}

.chapter:after {
    content: "";
    display: table;
    clear: both;
}

.g-clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.g-head-text {
    padding: 70px 0px 0 40px;
}

.viewport-medium .g-head-text {
    padding: 26px 40px 24px;
}



.viewport-medium .g-logo {
    background-size: 200px;
    width: 200px;
    background-position: -6px -39px;
    margin-left: 2px;
    margin-bottom: 18px;
    opacity: 1;
}

.g-head-text h1 {
    margin: 0;
    font-size: 50px;
    font-weight: 200;
    color: #000;
}

.viewport-medium .g-head-text h1 {
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-size: 60px;
    margin-left: 0;
}

.g-head-text .g-byline {
    color: #000;
    font-family: sans-serif;
    font-weight: 200;
    font-size: 15px;
    margin-left: 6px;
    padding: 0;
    margin: 13px 0 7px 3px;
    color: #111;
    text-rendering: optimizeLegibility;
    line-height: 1.4;
    -webkit-text-size-adjust: none;

}

.viewport-medium .g-head-text .g-byline {
    margin-left: 2px;
    margin-top: 16px;
    margin-bottom: 0;
}

.g-head-text .g-byline .g-name {
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: #000;
}

.g-head-text .g-article-date {
    font-family: sans-serif;
    font-size: 14px;
    color: #555;
    font-weight: 300;
    margin: 15px 0 0 0;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out; 
  -moz-transition: all 0.3s ease-out; 
  -o-transition: all 0.3s ease-out; 
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}
@media (max-width: 1200px) {
    .left-menu{
        display: none;
    }
}
@media (max-width: 992px) {
    .mobileheader {

        padding: 3px 0px;

    }
    
    .paraxify {
        background-attachment: scroll;
        height: 520px;
       
    }

    .mobileheader .close{
        padding-right:20px;

    }
    .mobileheader .responsive-menu-button{
        padding-left:20px;
    }
    .g-image.in-text {
        float: none;
        margin: 0;
        width: 100%;
        padding: 0;
    }
    .g-head-text h1 {
        margin: 0;
        font-size: 32px;
        font-weight: 200;
        color: #000;
    }
    .g-head-text {
        padding: 60px 20px 0px 20px;
    }
    .chapter-content-share{
        width: 82px;
        position: absolute;
        bottom: 60px;
        left: 20px;




    }
    .next-img-btn.right{

        right: 0px;


    }
    .next-img-btn.left{

        left: 0px;


    }

}
@media (max-width: 600px) {

    .paraxify {
        background-attachment: scroll;
        height: 320px;
       
    }
    .mobileheader .logo {
    
        background-position: -72px;
        width: 97px;    
        margin-right: 20px;

    }
    .mobileheader a.hamburger {
       
        padding: 0px 0px 0px 20px;
        
    }
}
@media (max-width: 479px) {
    .mobileheader .logo {
      
        background-size: 112px 20px;
        width: 75px;
        margin-top: 8px;
        height: 20px;
        margin-right: 0px;
        background-position: -48px;

    }
    .mobileheader .header-logo {
        height: 25px;
        width: 162px;
        background-size: 162px 25px;
       
        margin-top: 8px;
        margin-bottom: -5px;
    }
}