/*COLORS:
 
#BB9168  -sivkasto
#6E3402  -smede
#FFFFFF  -bijelo
#C27B01  -zuckasto
 
*/
 
/*
::-webkit-scrollbar {
    display: none;
}*/

/*
body {
  background: url(http://subtlepatterns.com/patterns/pinstriped_suit.png);
}*/
.pic {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
}
 
.col{
  border-radius: 20px;
  margin: 4%;
  float: left;
  width: 25%;
  background: rgba(255,255,255,0.5);
  border: 1px solid #6E3402;
}
 
.col p{color: #6E3402; }
 
body {
  background: white;
  color: white;
  text-align: center;
}
 
p,li,ol{
  font-family: 'Cookie', Georgia, Helvetica;
}
 
a {
  font-family: 'Cookie', Georgia, Helvetica;
  color: inherit;
}
 
h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Georgia', Helvetica;
  color: #6E3402;
}
 
h3{
  font-size: 4em;
  padding-top: 80px;
}
 
h2{
  padding-top: 30px;
  font-size: 3em;
}
 
h1 {
  font-size: 5em;
}
 
/*---------------logo---------------------*/
.logo{
  position: relative;
  top:200px;
  width: 50%;
}
 
.slogan{
  position: relative;
  top:230px;
}
 
 
/*---------------meni----------------------*/
i{
  position: relative;
  top: 17px;}
 
.menu {
  -webkit-filter: url("#goo");
          filter: url("#goo");
}
 
.menu-item, .menu-open-button {
  background: #C27B01;
  border-radius: 100%;
  width: 60px;
  height: 60px;
  position: absolute;
  top: 10px;
  color: white;
  text-align: center;
  line-height: 80px;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform ease-out 200ms;
          transition: transform ease-out 200ms;
}
 
.menu-open {
  display: none;
}
 
.hamburger {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  position: relative;
  top: 45%;
  left: 50%;
  margin-left: -12.5px;
  margin-top: -1.5px;
  -webkit-transition: -webkit-transform 200ms;
          transition: transform 200ms;
}
 
.hamburger-1 {
  -webkit-transform: translate3d(0, -8px, 0);
          transform: translate3d(0, -8px, 0);
}
 
.hamburger-2 {
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
 
.hamburger-3 {
  -webkit-transform: translate3d(0, 8px, 0);
          transform: translate3d(0, 8px, 0);
}
 
.menu-open:checked + .menu-open-button .hamburger-1 {
  -webkit-transform: translate3d(0, 0, 0) rotate(45deg);
          transform: translate3d(0, 0, 0) rotate(45deg);
}
.menu-open:checked + .menu-open-button .hamburger-2 {
  -webkit-transform: translate3d(0, 0, 0) scale(0.1, 1);
          transform: translate3d(0, 0, 0) scale(0.1, 1);
}
.menu-open:checked + .menu-open-button .hamburger-3 {
  -webkit-transform: translate3d(0, 0, 0) rotate(-45deg);
          transform: translate3d(0, 0, 0) rotate(-45deg);
}
 
.menu {
  position: fixed;
  left: 50%;
  top: 0%;
  margin-left: -190px;
  padding-top: 20px;
  padding-left: 160px;
  box-sizing: border-box;
  font-size: 20px;
  text-align: left;
  z-index: 100;
  opacity: 0.3;
  transition:1s;
}
.menu:hover{
  opacity: 1;
}
 
.menu-item:hover {
  background: white;
  color: #C27B01;
}
.menu-item:nth-child(7) {
  -webkit-transition-duration: 180ms;
          transition-duration: 180ms;
}
.menu-item:nth-child(3) {
  -webkit-transition-duration: 180ms;
          transition-duration: 180ms;
}
.menu-item:nth-child(4) {
  -webkit-transition-duration: 180ms;
          transition-duration: 180ms;
}
.menu-item:nth-child(5) {
  -webkit-transition-duration: 180ms;
          transition-duration: 180ms;
}
.menu-item:nth-child(6) {
  -webkit-transition-duration: 180ms;
          transition-duration: 180ms;
}
 
.menu-open-button {
  z-index: 2;
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
          transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -webkit-transition-duration: 400ms;
          transition-duration: 400ms;
  -webkit-transform: scale(1.1, 1.1) translate3d(0, 0, 0);
          transform: scale(1.1, 1.1) translate3d(0, 0, 0);
  cursor: pointer;
}
 
.menu-open-button:hover {
  -webkit-transform: scale(1.2, 1.2) translate3d(0, 0, 0);
          transform: scale(1.2, 1.2) translate3d(0, 0, 0);
}
 
.menu-open:checked + .menu-open-button {
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
  -webkit-transition-duration: 200ms;
          transition-duration: 200ms;
  -webkit-transform: scale(0.8, 0.8) translate3d(0, 0, 0);
          transform: scale(0.8, 0.8) translate3d(0, 0, 0);
}
 
.menu-open:checked ~ .menu-item {
  -webkit-transition-timing-function: cubic-bezier(0.935, 1, 0.34, 1.33);
          transition-timing-function: cubic-bezier(0.935, 1, 0.34, 1.33);
}
.menu-open:checked ~ .menu-item:nth-child(7) {
  -webkit-transition-duration: 180ms;
          transition-duration: 180ms;
  -webkit-transform: translate3d(-90.9466px, 0, 0);
          transform: translate3d(-90.9466px, 0, 0);
}
.menu-open:checked ~ .menu-item:nth-child(3) {
  -webkit-transition-duration: 180ms;
          transition-duration: 180ms;
  -webkit-transform: translate3d(90.9466px, 0, 0);
          transform: translate3d(90.9466px, 0, 0);
}
.menu-open:checked ~ .menu-item:nth-child(4) {
  -webkit-transition-duration: 280ms;
          transition-duration: 280ms;
  -webkit-transform: translate3d(65.08361px, 60.99997px, 0);
          transform: translate3d(65.08361px, 60.99997px, 0);
}
.menu-open:checked ~ .menu-item:nth-child(5) {
  -webkit-transition-duration: 380ms;
          transition-duration: 380ms;
  -webkit-transform: translate3d(0px, 92.99997px, 0);
          transform: translate3d(0px, 92.99997px, 0);
}
.menu-open:checked ~ .menu-item:nth-child(6) {
  -webkit-transition-duration: 480ms;
          transition-duration: 480ms;
  -webkit-transform: translate3d(-65.08361px, 60.99997px, 0);
          transform: translate3d(-65.08361px, 60.99997px, 0);
}
 
body,html{
                height: 100%;
                margin: 0px;
}
#home,#news,#about,#contact,.galery-overlay, #actions{
                min-height:400px;
                height: 100%;
                width: 100%;
 
}
#home{
  background: url("media/sunkom.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#news{
  background: url("media/prazan.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
 
.kolac{
  background: url("media/orasima.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;}
 
#about{background-color: rgba(187,145,104,0.7);}
.pogon{
  position: relative;
  top: 40px;
  margin: 0 auto;
  width: 200px;
  height: 200px;
  border-radius:50%;
  background: url("media/peceni.jpg") no-repeat center center;
}
.vizija{
  position: relative;
  top: 40px;
  margin: 0 auto;
  width: 70%;
  font-size:1.5em;
}
 
 
#contact{
  background: #ffffff;
}
 
/*------------footer---------------*/
 
.footer-distributed{
  background-color: #292c2f;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: bold 16px sans-serif;
  padding: 55px 50px;
}
 
.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right{
  display: inline-block;
  vertical-align: top;
}
 
/* Footer left */
 
.footer-distributed .footer-left{
  width: 20%;
}
 
/* The company logo */
 
.footer-distributed>h3{
  color:  #ffffff;
  font: normal 36px 'Cookie', Georgia, Helvetica;
  margin: 0;
}
 
.footer-distributed>h3 span{
  color:  #5383d3;
}
 
/* Footer links */
 
.footer-distributed .footer-links{
  color:  #ffffff;
  margin: 20px 0 12px;
  padding: 0;
}
 
.footer-distributed .footer-links a{
  display:inline-block;
  line-height: 1.8;
  text-decoration: none;
  color:  inherit;
}
 
.footer-distributed .footer-company-name{
  color:  #8f9296;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}
 
/* Footer Center */
 
.footer-distributed{padding-top: 30px;}
 
.footer-distributed .footer-center{
  width: 35%;
}
 
.footer-distributed .footer-center i{
  background-color:  #33383b;
  color: #ffffff;
  font-size: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin: 10px 15px;
  vertical-align: middle;
}
 
.footer-distributed .footer-center i.fa-envelope{
  font-size: 17px;
  line-height: 38px;
}
 
.footer-distributed .footer-center p{
  display: inline-block;
  color: #ffffff;
  vertical-align: middle;
  margin:0;
  margin-top: 30px;
}
 
.footer-distributed .footer-center p span{
  display:block;
  font-weight: normal;
  font-size:14px;
  line-height:2;
}
 
.footer-distributed .footer-center p a{
  color:  #5383d3;
  text-decoration: none;;
}
 
 
/* Footer Right */
 
.footer-distributed .footer-right{
  width: 40%;
}
 
.footer-distributed .footer-company-about{
  padding-top: 30px;
  line-height: 20px;
  color:  #92999f;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}
 
.footer-distributed .footer-company-about span{
  display: block;
  color:  #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}
 
.footer-distributed .footer-icons{
  margin-top: 25px;
}
 
.footer-distributed .footer-icons a{
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  background-color:  #33383b;
  border-radius: 2px;
 
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  line-height: 35px;
 
  margin-right: 3px;
  margin-bottom: 5px;
}
 
/*------------mapa-----------*/
 
.mapa{
  border: 0px;
  width: 100%;
  height: 480px;
 
}
 
 
.overlay {
   background:transparent;
   position:relative;
   width:100%;
   height:480px; /* your iframe height */
   top:480px;  /* your iframe height */
   margin-top:-480px;  /* your iframe height */
}
 
 
@media (max-width: 1250px) {
 
p{
    font-size: 0.45em;
  }
 
  .vizija, .pogon{
    top:0px;
  }
  .vizija{width: 95%;}}
 
  @media all and (min-width: 880px) and (max-width: 1440px){
 
   h3{
  font-size: 3em;
  padding-top: 20px;
}
 
h1, h2{
  padding-top: 10px;
  font-size: 3em;
}
  .pic {display: none;}
 
 
  .pogon{width: 100px;
    height: 100px;}
 
  p{
    font-size: 0.8em;
  }
 
  .footer-distributed{
    padding-top: 250px;
  }
 
  .footer-distributed p{font-size: 1em;}
 
.pic {
  width: 150px;
  height: 150px;
  }
 
.col{
  margin: 1.5%;
  width: 30%;
}
 
.col ol{font-size: 0.8em; }
 
}
 
 
@media (max-width: 880px) {

.addit{
  max-height: 300px;
}

#myList {display: none;}

#slider-wrapper{
  display: none;
}

  h3{
  font-size: 3em;
  padding-top: 20px;
}
 
h1, h2{
  padding-top: 10px;
  font-size: 3em;
}
  .pic {display: none;}
 
  p{
    font-size: 0.8em;
  }
 
  .col{
  margin: 0.15%;
  width: 32.5%;
}
 
.footer-distributed{
  width: 100%;
    padding-top: 180px;
    font: bold 14px sans-serif;
  }
 
  footer{
    height: auto;
  }
 
  .footer-distributed .footer-left,
  .footer-distributed .footer-center,
  .footer-distributed .footer-right{
    display: block;
    width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }
 
  .footer-distributed .footer-center i{
    margin-left: 0;
  }
}
 
@media all and (min-width: 482px) and (max-width: 740px){
  .slogan{
  position: relative;
  top:60px;
}
  .logo{
  top:40px;
  }
.col aside{display: none;}
.pogon{display: none;}
p{font-size: 0.55em;}
.footer-distributed{
  padding-top: 400px;
}
 
}
 
 
 
@media (max-width: 481px){
 
  .pogon{display: none;}
 
  .logo{
  top:80px;
  }
 
  p{
    font-size: 0.6em;
  }
  .col{
    margin-top: 2px;
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
}
  .col p, aside{display: none;}
  .col h2{font-size: 1.5em;}
 
  h3{
  font-size: 3em;
  padding-top: 0px;
}
.slogan{
  position: relative;
  top:100px;
}
h1, h2{
  padding-top: 0px;
  font-size: 3em;
}
#box {
  padding: 5px;
  margin: 2px auto;
}
#box a{font-size: 0.5em;}
 
.footer-distributed p{font-size: 1em;}
.footer-distributed{
  padding-top: 380px;
}
 
}
 
/*----------gumb-------------*/
 
#box {
  padding: 20px;
  display: table;
  margin: 5px auto;
}
 
#container {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
 
/* butt */
 
.butt {
  font-family: "Helvetica Neue", Georgia, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #222;
  text-decoration: none;
  padding: 6px 12px;
  background: white;
  border: 1px solid #EEE; 
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
 
.butt:hover {
  cursor: pointer;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 5px #ccc;
}
 
.butt:active {
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 0 5px #ccc;
}
 
/*----------lista----------*/
 
.instructions {
  width: 70%;
  padding: 5px 5px;
  margin: 5px auto;
  font-style: italic;
  font-size: 1em;
}
.instructions ol {
  list-style: none;
  padding: 5px 5px;
  margin: 0px;
}
.instructions ol li {
  padding: 0px 5px 0px 10px;
}
.instructions ol li:before {
  display: inline-block;
  margin-left: -40px;
  padding-right: 10px;
  font-size: 1.4em;
}
.instructions ol li:last-child {
  padding-bottom: 0px;
}
.instructions ol li:nth-child(1) {
  color: #6E3402;
}
.instructions ol li:nth-child(1):before {
  content: "-";
}
.instructions ol li:nth-child(2) {
  color: #6E3402;
}
.instructions ol li:nth-child(2):before {
  content: "- ";
}
.instructions ol li:nth-child(3) {
  color: #6E3402;
}
.instructions ol li:nth-child(3):before {
  content: "- ";
}
.instructions ol li:nth-child(4) {
  color: #6E3402;
}
.instructions ol li:nth-child(4):before {
  content: "- ";
}

/*----------------galerija-------------*/
#slider-wrapper {
  width:900px;
  min-height: 600px;
  max-height: 800px;
  margin: 10px auto;
  position: relative;
  margin-bottom: 0px;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

#slider-wrapper img{width:900px;height: auto;}

#s1 {
  padding: 6px;
  background: #000000;
  position: absolute;
  left: 50%;
  bottom: 25px;
  margin-left: -36px;
  border-radius: 20px;
  opacity: 0.3;
  cursor: pointer;
  z-index: 999;
}

#s2 {
  padding: 6px;
  background: #000000;
  position: absolute;
  left: 50%;
  bottom: 25px;
  margin-left: -12px;
  border-radius: 20px;
  opacity: 0.3;
  cursor: pointer;
  z-index: 999;
}

#s3 {
  padding: 6px;
  background: #000000;
  position: absolute;
  left: 50%;
  bottom: 25px;
  margin-left: 12px;
  border-radius: 20px;
  opacity: 0.3;
  cursor: pointer;
  z-index: 999;
}

#s4 {
  padding: 6px;
  background: #000000;
  position: absolute;
  left: 50%;
  bottom: 25px;
  margin-left: 36px;
  border-radius: 20px;
  opacity: 0.3;
  cursor: pointer;
  z-index: 999;
}

#s1:hover,
#s2:hover,
#s3:hover,
#s4:hover {
  opacity: .50;
}

.inner-wrapper {
  width: 900px;
  min-height: 600px;
  max-height: 800px;
  position: absolute;
  top: 0;
  left: 0;
  margin-bottom: 0px;
  overflow: hidden;
}

.control {
  display: none;
}

#Slide1:checked ~ .overflow-wrapper {
  margin-left: 0%;
}

#Slide2:checked ~ .overflow-wrapper {
  margin-left: -100%;
}

#Slide3:checked ~ .overflow-wrapper {
  margin-left: -200%;
}

#Slide4:checked ~ .overflow-wrapper {
  margin-left: -300%;
}

#Slide1:checked + #s1 {
  opacity: 1;
}

#Slide2:checked + #s2 {
  opacity: 1;
}

#Slide3:checked + #s3 {
  opacity: 1;
}

#Slide4:checked + #s4 {
  opacity: 1;
}

.overflow-wrapper {
  width: 400%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow-y: hidden;
  z-index: 1;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.slide img {
  
  width: 100%;
  float: left;
}

/*---------------lista proizvoda--------------*/

.fifti{
  float: left;
  width: 49%;
}

.list ul, li{
  margin: 0;
  padding: 0;
  list-style: none;
}

.list a{
  text-decoration: none;
}

/*------------------ DropDown ---------------*/

#myList{
  padding: 0 10px;
  float: none;
  width:300px;
  margin:0px auto;
}

.list li{ 
  display: none;    
  position: relative;
}

.list a{
cursor:text;
  background-color: #f8f8f8;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #e2e2e2;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .4);
  color:#6E3402;
  display: block;
  padding: 15px;
  -webkit-transition: color .2s linear, padding .2s linear;
  -moz-transition: color .2s linear, padding .2s linear;
  -o-transition: color .2s linear, padding .2s linear;
  transition: color .2s linear, padding .2s linear;
}

.list a:hover{
  background-color: #f0f0f0;
  color: #6Ed40d;
  padding-left: 30px;
}

.list span{
  background-color: #f8f8f8;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #e2e2e2;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .4);
  color:#6Ed40d;
  cursor: pointer;
  display: block;
  padding: 15px;
  position: relative;
  font-weight: bold;
  padding-left: 15px !important;
}

.list span:after{
  content: "\25BC";
  position: absolute;
  right: 15px;
  top:15px;
}

.expand ul{
  height: auto;
}

.expand li{
  display: block;
  -webkit-animation: expandAll .2s ease both;
  -moz-animation: expandAll .2s ease both;
  -o-animation: expandAll .2s ease both;
  animation: expandAll .2s ease both;
  -webkit-animation-play-state: running;
  -moz-animation-play-state: running;
  -o-animation-play-state: running;
  animation-play-state: running;
  -webkit-transform-origin: 50% 0%;
  -moz-transform-origin: 50% 0%;
  -o-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
}

.expand span, span:hover{
  color: #6E340d;
}

.expand span:after{
  content: "\25B2";
  position: absolute;
  right: 15px;
  top:15px;
}

.collapse li{
  display: block;
  -webkit-animation: collapseAll .2s ease both;
  -moz-animation: collapseAll .2s ease both;
  -o-animation: collapseAll .2s ease both;
  animation: collapseAll .2s ease both;
  -webkit-animation-play-state: running;
  -moz-animation-play-state: running;
  -o-animation-play-state: running;
  animation-play-state: running;
  -webkit-transform-origin: 50% 0%;
  -moz-transform-origin: 50% 0%;
  -o-transform-origin: 50% 0%;
  transform-origin: 50% 0%;           
}

/*---------------Keyframes--------------------------*/ 

    @-webkit-keyframes collapseAll {
        0% { -webkit-transform: perspective(300px) rotateX(0deg); }
        100% { -webkit-transform: perspective(300px) rotateX(-90deg); }
    }

    @-webkit-keyframes expandAll {
        0% { -webkit-transform: perspective(300px) rotateX(-90deg); }
        100% { -webkit-transform: perspective(300px) rotateX(0deg); }
    }


    @-moz-keyframes collapseAll {
        0% { -moz-transform: perspective(300px) rotateX(0deg); }
        100% { -moz-transform: perspective(300px) rotateX(-90deg); }
    }

    @-moz-keyframes expandAll {
        0% { -moz-transform: perspective(300px) rotateX(-90deg); }
        100% { -moz-transform: perspective(300px) rotateX(0deg); }
    }

    @-o-keyframes collapseAll {
        0% { -o-transform: perspective(300px) rotateX(0deg); }
        100% { -o-transform: perspective(300px) rotateX(-90deg); }
    }

    @-o-keyframes expandAll {
        0% { -o-transform: perspective(300px) rotateX(-90deg); }
        100% { -o-transform: perspective(300px) rotateX(0deg); }
    }

    @keyframes collapseAll {
        0% { transform: perspective(300px) rotateX(0deg); }
        100% { transform: perspective(300px) rotateX(-90deg); }
    }

    @keyframes expandAll {
        0% { transform: perspective(300px) rotateX(-90deg); }
        100% { transform: perspective(300px) rotateX(0deg); }
    }



/*-------------priprema------------*/

.tab{
  padding-left: 10px;
  width: 350px;
  float: none;
  margin:0px auto;}

.top_tab{
  position: relative;
  background: #BB9168;
  padding: 10px 10px;
  text-align: center;
 }

.bot_tab{
  padding: 10px 5px 20px 5px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
}

.tab h4{
    color: #6E3402;
    font-size: 24px;
    text-align: center;
    font-weight: 500;
}

.tab ul {
    padding: 0px;
    display: table;
    margin: 0px auto;
}

.tab ul li {
    list-style: none;
    border-bottom: 1px solid #EAECEB;
    color: #6E3402;
    font-size: 1.1em;
    line-height: 42px;
}

.tab ul li:last-child {
    border: none;
}




.section{
  padding-top: 20px;
  width: 100%;
  min-height: 600px;
  height: auto;
  margin: 0 auto;
}

/*-----------akcije------------*/
#actions {
  height: 600px;
  width: 100%;
  margin: 0 auto;
}

#actions p{
  color: #6E3402;
  position: relative;
  top: -50px;
  -webkit-transition:1s ease;
  -moz-transition:1s ease;
  -o-transition:1s ease;
  transition:1s ease;
}

#actions:hover p{
  -webkit-transition:1s ease;
  -moz-transition:1s ease;
  -o-transition:1s ease;
  transition:1s ease;
  top: -150px;
}

#actions ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#actions ul li {
  float: left;
  margin: 0;
  padding: 0;
  width: 25%;
  overflow: hidden;
  
  -webkit-transition: width .5s ease;
  -moz-transition: width .5s ease;
  -o-transition: width .5s ease;
  transition: width .5s ease;
}

#actions ul li img {
  margin: 0;
  padding: 0;
}

#actions ul:hover li {
  width: 20%;
}
#actions ul:hover li:hover {
  width: 40%;