/*
 __            __  __                        __  __                        __
|  |          |  ||  |                      |  ||  |                      |  |
 |  |        |  |  |  |        ____        |  |  |  |        ____        |  |
  |  |      |  |    |  |      |    |      |  |    |  |      |    |      |  |
   |  |    |  |      |  |    |  ||  |    |  |      |  |    |  ||  |    |  |
    |  |  |  |        |  |  |  |  |  |  |  |        |  |  |  |  |  |  |  |
     |  ||  |          |  ||  |    |  ||  |          |  ||  |    |  ||  |
      |____|            |____|      |____|            |____|      |____|
	  
Copyright (C) 2019 Vanparijs Wim Websites www.vanparijswimwebsites.com
*/

/************
 *          *
 * Services *
 *          *
 ************/

 #services .service {
    position: relative;
    margin: 0.5em;
    height: 15em;
    background-size: cover;
    overflow: hidden;
}
  
#services .service:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
  
#services .service:after {
    display: block;
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #003663;
    z-index: 3;
    
    transition: top 1s ease;
}
  
#services .service:hover:after {
    top: 0;
}
  
#services .service .content {
    position: absolute;
    height: 100%;
    top: 4em;
    padding: 0.75em;
    color: #fff;
    z-index: 10;
    
    transition: top 0.7s ease;
}
  
#services .service:hover .content {
    top: 1.5em;
}

#mobile .service .content {
    top: 0;
    text-align: left;
}
  
#services .service .content span {
    display: block;
}
  
#services .service .content .title {
    font-family: Raleway, sans-serif;
    font-size: 2em;
    margin-bottom: 1em;
    
    transition: margin-bottom 0.7s ease, color 1s ease;
}
  
#services .service:hover .content .title {
    margin-bottom: 0.5em;
    color: rgb(0, 175, 255);
}
  
#services .service .content .preview {
    color: #ddd;
    transition: color 0.7s ease;
    text-align: left;
}
  
#services .service:hover .content .preview, #mobile #services .service .content .preview {
    color: #fff;
}
  
#services .service .content .intent a {
    display: inline-block;
    margin-top: 1em;
    padding: 0.75em;
    opacity: 0;
    visibility: hidden;
    
    text-decoration: none;
    font-weight: bold;
    border: solid 1px #fff;
    color: #fff;
    transition: all 0.7s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
}
  
#services .service:hover .content .intent a, #mobile #services .service .content .intent a {
    opacity: 1;
    visibility: visible;
}
  
#services .service .content .intent a:hover{
    box-shadow: 3px 3px 3px 1px #0061B0;
    text-shadow: 2px 2px #0061B0;
}



/****************
 *              *
 * Company info *
 *              *
 ****************/

#company-info p {
    padding: 0 1em;
}



/**************
 *            *
 * References *
 *            *
 **************/
  
#references h1 {
    text-align: center;
    font-size: 3em;
    margin: 0.33em 0;
}
  
#references a.reference {
    position: relative;
    text-decoration: none;
    z-index: 5;
    overflow: hidden;
    margin-top: 1em;
}
  
#references a.reference:before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 0%;
    width: 100%;
    height: 0%;
    background-color: #fff;
    z-index: 1;
    transition: all 1s ease;
}
  
#references a.reference:hover:before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
  
#references .reference h3 {
    font-size: 1.5em;
    text-decoration: none;
    margin: 0.5em 0 0.5em 0;
    text-align: center;
    font-variant: normal;
    
    position: relative;
    z-index: 5;
}
  
#references .reference .images {
    margin: 0 0.25em;
}
  
#references .reference .img {
    height: 10em;
    background-position: center;
    margin: 0.5em;
    background-repeat: no-repeat;
    
    position: relative;
    z-index: 5;
}
  
#references .reference .img.tall {
    height: 21em;
}
  
#references .reference .img:nth-child(2) {
    margin-top: 1em;
}
  
#references .reference .img:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 54, 99, 0.15);
    transition: background-color 1s ease;
}
  
#references .reference:hover .img:before {
    background-color: transparent;
}