/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}


/* END NORMALIZE.CSS */

html, body, * {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', helvetica, arial, sans-serif;
  background: #F4F6F8;
  color: #66696C;
}
input, button, select, textarea {
  font-family: 'Roboto', helvetica, arial, sans-serif;
}
h1,h2,h3 {
  color: #666;
  font-weight: normal;
}
.clearfix {
  clear: both;
}
input {
  outline: none;
  border: 1px solid #CCC;
}

.navbar, .navbar li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar li a {
  color: white;
  text-decoration: none;
}

.header-panel .container {
  position: relative;
}
.header-panel .header {
  font-size: 1.5em;
  margin: 0;
}
.header-panel .header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.header-panel .navbar {
  display: none;
  font-size: 0.9em;
  text-align: center;
  padding-top: 10px;
}
.header-panel .navbar.show {
  display: block;
}
.header-panel .navbar li {
  margin: 10px 0;
}

.header-panel .navbar-toggle {
  position: absolute;
  right: 5px;
  top: 10px;
  font-size: 1.3em;
  margin-right: 5px;
  margin-top: 2px;
}
.header-panel .navbar-toggle a {
  color: white;
}

.content-panel h1 {
  padding-bottom: 5px;
  margin-bottom: 20px;
  border-bottom: 3px solid #EEE;;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.header-panel,
.content-panel,
.breadcrumbs-panel {
  padding-left: 10px;
  padding-right: 10px; 
}

.breadcrumbs-panel .spacer {
  height: 10px;
}

.content-panel .container {
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: relative;
  min-height: 500px;
  overflow: auto;
  border-radius: 5px;
}

.content-panel .container .content {
  margin: 25px;
}

.content-panel .container .loading {
  position: absolute;
  background: white;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  padding-top: 150px;
  text-align: center;
  font-size: 3em;
}

.header-panel .container {
  padding: 10px;
  color: white;
}

.breadcrumbs-panel .container {
  padding: 10px;
}

.search-panel .container {
  padding: 30px 20px;
  text-align: center;
}

.search-panel input {
  padding: 12px 8px 12px 38px;
  width: 100%;
  border-radius: 5px;
  outline: none;
  transition: box-shadow 0.15s;
  border: none;
}

.search-panel input:focus {
  box-shadow: 0 0 25px rgba(0,0,0,.2);
}

.search-panel .input-wrap {
  display: inline-block;
  position: relative;
  width: 100%;
}

.search-panel .input-wrap .fa-search {
  position: absolute;
  font-size: 1.2em;
  color: #CCC;
  top: 10px;
  left: 12px;
}

.link-block {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-block li {
  list-style: none;
  margin-bottom: 12px;
  color: #CCC;
  position: relative;
}

.link-block li a {
  text-decoration: none;
  display: inline-block;
  line-height: 1.2em;
}

/* to show an icon beside the articles */
/* NEED TO BE ADJUSTED FOR ARABIC
/*
.link-block li a {
  padding-left: 25px;
}
.link-block li:before {
  content: "\f0f6";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  padding-right: 0.5em;
  position: absolute;
  left: 1px;
  top: 2px;
}
*/

.category h2 {
  margin-top: 0;
}

.multi-category.large {
  display: none;
}

.open-section {
  color: #666;
  border: 1px solid #ccc;
  text-decoration: none;
  border-radius: 7px;
  padding: 6px 20px;
  margin: 10px 0;
  display: inline-block;
}

.search-results .result {
  margin-bottom: 20px;
}

.search-results .result .name {
  font-size: 1.2em;
  display: block;
  text-decoration: none;
}

.search-results .result .name:hover {
  text-decoration: underline;
}

.search-results .count {
  color: #888;
  margin-bottom: 20px;
}

.search-results .description {
  max-height: 64px;
  overflow: hidden;
}

.search-results .no-results {
  text-align: center;
  margin: 100px 0;
  font-size: 1.2em;
}

.breadcrumbs {
  list-style: none;
  font-size: 0.9em;
  padding: 0;
  margin: 0;
}
.breadcrumbs li {
  list-style: none;
  display: inline-block;
}
.breadcrumbs li:after {
  content: "\f178";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  padding: 0 5px 0 8px;
}

.breadcrumbs li:last-child:after {
  display: none;
}

.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

.article h2, .article h3 {
  font-weight: bold;
  display: inline-block;
}

.contact-form {
  width: 100%;
  padding: 50px 10px 10px 10px;
  margin: 0 auto;
}
.contact-form .control-label {
  display: inline-block;
  margin-bottom: 5px;
}
.contact-form input,
.contact-form textarea, 
.contact-form button {
  width: 100%;
  padding: 7px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  display: block;
  margin-bottom: 20px;
}
.contact-form input,
.contact-form textarea {
  border-color: #BBB;
}
.contact-form textarea {
  min-height: 150px;
  resize: none;
}
.contact-form textarea:focus {
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.contact-form input.error, 
.contact-form textarea.error {
  border-color: #c7254e;
  background-color: #f9f2f4;
}
.contact-form .success {
  display: none;
  margin-top: 20px;
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #468847;
  padding: 6px;
  border-radius: 5px;
  text-align: center;
}
.footer-panel .container {
  text-align: center;
  font-size: 0.9em;
  padding: 20px 0;
  color: #888;
}
.footer-panel a {
  color: #888;
  text-decoration: none;
}

.left, .right {
  margin-bottom: 30px;
}

.article dl {
  margin: 18px 0 25px 0;
}
.article dt {
  float: left;
  padding-top: 4px;
}
.article dd {
  margin-left: 30px;
  margin-bottom: 16px;
}
.article dt span {
  display: inline-block;
  margin-left: -3px;
  font-weight: bold;
  border-radius: 100%;
  width: 23px;
  height: 23px;
  background-color: #AFB2B3;
  color: white;
  padding-top: 3px;
  text-align: center;
  font-size: 12px;
}
.article dl.numbered dt.first-block-heading.size-1 span {
  margin-top: 2px;
}
.article dt .fa {
  margin-left: 6px;
  font-size: 0.6em;
}
.article dd > p:first-child {
  padding-top: 5px;
  margin-top: 0;
}
.article dd > .heading-container h2,
.article dd > .heading-container h3 {
  margin: 10px 0;
}
.article dd > .heading-container:first-child h2 {
  margin-top: 0;
}
.article .bulleted dd > .heading-container:first-child h3,
.article .numbered dd > .heading-container:first-child h3 {
  padding-top: 2px;
  margin-top: 1px;
}
.article .img-container {
  text-align: center;
  margin: 20px 0;
}
.article .img-container img {
  max-width: 100%;
}
.article dd .video-container,
.article dd .img-container {
  text-align: center;
  margin: 10px 0;
}
.article dd > .video-container:first-child,
.article dd > .img-container:first-child {
  margin-top: 15px;
}
.article .video-container {
  position: relative;
  padding-bottom: 75%; /* 16:9 => 56.25%, 4:3 => 75% */
  margin: 20px 0;
  height: 0;
  overflow: hidden;
}
.article .video-container.aspect-16-9 {
  padding-bottom: 56.25%; /* 16:9 => 56.25%, 4:3 => 75% */
}
.article .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} 
.article .heading-container a {
  color: #999;
  padding-left: 12px;
  text-decoration: none;
}
.article .heading-container a:hover {
  color: #606060;
}
.article .heading-container:hover a:before {
  content: "\f0c1";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}
.article blockquote {
  padding: 0 0 0 15px;
  margin: 0 0 20px 0;
  border-left: 5px solid #eeeeee;
}

.article code {
  padding: 0px 4px 1px 4px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  white-space: nowrap;
  font-size: 0.9em;
  border-radius: 4px;
}

.article pre code {
  display: block;
  padding: 10px;
  margin: 0 0 20px 0;
  word-break: break-word; /* legacy. break-word is deprecated in css3 */
  word-wrap: break-word; /* legacy. word-wrap replaced by overflow-wrap */
  overflow-wrap: break-word;
  white-space: pre; /* legacy browsers */
  white-space: pre-wrap;
}
/* Right to Left language */
body.lang-rtl {
  direction: rtl;
}
body.lang-rtl .header-panel .navbar {
  left: 0;
  right: auto;
}
body.lang-rtl .search-panel .input-wrap .fa-search {
  right: 12px;
  left: auto;
}
body.lang-rtl .search-panel input {
  padding-right: 40px;
  padding-left: 8px;
}
body.lang-rtl .breadcrumbs li:after {
  content: "\f177";
  padding-right: 8px;
  padding-left: 5px;
}
body.lang-rtl .header-panel .navbar-toggle {
  left: 5px;
  right: auto;
  margin-left: 5px;
  margin-right: 0;
}
body.lang-rtl .article dt {
  float: right;
}
body.lang-rtl .article dd {
  margin-left: 0;
  margin-right: 30px;
}
body.lang-rtl .article dt span {
  margin-left: 0;
  margin-right: -3px;
}
body.lang-rtl .article dt .fa {
  margin-left: 0;
  margin-right: 6px;
}
body.lang-rtl .article .heading-container a {
  padding-left: 0;
  padding-right: 12px;
}
body.lang-rtl .article blockquote {
  padding-left: 0;
  padding-right: 15px;
  border-right: 5px solid #eeeeee;
  border-left: none;
}

@media (min-width: 600px) {
  .contact-form {
    width: 500px;
  }
}
@media (min-width: 700px) {
  .header-panel,
  .content-panel,
  .breadcrumbs-panel {
    padding-left: 40px;
    padding-right: 40px; 
  }

  .header-panel .navbar-toggle {
    display: none;
  }

  .header-panel .navbar {
    margin-top: 10px;
    display: block;
    position: absolute;
    right: 0;
    top: 20px;
    height: auto;
    text-align: initial;
    padding-top: 0;
  }

  .header-panel .navbar li {
    display: inline-block;
    margin: 0 0 0 15px;
  }

  .header-panel .container,
  .breadcrumbs-panel .container {
    padding: 20px 0;
  }

  .breadcrumbs-panel .spacer {
    height: 40px;
  }

  .content-panel .container .content {
    margin: 80px;
  }
  .search-panel .input-wrap {
    width: 600px;
  }
  .search-panel .container {
    padding: 30px 0 60px 0;
  }
  .search-panel input {
    padding: 18px 10px 18px 50px;
  }
  .search-panel .input-wrap .fa-search {
    font-size: 1.3em;
    top: 17px;
    left: 17px;
  }

  .left {
    width: 50%;
    float: left;
    padding-right: 15px;
    margin-bottom: 20px;
  }
  .right {
    width: 50%;
    float: right;
    padding-left: 15px;
    margin-bottom: 20px;
  }

  .multi-category.large {
    display: block;
  }
  .multi-category.small {
    display: none;
  }

  .article dd {
    margin-left: 40px;
  }

  body.lang-rtl .search-panel .input-wrap .fa-search {
    right: 17px;
  }
  body.lang-rtl .header-panel .navbar {
    right: auto;
    left: 0;
  }
  body.lang-rtl .header-panel .navbar li {
    margin-left: 0;
    margin-right: 15px;
  }
  body.lang-rtl .search-panel input {
    padding-left: 10px;
    padding-right: 50px;
  }
  body.lang-rtl .article dd {
    margin-right: 40px;
  }
  body.lang-rtl .left {
    float: right;
    padding-left: 15px;
    padding-right: 0;
  }
  body.lang-rtl .right {
    float: left;
    padding-right: 15px;
    padding-left: 0;
  }
}