/* GALLERY NEXT GEN */ 
.explicity_big_photo img{position:relative;float:left;width:auto;max-width:100%;height:50vh;}
.gallery_next_gen{z-index:10;}
.gallery_next_gen.fullscreen{position:fixed !important;z-index:200;float:none !important;height:auto;font-family:"GeomanistLight";margin-top:0;margin-bottom:0;top:0;left:0;right:0;bottom:0;background-color:white;}
.gallery_next_gen{position:relative;float:left;width:100%;margin-top:50px;margin-bottom:50px;}
.gallery_next_gen .gallery_first{position:relative;float:left;margin-top:0px;width:100%;padding-left:50px;}
.gallery_next_gen .gallery_second{position:relative;float:left;margin-top:50px;margin-bottom:50px;width:100%;}

.gallery_next_gen .gallery_next_gen_element{position:relative;float:left;width:auto; max-width:100%;height:100%;padding:0;}


.gallery_next_gen .gallery_next_gen_element img{position:relative;float:left;height:200px;width:auto;}
.explicity_big_area .gallery_next_gen_element img{height:50vh}

.next_gen_desc{display:none;}
/*.gallery_next_gen .gallery_next_gen_element a:hover:after{cursor:pointer;content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.4);transition:all 0.5s ease;}
.gallery_next_gen .gallery_next_gen_element a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0);transition:all 0.5s ease;}
*/
.gallery_next_gen_element.type_file a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/pdf_icon.svg')}
.gallery_next_gen_element.type_film a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/film_icon.svg')}
.gallery_next_gen_element.type_music a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/music_icon.svg')}
/*
.gallery_next_gen_element.type_file a:hover:after{background-color:rgba(245,245,245,1);}
.gallery_next_gen_element.type_film a:hover:after{background-color:rgba(245,245,245,1);}
.gallery_next_gen_element.type_music a:hover:after{background-color:rgba(245,245,245,1);}

.gallery_next_gen:after{content:'';position:absolute;bottom:-15px;left:0;width:calc(210px + 15px);height:1px;background-color:#4a4037;}
*/
.gallery_next_gen.fullscreen .gallery_first{padding-left:0}
.gallery_next_gen .extended_prev{position:absolute;background-color:transparent;left:0px;z-index:1;top:70px;height:20px;background-image:url('../../../img/main/boxes/arrow_left_wiedza.svg');background-size:contain;background-repeat:no-repeat;background-position:top left;;width:30px;}
.gallery_next_gen .extended_next{position:absolute;background-color:transparent;left:0px;z-index:1;bottom:70px;height:20px;background-image:url('../../../img/main/boxes/arrow_right_wiedza.svg');background-size:contain;background-repeat:no-repeat;background-position:bottom left;width:30px;}
.gallery_next_gen.fullscreen .extended_prev{position:absolute;background-color:transparent;left:0px;z-index:1;top:0;bottom:0px;height:auto;background-image:url('../../../img/main/boxes/arrow_left_wiedza.svg');background-size:50%;background-repeat:no-repeat;background-position:center center;width:30px;}
.gallery_next_gen.fullscreen .extended_next{position:absolute;background-color:transparent;left:auto;right:0px;z-index:1;top:0;bottom:0px;height:auto;background-image:url('../../../img/main/boxes/arrow_right_wiedza.svg');background-size:50%;background-repeat:no-repeat;background-position:center center;width:30px;}
.extended_next:hover,.extended_prev:hover{cursor:pointer;}
.gallery_next_gen.fullscreen .gallery_next_gen_element{z-index:999;position:relative;float:left;border:0px solid white;height:calc(100vh - 30px);border:0px solid red}
/*.gallery_next_gen.fullscreen .gallery_next_gen_element img{position:relative;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);float:none;margin:0 auto;max-height:calc(100vh - 100px);max-width:calc(100% - 40px);height:auto !important;}*/
.gallery_next_gen.fullscreen .gallery_next_gen_element img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);float:none;margin:0 auto;max-height:calc(100vh - 100px);max-width:calc(100% - 80px);height:auto !important;}
.gallery_next_gen.fullscreen .gallery_next_gen_element .video_overlay{position:absolute;top:0px;/*bottom:0;*/;height:100%;text-align:center;left:0px;right:0px;background-color:transparent;z-index:100;opacity:0;}
.gallery_next_gen.fullscreen .gallery_next_gen_element .video_overlay video{position:relative;top:50vh;-webkit-transform:translateY(-50%);transform:translateY(-50%);float:none;margin:0 auto;max-width:calc(100% - 80px);;max-height:calc(100vh - 100px);}
.gallery_next_gen.fullscreen .gallery_next_gen_element .video_overlay iframe{position:relative;border:0 !important;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);float:none;margin:0 auto;max-width:calc(100% - 80px);;max-height:calc(100vh - 100px);width:calc(100% - 80px);;height:calc(100vh - 100px);}

.gallery_next_gen.fullscreen .gallery_next_gen_element.type_film a:after{background-position:center center;}
.gallery_next_gen.fullscreen .gallery_next_gen_element.type_youtube a:after{background-position:center center;}

.gallery_next_gen.fullscreen .next_gen_desc{display:block;position:absolute;top:0;left:40px;right:40px;z-index:40;border:0px solid white;font-size:16px;padding-left:15px;padding-right:15px;color:#2e2b57;line-height:1.1}
.close_gallery{display:none;}
.fullscreen .close_gallery{display:block;position:relative;float:right;font-size:20px;color:white;margin-right:40px;margin-top:10px;}
.fullscreen .close_gallery img{width:15px;transition:all 0.5s ease;}
.fullscreen .close_gallery .close_text{position:relative;float:left;font-size:12px;color:black;font-weight:700;padding-right:10px;padding-top:7px;}
.fullscreen .close_gallery:hover{cursor:pointer;}
.fullscreen .close_gallery:hover img{cursor:pointer;width:15px;transition:all 0.5s ease;}
 :not(.fullscreen) .gallery_next_gen_element > a:hover{cursor: url(../../../img/main/lupka.svg), auto !important;}

/* NEXT GEN  VIA ARTICLE*/

.gallery_next_gen_via_article{z-index:10;}
.gallery_next_gen_via_article.fullscreen{position:fixed !important;z-index:200;float:none !important;height:auto;font-family:"GeomanistLight";margin-top:0;margin-bottom:0;top:0;left:0;right:0;bottom:0;background-color:white;}
.gallery_next_gen_via_article{position:relative;float:left;width:100%;margin-top:50px;margin-bottom:50px;}
.gallery_next_gen_via_article .gallery_first{position:relative;float:left;margin-top:0px;width:100%;padding-left:50px;}
.gallery_next_gen_via_article .gallery_second{position:relative;float:left;margin-top:50px;margin-bottom:50px;width:100%;}

.gallery_next_gen_via_article .gallery_next_gen_element{position:relative;float:left;width:auto; max-width:100%;height:100%;padding:0;}


.gallery_next_gen_via_article .gallery_next_gen_element img{position:relative;float:left;height:200px;width:auto;}
.explicity_big_area .gallery_next_gen_element img{height:50vh}

.next_gen_desc{display:none;}
/*.gallery_next_gen_via_article .gallery_next_gen_element a:hover:after{cursor:pointer;content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.4);transition:all 0.5s ease;}
.gallery_next_gen_via_article .gallery_next_gen_element a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0);transition:all 0.5s ease;}
*/
.gallery_next_gen_element.type_file a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/pdf_icon.svg')}
.gallery_next_gen_element.type_film a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/film_icon.svg')}
.gallery_next_gen_element.type_music a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/music_icon.svg')}
.gallery_next_gen_element.type_youtube a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/film_icon.svg')}

/*
.gallery_next_gen_element.type_file a:hover:after{background-color:rgba(245,245,245,1);}
.gallery_next_gen_element.type_film a:hover:after{background-color:rgba(245,245,245,1);}
.gallery_next_gen_element.type_music a:hover:after{background-color:rgba(245,245,245,1);}

.gallery_next_gen_via_article:after{content:'';position:absolute;bottom:-15px;left:0;width:calc(210px + 15px);height:1px;background-color:#4a4037;}
*/
.gallery_next_gen_via_article.fullscreen .gallery_first{padding-left:0}
.gallery_next_gen_via_article .extended_prev{position:absolute;background-color:transparent;left:0px;z-index:1;top:45px;height:30px;background-image:url('../../../img/main/boxes/arrow_left.svg');background-size:contain;background-repeat:no-repeat;background-position:top left;;width:40px;}
.gallery_next_gen_via_article .extended_next{position:absolute;background-color:transparent;left:0px;z-index:1;bottom:45px;height:30px;background-image:url('../../../img/main/boxes/arrow_right.svg');background-size:contain;background-repeat:no-repeat;background-position:bottom left;width:40px;}
.gallery_next_gen_via_article.fullscreen .extended_prev{position:absolute;background-color:transparent;left:0px;z-index:1;top:0;bottom:0px;height:auto;background-image:url('../../../img/main/boxes/arrow_left.svg');background-size:50%;background-repeat:no-repeat;background-position:center center;width:40px;}
.gallery_next_gen_via_article.fullscreen .extended_next{position:absolute;background-color:transparent;left:auto;right:0px;z-index:1;top:0;bottom:0px;height:auto;background-image:url('../../../img/main/boxes/arrow_right.svg');background-size:50%;background-repeat:no-repeat;background-position:center center;width:40px;}
.extended_next:hover,.extended_prev:hover{cursor:pointer;}
.gallery_next_gen_via_article.fullscreen .gallery_next_gen_element{z-index:999;position:relative;float:left;border:0px solid white;height:calc(100vh - 30px);border:0px solid red}
/*.gallery_next_gen_via_article.fullscreen .gallery_next_gen_element img{position:relative;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);float:none;margin:0 auto;max-height:calc(100vh - 100px);max-width:calc(100% - 40px);height:auto !important;}*/
.gallery_next_gen_via_article.fullscreen .gallery_next_gen_element img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);float:none;margin:0 auto;max-height:calc(100vh - 100px);max-width:calc(100% - 80px);height:auto !important;}
.gallery_next_gen_via_article.fullscreen .gallery_next_gen_element .video_overlay{position:absolute;top:0px;/*bottom:0;*/;height:100%;text-align:center;left:0px;right:0px;background-color:transparent;z-index:100;opacity:0;}
.gallery_next_gen_via_article.fullscreen .gallery_next_gen_element .video_overlay video{position:relative;top:50vh;-webkit-transform:translateY(-50%);transform:translateY(-50%);float:none;margin:0 auto;max-width:calc(100% - 80px);;max-height:calc(100vh - 100px);}
.gallery_next_gen_via_article.fullscreen .gallery_next_gen_element .video_overlay iframe{position:relative;border:0 !important;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);float:none;margin:0 auto;max-width:calc(100% - 80px);;max-height:calc(100vh - 100px);width:calc(100% - 80px);;height:calc(100vh - 100px);}

.gallery_next_gen_via_article.fullscreen .gallery_next_gen_element.type_film a:after{background-position:center center;}
.gallery_next_gen_via_article.fullscreen .gallery_next_gen_element.type_youtube a:after{background-position:center center;}

.gallery_next_gen_via_article.fullscreen .next_gen_desc{display:block;position:absolute;top:0;left:40px;right:40px;z-index:40;border:0px solid white;font-size:16px;padding-left:15px;padding-right:15px;color:#2e2b57;}
.close_gallery{display:none;}
.fullscreen .close_gallery{display:block;position:relative;float:right;font-size:20px;color:white;margin-right:40px;margin-top:10px;}



 :not(.fullscreen) .gallery_next_gen_element > a:hover{cursor: url(../../../img/main/lupka.svg), auto !important;}

/* VIA ARTICLE BOXES */

/* EXTENDED GALLERY */

.extended_gallery{position:relative;float:left;padding:0 !important;width:100%;margin-top:20px;}
.extended_gallery .gallery_first{position:relative;float:left;margin-top:15px;width:100%;}
.extended_gallery .gallery_second{position:relative;float:left;margin-top:50px;margin-bottom:50px;width:100%;}

.extended_gallery .extended_gallery_element{position:relative;float:left;padding:0;/*transition:all 0.5s ease;*/width:auto !important;}
.extended_gallery .extended_gallery_element img{width:100%;position:relative;float:left;height:150px;width:auto;}
.extended_gallery .extended_gallery_element a:hover:after{cursor:pointer;content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.4);transition:all 0.5s ease;}
.extended_gallery .extended_gallery_element a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0);transition:all 0.5s ease;}

.extended_gallery_element.type_file a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/pdf_icon.svg')}
.extended_gallery_element.type_film a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/film_icon.svg')}
.give_margin_bottom{margin-bottom:30px;}
.extended_gallery_element.type_music a:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(245,245,245,0.0);background-position:bottom right;background-repeat:no-repeat;background-image:url('../../../img/main/common/music_icon.svg')}

.extended_gallery_element.type_file a:hover:after{background-color:rgba(245,245,245,1);}
.extended_gallery_element.type_film a:hover:after{background-color:rgba(245,245,245,1);}
.extended_gallery_element.type_music a:hover:after{background-color:rgba(245,245,245,1);}
.extended_gallery:after{content:'';position:absolute;bottom:-15px;left:0;width:calc(210px + 15px);height:1px;background-color:#4a4037;}
.extended_gallery .extended_prev{position:absolute;left:0px;z-index:1;bottom:-40px;background:url('../../../img/arrow_left.svg');background-size:100%;background-repeat:no-repeat;background-position:left center;width:10px;height:15px;}
.extended_gallery .extended_next{position:absolute;left:210px;z-index:1;bottom:-40px;background:url('../../../img/arrow_right.svg');background-size:100%;background-repeat:no-repeat;background-position:right center;width:10px;height:15px;}


.music_gallery{position:relative;float:left;width:100%;margin-top:50px;margin-bottom:30px;}
.music_gallery .music_title{position:relative;float:left;display:none;width:100%;border-bottom:2px solid #2e2b57;color:#2e2b57;font-size:16px;font-weight:700;margin-bottom:10px;}

.music_gallery .player{position:relative;float:left;width:100%}
.music_gallery .player audio{position:relative;float:left;width:100%}


.music_gallery .music_list{position:relative;float:left;width:100%;border:1px solid #2e2b57;border-bottom:0;}
.music_gallery .music_list .music_file{position:relative;float:left;width:100%}
.music_gallery .music_list .music_file .song{position:relative;float:left;padding-left:10px;padding-top:5px;border-bottom:1px solid #2e2b57;width:100%;font-size:16px;font-family:"GeomanistMedium";color:#2e2b57;transition:all 0.5s ease;}
.music_gallery .music_list .music_file .song:hover{cursor:pointer;background-color:#2e2b57;color:white;transition:all 0.5s ease;}
.music_gallery .music_list .music_file .song.active_song{background-color:#2e2b57;color:white;transition:all 0.5s ease;}

.music_gallery .music_list .music_file .song div{display:inline;}
.music_gallery .music_list .music_file .song span{padding-right:5px;display:inline;}

.article_files{position:relative;float:right;width:100%;background-color:transparent;padding-left:0px;padding-bottom:30px;margin-top:30px;font-family:"GeomanistMedium";}
.article_files .title{font-size:20px;color:black;border-bottom:1px solid #343156;display:none;}
.article_files .file {position:relative;float:left;width:100%;margin-bottom:5px;}
.article_files .file img {position:relative;float:left;padding-right:5px;height:30px;}
.article_files .file a{position:relative;float:left;margin-left:5px;;font-size:14px;color:#383838;padding-top:6px;}
.article_files .file a:hover{text-decoration:underline;}


.product_tags{position:relative;float:left;font-size:16px;color:#363636;font-weight:400;margin-left:0px;;margin-top:40px;margin-bottom:40px;font-family:"jaf-domus";}
.product_tags a{font-size:16px;color:#343156;margin-right:5px}
.product_tags a:hover{cursor:pointer;text-decoration:underline}
.product_tags:before{content:'TAG: ';position:relative;letter-spacing:0px;float:left;padding-left:0px;font-weight:700;padding-right:15px;color:#343156;}

.connected_products_container{background-image:none !important;margin-top:50px;}
.boxes_product_title{position: relative;float: left;width: 100%;font-family: 'GeomanistBold';font-size: 20px;text-transform: uppercase;letter-spacing: 2px;color: #ff4135;border-bottom: 0px solid #ff4135;margin-bottom: 0%;padding-left: 0;    }


.fullscreen video:-webkit-full-screen{top:auto !important;left:auto !important;right:auto !important;left:auto !important;transform:translateY(0%) !important}



.type_photo img{position:relative;float:right;width:70px;margin-right:10px;}
.article_content .article_type{position:relative;float:left;width:auto;clear:both;font-family:"GeomanistMedium";letter-spacing:2px;border-bottom:1px solid #ff4135;margin-bottom:40px;}
.article_content .title em{font-style:normal;font-family:"GeomanistLight";font-size:20px;}
.article_content .title div{clear:both;}



