/*******************************/
/*********   Common   **********/
/*******************************/

body {
    background-color: #f1f1f1 !important;
}

.entry-title.post-title {
	display: none;
}

#header {
    padding-top: 2em;
}

#header .site-name {
	padding-bottom: 10px;
}

#header .site-name a {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-weight: 300;
}

#header .site-description {
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-weight: 300;
    font-size: 1em;
    margin: 0 1px 20px;
    color: #666;
}

@media screen and (min-width: 651px) {
	#header .site-name {
		padding-top: 0px;
	}
}

@media screen and (max-width: 650px) {
	div#logo {
		margin-top: -22px;
		text-align: left;
		float: left;
	}
	
	div.top-widget {
		text-align: right;
	}
	
}

@media screen and (max-width: 345px) {
	div#logo {
		max-width: 150px;
	}
}

@media screen and (max-width: 650px) {
	.main-nav {
		min-height: 31px;
	}
}

div#home_widget_1 {
	display: none;
}

div#home_widget_2 {
	display: none;
}

div#home_widget_3 {
	display: none;
}

img#wpstats {
	display:none;
}

.animated {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@media screen and (max-width:450px) {
	body #container {
		padding: 0;
	}
	
	body #header {
		padding: 0 25px;
	}
	
	body #wrapper {
		padding-left: 8px;
		padding-right: 8px;
		border-radius: 0;
	}
	
	body #menu-footer-menu {
		display: none;
	}
}

li > ul > li {
  background: url(images/hyphen.png) no-repeat left 10px;
  padding: 0px 0px 0px 14px;

  list-style-type: none;
  list-style: none;
  margin: 0;
}

@media screen and (max-width: 480px) {
	.featured-title img {
		max-width: 50px;
	}
}

@media screen and (max-width: 320px) {
	.featured-title img {
		max-width: 42px;
	}
}

div#content,
div#content-full {
	margin-top: 14px;
	margin-bottom: 0;
}

/*******************************/
/********   qTranslate   *******/
/*******************************/

.qtranxs_widget .language-chooser {
    margin-top: 5px;
}
    
@media screen and (max-width: 650px) {
	.qtranxs_widget .language-chooser {
		position: absolute;
		right: 0;
	}
}

.qtranxs_widget .language-chooser li {
    border-right: black 1px solid;
    padding-right: 5px;
    margin-right: 0;
}

.qtranxs_widget .language-chooser li:last-child {
    border-right: none;
}

.qtranxs_widget .language-chooser a span {
    text-transform: uppercase;
    color:#333;
}

.qtranxs_widget .language-chooser .active a span {
	font-weight:600;
}

/*******************************/
/**********   Tags   ***********/
/*******************************/

.tag-cloud {
	margin-top:30px;
}

.tag-cloud a {
	color:#4d6984;
}

.tag-cloud a.tag-link-selected {
	color:#0067CF;
	font-weight:bold;
}

.img_arrow_right {
	display: inline-block;
	height:15px;
	width:9px;
	background-image:url('images/arrow-right.png');
}

/*******************************/
/*******   Note style   ********/
/*******************************/

.page_summary {
	position: relative;
	background-color:#F6F6F6;
	padding:10px;
	margin-bottom:20px;
}

.page_summary .img_arrow_right {
	height: 16px;
	width: 16px;
	vertical-align: text-bottom;
	margin-left: 11px;
	background-color: #555555;
	background-repeat: no-repeat no-repeat;
	background-position: 6px 3px;
	background-size: 6px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

.page_summary a {
	color:#555555;
}

.page_summary a h5 {
	margin-bottom:0;
}

.page_summary a p {
	margin: 0.4em 0;
}

.page_summary > p { /* added by wordpress, useless  */ 
	margin: 0.8em 0;
}

.page_summary .read-more {
	display:none;
}

.page_summary:before { /* top right corner */
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	border-width: 0 16px 16px 0;
	border-style: solid;
	border-color: #CCC #fff;
}

/*******************************/
/*******   Tag button   ********/
/*******************************/

.post-entry .tags a {
	height: 22px;
	line-height: 22px;
	min-width: 24px;
	padding: 0px 8px;
	margin: 0px 6px 8px 0px;
	white-space: nowrap;
	float: left;
}

.post-entry .tags a {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #f5f5f5) );
	background:-moz-linear-gradient( center top, #f9f9f9 5%, #f5f5f5 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f5f5f5');
	background-color:#f9f9f9;

	-webkit-border-radius: 15px 0px 15px 15px;
	-moz-border-radius: 15px 0px 15px 15px;
	border-radius: 15px 0px 15px 15px;
	
	border:1px solid #dcdcdc;
	color:#666666;
	font-family:Arial;
	font-size:13px;
	font-weight:500;
	font-style:normal;
	text-align:center;
	text-decoration:none;
	text-indent:0;
}

.post-entry .tags a:hover {
	background:#f9f9f9;
}

.post-entry .tags a:active {
	position:relative;
	top:1px;
}

/*******************************/
/*****   Project titles   ******/
/*******************************/

div.ios_app_item {
	float: left;
	margin-right: 20px;
	width: 50%;
	height: 70px;
	margin-top: 0;
	margin-bottom: 12px;
}

div.ios_app_item a {
	color: #555555;
	height: 100%;
	display: block;
	position: relative;
}

div.ios_app_item img, div.ios_app_item img.alignnone {
	margin-right: 4px;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	max-width: 70px;
	max-height: 70px;
/*	float:left; */
}

div.ios_app_item .ios_app_text {
	position: absolute;
	margin-top: 2px;
}

div.ios_app_item .ios_app_text > span {
	display: block;
}

div.ios_app_item .ios_app_text .ios_app_title {
	font-weight: bold;
}

div.ios_app_item .ios_app_text .ios_app_descr_1, div.ios_app_item .ios_app_text .ios_app_descr_2 {
	font-size: 13px;
	line-height: 17px;
}

div.ios_app_item.ios_title {
	float:none;
}

div.ios_app_item.ios_title img {
	margin-top: 0;
	margin-bottom: 0;
}

div.ios_app_item.ios_title strong {
	display: table-cell;
	vertical-align: middle;
}

@media screen and (max-width: 915px) and (min-width: 700px) {
	div.ios_app_item {
		width: 45%;
	}
}

@media screen and (max-width: 700px) {
	div.ios_app_item {
		float: none;
		margin-right: 0;
		width: 100%;
	}
}

@media screen and (max-width: 650px) {
	div.ios_app_item {
		height: 60px;
	}
	
	div.ios_app_item .ios_app_text .ios_app_descr_1, div.ios_app_item .ios_app_text .ios_app_descr_2 {
		font-size: 12px;
		line-height: 15px;
	}
	
	div.ios_app_item img {
		max-width: 60px;
		max-height: 60px;
		margin-top: 0;
		margin-bottom: 0;
	}
}

/*******************************/
/*********   Contact   *********/
/*******************************/

img.img_contact_picture {
	max-width: 28%;
}

.printable_cv {
	display: block;
}

.printable_cv img {
	margin-left: 4px;
}

/*******************************/
/*****   iOS & Softwares   *****/
/*******************************/

.page-id-20 #wrapper,
.page-id-92 #wrapper {
	padding: 0;
}

.page-id-20 .ios_apps_all > div,
.page-id-92 .ios_apps_all > div {
	padding: 20px;
}

.page-id-20 .ios_apps_all_odd,
.page-id-92 .ios_apps_all_odd {
	background-color: #FAFAFA;
    border-top: #D9D9D9 1px solid;
    border-bottom: #D9D9D9 1px solid;
}

.page-id-20 .bx-wrapper,
.page-id-92 .bx-wrapper {
	margin-bottom: 40px;
}

/*******************************/
/********   Carousels   ********/
/*******************************/

.carousel_container {
    text-align:center;
}

.carousel_container .carousel {
	display:inline-block;
	
	list-style-type:none;
    white-space:nowrap;
    overflow-x:auto;
    
	margin-right: 0;
	padding-left: 0;
    
    -moz-box-shadow: 0 0 5px #ccc;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    border: 5px solid #fff;
    background: #fff;
    
}

.carousel_container .carousel .carousel_item {
	display:inline-block;
}

.carousel a img.alignnone.size-thumbnail {
	border: none;
	margin: 0;
}

@media screen and (max-width: 700px) {
	.carousel_container > .carousel > .carousel_item img {
    	width:100px;
    	height:100px;
	}
}

/*******************************/
/******   GitHub Repos   *******/
/*******************************/

.github_repos {
	margin: 0;
	padding:0;
	
	display:inline-block;
	
	list-style-type:none;
    
	position:relative;
}

.github_repo {
	/* when using inline-block some spacing appears between items that isn't supposed to exist... */
	display:inline-table;
	position:relative;
	
	width:48%;
	width:calc(50% - 8px);
	
	min-height:136px;
	
    border: 1px #ddd solid;
    border-radius: 3px;
    padding: 0 16px;
    
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
    margin-bottom:15px;
}

@media screen and (min-width: 651px) {
	.github_repo:nth-child(2n-1) {
    	margin-right:16px;
	}
}

@media screen and (max-width: 650px) {
	.github_repo {
		width:100%;
		min-height:50px;
	}
}

.github_repo a {
	display:block;
	margin-top:16px;
	color: #396cac;
}

.github_repo p {
	display:block;
	margin: 6px 0 12px;
	font-size: 96%;
	min-height:16px;
}

.github_repo span {
	font-size: 96%;
    position: absolute;
    bottom: 6px;
}

.github_repo img {
	margin-right:4px;
	margin-bottom:4px;
	opacity: 0.5;
}
/*******************************/

#menu-header-menu li.menu-item.jqhover {
	-webkit-box-shadow: inset 0px 0px 8px 2px rgba(255, 255, 255, 0.75);
	-moz-box-shadow:    inset 0px 0px 8px 2px rgba(255, 255, 255, 0.75);
	box-shadow: 		inset 0px 0px 8px 2px rgba(255, 255, 255, 0.75);
}

.nivo-lightbox-theme-default .nivo-lightbox-content .nivo-lightbox-image img {
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow:    none;
	box-shadow:         none;
}


.nivo-lightbox-theme-default .nivo-lightbox-wrap .nivo-lightbox-title-wrap {
	left: -10%;
	right: -10%;
	width: 120%;
}

/*******************************/
@media screen and (max-width: 650px) {
	div.main-nav ul.menu {
		border: 3px solid #4C4C4C;
		border-top: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}

/*******************************/
a img.alignnone.size-thumbnail {
	border: 1px #C0C0C0 solid;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

div.single_line_height {
	min-height: 20px;
	max-height: 20px;
}

/*******************************/
div.col_half {
	width: 47%;
	margin-right: 10px;
	float: left;
}

@media screen and (max-width: 820px) {
	div.col_half {
		width: auto;
		margin-right: 0;
		float: none;
	}
}

/*******************************/
div.captions_same_line {
	float: left;
	max-width: 180px;
	margin-right: 20px;
}

@media screen and (max-width: 950px) and (min-width:820px) {
	div.captions_same_line {
		max-width: 150px;
		margin-right: 20px;
	}
}

div.captions_same_line .wp-caption.alignleft,
div.captions_same_line .wp-caption.alignnone {
	margin-bottom: 10px;
}

@media screen and (max-width: 500px) {
	div.captions_same_line {
		margin-right: 2px;
		max-width: 44%;
	}
	
	div.captions_same_line .wp-caption.alignleft, div.captions_same_line .wp-caption.alignnone {
		padding: 1px;
	}
}
