
/* MOBILE <1080px */

/*  */   

.mobile {
	display:none;
}
.desktop {
	display:block;
}

.mobile_menu_extra_items {
	display:none;
}

.mobile_menu_button_wrapper {
  display:none;
}
.mobile_menu_list {
	display:none;
}
.mobile_menu_wrapper {
  display:none;
  cursor:pointer;
}

.mobile_options_header {
    display:none;
}


/* =========================================================================
============================================================================
============================================================================
============================================================================
============================================================================
============================================================================
============================================================================
==========                                                      ============
==========   STYLE MOD FOR SCREEN WIDTH >=640 px AND <1080 px   ============
==========                                                      ============
============================================================================
============================================================================
============================================================================
============================================================================
============================================================================
==========================================================================*/
  
@media only screen and (max-width: 900px ) {  /* ( min-width:640px ) and  */
     .desktop {
        display:none !important;
     }
     .mobile {
        display:block !important;
     }

	
    body, html {
        font-size:11pt;
    }
    #ibox_wrapper {
    }
    #ibox_wrapper .item {
        max-height:460px; /* using font scaling = different size on smartphone and tablet*/
    }

    #header_wrapper {
        width:100%;
        min-width: unset;
        padding:0em 0em;
    }
    #header {
        width:auto;
        padding:0 1em 1em 1em;
    		background-position:calc(100% - 1em);
  	}
    .header_topright_options {
        float:right;
        right:1em;
    }

    .logo {
	  margin-top:35px;
    } 
    .logo img {
		height: 9vw;
		max-height: 75px;		
		min-height: 20px;
	}
    .logo_euroreg {
	  margin-top:35px;
    } 
	.logo_euroreg img {
		height: 9vw;
		max-height: 75px;		
		min-height: 20px;
	}

    #srodek {
        width:100%;
        min-width: unset;
        padding:0em 0em;
    }
    #footer_wrapper {
        width:100%;
        min-width: unset;
        padding:0em 2em;
    }
    .left_col {
        width:calc(25% - 2em);
        padding: 0 1em;
        margin: unset;
    }

    .cont {
        width:calc(50%);
        padding: 0 0em;
        margin: unset;
    }

	.cont2 {
		padding: 0em 1em 0em 0em;
		width: 100%;
		max-width: calc(100% - 25% - 1em - 0em);
	}
	.right {
			margin-left:2em;
			margin-bottom:2em;
	}

	
    .right_col {
        width:calc(25% - 2em);
        padding: 0 0em 0 1em;
        margin: unset;
    }
    #footer_wrapper {
        width:100%;
        padding:unset;
    }
    #footer {
        width:100%;
        padding:0;
    }
    #footer .c1 {
        width:auto;
        min-width:320px;
        max-width:100%;
    }
    #footer .c2 {
        width:auto;
    }
	
	.paginator {
		overflow: unset;
		height: auto;
		margin: 1em auto 5em auto;
		clear: both;
		display: block;
		position: relative;
	}
	.paginator_switch_page {
		display: none;
	}
	
	.paginator_button {
		height:5wh;
		width:5wh;
		margin-right:0.25em;
	}
	
	.button {
		padding:0.5em 1em;
	}
   .cont2 iframe {
      width: 100%;
      max-height: 100%;
      height: 60vw;
   }
   .employee_photo_thumb {
      height:unset;
   }
   
   #ibox_wrapper {
      width:100% !important;
      height:unset !important;
   }
   #ibox_slajdy {
      width: 100vw !important;
      height: 20vw !important;
   }
   #ibox_slajdy li>div {
      width: 100vw !important;
      height: 100% !important;
      background-size: cover !important;
   }

   .message_div_cookie {
      width: auto;
      padding: 1em 1em;
      margin: 1em 1em;
   }
   .employee_vacation {
      margin-left:0;
   }

}


/* ============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===                                         ===
===   STYLE MOD FOR SCREEN WIDTH <=640 px   ===
===                                         ===
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================
===============================================*/
  
@media only screen and (max-width: 640px) {

	.showMobileMenu {
		display:block;
	}
	.hideMobileMenu {
		display:none;
	}

    body, html {
        font-size:10pt;
		background:unset;
		font-size:100%;
		line-height:120%;
    }
    .mobile_menu_extra_items {
		display:block;
		padding:0 1em;
	}

	#main {
		
	}
  
  
    #ibox_wrapper {
        /* display:none; */
    }
    #ibox_wrapper .item {
        max-height:270px;  /* using font scaling = different size on smartphone and tablet*/
    } 
    .mobile_options_header {
        display:block;
    }
    
    .extraPadding {
        padding:1em 2em;
    }
    .extraPaddingMain {
        padding:2em 2em;
    }

	
    .header {
        padding: 15px 0 1em;
        height:60px;
    }

	#header_wrapper {
		height:5em;
    padding:0 0 1em 0;
	}
		
  #header {
		/* background:url('../images/naglowek-tlo-czerwona-linia-mobile.gif'); */
    background-position: right bottom;
	}
	
	.header_topright_options {
		display:none;
	}
	
	
	
	.mobile_menu_button_wrapper {
		display: block;
		width: 2em;
		height: 2em;
		position: absolute;
		right: 1em;
		top: 2.75em;	
	}
	.mobile_menu_button {
	
	}
	.mobile_menu_button_close_wrapper {
		right:3em;
	}

	.mobile_menu_wrapper {
		background-color: white;
		width: 100%;
		min-height: 100vh;
		padding: 0;
		margin: 0;
		left: 0;
		top: 0;
		height: auto;
		z-index: 20000000;
		overflow-x: hidden;
		position:relative;
	}
	.mobile_menu_wrapper .logo {
		margin-left:2em;
	}
		
	.mobile_menu {
		height: 100%;
		
		/* overflow: scroll; */
		overflow: -moz-scrollbars-none;
	}
	
	.mobile_menu::-webkit-scrollbar { 
		display: none; 
	}

	
	.mobile_menu_list {
		display:block;
    padding:0em 1em 1em 1em;
    clear:both;
	}

	.mobile_menu_list .menu_item  {
		font-size:100%;
		line-height:120%;
	}
	.menu_item {
		font-size:110%;
		line-height:120%;
		padding:0.5em 0.5em;
	}	

  
  .mobile_options {
    display: block;
    padding: 1em 1em 1em 1em;
  }
  .mobile_menu_options {

  }
  .mobile_menu_options_item {
    float: left;
    margin: 0 auto;
    display: block;
    padding: 0.5em;
  }
  
  .mobile_options_header {
    display: block;
    padding: 0em 1em;
    height: 2em;
    clear: both;
    display: block;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-color:#333;
    font-size:12pt;
  }
  .mobile_options_header_item {
    float: left;
    margin: 0 auto;
    display: block;
    padding: 0.3em 0.1em 0.2em 0.1em;
    border: 0px solid;
    height: 1.5em;
    vertical-align: middle;
    width: auto;
  }
  .change_language {
    float:right;
    
  }
  
  .aaa {
  }
  .mobile_options_header_item a {
      color:#aaa;
  }
  
  .aaa1 {
      font-size:160%;
  }
  .aaa2 {
      font-size:130%;
  }
  .aaa3 {
      font-size:100%;
  }
  .change_contrast {
      
  }
  .change_language {
      
  }
  .wyszukiwarka {
    padding: 0em;
    float: unset;
    width:auto;
    clear:both;    
  }
  
  .search_form_fields {
      padding:0.5em;
      height:auto;
      
  }
  .search_submit {
      padding: 0.3em 1em;
  }

		

    .logo {
	  margin-top:25px;
    } 
    .logo img {
        /* max-width: 200px; */
    }
    .logo_euroreg {
	  margin-top:25px;
    } 

    #cont {
        display: block;
        position: relative;
    }
    #cont p {
        margin-bottom:2em;
    }
    
    .cont2 {
        width:100%;
        max-width: 100%;
        text-align:left;
    }

    .left_col {
        width:auto;
        padding: 0 2em 2em 2em;
		    display:none;
    }

    #srodek {
    }

    .cont {
        width:calc(100% - 2em);
        padding:0em 1em 2em 1em;
		margin: 0 auto;
    }
    .cont2 {
        width:calc(100% - 2em);
        padding:0em 1em 2em 1em;
        margin: 0 auto;
    }
    .right {
      	margin-left:2em;
      	margin-bottom:2em;
    }
		

    .right_col {
        width: 100%;
        padding: 0 1em 2em 1em;
        box-sizing: border-box;
    }

    .article_text_full h1 {
        font-size: unset;
        margin-bottom:1em;
    }
    .article_text_full p {
        /* text-align:unset !important; */
        font-size: unset;
        margin-bottom:1em;
    }
    .article_menu a {
        min-height: 2.0em;
        padding: 0.2em;
        box-sizing: border-box;
        width: 100%;
        margin-bottom: 1px;
        line-height:1.5em;
    }
    .article_menu .last {
        width: 100%;
    }
    .article_text_full img {
        max-width:100%;
        height:unset;
        box-sizing:border-box;
    }
    
    #footer_wrapper {
        height:unset;
    }
    #footer {
        padding:2em 0;
    }

    #footer .c1 {
        position:relative;
        width:auto;
        margin:0 auto; 
        padding:0;
        text-align:center;
        clear:both;
        bottom:unset;
        left:unset;
        padding:0 0 1em 0;
    }
    #footer .c2 {
        position:relative;
        width:auto;
        margin:0 auto; 
        padding:0;
        text-align:center;
        clear:both;
        bottom:unset;
        left:unset;
        
    }    
    #footer_links {
        width:100%;
        left:0;
        top:0;
        text-align:center;
        margin:unset;
        position:relative;
        padding:0 0 2em 0;
        height:unset;
        
    }
    #footer_links a {
        margin:0.5em 0;
    }
    .footer_menu {
        clear:both;
        width:100%;
        float:unset;
        display:relative;
        
    }
    .right_col_list_item_last {
        margin-bottom:2em;
    } 

    .seminary_list_item_date {
        width:100%;
        min-width:100%;
        clear:both;
    } 
    .seminary_list_item_title {
        width:100%;
    }
   table {
      width:100%;
   }
   .search_form_field {
      padding: 1em !important;     
      height:auto !important;
      width:100% !important;
      margin: 0 0 1em 0;
      box-sizing: border-box;
   }
   .search_form_field_submit {
      padding: 1em;
      height:auto;
      width:100%;     
   }
   .search_by_date, .search_by_author, .search_by_language, .search_by_access {
      padding-bottom:1em;
      clear:both;
      width:100%;   
   }
   .publications_cover_image {
      width:100%;
      float:unset;
      margin:0 0 1em 0;
      clear:both;
   }
   .employee_retried_boxes {
      float:left;
      width:100%;
      clear:both;
   }
   .employee_photo_thumb {
        margin-bottom:0.5em;
   }
   .employee_list_item {
        margin-bottom:1em;
   }   

   .message_div_cookie {
      width: 80%;
      padding: 1em 1em;
      margin: 1em 1em;
   }
   .message_div_cookie .allow_close {
      width: auto;
      float: unset;
      margin: 1em;
      text-align: center;
   }   
}


/* ===============================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
===                            ===
=== STYLE MOD FOR 
===    SCREEN WIDTH <=320 px   ===
===                            ===
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================
==================================*/

@media only screen and (max-width: 320px) {
     #header {
        background:none;
     }

     .articles_list_item {
        margin-bottom:2em;
     }
     .articles_list_item_img_div {
        width: 100%;
        margin: 0 0 0.5em 0;
        display: block;
        float: unset;
        position: relative;
     }
     .articles_list_item_img_div img {
        width:100%;
        height:auto;
        min-height:100%;
        min-width:100%;
     }
     .articles_list_item_title {
        margin-bottom:1em;
     }
     .page_image {
        float: unset;
        margin: 0 0 1em 0;
        width: 100%;
     }
     .page_image img {
        width:100%;
        height:unset;
        
     }
     .cont2 img {
        float:unset;
        width:100%;
     }
     .cont2 .author_icon_info {
        width:unset !important;
     }     
     
     .employee_retried_boxes {
        float:unset;
        width:100%;
        clear:both;
     }
     .employee_retried_boxes img {
        float:unset;
        width:100%;
        clear:both;
     }
     .employee_photo_full {
        float:unset;
        width:100%;
        clear:both;
        margin:0 0 1em 0;     
     } 
     .employee_list_item_photo {
        width:100%;
        float:unset;
        margin:0 0 1em 0;
     }
     .publications_cover_image {
        width:100%;
        float:unset;
        margin:0 0 1em 0;
        
     }
     .publications_cover_image img {
        width:100%;
        height:unset;
     }
     .publications_cover_image img.first {
     }
}
