/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: rgb(10, 10, 10);
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #ffffff;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

h1 {
	font-size: 1em;
	font-weight: normal;
}

a,
a:hover,
a:visited {
	text-decoration: none;
	color: rgb(10, 10, 10);
}


.page-item-2 a:hover {
    text-decoration: none;
}

.post a,
.page a  {
  color: rgb(10, 10, 10);
	text-decoration: underline;
}

.post .attachment-large {
	display: none;
}

.post-2 {
    font-size: 0.8em;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
    margin: auto;
    display: inherit;
    max-width: 100%;
    height: auto;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ffffff;
    color: #000;
    padding: 0.2em 0;
}

.main article p {
	width: 70%;	line-height: 1.35em;
}




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

}

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

@font-face {
    font-family: 'neue_montreal';
    src: url('../fonts/pangrampangram/neuemontreal-regular-webfont.woff2') format('woff2'),
         url('../fonts/pangrampangram/neuemontreal-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'bold_sans';
    src: url('../fonts/bolddecisions/truesanstrial-regular-webfont.woff2') format('woff2'),
         url('../fonts/bolddecisions/truesanstrial-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'telegraf_regular';
    src: url('../fonts/pangrampangram/telegraf-regular-webfont.woff2') format('woff2'),
         url('../fonts/pangrampangram/telegraf-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'karrik_regular';
    src: url('../fonts/Karrik/Karrik-Regular.woff2') format('woff2'),
         url('../fonts/Karrik/Karrik-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font-family: "neue_montreal" , sans-serif, Helvetica, Helvetica Neue, Arial;
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.5rem;
	letter-spacing: 1.2px;
    background: #fffffa;
    text-rendering: optimizelegibility;
    margin: 0px;
}

.wrapper {
    margin: 0 5%;
}

ul#gallery {
	list-style: none;
	float: right;
	width: 70%;
	margin: 0;
	padding: 16px 0;
	display: block;
}

ul#gallery p {
    margin: -3px 0px 9px 0px;
    font-size: 12px;
    padding: 0px;
    margin-top: -3px;
    width: 100%;
    text-align: center;
}

#gallery-1 img {
    max-width: 98%;
    border: none !important;
}

/* ===================
    ALL: Orange Theme
   =================== */


#post-content {
	float: left;
	display: block;
	width: 30%;
}

.header-container a {
 text-decoration: none;
}


.header-container,
.footer-container,
.main aside {
}

.title {
    color: black;
}

.page-id-2 h1 {
    display: none;
}

li.page-item-717 {
    display: none;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 1em;
    padding: 0;
}

nav a {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 99;

    margin: 0;
    padding: 0;
}

nav a:hover,
nav a:visited {
    color: black;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0;
}

.main article h1 {
    font-size: 1.2rem;
    font-weight: normal;
}

.main aside {
    color: black;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: black;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Martins custom styles
   ========================================================================== */

#infoBox {
    display: none;
    position: fixed;
    left: 50%;
    top: 40%;
    content: "<3";
}

#infoBox a {
    text-decoration: underline;
}

.aboutSection {
    margin-top: 30px;
}

/* Defining each section background and styles
* ---------------------------------------  */
.home #section{
    background-image: url(http://martinhertig.ch/wp-content/uploads/2015/03/vlcsnap-2015-03-01-18h58m08s1081.png);
    padding: 6% 0 0 0;
}

.home .fullWidthImg {
    width: 100%;
    min-height: 100%
}

#fullpage .description {
    position: absolute;
    bottom: 60px;
    right: 60px;
    padding: 20px;
    width: 300px;
    height: 100px;
    z-index: 99;
    background-color: white;
    border: 2px solid;
}

#fullpage .description arrow {
    position: absolute;
    bottom: 10px;
    right: 20px;
    z-index: 100;
    font-size: 2em;
}

#menuBtn {
    position: fixed;
    top: 40px;
    left: 40px;
    cursor: pointer;
    z-index: 100;
    opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
}

.homeBtn {
    /*background-image: url(http://martinhertig.ch/wp-content/themes/martin-theme/img/MenuWeb3.png);
    width: 52px;
    height: 52px;*/
    width: 300px;
    height: 52px;
    mix-blend-mode: difference;
    color: white;
}

.exitBtn {
    background-image: url(http://martinhertig.ch/wp-content/themes/martin-theme/img/cross.png);
    width: 40px;
    height: 40px;
    background-size: cover;
}

.home #section2{
    background: url(http://www.martinhertig.ch/wp-content/uploads/2015/03/CACTUNES_web.jpg) no-repeat center center;
    background-position: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home #section3{
    background: url(http://martinhertig.ch/wp-content/uploads/2015/03/vlcsnap-2015-03-01-18h58m08s1081.png) no-repeat center center;
    background-position: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home #section4{
    background: url(http://martinhertig.ch/wp-content/uploads/2015/03/vlcsnap-2015-01-21-16h01m37s38-copy.png) no-repeat center center;
    background-position: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home #section5{
    background: url(http://martinhertig.ch/wp-content/uploads/2014/10/DSC_0087-copy.jpg) no-repeat center center;
    background-position: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home #section6{
    background: url(http://martinhertig.ch/wp-content/uploads/2014/12/IMG_7680.jpg) no-repeat center center;
    background-position: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home #section7{
    background: url(http://martinhertig.ch/wp-content/uploads/2015/03/SlowClockWeb2.jpg) no-repeat center center;
    background-position: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home #section8{
    background: url(http://martinhertig.ch/wp-content/uploads/2015/03/CatTreeWeb.jpg) no-repeat center center;
    background-position: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.home #section9{
    background: url(http://martinhertig.ch/wp-content/uploads/2014/12/Capture-d%E2%80%99e%CC%81cran-2013-05-20-a%CC%80-22.55.44.png) no-repeat center center;
    background-position: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.home #menu {
    z-index: 99;
    width: calc(100% - 2em);
}

.home #menu a {
    float: left;
    margin: 0px 0px 40px 0px;
}


.home .main .post-407 {
	width: 450px !important;
}


.home .main a img {
	width: 100%;
    max-width: 100%;
	/*-webkit-filter: grayscale(100%);*/
    /*filter: blur(8.1px);*/
}

.home .main .odd img {
	height: auto;
}

.home .main .even img {
	height: auto;
}

.home .main .home-project-infos {
	position: relative;
	/*margin-left: -40px;
	margin-top: 30px;*/
	padding: 0px 5px;
	overflow: hidden;
}

.home .main .odd {

}

.home .main .odd .home-project-infos {
	float: right;
}

.home .main .even .home-project-infos {
	float: left;
}


.home .main a h2 {
	margin: 0px;
  margin-top: .5em;
	font-weight: normal;
	font-size: 1.2rem;
	z-index: 99;
    text-align: left;
}

.home .main a:hover{
    /*border-bottom: 1px solid gray;*/
}

.home .main .home-description {
	font-size: 12px;
	width: 300px;
	max-height: 50px;
	overflow: hidden;
	display: none;
}

.home .main .home-description p {
	margin: 0px !important;
}


.home .entry_title {
	z-index: 999;
	display: block;
	position: relative;
	left: 20px;
}

.featured-video-plus {
	width: 100%;
	float: left;
}

.post-76 #tapper_canvas {
	width: 960px;
	height: 800px;
	border: 1px dashed #000000;
}

.main article.post-39 p {
	width: 100%;
}

.main article.post-39 p img {
	margin-bottom: 40px;
}

.home .post_description {
	float: left;
}

.wp-caption-text {
    font-size: 14px;
    line-height: 18px !important;
    margin: 7px 0 -25px 0px !important;
}

#categories {
	text-align: center;
	margin-top: 5px;
	padding: 20px;
	float: left;
	width: 100%;
	display: none;
}

#hover_title {
	color: blue;
	position: fixed;
	font-size: 17px;
	background: white;
	right: 30px;
	top: 40px;
	margin-right: 30px;
    -webkit-box-shadow: 3px 0px 18px 9px white;
    -moz-box-shadow: 3px 0px 18px 9px white;
    box-shadow: 3px 0px 18px 9px white;
}

 .wrapper {
        margin: 120px 40px 40px 40px;
    }


    .title  {
        position: fixed;
        z-index: 99;
        margin: 30px 10px 10px 40px !important;
    }

    .home  .wrapper {
        margin: auto;
        text-align: left;
        max-width: 100%;
    }

#gallery-6 img {
    border: none !important;
}


.gutter-sizer {
    width: 1%;
}

.grid-sizer {
    width: 32%;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

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

    .gutter-sizer {
        width: 0;
    }
    
    .grid-sizer {
        width: 100%;
    }

    body {
        font-size: 19px;
        line-height: 30px;
    }

    .home .main {
        width: calc(100% - 2em);
        margin-top: 2em;
    }

    .grid-item {
        width: 100%;
    }

   #menuBtn,
    .homeBtn
    {
        position: absolute;
        top: 1em;
        left: 1em;
    }

    .homeBtn,
    nav a {
        width: 50%;
    }
    nav a {
        position: fixed;
        top: 1em;
        right: 0;
        z-index: 99;
        margin: 0;
        padding: 0;
        padding-right: 1em;
        text-align: right;
    }

    .exitBtn {
        left: 20px !important;
    }

	.home #menu a {
		margin-bottom: 60px;
        width: 100%;
	}

    .home .main a img {
        display: block !important;
    }

    .single nav a,
    .home nav a,
    .home #menu {
        float: right;
        text-align: right;
    }
    h1.title {
        margin-left: 20px !important;
    }

    body.home {
     background: none repeat scroll 0% 0% #f4f4ef;
    }

   .home .main a img,
   .home .main a.even,
   .home .main a.odd {
		height: auto;
		width: 100%;
		max-width: 100%;
	}

    .home #menu {
        width: 100%;
    }

	.wrapper {
		margin-left: 20px;
		margin-right:20px;
	}


	#post-content,
   .main article p {
	   width: 100%;
   }

   ul#gallery {
	   width: 100%;
	   max-width: 100%;
   }

   ul#gallery img {
	   max-width: 100%;
	   height: auto;
   }

   .page-id-2 #main {
        max-width: 95vw;
        margin: 1em auto;
        margin-top: 120px;
    }
}

@media only screen and (min-width: 768px) {

    .page-id-2 #main {
        max-width: 1100px;
        margin: auto;
    }

    .grid {
        margin: 3em 2em;
    }

    .grid-item {
        width: 32%;
        min-height: 20vw;
    }


/* ============
    WIDE: Menu
   ============ */


    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

   .main{
        margin: 30px auto;
        max-width: 95vw;
   }

   .page-id-2 {
    padding: 0 1em;
   }

      #post-content,
   .main article p {
       width: 100%;
   }

   ul#gallery {
       width: 100%;
       max-width: 100%;
   }

   ul#gallery img {
       max-width: 100%;
       height: auto;
   }

    .main article {
        float: left;
        width: 100%;
    }

    .main aside {
        float: right;
        width: 28%;
    }

    .main article h1 {
    	margin-top: 0px;
    	margin-bottom: 20px;
    	}

    .home #menu a {
        min-height: 200px;
    }
}

@media only screen and (min-width: 1210px) {

/* ===============
    Maximal Width
   =============== */

    .single .wrapper {
        width: 960px; /* 1140px - 10% for margins */
        margin: 30px auto;
    }


    #prev_post_link,
	#next_post_link {
		padding: 10px;
		font-size: 2em;
		position: absolute;
		top: 450px;
	}

	#prev_post_link {
		right: 100px;
	}

	#next_post_link {
		left: 100px;
	}

    .home #menu a {
        min-height: 200px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.title {
    display: none;
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets {
  display: none !important;
}

.wp-block-jetpack-slideshow .amp-carousel-button,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev {
  background-color: transparent !important;
}

.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption {
  font-size: 0.75em;
}
