.popup_container { display: none; }

/* ================================== */
/*             News popup             */
/* ================================== */

.news_popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.news_popup .popup {
    position: relative;
    width: 60%;
    padding: 100px 0;
    max-width: 900px;
    margin: 100px auto;
    background-color: #fff;
	border-radius: 20px;
	box-shadow: 0 0 50px #000;
    overflow: hidden;
}

.news_popup .popup p {
    width: 60%;
    padding: 0 100px;
    float: left;
}

.news_popup .popup p.text {
    text-align: justify;
}
.news_popup .popup p.title {
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
}

.news_popup .popup figure {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
}

.news_popup .popup .close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 15px 20px;
    border-radius: 100%;
    border: none;
    color: #fff;
    background-color: transparent;
    font-size: 40px;
    text-shadow: 0 0 10px #888;
    cursor: pointer;
    transition: 0.5s;
}

.news_popup .popup .close:hover {
    opacity: 0.6;
}

.news_popup .popup a {
	color: #00B976;
	text-decoration: none;
}
.news_popup .popup a:hover {
	text-decoration: underline;
}

.opacity_08 { opacity: 0.8; }
.opacity_06 { opacity: 0.6; }
.opacity_04 { opacity: 0.27; }
.opacity_02 { opacity: 0.1; }



@media all and (max-width: 1400px) {
    .news_popup .popup { width: 80%; padding: 70px 0; }
    .news_popup .popup p { padding: 0 70px; }
}

@media all and (max-width: 960px) {
    .news_popup .popup figure { width: 100%; height: 50vw; position: relative; margin-bottom: 50px; }
    .news_popup .popup p { float: none; width: 100%; padding: 0 50px; }
    .news_popup .popup { margin: 75px auto; padding-top: 0; padding-bottom: 50px; }
}
@media all and (max-width: 480px) {
    .news_popup .popup { margin: 50px auto; width: 92%; padding-bottom: 30px; }
    .news_popup .popup p { padding: 0 30px; }
    .news_popup .popup figure { margin-bottom: 30px; }
}
@media all and (max-height: 480px) {
    .news_popup .popup figure { display: none; }
    .news_popup .popup p { padding: 0 30px; }
    .news_popup .popup { padding: 30px 0; margin-top: 30px; }
    .news_popup .popup .close { margin: 5px 10px; }
}

/* ================================== */
/*           Special link             */
/* ================================== */
/*
.crop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
*/

body {
    overflow-x: hidden;
}

#special {
    position: absolute;
    top: 100vh;
    right: -50px;
    margin-top: -42px;
    padding: 10px 80px 10px 40px;
    background-color: rgba(16,16,16,0.7);
	
    -ms-transform: skew(-30deg, 0deg);
    -webkit-transform: skew(-30deg, 0deg);
    transform: skew(-30deg, 0deg);
    transition: 0.5s;
}
#special:hover { background-color: rgba(16,16,16,1); }

#special a {
    display: block;
    color: #cccccc;
	color: #02d8a6;
	font-size: 1.33em;
    font-weight: bold;
    text-decoration: none;

    -ms-transform: skew(30deg, 0deg);
    -webkit-transform: skew(30deg, 0deg);
    transform: skew(30deg, 0deg);
}

#special a:hover {
    text-decoration: underline;
}

@media all and (max-width: 960px) {
    #special {
        background-color: rgba(0,144,118,0.7);
        margin-top: 0;
        -ms-transform: skew(30deg, 0deg);
        -webkit-transform: skew(30deg, 0deg);
        transform: skew(30deg, 0deg);
    }
    #special:hover { background-color: rgba(0,144,118,1); }
    #special a {
        color: #eeeeee;
		font-size: 1.25em;
        -ms-transform: skew(-30deg, 0deg);
        -webkit-transform: skew(-30deg, 0deg);
        transform: skew(-30deg, 0deg);
    }
}

/* ================================== */
/*             Languages              */
/* ================================== */

nav i.fa {
    position: relative;
    top: 2px;
    margin-right: 5px;
    font-size: 1.2em;
    opacity: 0.75;
}

nav .language_menu dt {
    padding: 5px 10px 15px 10px;
    transition: 0.5s;
    overflow: hidden;
}

nav .language_menu .dropdown {
    background-color: rgba(44,44,44,1);
}

nav .language_menu:hover dt {
    background-color: rgba(44,44,44,1);
}

nav .language_menu .dropdown {
    position: absolute;
    top: 35px;
    left: 0;
    overflow: hidden;
    color: #aaaaaa;
}

nav .language_menu .dropdown dd { padding: 5px 10px; }
nav .language_menu dd:last-of-type { padding-bottom: 10px; }

nav .language_menu dt:hover, nav .language_menu dd:hover { text-decoration: underline; }

nav .language_menu dd { display: none; }

nav .language_menu {
    float: right;
    margin-top: 20px;
    margin-right: 20px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

dl.nav a {
    color: inherit;
    text-decoration: none;
}

nav .language_menu dt img {
    height: 24px;
    transition: 0.5s;
}
nav .language_menu:hover dt img { opacity: 0.2; }

nav .language_menu dd img {
    height: 31px;
    transition: 0.5s;
}
nav .language_menu dd:hover img { opacity: 0.6; }

nav .language_menu dd { margin: 5px; }
nav .language_menu dd:first-of-type { margin-top: 15px; }

nav .language_menu i.fa {
	position: relative;
	top: -5px;
}

/* ================================== */
/*              Slideshow             */
/* ================================== */

header { height: 100vh; min-height: 500px; }

body { overflow-x: hidden; }

#fader {
    background-color: #000000;
    opacity: 0.33;
}

#slideshow, #fader, #slideshow figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#slideshow figure {
    background-position: center;
    background-size: cover;
    background-color: #333;
}

.zoom {
    transform: scale(1);
    transition: 5s;
}

/* ================================== */
/*              Hexagons              */
/* ================================== */

nav .ukryj, nav .drugie { display: none; }

#main_menu {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
}

#cells_container {
    margin: 0 auto;
    /* border: 1px solid #ff7700; */
    overflow: hidden;
}

nav .cell_box {
    position: relative;
    padding: 0;
    margin: 0;
    width: 300px;
    height: 260px;
    /* border: 1px dashed #ffffff; */
    float: left;
}

.cell {
    position: absolute;
    top: 0;
    left: 0;
    width: 99%;
    height: 99%;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.cell_border { background-image: url("../media/images/hexagon.svg"); }
.cell_fill { background-image: url("../media/images/hexagon_filled.svg"); opacity: 0; transition: 1s; }


.cell_box {
    position: relative;
    color: #ffffff;
}

.cell_box dl {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 90%;
    margin: 5% 12.5%;
    /* background-color: rgba(255,125,0,0.5); */
    text-align: center;
    overflow: hidden;
    cursor: pointer;
}
.cell_box dd {
    transition: 0.5s;
    text-align: left;
    padding: 0 10%;
    white-space: nowrap;
    display: none;
}

.cell_box dt {
    position: relative;
    padding-top: 50%;
    top: -10px;
    transition: 0.5s;
    font-weight: 900;
}
.cell_box dt i {
    display: none;
}
.cell_box dd {
    font-size: 0.5em;
    opacity: 0.7;
    margin-bottom: 5px;
}


.cell_box dl:hover {
    color: #333333;
}

.cell_box:hover .cell_fill { opacity: 0.9; }

dl.nav a {
    color: inherit;
    text-decoration: none;
}

/* ================================== */
/*            News dropdown           */
/* ================================== */

.cell_num-4 .submenu:hover dt {
    padding-top: 25%;
}

.cell_num-4 dl:hover dd {
    display: block;
}
.cell_num-4 dd:hover {
    text-decoration: underline;
}

/* ================================== */
/*              Language              */
/* ================================== */

nav .language_menu {
    position: absolute;
	float: none;
    top: 0px;
    right: 0px;
}



