/********** SHORTCUTS ***************/
body.ssrwd .fn {float:none;}
body.ssrwd .fl {float:left;}
body.ssrwd .fr {float:right;}
body.ssrwd .cb {clear:both;}
body.ssrwd .w10 {width:10%;}
body.ssrwd .w20 {width:20%;}
body.ssrwd .w25 {width:25%;}
body.ssrwd .w30 {width:30%;}
body.ssrwd .w33 {width:33%;}
body.ssrwd .w40 {width:40%;}
body.ssrwd .w50 {width:50%;}
body.ssrwd .w60 {width:60%;}
body.ssrwd .w66 {width:66%;}
body.ssrwd .w70 {width:70%;}
body.ssrwd .w75 {width:75%;}
body.ssrwd .w80 {width:80%;}
body.ssrwd .w90 {width:90%;}
body.ssrwd .w100 {width:100%;}
body.ssrwd .tl {text-align:left;}
body.ssrwd .tc {text-align:center;}
body.ssrwd .tr {text-align:right;}
.hidethis {display:none !important;}
body.ssrwd .showthis-block {display:block !important;}
body.ssrwd .showthis-inline {display:inline !important;}
body.ssrwd .showthis-inline-block {display:inline-block !important;}
body.ssrwd .showthis-table {display:table !important;}
.hidden-640 {display:block;}
@media(max-width:640px){
	.hidden-640 {display:none;}
}
.visible-640 {display:none;}
@media(max-width:640px){
	.visible-640 {display:block;}
}
.hidden-768 {display:block;}
@media(max-width:768px){
	.hidden-768 {display:none;}
	.hidden-768-imp {display:none !important;}
}
.visible-768 {display:none;}
@media(max-width:768px){
	.visible-768 {display:block;}
}

/* general widths */
body.ssrwd #all_page {width:100%;max-width:1100px; margin:0 auto !important;}
body.ssrwd #content {box-sizing:border-box;max-width:780px;padding:0;}
body.ssrwd .sub-content, body.ssrwd #content_under, body.ssrwd #bottom-widgets {float:left;max-width:750px;width:100%;}
body.ssrwd.one_columns.content-while-up div#content {	max-width: 1100px;} 
body.ssrwd #bottom-widgets .next-box a {width:100%;}
body.ssrwd #wiadomosc {width:100%;box-sizing:border-box;}

/* fb like restyle */
body.ssrwd .social_btns.material_social_btns .fb-like.fb_iframe_widget iframe,
body.ssrwd .social_btns.material_foot_social_btns .fb-like.fb_iframe_widget iframe {z-index:9}
/* fb share restyle */
body.ssrwd a[data-name=fb_share] {background: #4c69ba linear-gradient(#4c69ba, #3b55a0) repeat scroll;border-radius: 3px;line-height: 21px;font-size: 11px;position: relative;display: inline-block;padding: 0 8px 0 26px;color: white;font-weight: bold;float:left;}
body.ssrwd a[data-name=fb_share]:before {position:absolute;top:3px;left:3px;height:14px;width:14px;content:'';display:block;background:url('/images/ikony/fb_btn_icn.png') center center no-repeat;background-size:contain;}
body.ssrwd a[data-name=fb_share] .FBConnectButton {background:transparent;padding:0;}
body.ssrwd a[data-name=fb_share] .FBConnectButton_Text {background:transparent;border:none;font-size:11px;}

/********** BASE LAYOUT ***************/
/*** header ***/
body.ssrwd #top {border:none;}
body.ssrwd #banner .prawe li {background:transparent;border:none;}
body.ssrwd a.file-report > img {display:none;}
body.ssrwd a.file-report {padding-left:0;}
body.ssrwd .demot, 
body.ssrwd .ads_top_of_list, 
body.ssrwd .ads_bottom_of_list, 
body.ssrwd .ads_above_file, 
body.ssrwd .ads_between_files, 
body.ssrwd .top-menu,
body.ssrwd .demot-archive {z-index:9;}

@media(max-width:1100px){
	body.ssrwd #banner .nawigacja-top {text-align:center;}
	body.ssrwd #banner .nawigacja-top > .prawe, body.ssrwd #banner .nawigacja-top > .prawe-float {display:inline-block;float:none;}
}
@media(max-width:768px){
	body.ssrwd #banner .img_logo,
	body.ssrwd #banner .fanpage-cnt,
	body.ssrwd #banner .nawigacja-top > .prawe-float,
	body.ssrwd #banner .prawe li.temysli-blue,
	body.ssrwd #banner .prawe .categories-menu
	{display:none;}

	body.ssrwd .rwdnav .prawe {  background: black none repeat scroll 0 0;  left: -250px;  position: fixed !important;  top: 38px !important;  z-index: 9999;width:190px !important;}
	body.ssrwd #banner .nawigacja-top div > ul.prawe.active {overflow:scroll;height:100%;height:calc(100vh - 38px);}
	body.ssrwd .rwdnav .prawe li {  clear: both;  float: left;width:100%;box-sizing:border-box;}
	body.ssrwd .rwdnav .prawe li a {width:100%;text-align:left;}
	body.ssrwd .rwdnav .prawe.active .categories-menu-submenu {  display: block !important;  visibility: visible !important;opacity:1 !important;}
	body.ssrwd .rwdnav .categories-menu-submenu {  clear: both;  float: left;  left: 0 !important;  position: static !important;}
	body.ssrwd .rwdnav .categories-menu-submenu li {width:100%;}
	body.ssrwd #banner .categories-menu-submenu li a {color:#bbb;}
	body.ssrwd .rwdnav .prawe li a {  box-sizing: border-box;  display: inline-block !important;  height: 36px !important;  line-height: 36px;  padding: 0 13px !important;  width: 100% !important;}
	body.ssrwd .rwdnav .prawe li a:hover {height:36px;}
	body.ssrwd .rwdnav .counter {line-height:1;top:0;}
	body.ssrwd .rwdnav .rwd-menu-icon {  background: rgba(0, 0, 0, 0) url("/images/ikony/rwd-menu-icon_fff.png") no-repeat scroll center center; background-size: 80% 80%;  bottom: -1px;  cursor: pointer;  display: inline-block;  float: left;  height: 34px;  left: 5px;  position: relative;  width: 40px;}

	body.ssrwd .main_menu_float {  left: auto;  right: 6px;  top: 6px;cursor:pointer;}
	body.ssrwd .main_menu_float::before {  border: 1px solid white;  border-radius: 15px;  color: white;  content: "zaloguj";  padding: 2px 10px;  position: relative;  top: 0;font-size:12px;}
	body.ssrwd.ips-logged-in .main_menu_float::before {display:none;}
	body.ssrwd #login_buttons {  background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;  display: none;  padding: 6px;  position: absolute;  right: 0;  top: 36px; z-index:9999;min-width:200px;} 
	body.ssrwd.ips-logged-in #login_buttons {display:block;}
	body.ssrwd #login_buttons.active {display:block;}
	body.ssrwd #login_buttons ul li {line-height:2.5;}

	body.ssrwd .rwdnav .rwd-logo-icon {  background: transparent url("/images/ikony/temysli-logo.png") no-repeat scroll center center ;  background-size: auto 100%;  height: 38px;  margin: 0 auto;  width: 30%;position:relative;display:block;}
	body.ssrwd .rwdnav .rwd-logo-icon a {position:absolute;top:0;left:0;width:100%;height:100%;display:block;}

	body.ssrwd .paginacja {display:none;}

}
/*** between header and content ***/
@media(max-width:1100px){
	body.ssrwd .widget-file-filter.bottom_menu_box {text-align:center;}
}
@media(max-width:768px){
	body.ssrwd .widget-file-filter.bottom_menu_box {display:none;}
}

/*** footer ***/
body.ssrwd div.footer, body.ssrwd #stopka .footer_text, .footer {padding: 6px;box-sizing:border-box;}
body.ssrwd div.footer #change_language {background:transparent;}

/********** TWO COLS LAYOUT ***************/
/*** left col ***/
body.ssrwd .mysl-box {display:none;}
@media(max-width:1100px){
	body.ssrwd #content {float:none;}
}
/*** material item ***/
body.ssrwd .pod_materialem .info-section {border:none;}
body.ssrwd .pod_materialem .info-section, 
body.ssrwd .pod_materialem .info-section .autor-data a, 
body.ssrwd .pod_materialem .info-section .file-actions a, 
body.ssrwd .pod_materialem .info-section .file-actions span {font-family:'Muli',Arial,sans-serif;}
body.ssrwd .pod_materialem .material_foot_social_btns {text-align:right;margin-top:10px;}

body.ssrwd .button-previous > a, body.ssrwd .button-next > a {background:transparent;position:relative;width:30px;font-size:0 !important;color:transparent !important;}
body.ssrwd .button-previous > a:before, body.ssrwd .button-next > a:before {display:block;position:absolute;left:0;top:50%;width:30px;height:30px;line-height:30px;text-align:center; opacity:0.5;color:white;font-size:18px;transition: opacity 0.5s; text-indent:0;border:1px dotted white;box-sizing:border-box;}
body.ssrwd .button-previous > a:before {content:'<';}
body.ssrwd .button-next > a:before {content:'>';}
body.ssrwd .button-previous > a:hover:before, body.ssrwd .button-next > a:hover:before {opacity:1;}
body.ssrwd .button-previous {left:8px;}
body.ssrwd .button-next {right:8px;}

body.ssrwd .demot.item div.file-source > div.file-additional-descript {display:none;}

@media(max-width:768px){
/*	body.ssrwd .demot.item > .title,*/
	body.ssrwd.content-while-main .demot.item > .title,
	body.ssrwd .demot.item > .kategoria {display:none;}	
	body.ssrwd .fanpage-cnt.visible-768 {position:relative;z-index:9;}
}
@media(max-width:768px){
	body.ssrwd .info-section.w50 .vote {width:100%;}
	body.ssrwd .info-section.w50 .vote > span {display:inline-block; padding:0;line-height:28px;}
	body.ssrwd .ips-vote-file.green, body.ssrwd .ips-vote-file.red {background: black url("/images/ikony/icn_plus-minus.png") no-repeat scroll left top !important; background-size: 36px 36px !important; height: 18px !important;  width: 18px !important; border:5px solid black; box-shadow:0 0 2px #666; display:inline-block;}
	body.ssrwd .ips-vote-file.green { background-position: left top !important;  }
	body.ssrwd .ips-vote-file.red {  background-position: right top !important; }
	body.ssrwd .ips-vote-file.green:hover { background-position: left bottom !important; box-shadow:0 0 2px #00a99d }
	body.ssrwd .ips-vote-file.red:hover {  background-position: right bottom !important; box-shadow:0 0 2px #00a99d}
	body.ssrwd .pod_materialem > .info-section {width:50%;float:right;clear:none;margin-top:10px;text-align:center;}
	body.ssrwd .pod_materialem > .info-section > .autor-data, 
	body.ssrwd .pod_materialem > .info-section > .file-actions .add-favourites, 
	body.ssrwd .pod_materialem > .info-section > .file-actions .add-smilar,
	body.ssrwd .pod_materialem > .info-section.tags,
	body.ssrwd .pod_materialem > .info-section .file-actions .file-report,
	body.ssrwd.content-while-file-page .file-source,
	body.ssrwd .demot.item .file-source,
	body.ssrwd .demot.item .info-section.tags,
	body.ssrwd .demot.item .file-report	{display:none;}
	body.ssrwd .pod_materialem > .info-section:last-child {margin:0;}
	body.ssrwd .pod_materialem .info-section .vote .ips-vote-file img {display:none;}
	body.ssrwd .pod_materialem > .info-section > .file-actions .add-comment {  padding: 0 0 0 26px;  position: relative; background:black; border:5px solid black; box-shadow:0 0 2px #666; line-height:18px;height:18px;display:inline-block;}
	body.ssrwd .pod_materialem > .info-section > .file-actions .add-comment > img {display:none;}
	body.ssrwd .pod_materialem > .info-section > .file-actions .add-comment:after {  background: black url("/images/ikony/icn_hint.png") no-repeat scroll right top; background-size: 18px 36px;  content: "";  display: block;  height: 18px;  left: 0;  position: absolute;  top: 0;  width: 18px;}
	body.ssrwd .pod_materialem > .info-section > .file-actions .add-comment:hover {text-decoration:none; color:#00a99d;box-shadow:0 0 2px #00a99d}
	body.ssrwd .pod_materialem > .info-section > .file-actions .add-comment:hover:after {background-position: right bottom;}
}

/*** right col ***/
@media(max-width:1100px){
	body.ssrwd .fixed-right-panel {display:none;}
}

/********** SUBS SPECIFIC ***************/
body.ssrwd .buttons-menu-nice a {display:inline-block;}
body.ssrwd .popular-tags {padding:6px;width:100%;box-sizing:border-box;}
@media(max-width:640px){
}

/********** NEXTCLICK SPECIFIC ***************/
@media(max-width:480px){
	body.ssrwd .ncWidget table.ncwArticles td {width:100% !important;display:block;clear:both;max-width:390px;margin:6px auto !important;}
	body.ssrwd .ncWidget table.ncwArticles td .ncwTitle {font-size: 14px !important;}
}


/********** DIALOGS ***************/
@media(max-width:768px){
	body.ssrwd .ui-dialog {max-width:600px}
}
@media(max-width:640px){
	body.ssrwd .ui-dialog {max-width:420px}
}
@media(max-width:480px){
	body.ssrwd .ui-dialog {max-width:300px}
}

.fancy-list .regular a {padding: 6px 1%;}


/*temps*/
body:not(.ssrwd) .material_social_btns {display:block !important;}
body:not(.ssrwd) .material_foot_social_btns {display:none !important;}
body:not(.ssrwd) .fanpage-cnt.hidden-768 {display:none !important;}



#colorbox {width:100 !important;max-width:100%;}
@media(min-width:480px){
	#colorbox {max-width:480px;}
}


/* generator */
body.ssrwd .up-text-generator-left {width:33%;max-width:320px;}
body.ssrwd .up-text-generator-left .select2-container {width:100% !important;}
body.ssrwd .up-text-generator-left .change_options select {width:100%;}
body.ssrwd .up-text-generator-right {width:66%;min-height:0;max-width:600px;}
body.ssrwd .up-text-generator-right canvas {width:100%;}
@media(max-width:640px){
	body.ssrwd .up-text-generator-left,
	body.ssrwd .up-text-generator-right {width:100%;max-width:640px;}

}


#txt_cats select option[value="10"] {display:none;}

.article_intro {text-align:left !important;}


a.readmore {	display: inline-block;	border: 1px solid white !important;	padding: 6px 12px; background:transparent; transition: background-color 0.5s, color 0.5s;text-shadow:none;}
a.readmore:hover {background:white; color:#222;}


/* ukryte reklamy na raportowanych urlach */
body.ssrwd.content-while-login .ads_under_image_file, 
body.ssrwd.content-while-login .ads_under_file, 
body.ssrwd.content-while-login .ads_under_menu{display:none;}

body.ssrwd.content-while-contact .ads_under_image_file, 
body.ssrwd.content-while-contact .ads_under_file, 
body.ssrwd.content-while-contact .ads_under_menu{display:none;}

body.ssrwd.content-while-reklama .ads_under_image_file, 
body.ssrwd.content-while-reklama .ads_under_file, 
body.ssrwd.content-while-reklama .ads_under_menu,
body.ssrwd.content-while-reklama .ads_right_block_bottom .adsbygoogle {display:none !important;}

