/*
    Template Name   : Magnetic
        
    *****************************************
        
    - General CSS
    - Header
    - Home/portfolio 
    - Inner page 
    - Map/Contact page  
    - Tooltip 
    - Responsive code
      
*/

/*  General CSS*/
html{
    height: 100%;
    margin: 0;
    padding: 0;
}

body{
    background: #fff;
    overflow-y: scroll;
    height: 100%;
}

.wrapper{
    width: 92.72727272727273%;
    margin: 0 auto;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1, h2, h3, h4, h5 ,h6{
    color: #666;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    letter-spacing: 1px;
}

h1              { font-size: 2.3em; margin: .67em 0 }
h2              { font-size: 2.0em; margin: .75em 0 }
h3              { font-size: 1.17em; margin: .83em 0 }
h5              { font-size: .83em; margin: .6em 0 }
h6              { font-size: .75em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6          { font-weight: 400 }


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

.clearfix {
    *zoom: 1;
    background: #fff;
}

#content {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}


/*  Header  */
@media (min-width:1099px){
    header{
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        min-height: 100%;
        padding: 0 50px 0 50px;
        background: #FFF;
        float: left;
        overflow: hidden;
        z-index: 9999;
    }

    header .logo{
        color: #666;
        font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
        margin-top: 100px;
        text-align: center;
        font-size: 13px;
    }
    
    header .logo img{
        display: block;
        margin: 0 auto;
    }


    header nav ul{
        display: block;
        overflow: hidden;
        margin-top: 100px;
        list-style: none;
    }

    header nav ul li{
        display: block;
        margin-bottom: 30px;
    }

    header nav ul li a{
        color: #666;
        font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
        color: #969595;
    }

    header .footer{
        position: absolute;
        bottom: 50px;
    }

    header ul.social{
        list-style: none;
        margin-bottom: 5px;
    }

    header ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 10px 10px 0;
    }


    header ul.social li a{
        display: block;
        width: 40px;
        height: 40px;
        background: url('../img/si.png') no-repeat;
        background-position: 0 0;
    }
    
    header ul.social li a.fb,
    header ul.social li a.fb:hover{
        background-position: 0 0;
    }


    header ul.social li a.google,
    header ul.social li a.google:hover{
        background-position: -60px 0;
    }

    header ul.social li a.behance,
    header ul.social li a.behance:hover{
        background-position: -120px 0;
    }

    header ul.social li a.twitter,
    header ul.social li a.twitter:hover{
        background-position: -180px 0;
    }

    header ul.social li a.dribble,
    header ul.social li a.dribble:hover{
        background-position: -240px 0;
    }

    header ul.social li a.rss,
    header ul.social li a.rss:hover{
        background-position: -300px 0;
    }

    header .rights p{
        color: #666;
        font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
        font-weight: bold;
        text-decoration: none;
    }
    #menu_icon,
    .close_menu{
        display: none;
    }

}

#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('../img/men_icons.png') no-repeat;
}

#menu_icon{    
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}


/*  Main  */
    section{
        background: #fff;
    
    }
.main{
    width: 100%;
    height: 100%;
    padding-right: 350px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #fff;
    clear: both;
}


/*  Home/portfolio  (container)*/
.main .work{
    display: block;
    width: calc((100vw - 380px) * 0.25);
	height: calc((100vw - 380px) * 0.166666666666666);
    float: left;
    position: relative;
    overflow: hidden;
	margin-bottom: 3px;
    margin-left: 3px;
}


.main .work .media{
	object-fit: cover;
    width: 100%;
	height: 100%;
	vertical-align: middle;
}


.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: #ffffff;
    opacity: 0;
}


.main .work a:hover .caption{
    opacity: 1;
}


.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -40px;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #454545;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 16px;
    letter-spacing: .5px;
    border-bottom: 1px solid #bfbbbb;
    border-top: 1px solid #bfbbbb;
}


/*  Inner Page  */
.top{
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: block;
    position: relative;
    background: url('../img/visie.jpg') no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}

.work_nav{
    display: block;
    width: 100%;
}

.work_nav .btn{
    float: right;
}

.work_nav ul{
    list-style: none;
}

.work_nav ul li{
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a{
    display: block;
    width: 40px;
    height: 40px;
    background: url('../img/p_navigation.png') no-repeat;
    background-position: 0 0;
}

.work_nav a.previous{
    background-position: 0 0;
}

.work_nav a.grid{
    background-position: -41px 0;
}

.work_nav a.next{
    background-position: -82px 0;
}

.top .title{
    display: block;
    width: 100%;
    color: #4b4848;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 26px;
    font-weight: bold;
    background: rgba(255, 255, 255, .7);
    padding: 20px;
    text-transform: uppercase;
    line-height: 30px;
    margin: 0!important;
    overflow: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

}

.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 50%;
    margin-left: -46.36363636363637%;
}

.content{
    color: #666;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 15px;
    line-height: 22px;
    padding: 60px 30px;
    background: #fff;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.content_shadow{
    color: #666;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 15px;
    line-height: 22px;
    padding: 60px 40px;
    background: #fff;
    
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.content p{
    color: #666;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 60px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #666;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 30px;

}

/*  Kaart page map  */
.topmap {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0!important;
    overflow: hidden;
    
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.map {
    height: 800px;
}


/*  Contact page  */
.cbox {
    width: 400px;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#contact {
  background: #FFF;
  padding: 25px;
  margin: 150px 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  font-size: 12px;      
}

.antispam{ 
    display:none;
}

#contact h3{
  display: block;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 10px;
  color: #666;
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
}

#contact textarea{
  height: 350px;
  width: 100%;
  resize: none;
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  font-size: 12px;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
  font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
  font-size: 12px;
}

#contact button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: none;
  background: #f6f6f6;
  color: #666;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
    
}

#contact button[type="submit"]:hover {
  background: #fff;
    color: #666;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}


/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #666;
    color: #fff;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 12px;
    position: absolute;
    white-space: nowrap;
    z-index: 999;
    opacity: 0;
    text-align: center;
    letter-spacing: .5px;

}

.tooltip:after{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #454545 transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}

/*  ModalBox - projecten  */
.modalDialog {
	position: fixed;
    max-height: 100%;
    overflow-y: auto;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.7);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}

.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 960px;
	position: relative;
	margin: 10% auto;
}

.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:before {
    content: "\2716"
}

.close:hover { 
    background: #00d9ff;
}


/*  Responsive code  */
@media (max-width: 	1400px){
    .main .work{
        width: calc((100vw - 380px) * 0.33333333333);
		height: calc((100vw - 380px) * 0.22222222222);
    }
}

@media (max-width:1099px){

    header{
        display: block;
        width: 100%;
        min-height: 100px;
        padding: 0;
        position: relative;
    }
    
    header .logo{
        float: left;
        color: #666;
        font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
        margin: 15px;
        text-align: center;
        font-size: 13px;
    }
    
    header .footer{
        display: none;
    }
    
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
    }
    
    header nav{
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 9999;
    }

    header nav ul{
        list-style: none;
        display: none;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #666;
        font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }
  
    .main{
        width: 100%;
        position: relative;
        padding: 0;
    }
	
	.main .work{
        width: calc((100vw - 23px) * 0.33333333333);
		height: calc((100vw - 23px) * 0.22222222222);
    }
	
    #map{
        margin: 0!important;
    }
}

@media (max-width: 	768px){
     .main .work{
        width: calc((100vw - 23px) * 0.5);
		height: calc((100vw - 23px) * 0.33333333333);
    }
}

@media (max-width: 550px){
     .main .work{
        width: 100vw;
		height: calc(100vw * 0.6666666666);
		margin-right: 3px;
    }
	
	header .logo img{
        display: block;
        margin: 0 auto;
		width: 100px;
		height: auto;
    }
}

