/* tablet */
@media all and (max-width: 960px) {

	body {
		background: none;
	}

	.open_mobile_menu {
		position: absolute;
		top: 5px;
		right: 15px;
		z-index: 20;
		border-radius: 2px;
		color: #000;
		text-decoration: none;	
		font-size: 18px;
	}

	.open_mobile_menu img {
		border-radius: 2px;
		width: 30px;
		height: 20px;
		vertical-align: middle;
	}

	.mm-menu.mm-right {
    	background-color: #FAF8F5;
	}

	#left_container {
		width: 100%;
		border-right: none;
		position: relative;
	}

	#left_container #left_quote {
		width: 98%;
		margin-left: 1%;
		border-top: none;
	}	

	#logo_container {
	    border: 1px solid #DFD8D2;
	    padding: 0px;
	    margin-top: 10px;
	    text-align: left;
	}

	#logo {
		width: 0;
		height: 0;
	    background-image: url('../img/tuburi_3.jpg');
	    background-size: cover;
	    padding: 93px 108px 0 0;
	}

	#right_container_outer {
	    top: 0;
	    width: 96%;
	    position: relative;
	    left: 0;
	    margin-left: 2%;
	}

	.navbar {
		display: none;
	}

	#flags_container {
	    position: absolute;
	    top: 32px;
	    left: initial;
	    right: 15px;
	    width: auto;
	}	

	#flags_container .tx-bblanguageselect-pi1 {
		width: 30px;
		font-size: 0;
	}

	#flags_container .tx-bblanguageselect-pi1 > img {
		display: none;
	}

	#flags_container .tx-bblanguageselect-pi1 a img {
		background-image: url('../img/flag_de.png');
    	background-size: cover;
    	padding: 20px 30px 0 0;
    	width: 0;
    	height: 0;
    	border-radius: 2px;
    	margin: 6px 0;
	}

	#flags_container .tx-bblanguageselect-pi1 a:last-child img {
		background-image: url('../img/flag_ro.png');
    	background-size: cover;
    	padding: 20px 30px 0 0;
    	width: 0;
    	height: 0;
    	border-radius: 2px;
	}

	#navbar_fade {
		display: none;
	}

	#right_container_inner {
		margin: 15px 0 0 0;
		width: 100%;
		border: 1px solid #DFD8D2;
	}

	#rci_left_column {
		width: 98%;
		margin: 0 1%;
		padding: 0;
	}	

	div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-lastcol {
    	margin-right: 10px !important;
	}

	#rci_left_column .csc-textpic div.csc-textpic-imagewrap {
		max-width: 100% !important;
	}

	#rci_left_column .csc-textpic div.csc-textpic-imagewrap .csc-textpic-imagerow {
		max-width: 100% !important;
	}	

	#rci_left_column .csc-textpic div.csc-textpic-imagewrap dl {
		max-width: 100% !important;
	}

	div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image img {
		max-width: 99% !important;
		height: auto !important;
	}	

	#rci_left_column .csc-header.csc-header-n1 {
		height: 10px;
	}

	#rci_left_column h1:first-of-type {
		background-image: none;
		position: relative;
		font-size: 18px;
		top: -85px;
		/*left: 30px;*/
		margin: 0 auto;
		padding: 0;			
	}

	#rci_left_column table.contenttable {
		padding-top: 20px;
	}


	#footer {
		width: 100%;
		height: auto;
		text-align: center;
		padding: 10px 0;
		border-top: none;
	}	

	#footer #left_container {
		border: 1px solid #DFD8D2;
		margin-bottom: 5px;
	}


	#footer .left_menu_text a {
	    font-size: 14px;
	    font-weight: bold;
	    color: #8E1F0D;
	    text-decoration: none;
	    background: #EDE9E6;
	}

	#footer a {
		background: none;
		font-size: 1em;
	}

} 


/* smartphone */
@media all and (max-width: 480px) {

	div.csc-textpic-intext-right div.csc-textpic-imagewrap,
	div.csc-textpic-intext-right-nowrap div.csc-textpic-imagewrap {
    	margin-left: 0px !important;
	}

	#rci_left_column .csc-textpic div.csc-textpic-imagewrap {
		width: 100%;
		text-align: center;
		margin-bottom: 10px;
		margin-top: 10px;
	}

	#rci_left_column .csc-textpic div.csc-textpic-imagewrap dl {
		width: 100% !important;
	}

	div.csc-textpic div.csc-textpic-imagewrap .csc-textpic-image img {
		border: none;
		max-width: 100% !important;
	}	

	#rci_left_column .csc-textpic.csc-textpic-intext-left-nowrap div:nth-child(2) {
		margin-left: 0 !important;
		width: 100% !important;	
	}

	#rci_left_column .csc-header.csc-header-n1 {
		height: auto;
	}

	#rci_left_column h1:first-of-type {
		background-image: url(../img/leafs_brown.jpg);
		font-size: 22px;
		top: initial;
		margin: 0 0 -.3em 0;
    	padding: .4em 0 .3em 3.3em;	
    	padding-bottom: 30px;
	}	

}