html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.4;
}

h1,h2,h3,h4,h5 {

}

p {
  margin: 0 0 1em 0;
  padding: 0;
}

a {
  color: #000;
}

a:hover,
a:active,
a:focus {
  color: #2E69FA;
}


::-moz-selection {
    background: #fbffa0;
    text-shadow: none;
}

::selection {
    background: #fbffa0;
    text-shadow: none;
}

/* Defaults */

* {
	-webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  *behavior: url(/js/vendor/boxsizing.htc);
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.nomobile {
	display: none;
}

.mobile {
	display: block;
}

.bold {
  font-weight: bold;
}

.center {
  text-align: center;
}

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

.clear:after {
  clear: both;
}

.clear {
	clear: both;
  *zoom: 1;
}


/* Grid */
.grid {
  width: 100%;
  margin: 0;
}

.grid:after {
  content: "";
  display: table;
  clear: both;
}

.col-1, .col-2-3, .col-2, .col-3, .col-4, .col-5 {
  width: 100%;
}

[class*='col-'] {
  display: inline-block;
  vertical-align: top;
  padding: 0;
  margin: 0 0 1em 0;
}


.chromeframe {
    background: #ffbbbb;
    padding: 1em;
}

.chromeframe span {
  display: inline-block;
  margin: 0 .5em 0 0;
  font-size: 250%;
  color: #aa0000;
  font-weight: bold;
  vertical-align: middle;
}

.chromeframe a {
  color: #000;
}

.chromeframe a:hover,
.chromeframe a:active,
.chromeframe a:focus {
  color: #fff;
}


/* Mobile Nav Icon */
.mni {
  position: absolute;
  top: .7em;
  right: 1em;
  width: 2em;
  height: 2em;
  cursor: pointer;
  z-index: 9;
  color: #777;
}
.mni.toggle {
  transform: rotate(-90deg);
}
.mni:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-top: 5px solid;
  border-bottom: 5px solid;
}
.mni:after {
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-top: 5px solid;
  border-bottom: 5px solid;
}



/* ==========================================================================
   Custom styles
   ========================================================================== */

@import url(https://fonts.googleapis.com/css?family=Average+Sans&subset=latin,latin-ext);

@import url('https://fonts.googleapis.com/css?family=Aref+Ruqaa');

.aref {
font-family: 'Aref Ruqaa', serif;
font-weight: normal !important;
}

body {
  font-family: 'Average Sans', sans-serif;
  font-size: 1em;
  background: #ddd;
}


.white {
  color: #fff;
}

.right {
  text-align: right;
}

.small {
  font-size: 80%;
}

.big {
  font-size: 140%;
}

.italic {
  font-style: italic;
}

.btn {
  background: #aaa;
  padding: .5em;
  margin: 0 0 .5em 0;
  border-radius: .5em;
  display: inline-block;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.btn:hover,
.btn:active,
.btn:focus {
  background: #2E69FA;
  color: #fff;
}

.btn span {
display: none;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.wrap p {
padding: 0 1em;
}

.header {
  background: #aaa;
}


.logo {
  padding: .5em;
}

.logo a,
.logo a:hover {
font-size: 2em;
color: #fff;
text-decoration: none;
}

.nav {
  position: fixed;
  top: 0;
  right: -50em;
  padding: 4em 0 0 0;
  background: #aaa;
    z-index: 8;
}

.nav.toggle {
  right: 0;
}

.nav a {
  display: block;
  padding: 1em;
  color: #fff;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus,
.nav a:active {
  background: #2E69FA;
}

.main {
  padding: .5em 1em 2em 1em;
  background: #fff;
}

.footer {
      font-size: 80%;
    padding: 4em 0;
    color: #444;
  text-align: center;
}

.footer a {
  color: #444;
}
.footer a:hover,
.footer a:focus,
.footer a:active {
  color: #2E69FA;
}


/* HOME */

.home-space {
  height: 200px;
}


.home {
  color: #fff;
  background: url(../img/home.jpg) center center no-repeat;
  background-size: cover;
  padding: 0 0 1em 0;
 }

 .home h1 {
  font-size: 1.2em;
  text-shadow: 0 0 5px #000;
  padding: .5em;
}

.home h1 br {
  display: none;
}

h1.home-logo {
margin: 0;
font-size: 2em !important;
  padding: .25em 1em 2em .5em;
}






/* ==========================================================================
   Media Queries
   ========================================================================== */


/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width:20em)
and (max-device-width:30em) {
/* Styles */




/* END */
}


/* Smartphones (landscape) ----------- */
@media only screen
and (min-width:20.063em) {
/* Styles */




/* END */
}


/* Smartphones (portrait) ----------- */
@media only screen
and (max-width:20em) {
/* Styles */




/* END */
}


/* iPhone 4+ ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio:1.5),
only screen and (min-device-pixel-ratio:1.5) {
/* Styles */




/* END */
}


/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-width:48em)  {
/* Defaults */
.mobile {
  display: none;
}

.no-mobile {
  display: block;
}


/* Grid */

.col-2 {
width: 49%;
}

.col-2-3 {
width: 65%;
}

.col-3 {
width: 32%
}

.col-4 {
width: 24%
}

.col-5 {
width: 19%;
}

.mni {
  display: none;
}


.btn span {
display: inline;
}


.nav {
  position: static;
  text-align: right;
  padding: 0;
  max-width: 50%;
  float: right;
}

.nav a {
  display: inline-block;
}

.home h1 br {
display: inline;
}

 .home h1 {
  font-size: 2em;
  padding: 0 0 2em 0;
}


h1.home-logo {
  font-size: 4em !important;
  padding: .15em 0 3em .5em;

}

.footer {
  text-align: left;
  padding: 2em;
}

/* END */
}



/* iPads (landscape) ----------- */
@media only screen
and (min-device-width:48em)
and (max-device-width:64em)
and (orientation:landscape) {
/* Styles */



/* END */
}


/* iPads (portrait) ----------- */
@media only screen
and (min-device-width:48em)
and (max-device-width:64em)
and (orientation:portrait) {
/* Styles */


/* END */
}


/* 1000px Wide ----------- */
@media only screen
and (min-width:62.5em) {
/* Styles */


/* END */
}


/* Desktops and laptops ----------- */
@media only screen
and (min-width:76.5em) {
/* Styles */


/* END */
}


/* Large screens ----------- */
@media only screen
and (min-width:114em) {
/* Styles */


/* END */
}


@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Styles */


/* END */
}






/* ==========================================================================
   Basic Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
