/*
Theme Name: PIN Theme
Theme URI: 
Author: CR&D
Author URI: http://creativerandd.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@font-face {
    font-family: 'gothamlight';
    src: url('library/fonts/gotham-light-webfont.eot');
    src: url('library/fonts/gotham-light-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('library/fonts/gotham-light-webfont.html') format('woff2'),
         url('library/fonts/gotham-light-webfont.woff') format('woff'),
         url('library/fonts/gotham-light-webfont.ttf') format('truetype'),
         url('library/fonts/gotham-light-webfont.svg#gothamlight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'gothambook';
    src: url('library/fonts/gotham-book-webfont.eot');
    src: url('library/fonts/gotham-book-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('library/fonts/gotham-book-webfont.html') format('woff2'),
         url('library/fonts/gotham-book-webfont.woff') format('woff'),
         url('library/fonts/gotham-book-webfont.ttf') format('truetype'),
         url('library/fonts/gotham-book-webfont.svg#gothambook') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'gothammedium';
    src: url('library/fonts/gotham-medium-webfont.eot');
    src: url('library/fonts/gotham-medium-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('library/fonts/gotham-medium-webfont.html') format('woff2'),
         url('library/fonts/gotham-medium-webfont.woff') format('woff'),
         url('library/fonts/gotham-medium-webfont.ttf') format('truetype'),
         url('library/fonts/gotham-medium-webfont.svg#gothammedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

/**
 * Reset
**/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
	max-width: 100%;
}

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body,
button,
input,
select,
textarea {
	color: #2b2b2b;
	font-family: Lato, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

body {
	background: #f5f5f5;
}

a {
	color: #24890d;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a:active,
a:hover {
	color: #41a62a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 700;
	margin: 36px 0 12px;
}

h1 {
	font-size: 26px;
	line-height: 1.3846153846;
}

h2 {
	font-size: 24px;
	line-height: 1;
}

h3 {
	font-size: 22px;
	line-height: 1.0909090909;
}

h4 {
	font-size: 20px;
	line-height: 1.2;
}

h5 {
	font-size: 18px;
	line-height: 1.3333333333;
}

h6 {
	font-size: 16px;
	line-height: 1.5;
}

address {
	font-style: italic;
	margin-bottom: 24px;
}

abbr[title] {
	border-bottom: 1px dotted #2b2b2b;
	cursor: help;
}

b,
strong {
	font-weight: 700;
}

cite,
dfn,
em,
i {
	font-style: italic;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

p {
	margin-bottom: 24px;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: monospace, serif;
	font-size: 15px;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	line-height: 1.6;
}

pre {
	border: 1px solid rgba(0, 0, 0, 0.1);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	margin-bottom: 24px;
	max-width: 100%;
	overflow: auto;
	padding: 12px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

blockquote {
	color: #767676;
	font-size: 19px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.2631578947;
	margin-bottom: 24px;
}

blockquote cite,
blockquote small {
	color: #2b2b2b;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

big {
	font-size: 125%;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

dl {
	margin-bottom: 24px;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 24px;
}

ul,
ol {
	list-style: none;
	margin: 0 0 24px 20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0 0 0 20px;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

figure {
	margin: 0;
}

fieldset {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 24px;
	padding: 11px 12px 0;
}

legend {
	white-space: normal;
}

button,
input,
select,
textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

input,
textarea {
	background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table,
th,
td {
	border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin-bottom: 24px;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: bold;
}

td {
	border-width: 0 1px 1px 0;
}

del {
	color: #767676;
}

hr {
	background-color: rgba(0, 0, 0, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 23px;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {
	background: rgb(210, 237, 255);
	color: #000;
	text-shadow: none;
}

::-moz-selection {
	background: rgb(210, 237, 255);
	color: #000;
	text-shadow: none;
}


/************************
* generic tags
*************************/

html {
	padding: 0 10px;
}

body {
	background-color: #FFF;
  font-size: 14px;
  font-family: 'gothammedium', Helvetica, Arial, sans-serif;
}

a:hover {
	text-decoration: underline;
}

p {
	font-size: 14px !important;
  font-family: 'Arimo', Helvetica, Arial, sans-serif;
	font-weight: 400;
  color: #000;
  margin-bottom: 10px !important;
}

p:empty {
	margin:0;
	height: 0;
}

/************************
* HEADER
*************************/

header {
	margin-bottom: 15px;
	font-family: 'gothammedium', Helvetica, Arial, sans-serif;
	font-size: 14px;
}

#main-logo {
	left: 0;
	float: left;
	padding-left: 0;
	height: 22px;
}

h1 {
	font-family: 'gothammedium', Helvetica, Arial, sans-serif !important;
	font-size: 14px !important;
	margin: 3px 0 !important;
}

a.home-link:hover {
	text-decoration: none;
}

#main-logo>img {
	width: 100%;
	height: 100%;
}

ul.top-nav {
	text-align: right;
	margin: 0!important;
	font-size: 14px !important;
}

ul.top-nav li {
	display: inline-block;
	font-size: 14px;
	margin-left: 5px;
}

ul.top-nav li.active {
	text-decoration: underline;
}

ul.top-nav li a {
	width: 100%;
	display: block;
}

ul.title-area {
	display: none;
	list-style: none;
	width: 10%;
}

@media only screen and (min-width : 641px) {
	ul.top-nav {
		display: block !important;
	}
}


@media only screen and (min-width : 320px) and (max-width : 640px) {

	body {
		margin-top: 2% !important;
	}

	header {
		margin-bottom: 10px;
	}

	#main-logo {
		text-align: center;
	}

	h1 {
		font-size: 13px !important;
	}
	
	ul.top-nav {
		text-align: left;
		margin-left: 5px;
		padding-top: 15px;
		/* display: none; */
	}

	ul.top-nav li {
		font-size: 13px;
		display: block;
		margin-left: 0;
		text-align: center;
		background-color: #FAFAFA;
		margin-bottom: 5px;
		height: 30px;
		color: #FFF;
		padding-top: 4px;
		cursor: pointer;
	}

	ul.top-nav li:hover, ul.top-nav li.active {
		background-color: rgb(210, 237, 255);
		text-decoration: none;
	}

	ul.top-nav li a {
		color: #000;
	}

	ul.top-nav li a:hover {
		text-decoration: none;
	}

	ul.title-area {
		cursor: pointer;
		display: block;
		height: 15px;
		width: 100%;
		padding: 7px 0;
		margin: 0;
		float: left;
		left: 1%;
	}

	.menu-tab {
		display: block;
		height: 2px;
		width: 21px;
		margin-bottom: 3px;
		background-color: #000;
	}

	.slide-title {
		font-size: 12px;
		margin-bottom: 5px;
	}
}

@media only screen and (min-device-width : 320px) and (max-device-width : 640px) {

	#main-logo {
		left: -3px;
	}
}


/************************
* HOMEPAGE
*************************/

.content {
	height: auto;
	font-family: 'Arimo', Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 14px;
}

#home-slideshow-wrapper {
 	height: 100%;
	max-height: 540px;
	position: relative;
}


.home-slideshow-img-container {
	list-style: none;
	position: absolute;
	top: 0;
}

.home-slideshow-img-container img {
	margin-bottom: 10px;
	position: relative;
}

.slide-title {
	background-color: #FFF;
}

.slideshow-nav {
   width: 100%;
   height: auto;
   top: 45%;
   position: absolute;
}

.slideshow-arrow-prev {
	cursor: pointer;
	height: 80px;
	width: 23px;
	position: absolute;
	top: 50%;
	margin-top: -40px;
	margin-left: 2%;
	z-index: 999;
	background-image: url('library/images/slideshow-arrows-sprite.png');
}

.slideshow-arrow-next {
	cursor: pointer;
	height: 80px;
	width: 23px;
	position: absolute;
	top: 50%;
	margin-top: -40px;
	margin-right: 2%;
	right: 5px;
	z-index: 999;
	background-image: url('library/images/slideshow-arrows-sprite.png');
	background-position:  24px 0;
}

.arrow-nav {
	transform: scale(0.9);
	-ms-transform: scale(0.9);
	-webkit-transform: scale(0.9);
	opacity: 0.75;
}

.arrow-nav:hover {
	transform: scale(1);
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	opacity: 1;
}

@media only screen and (min-width : 320px) and (max-width : 640px) {
	
	.home-slideshow-img-container img {
		margin-bottom: 0;
		position: relative;
	}

	.home-slideshow-img-container {
		margin-bottom: 5px;
	}

	.slideshow-arrow-next, .slideshow-arrow-prev {
		-ms-transform: scale(0.6);
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
	}
}


/************************
* PROJECTS
*************************/

.thumb-wrapper {
	margin-bottom: 5px;
}

.thumb-wrapper img {
	width: 100%;
	height: auto;
}

h2.project-title {
	font-size: 12px;
	margin-bottom: 0;
	font-family: 'Arimo', Helvetica, Arial, sans-serif;
	font-weight: 400;
}

.single-project-wrapper  {
	margin-bottom: 5px;
}

.project-location, .project-category {
	margin-top: -5px;
}

#project-info {
	text-transform: uppercase;
	padding-left: 0;
	font-family: 'Arimo', Helvetica, Arial, sans-serif;
	font-weight: 400;
}

#project-info div {
	padding-left: 0;
}

.display-all {
	position: relative;
	display: block !important;
}

@media only screen and (min-width : 320px) and (max-width : 640px) {
	#project-description {
		margin-top: 10px;
	}

	#project-info, #project-description {
		display: none;
	}

}


/************************
* ABOUT
*************************/

@media screen and (min-width: 40.063em) {
	#about-text-english {
		padding-left: 0px;
		padding-right: 20px;
	}

	#about-text-turkish {
		padding-right: 0px;
		padding-left: 20px;
	}
}


/************************
* CONTACT
*************************/



/************************
* FOOTER
*************************/

footer {
	display: inline-block;
	height: 60px;
}
