/*#page2include{
    -webkit-box-shadow: 0 0px 7px 5px rgba(0,0,0,0.2);
            box-shadow: 0 0px 7px 5px rgba(0,0,0,0.2);  

    margin: 40px; 
}*/

*:focus {
    outline: none !important;
}

.modal {
    /*max-width: 400px;*/
}

.modal img {
    max-width: 100%;
}

.modal .prijeposlije {
    max-width: 100%;
}

html {
    /*max-width: 600px;
    margin: auto;*/
    height: 100%; 
}

#page2include{
    height: 80vh;
    width: 100%;
    border: 0px;
    position: relative;
}

.header-clear-large{
    height:20px;
}

.half-bottom{margin-bottom:15px!important;}

.decoration{
    height:1px;
    width:100%;
    display:block;
    background-color:rgba(0,0,0,0.1);
    margin-bottom:30px;
    clear:both;
}

@media(max-width:768px){
    .one-half{
        width:45%;
        float:left;
        margin-right:10%;
    }
    
    .one-third{
        width:28%;
        float:left;
        margin-right:8%;
    }    
    
    .one-half-responsive{width:100%;}
    .one-third-responsive{width:100%;} 
}

@media(min-width:767px){
    .one-half, .one-half-responsive{
        width:45%;
        float:left;
        margin-right:10%;
    }
    
    .one-third, .one-third-responsive{
        width:28%;
        float:left;
        margin-right:8%;
    }    
    
    .one-forth-responsive{
        float:left;
        width:20%;
        margin-right:5%;
    }
    
    .sidebar-left-big{
        width:70%;
        float:left;
        margin-right:5% 
    }
    
    .sidebar-right-small{
        width:25%;
        float:right;    
    }
        
    .sidebar-right-big{
        width:70%;
        float:right;    
    }
    
    .sidebar-left-small{
        width:25%;
        float:left;
        margin-right:5%;    
    }
}

.clear{clear:both!important;}

.uppercase{text-transform:uppercase;}
.lowercase{text-transform:lowercase;}
.thin{font-weight:300!important;}
.thiner{font-weight:400!important;}
.bold{font-weight:600!important;}
.ultrabold{font-weight:1000!important;}

.small-text{font-size:12px;}
.smaller-text{font-size:13px;}
.larger-text{font-size:15px;}
.large-text{font-size:16px;}

.center-text{text-align:center; display:block;}
.left-text{text-align:left; display:block;}
.right-text{text-align:right; display:block; margin-right: 10px;}

.center-text-mobile{text-align:center; display:block;}
.left-text-mobile{text-align:left; display:block;}
.right-text-mobile{text-align:right; display:block;}

.center-text-tablet{text-align:left; display:block;}
.left-text-tablet{text-align:left; display:block;}
.right-text-tablet{text-align:left; display:block;}

.space-left{padding-left:10px;}
.space-right{padding-right:10px;}

.half-bottom{margin-bottom:15px!important;}
.last-column{margin-right:0%!important;}

/*-----------------------*/
/*-----------------------*/
/*----Calendar Design----*/ 
/*-----------------------*/
/*-----------------------*/

.calendar{
    margin-bottom:30px;
    padding: 25px;
    display:block;
    overflow:hidden;
}

calendar*{
    display:block;
    overflow:hidden;
}

.calendar-titles a{
    width:14.28%;
    float:left;
    text-align:center;
    height:40px;
    line-height:40px;
    font-size:10px;
    color:#1f1f1f;
    font-weight:800;
}

.calendar-titles .light-titles{
    opacity:0.5;
}

.calendar-days{
    margin-top:-10px;
    font-size:14px;
    margin-bottom:30px;
}

.calendar-days a{
    width:14.28%;
    float:left;
    height:60px;
    line-height:60px;
    text-align:center;
    color:#1f1f1f;
    font-weight:700;
}

.calendar-days a:hover{
    color:rgba(41, 128, 185,1.0);
}

.calendar-day .light-day{
    opacity:0.3;
}

.calendar-days i{
    position:absolute;
    font-size:35px;
    margin-top:12px;
    margin-left:-7px;
    z-index:-1;
}

.clear-day i{
    opacity:0;
}

.light-day{
    opacity:0.3;
}

.light-day i{
    display:none;
}

.taken-day{
    color:#FFFFFF!important;
}

.taken-day i{
    color:#27ae60;
}

.close-day{
    color:#FFFFFF!important;
}

.close-day i{
    color:#c0392b;
}

.calendar-hours{
    border-top:solid 1px rgba(0,0,0,0.1);
}

.calendar-hour{
    height:90px;
    border-bottom:solid 1px rgba(0,0,0,0.1);
}

.calendar-hours a{
    display: block;
    position: relative;
    margin: -17px !important;
}

.calendar-hours a img{
    position: absolute;
    top: 25%;
    right: 5%;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
}

.calendar-hours a span{
    position: absolute;
    top: 30%;
    right: 7%;
    opacity:0.7;
    color:#666666;
}

.calendar-hours a span .thedone {
    color: green;
}

.calendar-hours a span .waiting {
    color: orange;
}

.calendar-hour-clear:hover{
    background-color: rgba(39, 174, 96, 0.1);  
}

.calendar-hour-taken:hover{
    background-color: rgba(192, 57, 43,0.1);   
}

.calendar-hour strong{
    color:#666666;
    opacity:0.7;
}

.calendar-hours a:last-child{
    border-bottom:none;
}

.calendar-hour .cal-time{
    position:absolute;
    margin-top:30px;
    font-weight:400;
    font-size:11px;
    padding-left:20px;
}

.calendar-hour .cal-icon{
    position:absolute;
    margin-top:35px;
    font-weight:400;
    font-size:15px;
    padding-left:30px;
}

.calendar-hour .cal-from{
    position:absolute;
    margin-top:20px;
    font-size:13px;
    font-weight:400;
    padding-left:32px;
}

.calendar-hour .cal-to{
    position:absolute;
    margin-top:47px;
    font-size:11px;
    font-weight:400;
    padding-left:25px;
}

.calendar-hour h4{
    font-size:14px;
    padding-left:80px;
    padding-top:25px;
    margin-bottom:2px;
}

.calendar-hour em{
    font-style:normal;
    font-size:11px;
    padding-left:80px;
    color:#666666;
}

.calendar-hour em i{
    margin-right:10px;
}

.white-screen {
position: relative;
}

.loading-gif {
    position: absolute;
    top: 50%;
    left: 40%;
    /*margin: -50px 0px 0px -50px;*/
}

#dodajuplan .collection {
    margin: 0;
}

#dodajuplan .hide {
    display: none;
}

.collection-item {
    color: black !important;
    opacity: 0.9;
}

.modal .collection-item {
    color: black !important;
    opacity: 0.7;
}

#dodajuplan .modal-footer .row {
    margin: 0;
}

#dodajuplan .modal-content {
    padding: 0;
}

#dodajuplan .modal-content p {
    color: black !important;
    opacity: 0.7;
    font-size: 11px !important;
    margin-left: 30px;
}

/*#task-modal {
}

#task-modal .modal-top {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 60px;
    width: 100%;
    background-color: black;
    opacity: 0.7;
}

#task-modal .modal-top h4 {
    margin: 15px 0 0 15px;
    color: white;
}*/

.modal img {
    margin: 0;
    /*max-width: 500px;*/ /* you can use % */
    height: auto;
}

@media (max-width: 600px) {
    .modal img {
        margin: 0;
        max-width: 500px; /* you can use % */
        height: auto;
    }
    /*.modal {
        max-width: 500px;
        height: auto;
    }*/
}

@media (max-width: 510px) {
    .modal img {
        margin: 0;
        max-width: 400px; /* you can use % */
        height: auto;
    }

    /*.modal {
        max-width: 400px;
        height: auto;
    }*/
}

@media (max-width: 410px) {
    .modal img {
        margin: 0;
        max-width: 350px; /* you can use % */
        height: auto;
    }

    /*.modal {
        max-width: 350px;
        height: auto;*/
    }
}

@media (max-width: 360px) {
    .modal img {
        margin: 0;
        max-width: 300px; /* you can use % */
        height: auto;
    }
    /*.modal {
        max-width: 300px;
        height: auto;
    }*/
}

/*#task-modal .modal-footer {
    margin: 0;
}

#task-modal .modal-loader {
    position: absolute !important;
    top: 55% !important;
    left: 55% !important;
    margin: -50px 0px 0px -50px !important;
}*/

.thedone {
    color: green;
}

.waiting {
    color: orange;
}

.modal-footer i {
    margin-left: 10px;
    margin-top: 7px;
}

.modal-footer em {
    margin-left: 5px;
}

/*.modal-footer form {
    position: absolute;
    left: 15px;
    bottom: 15px;
}*/

#weight-modal input{
  display: inline;
}

#weight-modal div.unit::after{
  content: "kg";
  margin-left: -40px;
}

.dropdown-content li a {
    color: black;
    opacity: 0.8;
}

.disabled-link {
    cursor: default;
    opacity: 0.3 !important;
}

.kcal-text {
    font-size: 12px;
    opacity: 0.6;
}
.korisnik-text {
    opacity: 0.7;
}
.kcal-text-article {
    font-size: 11px;
    opacity: 0.5;
    font-style: normal;
}

.kcal-top {
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 12px;
    opacity: 0.7;
}


.addBtn {
    background-color: black;
    opacity: 0.9;
}

.no-display {
    display: none !important;
}

.trz {
    position: relative;
}

.trz i {
    position: absolute;
    top: 16.5px;
    right: 20px;
}

.inpt-trz {
    line-height: 20px !important;
    width: 95% !important; 
    margin: 0px 0px 0px 0px !important;
    padding: 4px  0px 4px 5% !important; 
    border: 0px !important;
}


.add-workout-btn {
    position: absolute;
    top: 2px;
    right: 5px;
    height: 30px;
    width: 30px;
}

.nav-wrapper {
    position: relative;
}

.btns-top {
    position: absolute;
    top: 0px;
    right: 5px;
    display: inline;
}

.btns-top li {
    padding: 2px 7px 2px 5px;
}

.tabs .indicator { display: none; }
.tabs .tab a.active { border-bottom: 2px solid #26a69a; }

.modal .collection a {
    color: black;
}

/*.priprema p {
    padding: 0px;
    margin: 0px;
    border: 1px solid;
    border-color: #26a69a;
    border-radius: 5px;
    margin-bottom: 5px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
    display: inline-block;
    position: relative;
}

.priprema p button {
    position: absolute;
    top: -2px;
    right: -2px;
}*/

div.marquee {
    white-space:nowrap;
    overflow:hidden;
    width: 170px;
    text-indent: 0px;
}
.mar-modal {
    width: 180px !important;
}
div.marquee > div.marquee-text {
    white-space:nowrap;
    display:inline;
    width:auto;
}

.modal-content .right-top {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 15px;
}

.modal-footer .right-top {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 15px;
}

.card-image .bottom-background {
    width: 100%;
    background-color: black;
    opacity: 0.2;
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 56px;
}

.card-image .icon {
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 10px;
}

.card-image .right-background {
    height: 100%;
    background-color: black;
    opacity: 0.2;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 30px;
}

.lean-overlay {
    height: 175% !important;
}

.btns-bottom {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-color: #fafafa;
}

.pregled-footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-color: #fafafa;
    height: 70px;
}

.kilogrami-eye {
    /*position: absolute;
    top: 10px;
    right: 10px;*/
    color: #212429;
}

#dodaj-u-dnevnik {
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
}

#dodaj-vjezbu-dnevnik {
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
}

.collection-item .favorit {
    position: absolute;
    bottom: 12px;
    left: 30px;
}

.masa {
    position: relative;
}

#unit {
    position: relative;
}

.fa-eye {
    position: absolute;
    top: 13px;
    right: 25px;
}

.shadow {
    text-shadow: 2px 2px black;
}

/*.list-card {
    position: relative;
}

.akcije {
    position: absolute;
    bottom: 5px;
    left: 20px;
}*/

.akcije li {
    display: inline;
    padding: 7.5px;
}

.menu {
    font-size: 15px;
    line-height: 1.7rem !important;
    height: 45px;
}

.podmenu {
    font-size: 12px;
    line-height: 0.3rem !important;
    height: 33px;
    margin: 0px;
}

.artikli-dana {
    font-size: 13px;
    line-height: 1.3rem !important;
    height: 38px;
}

.title {
    font-size: 14.5px !important;
}

.loader-leftbottom {
    position: fixed;
    bottom: 15px;
    left: 20px;
    z-index: 10;
}

.prijeposlije {
    position: relative;
    max-width: 380px;
    margin: 0px;
    padding: 0px;
}

.prijeposlije-img {
    max-width: 380px;
    margin: 0px;
    padding: 0px;
}

.prijeposlije-dan {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 18px;
    color: white;
}

.comment {
    position: relative;
}

.comment .circle {
    position: absolute;
    width: 42px;
    height: 42px;
    overflow: hidden;
    left: 15px;
    top: 10px;
    display: inline-block;
    vertical-align: middle; }

.comment .circle-noimg {
    position: absolute;
    width: 42px;
    height: 42px;
    overflow: hidden;
    left: 15px;
    top: 10px;
    display: inline-block;
    vertical-align: middle;
    font-size: 24px;
    line-height: 42px;
    text-align: center;
    color: #f5f5f5;
    font-weight: 100;
    background-color: #009688;
    border-radius: 50%; }

.comment .name {
    position: absolute;
    left: 70px;
    top: 15px;
}

.comment .time {
    position: absolute;
    left: 70px;
    top: 35px;
    opacity: 0.7;
    font-size: 12px;
}

.comment .obrisi-komentar {
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: 0.5;
}

.comment .uredi-komentar {
    position: absolute;
    right: 30px;
    top: 10px;
    opacity: 0.5;
}

/*#nova-poruka {
    position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: #e5e5e5;
}*/

/*#poruka-photo {
    position: absolute;
    right: 20px;
    top: 15px;
}*/

/**** SLIKE PREDPRIKAZ ****/
/**************************/

#poruka-slike {
    position: absolute;
    left: 15px;
    bottom: 6px;
    padding: 0px;
    margin: 0px;
}

#poruka-slike li {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0px 10px 0px 0px;
}

#poruka-slike li img {
    width: 100%;
    height: 100%;
}

#poruka-slike .poruka-i {
    position: relative;
}

#poruka-slike .poruka-i i {
    position: absolute;
    left: 5px;
    top: 10px;
    margin: 0px;
    padding: 0px;
    color: #009688;
}

#poruka-slike .poruka-img {
    position: relative;
}

#poruka-slike .poruka-img .poruka-img-brisi {
    position: absolute;
    top: -3px;
    right: -3px;
    color: #fafafa;
    border-radius: 50%;
    opacity: 0.9;
    font-size: 11px;
    margin: 0px;
    padding: 2px 3px 2px 3px;
}

/**** SLIKE PRIKAZ U PORUCI ****/
/*******************************/

#post-slike {
    padding: 0px;
    margin: 5px 5px 10px -5px;
}

#post-slike li {
    display: inline-block;
    max-width: 50px;
    margin: 0px 15px 0px 0px;
}

#post-slike li img {
    width: 100%;
    height: auto;
}

/**** GALERIJA ****/
/******************/

.galerija div.img {
    border: 0px solid #ccc;
}

.galerija div.img:hover {
    border: 0px solid #777;
}

.galerija div.img img {
    width: 100%;
    height: auto;
}

.galerija div.desc {
    padding: 15px;
    text-align: center;
}

.galerija * {
    box-sizing: border-box;
}

.galerija .responsive {
    padding: 0 6px;
    float: left;
    width: 24.99999%;
}

@media only screen and (max-width: 700px){
    .galerija .responsive {
        width: 49.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 500px){
    .galerija .responsive {
        width: 100%;
    }
}

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

/**** FULLSCREEN MODAL ****/
/**************************/

/* The Modal (background) */
.modalJ {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modalJ-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

@media only screen and (max-width: 700px){
    .modalJ-content {
        width: 100%;
    }
}

/* Caption of Modal Image */
 #captionJ {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
 .modalJ-content, #captionJ {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0.1)} 
    to {transform:scale(1)}
}

/* The Close Button */
.closeJ {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.closeJ:hover,
.closeJ:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/**** LOGO SUB ****/
/******************/

.the-logo-sub {
    font-size: 10px;
    opacity: 0.7;
}

/**** PRESCREEN ****/
/******************/

#prescreen {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10; /* Sit on top */
    overflow: hidden;
    background-color: #212429; /*#26a69a;*/
    text-align: center;
}

#prescreen:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

#prescreen .logo {
    display: inline-block;
    vertical-align: middle;
    font-size: 56px;
    color: white;
    font-weight: 100;
}

/**** PAGE MODAL ****/
/**************************/

/* The Modal (background) */
#modalPage {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    padding-top: 0px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    opacity: 1;
    /*background-color: rgb(0,0,0);*/ /* Fallback color */
    /*background-color: rgba(0,0,0,0.9); Black w/ opacity */
}

/* Modal Content (image) */
#modalPage-content {
    display: none;
    opacity: 1;
    width: 100%;
    height: 100%;
    background-color: white;
}

/* Add Animation */
/* .modalPage-content {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0.1)} 
    to {transform:scale(1)}
}*/

/**** STARTSCREEN ****/
/**************************/
#bodyNotLogged {
    background-color: #26a69a;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    overflow: auto;
    margin: 0px;
    padding: 0px;
}

#startscreen .pitanje {
    margin-top: 130px;
    font-size: 30px;
    color: white;
    font-weight: 100;
    text-align: center;
}

#bodyNotLogged .info-txt {
    margin-top: 20px;
    font-size: 30px;
    color: white;
    font-weight: 100;
    text-align: center;
}

#startscreen input {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 30px;
    color: #26a69a;
    background-color: white;
    font-weight: 100;
    text-align: center;
    margin: 0px;
    padding: 0px;
}

/*.prijava {
    position: absolute;
    bottom: 5px;
    right: 10%;
    cursor: pointer;
}

.povratak {
    position: absolute;
    bottom: 10px;
    left: 10%;
    cursor: pointer;
}*/

#slide-registration input, #slide-login input, #slide-lozinka input {
    font-size: 30px;
    color: #26a69a;
    background-color: white;
    font-weight: 100;
    text-align: center;
}

.zaboravljena-lozinka {
    font-size: 12px;
    color: white;
    font-weight: 200;
    cursor: pointer;
}

.button-day-change {
    cursor: pointer;
    font-size: 70%;
    color: #212429;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.prethodni-unos {
    margin-bottom: 0px;
}

.prethodni-unos .collection-item {
    background-color: #fff;
    line-height: 1.5rem;
    padding: 2.5px 20px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
}

.collection.with-header .collection-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 3px 20px;
}