/*
Theme Name: Acta Philologica
Author: jaroslaw.kubak@wn.uw.edu.pl
Author URI: http://kubakphoto.pl/
Version: 1.0
*/

/* =WordPress Core-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/*--------------- Material Icons Google -------------------------------------*/

/* Rules for sizing the icon. */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }


/* ---------------------------------------------------------------------------------------- */
body {
  font-size: 16px;
  height: 100%;
  background-color: #f6f7f8;
  width: 100%;

}
p {
  font-family: 'Roboto', sans-serif;
  font-size: 0.875em;
}
a:link {
  text-decoration: none;
  color: #33828d;
}
ol {
  list-style-type:decimal;
  margin-left: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875em;
}
ol li {
  padding-bottom: 10px;

}

.all_content {
  display: block;
  background-color: #fff;
  max-width: 1140px;
  height: auto;
  margin-top: 20px;
  margin-left: 18%;
  padding: 0px;
  -webkit-box-shadow: 7px -9px 6px -7px rgba(74,74,74,0.3);
  -moz-box-shadow: 7px -9px 6px -7px rgba(74,74,74,0.3);
  box-shadow: 7px -9px 6px -7px rgba(74,74,74,0.3);
}

h6 {
  font-weight: bold;
  display: inline;
  color: #33828d;
}
/*-------------- header ----------------------------------------*/
.header {

}
#header_for_logo_menu {
  display: block;
  max-width: 1140px;
  height: 150px;
  border-left: 7px solid #33828d;

}
#header_logo {
  display: block;
  padding-top: 15px;
  background-color: #fff;
  height: 130px;
}
#logo_uw {
  display: block;
  right: 15px;
}
#logo_acta {
  width: 850px;
}

#menu {
  margin-left: -45px;
}
#menu_bar {
  display: block;
  margin-top: -20px;
  margin-left: 5px;
}

#home_button {
 margin: 4px 10px 0 10px;
}

#red_menu {
  background-color: #e17f28;
  max-width: 490px;
  height: 40px;
  margin-right: 15px;
}
#red_menu::before {
  content: ' ';
  display: block;
  height: 40px;
  width: 15px;
  background-color: #e17f28;
  transform: skewX(11deg);
  position: absolute;
  left: -10px;
  z-index: 1;
}
/*---------------------------content in re!d menu --------------------------*/
.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  height: 35px;
}

/*-------------------------slider and text-------------------------------*/
#slider {
  background-color: #d9e7ea;
  margin-left: 15px;
}

#text_slider {
  background-color: #d9e7ea;
  margin-right: 1px;
  width: 627px;
}
.topic_text {
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 15px;
  margin-left: 10px;
  color: #33828d;
}
.text {
  margin-left: 10px;
  font-size: 0.875em;
}

.text a {
  color: #33828d;
}

#image_slider {}

/*---------------------------- menu ----------------------*/
	.nav{
		padding:0 0px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875em;
	}
	.nav>li{
		float:left;
		display:block;
		position:relative;
	}
	.nav>li>a{
    color: #3a3a3c;
		display:block;
		line-height: 30px;
		height: 30px;
		margin: 7px 3px;
		padding: 0 10px;
	}
	.nav>li:hover>a, .nav>li.active>a{
		color: #33828d;
  }
	/* styles for submenu = 2nd level */
	.nav>li>ul{
		left: 3px;
		top: 30px;
	}
	/* styles for every submenu > 2nd level */
	.nav>li>ul>li ul{
		position: absolute;
		left:200px;
		top:-5px;
	}
	.nav li:hover>ul{
		display:block;
	}
	/* styles for every submenu */
	.nav ul{
		background: #fff;
		width: auto;
		 white-space: nowrap;
		position:absolute;
		display:none;
		z-index:100;
    -webkit-box-shadow: 0px 3px 5px 1px rgba(74,74,74,0.3);
    -moz-box-shadow: 0px 3px 5px 1px rgba(74,74,74,0.3);
    box-shadow: 0px 3px 5px 1px rgba(74,74,74,0.3);
	}
	.nav>li>ul li{
		display: block;
		position: relative;
	}
	.nav>li>ul li>a{
		display: block;
		position: relative;
		color: #3a3a3c;
		line-height: 35px;
		height: 35px;
		margin: 4px;
		padding: 0 10px;
	}
	.nav>li>ul li:hover>a{
		text-shadow:none;
		color: #33828d;
	}
	.nav ul li:last-child{
		border-bottom: none;
	}





/*----------------------------content-------------------------------*/


.posts {
  position: absolute;
  top: 700px;
  width: 1140px;
}
.post_flex_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: space-between;
  margin-top: 50px;
  margin-bottom: 50px;
  max-width: 1140px;
  height: 400px;
}
.post_flex_item {
  height: 100px;
  width: 500px;
}

.post_title {
  font-weight: bold;
  display: inline;
  color: #33828d;
}
.text_post {
  color: #3a3a3c;
}
.flex_item_tm {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
}
#item_arhive {
  order: 99;
}
.hr {
    height: 1px;
    background: #bebebe;
    width: 100%;
    font-size: 1px; /* IE 6 */
}
/*-----------------------descriprion_wn-------------------------*/
.flex_wn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding-bottom: 50px;
}
.text_wn {
  margin-left: 45px;
  margin-right: 45px;
  margin-top: 45px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875em;
}
#wn_img {
  max-width: 260px;
  padding-left: 20px;
}

/*-------------------- single content ---------------------------------*/
.single_content {
  margin: 50px 0px 0px 0px;
  padding-bottom: 20px;
  height: auto;
}
.single_post_title {
  font-weight: bold;
  font-size: 1.2em;
  margin-left: 45px;
  padding-bottom: 20px;
}
.single_post_title a {
  color: #2a3238;
}
.single_post_text {
  padding-left: 45px;
  padding-right: 45px;
}
/*--------------------- page -----------------------------------*/
.page_content {
  margin: 50px 0px 0px 0px;
  padding-bottom: 30px;

}
.page_title {
  font-weight: bold;
  font-size: 1.2em;
  margin-left: 85px;
  padding-bottom: 20px;
}
.page_title a {
  color: #2a3238;
}
.page_text {
  padding-left: 45px;
  padding-right: 45px;
}
/*-----------------------------ico-------------------------------*/
#ico {
  position: absolute;
  top: 224px;
}
/*--------------------------acta category --------------------*/
.category_acta_content {
  margin: 50px 0px 0px 0px;
  padding-bottom: 20px;
}
.category_acta_title {
  font-weight: bold;
  font-size: 1.2em;
  margin-left: 45px;
  padding-bottom: 20px;
  padding-top: 20px;
}
.category_acta_title a {
  color: #2a3238;
}
.category_acta_text {
  color: #2a3238;
  padding-left: 45px;
  padding-right: 45px;
}
#acta_ico {
  margin-right: 10px;
  margin-bottom: 5px;
}
/*------------------------(aktualnosci) news category---------------------*/

.news_category_content {
    margin: 20px 25px 50px 0px;
    padding-bottom: 20px;
}
.news_category_title {
  font-weight: bold;
  font-size: 1.2em;
  margin-left: 45px;
  padding-bottom: 20px;
  padding-top: 20px;

}
.news_category_title a {
  color: #2a3238;
}
.news_category_text {
  color: #2a3238;
  padding-left: 45px;
  padding-right: 45px;
  height: auto;
}
#announcement_ico {
  margin-right: 10px;
  margin-bottom: 5px;
}
/*--------------------tabele ------------------------------*/
table {

}

table th {
  color: #fff !important;
	font-family:Verdana !important;
  font-size:0.85em !important;
	text-decoration:none !important;

  padding:7px 25px 7px 25px !important;
  border-top:1px solid #fafafa !important;
  border-bottom:1px solid #e0e0e0 !important;
	border-left: 1px solid #e0e0e0 !important;
  background: #8C4242 !important;

}
table th:first-child{
    text-align: left;
    padding-left:20px;
}
table tr:first-child th:first-child{

    border-top-left-radius:3px;
}
table tr:first-child th:last-child{

    border-top-right-radius:3px;
}
table tr{
    text-align: center;
    padding-left:20px;
}
table tr td:first-child{
    text-align: left;
    padding-left:20px;
    border-left: 0;
}
table tr td {
    padding:18px;
    border-top: 1px solid #ffffff;
    border-bottom:1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;

    background: #fafafa;

}
table tr:nth-child(even) td{
    background: #f6f6f6;

}
table tr:last-child td{
    border-bottom:0;
}
table tr:last-child td:first-child{

    border-bottom-left-radius:3px;
}
table tr:last-child td:last-child{

    border-bottom-right-radius:3px;
}
/* przycisk mobilnego menu */
.mobile_menu {
  visibility: hidden;
  position: absolute;
  top: 130px;
  left: 50px;
  cursor: pointer;
  z-index: 99;
}


.menu_primary_mobile {
  visibility: visible;
}
/* remove mobile menu */
.remove_menu {
  visibility: hidden;
  position: absolute;
  top: 130px;
  left: 50px;
  cursor: pointer;
  z-index: 98;

}
/* menu mobilne */
.mobile_menu_slider {

}
#slide {
    position: absolute;
    left: -220px;
}


/*------------------------- mobilne menu -----------*/
.menu_primary_mobile {
  display: inline;
  position:absolute;
  left: 0px;
  z-index: 97;
  width: 220px;
  height: 520px;
  margin: 0px;
  padding-left: 0px;
}

.menu_primary_mobile ul{
  background-color: #fff;
  min-width:180px;
  list-style-position: inside;
  left: 100px;
  z-index:100;
}

.menu_primary_mobile ul a{
	color:#000;
	display:block;
	text-decoration:none;
	font-size: 0.875em;
	line-height: 40px;
	padding: 0 25px 0 15px;
  color: #33828d;
}
.menu_primary_mobile ul li ul {
  padding-left: 20px;
}
.menu_primary_mobile ul li ul li::before {
  content:url(http://archiwum.acta.wn.uw.edu.pl/wp-content/uploads/2018/03/ic_keyboard_arrow_right_black_18dp_1x.png);
  display: block;
  position: absolute;
  left: 10px;
  padding-top: 11px;
}
.menu_primary_mobile ul li a:hover{
}



/* koniec mobilnego menu --------------------------- */


/*------------------------contakt form and map ---------------------*/
.flex_map_contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
#map {
  width: 650px;
}
#contact {
  width: 385px;
}
/*------------------------- footer -----------------------------*/

.footer_index {
	bottom: auto;
  width: 100%;
  left: 0px;
  background-color: #2a3238;
  height: 150px;
  margin: 0px;
  padding: 0px;
}

#footer_img {
  margin-top: 10px;
  margin-bottom: 10px;
}
#footer_col {
  color: #525252;
}
#footer_col a {
  color: #666666;
}
#footer_col_rights {
  margin-top: 10px;
  color: #fff;
}
.dd {
  padding-top: 5px;
  padding-bottom: 5px;
}
.dd a{
  color: #fff;
}
.dd :hover{
  text-decoration: underline;
}
#footer_col_adres {
  margin-top: 40px;
  color: #fff;
}

/* ustawienia dla roznych rozdzielczosci ---------------*/

@media screen and (max-width: 1366px) {

.all_content {
  margin-left: 5%;
}
.all_content_single {
  margin-left: 5%;
}
}
@media screen and (max-width: 1280px) {

.all_content {
  margin-left: 5%;
}
@media screen and (max-width: 1200px) {

.all_content {
  margin-left: 1%;
}
.all_content_single {
  margin-left: 1%;
}
#row_logo {
  width: 900px;
  margin-left: -20px;
}
#logo_acta {
  width: 600px;
}
#red_menu {
  max-width: 350px;
}
#image_slider {
  display: none;
}
#text_slider {
    width: 97%;
    padding-bottom: 20px;
}
#footer_col_rights {
    margin-top: 0px;


}
}

@media screen and (max-width: 990px) {
#row_logo {
  width: 900px;
  margin-left: -50px;
}
#hr_index {
  display: none;
}
#slider_row {
  width: 100%;
}

.post_flex_item {
  padding-top: 60px;
  padding-bottom: 60px;
  width: 800px;
}
.flex_wn {
  padding-top: 300px;
}
.post_flex_container {
  margin-top: 0px;
}
}
@media screen and (max-width: 960px) {
.all_content {
    max-width: 960px;
  }


#red_menu {
  max-width: 290px;
}

#text_slider {
    width: 100%;
    padding-bottom: 20px;
}

#footer_col_rights {
    margin-top: 20px;
    max-width: 350px;
}
#footer_img {
  max-width: 120px;
  margin-right: 40px;
}
#footer_col_adres {
  max-width: 200px;
}
.post_flex_container {
  margin-bottom: 80px;
}
.text_wn {
  margin-top: 0px;
}
.flex_map_contact {
 flex-direction: column;
}
#contact {
  padding-bottom: 50px;
  padding-left: 10%;
}
}
@media screen and (max-width: 900px) {
.all_content {
    max-width: 900px;
  }

#logo_uw {
  display: none;
}
#row_logo {
  margin-left: 0px;
}
#menu {
  visibility: hidden;
  max-width: 100px;
}
#home_button {
  visibility: hidden;
}
#red_menu {
  max-width: 100%;
}
.mobile_menu {
  visibility: visible;
}
}

@media screen and (max-width: 670px) {

.all_content {
    max-width: 670px;
  }
.post_flex_item {
    padding-top: 60px;
    padding-bottom: 60px;
    width: 500px;
}
.footer_index {
  height: 160px;
}
#row_logo {
  width: 620px;
  margin-left: -20px;
}
#footer_cointainer {
  width: 650px;
}
#footer_col_rights {
    margin-top: 20px;
    max-width: 330px;
}
#footer_img {
  max-width: 120px;
  margin-right: 30px;
}
#footer_col_adres {
  max-width: 170px;
}
#map {
  max-width: 600px;
}

}

@media screen and (max-width: 360px) {
.all_content {
    max-width: 360px;
  }
.post_flex_item {
    padding-top: 60px;
    padding-bottom: 60px;
    width: 300px;
  }

#footer_cointainer {
  width: 360px;
}

#row_logo {
  width: 320px;
  margin-left: -20px;
}

.mobile_menu {
    top: 105px;
    left: 30px;
}
  /* remove mobile menu */
.remove_menu {
    top: 105px;
    left: 30px;
}
.flex_item_tm {
  justify-content: center;
}
.post_flex_container {
  height: 630px;
}
.post_flex_item {
  padding-bottom: 80px;
  padding-top: 80px;
}
.flex_wn {
  flex-direction: column;
}
#wn_img {
  padding-left: 50px;
  padding-bottom: 20px;
}

.text_post {
  max-width: 220px;

}
#red_menu {
    margin-left: 90px;
  }
#header_logo {
  height: 60px;
}
#logo_acta {
  width: 400px;
}
#logo_acta_img {
    width: 320px;
}
#footer_col_rights {
  display: none;
}
#contact {
  padding-bottom: 50px;
  padding-left: 0px;;
}
.page_text {
  padding-left: 25px;
  padding-right: 25px;
}
#map {
  max-width: 310px;
}
}
