body {
    overscroll-behavior-y: contain;
}

.wrap-text{    
  word-wrap: break-word;
}

.scrollable{
  overflow-y: auto;
  max-height: 100%;
}

.zoom:hover {
  transform: scale(1.2); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  transition: transform .2s;
}

.myicons {
	height: 30px;
	width: 50px;
	margin-right: 0px;
}

.mysmallicons {
    height: 3vh;
    
    
}

.mypreviousnext{
	margin-left: 0px;
	margin-right: 0px;
}
#pageNumber {
	width: 50px;
	text-align: center;
}

/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    /*font-family: 'Poppins', sans-serif;*/
    background: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
     font-size: 2.2vh;
    font-weight: 500;
    line-height: 1.2em;
}

p {
    /*font-family: 'Poppins', sans-serif;*/
    font-size: 1em;
    font-weight: 400;
    line-height: 1.4em;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    right: -250px;
    height: 100vh;
    z-index: 999;
    background: #7386D5;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#leftSidebar {
    width: 75%;
    position: fixed;
    top: 0;
    left: -75%;
    height: 100vh;
    z-index: 999;
    background: #7386D5;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    right: 0;
}

#leftSidebar.leftActive {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#leftDismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #7386D5;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #7386D5;
}

#leftDismiss:hover {
    background: #fff;
    color: #7386D5;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.leftOverlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.leftOverlay.leftActive {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    margin-top: 50px;
    padding: 20px;
    background: #6d7fcc;
}

#leftSidebar .leftSidebar-header {
    padding: 20px;
    background: #6d7fcc;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#leftSidebar ul.leftComponents {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#leftSidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#leftSidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#leftSidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

#leftSidebar ul li.leftActive>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #6d7fcc;
}

a[data-toggle="collapse"] {
    position: relative;
}



.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}


/* ---------------------------------------------------
    LEFT CONTENT STYLE
----------------------------------------------------- */

#leftContent {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    left: 0;
}

/*Disable browser spin-buttons on input up/down*/
/* For Firefox */
input[type='number'] {
    -moz-appearance:textfield;
}
/* Webkit browsers like Safari and Chrome */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}




/*     .myBg{
        background-image: url("../slike/azbuka.png");
        background-size:     cover;                      
        background-repeat:   no-repeat;
        background-position: center; 
        background-attachment: fixed;
    } */

    .transparent{    
        background-color: rgba(255,255,255,0.90);
    }
    .transparent2{    
        background-color: rgba(0,0,0,0.85);
    }



    .myAlignTop {
        position: absolute;
    }
    .myAlignBottom{
        position: absolute;
    }

    
    .myAlignTop{
        top: 0;
    }

    .myAlignBottom{
     bottom: 0;  
    }

    /* dark mode */
    [data-theme="dark"] {
        background-color: #222 !important;
        color: #eee;
      }
      
      [data-theme="dark"] .bg-light {
        background-color: #333 !important;
      }
      
      [data-theme="dark"] .bg-white {
        background-color: #111 !important;
      }
      
      [data-theme="dark"] .bg-black {
        background-color: #eee !important;
      }
      
      [data-theme='dark'] img[alt="Завод за уџбенике"]{
        filter: invert(50%) brightness(150%) contrast(150%);
      }


      /*hamburger button*/

      .animated-icon3 {
        width: 30px;
        height: 20px;
        position: relative;
        margin: 0px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        }
        
        .animated-icon3 span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        border-radius: 9px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        }
            
        .animated-icon3 span {
        background: #4d4d4d;
        }
        
      /*animacija*/
      .animated-icon3 span:nth-child(1) {
        top: 0px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
        }
        
        .animated-icon3 span:nth-child(2) {
        top: 10px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
        }
        
        .animated-icon3 span:nth-child(3) {
        top: 20px;
        -webkit-transform-origin: left center;
        -moz-transform-origin: left center;
        -o-transform-origin: left center;
        transform-origin: left center;
        }
        
        .animated-icon3.open span:nth-child(1) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 0px;
        left: 8px;
        }
        
        .animated-icon3.open span:nth-child(2) {
        width: 0%;
        opacity: 0;
        }
        
        .animated-icon3.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 21px;
        left: 8px;
        }


        .myModalDialogFullScreen1 {
            width: auto;
            min-width: 80%;
            height: 80% !important;
            margin: 0 auto;
            padding: 0;
          }
          
          .myModalContentFullScreen1 {
            height: auto;
            min-height: 80%;
            border: 0 none;
            border-radius: 0;
          }
          .myModalBodyFullScreen1 {
            height: auto;
            min-height: 80%;
            border: 0 none;
            border-radius: 0;
          }

          
/*novi izgled glavnog sadržaja*/

.list {
    font-family: "Poppins", sans-serif;
    position: relative;
  }
  .list h2 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
  .list ol {
    position: relative;
  }
  .list ol li {
    position: relative;
    left: 0;

    list-style: none;
    margin: 5px 0;
    border-left: 3px solid #007bff;
    transition: 0.5s;
    cursor: pointer;
  }
  .list ol li:hover {
    left: 10px;
    border-left: 0px;
  }
  .list ol li span {
    position: relative;
    padding: 8px;
    padding-left: 12px;
    display: inline-block;
    z-index: 1;
    transition: 0.5s;
  }
  .list ol li:hover span {
    color: #fce4ec;
  }
  .list ol li:before {
    content: "";
    position: absolute;
    width: 95%;
    height: 100%;
    background: #007bff;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.5s;
 
  }
  .list ol li:hover:before {
    transform: scaleX(1);
  }
  
  .list ol span:before {
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
    color: "#000";
    content: counter(li-counter);
    counter-increment: li-counter;
    margin-right: 10px;
  }
  .list ol {
    list-style-type: none;
    list-style-type: decimal;
    margin: 0;
    margin-left: 1em;
    padding: 0;
    counter-reset: li-counter;
  }
  
  #videosList {
    max-width: 1200px;
    max-height: 1200px;
    overflow: hidden;
  }
  
  video {
    width: 30%;
    height: auto;
  }
  
  /* Hide Play button + controls on iOS */
  video::-webkit-media-controls {
    display: none !important;
  }
  

  #sadrzajMainGDsize {
    max-height: 750px; 
    display: flex;
    flex-direction: column; 
    flex-wrap: wrap;
    align-content: flex-start; 

    overflow-y: auto; 
}

@keyframes move {
  100% {
      transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}

.background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: #346d91;
  overflow: hidden;
  z-index: -1;
}

.background span {
  width: 38vmin;
  height: 38vmin;
  border-radius: 38vmin;
  backface-visibility: hidden;
  position: absolute;
  animation: move;
  animation-duration: 28;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}


.background span:nth-child(0) {
  color: #82c6c6;
  top: 93%;
  left: 77%;
  animation-duration: 46s;
  animation-delay: -119s;
  transform-origin: 25vw 8vh;
  box-shadow: 76vmin 0 10.14709806083046vmin currentColor;
}
.background span:nth-child(1) {
  color: #82c6c6;
  top: 93%;
  left: 41%;
  animation-duration: 18s;
  animation-delay: -193s;
  transform-origin: -6vw 17vh;
  box-shadow: -76vmin 0 9.985035412767607vmin currentColor;
}
.background span:nth-child(2) {
  color: #bae0e0;
  top: 91%;
  left: 42%;
  animation-duration: 86s;
  animation-delay: -151s;
  transform-origin: -5vw 17vh;
  box-shadow: -76vmin 0 10.3024406998595vmin currentColor;
}
.background span:nth-child(3) {
  color: #bae0e0;
  top: 78%;
  left: 99%;
  animation-duration: 214s;
  animation-delay: -49s;
  transform-origin: 22vw 1vh;
  box-shadow: -76vmin 0 10.149728156111316vmin currentColor;
}
.background span:nth-child(4) {
  color: #82c6c6;
  top: 5%;
  left: 12%;
  animation-duration: 9s;
  animation-delay: -216s;
  transform-origin: -7vw 12vh;
  box-shadow: 76vmin 0 9.587788337614315vmin currentColor;
}
.background span:nth-child(5) {
  color: #bae0e0;
  top: 53%;
  left: 96%;
  animation-duration: 86s;
  animation-delay: -172s;
  transform-origin: 13vw 9vh;
  box-shadow: -76vmin 0 9.684488804934185vmin currentColor;
}
.background span:nth-child(6) {
  color: #82c6c6;
  top: 32%;
  left: 80%;
  animation-duration: 9s;
  animation-delay: -30s;
  transform-origin: -6vw 11vh;
  box-shadow: -76vmin 0 10.17839137089468vmin currentColor;
}
.background span:nth-child(7) {
  color: #bae0e0;
  top: 63%;
  left: 1%;
  animation-duration: 32s;
  animation-delay: -204s;
  transform-origin: -8vw 8vh;
  box-shadow: -76vmin 0 9.550047990808723vmin currentColor;
}
.background span:nth-child(8) {
  color: #82c6c6;
  top: 99%;
  left: 80%;
  animation-duration: 22s;
  animation-delay: -53s;
  transform-origin: -6vw -22vh;
  box-shadow: 76vmin 0 10.324384870238507vmin currentColor;
}
.background span:nth-child(9) {
  color: #82c6c6;
  top: 92%;
  left: 63%;
  animation-duration: 105s;
  animation-delay: -24s;
  transform-origin: 22vw 4vh;
  box-shadow: 76vmin 0 9.874220148182703vmin currentColor;
}
.background span:nth-child(10) {
  color: #82c6c6;
  top: 10%;
  left: 10%;
  animation-duration: 141s;
  animation-delay: -28s;
  transform-origin: 2vw 14vh;
  box-shadow: -76vmin 0 9.893540519864565vmin currentColor;
}
.background span:nth-child(11) {
  color: #7ebba7;
  top: 81%;
  left: 13%;
  animation-duration: 148s;
  animation-delay: -69s;
  transform-origin: 8vw 8vh;
  box-shadow: 76vmin 0 10.266992065092136vmin currentColor;
}
.background span:nth-child(12) {
  color: #7ebba7;
  top: 79%;
  left: 79%;
  animation-duration: 55s;
  animation-delay: -161s;
  transform-origin: 19vw 15vh;
  box-shadow: -76vmin 0 10.29182313315565vmin currentColor;
}
.background span:nth-child(13) {
  color: #bae0e0;
  top: 90%;
  left: 30%;
  animation-duration: 177s;
  animation-delay: -219s;
  transform-origin: 1vw 24vh;
  box-shadow: 76vmin 0 10.099849573869653vmin currentColor;
}
.background span:nth-child(14) {
  color: #bae0e0;
  top: 69%;
  left: 3%;
  animation-duration: 9s;
  animation-delay: -90s;
  transform-origin: 13vw 13vh;
  box-shadow: 76vmin 0 9.70190838593425vmin currentColor;
}