<style type="text/css" media="screen">

p { 
  color:black; 
}

div {
  margin: 0 auto; 
  display:inline-block; 
  overflow: hidden;
    /*padding:0 16px;*/
}

body {
  text-align: center;
  padding-bottom: 5vw;
}

p.padding {
  margin-top: 7px;
  margin-bottom: 7px;
  font-family: 'Roboto', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h2.padding {
  margin-top: 8px;
  margin-bottom: 8px;
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  text-rendering: optimizeLegibility; 
  -webkit-font-smoothing: antialiased;
}

p.job_title {
  margin: 0px;
  font-family: 'Roboto', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

div.mainblock {
    width: 90%;
}

div.portrait2 {
 width: 100%;
}

img.portrait1 {
  
  /*position: relative;*/
  width: 140px; 
  height: 140px;
  
  /*align-content: left;*/
}

div.divImg {
  border-radius: 8px;
  height:220px;
  width:380px;
}

div.divImgAR_RM{
  border-radius: 8px;
  height:220px;
  width:380px;
}

div.divImgAR_BC{
  border-radius: 8px;
  height:220px;
  width:380px;
}

div.divImgTweetReality{
  border-radius: 8px;
  height:220px;
  width:380px;
}

div.divImgNokia{
  border-radius: 8px;
  height:220px;
  width:380px;
}

ul.topnav {
	/*width: 95%;*/
	padding-left: 4.7%;
    list-style-type: none;
    margin: auto;
    overflow: hidden;
    background-color: white;
    /*position: fixed;*/
    top: 0;
    /*width: 100%;*/
}

ul.topnav li {float: left;}

ul.topnav li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;

    font-family: 'Roboto', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul.topnav li a:hover:not(.active) {background-color: #f0f5f5;}

ul.topnav li a.active {background-color: #f0f5f5;}

ul.topnav li.right {float: right;}

.icons {display: table; margin: 0 auto;} 
.socialIcons img {
                    height: 30px;
                    width: 30px;
                    opacity: 1;
                    filter: alpha(opacity=100);
                    margin-right: 10px;
                }
                .icons img {
                    position: relative;
                    display: inline;
                    margin-right: 0 auto;
                    margin-left: 0 auto;
                }
                /*.socialIcons img:hover {
                    opacity:1;
                }*/

a.liens {
  text-decoration: none;
  color: black;
}

a.liens:hover {
  text-decoration: underline;
  color: black;
}

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

  p.padding {
    font-size: 14px;
  }

  div.divImg{height:200px;width:350px;border-radius: 8px;}

  div.divImgAR_RM{height:200px;width:350px;border-radius: 8px;
  background: black
  url('http://oscarfalmer.com/img/ARRM_Banner_Small.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

  div.divImgAR_BC{height:200px;width:350px;border-radius: 8px;
  background: black
  url('http://oscarfalmer.com/img/ARBC_Banner_Small.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

  div.divImgTweetReality{height:200px;width:350px;border-radius: 8px;
  background: black
  url('http://oscarfalmer.com/img/TweetReality_thumbnail_small.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

  /*img.portrait{height:0px;width:0px;}*/

  /*iimg.portrait2{height:150px;width:150px;}*/

  ul.topnav {
    padding-left: 0;
    margin: 0 auto;
    width: -webkit-fit-content;
       width: -moz-fit-content;
            width: fit-content;
  }

  div.portrait2 {
    text-align: center;
    width: 100%;
  }

  /*h2 {
    text-align: center;
  }

  p.job_title {
    text-align: center;
  }*/

}

@media screen and (min-width: 600px) and (max-width: 1000px){

  div.divImg{height: 25.5vw; width:45%;border-radius: 8px;}

  div.divImgAR_RM{height:25.5vw;width:91%;border-radius: 8px;
  background: black
  url('http://oscarfalmer.com/img/ARRM_Banner_Medium.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

  div.divImgAR_BC{height:25.5vw;width:91%;border-radius: 8px;
  background: black
  url('http://oscarfalmer.com/img/ARBC_Banner_Medium.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

  div.divImgTweetReality{height:25.5vw;width:91%;border-radius: 8px;
  background: black
  url('http://oscarfalmer.com/img/TweetReality_thumbnail_medium.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

  ul.topnav {
    padding-left: 0;
    margin: 0 auto;
    width: -webkit-fit-content;
       width: -moz-fit-content;
            width: fit-content;
  }

  div.portrait2 {
    text-align: center;
    width: 100%;
  }

}

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

  div.divImg{height: 17vw; width:30%;border-radius: 8px;}

  div.divImgAR_RM{height: 17vw; width:91%;border-radius: 8px; 
  background: black
  url('http://oscarfalmer.com/img/ARRM_Banner.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

  div.divImgAR_BC{height: 17vw; width:91%;border-radius: 8px; 
  background: black
  url('http://oscarfalmer.com/img/ARBC_Banner.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

  div.divImgTweetReality{height: 17vw; width:91%; border-radius: 8px;
  background: black
  url('http://oscarfalmer.com/img/TweetReality_thumbnail.jpg') 
  no-repeat center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow:hidden;
  cursor:pointer;
  margin: 0 auto;}

}

</style>

