@import url(https://fonts.googleapis.com/earlyaccess/notosanssinhala.css);

/* ==== MATERIAL DESIGN ICONS ==== */

/* https://material.io/icons/ */

/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }

body.icon-font-load-pending i.material-icons{
    opacity: 0 !important;
}

/* ========== COMMON ========== */

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
    min-height: 100%;
    height: 100%;
    overflow: auto;
    -webkit-tap-highlight-color: transparent;
    font-size: 62.5%;

    scrollbar-color: rgba(197, 197, 196, 0.4) #fff;
}

body {
    margin: 0;
    font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
    line-height: 1.54;
    font-weight: 400;
    font-family: "Arial Unicode MS", "Helvetica Neue", 'Noto Sans Sinhala',Helvetica, "Arial Unicode MS", Arial, sans-serif;
    color: #222;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    min-width: 300px;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

::placeholder, /* Chrome, Firefox, Opera, Safari 10.1+ */
::-webkit-input-placeholder, /* Chrome/Opera/Safari */
::-moz-placeholder, /* Firefox 19+ */
:-moz-placeholder, /* Firefox 18- */
:-ms-input-placeholder, /* Internet Explorer 10-11 */
::-ms-input-placeholder { /* Microsoft Edge */
    color: #888;
    font-size: 12px;
    opacity: 1; /* Firefox */
    line-height: 36px;
}

body.thick-scrollbars::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background-color: #f7f7f7;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background: rgba(197, 197, 196, 0.4);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
}

::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(197, 197, 196,0.4);
}

.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/**
 * 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;
}

/* Icons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.inline-icon{
    display: inline-block;
    position: relative;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    width: 18px;
    height: 18px;
}

.inline-icon > i{
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    background-position: center bottom;
    background-position-x: center;
    background-position-y: bottom;
    background-size: 18px 18px;
    background-repeat: no-repeat;
}

.main-menu-inline-icon > i{
    background-image: url(../img/menu-icon.png?v=1.02);
    background-size: 20px 12px;
}

.sadaham-deshana-inline-icon{
    width: 89px;
}

.sadaham-deshana-inline-icon > i{
    width: 89px;
    height: 40px;
    background-image: url(../img/sadaam-deshana-title.png);
    background-size: 89px 27px;
    background-position: center 1.45px;
    background-position-y: 1.45px;
}

.user-profile-inline-icon > i{
    left: -2px;
    top: -1px;
    color: #a0a0a0;
}

.search-inline-icon > i{
    background-image: url(../img/search-icon.png);
    left: 1px;
    top: 4px;
}

.keyboard-inline-icon > i{
    background-image: url(../img/keyboard-icon.png?v=1.02);
    top: 3px;
}

.add-to-playlist-inline-icon{
    margin-right: 4px;
}

.icon-btn{
    min-width: 32px;
    height: 24px;
    line-height: 24px;
}

.icon-btn span{
    vertical-align: top;
    height: 24px;
    line-height: 24px;
    color: #888;
    display: inline-block;
}

.dvd-icon{
    display: inline-block !important;
    width: 42px;
    height: 21px;
    vertical-align: top;
    margin: 2px 0 0 4px;
}

.dvd-icon > svg{
    overflow: visible !important;
}


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0;
  color: #555;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 38px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #555;
  border-color: #888;
  outline: 0; }

/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #0094ff;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: 3px;
  color: #555;
}
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }

  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="text"],
  input[type="tel"],
  input[type="url"],
  input[type="password"]{
      font-size: 14px;
  }

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 1rem; }

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }

/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 8px; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  border-width: 0;
  margin: 24px 0;
  border-top: 1px solid #e0e0e0;
}

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }

[hidden],
template {
  display: none;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

body, table, td, tr, li, ul, ol, h1, h2, h3, h4, h5, h6, p, img, header, footer {
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
    outline: none;
}

body, button, a, p, div, span, li {
    font-family: "Arial Unicode MS", "Helvetica Neue", 'Noto Sans Sinhala',Helvetica, "Arial Unicode MS", Arial, sans-serif;
    font-size: 13px;
    outline: none;
    text-decoration: none;
    border: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

h1 {
    margin: 0.67em 0 8px 0;
    font-size: 22px;
    color: #bf8412;
    text-align: center;
}

h2{
  color: #0070c0;
  margin-bottom: 18px;
}

h2, h2 > span{
    font-size: 18px;
}

h3{
  font-size: 16px;
  color: #bf8412;
}

ul, ol {
    margin-bottom: 13px;
    padding: 0;
}

ul{
    text-align: left;
    list-style: none;
}

ul > li{
    display: inline-block;
    padding-left: 12px;
    position: relative;
    margin: 0;
}

ul > li:before {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    height: 16px;
    content: '\2022';
    padding: 0;
    width: 12px;
}

p {
    margin: 0 0 20px 0;
    font-size: 13px;
}

a {
  background-color: transparent;
  color: #111;
  outline: none;
  cursor: pointer; /* make Safari iOS to respond on first tap */
}

a:hover,
a:focus,
a:active
 {
    color: #111;
    outline: 0;
    outline: none;
    text-decoration: none;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

.preload-img > img{
    width: 1px;
    height: 1px;
    max-width: 1px;
    max-height: 1px;
}

::selection {
    background-color:#9aa0a0;
    color: #fff !important;
}

::-moz-selection {
    background-color:#9aa0a0;
    color: #fff !important;
}

select::-ms-expand {
    display: none;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

.small-text{
    color: #888;
    font-size: 10px;
    text-align: center;
    margin-top: 11px;
    line-height: 20px;
}

.small-text a{
    color: #854a45;
    font-size: 10px;
}

.small-text a:hover{
    text-decoration: underline;
}

.nobreak{
    white-space: nowrap;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.content-text p {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 24px;
    text-align: justify;
    color: #212223;
}

.overlay{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
}

i.tag-icon{
    display: inline-block;
    width: 17px;
    height: 6px;
    border: 2px solid #aeaeae;
    border-radius: 5px;
    margin: 5px 0 0 1px;
    vertical-align: top;
}

/* Touch devices */
#scroll-measure-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
    overflow: scroll;
    overflow-x: scroll;
    overflow-y: scroll;
    opacity: 0.00000001;
}

#scroll-measure-box > div{
    height: 100px;
}

/* prevent mobile devices zooming the page when a field is focused*/
.touch-device input,
.touch-device input:focus,
.touch-device select,
.touch-device select:focus,
.touch-device textarea,
.touch-device textarea:focus{
    font-size: 14px;
}

/* Ellipsis */
.ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* Highlight */
.highlight-btn{
    font-weight: bold;
    color: #4285f4 !important;
}

.highlight-glass-btn{
    display: inline-block;
    color: #f0f0f0;
    background-color: #4285f4;
    padding: 5px 12px;
    border-radius: 20px;
    -webkit-box-shadow: 1px 1px 6px 0px rgba(0,0,0,0.24);
    -moz-box-shadow: 1px 1px 6px 0px rgba(0,0,0,0.24);
    box-shadow: 1px 1px 6px 0px rgba(0,0,0,0.24);
}

.highlight-glass-btn:hover,
.highlight-glass-btn:focus,
.highlight-glass-btn:active{
    color: #fff;
}


.highlight-email{
    color: #333;
    font-weight: bold;
    white-space:nowrap;
}

/* Center Text Vertically */
.vertically-center-text{
    display: inline-block;
    vertical-align: middle;
    height: 64px;
    line-height: 64px;
}

/* Descriptions */
.description{
    color: #888;
    font-size: 12px;
    vertical-align: middle;
    text-align: center;
    line-height: 20px;
}

.list-description{
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 11px;
}

.description > i{
    vertical-align: top;
    margin-right: 8px;
}

.placeholder-message{
    text-align: center;
    margin: 24px 10px;
    color: #555;
}

/* Separators */
hr.strong{
    border-top: 1px dashed #f1d59e;
}

/* Line break - inactive by default */
br.br-off {
    display: none;
}

/* Buttons */
.btn{
  padding: 8px 12px;
}

/* Keyboard Button */
.keyboard-btn{
    position: relative;
    display: block;
    width: 36px;
    height: 36px;
}

.keyboard-btn > span{
    content: "අ";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 16px;
    font-size: 20px;
    background-color: #a0a0a0;
    color: #fff;
    line-height: 25px;
    text-align: center;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
}

body.non-touch-device .keyboard-btn:hover::after,
body.non-touch-device .keyboard-btn:active::after{
    background-color: #888;
}

.keyboard-btn > .skbd-close-icon{
    position: absolute;
    left: 2px;
    top: 2px;
    width: 30px;
    height: 30px;
    border: 2px solid #d9d9d9;
    background-color: #f7f7f7;
    border-radius: 15x;
}

.keyboard-btn > .skbd-close-icon > i{
    color: #888;
    line-height: 26px;
}

.keyboard-btn.keyboard-visible > .skbd-icon{
    display: none;
}

/* Page Container */
.page.container{
    margin-bottom: 60px;
    width: 90%;
}

/* Page Toolbar */
.page-toolbar{
    position: relative;
    margin-top: 40px;
    padding: 8px 0 4px 0;
    background-color: hsla(0,0%,100%,.92) !important;
    text-align: center;
}

.page-toolbar::after{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

}

/* Help */
.help-btn{
    position: relative;
    display: inline-block;
    background-color: #f7f7f7;
    color: #888;
    width: 18px;
    height: 18px;
    font-size: 13px;
    line-height: 19px;
    text-align: center;
    border-radius: 10px;
    padding-left: 1px;
}

.help-btn::after{
    content: "";
    position: absolute;
    left: -5px;
    top: -5px;
    width: 28px;
    height: 28px;
    background-color: #ffffff01;
    z-index: -1;
    border-radius: 10px;
}

body.non-touch-device .help-btn:hover,
body.non-touch-device .help-btn:active{
    color: #5378B7;
    font-weight: bold;
}

.page-toolbar .help-btn{
    float: right;
}

#help-dialog{
    position: relative;
    min-height: 100%;
}

#help-video-title{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    font-size: 12px;
    text-align: right;
    padding: 15px 14px 0 0;
}

#help-video-frame{
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    /* 56.25% for 16:9 form factor */
}

#help-video-frame > iframe{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    margin: 0 auto;
    width: 1280px;
    height: 640px;
}

/* Page Title */
.page h1{
    font-size: 21px;
    margin: 38px 0 16px 0;
}

/* More Items */
.expanding-item-list{
    transition: height 1s ease-out;
    transition: min-height 1s ease-out;
    transition: max-height 1s ease-out;
}

.load-more-items-btn{
    position: relative;
    background-color: #ececec;
    display: block;
    margin: 12px auto 0 auto;
    width: 400px;
    height: 40px;
    opacity: 0.01;
    border-radius: 22px;
    padding: 2px 0 0 0;
}

.load-more-items-btn:after{
    content: "\E5DB";
    position: absolute;
    right: 6px;
    top: 11px;
    width: 24px;
    height: 24px;
    color: #888;
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    font-feature-settings: "liga";
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* ========== Search Bar ========== */
.search-box-container{
    margin: 0 0 24px 0;
    text-align: center;
}

.search-mobile-header{
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 56px;
    background-color: #fff;
}

.search-mobile-header > a{
    background-size: 128px 38px;
    background-position: 12px 12px;
    background-position-x: 12px;
    background-position-y: 12px;
}

.search-box-container .main-menu-close{
    opacity: 1;
}

.search-box-container .main-menu-close > i{
    background-color: #fff;
    color: #888;
}

.search-box{
    position: relative;
    max-width: 440px; /* width of the onscreen keyboard */
    margin: 0 auto;
    text-align: left;
    z-index: 200;
}

form.search-form{
    position: relative;
    margin: 0 12px;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-bottom-color: #e0e0e0;
    box-shadow: 0 1px 6px rgba(0,0,0,.1);
    border-radius: 20px;
}

a.search-keyboard-btn{
    position: absolute;
    top: 0;
    left: 0;
    height: 36px;
    width: 48px;
}

.search-form > span{
    display: block;
    overflow: auto;
    border-radius: 20px;
}

input.search-input {
    position: relative;
    border: 1px solid transparent;
    vertical-align: top;
    padding: 0 38px 0 44px;
    width: 100%;
    height: 36px;
    margin: 0 !important;
    background-color: #fff;
}

.search-form svg{
    transition: fill 0.32s ease-in-out;
}

body.search-input-focus .search-form svg,
body.search-history-visible .search-form svg{
    fill:#4285f4;
}

body.search-input-focus .search-form .search-input
{
    border-color: #fff;
}

a.search-btn{
    position: absolute;
    top: 0;
    right: 0;
    height: 36px;
    width: 40px;
    background-color: transparent;
    line-height: 36px;
    vertical-align: top;
    padding: 1px;
    text-align: center;
}

.search-btn .search-icon {
    display: inline-block;
    width: 24px;
    height: 20px;
    vertical-align: top;
    margin: 6px 6px 0 6px;
}

.search-input-box{
    position: relative;
}

.search-history-box{
    display: none;
    position: absolute;
    top: 37px;
    left: 36px;
    right: 36px;
    background-color: #f7f7f7;
    border-radius: 0 0 12px 12px;
    border: 1px solid #fff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

body.user-logged-in .search-history-box{
    top: -2px;
    height: 309px;
    left: -2px;
    right: -2px;
    border-radius: 18px;
    background-color: #fff;
}

body.search-history-visible .search-history-box{
    display: block;
}

body.user-logged-in.search-history-visible .search-form{
    border-color: #fff;
    box-shadow: none;
}

body.search-history-visible .keyboard-btn.keyboard-visible .search-history-box{
    display: none;
}

.search-history-list-container{
    position: absolute;
    top: 37px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
    border-top: 1px solid #f0f0f0;
}

.search-history-list > a{
    position: relative;
    display: block;
    padding: 10px 30px 6px 30px;
}

body.non-touch-device .search-history-list > a:hover,
body.non-touch-device .search-history-list > a:active{
    background-color: #f0f0f0;
}

.search-history-list > a > i.delete{
    position: absolute;
    right: 0;
    top: 0;
    height: 24px;
    width: 24px;
    color: #888;
    border-radius: 20px;
    padding: 4px 0 0 4px;
    margin: 6px;
    font-size: 16px;
    box-sizing: border-box;
    cursor: default;
}

body.non-touch-device .search-history-list > a > i.delete:hover,
body.non-touch-device .search-history-list > a > i.delete:active{
    color: #fff;
    background-color: #888;
}

.search-history-list > a::before{
    content: "\e8b6";
    position: absolute;
    left: 6px;
    top: 11px;
    width: 24px;
    height: 24px;
    color: #aeaeae;
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    font-feature-settings: "liga";
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

body.search-history-visible .keyboard-btn.keyboard-visible .search-history-list-container{
    bottom: 0;
}

body.non-touch-device .search-history-list > a > i.delete{
    display: none;
/*     color: #ccc;*/
}

body.non-touch-device .search-history-list > a:hover > i.delete,
body.non-touch-device .search-history-list > a:active > i.delete{
    display: block;
}

.search-history-login-msg{
    display: none;
    font-size: 9px;
    color: #888;
    padding: 7px 12px;
}

body.user-pane-initialized .search-history-login-msg{
    display: block;
}

.search-history-login-msg > a,
.search-history-login-msg > a:active{
    font-size: 9px;
    color: #888;
    text-decoration: underline;
}


/* ========== PILLS ========== */
.pill-bar{
    font-size: 0;
}

.pill-bar > .pill{
    background-color: #fff;
    height: 36px;
    font-size: 12px;
    display: inline-block;
    line-height: 35px;
    vertical-align: middle;
    text-align: center;
    border-radius: 10px;
    color: #555;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.pill-bar > .pill > span {
    display: inline-block;
    height: 36px;
    line-height: 36px;
    vertical-align: top;
    font-size: 13px;
    padding-left: 6px;
}

.pill-bar > .large.pill{
    height: 48px;
    padding: 12px;
}

.pill-bar > .pill > i{
    margin-top: 5px;
}

.pill-bar > .pill.prev {
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.pill-bar > .pill.next {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.left{
    text-align: left !important;
}

.center{
    text-align: center !important;
}

.right{
    text-align: right !important;
}

.pill.selected{
    background-color: #f0f0f0;
}

.pill.primary{
    background-color: #fff;
    color: #4285f4;
    font-weight: bold;
}

.pill.time{
    background-image: url('../img/clock.png');
    background-repeat: no-repeat;
    background-position-x: 6px;
    background-position-y: 4px;
    background-position: 6px 4px;
    background-color: #fff;
    padding: 0px 4px 0px 28px;
    cursor: default;
    border: none;
    color: #888;
}

.pill.page-no{
    background-color: #fff;
    padding: 0px 4px 0px 28px;
    cursor: default;
    border: none;
    color: #888;
}

.pill.disabled{
    cursor: default !important;
}

.pill.disabled:hover{
    background-color: #fff !important;
}

.pill.navigation {
    width: 40px;
    text-align: center;
}

.pill.title{
    min-width: 72px;
    border-radius: 0;
    color: #555;
    background-color: #fff;
    padding: 0 8px;
    cursor: default;
    border-left: none;
    border-right: none;
}

.pill.title.cd{
    padding: 0px 8px 0px 25px;
    background-image: url('../img/cd-small.png');
    background-repeat: no-repeat;
    background-position-x: 5px;
    background-position-y: 9px;
    background-position: 5px 9px;
    background-size: 16px 16px;
}

.pill-bar.glued > .pill{
    border-radius: 0;
    border-left-width: 0;
    padding: 0 12px;
}

.pill-bar.glued > .pill:first-child{
    border-radius: 8px 0 0 8px;
    border-left-width: 1px;
}

.pill-bar.glued > .pill:last-child{
    border-radius: 0 8px 8px 0;
}

.pill.title.cd a{
    display: inline-block;
    text-decoration: underline;
    color: #555;
    font-size: 14px;
}

.pill.add-to-playlist-btn{
    width: 59px;
    text-align: center;
    padding-left: 2px;
    border-left: 1px solid #e0e0e0;
}

a.pill.search-pill > i {
    font-size: 22px;
    padding-top: 3px;
}

.add-to-playlist-btn > i.added-icon{
    display: none;
}

.added-to-playlist .add-to-playlist-btn > i.pending{
    display: none;
}

.added-to-playlist .add-to-playlist-btn > i.added-icon{
    display: inline-block;
}

.pill.all-items-btn{
    margin-right: 8px;
    padding: 0 8px;
    border-radius: 10px;
}

.pill.all-items-btn > i{
    margin: 8px 0 0 0;
}

.pill.text-btn{
    padding: 0 8px 0 6px;
}

.pill.text-btn > i{
    vertical-align: top;
    padding: 4px 0 0 0;
}

.pill.pill-oval{
    width: 58px;
    border-radius: 19px !important;
    margin-bottom: 14px;
}

.pill.pill-oval:last-child{
    margin-left: 8px;
    margin-right: 6px;
    border-left-width: 1px;
}

.pill.pill-oval > i{
    font-size: 19px;
    line-height: 36px;
    margin:0;
}

/* ========== TAG PILLS ========== */
.tag-pill{
    position: relative;
    display: inline-block;
    padding: 5px 10px 3px 10px;
    margin: 4px;
    border: 1px solid #f0f1f2 !important;
    border-radius: 20px;
    background-color: #f9f9f9;
    font-size: 13px;
    color: #444240;
  }

  body.non-touch-device a.tag-pill{
      cursor: default;
  }

  body.non-touch-device a.tag-pill:hover,
  body.non-touch-device a.tag-pill.nirukthi:hover::before{
    background-color: #555;
    border-color: #555 !important;
    color:#fefcfa;
  }

  .tag-pill span{
    font-size: 12px;
    color: #0070c0;
  }

  body.non-touch-device .tag-pill:hover span{
    color:#e3eeff;
  }

  .tag-r1 {
    font-size: 13px;
  }

  .tag-r2 {
    font-size: 14px;
  }

  .tag-r3 {
    font-size: 15px;
  }

  .tag-r4 {
    font-size: 16px;
  }

  .tag-r5 {
    font-size: 17px;
  }

  .tag-indirect {
    font-size: 12px;
    color: #888;
  }

  .tags-breadcrumb{
      margin: 38px 0 12px 0;
      font-size: 0;
  }

  .tags-breadcrumb a.tag-pill{
      text-decoration: underline;
  }

  .tags-breadcrumb .separator{
      vertical-align: middle;
      padding: 0 0 4px 0;
  }

  .tags-breadcrumb span.tag-pill{
      font-weight: bold;
  }

  .tags-breadcrumb span.tag-pill:first-child{
      margin-left: 0;
  }

  #tags-page .list-description{
      margin-bottom: 0;
  }

  #tags-page .description {
    margin: 12px 0 22px 0;
    text-align: center;
    padding-bottom: 8px;
  }

  #tags-page .description > a{
    color: #0070c0;
    text-decoration: underline;
  }

  .term-highlight{
      color: #0070c0;
      font-weight: bold;
  }

/* ======== CD ITEMS ======== */
.cd-item {
    position: relative;
    min-height: 28px;
    width: 100%;
    border-top: none;
    position: relative;
    background-color: #fff;
    padding: 0;
    overflow: hidden;
    background-color: white;
    text-align: left;
}

.cd-item-header{
    height: 72px;
    margin-bottom: 16px;
}

#cd-page-current-title{
    display: inline-block;
    text-decoration: none;
    width: 120px;
    padding-left: 1px;
}

.cd-item-header > .cd-item-thumb{
    float: left;
    width: 64px;
    height: 64px;
    margin-right: 12px;
    background-position: 0 0;
    background-position-x: 0;
    background-position-y: 0;
    background-size: 64px 64px;
    background-repeat: no-repeat;
    border-radius: 3px;

    -webkit-box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.18);
    -moz-box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.18);
    box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.18);
}

.cd-item-header h2{
    margin: 0;
    padding-top: 4px;
}

.cd-item-header h3{
    text-align: left;
}

.category-item {
	border-bottom: 1px solid #ececec;
    margin-top: 16px;
    padding-bottom: 8px;
    font-weight: bold;
    color: #bf8412;
    font-size: 14px;
}

/* ====== SERMON ITEM ====== */
.sermon-item{
    width: 100%;
    position: relative;

    background-image: url('../img/dhamma-chakra-small.png?v=1.1');
    background-position: 8px 12px;
    background-position-x: 8px;
    background-position-y: 12px;
    background-size: 16px 16px;
    background-repeat: no-repeat;

    background-color: white;

    border-bottom: 1px solid #e7e6e6;

    padding: 6px 0px 6px 30px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

.sermon-item.printed{
    background-image: url('../img/dhamma-chakra-gray-small.png?v=1.1');
}

.sermon-item:first-child{
    border-top: 1px solid #e7e6e6;
}

.sermon-item .pill-bar{
    float: right;
}

.sermon-item .pill-bar > .pill{
    float: right;
    margin: 0 5px 0 0;
    height: 30px; /* equals title height */
    line-height: 28px;
    border-radius: 5px;
}

.sermon-item .pill.add-to-playlist-btn > i{
    margin-top: 3px;
}
.sermon-item .pill.time{
    text-align: right;
    background-position-x: 6px;
    background-position-y: 6px;
    background-position: 6px 6px;
	line-height: 30px; /* equals pill height */
}

.sermon-item .title{
    float: left;
    text-decoration: underline;
    text-decoration-color: #cecece;
	line-height: 30px; /* equals pill height */
}

.sermon-item .title:hover{
    text-decoration-color: #888;
}

.sermon-item .cd{
    min-width: 72px;
    padding: 0px 8px 0px 25px;
    background-image: url('../img/cd-small.png');
    background-repeat: no-repeat;
    background-position-x: 5px;
    background-position-y: 6px;
    background-position: 5px 6px;
    background-size: 16px 16px;
}

.sermon-item .info{
    min-width: 72px;
    padding: 0px 8px 0px 25px;
    position: relative;
}

.sermon-item .info:before{
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    width: 12px;
    height: 16px;
    border-radius: 2px;
}

.sermon-item .volume:before{
    background-color: #ab5a6e;
}

.sermon-item .book:before{
    background-color: #499df5;
}

/* ========== BUSY INDICATOR ========== */
.busy-indicator{
    width: 40px;
    height: 12px;
}

.busy-indicator div{
    width: 40px;
    height: 12px;
}

.busy-indicator.snap-right{
    width: 100%;
}

.busy-indicator.snap-right div{
    float: right;
}

/* ========== DIALOG ========== */
#dialog-overlay{
    display: none;
    opacity: 0.28;
    background: #000;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

#dialog-box{
    position: fixed;
    display: none;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #fff;
    border-radius: 18px;
    margin: auto;
    z-index: 2002;
    width: 428px;
    min-height: 16%;
    max-height: 94%;
    height: 16%;
    overflow: hidden;
    opacity: 0;

    -webkit-box-shadow: 0px 0px 38px 0px rgba(0,0,0,0.43);
    -moz-box-shadow: 0px 0px 38px 0px rgba(0,0,0,0.43);
    box-shadow: 0px 0px 38px 0px rgba(0,0,0,0.43);

    transition: transform 0, opacity 0;
    transform: translateX(0) translateY(100px) translateZ(0);
    pointer-events: none;
}

#dialog-box.dialog-keep-visible{
    display: block;
}

body.dialog-showing #dialog-overlay{
    display: block;
}

body.dialog-showing #dialog-box{
    opacity: 1;
    pointer-events: all;

    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

#dialog-header{
    position: absolute;
    top: 0;
    left: 0;
    right: 12px;
    height: 68px;
    transition: height 0.04s linear;
    text-align: center;
}

#dialog-header > div{
    position: absolute;
    left: 12px;
    right: 0;
    bottom: 0;
    height: 38px;
}

#dialog-header > div > h2{
    display: inline-block;
    margin-bottom: 0;
    transition: font-size 0.04s linear;
    padding: 2px 12px 0 12px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    border: 1px solid #fff;
    border-top: none;
}

#dialog-close-btn{
    display: block;
    border-radius: 0 0 8px 0;
    width: 36px;
    height: 36px;
    margin: 5px;
    line-height: 36px;
    text-align: center;
    background-color: #fff;
    opacity: 0.9;
    border-radius: 18px;
}

#dialog-close-btn > .back-icon{
    display: none;
}

body.dialog-show-back-btn  #dialog-close-btn > .close-icon{
    display: none;
}

body.dialog-show-back-btn  #dialog-close-btn > .back-icon{
    padding-right: 2px;
    display: inline-block;
}

#dialog-close-btn > i{
    line-height: 36px;
}

#dialog-close-btn:hover,
#dialog-close-btn:active{
    background-color: #f0f0f0;
}

#dialog-help-btn{
    position: absolute;
    top: 8px;
    right: 8px;

    /* HELP_TEMP_HIDDEN */
    display: none;
}

#dialog-contents{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 78px 12px 0 12px;
    margin: 0 auto;
    overflow: auto;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.64, 0, 0.78, 0), opacity 0.18s ease-out;
    transform: translateX(0) translateY(10px) translateZ(0);
}

body.dialog-showing #dialog-contents{
    transform: translateY(0);
    opacity: 1;
    transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-out;
}

body.dialog-maximized{
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

.dialog-maximized #dialog-box{
    width: 99% !important;
    height: 99% !important;
    max-height: 99%;
}

#dialog-box.dark #dialog-contents{
    padding: 78px 0 12px 0;
}

#dialog-box.dark,
#dialog-box.dark #dialog-header > div > h2
{
    background-color: #000;
    scrollbar-color: rgba(196, 196, 196, 0.4) #000;
}

#dialog-box.dark #dialog-close-btn{
    background-color: #000;
    opacity: 0.7;
}

#dialog-box.dark #dialog-close-btn > i{
    color: #0094ff;
    font-weight: bold;
}

#dialog-box.dark #dialog-close-btn:hover,
#dialog-box.dark #dialog-close-btn:active{
    background-color: #283040;
}

body.thick-scrollbars div.themed-scrollbar::-webkit-scrollbar {
    width: 12px;
}

body.thick-scrollbars div.themed-scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background-color: #f7f7f7;
}

body.thick-scrollbars div.themed-scrollbar::-webkit-scrollbar-thumb {
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: rgba(197, 197, 196, 0.4);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
}

body.thick-scrollbars div.themed-scrollbar::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(197, 197, 196,0.4);
}

body.thick-scrollbars .dark div.themed-scrollbar::-webkit-scrollbar-track {
    background-color: #000;
}

/* ========== DOWNLOAD BAR ========== */
.download-bar{
    color: #888;
    height: 33px;
    text-align: right;
    border-radius: 8px;
    font-size: 12px;
    background-color: #f0f0f0;
}

.download-bar .download-btn{
    color: #4285f4;
}

.download-bar .download-btn:hover > span,
.download-bar .download-btn:active > span,
.download-bar .download-btn:focus > span{
    color: #4285f4;
    text-decoration: underline;
}

.download-bar .download-text{
    display: inline-block;
    height: 33px;
    line-height: 33px;
    margin-right: 8px;
    padding-top: 1px;
}

.download-bar .download-text span{
    font-size: 12px;
}

.download-bar .download-text i{
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.share-btn{
    float: left;
    display: block;
    padding: 1px 10px 0 6px;
    font-size: 0;
    border-radius: 8px 0 0 8px;
}

.share-btn > span{
    display: inline-block;
    color: #888;
    font-size: 12px;
    line-height: 30px;
    height: 30px;
    vertical-align: bottom;
}

.share-btn > i{
    display: inline-block;
    color: #4285f4;
    margin-right: 6px;
    line-height: 31px;
}

.share-btn:hover,
.share-btn:active,
.share-btn:focus {
    background-color: #d7d7d7;
}

.share-btn:hover > span,
.share-btn:active > span,
.share-btn:focus > span {
    color: #555;
}

/* ========== SHARE ========== */
#share-box{
    background: #fff;
    margin: auto;
    z-index: 2002;
    overflow: hidden;
}

#share-box > h2{
    margin: 0 0 0 0;
    text-align: center;
}

.share-targets-box{
    font-size: 0;
    background: #fff;
    margin: 6px 0 16px 0;
    text-align: center;
}

#share-box .share-targets-box > a {
    display: inline-block;
    background-color: #f0f0f0;
    width: 80px;
    vertical-align: top;
    text-align: center;
    margin: 4px;
    border-radius: 12px;
    padding-top: 13px;
}

#share-box .share-targets-box > a.share-large-btn{
    width: 168px;
}

#share-box .share-targets-box > a > span{
    display: inline-block;
    background: #f0f0f0;
    border-radius: 21px;
    width: 36px;
    height: 36px;
}

#share-box .share-targets-box > a > p{
    font-size: 11px;
    margin: 1px 0 5px 0;
    color: #888;
}

#share-box .share-targets-box > a:hover,
#share-box .share-targets-box > a:active{
    background-color: #555;
}

#share-box .share-targets-box > a:hover > p,
#share-box .share-targets-box > a:active > p{
    color: #fff;
}

#share-box .share-targets-box > a > span> span{
    display: block;
    width: 32px;
    height: 32px;
    margin: 2px 0 0 2px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    background-image: url('../img/share-icons.png');
    background-repeat: no-repeat;
    background-position-x: 0;
    background-size: 32px 224px;
}

#share-box .share-copy-link > span> span{
    background-position-y: 0;
    background-position: 0 0;
}

#share-box .share-mail > span> span{
    background-position-y: -32px;
    background-position: 0 -32px;
}

#share-box .share-facebook > span> span{
    background-position-y: -64px;
    background-position: 0 -64px;
}

#share-box .share-whatsapp > span> span{
    background-position-y: -96px;
    background-position: 0 -96px;
}

#share-box .share-messanger > span> span{
    background-position-y: -128px;
    background-position: 0 -128px;
}

#share-box .share-viber > span> span{
    background-position-y: -160px;
    background-position: 0 -160px;
}

#share-box > p{
    text-align: left;
    font-size: 12px;
    color: #888;
    margin-left: 22px;
    margin-right: 22px;
    text-align: justify;

}

#share-box > p > span{
    color: #4285f4;
    font-weight: bold;
}

#share-box .share-copy-link.link-copied p{
    color: #555;
    font-weight: bold;
}

#share-box .share-copy-link.link-copied > span > span{
    background-position-y: -192px;
    background-position: 0 -192px;
}

/* ========== STRUCTURE ========== */
/* Header */
#header-box{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
    height: 56px;
    z-index: 1000;
    background: #fff;
    transition: border-bottom-color 0.28s ease;
}

#header-box::before{
    content: "";
    position: absolute;
    top: -150px;
    left: 0;
    right: 0;
    width: 100%;
    height: 150px;
    background-color: #fff;
    pointer-events: none;
}

#header-lamp{
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 7px auto 0 auto;
    width: 42px;
    height: 42px;
    background-image: url('../img/header-lamp.gif');
    background-size: 42px 42px;
    border-radius: 21px;
    background-repeat: no-repeat;
}

#header-profile-box{
  float: right;
  height: 56px;
  margin-left: 8px;
}

#open-user-pane-btn{
    position: relative;
    display: none;
    color: #444;
    height: 56px;
    line-height: 56px;
    padding: 0 8px;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
}

#login-success-balloon{
    display: none;
    position: absolute;
    right: 8px;
    line-height: 1.6;
    top: 54px;
    width: 271px;
    border-radius: 12px;
    z-index: 1;
    cursor: default;
    background-color: #5378B7;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

body.login-success-balloon-visible #login-success-balloon{
    display: block;
}

#login-success-balloon > p{
    text-align: left;
    margin: 0;
    padding: 16px 12px 4px 12px;
    color: #fff;
}

#login-success-balloon > p:last-child{
    padding: 0 12px 8px 36px;
    color: #C3D0E6;
}

#login-success-balloon > p > i{
    vertical-align: top;
    margin-right: 8px;
}

#login-success-balloon > i{
    position: absolute;
    top: 4px;
    right: 8px;
    color: #fff;
}

#login-success-balloon::after {
    content: "";
    position: absolute;
    right: 34px;
    top: -12px;
    width: 0;
    height: 0;
    border-bottom: 14px solid #5978AF;
    border-left: 24px solid transparent;
    pointer-events: none;
}

#open-user-pane-btn > .vertically-center-text{
    margin: 0 12px 0 0;
    line-height: 58px;
}

.vertically-center-text > span {
    display: inline-block;
    line-height: 20px;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bold;
}

#open-user-pane-btn > .vertically-center-text > span{
    font-size: 11px;
    padding-bottom: 1px;
    line-height: 15px;
    text-align: left;
}

#open-user-pane-btn > i {
    display: none;
    height: 56px;
    line-height: 56px;
    vertical-align: top;
    padding-top: 1px;
    color: #aeaeae;
}

#open-user-pane-btn > i.user-icon{
    font-size: 32px;
}

body.user-pane-initialized #open-user-pane-btn,
body.user-pane-initialized #open-user-pane-btn > .user-icon{
    display: inline-block;
}

body.user-logged-in #open-user-pane-btn > .book-icon{
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 0 6px 0 3px;
    color: #fff;
    text-align: center;
    z-index: 2;
}

body.user-logged-in #open-user-pane-btn > .book-icon::after{
    content: "";
    position: absolute;
    left: -8px;
    top: 9px;
    width: 40px;
    height: 40px;

    border-radius: 30px;
    background-color: #5378B7;
    background-image: url(../img/blue_pattern.png);
    background-size: 120px 120px;
    z-index: -1;
    box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 18%) inset;
    -webkit-box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 18%) inset;
    -moz-box-shadow: 1px 1px 15px 0px rgba(0,0,0,0.18) inset;
}

body.user-logged-in #open-user-pane-btn > .user-icon{
    display: none;
}

body.non-touch-device #open-user-pane-btn:hover,
body.non-touch-device #open-user-pane-btn:active{
    background-color: #f0f0f0;
}

#header-title-box {
    float: left;
    width: 170px;
    height: 56px;
}

#header-menu-btn{
    display: inline-block;
    min-width: 56px;
    height: 56px;
    background: url('../img/menu-icon.png?v=1.02') no-repeat center center;
    background-size: 26px 16px;
    background-position: 17px 21px;
    background-position-x: 17px;
    background-position-y: 21px;
}

#header-title-box > .waharaka-logo{
    display: inline-block;
    width: 114px;
    height: 56px;
    background-image: url(../img/waharaka-logo-912x448.png);
    background-size: 114px 56px;
    background-position: 0px 0;
    background-position-x: 0px;
    background-position-y: 0;
    background-repeat: no-repeat;
    border-right: 1px solid transparent;
}

body.non-touch-device #header-title-box:hover #header-menu-btn,
body.non-touch-device #header-title-box:active #header-menu-btn{
    background-color: #f0f0f0 !important;
}

.title-logo{
    position: absolute;
    left: 0;
    right: 0;
    top : 0;
    margin: 0 auto;

    width: 152px;
    height: 56px;

    background-image: url('../img/sadaam-deshana-title.png');
    background-size: 152px 46px;
    background-position: 1px 8px;
    background-position-x: 1px;
    background-position-y: 8px;
    background-repeat: no-repeat;
}

/* Element that sticks to top and moves with header */
.stick-to-top{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 150;
    background-color: #fff;
}

/* Popup Alert */
#popup-alert-box{
    position: fixed;
    display: none;
    top: 10px;
    right: 10px;
    min-width: 50px;
    max-width: 280px;
    background-color: #555;
    opacity: 0;
    /*border-radius: 12px;*/
    border-radius: 6px;
    z-index: 26000;
    /*box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;*/
    padding: 8px 12px;
    transition: opacity 1.5s ease-in-out;

    background-color: #fff;
    background: #00000015;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.5);
    background-color: #5378B7;
    box-shadow: rgb(0 0 0 / 20%) 0px 3px 8px;
}

body.popup-alert-visible #popup-alert-box{
    display: block;
}

body.popup-alert-opaque #popup-alert-box{
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.popup-added-to-playlist > i{
    float: left;
    color: #C3D0E6;
}

.popup-added-to-playlist > span{
    display: block;
    color: #C3D0E6;
    padding-left: 30px;
}

.popup-added-to-playlist a{
    display: inline-block;
    font-size: 11px;
    text-decoration: underline;
    color: #f0f0f0;
}

/* Mobile Menu */
#wrapper {
   width: 100%;
   z-index: 2;
   min-height: 100%;
   margin-bottom: -79px; /* Equal to negative height of the footer*/
   padding-top: 65px; /* Equal to header height + header's border width */
}

#page-content{
    width: 100%;
    position: relative;
}

#mobile-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #030200;
    opacity: 0.28;
    z-index: 25000;
    display: none;
}

.menu-showing #mobile-backdrop{
    display: block !important;
}

#main-menu{
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 354px;
    height: 530px;
    max-height: 100%;
    background: #ffffff;
    z-index: 25001;
    box-sizing: border-box;
    border-right: 1px solid #ccc;
    border-radius: 18px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;

    overflow: hidden hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

body.menu-keep-visible #main-menu{
    display: block;
}

.main-menu-close{
    position: absolute;
    left: 5px;
    top: 5px;
    width: 36px;
    height: 36px;
    text-align: center;
    border-radius: 18px;
    z-index: 180;
    opacity: 0;
}

.main-menu-close > i{
    line-height: 36px;
}

body.non-touch-device .main-menu-close:hover,
body.non-touch-device .main-menu-close:active{
    background-color: #f0f0f0;
}

.menu-showing .main-menu-close {
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

#main-menu-box{
    padding: 0 18px;
    width: 100%;
    height: 100%;
    overflow: hidden auto;
    overflow-x: hidden;
    overflow-y: auto;

    opacity: 0;

    transition: transform 0, opacity 1s cubic-bezier(0.33, 1, 0.68, 1);
    transform: translateX(0) translateY(-10px) translateZ(0);
    pointer-events: none;
}

body.menu-showing #main-menu-box {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

#main-menu-box a > span,
#main-menu-box a.main-menu-pill{
    color: #333;
    transition: color 0.5s ease-in-out;
}

body.non-touch-device #main-menu-box a:hover > span,
body.non-touch-device #main-menu-box a:active > span,
body.non-touch-device #main-menu-box a.main-menu-pill:hover,
body.non-touch-device #main-menu-box a.main-menu-pill:active{
    color: #5378B7;
    transition: color 0.1s ease-in-out;
}

#main-menu-top-strut{
    width: 100%;
    height: 33px;
}

#mobile-title{
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
    text-align: center;
    opacity: 0.95;
}

#mobile-title > a{
    display: inline-block;
    padding: 4px 24px 0 24px;
}

#mobile-title > a > img{
    display: inline-block;
    width: 128px;
    height: 38px;
}

#main-item-box-1{
    margin: 14px 0 0 24px;
}

#main-item-box-2{
    padding: 18px 0 15px 24px;
    border-bottom: 1px solid #f1d59e;
}

#main-item-box-3{
    padding: 10px 0 9px 24px;
    border-bottom: 1px solid #f1d59e;
}

#main-item-box-4{
    padding: 10px 0 9px 24px;
}

#main-item-box-5{
    padding-top: 12px;
}

#main-item-box-5 > a{
    line-height: 20px;
    font-weight: normal;
    text-align: right;
}

#main-item-box-5 .help-label{
    display: inline-block;
    height: 20px;
    line-height: 20px;
    font-size: 8px;
    padding-left: 4px;
}

.main-menu-item{
    display: block;
    font-weight: bold;
    line-height: 40px;
}

.main-menu-item > i{
    margin-right: 10px;
    color: #d9d9d9;
    text-align: right;
    line-height: 40px;
    vertical-align: top;
}

.main-menu-item > span{
    font-size: 12px;
    vertical-align: top;
}

.main-menu-item > i.tag-icon{
    margin-top: 15px;
    border-color: #d9d9d9;
}

.main-menu-item > i.md-18{
    margin-right: 16px;
}

.main-menu-pill{
    display: inline-block;
    width: 82px;
    height: 43px;
    line-height: 44px;
    text-align: center;
    font-size: 12px;
    background-color: #f7f7f7;
    font-weight: bold;
    border-radius: 10px;
}

#main-menu-box .sub{
  color: #111;
}

#main-menu-box .sub a {
  padding: 8px 0 8px 24px;
}

#main-menu-box .sub.last a {
  margin-bottom: 8px;
}

/* covers the 'system bar' / notch of a mobile phone */
#mobile-system-bar-underlay{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 140px;
    background: #9A968D85;
    z-index: 10000;
    -webkit-transform: translate3d(0, -140px, 0);
       -moz-transform: translate3d(0, -140px, 0);
        -ms-transform: translate3d(0, -140px, 0);
         -o-transform: translate3d(0, -140px, 0);
            transform: translate3d(0, -140px, 0);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background-color: rgba(154, 150, 141, 0.85);
}

/* Page Overlay (where we show 'loading' indicator for page loads) */
#page-busy-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom:0;
    background-color: #fff;
    opacity: 0.001;
}

#page-busy {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
}

#page-busy.busy-visible{
    background: linear-gradient(-90deg, #a05800, #f1d59e, #a05800, #f1d59e);
	background-size: 300% 100%;
	animation: busyanimation 2.8s ease infinite;
}

@keyframes busyanimation {
	0% {
		background-position: 100% 50%;
	}
	50% {
		background-position: 50% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* Lotus */
.lotus-box{
    display: inline-block;
    text-align: center;

    width: 74px;
    height: 74px;
    margin: 32px 0 24px 0;
    font-size: 0;
    border-radius: 40px;
    opacity: 0.38;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

.lotus-box > img{
    width: 74px;
    height: 74px;
}

.links-list{
    text-align: center;
}
.links-list > a{
    font-size: 12px;
    color: #555;
    text-decoration: underline;
    font-weight: bold;
}

/* Footer */
.footer, .push {
    height: 79px;
}

.footer{
    display: block;
    background-color: #fff;
    color: #ececec;
    position: relative;
    margin: 0;
}

#footer-logo {
    display: block;
    position: absolute;
    left: 8px;
    bottom: 1px;
    width: 130px;
    height: 56px;
    background-image: url(../img/waharaka-logo-912x448-monochrome.png);
    background-size: 114px 56px;
    background-position: 0 0;
    background-position-x: 0;
    background-position-y: 0;
    background-repeat: no-repeat;
    cursor: default;
}

#footer-links {
    top: 32px;
    right: 2px;
}

    #footer-links.hero-links a {
        border-color: #777777;
        color: #a0a0a0;
        font-weight: bold;
        font-size: 11px !important;
        text-decoration: none;
        display: inline-block;
    }

        #footer-links.hero-links a:hover {
            text-decoration: none;
            color: #cecece;
        }

#cant-read-box{
  position: absolute;
  bottom: 3px;
  right: 9px;
  color: #888;
  text-align: right;
}

#cant-read-box a:hover,
#cant-read-box a:active,
#cant-read-box a:focus{
  text-decoration: underline;
}

#cant-read-box p{
  margin-bottom: 8px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 12px;
}

#cant-read-box a{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #888;
    text-decoration: underline;
}

#copyright {
    position: absolute;
    left: 0;
    bottom: 8px;
    right: 0;
    text-align: center;
    color: #888;
    font-size: 10px;
}

#copyright.playing{
    color: #4285f4;
    text-shadow: 0 0 10px #4285f4;
}

body.non-touch-device #copyright:hover{
    text-decoration: underline;
}

#footer-bottom {
    background-image: url("../img/footer-border.png");
    background-size: 11px 18px;
    height: 23px;
    background-repeat: repeat-x;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.2;
}

.dot-footer{
    width: 100%;
    height: 65px;
    text-align: center;
    padding: 23px;
  }

  .dot-footer > img{
      width: 12px;
      height: 12px;
  }

/* ========== TABS ========== */
/* (Page level tabs) */
.page-tab-bar{
    text-align: center;
    font-size: 0;
    margin: 25px 0 13px 0;
    border-bottom: 4px solid #f7f7f7;
}

.page-tab-bar > .tab{
    position: relative;
    display: inline-block;
    padding: 10px 16px 4px 16px;
    font-size: 13px;
    margin: 2px 0 -2px 0;
    color: #555;
    background-color: #f7f7f7;
    font-weight: bold;
}

.page-tab-bar > .tab span{
    position: relative;
}

.page-tab-bar > .tab > .tab-selected-indicator{
    position: absolute;
    display: block;
    background-color: #fff;
    left: 4px;
    top: 4px;
    right: 4px;
    bottom: -2px;
    border-radius: 6px 6px 0 0;
}

.page-tab-bar > .tab > .tab-selected-indicator > span{
    position: absolute;
    left: -8px;
    right: -8px;
    bottom: 0px;
    height: 8px;
    background-color: #fff;
}

.page-tab-bar > .tab > .tab-selected-indicator::before{
    content: "";
    position: absolute;
    left: -8px;
    bottom: 0;
    width: 8px;
    height: 8px;
    background-color: #f7f7f7;
    z-index: 100;
    border-radius: 0 0 8px 0;
}

.page-tab-bar > .tab > .tab-selected-indicator::after{
    content: "";
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 8px;
    height: 8px;
    background-color: #f7f7f7;
    z-index: 100;
    border-radius: 0 0 0 8px;
}

.page-tab-bar > .tab > .tab-selected-indicator::after{
    content: "";
    position: absolute;
    right: -8px;
    bottom: 0;
    width: 8px;
    height: 8px;
    background-color: #f7f7f7;
    z-index: 100;
    border-radius: 0 0 0 8px;
}

body.non-touch-device .page-tab-bar > .tab:hover{
    color: #555;
}

.page-tab-bar > .tab:first-child{
    border-radius: 10px 0 0 8px;
}

.page-tab-bar > .tab.show-left-bar::before{
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 2px;
    bottom: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.page-tab-bar > .tab.show-right-bar::before{
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    width: 2px;
    bottom: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.page-tab-bar > .tab:first-child::before{
    content: "";
    position: absolute;
    left: -3px;
    bottom: 0;
    width: 8px;
    height: 14px;
    background-color: #f7f7f7;
}

.page-tab-bar > .tab:first-child::after{
    content: "";
    position: absolute;
    left: -14px;
    bottom: 1px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-right: 1px solid #f7f7f7;
    border-bottom: 1px solid #f7f7f7;
    border-radius: 0 0 6px 0;
    z-index: 102;
}

.page-tab-bar > .tab:last-child{
    border-radius: 0 10px 8px 0;
}

.page-tab-bar > .tab:last-child::before{
    content: "";
    position: absolute;
    right: -3px;
    bottom: 0;
    width: 8px;
    height: 14px;
    background-color: #f7f7f7;
}

.page-tab-bar > .tab:last-child::after{
    content: "";
    position: absolute;
    right: -14px;
    bottom: 1px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-left: 1px solid #f7f7f7;
    border-bottom: 1px solid #f7f7f7;
    border-radius: 0 0 0 8px;
    z-index: 102;
}

.page-tab-bar > .tab .tab-footer{
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 12px;
    color: #0070c0;
    opacity: 0.82;
}

.page-tab-bar.secondary-tabs{
    border-bottom: none;
    text-align: left;
    margin: 0 0 0 2px;
}

.page-tab-bar.secondary-tabs > .tab{
    padding-bottom: 6px;
    margin-top: -4px;
}

.page-tab-bar.secondary-tabs > .tab > .tab-selected-indicator::before,
.page-tab-bar.secondary-tabs > .tab > .tab-selected-indicator::after,
.page-tab-bar.secondary-tabs > .tab:last-child::before,
.page-tab-bar.secondary-tabs > .tab:last-child::after,
.page-tab-bar.secondary-tabs > .tab:first-child::before,
.page-tab-bar.secondary-tabs > .tab:first-child::after,
.page-tab-bar.secondary-tabs > .tab > .tab-selected-indicator > span
{
    display: none;
}

.page-tab-bar.secondary-tabs > .tab > .tab-selected-indicator{
    bottom: 4px;
    border-radius: 6px;
    box-shadow: rgb(99 99 99 / 8%) 0px 2px 8px 0px;
}

.page-tab-box{
    padding: 24px 0;
}

/* ========== INLINE ALERTS ========== */
.inline-alert-container{
    position: relative;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
}

.inline-alert{
    color: #f7f7f7;
    font-size: 13px;
    position: relative;
    margin-bottom: 4px;
    border-radius: 11px;
    padding: 7px 24px 6px 10px;

    -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
}

.inline-alert-container > .inline-alert{
    position: absolute;
    left: 0;
    bottom: 100%;
    z-index: 1000;
}

.inline-alert a{
    position: absolute;
    display: block;
    top: 7px;
    right: 7px;
    width: 18px;
    height: 18px;
}

.info.inline-alert{
    background-color: #555;
}

.warning.inline-alert{
    background-color: #ff9900;
}

.error.inline-alert{
    background-color: #ff3050;
}

.error-message{
    position: relative;
    color: #f7f7f7;
    background-color: #555;
    padding: 10px 6px 7px 40px;
    border-radius: 10px;

    -webkit-box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 75%);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 3px 0px rgb(0 0 0 / 75%);
}

.error-message::before{
    content: "\e85a";
    position: absolute;
    left: 9px;
    top: 6px;
    color: #f7f7f7;
    font-family: 'Material Icons';
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* ========== SLICK ========== */
/* (Styling for the Slick plugin ) */
.slick-slider {
    position: relative;
    display: block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

/* ========== HAMBURGER ========== */
/* (Styling for the Hamburger plugin ) */
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
  padding: 5px 5px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; }
  .hamburger:hover {
    opacity: 0.7; }

.hamburger-box {
  width: 30px;
  height: 20px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: #000;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -8px; }
  .hamburger-inner::after {
    bottom: -8px; }

/*
 * Squeeze
 */
.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.1s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  .hamburger--squeeze .hamburger-inner::before {
    transition: top 0.1s 0.14s ease, opacity 0.1s ease; }
  .hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19); }

.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.14s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
  .hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease, opacity 0.1s 0.14s ease; }
  .hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1); }

/* Search page */
#search-page > hr.strong{
    margin: 0;
}

#search-page > p.description{
    margin-bottom: 70px;
}

#search-page .page-tab-box{
    padding-top: 0;
}

#search-page .page-tab-bar{
    margin-top: -4px;
}

#search-page .page-tab-bar.secondary-tabs{
    margin: -5px 0 12px 0;
}

/* Photos */
.photos-grid{
    width: 100%;
    min-height: 100%;
    text-align: center;
}

.photos-thumbs> a{
    position: relative;
    display: inline-block;
    margin: 7px;
    vertical-align: top;
    border-radius: 4px;
    padding: 24px;
    background-color: #f7f7f7;
    border: 1px solid #ececec;
}

.photos-thumbs > a.selected::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9px;
    width: 26px;
    height: 4px;
    border-radius: 3px;
    margin: 0 auto;
    -webkit-box-shadow: inset 1px 1px 5px 0px rgba(0,0,0,0.31);
    -moz-box-shadow: inset 1px 1px 5px 0px rgba(0,0,0,0.31);
    box-shadow: inset 1px 1px 5px 0px rgba(0,0,0,0.31);
}

.photos-thumbs > a > span{
    display: inline-block;
    vertical-align: middle;
    border-radius: 2px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 271px; /* Should match PHP constant PHOTO_THUMBNAIL_WIDTH */
    height: 271px; /* Should match PHP constant PHOTO_THUMBNAIL_HEIGHT */
    background-position: center;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
}

.photos-thumbs > a.loading {
    background-image: url('../img/gray-dot.png');
    background-size: 12px 12px;
    background-position: center;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
}

.photos-thumbs .photo-thumb-snap-to-top > span{
    background-position: 0 0;
    background-position: 0;
    background-position-y: 0;
}

.photo-viewer-viewport{
    position: absolute;
    left: 8px;
    top: 15px;
    right: 8px;
    bottom: 64px;
    background-color: #212124;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(56, 38, 5,0.46);
    -moz-box-shadow: 0px 0px 10px 0px rgba(56, 38, 5,0.46);
    box-shadow: 0px 0px 10px 0px rgba(56, 38, 5,0.46);
}

.photo-viewer-viewport > div{ /* slide */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    vertical-align: top;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;

    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;

    -moz-transform: scale(1.0) translate3d(0, 0, 0);
    -webkit-transform: scale(1.0) translate3d(0, 0, 0);
    transform: scale(1.0) translate3d(0, 0, 0);

    transition: transform 1s;
    transform-origin: center center;
}

.photo-viewer-viewport > div > span{
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    background-position-x: center;
    background-position-y: center;
    margin: 0% 0 0 0%;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.photo-viewer-viewport > div.zoomed{
    -moz-transform: scale(2.0) translate3d(0, 0, 0);
    -webkit-transform: scale(2.0) translate3d(0, 0, 0);
    transform: scale(2.0) translate3d(0, 0, 0);
    transition: transform 1s;
}

.photo-viewer-viewport > div.zoomed > span{
    cursor: default;
}

.photo-viewer-zoom-box{
    position: absolute;
    right: 20px;
    bottom: 76px;
    width: 104px;
    height: 104px;
    border-radius: 40px;
    opacity: 0;
    background-color: #aeaeae;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.36);
}

.photo-viewer-box.zoomed .photo-viewer-zoom-box{
    opacity: 0.7;
    pointer-events: all;
}

.photo-viewer-box .photo-viewer-zoom-box > a{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    width: 48px;
    height: 48px;
}

.photo-viewer-zoom-box > a > i {

    transition: transform 0.2s linear;
    -webkit-transition: transform 0.2s linear;
    -moz-transition: transform 0.2s linear;
    -ms-transition: transform 0.2s linear;
    -o-transition: transform 0.2s linear;

    transform: translateX(0) translateY(0) translateZ(0);
    -moz-transform: translateX(0) translateY(0) translateZ(0);
    -o-transform: translateX(0) translateY(0) translateZ(0);
    -ms-transform: translateX(0) translateY(0) translateZ(0);
    -webkit-transform: translateX(0) translateY(0) translateZ(0);
}

.photo-viewer-zoom-box > a.pressed > i {
    transition: transform 0s linear;
    -webkit-transition: transform 0s linear;
    -moz-transition: transform 0s linear;
    -ms-transition: transform 0s linear;
    -o-transition: transform 0s linear;
}

a.photo-viewer-zoom-up.pressed > i{
    transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
}

a.photo-viewer-zoom-down.pressed > i{
    transform: translateY(2px);
    -moz-transform: translateY(2px);
    -o-transform: translateY(2px);
    -ms-transform: translateY(2px);
    -webkit-transform: translateY(2px);
}

a.photo-viewer-zoom-left.pressed > i{
    transform: translateX(-2px);
    -moz-transform: translateX(-2px);
    -o-transform: translateX(-2px);
    -ms-transform: translateX(-2px);
    -webkit-transform: translateX(-2px);
}

a.photo-viewer-zoom-right.pressed > i{
    transform: translateX(2px);
    -moz-transform: translateX(2px);
    -o-transform: translateX(2px);
    -ms-transform: translateX(2px);
    -webkit-transform: translateX(2px);
}

.photo-viewer-box a.photo-viewer-zoom-up{
    bottom: auto;
    margin: 0 auto;
}

.photo-viewer-box a.photo-viewer-zoom-down{
    top: auto;
    margin: 0 auto;
}

.photo-viewer-box a.photo-viewer-zoom-left{
    right: auto;
    margin: auto 0;
}

.photo-viewer-box a.photo-viewer-zoom-right{
    left: auto;
    margin: auto 0;
}

.photo-viewer-box {
    position: absolute;
    display: none;

    background-image: url('../img/gold-background.jpg');

    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 6000;
    min-width: 280px;
}

body.photo-viewer-visible{
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

body.photo-viewer-visible{
    background-color: #212124;
}

body.photo-viewer-visible .photo-viewer-box{
    display: block;
}

body.photo-viewer-visible > footer,
body.photo-viewer-visible header{
    display: none !important;
}

body.photo-viewer-visible > #wrapper{
    margin: 0;
    padding: 0;
}

.photo-viewer-nav-box{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    width: 142px;
    margin: auto;

    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

.photo-viewer-box a{
    position: absolute;
    bottom: 8px;
    width: 48px;
    height: 48px;
    border-radius: 24px;
}

body.non-touch-device .photo-viewer-box a.pulse:hover > i,
body.non-touch-device .photo-viewer-box a.pulse:active > i{
    color: #fff !important;
}

.photo-viewer-nav-btn{
    bottom: 0;
    border: 2px solid #f0f0f0 !important;
}

.photo-viewer-box i{
    color: #f0f0f0;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.photo-viewer-nav-btn.prev{
    left: 0;
}

.photo-viewer-nav-btn.next{
    right: 0;
}

.photo-viewer-close-btn{
    bottom: 0;
    left: 8px;
}

.photo-viewer-zoom-btn{
    bottom: 0;
    right: 10px;
}

.photo-viewer-zoom-btn > i{
    font-size: 30px;
    margin: 8px;
}

.photo-viewer-zoom-btn > i.zoom-out{
    display: none;
}

.photo-viewer-box.zoomed .photo-viewer-zoom-btn > i.zoom-in{
    display: none;
}

.photo-viewer-box.zoomed .photo-viewer-zoom-btn > i.zoom-out{
    display: block;
}

a.photo-viewer-description-btn{
    display: none;
    left: 8px;
    right: auto;
    bottom: 64px;
    top: auto;
}

.photo-viewer-index-label{
    position: absolute;
    left: 46px;
    bottom: 4px;
    height: 44px;
    line-height: 44px;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #fff;
}

.photo-description-box{
    position: absolute;
    left: 8px;
    bottom: 64px;
    max-width: 428px;
    margin-right: 8px;
    text-align: center;
    padding: 12px 12px 12px 42px;
    min-height: 48px;
    color: #fff;
    background-color: #000;
    opacity: 0.45;
    border-radius: 0 8px 0 4px;
}

.photo-description-box > p{
    margin: 2px 46px 0 46px;
    color: #fff;
}

.photo-viewer-description-btn > i.description-on{
    display: none;
}

.photo-viewer-description-btn > i.description-off{
    display: block;
}

.photo-viewer-description-btn.description-visible > i.description-on{
    display: block;
}

.photo-viewer-description-btn.description-visible > i.description-off{
    display: none;
}

/* Share - copy option box */
#share-copy-box{
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    bottom: 0;
    z-index: -10000;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

#share-copy-box > input{
    margin-left: 40px;
    pointer-events: none;
}

/* Pulse effect */
.pulse {
    /* workaround for Chrome no respecting overflow attr when overflowing child is using hardware acceleration */
    transform: translateX(0);
    transition: color 0.6s linear;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .pulse-ripple {
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(220, 221, 222, 0.4);
    transform: scale(0);
    position: absolute;
    opacity: 1;
    z-index: -30;
  }

  .pulse-ripple-effect {
      animation: pulseRippleAnimation 1s linear;
  }

  @keyframes pulseRippleAnimation {
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }

  body.non-touch-device .pulse:hover,
  body.non-touch-device .pulse:active{
    color: #5378B7 !important;
    transition: color 0.1s linear;
  }

  body.non-touch-device .pulse:hover > i.material-icons,
  body.non-touch-device .pulse:active > i.material-icons{
    color: #5378B7 !important;
    transition: color 0.1s linear;
  }

  /* Recaptchar */
  .captchar-copyright-note,
  .captchar-copyright-note > a{
    text-align: center;
    font-size: 9px;
    color: #aeaeae;
  }

  .captchar-copyright-note > a{
    text-decoration: underline;
  }

  .grecaptcha-badge {
    visibility: hidden;
}