/*
	Theme Name: Karin Miller
	Theme URI: karenmiller.co.za
	Description: Karin Miller Theme
	Version: 1.0.0
	Author: Vedran Bejatovic (@gtis)
	Author URI: http://www.gtis.co.za
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

.blast {
  display: inline-block;
  opacity: 0;
}
/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: 300 15px/1.4 "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	color:#6d6e71;
	overflow-x: hidden; 
	background: #fff;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#6d6e71;
	text-decoration:none !important;
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
	color: #6D6E71 !important;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

h1 a:hover { text-decoration: none; }

.fixedsticky {
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -ms-sticky;
	position: -o-sticky;
	position: sticky;
}
/* When position: sticky is supported but native behavior is ignored */
.fixedsticky-withoutfixedfixed .fixedsticky-off,
.fixed-supported .fixedsticky-off {
	position: static;
}
.fixedsticky-withoutfixedfixed .fixedsticky-on,
.fixed-supported .fixedsticky-on {
	position: fixed;
}
.fixedsticky-dummy {
	display: none;
}
.fixedsticky-on + .fixedsticky-dummy {
	display: block;
}

.fixedsticky { top: 0; }

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	padding: 45px 45px 0 45px;
	margin:0 auto;
	position:relative;
}
/* header */
.header {
	margin-bottom: 30px;
}
.header-fixed { position: fixed; }

.social { text-align: right; width: 100%; padding-right: 39px; line-height: 45px; position: fixed; background: #fff; z-index: 1000; }
/* logo */
.logo {
	width: 96px;
	height: 126px;
	background: url(img/logo.png) center center no-repeat;
	dsiplay: block; 
}
body.single .logo {
	background: url(img/logo-single.png) center center no-repeat;
}
body.archive .logo {
	background: url(img/logo-archives.png) center center no-repeat;
}
body.work .logo {
	background: url(img/logo-work.png) center center no-repeat;
}
body.about-and-contact .logo {
	background: url(img/logo-about.png) center center no-repeat;
}
.logo-img {
}
/* nav */
ul.menu {
	list-style: none;
	padding-left: 0px; 	
	font-size: 15px;
	margin-top: 30px; 
	margin-bottom: 0;
}
ul.menu a { text-decoration: none; font-weight: 500; display: block; }
ul.projectmenu a { width: 90%; }
ul.menu a:hover { color: #7fb3bf !important; }
ul.menu li.current_page_item > a, ul.menu li.current-menu-item > a, ul.menu li.current_page_ancestor > a, ul.menu li.current a, ul.menu li.selected a {  color: #7fb3bf; } 
li.archive-menu ul.sub-menu { display: none; list-style: none; padding: 10px 0 0 0;}
ul li.recent { color: #999; margin-bottom: 10px;  }
body.archive li.archive-menu ul.sub-menu, body.error404 li.archive-menu ul.sub-menu { display: block; list-style: none; padding: 10px 0 0 0;}
/* sidebar */
.sidebar {
	padding-left: 0px;
}
/* footer */
.footer {
	text-align: right; padding: 30px 0; 
	font-size: 12px;
}
.footer a { color: #7FB3BF; }
.home .footer { display: none; }

.sidebar-widget p {  color: #6d6e71; font-size: 14px !important; margin-bottom: 15px; }
.sidebar-widget > div { padding-bottom: 40px; }
.sidebar-widget h3 { font-size: 20px; font-weight: 600; color: #6d6e71; margin-top: 0 !important; }
.sidebar-widget ul { list-style: none; padding-left: 0; }
.sidebar-widget ul li a { color: #6d6e71; font-size: 14px; }
/*------------------------------------*\
    PAGES
\*------------------------------------*/
.top { width: 100%; height: 100%; position: fixed; background: rgba(255,255,255,0.7); z-index: 100;  }
.main-image { width: 100%; position: relative; margin-bottom: 15px; overflow: hidden; display: none; background-size: cover; }
.contact .main-image  { margin-bottom: 0; }
.main-image img { width: 100%; }
.main-image-title { width: 300px; background: rgba(255,255,255,0.8); position: absolute; bottom: 0; left: 50%; margin-left: -150px; padding: 30px 20px; text-align: center; color: #414042; opacity: 0; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; }
.main-image:hover .main-image-title { opacity: 1; }
.main-image h1 { font-size: 23pt !important; margin-bottom: 10px; }
.main-image .year { font-size: 16px; color: #6d6e71; }
.owl-carousel { padding: 0 0px 0 0px; overflow: hidden; margin-left: 40px; margin-right: 0; width: auto !important; }
.single .main-image, .padding-left  { padding: 0 0px 0 40px; }
.left { background: url(img/left.png) center center no-repeat; width: 11px; height: 21px; display: block; position: absolute; top: 50%; left: 23px; margin-top: -46px; cursor: pointer; text-indent: -9999px; display: none;  padding: 10px;transition: all 0.8s ease; -webkit-transition: all 0.8s ease; z-index: 1000; }
.left:hover, .left2:hover { background: url(img/left2.png) center center no-repeat; }
.right { background: url(img/right.png) center center no-repeat;position: absolute; top: 50%; right: -17px; width: 11px; height: 21px; margin-top: -46px; display: block; cursor: pointer; text-indent: -9999px; display: none; padding: 10px; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; z-index: 1000; }
.left2 { background: url(img/left.png) center center no-repeat; width: 11px; height: 21px; display: block; cursor: pointer; display: inline-block; margin-right: 30px; text-indent: -9999px; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; }
.right2 { background: url(img/right.png) center center no-repeat;  width: 11px; height: 21px; display: block; cursor: pointer; display: inline-block; text-indent: -9999px; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; }
.down { width: 100%; height: 40px; display: block; margin: 0 auto; text-align: center; background: url(img/down.png) center 28px no-repeat; font-size: 14px; color: #6d6e71; cursor: pointer; display: none; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; }
a .down { color: #6d6e71; }
.back { cursor: pointer; margin-top: -5px;  }
.back:hover { color: #7FB3BF; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; }

.left:hover, .left2:hover { background: url(img/left2.png) center center no-repeat; }
.right:hover, .right2:hover { background: url(img/right2.png) center center no-repeat; }
a .down:hover, .down:hover { background: url(img/down2.png) center 28px no-repeat; color: #7FB3BF;}

.totop { position: fixed; bottom: 0: right: 0; width: 30px; height: 30px; display: block; background: url(img/totop.png) 0 0 no-repeat; bottom: 0; right: 0; cursor: pointer; display: none; }

.content2 { padding-top: 0px;  }
.image-preview { position: relative; margin-bottom: 80px; overflow: hidden; -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
  -o-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0); }
.image-preview img { width: 100%; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
  -o-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0); }
 .section { -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
  -o-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);}
img.other {  width: 100%; background: #fff !important; }
.image-preview:hover .top-image-preview { opacity: 1; }
.image-preview:hover img { transform: scale(1.1); }
.top-image-preview { position: absolute; display: block; background: rgba(255,255,255,0.7); top: 0; left: 0; height: 100%; width: 100%; text-align: center; opacity: 0; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; z-index: 10; }
.image-center { display: block; top: 40%; width: 400px; text-align: center; left: 50%; position: absolute; margin-left: -200px;  }
.image-center h1 { font-size: 23px; margin-bottom: 5px; font-weight: 500; color: #414042; }
.image-center .year { color: #6d6e71; font-size: 16px; }
.share { margin-top: 20px; display: block; margin-bottom: 20px;  }
.share img { width: 79px; }
.contact .share { margin-top: 0; }

.description { font-size: 14px; color: #6d6e71; padding-left: 80px; padding-right: 90px; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); position: fixed; margin-bottom: 50px; }
.page .description { padding-left: 0px; width: 450px;}
.home .description { padding-left: 100px; padding-right: 90px; width: auto; display: block;  }
.page-template-template-archive-php .description { padding-left: 50px; }
.description h1 { font-size: 30pt; color: #414042; margin-top: -5px; }
.description p { margin-bottom: 20px; overflow: hidden;  }
.description .left2, .description .right2 { margin-top: 20px; }
.description .share { margin-left: -6px; }
.desc-wrap { position: absolute; max-width: 100%; }
.fixed { position: fixed; padding-bottom: 30px;   }
.item { position: relative; }


.social i, .share i { font-size: 18px; padding: 6px; color: #999; transition: all 0.5s ease; -webkit-transition: all 0.5s ease; }
.social i { color: #ccc; }
.social a:hover .fa-facebook { color: #3b5998; }
.social a:hover .fa-twitter { color: #55acee; }
.social a:hover .fa-pinterest-p { color: #cc2127; }
.social a:hover .fa-instagram { color: #3f729b; }


.share a:hover .fa-facebook { color: #3b5998; }
.share a:hover .fa-twitter { color: #55acee; }
.share a:hover .fa-pinterest-p { color: #cc2127; }
.share a:hover .fa-instagram { color: #3f729b; }

.work-item { margin-bottom: 30px; overflow: hidden; display: inline-block; padding: 0 20px; position: relative; }
.work-item-title { display: block; padding-top: 10px; padding-bottom: 0px; font-size: 14px; color: #6d6e71; }
.work-item-desc {  display: block; color: #939598; font-size: 14px; }
.work-item-top { position: absolute; display: block; background: rgba(255,255,255,0.7) url(img/plus.png) center center no-repeat; top: 0; left: 0; height: 100%; width: 100%; text-align: center; opacity: 0; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; z-index: 10; }
.work-item-image { position: relative; margin: 3px; }
.work-item-image:hover .work-item-top { opacity: 1; }

.lazy-hidden, .lazy{opacity:0}.lazy-loaded{-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-ms-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s;opacity:1}

.contact h1 { font-size: 35px; font-weight: 500; color: #414042; padding-top: 30px; padding-bottom: 20px; }
.contact strong {color: #414042; }

#click-menu { right: 45px !important;  }
#click-menu #RMX { font-size: 60px !important; }
.slicknav_nav li { padding: 5px; }
.slicknav_nav, .slicknav_nav .slicknav_item a, .slicknav_nav .slicknav_item a:hover, .slicknav_nav a:hover, .slicknav_nav a:focus { text-decoration: none !important; color: #fff !important; font-weight: 600 !important;  }
.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar {
    margin-top: 4px !important; 
}
.slicknav_menu .slicknav_icon-bar { height: 3px !important; } 


form p { margin-bottom: 20px; }
input, textarea { font-size: 13px; border: 1px solid #939598; padding: 8px 15px; width: 100%; }
input.wpcf7-submit, input:focus, textarea:focus { text-align: left; border: 1px solid #7fb3bf; color: #7fb3bf; background: #fff; }
input:focus, textarea:focus { color: #939598; }
input.wpcf7-submit:hover { background: #7fb3bf; color: #fff; transition: all 0.8s ease; -webkit-transition: all 0.8s ease; }
textarea { height: 205px; resize: none; }

div.wpcf7-response-output { padding: 10px !important; margin: 0 0 20px 0 !important; font-size: 12px;  }
div.wpcf7-validation-errors { border-color: #cc0000; display: none !important; }
span.wpcf7-not-valid-tip { color: #cc0000; font-size: 11px; }

.copyright { font-size: 12px; color: #6d6e71; }
.single .subtitle { font-size: 17px !important; }
/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/* LOADER */
.square-wrapper { 
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -20px;
	margin-top: -20px;
}
.square {
  margin: 0 auto;
  width: 20px;
  height: 20px;
  transform: rotate(-45deg);
}

@keyframes part-anim {
  0% {
    transform: translate3d(-10px, -10px, 0);
  }
  100% {
    transform: translate3d(10px, 10px, 0);
  }
}
.square-part {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 1;
  animation: part-anim 0.8s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite alternate;
}

.square-green {
  background: #cdcdcd;
  right: 0;
  bottom: 0;
  animation-direction: alternate-reverse;
}

.square-pink {
  background: #ababab;
  left: 0;
  top: 0;
}

@keyframes blend-anim {
  0% {
    transform: scale(0.01, 0.01) rotateY(0);
    animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
  }
  50% {
    transform: scale(1, 1) rotateY(0);
    animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
  }
  100% {
    transform: scale(0.01, 0.01) rotateY(0);
  }
}
.square-blend {
  background: #ddd;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  animation: blend-anim 0.8s ease-in infinite;
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}



/************************************************/

.work-item {
    display: inline-block;
    background: #fff;
    padding: 1%;
    margin: 0 0 1.2em;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	-webkit-backface-visibility:hidden
}

@media only screen and (min-width: 200px) {
    .work-item {
        width: 100%;
    }
}

@media only screen and (min-width: 480px) {
    .work-item {
        width: 50%;
    }
}

@media only screen and (min-width: 800px) {
    .work-item {
        width: 33.333333%;
    }
}

@media only screen and (min-width: 1200px) {
    .work-item {
        width: 25%;
    }
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1900px) {
.description {  width: 400px !important; }
.sidebar-widget > div { padding-bottom: 30px; }
}

@media only screen and (max-width:1600px) {
.description {  width: 370px !important; }
.home .description { padding: 0px 0 0 50px; width: auto !important; }
}

@media only screen and (max-width:1500px) {
.description {  width: 350px !important; }
.page-template-template-archive-php .description { padding-left: 20px !important; }
}

@media only screen and (max-width:1450px) {
.description {  width: 350px !important; }
.page-template-template-archive-php .description { padding-left: 20px !important; }
}


@media only screen and (max-width:1400px) {
.header-fixed { width: 200px !important; }
.description {  width: 350px !important; }
.home .description { padding: 0px 0 0 30px; width: auto !important; }
}

@media only screen and (max-width:1280px) {
.header-fixed { width: 160px !important; }
.description { padding: 0px 90px 0 30px; width: auto !important; }
.page-template-template-archive-php .description { max-width: 300px !important; padding-left: 0 !important;  }
}

@media only screen and (max-width:1200px) {
.description {  width: 320px !important; }
.home .description { padding: 0px 0 0 10px; width: auto !important; }
}

@media only screen and (max-width:1100px) {
.description {  width: 280px !important; }
.home .description { padding: 0px 0 0 10px; width: auto !important; }
}

@media only screen and (max-width:992px) {
.header-fixed { width: 100% !important; }
.social { position: relative !important; }
.nav { display: none; }
.padding-left { padding: 0; }
.description { width: 100% !important; position: relative !important; padding: 0 !important; }
}
@media only screen and (max-width:480px) {
	.image-center { top: 0; }
	.main-image-title, .image-center { width: 100%; margin-left: -50%; padding: 0px; }
}
@media only screen and (max-width:768px) {
	.fixed { position: relative; padding-right: 0; }
	.content { padding-top: 0; }
	.main-image h1, .image-center h1 { { font-size: 18px !important; }
}

@media only screen and (max-width:992px){

	ul.menu, ul.latest { display: none !important; }
	.logo { margin: 0 auto; }
	.header-fixed { position: relative; }
	.sidebar { padding-left: 0px; }
	.description { padding-left: 0px !important; padding-right: 0px !important; width: auto !important; }
}

@media only screen and (max-width:1024px) {
	.description h1 { font-size: 26px; }
	ul.menu, ul.latest { display: none !important; }
}
@media only screen and (min-width:1140px) {

}

@media (min-device-width: 800px) and (max-device-width: 1280px) {
	  .header-fixed { position: relative; }
	  .sidebar { padding-left: 0px; }
}

@media (max-device-width: 800px) and (orientation: portrait) { 
	.header-fixed { position: relative; }
	.sidebar {
		padding-left: 0px;
	}
}

@media (max-device-width: 1280px) and (orientation: landscape) { 
	.header-fixed { position: relative; }
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.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;
}
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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
