/*
Theme Name: Hof van Cartesius
Author: Kris Borgerink
Author URI: http://www.krisborgerink.nl/
Description: Custom build theme for Hof van Cartesius
Version: 1.0
*/


/* general
--------------------------------------------------*/
html { overflow-y: scroll; }

body {
    font: 16px/1.5 "Roboto", Helvetica, "Arial Nova", Arial, sans-serif;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
	color: #000;
	background-color: #fff;
}
/*body.home {
	background-color: #edecea;
}*/
#preloader {
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: #fff;
	position:fixed;
	z-index: 90000000;
}

a {
  	color: #000;
	text-decoration: none;
	border-bottom: 1px solid #000;
}
a:hover {
	text-decoration: none;
	border-bottom: none;
}

.left {
	float: left;
}
.right {
	float: right;
}
.hidden {
    display: none !important;
}
.white-bg {
    background: #fff;
}

/* vertical align */
/* This parent can be any width and height */
.v-center-block {
  text-align: center;

  /* May want to do this if there is risk the container may be narrower than the element inside */
  white-space: nowrap;
}
 
/* The ghost, nudged to maintain perfect centering */
.v-center-block:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em; /* Adjusts for spacing */
}

/* The element to be centered, can also be of any width and height */ 
.v-centered {
  display: inline-block;
  vertical-align: middle;
}


/**/

.grid-container {
  /*background-color: blue;*/
}

/*div {
  zoom: 1;	
  min-height: 0;
}*/



/* headers and paragraphs
--------------------------------------------------*/
p {
	margin: 0 0 20px 0;
}
p b, p strong {
	font-weight: 900;
}

h1, h2, h3, h4, h5 {
	font-weight: 900;
    text-transform: uppercase;
	/*letter-spacing: 1px;*/
	margin: 0 0 40px 0;
	color: #3bb44a;
}
h1, h2 {
	font-size: 50px;	
	line-height: 50px;	
}
/*h2 {
	font-size: 39px;	
	line-height: 43px;	
}*/
h3 {
	font-size: 30px;
	line-height: 30px;	
}
h4 {
	font-size: 19px;
	line-height: 19px;	
}
h5 {
	font-size: 17px;
	line-height: 17px;	
}

.content ul { list-style:none; }
.content ul li {
    margin: 0px 30px;
    padding: 5px 0;
}
.content ul li:before {    
    font-family: 'FontAwesome';
    content: '\f105';
    margin: 0 10px 0 -16px;
}



@media screen and (max-width: 767px) {
    h1, h2 {
        font-size: 30px;	
        line-height: 30px;	
    }
}
/* #content global
--------------------------------------------------*/

.entry {
    font-size: inherit;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 10px 0;
    text-align: left;
    font: 16px/1.5 "Roboto", Helvetica, "Arial Nova", Arial, sans-serif;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
	color: #000;
}

/* gallery index */
.masonry img {
    padding: 0;
    margin: 0;
    max-width: 100%;
}
.item {
    box-sizing: content-box;
    max-width: 95%;
    padding: 0 10px 20px 10px;
    /*display:inline-block;
    float: left;*/
}
.item a {
    border: none;
}


/* just page, no ajax */
#content {
    padding: 20px 0;
}

#content.no-ajax .content {
    max-width: 600px;
}


/* both ajax and page/single */
.content h2 {
    margin-bottom: 30px;
    margin-right: 40px;
}
.content .the-content {
    border-top: 1px solid #3bb44a;
    padding-top: 30px;
}

@media screen and (min-width: 768px) {
    .content h2 {
        width: 50%;
    }
}

/* blog */

#page-blog ul li {
    margin: 0 0 0 20px;
    padding: 5px 0;
}
#page-blog ul li:before {
    color: #3bb44a;
    margin: 0 10px 0 -20px;
}
#page-blog ul li h5 {
    font-weight: normal;
    text-transform: none;
    margin-top: -18px;
    margin-bottom: 5px;
}
#page-blog ul li .the-content {
    border-top: 0;
    padding-top: 0;
}

#page-blog .entry {
    background-color: transparent;
}

#page-blog ul.entry li a {
    display: block;
    border: none !important;
}
#page-blog ul.entry li a:hover {
    color: #3bb44a;
}

#page-blog article h3 {
    margin-bottom: 25px;
}



/* tile captions */

.masonry .item .caption-container {
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    margin: 0 10px;
	background-color: #fff;
    opacity: 0;
    transition-duration: 0.25s;
    transition-timing-function: linear;
    align-items: center;
    display: flex;
}
.masonry .item .caption-container:hover {
    opacity: 1;
}
.masonry .item .caption-container .caption {
    width: 100%;
}
.masonry .item .caption .title, .masonry .item .caption .text {
	color: #3bb44a;
    text-align: center;
    display: block !important;
    font-size: 20px !important;
    line-height: 20px !important;
    padding: 10px 30px;
}
.masonry .item .caption .title {
    font-weight: bold;
}
.masonry .item .caption .text {
    padding-top: 0;
}

.masonry .item .caption .text:before {
    content:"\2014";
    padding-bottom: 10px;
    display: block;
}


/* magnific popup */

.mfp-container {
    padding: 20px;
}
.mfp-content {
    margin-bottom: 20px;
}

.mfp-bg {
  background: transparent;
}
/*.mfp-close {
    position: fixed;
    top: 0;
    right: 20px;
}*/
/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 1;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    background-color: #fff;
    max-width: 640px;
    -webkit-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.6);
    box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.6);   
    /**/
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content .grid-container {
    padding: 30px;
}

.mfp-close {
  opacity: 1;
  font-size: 40px;
    color: #3bb44a !important;
}
  .mfp-close:hover,
  .mfp-close:focus {
    opacity: 0.65; }

/* */

.mfp-close {
    height: 0px;
    width: 42px;
    padding: 25px 10px 40px 10px;
    color: #3bb44a;
    border: none !important;
    text-decoration: none;
    margin: 15px 20px 0 0;
    cursor: pointer;
    /*background-color: pink;*/
}

.mfp-close .cross-container {
    display: block;
    position: absolute;
    width: 0px;
    height: 0px;
    /*display: none;*/
}

.mfp-close .cross-container:before, .mfp-close .cross-container:after{
    content: "";
    position: absolute;
    width: 42px;
    /*height: 3px;*/
    height: 2px;
    background-color: #3bb44a;
    top: 7px;
    left: 0;
}

.mfp-close .cross-container:before{
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    transform:rotate(45deg);
}
.mfp-close .cross-container:after{
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    transform:rotate(-45deg);
}




/* forms */

form, form * {
/* With these codes padding and border does not increase it's width and gives intuitive style.*/
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
form{
/*width:70%;
margin:4% 15%;*/
font-family: "Roboto", Helvetica, "Arial Nova", Arial, sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 20px;
width:100%;
}
form img {
width: auto;
float: left;
}
header{
background-color: #4180C5;
text-align: center;
padding-top: 12px;
padding-bottom: 8px;
margin-top: -11px;
margin-bottom: -8px;
border-radius: 10px 10px 0 0;
color: #fff;
}

/* Makes responsive fields. Sets size and field alignment.*/
input[type=text], input[type=email], input[type=tel]{
margin-bottom: 20px;
margin-top: 10px;
width:100%;
padding: 15px;
border-radius:5px;
border:1px solid #3bb44a;
}
input[type=submit]
{
font-family: "Roboto", Helvetica, "Arial Nova", Arial, sans-serif;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 20px;
width:100%;
padding: 15px;
border-radius:5px;
border:1px solid #3bb44a;
background-color: #3bb44a;
color: #fff;
font-size:15px;
cursor:pointer;
}
input[type=submit]:hover
{
background-color: #2a7c34;
}
textarea{
font-family: "Roboto", Helvetica, "Arial Nova", Arial, sans-serif;
width:100%;
padding: 15px;
margin-top: 10px;
border:1px solid #3bb44a;
border-radius:5px;
margin-bottom: 20px;
resize:none;
}
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, textarea:focus {
border-color: #cccccc;
}