/*
Theme Name: Grid Based Responsive WordPress Theme
Theme URI: http://www.dessign.net/gridbasedtheme
Description: Grid Based Responsive WordPress Theme is stylish, customizable, simple, and readable. Perfect for any creative, architect or graphic designer.
Version: 2.0.1
Author: Marios Lublinski
Author URI: http://www.dessign.net
Tags: 5 column theme, clean, portfolio
*/
/* =WordPress Core
-------------------------------------------------------------- */
@import url(http://fonts.googleapis.com/css?family=Cutive+Mono);
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,700,400italic,700italic);
@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700);

.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    margin: 0;
    padding: 0 4px 5px;
}
#wpadminbar { display: none; }
/* Global */
body, div { margin: 0; padding: 0; }
body { font-size: 14px; font-family: 'Lato', sans-serif; font-weight: 400; color: #222; line-height: 140%; }
input { font-family: 'Lato', sans-serif; height:30px; }
a {color: #333; text-decoration: none; transition: background 0.3s ease 0s, color 0.3s ease 0s; }
a:hover { color: #666; text-decoration: none; }
h1,h2,h3,h4,h5,p { margin: 10px 0; }
img { border: none; }
p { line-height: 140%; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.container { width: 1180px; margin: 0 auto; }
#infscr-loading { DISPLAY: NONE !important; visibility: hidden !important; } /* hide infinite scroll loading image */
::selection {
	background: #6bd3ba; 
	}
::-moz-selection {
	background: #6bd3ba; 
}
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}
/* Header */
/*#header { padding: 20px 0; }*/
#header { position: fixed; top: 0; left: 0; width: 100%; border-bottom: 1px solid #f9f9f9; }
/*body.home #header { position: static; width: auto; }*/
.slicknav_menu { display: none; }
.sy-pager { display: none !important; }
.logo_cont { float: left; max-width: 250px; margin-right: 25px; }
.full_logo_cont { padding: 0px 0 35px;  text-align: center; float: left; }
.full_logo_cont img,
.logo_cont img { max-width: 100%; height: auto; }
.header_right_text { float: right; width: 250px; padding-bottom: 10px; font-size: 14px; font-family: 'Lato', sans-serif; font-weight: 300;}
.header_spacing { display: block; }
/*body.home .header_spacing { display: none; }*/
/*body.home .footer_copyright_cont { display: none; }*/
#header { background: #fff; /*position: fixed; top: 0; left: 0;*/ padding: 15px 0 0; width: 100%; z-index: 9999; }
/*body.home #header { background: none; }*/
.logo { /*float: left; margin-right: 55px;*/ }
.header_bottom { padding: 5px 0; }
.header_menu { float: left; margin-top: 0px; max-width: 700px; }
.header_menu ul { list-style-type: none; margin: 0; padding: 0; }
.header_menu ul li { float: left; margin-right: 10px; font-size: 14px; font-family: 'Lato', sans-serif; font-weight: 400; position: relative; padding-bottom: 8px; margin-bottom: 5px; letter-spacing: 2px; text-transform: uppercase; }
.header_menu ul > li:after { content:"|"; position: absolute; top: 5px; right: -5px; }
.header_menu ul > li:last-child:after { content:""; position: absolute; top: 5px; right: -5px; }
.header_menu ul li:last-child { margin-right: 0; }
.header_menu ul > li ul li:after { content: "";}
.header_menu ul li a { color: #333; display: block; background-color: #fff; padding: 5px 15px; /*border-bottom: 3px solid #fff;*/ }
.header_menu ul li a:hover,
.header_menu ul li.current-menu-item a,
.header_menu ul li.current_page_item a { color: #999; text-decoration: none; /*border-bottom: 3px solid #000;*/ }
.header_menu ul li ul { position: absolute; top: 32px; left: 0; z-index: 100; display: none; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.header_menu ul li ul li { float: none; margin: 0; width: 160px; border-top: 1px solid #f3f3f3; background-color: #fff; padding: 0; font-size: 11px; font-family: 'Lato', sans-serif; font-weight: 400; }
.header_menu ul li ul li:first-child { border-top: none; }
.header_menu ul li ul li a { padding: 8px 10px; display: block; border-bottom: none; }
.header_menu ul li ul li a:hover { color: #ccc; text-decoration: none; border: none; }
#gallery::-webkit-scrollbar { display: none !important; }
#gallery {  }
.header_social { float: right; text-align: center; /*padding-bottom: 15px;*/ max-width: 293px; }
.header_social img { display: inline-block; margin: 0 2px; }
.header_search { float: right; width: 200px; position: relative; margin-left: 15px; }
.header_search input[type=text] { height: 28px; box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box; width: 100%; background-color: #fff; -moz-border-radius: 4px;
border-radius: 4px; border: 1px solid #eee; }
.header_search_icon { position: absolute; top: 8px; right: 8px; }
/* Content */
#home_inside_cont { padding: 0 10px; }
#home_cont {  padding-top: 25px }
#content { padding-top: 25px; }
.home_left { float: left; width: 770px; }
.home_post_box { float: left; width: 273px; margin-right: 29px; margin-bottom: 20px; font-size: 13px; font-family: 'Lato', sans-serif; font-weight: 400; color: #666; }
.home_post_box h3 { font-size: 18px; font-family: 'Lato', sans-serif; font-weight: 300; text-transform: uppercase; }
.home_post_box img,
.home_post_box iframe { width: 273px; height: 380px; transition:all 0.3s ease-in-out; }
.home_post_box_last { margin-right: 0; }
.home_post_box img:hover { opacity:0.8; filter:alpha(opacity=80); }
.home_post_box.clear,
.archive_cont .home_post_box.clear { width: auto; height: auto; margin: 0; padding: 0; }
.archive_cont .home_post_box { margin-right: 50px; }
.archive_cont .home_post_box_last { margin-right: 0; }
.home_blog_bottom_box_cont { width: 960px; margin: 25px auto; }
.home_blog_bottom_box { float: left; width: 290px; margin-right: 45px; }
.home_blog_bottom_box h3 { font-size: 17px; font-weight: normal; }
.home_blog_bottom_box_last { margin-right: 0; }
#stalac_cont { text-align: center; }
.stalac_box { max-width: 300px; /*margin: 0 10px; padding: 10px 0;*/ text-align: left; }
.stalac_box img { max-width: 100%; height: auto; }
.stalac_box h3 { font-size: 15px; font-family: 'Lato', sans-serif; font-weight: 400; }
.stalac_box_img { position: relative; display: block;  }
.stalac_box_img img { display: block;  }
.stalac_box iframe { max-width: 100%; height: 250px;  }
/* body.home .stalac_box iframe { height: 169px !important; } */
.stalac_box_hover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color:rgba(0, 0, 0, 0.801961); display: none; }
.stalac_box_hover_inside_tbl { display: table; height: 100%; width: 100%; }
.stalac_box_hover_inside_row { display: table-row; }
.stalac_box_hover_inside_cell { display: table-cell; color: #fff; vertical-align: bottom; padding: 15px 8px; font-size: 14px; }
.home_latest_cont { padding-bottom: 5px; position: relative; }
.home_featured_prev { background: url('images/home-featured-prev.png') no-repeat; width: 23px; height: 42px; position: absolute; left: -32px; top: 50%; margin-top: -42px; cursor: pointer; }
.home_featured_next { background: url('images/home-featured-next.png') no-repeat; width: 23px; height: 42px; position: absolute; right: -32px; top: 50%; margin-top: -42px; cursor: pointer; }
.home_latest_box { float: left; /*width: 573px;*/ width: 568px; font-size: 16px; margin-bottom: 10px; }
.home_latest_box img,
.home_latest_box iframe { max-width: 100%; width: 568px; height: 283px; }
.home_latest_box_last { float: right; }
.home_blog_box { font-size: 14px; margin-bottom: 20px; margin-right: 8px; width: 388px; float: left; }
.home_blog_box img,
.home_blog_box iframe { max-width: 100%; width: 388px; height: 368px; }
.home_blog_box img:hover { opacity:0.8; filter:alpha(opacity=80); }
.home_blog_box h3 { font-size: 18px; margin-top: 0; }
.home_blog_box .p_date { font-size: 12px; }
.home_blog_box_content { padding: 0 0px 0 100px; }
.home_blog_box_last { margin-right: 0; }
.home_blog_box.clear { width: auto !important; float: none !important; margin: 0 !important; }
/*.home_blog_box .read_more { float: right; display: block; padding: 5px 10px; color: #000; text-decoration: none; border: 1px solid #ccc; }*/
.archive_title { margin-bottom: 20px; font-size: 23px; }
.archive_title { border-left: 10px solid #000; padding-left: 10px; text-transform: uppercase; }
.archive_box { margin-bottom: 30px; margin-right: 21px; font-size: 13px; width: 379px; float: left; position: relative; }
.archive_box img,
.archive_box iframe { max-width: 100%; width: 379px; height: 254px; }
.archive_box h3 { font-weight: normal; font-size: 25px; margin-top: 0; }
.archive_box h3 a { text-decoration: none; }
.archive_box h3 a:hover { text-decoration: underline; }
.archive_box.clear,
.home_featured_post.clear { margin: 0; padding: 0; float: none; height: 0; width: 0; }
.archive_box_last { margin-right: 0; }
.archive_box_hover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('images/trans-back.png') repeat; display: none; }
.archive_box_tbl { display: table; width: 100%; height: 100%; }
.archive_box_tcell { display: table-cell; text-align: center; vertical-align: middle; color: #fff; padding: 0 25px; line-height: 19px; }
.archive_box_media { position: relative; }
.archive_box_media img { display: block; }
.sy-caption-wrap .sy-caption { display: none !important; }
#single_cont { }
.single_full_cont { }
.single_left { float: left; width: 830px; font-size: 17px; font-family: 'Lato', sans-serif; font-weight: 300; letter-spacing: 1px; }
.single_left img { max-width: 100%; height: auto; }
.single_left p { margin-bottom: 15px; }
.single_left a { font-size: 17px; font-family: 'Lato', sans-serif; font-weight: 300; letter-spacing: 1px; text-decoration: none;
    border-bottom:  transition:all 0.3s ease-in-out; }
.single_left a:hover { font-size: 17px; font-family: 'Lato', sans-serif; font-weight: 300; letter-spacing: 1px; border-bottom-color: #fff; transition:all 0.3s ease-in-out; }
.single_full { float: none; width: 900px ; margin: 0 auto; position: relative; }
h1.single_title { font-size: 25px; font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: 2px; margin: 0 0 20px;  padding-right: 110px; }
.single_inside_content img { max-width: 100%; height: auto; }
#commentform input[type=submit] { background-color: #161616; color: #fff; border: 1px solid #6E6E6E; padding: 3px 5px; }
.next_prev_cont { padding: 25px 0; }
.next_prev_cont .left { float: left; width: 45%; }
.next_prev_cont .left a { display: block; background: url('images/post_prev.png') no-repeat; background-position: top left; padding-left: 25px; min-height: 30px; text-decoration: none;}
.next_prev_cont .right { float: right; width: 45%; text-align: right; }
.next_prev_cont .right a { display: block; background: url('images/post_next.png') no-repeat; background-position: top right; padding-right: 25px;  min-height: 30px; text-decoration: none;}
.next_prev_cont_top_right {  padding: 0; position: absolute; top: 0; right: 0; border-bottom-color: #fff; }
.next_prev_cont_top_right .left { float: left; width: auto; }
.next_prev_cont_top_right .left a { display: block; background: url('images/new-prev.png') no-repeat; background-position: top left; padding-left: 0px; min-height: 0px; width: 30px; height: 30px;  border-bottom-color: #fff; }
.next_prev_cont_top_right .right { float: right; width: auto; margin-left: 10px; border-bottom-color: #fff; }
.next_prev_cont_top_right .right a { display: block; background: url('images/new-next.png') no-repeat; background-position: top right; padding-right: 0px;  min-height: 0px; width: 30px; height: 30px; border-bottom-color: #fff; }
/* Sidebar */
#sidebar { float: right; width: 300px; }
.side_box { margin-bottom: 25px; }
h3.side_title { margin: 0 0 15px; font-size: 17px; font-weight: normal; }
.side_box ul { list-style-type: none; margin: 0; padding: 0; }
.side_box ul li { margin-bottom: 8px; }
.t1_search_cont input[type=text], .t1_search_cont input[type=submit] { box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box; height: 24px; font-family: 'Source Sans Pro', sans-serif, arial; }
.t1_search_cont input[type=text] { width: 180px; }
.t1_search_cont input[type=submit] { border: none; background-color: #252628; color: #90939C; width: 80px; }
/* Footer */
#footer { padding: 0px 0 0px;  margin-top: 25px; }
.footer_box_col { float: left; width: 362px; margin-right: 46px; }
.footer_box { margin: 25px 0; text-align: center; }
.footer_box_col_last { margin-right: 0; }
.footer_copyright_cont { /*padding-bottom: 25px; padding-top: 10px; */ margin-top: 35px; padding-bottom: 15px; text-align: center; }
.footer_copyright { padding: 20px 0 20px; text-align: right; font-size: 14px; text-align: center; }
.footer_box ul { list-style-type: none; margin: 0; padding: 0; }
.footer_box ul li { margin-bottom: 8px; }
.nocomments{display:none;}
a {
    transition: 0.2s all;
    text-decoration: none;
    color: #4bcfef;
}

/*extra*/
.about-hero .hero-text-bubble { max-width: 200px; }
.about-hero .hero-image { padding-left: 40px; padding-top: 30px; }

.portfolio-post-list li .portfolio-button-container { padding: 0 30px 30px; }
.portfolio-post-list li .post-meta { margin-bottom: 10px; }
.portfolio-post-list li:not(.post-list-item-full) .post-link { padding-bottom: 1.25em; }
.portfolio-post-list li.post-list-item-full .post-link { -webkit-justify-content: space-between; justify-content: space-between; }
@media screen and (min-width: 960px) { .portfolio-post-list li.post-list-item-full .portfolio-thumbnail-container, .portfolio-post-list li.post-list-item-full .portfolio-content-container { width: 100%; } }
@media screen and (max-width: 959px) { .portfolio-post-list li.post-list-item-full .portfolio-thumbnail-container { -webkit-order: 0; order: 0; }
  .portfolio-post-list li.post-list-item-full .portfolio-content-container { -webkit-order: 1; order: 1; } }
.portfolio-post-list .portfolio-thumbnail { max-width: 100%; margin: 0 auto; display: block; }
.portfolio-post-list .portfolio-thumbnail-container { overflow: hidden; max-height: 300px; }
.portfolio-post-list .portfolio-content-container { padding: 1.875em; box-sizing: border-box; }

.portfolio-hero .hero-text-bubble { max-width: 130px; }
.portfolio-hero .hero-drawing { max-height: 300px; }
.portfolio-hero .hero-image { padding-left: 50px; padding-top: 30px; }

.post-portfolio .post-header h1 { color: #FFFFFF; text-shadow: -3px 3px 0 #EF4B6D; }
.post-portfolio .post-header .post-meta { color: #FFFFFF; }
.post-portfolio .post-header .post-header-info { position: absolute; bottom: 0; padding: 0 0 20px 20px; }

.post-blog .post-header { border-bottom: 1px dotted #FACAD5; padding-bottom: 10px; }

.blog-hero .hero-text-bubble { max-width: 110px; }
.blog-hero .hero-drawing { max-height: 300px; }
.blog-hero .hero-image { padding-left: 60px; padding-top: 30px; }

.back-link-container { max-width: 800px; margin: 0 auto; padding-top: 30px; }

.post { max-width: 800px; margin: 0 auto; }
.post blockquote { padding: 0 0 0 1em; border-left: 5px solid #facad5; font-weight: lighter; margin: 0 0 20px 0; }
.post blockquote p { padding-bottom: 0; }
.post blockquote strong { font-weight: 400; }

.post-meta { color: #999999; }

.post-header { margin-bottom: 30px; position: relative; }
.post-header h1 { margin: 0 0 .25em; }
.post-header .back-link-container { position: absolute; top: 0; z-index: 2; }
.post-header .post-header-image-container { position: relative; overflow: hidden; }
@media screen and (max-width: 640px) { .post-header .post-header-image-container { max-height: 400px; } }
@media screen and (min-width: 641px) { .post-header .post-header-image-container { max-height: 550px; } }
.post-header .post-header-image-container img { display: block; margin: 0 auto; border: 0; width: 100%; }
.post-header .post-header-image-container:before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.5); }

.post-content { font-size: 18px; }
.post-content p { line-height: 1.75em; padding: 0; margin: 1.5em 0; }
.post-content h2 { font-size: 1.5em; }
.post-content h3 { font-size: 1.25em; }
.post-content h4 { font-size: 1em; color: #999999; }
.post-content h4 + p { margin-top: .5em; }
.post-content ul li + li, .post-content ol li + li { margin-top: 1em; }
.post-content ul li p, .post-content ol li p { margin: 0; padding: 0; }
.post-content img + em { font-size: .8em; color: #999999; display: block; text-align: center; }

.fillintheblank { padding: 1em; border: 1px solid #ebebeb; background: #f3f3f3; font-size: 1em; margin: 0 auto 20px; }
.fillintheblank p { margin: 0; padding: 0; }
.fillintheblank *[contenteditable="true"] { border-bottom: 1px solid #FACAD5; }
.fillintheblank *[contenteditable="true"]:hover { background: #cccccc; color: #FACAD5; border-bottom-color: #FACAD5; }
.fillintheblank *[contenteditable="true"]:focus { outline: none; background: #FFFFFF; color: #f3f3f3; }

.post-portfolio { padding-top: 0; }
.post-portfolio img { border: 1px solid #ebebeb; }

.post-footer { border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; color: #999999; font-weight: bold; }
.portfoliocontainerleft {
    float: left;
   
    width: 48%;
}
.portfoliocontainerright {
    float: right;
 width: 48%;
.clear{clear:both;}

.view-more-link-container {
    margin-top: 30px;
    display: block;
    text-align: center;
    clear: both;
}

.forward-button:hover, .view-more-link-container a:hover {
    background: #9bcbfd;
    color: #000000;
    text-decoration: none;
}
.forward-button, .view-more-link-container a {
    background: #000000;
    color: #FFFFFF;
    display: inline-block;
    font-family: "Quicksand", "Arial Bold", Sans-serif;
    font-size: 16px;
    padding: 20px 20px 20px 30px;
    vertical-align: middle;
}
.skills-list {
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-top: 40px;
	    list-style: none;
}

@media screen and (min-width: 769px).skills-list .skills-list-4 {
    width: 30%;}
@media screen and (max-width: 640px), (min-width: 769px).skills-list li {text-align: center;}
.content-wrapper h3 {
    color: #666666;
    font-size: 1.5em;
}
.skills-list p {
    font-size: 1.15em;
    margin-top: .25em;
}
.single_left p {
    margin-bottom: 15px;
}
 p {
    margin: 1em 0 0;
    padding: 0 0 1em;
    line-height: 1.5em;
}

.hero .hero-image {
    position: relative;
    box-sizing: border-box;
    text-align: right;
    display: inline-block;
    width: 22%;
	vertical-align: top;
}
.hero-content {
    width: 64%;
    display: inline-block;
    margin: 20px;
}
.hero h1 {
    font-family: "Quicksand", "Arial Bold", Sans-serif;
    font-size: 2.5em;
    line-height: 1.25em;
    font-weight: bold;
}



.content-block {
    padding: 3.75em 0;
    border-top: 1px dotted #FACAD5;
}

.content-block h2 {
    text-align: center;
    margin-top: 0;
    padding-bottom: 20px;
	    font-size: 2em;
    font-weight: lighter;
}