@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,500,600,700,800,900,100,200);

body{
  background: #e7e7e7;
  font-family: 'Roboto', sans-serif;
  font-size:14px;
  font-weight: 400;
  overflow-y:scroll;
  -webkit-font-smoothing: antialiased;
}

::selection {
		background: #000;
		color: #fff;
		text-shadow: none;
	}
	
	::-moz-selection {
		background: #000;
		color: #fff;
		text-shadow: none;
	}

p{
  font-family: 'Roboto', sans-serif;
  font-size:15px;
  font-weight: 400;
  line-height:22px;
  letter-spacing:1px;
}

i{
  font-family: 'Roboto', sans-serif;
  font-size:14px;
  font-weight: 400;
  line-height:17px;
  letter-spacing:1px;
}

h2{
  font-family: 'Roboto', sans-serif;
  font-size:20px;
  font-weight: 600;
}

a{
  text-decoration:none;
  -webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-ms-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in; 
	border-bottom:1px solid #c0c0c0;
}

a:focus {
  outline:none;
}

strong{
  font-weight:700;

}

/* PRELOADER -----------------------------------------------------------------------------------*/

.preloader{
  position:fixed;
  top:0;
  width:100%;
  height:100%;
  background:white;
  z-index:99;
}
 
.preloader .item{
  position:absolute;
  width:50px;
  height:50px;
  left:50%;
  top:50%;
  margin-left:-25px;
  margin-top:-25px;
} 

.spinner {
  width: 40px;
  height: 40px;
  margin: 0px auto;
  background-color: #333;
  border-radius: 100%;  
  -webkit-animation: scaleout 1.0s infinite ease-in-out;
  animation: scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes scaleout {
  0% { -webkit-transform: scale(0.0) }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}

@keyframes scaleout {
  0% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 100% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}

#connect {
  transform: translateY(4px);
}

/* NAVIGATION OPACITY ------------------------------------------------------------------------*/

.opacity-nav{
  position:fixed;
  display:none;
  width:100%;
  height:100%;
  top:0;
  z-index:998;
  background:rgba(0,0,0,0.80);
}

ul.menu-fullscreen{
  width: 100%;
  top: 50%;
  position: absolute;
  height: 280px;
  margin-top: -140px;
}

ul.menu-fullscreen li{
  font-size:30px;
  text-align:center;
  line-height:50px;
  font-weight:700;
}

ul.menu-fullscreen li > a{
  color:#999999;
  border:0;
}

ul.menu-fullscreen li > a:hover{
  color:#ffffff;
}


#full{
  width:1140px;
  position: relative;
  top:30px;
  margin:0 auto;
  z-index: 996;
}


#fullscreen{
  display:none;
  position:absolute;
  top:0;
  width:100%;
  margin:0 auto;
  height:80px;
  z-index: 997;
}

/* HEADER ----------------------------------------------------------------------------------*/

.menu-index{
  position: fixed;
  right: 5%;
  top: 30px;
  width: 55px;
  height: 55px;
  z-index: 999;
  padding:0;
  align-content: center;
  -webkit-border-radius: 2px #000;
  -moz-border-radius: 2px #000;
  border-radius:20%;
  border: 2px #000;
  -webkit-background: linear-gradient(to bottom, #000, #6666);
  -moz-background: linear-gradient(to bottom, #000, #6666);
  background: linear-gradient(to bottom, #000, #6666);
  -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
  -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
  box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
  cursor:pointer;
}

.menu-index i{
  position: relative;
  margin: 15px 17px !important;
  color:white;
  padding-right:30px !important;
}

.menu-index i:hover{
  color:#c3c3c3;
}

#button {
  font-size:24px;
}

#buttons {
  font-size:26px;
}

header a{
  color:#000000;
}

ul.header-nav{
  width:60%;
  float:left;
}

header .logo > a{
  font-size:16px;
  font-weight:600;
  float:left;
  line-height:16px;
  padding-right:20px;
  border-bottom: 4px solid #d0d0d0;
}

header .logo > a:hover{
  color:#c3c3c3;
}

header li{
  text-transform:uppercase;
  list-style-type: none; margin: 0 auto; float: left;
}

header li > a{
  font-size:13px;
  color:#c3c3c3;
  padding-right:25px;
  padding-left:25px;
  font-weight:800;
  line-height:30px;
  display:inline-block;  
  border-bottom:0;
}

header li > a:hover{
  color:#000000;
}

header li > a #active{
  color:#000000;
}

header li ul{
  overflow: hidden; display: none; background: #f9f9f9; z-index:20;
}

header li ul li a{
  line-height:30px;
  padding-left:30px; 
  width:260px;
}

header li:hover ul{
  position: absolute; padding: 0; display: block; width: 260px;
}

/* breadcrumb -------------------------------------------------------------------------------------*/

.kroshki {
  position:relative;
  width: 1140px;
  margin: 98px auto 0;
  line-height:25px;
  font-weight: 600;
  z-index: 999;
}

.kroshki_spot {
  display: inline-block;
  border-bottom: 0;
  text-transform:uppercase;
  color: #c0c0c0;
}

.kroshki_spot + .kroshki_spot {
  padding-left: 0.1rem;
}

.kroshki_spot + .kroshki_spot::before {
  padding-right: 0.3rem;
  color: #000;
  content: "/";
}

.kroshki_spot:hover {
  color: #000;
}

.kroshki_spot.active {
  color: #000;
}

.avatar {
  float: left;
  margin: 0 15px 0 0;
}

/* CONTENT -------------------------------------------------------------------------------------*/

.one-column{
  width:40%;
  position:relative;
  float:left;
}

.two-column{
  width:60%;
  position:relative;
  float:left;
}

.one-column h2{
  width:70% !important;
}
.one-column p{
  width:70% !important;
}

.two-column p{
  width:100% !important;
}

.two-column a{
  color: #888888 !important;
}

.two-column a:hover{
  color: #000000 !important;
}

.clear{
  clear:both;
}

.content{
  position:relative;
  width:1140px;
  margin:50px auto;
}


.content .text-intro{
  width: 1140px;
  margin-top: 40px;
  margin: 40px auto 0;
}

.content .text-intro h1{
  font-size:35px;
  width:60%;
  color:#555555;
  font-weight:900;
  line-height:40px;
}

.content .text-intro h2{
  font-size:20px;
  color:#444444;
  margin-top:20px;
  font-weight:600;
  line-height:24px;
  letter-spacing:1px;
  width:60%;
}

.content .text-intro p{
  font-size:18px;
  width:100%;
  color:#888888;
  margin-top:30px;
  font-weight:400;
  line-height:24px;
  letter-spacing:1px;
  width:40%;
}

        .typed-cursor{
            opacity: 1;
            font-weight: 900;
            -webkit-animation: blink 0.7s infinite;
            -moz-animation: blink 0.7s infinite;
            -ms-animation: blink 0.7s infinite;
            -o-animation: blink 0.7s infinite;
            animation: blink 0.7s infinite;
        }
        @-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }
        @-webkit-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }
        @-moz-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }
        @-ms-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }
        @-o-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }

/* HOME SIDEBAR -----------------------------------------------------------------------------------*/

.home-sidebar{
  top:0;
  position:absolute;
  width:33.3333%;
  right:0;
  height:100%;
  background:#f4f4f4;
  z-index:9;
  overflow:hidden;
  background-size:100%;
}

.parallax{
  position:absolute;
}

.parallax-option{
  position:absolute; width:100%; height:100%;
}

#zaplatka{
  position:absolute; 
  bottom: 0;
  top: 93%;
  height: 7%;
  width:100%;
  background-color: #e7e7e7;
}

/* PORTFOLIO GRID-----------------------------------------------*/

.prev-next{
  width:100%;
  max-width:1170px;
  margin:0 auto;
  padding-top:50px;
}

.prev-next a{
  color:black;
  font-weight:500;
  padding-bottom: 15px;
}

.prev-next a:hover{
  color:#888888;
  border-bottom:1px solid black;
}

.prev-button{
  width:50%;
  position:relative;
  float:left;
  text-align:left;
}

.next-button{
  width:50%;
  position:relative;
  float:left;
  text-align:right;
}


#ax-content{width:100%;}

.portfolio-grid{
  width:1170px;
  position:relative;
  margin: 30px auto;
  overflow:hidden;
}

#portfolio-sidebar{
  width: 780px !important;
  padding-right: 390px;

}

li.grid-item{
  width:360px;
  position:relative;
  float:left;
  padding:15px;
}

.grid-hover{
  position: absolute;
  width:360px;
  height: 100%;
  top:0;
  background: #e9e9e9;
  z-index: 2;
  opacity: 0;
  -webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-ms-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in; 
}

.grid-hover:hover{
  opacity: 0.8;
}

.grid-hover h2{
  font-size:30px !important;
  top:15%;
  left:30px;
  position:absolute;
  color:#444444;
  font-weight:900;
  line-height:40px;
}

.grid-hover h3{
  font-size:18px !important;
  top:45%;
  left:30px;
  position:absolute;
  color:#000000;
  letter-spacing:1px;
  font-weight:700;
  line-height:20px;
}

.grid-hover p{
  font-size:15px !important;
  bottom:15%;
  left:30px;
  position:absolute;
  color:#222222;
  letter-spacing:1px;
  font-weight:600;
  line-height:16px;
}

li.grid-item img{
  width:360px;
}


/* Modal Dialog---------------------------------------------------------------*/

  .modalDialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    display: none;
    pointer-events: none;
  }

  .modalDialog:target {
    display: block;
    pointer-events: auto;
  }

  .modalDialog > div {
    width: 80%;
    height:110px;
    position: relative;
    margin:auto;
    top: 33%;
    padding: 20px 10px 20px 10px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);
  }

  .close {
    background: #606061;
    color: #FFFFFF;
    line-height: 40px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -20px;
    width: 40px;
    font-size: 40px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #606061;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
  }

  .close:hover { background: #fff; }

/* FOOTER---------------------------------------------------------------*/

footer{
  background: #f1f1f1;
  box-shadow: 0px -8px 19px #333333;
  width:100%;
  margin-top:100px;
  height:170px;
  overflow:hidden;
  position:relative;
  z-index:15;
}

.footer-margin{
  width:100%;
  margin: 15px auto;
  padding-top: 20px;
}

.communication{
  color: #686868;
  letter-spacing: 1px;
  font-size: 13px;
  width: 100%;
  margin: 40px auto;
  text-align:center;
  float: left;
}

.communication a{
  font-size:20px;
  color:black;
  padding: 0px;
  border: 0;
}

.communication a:hover{
  color:#c3c3c3;
}

/* TOP - DOWN --------------------------------------------------------*/

#bt, #bd {
  position: fixed;
  left: 5%;
  transform: rotate(90deg);
  z-index:20;
}

#bt a, #bd a{
  font-size:70px;
  color: white;
  border-bottom:0px;
  -webkit-text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
  -moz-text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
  text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
  opacity: 0.7;
}

#bt a:hover, #bd a:hover {
  opacity: 1;
}

#bt {
  top:19%;
}

#bd {
  top:64%;
}