
/*
10px : 0.625rem
11px : 0.6875rem
12px : 0.75rem
*/

/* ===== BASIC AND COMMON ELEMENTS ====== */

* {
    box-sizing: border-box;
    position: relative;	
	/* iPhone / windows Phone fix, I want explicit presentation */   
	-webkit-text-size-adjust:none;
	-ms-text-size-adjust:none;	   
}

/* Animations */

header,
header h1,
nav,
nav > a {
    -moz-transition: all ease-in-out 350ms;
    -o-transition: all ease-in-out 350ms;
    -webkit-transition: all ease-in-out 350ms;
    transition: all ease-in-out 350ms; 
}

body {
	display: table;
	position: absolute;
	width: 100%;
	height: 100%;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
    font-size: 0.75rem;
    overflow: hidden;
}
#pageWrapper {
	display: table-cell;
	vertical-align: middle;    
    background: url(img/sky.jpg);
    background-size: cover;    
}
#pageHolder {	
    max-width: 1024px;
    margin: 0 auto;
    padding: 5px;
    background-color: rgba(255,255,255,.15);
}

#main {
    position: relative;     
    padding-bottom: 10px;
    -moz-transition: all ease-in-out 350ms;
    -o-transition: all ease-in-out 350ms;
    -webkit-transition: all ease-in-out 350ms;
    transition: all ease-in-out 350ms;     
    height: 358px;
    overflow: hidden;    
}
.hidden {
    display: none;
    -moz-transition: all ease-in-out 350ms;
    -o-transition: all ease-in-out 350ms;
    -webkit-transition: all ease-in-out 350ms;
    transition: all ease-in-out 350ms;       
}

p {
    margin: 0.375rem 0;
	font-weight: 400;
    font-size: 1rem;
	color: #000;
}
sup {
    vertical-align: super;
    font-size: 1.4vh;
    padding: 0.3vw;
}
a {
    color: #000;
	text-decoration: none;	
	cursor: pointer;
}
a:hover, a:active, a.active {	
	color: #ffffff;
    text-decoration: none;
    background: rgba(12, 2, 84, 0.4);
}

a, img {
    -moz-transition: all ease-in-out 350ms;
    -o-transition: all ease-in-out 350ms;
    -webkit-transition: all ease-in-out 350ms;
    transition: all ease-in-out 350ms;
}

h2 {
    color:#fff;    
    text-shadow: 1px 1px 2px #000;
    letter-spacing: 1px;
    font-size: 14px;    
    padding: 4px 8px;
    margin: 8px 0;
    background: rgba(0, 0, 0, 0.4);
}

h3 {
    color: #fff;
    text-shadow: 1px 1px 2px #000;    
    letter-spacing: 1px;
    font-size: 12px;    
    margin: 6px 0;    
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.2);
}

.center {
    text-align: center;
}

hr {
    height: 1px;
    background-color: #000;
    border: none;
    outline: none;
    margin: 24px;   
}
hr::before {
    content: "";
    position: absolute;    
    top: 0;    
    left: 50%;    
    background-color: #fff;    
    color: #000;
    -webkit-transform: translate(-50%, -50%);    
    transform: translate(-50%, -50%);    
    border: 1px solid #000;
    border-radius: 50%;    
    padding: 5px;
}

.article-list li,
.faded-block,
footer {
    background:rgba(255, 255, 255, 0.5);
    margin-top: 10px;    
    padding: 15px;
    border-radius: 4px;
    font-size: 1rem;
}

/* .article-list li:nth-child(even) {
    background:rgba(255, 255, 255, 0.5);
} */

.article-list a > span { 
    display: block;
    margin-top: 8px;
} 

.article-list img {  
    max-width: 400px; 
    width: auto;
    height: auto;
    float: left;
    margin-right: 10px;    
} 

.article-list h4 {  
    margin-bottom: 15px;  
    font-size: 20px;  
} 

.article-list div.short-text {
    color: #000;  
    font-size: 1rem;
} 

.article-list div.short-text::after { 
    content: "";
    clear: both;
    display: block;
}

.detail img {
    max-width: 100%; 
    width: auto;
    height: auto;
}

.detail > div {
    margin-top: 10px;
}

.pagination {
    margin-top: 10px;
}
.pagination li {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);    
    margin-right: 5px;    
    text-align: center;    
    padding: 5px 8px;    
    min-width: 20px;    
    border-radius: 3px;
    cursor: pointer;
}
.pagination li.prev {
    margin-right: 20px;
}
.pagination li.next {
    margin-left: 20px;
}
.pagination li.disabled {
    cursor: default;
}
.pagination li.disabled a {
    color: rgba(81, 81, 81, .2); /* dark gray opacity .2 */
    cursor: default;
}
.pagination li.active {
    background: #7b7979; /* light gray */
    cursor: default;
}
.pagination li.active a {
    cursor: default;    
}
.pagination li a {
    color: #000;
}

.actionLink {
    background: rgba(0, 0, 0, 0.6);
    margin: 0 10px 0 0;
}

#preloader {
    pointer-events: none;
    display: none;
    position: fixed;
    top: 0;
    left: 0;  
    width: 100%;
    height: 100%;
    background: url(img/loading.gif) 50% 50% no-repeat;
}

#cookieCompliant {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #000;
    background-color: rgba(173, 216, 230, 0.8); /* lightblue */
    padding: 5px 10px;
}
#cookieCompliant span {
    display: table-cell;
    padding: 5px;
    vertical-align: middle;   
}
#cookieCompliant .ok {
    background-color: rgba(113, 75, 151, 0.7);
    padding: 2px 10px;
    width: auto;
}

#toTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: #074a90;  /* darkblue */
    padding: 5px;
    color: #fff;
    text-align: center;
    font-size: 20px;    
}
.audio-activated #toTop {
    bottom: 115px;
}

/* ===== HEADER ELEMENTS ====== */

header {
    height: 60px;
    margin-bottom: 3px;
}
header h1 {
    position: absolute;
    right: 70px;
    top: 20px;
    font-size: 22px;
    font-family: Inder;
    line-height: 20px;    
    text-align: right;
    color: #fff;
    text-shadow: 3px 3px 2px #000;
}
header img {
    position: absolute;
    right: 0;    
    top: 0;    
    height: 100%;
}

nav {
    position: relative;
    padding-right: 100px;
}
nav a,
.actionLink {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 5px 5px 0;
    line-height: 16px;
    /* background: rgba(0, 0, 0, 0.6); */
    color: #fff;   
    border-radius: 2px;    
}

nav > a {
    padding: 4px 6px 4px 0;
    font-size: 18px;
    font-family: Inder;
    line-height: 20px;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: 4px 10px;
    text-shadow: 2px 2px 2px #000;
}
nav > a:hover {
    border-bottom: 3px solid #000;
}

nav aside {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
nav aside a {
    background: rgba(255, 255, 255, 0.2);
}
nav aside a:last-of-type {
    margin-right: 0;
}

.hamburger {
    display: none;
}


/* ===== FORMS AND FORM ELEMENTS ===== */

form.search {
    display: inline-block;
    margin: 0 5px 0 10px;
}
form.search div {
    display: inline-block;
    position: absolute;
    right: 29px;
    overflow: hidden;    
    -moz-transition: all ease-in-out 350ms;
    -o-transition: all ease-in-out 350ms;
    -webkit-transition: all ease-in-out 350ms;
    transition: all ease-in-out 350ms;
    width: 0;
}
form.search div.opened {
    -moz-transition: all ease-in-out 350ms;
    -o-transition: all ease-in-out 350ms;
    -webkit-transition: all ease-in-out 350ms;
    transition: all ease-in-out 350ms;   
    width: 200px;
}
form.search div input {
    border: 1px solid #7b7979; /* light gray */
    padding: 0 27px 0 5px;
    width: 100%;  
    height: 24px;    
    border-radius: 3px; 
    margin-right: 5px;
      
}
button {
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    width: 24px;
    height: 24px;
    padding: 3px;    
    cursor: pointer;
    border-radius: 2px;
}
button.close {
    position: absolute;
    width: 20px;
    height: 20px;    
    top: 2px;    
    background-color: transparent;
    -moz-transition: all ease-in-out 350ms;
    -o-transition: all ease-in-out 350ms;
    -webkit-transition: all ease-in-out 350ms;
    transition: all ease-in-out 350ms;
    right: 2px;   
}
::-webkit-input-placeholder { /* Edge */
    color: #ccc;
}
:-ms-input-placeholder { /* Internet Explorer */
    color: #ccc;
}
::placeholder {
    color: rgba(0, 0, 0, 0.5);
    padding-left: 10px;
}


label.checkbox {
    font-size: 18px;
    display: grid;
    grid-template-columns: 40px auto;
    margin: 10px;
    cursor: pointer;
}
  
input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 */
    background-color: var(--form-background);
    /* Not removed via appearance */
    font: inherit;
    width: 22px;
    height: 22px;
    border: 1px solid currentColor;
    border-radius: 3px;
    transform: translateY(-4px);  
    display: grid;
    place-content: center;
}
  
input[type="checkbox"]::before {
    content: "";
    width: 12px;
    height: 12px;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    box-shadow: inset 12px 12px #fff; /* rgba(113, 75, 151, 0.8); */
    /* Windows High Contrast Mode */
    background-color: #000;
}
  
input[type="checkbox"]:checked::before {
    transform: scale(1);
}
  





/* ===== HOME ===== */

.introduction {  
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    font-size: 17px;
}

.calendar-holder > * {
    border: 10px solid white;   
    max-width: 575px;
    width: 100%;
    height: 575px;    
    border-radius: 4px;    
}

footer {
    padding-bottom: 0;
}

footer::after {
    content: "";
    display: block;
    height: 20px;
}

footer a {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
}

footer div {
    margin-top: 10px;
    color: #7b7979; /* light gray */
}

footer div a {
    color: #7b7979 !important; /* light gray */
}

/* ===== GALLERY ===== */

.gallery .preview-holder {
    display: flex;
}

.gallery a {   
    display: block; 
    width: 200px;
    min-width: 200px;
    margin: 0 15px 15px 0;
}

.gallery a.noimage {    
    width: 0;
    min-width: 0;
    margin: 0;
}

.gallery a:hover img {    
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);    
}
.gallery a img {
    float: none;
    width: 100%;	    
    /* for IE fix, see js code 'IE grayscale fix' */
}

/* ===== ABOUT ===== */

.about-footnote-holder {
    padding: 10px;
    background-color: rgba(255,255,255,.15);
    border-bottom: 1px solid #000;
}
.about-footnote {
    background-color: #fff;

    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
    height: 0;    

    transition: opacity .5s, 
    margin-top .5s,
    padding .5s;
}

.about-footnote.open {
    opacity: 1;
    overflow: visible;  
    margin-top: 10px;
    padding: 10px;
    height: 100%;
}

/* ===== SERMONS ===== */

button.sermons-archive {
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 20px;    
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

/* ===== SONGS AND PLAYLIST ===== */

/* 
.songs li > a {    
    display: block;
    max-width: 75%;
    font-weight: bold;
} 
*/
.songs li > div {    
    float: right;
    bottom: 20px;    
}
.sort span {
    display: inline-block;
    margin: 5px 10px 0 0;
}
.actionLink.ascdesc {
    padding-top: 3px;
    padding-bottom: 5px;
}
.songs .actionLink {
    bottom: 5px;
}

.article-list.songs h4 {  
    margin-bottom: 0;  
}

.actionLink.smallAudioUrl {
    margin: 0 0 0 5px;
}

.songPage {
    margin-right: 5px;
}

/* Song and news detail: */

.actionLink.audioUrl {
    width: 100%;
    height: auto;
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Playlist: */

#audioPlayList {
    /* display: none; */
    width: 98%;
    margin-bottom: 5px;
    max-height: 250px;
    overflow-y: scroll;
    overflow-x: hidden;   
    position: relative;
    border: 3px solid rgba(0, 0, 0, .85);
    border-radius: 3px;
    padding: 3px 3px 0 3px;     
}

#audioPlayList.minimized {
    display: none;
}

#audioPlayList > div {
    background-color: rgba(32, 54, 90, .85);
    color: #fff;
    text-shadow: 3px 3px 2px #000;
    padding: 10px;
    margin-bottom: 2px;
    border-radius: 3px;
}

#audioPlayList > div.dragged {
    background-color: rgba(0,0,0,.9);
}

#audioPlayList .playing {
    color: rgba(173, 216, 230, 0.8);
}

#audioPlayList > div a {
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 24px;
    height: 24px;
    line-height: 20px;
    display: block;
    text-align: center;
    text-shadow: none;
    position: absolute;
    top: 5px;
    color: #fff;
}

#audioPlayList > div a:hover {
    color: #000;
}

#audioPlayList > div a[disabled] {
    color: rgba(255, 255, 255, .3);
    border: 1px solid rgba(255, 255, 255, .3);
    cursor: default;
}

#audioPlayList > div a[disabled]:hover {
    background: transparent;
}

#audioPlayList > div a.up {
    right: 70px;
}

#audioPlayList > div a.down {
    right: 40px;
}

#audioPlayList > div a.delete {
    background: #cc0000;
    right: 5px;
}

/* Player: */

#audioTitle {
    display: none;
    background-color: rgba(0,0,0,.25);
    color: #fff;
    width: 98%;
    margin-bottom: 1px;
    padding: 6px;
    text-shadow: 2px 2px 2px #000;
    letter-spacing: 1px;
    text-align: center;
}

#audioPlayerHolder {
    display: none;
    position: fixed; 
    left: 10px; 
    bottom: 10px; 
    width: calc(100% - 20px);
    z-index: 9999;
}
.audio-activated #audioPlayerHolder {    
    display: block !important;
}
#audioPlayerHolder .toggle {    
    position: absolute;
    top: -30px;
    left: calc(98% - 25px);
    padding: 3px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    border: 3px solid rgba(0, 0, 0, .65);
    border-radius: 3px;  
    width: 25px;
    height: 25px;
    text-align: center;
    padding-top: 1px;
    cursor: pointer;      
}
#audioPlayer {
    width: 98%;    
}
#audioPlayerHolder button {
    background: #000;
    color: #fff;
    position: fixed;
    right: 5px;
    bottom: 25px;
}

/* ========= QUIZ ======== */

#quiz h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

#quiz button {
    width: auto;
    height: auto;
    padding: 10px 20px;
    margin-top: 10px;    
}
#quiz.end > div {
    text-align: center;
}
#quiz.end > div > * {
    line-height: 36px;
    margin-top: 10px;
}
#quiz.end .medium {
    font-size: 24px;
}
#quiz.end .big {
    font-size: 36px;
}
#quiz.end .small {
    font-size: 16px;
}
#quiz button.report {
    margin: 20px auto 0 auto;
    padding: 10px 50px;
    border-radius: 5px;
    background-color: rgba(113, 75, 151, 0.8);
    color: #fff;
    font-size: 16px;
    display: block;
}
#quiz button.report.replay  {
    margin-top: 50px;
}
#quiz button.report.analyze  {
    background-color: rgba(88, 151, 75, 0.5);
}
#quiz button.report.score  {
    background-color: rgba(150, 151, 75, 0.5);
}
#quiz h4 {
    font-size: 18px;
    margin-top: 25px;
}
#quiz .correct-true {
    color: #12dc12;
}
#quiz .correct-false {
    color: #e75d5d;
}
#quiz.analyze ul {
    margin-left: 50px;
}
#quiz .checkmark {
    position: absolute;
    left: -35px;
    top: -3px;
    color: #12dc12;;
}
#quiz .x-mark {
    position: absolute;
    left: -40px;
    top: -3px;
    color: #e75d5d;
}
#quiz .analyze {
    background-color: #e4e4d5;
    padding: 12px;
}
#quiz .quiz-selection {
    display: block;
    text-align: center;
    margin-left: 100px;
    background-color: rgba(150, 151, 75, 0.5);
}



/* ============== RESPONSIVE =============== */

/* @media screen and (max-width: 1224px) {} */

@media screen and (max-width: 1024px) {
    header {
        height: 30px;   
    }
    header h1 {
        font-size: 12px;
        line-height: 12px;
        top: 10px;
        right: 40px;
    }
    nav > a {
        font-size: 16px;
        line-height: 16px;
        padding-top: 6px;
    } 
}

@media screen and (max-width: 624px) {
    .article-list img {
        max-width: 100%;
        width: auto;
        float: none;
        margin-right: 0;    
    }  
}

 @media screen and (max-width: 480px) {
    .hamburger {
        display: block;
        background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAAA9CAYAAADCmxXeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwMy8zMC8xNQHkQuMAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAACMElEQVR4nO3czZGiQBjG8T9de9cIZDNQSWAxAjGCQUlgQjCESYAqjGA1gsUEKCaDIQM2AuYAPeN87Mntt6vg/R3x8tRzotqnCbquwwqjLAYegS3qXhfgqany0j4IbNlhlBXAg5dY43ZqqjwFMKBFO/Yw9EuwWB9i4I/PNBOxMUDqO8VEpAZIfKeYiMQAM98pJmJmfCeYEgPUvkNMRG2Aq+8UE3E1wBFoPQcZuxY4mqbKW2DvO83I7Zsqbw1AU+VnYAe8eI00Pi/Abuj3/WzECqNsC6zkc41O3VT55fbBl7KVO/qeLUjLFqRlC9KyBWnZgrRsQVq2oB//+iGMshUwF8wyFm1T5d+epAafpgwp/ZRhKRJr3J7ppwyFfRB0XUcYZXOgREt24RmI3w6igDNatCtL+n4JFutDAvz2m2cSdjplkJMadNcnZavv2YK0bEE6ZZBTG+DkO8VEnAxQoFMG11qgsFOGDVq4Ky2wuZ0y1PSFlz5TjVBJX3QN308ZVsAv9MTvHi1w/Xz6p1MGQfqeLUjLFqRlC9KyBWnZgrRsQVq2IC1bkJYt6MtIJ4yyBL158D/U9nqHdfsJjAR4AkIPwcaqAR4/3KkZitY5gzu7psrPwWJ9mNPfatI77O78BX7aS6datFsz4GiA2HOQqYgNuvGTstT3bEEG/aNXSmvovz+n3LvY3YhyrzDDFxULz0HGrmiqvLS7kT1auCvF0O/7qd/wYMNwJUHd7Uw/0Hn7cM4rXXWsX5asydgAAAAASUVORK5CYII=') no-repeat 0 0;
        background-size: contain;
        background-position-y: center;
        height: 30px;
    }
    .menu-hidden {   
        opacity: 0;
        pointer-events: none;
    }
    nav {     
        opacity: 1;
        position: fixed;
        width: calc(100% - 9px);
        background: rgba(0, 0, 0, 0.8);
        z-index: 10;
        top: 38px;
        left: 5px;
        padding: 0 5px;
        border-radius: 5px;
    }
    nav > a {    
        display: block;
        margin: 5px 0 5px 0;
    }
    nav > a:hover {
        border-bottom: 3px solid transparent;
    }
    nav aside {  
        position: relative;      
    }    
    nav aside a { 
        display: block; 
        margin: 5px 0 5px 0;
        background: rgba(255, 255, 255, 0.6);
    }   
    nav aside form.search div {
        display: block;
        left: 29px;
        right: unset;
    }
    nav aside .show-search {
        background-color: rgba(255, 255, 255, 0.75);
    }

    .gallery a {
        width: 100%;
        min-width: 100%;
        margin: 0 0 15px 0;
    }
    .gallery .preview-holder {
        display: block;
    }
 } 