
/*
ORANGE COLOR: #e67e22
DARKER ORANGE: #cf6d17
*/


/*-------------------------------------------------------------------*/


/*BASIC SETUP*/


/*-------------------------------------------------------------------*/


*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}


html,body{
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', 'sans-serif';
    font-size: 20px;/*OSNOVNA VELIKOST PISAVE CELOTNE STRANI*/
    font-weight: 300;
    text-rendering: optimizeLegibility; /*font rendering in a prfect way*/
    overflow-x: hidden;
}


/*Ta razred dodamo v "ul"(starš) otroci, uporabljajo float, starš ima clearfix razred in floati po "ul" (staršu) so počiščeni..*/


.clearfix{zoom: 1;}


.clearfix:after{
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}


/*-------------------------------------------------------------------*/


/*REUSABLE COMPONENTS*/


/*-------------------------------------------------------------------*/


.row{
    max-width: 1149px;/*edina vrednost v px*/
    margin: 0 auto; /*top in bottom je 0 left in right auto*/
}


section{
    padding:80px 0;/*ker hočemo še pol ozadje spreminjat mora biti text znotraj box in ne margin zato padding*/
}


/*------ HEADING ------*/


h1, h2, h3{
    font-weight: 300;
    text-transform: uppercase;
}


h1{
    margin-top: 0;
    color: #fff;
    margin-bottom: 20px;
    font-size: 240%;/*relativna velikost - se avtomatsko prilagodijo  osnovni velikosti*/
    word-spacing: 4px;
    letter-spacing: 1px;

}


h2{
    font-size: 108%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;

}


h3{
    font-size:110%;
    margin-bottom: 50px;
}


h2:after{/*nekaj se pojavi po h2 :)*/
    display: block;
    height: 2px;
    background-color: #e67e22;
    content: " ";/*VEDNO ko uporabimo after pseudo kodo moramo določiti vsebino(content)*/
    width:100px;
    margin: 0 auto;
    margin-top: 30px;
}


/*----- PARAGRAPHS -----*/


.long-copy{
    line-height: 145%;
    width: 70%;/*30% ostane*/
    margin-left: 15%;/*50% od ostanka(30%) pa je 15% tako lahko poravnamo na sredino brez težav*/
}


.box{
    padding:1%;
}


.box p{
    font-size: 90%;
    line-height: 145%
}


/*----- ICONS -----*/


.icon-big{
    font-size: 350%;
    display: block;
    color: #e67e22;
    margin-bottom: 10px;
    text-align: center;
}


.icon-small{
    display: inline-block;
    text-align: center;
    width:30px;
    color: #e67e22;
    margin-right: 10px;
    font-size: 120%;
    
    /*secret to align text and icons*/
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}


/*------ BUTTONS ------*/


.btn:link,
.btn:visited,
input[type=submit]{
    display: inline-block;
    padding: 10px 30px;/*gor dol 10px levo- desno 30px*/
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
    transition: background-color 0.2s, border 0.2s, color 0.2s;/* css3 se bo prehod spreminjal*/
}


.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active{
    background-color: #cf6d17;
}


.btn-full:link,
.btn-full:visited,
input[type=submit]{
    background-color: #e67e22;
    border:1px solid #e67e22;
    color: #fff;
    margin-right: 15px;
}


.btn-ghost:link,
.btn-ghost:visited{
    border:1px solid #e67e22;
    color: #e67e22;
}


.btn-full:hover,
.btn-full:active,
input[type=submit]:hover,
input[type=submit]:active{
    border:1px solid #cf6d17;
    background-color: #cf6d17;
}


.btn-ghost:hover,
.btn-ghost:active{
    border:1px solid #cf6d17;
    color: #fff;
    
}


/*-------------------------------------------------------------------*/


/*HEADER*/


/*-------------------------------------------------------------------*/


header{
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(0, 0, 0, 0.7)),to(rgba(0,0,0,0.7))), url(img/hero-min.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0,0,0,0.7)), url(img/hero-min.jpg);/* na sliko postavimo linear gradient*/ 
    background-size:cover; /* da vidimo celotno sliko*/
    background-position: center;
    height: 100vh;/*100% vidne ploščadi !!*/
    background-attachment: fixed;
}


.hero-text-box{
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);/*vzame polovico trenutnega pložaja 50%*/
}


.logo,
.logo-black{
    height: 100px;
    width: auto;
    float:left;
    margin-top: 20px;
}


.logo-black{ 
    display: none;
    height: 50px;
    width: auto;
    float:left;
    margin: 0 5px;
}


/*Main navi*/


.main-nav{
    float:right;
    list-style: none;
    margin-top:55px;
}


.main-nav li{
    display: inline-block;/*da so postavljene ob strani*/
    margin-left: 40px;
}


.main-nav li a:link,
.main-nav li a:visited{
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
    padding: 8px 0;
}


.main-nav li a:hover,
.main-nav li a:active{
    border-bottom: 2px solid #e67e22;
}


/*mobile navi*/


.mobile-nav-icon{
    float: right;
    margin-top: 10px;
    cursor: pointer;/*pokaže kazalec*/
    display: none;
}


.mobile-nav-icon i{/*ikona  za spustni seznam*/
    font-size: 200%;
    color: #fff;
}


/*Sticky nav*/


.sticky-nav{
    position:fixed;/*el. ostane na enakem mestu ne glede na našo skolanje*/
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    -webkit-box-shadow: 0 2px 2px #dedede;
            box-shadow: 0 2px 2px #dedede;
    z-index: 9999;
}


.sticky-nav .main-nav{ margin-top:18px; }


.sticky-nav .main-nav li a:link,
.sticky-nav .main-nav li a:visited{
    color: #555;
    padding: 16px 0;
}


.sticky-nav .logo{display: none;}


.sticky-nav .logo-black{display: block;}


/*-------------------------------------------------------------------*/


/*Features*/


/*-------------------------------------------------------------------*/


.section-features.long-copy {
    margin-bottom: 30px;
}


/*-------------------------------------------------------------------*/


/*MEALS*/


/*-------------------------------------------------------------------*/


.section-meals{
    padding: 0;/*popravek padding, ki ga doda normalizer*/
}


.meals-showcase{
    list-style: none;
    width: 100%;
}


.meals-showcase li{
    display: block;
    float: left;
    width: 25%;

}


.meal-photo{
    width: 100%;
    margin: 0;/*ker normalizer doda svoje margine*/
    overflow: hidden;/* poreže robove slike, ki presegajo okvir*/
    background-color: #000;/*ozadje naredimo črno, da postanejo slike temnejše*/
}


.meal-photo img{
    opacity: 0.7;/*naredi prozorne slike*/
    width: 100%;
    height: auto;
    -webkit-transform: scale(1.15);
            transform: scale(1.15); /*115% velikost*/
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}


.meal-photo img:hover{
    opacity: 1;
    -webkit-transform: scale(1.03);
            transform: scale(1.03);/*gre nazaj na normalno 100%*/
}


/*-------------------------------------------------------------------*/


/*STEPS SECTION*/


/*-------------------------------------------------------------------*/


.section-steps{
    background-color: #f4f4f4;
}


.steps-box:first-child{/*izbere prvi box*/
    text-align: right;
    padding-right: 3%;/*naš layout mora biti prilagodljiv*/
    /*margin-top: 30px;*/
}


.steps-box:last-child{/*Izbere zadnji box*/
    padding-left: 3%;
    margin-top: 70px;
    text-align: left;
}


.app-screen{
    width: 40%; /* layout */
}


.works-step{
    margin-bottom: 50px;
}


.works-step:last-of-type{/**/
    margin-bottom: 80px;
}


.works-step div{
    color: #e67e22;
    border: 2px solid #e67e22;
    display: inline-block;
    border-radius: 50%;
    height: 54px;
    width: 54px;
    text-align: center;
    padding: 5px;
    float: left;
    font-size: 150%;
    margin-right: 25px;
}


.btn-app img{
   height: 50px;
   width: auto;
   margin-right: 10px;
}


/*-------------------------------------------------------------------*/


/*CITY SECTION*/


/*-------------------------------------------------------------------*/


.box img{
    width: 100%;
    height: auto;
}


.box h3{
    margin:0;
    padding: 20px 0;
}


.info-city{
    margin-bottom: 5px;
}


.info-city a:link,
.info-city a:visited{
    color: #e67e22;
    text-decoration: none;
    border-bottom: 1px solid #e67e22;
}


.info-city a:hover,
.info-city a:active{
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
}


/*
.info-city{
  display: block;
}
.info-city p{
    font-size: 90%;
    padding: 5px;
}

*/


/*-------------------------------------------------------------------*/


/*TESTIMONIALS SECTION*/


/*-------------------------------------------------------------------*/


.section-testimonials{
    color: #fff;
    background-image: -webkit-gradient(linear,left top, left bottom,from(rgba(0, 0, 0, 0.7)),to(rgba(0,0,0,0.7))),url(/resources/img/back-customers-min.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0,0,0,0.7)),url(/resources/img/back-customers-min.jpg);
    background-size:cover; /* da vidimo celotno sliko*/
    background-position: center;
    background-attachment: fixed; /* ozadje ostane prilepljeno v ozadju OO*/
}


.section-testimonials blockquote:before{
    content: "\201C";/*vstavljanje teksta z CSS - uporabimo https://css-tricks.com/snippets/html/glyphs/ ---- quotation mark in izpišemo sem kodo*/
    font-size: 600%;
    display: block;
    position: absolute;
    top: -5px;
    left: -15px;
    
}


.section-testimonials blockquote{
    font-style: italic;/*ker smo inkludali italic google font style*/
    font-size: 90%;
    line-height: 145%;
    position: relative;
    margin-top: 40px;
}


.section-testimonials cite{
    font-size: 90%;
    margin-top: 25px;
    display: block;/*ker potrebujemo novo vrstico (line break) oz. new line.. zato definiramo block element*/
}


.section-testimonials img{
    height: 45px;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}


/*-------------------------------------------------------------------*/


/*SECTION PLAN*/


/*-------------------------------------------------------------------*/


.section-plans{
    background-color: #f4f4f4;
}


.plan-box{
    background-color: #fff;
    border-radius: 5px;
    width:90%;
    /*border: 1px solid transparent;*/
    margin-left: 5%;
    -webkit-box-shadow: 0 2px 2px #e3e3e3;
            box-shadow: 0 2px 2px #e3e3e3;/*x-axis y-axis blur color*/
}


.plan-box div{
    padding: 15px;
    border-bottom: 1px solid #f4f4f4;
    
}


.plan-price div:first-child{
    background-color: #e0e0e0;
    border-top-left-radius: 5px;
    border-top-right-radius:5px;
}


.plan-box div:last-child{
    text-align: center;/*poravnava vsebine v sredino oz. <a> gumbov*/
    border-bottom: none;
}


.plan-price{
    font-size: 300%;
    margin-bottom: 10px;
    font-weight: 100;/*opcija,k ije na voljo iz dodanega fonta iz googla*/
    color: #e67e22;
}


.plan-price-meal{
    font-size: 80%;
}


.plan-price span{
    font-size: 30%;/*Ker je span otrok od .plan-price bo osnovo vzel od starša zato moramo vzeti manjšo št, če hočemo doseči manjšo vrednost*/
    font-weight: 300;
}


.plan-box i{
    color: #e67e22;
    margin: 10px;
}


.plan-box ul{
    list-style-type: none;
}


.plan-box li{
    /*padding: 5px 0;*/
}


/*-------------------------------------------------------------------*/


/*FORM*/


/*-------------------------------------------------------------------*/


.contact-form {
    width: 80%;
    margin: 0 auto;
}


input[type=text],
input[type=email],
select,
textarea{
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
}


textarea{
    height: 100px;
}


input[type=checkbox]{
    margin: 10px 5px 10px 0;
}


*:focus{
    outline: none;
}


.map-box{
    width: 100%;
    height: 560px;
    position: relative;
}


.map{
    width: 100%;
    height: 560px;
    z-index: 0;
}


.form-box{
    position: absolute;
    top: 0;
    right: 0;
    background-color:rgba(255,255,255, 0.8);
    z-index: 10;
    width: 50%;
    height: 560px;
    padding-top: 40px;
}


/*-------------------------------------------------------------------*/


/*FOOTER*/


/*-------------------------------------------------------------------*/


.footer-nav li,
.social-links li{
    list-style-type: none;
    display: inline-block;
    margin-right: 20px;
}


.footer-nav li:last-child,
.social-links li:last-child{
    margin-right: 0;
}


.footer-nav{
    float: left;
}


.social-links{
    float: right;
}


.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited{
    text-decoration: none;
    color: #888;
    border: 0;
}


.footer-nav li a:hover,
.footer-nav li a:active,
.social-links li a:hover,
.social-links li a:active{
    color: #acacac;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    border: 0;
}


.social-links li a:link,
.social-links li a:visited{
    font-size: 140%;
}


.ion-social-facebook:hover,
.ion-social-facebook:visited{
    color: #3b5998;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}


.ion-social-twitter:hover,
.ion-social-twitter:visited{
    color: #00aced;
        -webkit-transition: color 0.2s;
        transition: color 0.2s;

}


.ion-social-googleplus-outline:hover,
.ion-social-googleplus-outline:visited{
    color: #dd4b39;
        -webkit-transition: color 0.2s;
        transition: color 0.2s;

}


.ion-social-instagram:hover,
.ion-social-instagram:visited{
    color: #517fa4;
        -webkit-transition: color 0.2s;
        transition: color 0.2s;

}


footer{
    background-color:#535353;
    padding: 40px;
    font-size: 70%;
}


footer p{
        color: #888;
    text-align: center;
    font-size: 80%;
    margin-top: 20px;
}


/*-------------------------------------------------------------------*/


/*ANIMATIONS*/


/*-------------------------------------------------------------------*/


.js--wp-1,
.js--wp-2,
.js--wp-3{
    opacity: 0;/*pred animacijo skrijemo, da se element pojavi*/
    -webkit-animation-duration: 1s;
            animation-duration: 1s;/*trajanje animacije*/
}


.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated{
    opacity: 1;/*ko se sproži jquery funkcija se naredi animated class takrat ta selektor deluje in se objekt spet pojavi..*/
}