@media all and (max-width: 1000px) {
	/*
	#footer_navigation_contact{
		display: none;
	}
	
	#header{
		position: fixed;
	    height:40px;
	    top: 0px;
	    left: 0px;
	    right: 0px;
		background-color: green;
	}
	
	#menubar{
		position: fixed;
		top: 2px;
		left: 2px;
		right: 2px;
		height: 35px;
		z-index: 1000;
	}

    #main {
		position: fixed;
	    top: 40px;
	    left: 0px;
	    right: 0px;
	    bottom: 20px;
		padding: 0px;
        overflow: auto;
	}

	.left{
	    float:none;
	}
	
	h1{
	    font-size:30px; 
	    margin-bottom:7px;  
	}
	
	ul#navigation li {  
	    padding: 5px;
	    font-size:14px;
	}     

	.messageWindow{
		left: 10px; 
		top: 50px; 
		right: 10px;
	}
	*/

/* Content */

	/*
	#content{
	    padding: 5px 5px 5px 5px;  
	}
	*/
	
	.profile_carrier_c{
		width: 600px;
	}
	
	.profile_carrier_p{
		width: 600px;
	}
	
	.signin_carrier{
		width: 600px;
	}
	/*
	#referenceList{
		height: 300px; 
	}
	
	#referenceOperations{
		bottom: 30px; 
		right: 5px; 
	}
	
	.resultcarrier{
		max-width: 200px;
		width: 200px;
	}
	
	.resultimage{
		width: 60px;
	}
	
	.resultpercentage{
		width: 60px;
	}
	*/
}


@media all and (max-width: 680px) {   
    
    /* Allgemein */
	/*
	#footer_navigation_contact{
		display: none;
	}
    
    body{
        font-size:14px; 
        line-height: 1.2;
    }

	#header{
		position: fixed;
	    height:36px;
	    top: 0px;
	    left: 0px;
	    right: 0px;
		margin:0 auto;
        padding: 0px;
        margin: 0px;
	}
    */
    #menubar{
    	display: none;
		position: absolute;
    	top: 5px;
    	left: 40px;
    	width: 220px;
    	z-index: 14;
    }
	/*
    #main {
		position: fixed;
	    top: 36px;
	    left: 0px;
	    right: 0px;
	    bottom: 20px;
		padding: 0px;
        top: 40px;
        overflow: auto;
	}

    .left{
        width:100%;
        float:none; 
    }
    
    .main-img{
        margin: 0 0 5px 0;  
    }
    */
	.profile_carrier_c{
		width: 600px;
	}
	
	.profile_carrier_p{
		width: 600px;
	}
	
	.signin_carrier{
		width: 600px;
	}
	
    /* Content */
	#homebutton{
		display: inherit;
	}

	#searchbutton{
		position: absolute;
		right: 5px;
		top: 5px;
		z-index: 14;
	}
	
	#searchbutton_image{
		width: 24px;
		height: 24px;
	}

    ul#navigation {
        background-color: grey;
		width: 210px;
    }

    ul#navigation li {  
        list-style: none;
        margin: 5px 0 0 0;
        text-align:left;
        font-size:20px;
        width:210px; 
	}
    
    ul#navigation li:active{
        background-color:black;
        color:white;
    }
    
    ul#navigation li:hover{
        background-color:black;
        color:white;
    }   
	
	/*
	.profile_carrier_c{
		background-color: white;
		width: 280px;
	}
	
	.profile_carrier_p{
		background-color: white;
		width: 280px;
	}
	
	.signin_carrier{
		background-color: white;
		width: 280px;
	}

	.right_border{
		right: 20px;
		width: 100px;
	}

	#references{
		height: 400px;
	}

	#referenceList{
		height: 300px; 
	}
	
	#referenceOperations{
		bottom: 30px; 
		right: 5px; 
	}

	#referenceInfo{
		height: 230px; 
	}
	
	.resultcarrier{
		max-width: 150px;
		width: 150px;
	}
	
	.resultdetailscarrier{
		max-width: 200px;
		width: 200px;
	}
	
	.resultimage{
		width: 60px;
	}
	
	.resultpercentage{
		width: 30px;
	}

	.document_item_size{
		display: none;
	}
	
	.document_item_date{
		display: none;
	}
	*/
	#ep_details_overlay { 
		width: 520px;
		height: 500px;
	}

	#ep_details_overlay_inner_box{
		height: 490px;
	}

	#document_left_bar{
		left: 10px; 
		width: 150px; 
		height: 410px;
	}

	#person_left_bar{
		left: 10px; 
		width: 150px; 
		height: 410px;
	}

	#person_details{
		right: 10px; 
		width: 350px; 
		height: 410px;
		overflow: hidden;
	}

	#person_affiliations{
		width: 350px; 
	}
	
	.person_search_details{
		width: 350px; 
	}
	
	.efname {
	    height: 16px;
	    font-size: 16px;
	}
	
	.efaddress {
	    height: 16px;
	    font-size: 16px;
	}

	#tagcloud{
	    width: 130%;
	    max-width: 130%;
		max-height: 365px;
	}
	
	#contact_data {
		font-size: 16px;
	}

	#ep_image {
		font-size: 12px;
	}

	.doc_tab_inactive {
		font-size: 14px;
	}

	.doc_tab {
		font-size: 14px;
	}
	
	/* Login-Dialog */
	/*
	#loginEditor{
		height: 180px; 
	}
	*/
}



@media all and (max-width: 520px) {   
    
    /* Content */

	#ef_content{
		position: fixed;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		overflow: auto;
		background: white;
	}

	#ef_main_content{
		overflow: hidden;
	}

	.messageWindow{
		z-index: 15;
	}
	
	select{
		height: 30px;
	}

	.inputLabel{
		font-size: 14px;
	}

	.inputField{
		max-width: 160px;
	}
	
	.masterDataTextEdit {
		font-size: 14px;
	}
	
	.masterDataCheck {
		font-size: 14px;
	}
	
	.masterDataNodeEdit {
		font-size: 14px;
	}

	.rowCarrier{
		max-width: 150px;
	}
	
	/*
	#footer_navigation_contact{
		display: none;
	}
	
	.resultcarrier{
		max-width: 170px;
		width: 170px;
	}
	
	.resultdetailscarrier{
		max-width: 240px;
		width: 240px;
	}

	.resultimage{
		width: 60px;
	}
	
	.resultpercentage{
		width: 30px;
	}

	.document_item_size{
		display: none;
	}
	
	.document_item_date{
		display: none;
	}
	*/
	.profile_carrier_c{
		width: 350px;
		font-size: 14px;
	}
	
	.profile_carrier_p{
		width: 350px;
		font-size: 14px;
	}
	
	.signin_carrier{
		width: 350px;
	}
	.resultdiv {
		font-size: 14px;
	}
	
	#person_details{
		top: 280px; 
		right: 10px; 
		width: 310px; 
		height: 210px; 
		max-height: 290px; 
	}

	#person_left_bar{
		left: 10px; 
		width: 310px; 
		height: 200px;
		max-height: 200px;
	}

	#ep_image {
		font-size: 12px;
		float: left;
		width: 150px;
	}
	
	#contact_data {
		float: left;
		width: 160px;
		max-width: 160px;
		font-size: 14px;
	}

	.person_details_menu{
		width: 300px; 
	}

	#person_affiliations{
		width: 310px; 
		height: 264px;
	}
	
	.person_search_details{
		width: 400px; 
		height: 280px;
	}
	
	#ep_details_overlay {
		width: 330px;
		height: 500px;
	}

	#tagcloud{
	    width: 130%;
	    max-width: 130%;
		max-height: 130px;
	}
	
	.efname {
	    height: 12px;
	    font-size: 12px;
	}
	
	.efaddress {
	    height: 12px;
	    font-size: 12px;
	}
	
	.efphone {
	    height: 12px;
	    font-size: 12px;
	}
	
	.efmail {
	    height: 12px;
	    font-size: 12px;
	}
	.efhomepage {
	    height: 12px;
	    font-size: 12px;
	}
}