/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*LAYOUT*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*****************************************************************************************/
/*LAYOUT (BOTH)*/
/*****************************************************************************************/

#body-wrapper,
#main-wrapper { flex-wrap: wrap; }

#main-wrapper { justify-content: center; }

/*****************************************************************************************/
/*LAYOUT (LANDSCAPE)*/
/*****************************************************************************************/

@media all and (orientation: landscape) {}

/*****************************************************************************************/
/*LAYOUT (PORTRAIT)*/
/*****************************************************************************************/

@media all and (orientation: portrait) {}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*SIZES*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*****************************************************************************************/
/*SIZES (BOTH)*/
/*****************************************************************************************/

/*-----------------------------------------------------------*/
/*Proportions*/
/*-----------------------------------------------------------*/

#main-wrapper { width: 100%; }

/*-----------------------------------------------------------*/
/*Spaces*/
/*-----------------------------------------------------------*/

body { margin: 0em; padding: 2.5em; }

#main-wrapper { padding: 0 6em; margin-top: 0; }

/*-----------------------------------------------------------*/
/*Sizes*/
/*-----------------------------------------------------------*/

/*................................*/
/*Texts*/
/*................................*/

/*................................*/
/*Images*/
/*................................*/

/*................................*/
/*Misc*/
/*................................*/

/*****************************************************************************************/
/*SIZES (LANDSCAPE)*/
/*****************************************************************************************/

@media all and (orientation: landscape) {
    
    /*-----------------------------------------------------------*/
    /*Scales*/
    /*-----------------------------------------------------------*/
    
    html { font-size: 1.0vw; }
    
    /*-----------------------------------------------------------*/
    /*Proportions*/
    /*-----------------------------------------------------------*/
    
}

/*****************************************************************************************/
/*SIZES (PORTRAIT)*/
/*****************************************************************************************/

@media all and (orientation: portrait) {
    
    /*-----------------------------------------------------------*/
    /*Scales*/
    /*-----------------------------------------------------------*/
    
    html { font-size: 1.0vw; }
    
    /*-----------------------------------------------------------*/
    /*Proportions*/
    /*-----------------------------------------------------------*/
    
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*STYLES*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*****************************************************************************************/
/*DECORATIONS*/
/*****************************************************************************************/

/*-----------------------------------------------------------*/
/*Texts*/
/*-----------------------------------------------------------*/

html { font-family: 'Raleway', sans-serif; letter-spacing: 0.0625em; }

/*-----------------------------------------------------------*/
/*Images*/
/*-----------------------------------------------------------*/

/*-----------------------------------------------------------*/
/*Misc*/
/*-----------------------------------------------------------*/

html { overflow-y: scroll; }

/*****************************************************************************************/
/*COLORS*/
/*****************************************************************************************/

/*-----------------------------------------------------------*/
/*Texts*/
/*-----------------------------------------------------------*/

/*-----------------------------------------------------------*/
/*Foregrounds*/
/*-----------------------------------------------------------*/

/*-----------------------------------------------------------*/
/*Backgrounds*/
/*-----------------------------------------------------------*/

html { background-color: rgba(245,245,245,1); /*#2C6C94;*/ }

    body { background-color: rgba(245,245,245,1); }

/*-----------------------------------------------------------*/
/*Borders*/
/*-----------------------------------------------------------*/

* { border-radius: 0.25em; }

body { border-radius: 0; }

video { border-radius: 0.5em; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*MISCELLANEOUS*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*****************************************************************************************/
/*RESETS*/
/*****************************************************************************************/

* { margin: 0; padding: 0; }

ul { list-style-type: none; }

img,
video { vertical-align: middle; }

a:link,
a:visited,
a:active { text-decoration: none; color: #2C6C94; transition: color 0.3s; }
a:hover { color: #43A4E0; }

/*****************************************************************************************/
/*UNIVERSAL*/
/*****************************************************************************************/

* { box-sizing: border-box; }

.flex-container { display: flex; }

/*****************************************************************************************/
/*BETA*/
/*****************************************************************************************/

body { padding-top: 3em; }

div#scroll-top {
    height: 3em; width: 3em;
    position: fixed; right: 14%; bottom: 45vh;
    cursor: pointer;
    background: url('../img/icons/icon-arrow-up-2C6C94-256x256.png'), #EEE; background-size: cover;
    box-shadow: 0 0 2em 0em rgba(0,0,0,0.2); border-radius: 10em;
    visibility: hidden;
    opacity: 0;
}
div#scroll-top:after {
    content: 'Do góry'; color: #2C6C94; font-weight: bold;
    display: block;
    position: relative; top: 3.5em; left: calc(-4em + 1.5em);
    width: 8em; text-align: center;
}

.sermons-table td,
#nowe-kazania li { position: relative; }
.sermons-table td a,
#nowe-kazania li a { display: block; }
.audio-pop-up {
    z-index: 1; display: flex; position: absolute;
    color: #333;
    background-color: rgba(245,245,245,1);
    box-shadow: 0 0 0.5em 0 rgba(0,0,0,0.3);
}
.sermons-table .audio-pop-up { top: -5.8em; left: -7.5%; width: 115%; height: 6em; }
#nowe-kazania .audio-pop-up { top: -6.75em; left: -17.5%; width: 135%; height: 6.5em; }
.audio-pop-up:after {
    display: block; content: ''; position: absolute; left: calc(50% - 1em);
    width: 0em; height: 0em;
    border: 0.5em solid #AAA; border-left-color: transparent; border-right-color: transparent; border-bottom-color: transparent;
}
.sermons-table .audio-pop-up:after { top: 6em; }
#nowe-kazania .audio-pop-up:after { top: 6.5em; }
.audio-pop-up-choice-area {
    display: flex; flex-direction: column; justify-content: space-around;
    padding: 1em 0.5em; padding-left: 2em;
    width: 100%; height: 100%;
}
.audio-pop-up-listen-area {
    display: flex; align-items: center;
    width: 100%; height: 50%;
}
.audio-pop-up-listen-area audio {
    width: 100%; max-height: 100%;
}
.audio-pop-up-download-area {
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 0 0.5em;
    height: 50%;
}
.sermons-table .audio-pop-up-download-area { font-size: 0.9em; }
#nowe-kazania .audio-pop-up-download-area { font-size: 0.925em; }
.audio-pop-up-download-area a {
    color: #333 !important;
}
.audio-pop-up-download-area a:before {
    display: inline-block; content: ''; position: relative;
    margin-right: 0.5em;
    width: 1em; height: 1em;
    background: url('../img/icons/icon-download-333333-64x64.png'); background-size: cover;
}
.audio-pop-up-download-area a.audio-open-link:before {
    background: url('../img/icons/icon-new-window-555555-64x64.png'); background-size: cover;
}
.audio-pop-up-download-area a.audio-download-link:before {
    background: url('../img/icons/icon-download-555555-64x64.png'); background-size: cover;
}
.sermons-table .audio-pop-up-download-area a:before { top: 0.125em; }
#nowe-kazania .audio-pop-up-download-area a:before { top: 0.15em; }
.audio-pop-up-close-button {
    margin: 0 0.35em;
    font-size: 2em;
    height: 1em;
}
.audio-pop-up-close-button:hover {
    cursor: pointer;
    color: #888;
}
div.styled-audio-player {
    display: flex; align-items: center;
    width: 100%; height: 100%;
    background-color: #DDD;
}
.styled-play-button {
    margin-left: 0.5em;
    width: 1em; height: 1em;
    cursor: wait;
    border: none; outline: none; border-radius: 0;
}
.shown-play-button { background: url('../img/icons/icon-play-555555-64x64.png') center center no-repeat; background-size: contain; }
.shown-pause-button { background: url('../img/icons/icon-pause-555555-64x64.png') center center no-repeat; background-size: contain; }
.styled-timeline {
    position: relative;
    display: flex; align-items: center; justify-content: flex-start;
    margin: 0 1em;
    width: 100%; height: 0.9em;
    background-color: #EEE;
    cursor: wait;
}
.styled-playhead {
    width: 0.9em; height: 0.9em;
    background-color: #555;
    cursor: default;
}
.styled-duration-info {
    position: absolute; top: 0; right: 0.75em;
    font-size: 0.7em;
}

#miejsce-na-film div#zdjecie-powitalne {
    width: 100%; height: 21.21em;
    background: url('../img/pictures/jak-wyglada-nabozenstwo.jpg') center center no-repeat, #000; background-size: cover;
}
#miejsce-na-film div#zdjecie-powitalne:hover {
    cursor: pointer;
}
#miejsce-na-film div#zdjecie-powitalne a {
    display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 0;
    height: 100%; width: calc(100% - 0.2em);
}
#miejsce-na-film div#zdjecie-powitalne p {
    width: auto;
    padding: 0.7em 1em;
    font-size: 0.925em; font-size: 1.1em;
    font-weight: bold;
    color: white;
    background: rgba(44,108,148,0.7); transition: all 0.3s ease-in-out 0s;
    box-shadow: 0 0 1.2em -0.1em #000;
}
#miejsce-na-film div#zdjecie-powitalne:hover p {
    background: rgba(44,108,148,0.8);
}

.video-styled-elements-wrapper {
    display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 0;
    width: calc(100% - 0.2em); height: 21.21em;
    background: url('../img/pictures/jak-wyglada-nabozenstwo.jpg') center center no-repeat, #000; background-size: cover;
}
.video-styled-elements-wrapper:hover {
    cursor: pointer;
}
.video-big-play-button {
    padding: 1em;
    height: 3.5em; width: 3.5em;
    background: url('../img/icons/icon-play-ffffff-256x256.png') center center no-repeat, rgba(44,108,148,0.7); background-size: contain; background-origin: content-box;
    box-shadow: 0 0 1.2em -0.1em #000;
}
.video-styled-elements-wrapper:hover .video-big-play-button {
    background: url('../img/icons/icon-play-ffffff-256x256.png') center center no-repeat, rgba(44,108,148,0.8); background-size: contain; background-origin: content-box;
}

/*****************************************************************************************/
/*DEVELOPMENT*/
/*****************************************************************************************/
