/*--------------------------------------------------------------------------
	1. Body
--------------------------------------------------------------------------*/
@import url(https://fonts.googleapis.com/css?family=Raleway:300,400,700);

html {
     overflow: -moz-scrollbars-vertical;
     overflow: scroll;
}

body {
  color: #111;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  -webkit-text-size-adjust: 100%;
}

.cvtext {
  font-size: 16px;
 
}


.subnav{
    float: right;
	padding-top: 30px;  
	font-family: 'Raleway', sans-serif;
	font-weight: 300; 
    font-size: 24px;
	position:relative;
    z-index:2;	
}




@media screen and (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 28px;
  }
  
  .subnav{
    float: none;
	padding-top: 10px;   
    font-size: 18px; 
	
	
}
  
}

/*--------------------------------------------------------------------------
	2. Typography
--------------------------------------------------------------------------*/

/* Headings */
h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
}

/* Links */
a,a:visited {
  color: #545454;
  text-decoration: none;
  outline: 0;
}

a:hover,a:focus {
  color: #2ed;
}

.select {
   	border-bottom: 1px solid #545454;
    padding-bottom: 4px;
}

p a,p a:visited {
  line-height: inherit;
}

/* Visibility */
.hide {
  display: none !important;
}

/* Selection Highlighted Text */
::selection {
  background: #2ed;
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: #2ed;
  color: #fff;
  text-shadow: none;
}

/* Formatting */
em,i,.italic {
  font-style: italic;
}

b,strong {
  font-weight: 700;
}

.underline {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid #2ed;
}

/* Colors */
.font-color-primary {
  color: #2ed;
}

.background-color-primary {
  background: #2ed;
}

.font-color-secondary {
  color: #a33;
}

.font-color-black {
  color: #000;
}

.font-color-white {
  color: #fff;
}

.background-color-white {
  background: #fff;
}

/*--------------------------------------------------------------------------
	3. Common
--------------------------------------------------------------------------*/
	
/* Responsive images */
img {
  max-width: 100%;
}

/* Used to remove whitespace below an image */
.remove-line-height {
  line-height: 0;
}

/* Vertical spacing */
.padding-vertical {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Used frequently to apply a light border on top */
.border-top {
  border-top: 1px solid #545454;
  padding-top: 30px;
}

/* Featured image */
.post img.featured {
  margin-bottom: 50px;
}

/* Buttons */
button,.button,a.button {
  color: #fff;
  background: #2ed;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 20px 25px 18px;
  border-bottom: 2px solid #1dc;
  cursor: pointer;
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

button.small,.button.small,a.button.small {
  font-size: 14px;
  line-height: 24px;
  padding: 16px 24px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

button.full,.button.full,a.button.full {
  display: block;
  width: 100%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  padding: 30px 40px 26px;
  border-bottom: 4px solid #1dc;
}

button:hover,.button:hover,a.button:hover {
  background: #12e5d3;
}

button.black,.button.black,a.button.black {
  color: #fff;
  background: #000;
  border-color: #111;
}

button.black:hover,.button.black:hover,a.button.black:hover {
  color: #2ed;
  background: #111;
}

/* Placeholder */
::-webkit-input-placeholder {
  color: #ddd;
}

::-moz-placeholder {
  color: #ddd;
}

:-ms-input-placeholder {
  color: #ddd;
}

input:-moz-placeholder {
  color: #ddd;
}

/* Input - submit */
input[type=submit] {
  border: none;
}

/* Required */
span.required {
  color: #2ed;
}

/* Page elements */
.page p.title-desc {
  color: #ddd;
  font-weight: 700;
  margin-top: 0;
}

.page p.page-desc {
  color: #222;
  font-size: 34px;
  line-height: 60px;
  font-weight: 300;
  margin-top: 30px;
  margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
  .page p.page-desc {
    font-size: 24px;
    line-height: 42px;
  }
}

@media screen and (max-width: 479px) {
  .page p.page-desc {
    font-size: 20px;
    line-height: 36px;
  }
}

.page p {
  margin-top: 30px;
}

/* Sidebar (sticky) */
.sidebar {
  padding-bottom: 0px;
}

.sidebar.sticked {
  background: #fff;
  display: none;
  padding: 0 20px 20px;
}

.sidebar.sticked h3.border-top {
  border-top: 0;
}

/* Page Navigation */
.nav-pages {
  font-size: 11px;
  margin-top: 30px;
}

.nav-pages a.link-prev,.nav-pages a.link-next {
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  padding: 25px 0;
  display: block;
  width: 50%;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-pages a.link-prev span,.nav-pages a.link-next span {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid #555;
}

.nav-pages a.link-prev div {
  padding-right: 33.33333333%;
}

@media screen and (min-width: 1300px) {
  .nav-pages a.link-prev div {
    padding-right: 50%;
  }
}

@media screen and (max-width: 959px) {
  .nav-pages a.link-prev div {
    padding-right: 0;
  }
}

.nav-pages a.link-next div {
  padding-left: 33.33333333%;
}

@media screen and (min-width: 1300px) {
  .nav-pages a.link-next div {
    padding-left: 50%;
  }
}

@media screen and (max-width: 959px) {
  .nav-pages a.link-next div {
    padding-left: 0;
  }
}

.nav-pages a:hover {
  color: #2ed;
}

.nav-pages a:hover span {
  border-bottom-color: #2ed;
}

.container .nav-pages a.link-prev,.container .nav-pages a.link-next {
  padding: 20px 0;
}

.container .nav-pages a.link-prev {
  text-align: left;
}

.container .nav-pages a.link-next {
  text-align: right;
}

/*---------------------------------------------------
			3.2 Header
---------------------------------------------------*/

.logo-wrap {
  padding-top: 34px;
  padding-bottom: 26px;
}

#header h1 {
  font-size: 24px;
  font-weight: 700;
}

#header p.site-desc {
  color: #ccc;
  font-size: 12px;
  line-height: 19px;
}

/*---------------------------------------------------
			3.3 Home
---------------------------------------------------*/
	
/* Recent Posts */
.box-recent h3 {
  font-size: 16px;
  line-height: 26px;
  padding: 30px 0 20px;
}

.box-recent h3 a {
  color: #ddd;
}

.box-recent a.permalink {
  display: block;
  border-top: 1px solid #eee;
}

.box-recent a.permalink h4 {
  color: #444;
  font-size: 22px;
  line-height: 36px;
  font-weight: 400;
  margin-bottom: 5px;
}

.box-recent a.permalink:hover h4 {
  color: #2ed;
}

.box-recent a.permalink p.meta {
  color: #2ed;
}

.box-recent a.permalink p.meta span {
  color: #ccc;
}

.box-recent a.permalink:hover {
  color: #2ed;
  border-top: 1px solid #2ed;
}

.box-recent a.permalink:hover p.meta span {
  color: #2ed;
}

.box-recent .item {
  padding: 20px 0;
}

@media screen and (max-width: 767px) {
  .box-recent a.permalink h4 {
    font-size: 16px;
    line-height: 26px;
  }
}

/*---------------------------------------------------
			3.5 Works
---------------------------------------------------*/

#works .item {
  margin-bottom: 40px;
}

#works .item h3 {
  color: #555;
  font-size: 12px;
  line-height: 22px;
  font-weight: 700;
}

#works a.permalink:hover h3 {
  color: #111;
}

#works .item span.category {
  color: #ccc;
  display: block;
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 10px;
}

#works a.permalink:hover span.category {
  color: #2ed;
}

#works .item p.excerpt {
  font-size: 13px;
  line-height: 18px;
  margin-top: 10px;
}

/* Stackgrid */
#works.stackgrid .item {
  width: 25%;
  float: left;
  margin-bottom: 0;
  position: relative;
}

#works.stackgrid .item img {
  width: 100%;
}

@media screen and (min-width: 1600px) {
  #works.stackgrid .item {
    width: 20%;
  }
}

@media screen and (min-width: 960px) and (max-width: 1599px) {
  #works.stackgrid .item {
    width: 25%;
  }
}

@media screen and (min-width: 768px) and (max-width: 959px) {
  #works.stackgrid .item {
    width: 33.333333%;
  }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
  #works.stackgrid .item {
    width: 50%;
  }
}

@media screen and (max-width: 479px) {
  #works.stackgrid .item {
    width: 100%;
  }
}

#works.stackgrid .item .box-desc {
  padding: 15px 30px;
  text-align: center;
}

#works.stackgrid.images-only {
/* Navigation */
  margin-top: 0;
}

#works.stackgrid.images-only .item .box-desc {
  display: none;
  text-align: left;
  padding: 25px 30px;
  background: url(../images/alpha/bg_alpha60.png);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#works.stackgrid.images-only .item .box-desc h3 {
  color: #fff;
}

#works.stackgrid.images-only .nav-pages {
  margin-top: 0;
}

#works.stackgrid.images-only .nav-pages a.link-prev,#works.stackgrid.images-only .nav-pages a.link-next {
  border-top: none;
}

#works.stackgrid.images-only a.link-prev,#works.stackgrid.images-only a.link-next {
  border-top: none;
}

#works.stackgrid .item .box-desc span.category {
  margin-bottom: 2px;
}

/* Single */
#works.single {
}

#works.single img {
  margin-bottom: 30px;
}

#works.single iframe {
  padding-bottom: 30px;
}

#works.single .box-info {
  margin-bottom: 40px;
  font-size: 14px;
  line-height: 25px;
}

#works.single .box-info p.project-desc {
  color: #ddd;
  font-weight: 700;
  margin-top: 0;
}

#works.single .box-info h4 {
  font-size: 11px;
  line-height: 21px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

#works.single .box-info h4.border-top {
  padding-top: 20px;
}

#works.single .box-info p {
  margin-top: 15px;
}

@media screen and (max-width: 767px) {
  #works.single .box-info p {
    font-size: 12px;
    line-height: 24px;
  }
}

/* BLockquote */
#archive .entry blockquote {
  margin-bottom: 15px;
}

#archive .entry blockquote p {
  font-size: 36px;
  line-height: 60px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 10px;
}

#archive .entry blockquote footer {
  color: #2ed;
  font-size: 12px;
  line-height: 22px;
  font-style: italic;
  display: inline-block;
  margin-top: 10px;
  padding-top: 4px;
  border-top: 1px solid #2ed;
}

@media screen and (max-width: 959px) {
  #archive .entry blockquote p {
    font-size: 22px;
    line-height: 40px;
  }
}

/*---------------------------------------------------
			3.9 Footer
---------------------------------------------------*/

#footer {
  font-size: 13px;
  line-height: 24px;
  height: 120px;
}

.move-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #343434;
  margin-top: -23px;
  opacity: .95;
  position: relative;
  float: right;
}

.move-top a {
  text-align: center;
  font-size: 36px;
  width: 100%;
  display: block;
  color: #fff;
}

.move-top:hover {
  opacity: 1;
}


/*---------------------------------------------------
			 Preloader
---------------------------------------------------*/
.preloader{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #f2f2f2;
    z-index: 99999;
}

.load {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin: auto;
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    -webkit-animation: typing 1s linear infinite alternate;
    -moz-animation: Typing 1s linear infinite alternate;
    animation: typing 1s linear infinite alternate;
    position: relative;
    left: -12px;
}

/*Typing Loader*/
.typing_loader{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    -webkit-animation: typing 1s linear infinite alternate;
       -moz-animation: Typing 1s linear infinite alternate;
            animation: typing 1s linear infinite alternate;
    margin: 46px auto; /* Not necessary- its only for layouting*/  
    position: relative;
    left: -12px;
}

@-webkit-keyframes typing{
    0%{
        background-color: rgba(129,212,250, 1);
        box-shadow: 12px 0px 0px 0px rgba(129,212,250,0.4), 
                    24px 0px 0px 0px rgba(129,212,250,0.4);
      }
    25%{ 
        background-color: rgba(129,212,250, 0.6);
        box-shadow: 12px 0px 0px 0px rgba(129,212,250,4), 
                    24px 0px 0px 0px rgba(129,212,250,0.4);
    }
    75%{ background-color: rgba(255,255,255, 0.6);
        box-shadow: 12px 0px 0px 0px rgba(129,212,250,0.4), 
                    24px 0px 0px 0px rgba(129,212,250,1);
      }
}
