/*--------------------------------------------------------------
# Generic Functions
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Colours and background variables
--------------------------------------------------------------*/
/* Blue */
@import url(../fonts/fonts.css);
* {
  box-sizing: border-box; }

ul {
  padding: 0;
  list-style-type: none; }

.h2, .h3, .h4, .h5, .h6, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0; }

p {
  margin: 0; }

a {
  text-decoration: none; }

/*--Always show scroller on mobile devices--*/
::-webkit-scrollbar {
  -webkit-appearance: none; }

::-webkit-scrollbar:vertical {
  width: 12px; }

::-webkit-scrollbar:horizontal {
  height: 12px; }

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  border: 2px solid #ffffff; }

::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #ffffff; }

.hide {
  display: none !important; }

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Backgrounds
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Headings
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Media queries
--------------------------------------------------------------*/
@font-face {
  font-weight: 400;
  font-style: normal;
  /*font-family:'ITV_Reem_OTF';
  src: url('../../assets/fonts/ITV-Reem webfont/ITV-Reem.eot');
	src: url('../../assets/fonts/ITV-Reem webfont/ITV-Reem.eot?#iefix') format('embedded-opentype'),
        url('../../assets/fonts/ITV-Reem webfont/ITV-Reem.woff') format('woff'),
        url('../../assets/fonts/ITV-Reem webfont/ITV-Reem.ttf') format('truetype');*/
  font-family: Arial; }
body {
  /*font-size:90%;*/
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9em;
  /*font-size:1vw;*/ }

p {
  font-size: 1.2em; }

.h2, .h3, .h4, .h5, .h6, h2, h3, h4, h5, h6 {
  font-family: inherit;
  color: #333232; }

h1 {
  color: #20B8C6;
  font-size: 2em; }

body {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-family: 'Abril', 'Helvetica', 'Arial';
  font-weight: 400; }

main {
  display: block;
  height: 100vh;
  overflow: hidden;
  position: relative;
  padding-left: 1vw; }

#logo {
  background: url("../../assets/images/logo.jpg") no-repeat;
  background-size: contain;
  background-position: center;
  display: block;
  height: 4em;
  width: auto;
  margin: 2em auto; }

#menu {
  text-align: center;
  width: 23vw;
  height: 100vh;
  display: inline-block;
  padding: 0;
  margin: 0; }
  #menu p {
    font-size: 100%; }

#pagebg {
  position: absolute;
  right: 0;
  width: 74vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: url("../../assets/images/CNI-title-screen.jpg") no-repeat left top;
  background-size: cover;
  display: inline-block; }
  #pagebg #credit {
    position: relative;
    width: 100%;
    height: 100%; }
  #pagebg span {
    position: absolute;
    bottom: 1em;
    left: 1em;
    color: #fff;
    font-size: 80%;
    opacity: 0.7; }

#flags li:hover a span {
  visibility: visible; }
#flags li a span {
  color: #222;
  visibility: hidden; }
#flags li img {
  display: block;
  width: 50%;
  margin: auto;
  max-width: 100px; }

@media (max-height: 620px) {
  main {
    font-size: 75%; }

  #flags li img {
    width: 30%; } }
@media (max-width: 768px), (orientation: portrait) {
  #logo {
    height: 6em; }

  main {
    padding: 0; }

  #menu {
    text-align: center;
    width: 100vw;
    height: 20vh;
    display: inline-block;
    padding: 0;
    margin: 0; }
    #menu p {
      font-size: 200%; }

  #pagebg {
    position: relative;
    width: 100vw;
    height: 80vh;
    padding: 0;
    margin-top: 1em;
    overflow: hidden;
    background: url("../../assets/images/CNI-title-screen.jpg") no-repeat left top;
    background-size: cover;
    display: inline-block; }

  #flags {
    margin-bottom: 1em 0;
    padding: 0; }
    #flags li {
      display: inline-block;
      width: 18%;
      margin: 0;
      padding: 0; }
      #flags li a img {
        width: 90%; }
      #flags li a span {
        display: none; } }
footer.pageFooter {
  margin-top: 6em; }

header.pageHeader {
  text-align: left; }
  header.pageHeader img.logo {
    width: 100%;
    max-width: 330px; }

/*// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) {

}

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {

}*/
/*--------------------------------------------------------------
# Main blocks (http://www.responsivegridsystem.com/calculator/)
--------------------------------------------------------------*/
/*  SECTIONS  */
.row {
  clear: both;
  padding: 0px;
  margin: 0px;
  zoom: 1;
  /* For IE 6/7 */
  /*  COLUMN SETUP  */ }
  .row:before, .row:after {
    content: "";
    display: table;
    clear: both; }
  .row .col {
    display: block;
    float: left;
    margin: 1% 0 1% 1.6%;
    /*  GRID OF FIVE  */ }
    .row .col:first-child {
      margin-left: 0; }
    .row .col.span_5_of_5 {
      width: 100%; }
    .row .col.span_1_of_5 {
      width: 20%; }

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
  .col {
    margin: 1% 0 1% 0%; }

  .span_1_of_4, .span_2_of_4, .span_3_of_4, .span_4_of_4, .span_5_of_5 {
    width: 100%; } }
