@media only screen and (min-width: 1200px)  {/*lg*/

	/* --------------------------- BGN FOOTER --------------------------- */
	
    #footer .main-navigation{
    	float: none!important;
		margin-top: 0!important;
	}
	
	#footer .fa-map-marker,  #footer .fa-phone{
		font-size: 4em;
	}
	
	#footer .info-footer h3{
		padding-top: 60px;
	}
	
	/* --------------------------- END FOOTER --------------------------- */

} 

@media only screen and (min-width: 992px) and (max-width: 1199px) {/*md*/
    
    /* --------------------------- BGN FOOTER --------------------------- */
    
    #footer .fa-map-marker,  #footer .fa-phone{
		font-size: 4em;
	}
    
    #footer .main-navigation{
    	float: none!important;
		margin-top: 0!important;
	}
	
	#footer .info-footer h3{
		padding-top: 25px;
	}
	
	/* --------------------------- END FOOTER --------------------------- */
	
	/* --------------------------- BGN SPECIALISTI Section --------------------------- */
	
	.specialist-img-container:hover p {
		font-size: 14px!important;
		line-height: 14px!important;
	}
	
	/* --------------------------- END SPECIALISTI Section --------------------------- */
 
}

@media only screen and (min-width: 768px) and (max-width: 991px) {/*sm*/
        
        
     /* --------------------------- BGN FONTS --------------------------- */
   
    .testimonial .testimonial-content p, .parteneri_wrapper p, .lastest_wrapper p, .specialisti_wrapper p, .despre_wrapper p, .cnas p, #simple_page p{
		font-size: 16px!important;
		line-height: 24px!important;
	}
	
	.parteneri_wrapper h3, .lastest_wrapper h3, .specialisti_wrapper h3, .despre_wrapper h3, #simple_page h3, #testimonials_title h3, body.page h1.entry-title{
		font-size: 24px!important;
		line-height: 30px!important;
	}
	
	.specialist-img-container:hover p{
		font-size: 16px!important;
		line-height: 20px!important;
	}
	
	.specialisti_wrapper h5{
		font-size: 20px!important;
		line-height: 26px!important;
	}
	
	.highlight_wrapper{
		padding: 10px 0 10px 10px!important;
	}
   
   	.table_duo p{
		font-size: 14px!important;
	}
   
   	/* --------------------------- END FONTS --------------------------- */
   	
   	/* --------------------------- BGN MENU Header --------------------------- */
   	
    #primary-menu {
        display: block;
        margin-top: 20px;
    }
    
    .main-navigation{
		text-align: right!important;
	}
	
	#masthead{
		padding-top: 0;
		margin-top: 30px;
	}
	
	.top_header{
		position: relative;
		z-index: 9999;
	}
	
	/* --------------------------- END MENU Header --------------------------- */
    
    /* --------------------------- BGN FOOTER --------------------------- */
    
    #footer .main-navigation{
    	float: none!important;
		margin-top: 0!important;
	}
	
	#footer .fa-map-marker,  #footer .fa-phone{
		font-size: 4em;
		float: left!important;
	}
	
	#footer .info-footer h3{
		font-size: 20px !important;
		padding-top: 15px;
	}
	
	#footer .info-footer{
		margin-top: 15px;	
	}
	
	/* --------------------------- END FOOTER --------------------------- */
	
	/* --------------------------- BGN SUBHEADER --------------------------- */
	
	.oferta-btn a{
		padding-left: 20px!important;
		padding-right: 20px!important;
	}
	
	/* --------------------------- END SUBHEADER --------------------------- */
	
	/* --------------------------- BGN CNAS Section --------------------------- */
	
	.cnas img{
		display: block;
	    margin-left: auto;
	    margin-right: auto 
	}
	
	/* --------------------------- END CNAS Section --------------------------- */
	
	/* --------------------------- BGN CONTACT --------------------------- */
	
	button.contact_submit{
		padding: 18px 0;
			
	}
	
	.map_contact{
		margin-bottom: 36px!important;
	}
	
	/* --------------------------- END CONTACT --------------------------- */
	
	/* --------------------------- BGN Slider homepage --------------------------- */
	
	.flex-direction-nav{
		left:52%!important;
	}
	
	.flexslider .slider_descr p{
		width: 100%!important;
	}
	
	.flexslider-controls ol.flex-control-nav li .controls-descr h2{
		margin-bottom: 5px!important;
	}
	
	.flexslider-controls ol.flex-control-nav li{
		height: 125px!important;
		margin-bottom: 15px!important;
	}
	
	.flexslider .slider_descr{
		margin-top: 50px!important;
	}
	
	.controls-icon{
		display: none;
	}
	
	/* --------------------------- END Slider homepage --------------------------- */
	
	.map_hp{
		height: 260px!important;
	}
	
	.map_hp a{
		height: 260px!important;
	}
	
	
	/* --------------------------- BGN SPECIALISTI Section --------------------------- */
	
	.specialisti_wrapper h5{
		margin-top: 0!important;
	}
	
	.specialisti_wrapper p{
		margin-bottom: 20px!important;
	}
	
	/* --------------------------- END SPECIALISTI Section --------------------------- */
	
}

@media only screen and (max-width: 767px) {    /*xs*/  
   
   
   	/* --------------------------- BGN PAGE SETTINGS --------------------------- */
   	
   	img.logo, .cnas img{
		display: block;
	    margin-left: auto;
	    margin-right: auto 
	}
	
	.event_widg_wrapper{
		display: none;
	}
	
	.pull-xs-left{
		text-align: left!important;
		float: left!important;
	}
	
	header .abs{
		position: absolute;
   		z-index: 999;
	}
	
	#simple_page ul.green_arrow li:before{
		padding-left: 10px!important;
	}

	.img_cercetare{	
		background-size: cover!important;
		height: 250px!important;
	}
	
	#masthead{
		padding-top: 0;
		margin-top: 20px;
		margin-bottom: 10px;
		
	}
	
	.main-navigation{
		min-height: 35px!important;
	}
	
	/* --------------------------- END PAGE SETTINGS --------------------------- */
	
	/* --------------------------- BGN FONTS --------------------------- */
   
    .testimonial .testimonial-content p, .parteneri_wrapper p, .lastest_wrapper p, .specialisti_wrapper p, .despre_wrapper p, .cnas p, #simple_page p{
		font-size: 16px!important;
		line-height: 24px!important;
	}
	
	.parteneri_wrapper h3, .lastest_wrapper h3, .specialisti_wrapper h3, .despre_wrapper h3, #simple_page h3, #testimonials_title h3, body.page h1.entry-title{
		font-size: 24px!important;
		line-height: 30px!important;
	}
	
	.specialist-img-container:hover p{
		font-size: 16px!important;
		line-height: 20px!important;
	}
	
	.specialisti_wrapper h5{
		font-size: 20px!important;
		line-height: 26px!important;
	}
	
	.highlight_wrapper{
		padding: 10px 0 10px 10px!important;
	}
   
   	.table_duo p{
		font-size: 14px!important;
	}
   
   	/* --------------------------- END FONTS --------------------------- */
    
    /* --------------------------- BGN MENU --------------------------- */
		.navbar_wrapper{
			padding: 0!important;
		}
		
		.navbar{
			display: block;
			max-height: 600px;
			height: auto;
		}
		
		.navbar-toggle, .navbar-toggle:hover, .navbar-toggle:focus{
			background: #00a651;
			padding: 7px;
			margin: 0;
			float: right;
			width: 36px;
			height: 35px;
			border: 0;
			border-radius: 5px;
			margin-right: 15px;
		}
		
		.navbar-toggle .icon-bar{
			background: #fff;
		}
		
		.navbar-collapse{
			display: block;
			width: 100%;
			height: 100%;
		}
		
		#primary-menu.collapse.in > ul, #primary-menu.collapse.in{
			display: block;
		}
		
	   #primary-menu > ul {
		display: none;
		height: auto;
		overflow: hidden;
		-webkit-transition: max-height 0.35s ease-out;
		-moz-transition: max-height 0.35s ease-out;
		-ms-transition: max-height 0.35s ease-out;
		-o-transition: max-height 0.35s ease-out;
		transition: max-height 0.35s ease-out;
		float: left;
		width: 100%;
		color: #fff!important;
	  }
	  
	  #primary-menu > ul a{
		  color: #fff!important;
	  } 
	  
	 #primary-menu {
		display: none;
        background: #00a651!important;
		border: 0!important;
        border-radius: 0;
        margin: 0!important;
        margin-top: 20px!important;
		color: #fff!important;
    }
    
    #primary-menu .current_page_item > a, #primary-menu .current_page_ancestor > a, #primary-menu .current-menu-item > a, #primary-menu .current-menu-ancestor > a, #primary-menu li:hover > a, #primary-menu li a:hover, #primary-menu li a:focus, #primary-menu li:hover > a, #primary-menu li a:hover, #primary-menu li a:focus, #primary-menu ul li a:focus{
		background: #1a4333!important;
		border-radius: 0!important;
		color: #fff;
	}
    
    #primary-menu li {
        margin: 0!important;
        border-radius: 0;
        display: block!important;
    }
    
    #primary-menu li a {
        font-size: 16px!important;
		line-height: 18px!important;
        padding: 10px 0 10px 0;
        text-align: left!important;
        border-radius: 0;
        color: #fff;
    }
    
    #primary-menu .dropdown-menu {
        left: 0!important;
        border: 0!important;
        border-radius: 0!important;
    }
    
    #primary-menu .dropdown-menu li a{
		font-size: 16px!important;
		line-height: 18px!important;
        padding: 10px 0 10px 50px!important;
        text-align: left!important;
        border-radius: 0;
        color: #fff;
        margin: 0!important;
	}
    
    #primary-menu li.focus .dropdown-menu, ul#primary-menu li:hover .dropdown-menu {
       height: auto;
    }

    #primary-menu li:hover > ul li a, #primary-menu ul li:hover > ul li a {
        background: transparent;
    }
    
    #primary-menu .dropdown-menu {
		padding: 0!important;
	}
	
	#primary-menu .dropdown-menu li:first-child, ul#primary-menu .dropdown-menu li:last-of-type{
		border-bottom: 0!important;
	}
	
	#primary-menu .dropdown-menu li{
		border: 0!important;
	}
    
    /* --------------------------- END MENU --------------------------- */
    
   	/* --------------------------- BGN SUBHEADER --------------------------- */
    
    .sub-header{
		height: auto!important;
		padding-bottom: 10px;
		margin: 10px 0 10px!important;
	}

	.oferta-btn a{
		height: 38px;
		padding: 8px 0!important;
		border-radius: 5px;
	}
	
	.searchform input{
		margin-top: 10px!important;
		margin-bottom: 10px!important;
	}
	
	.searchform button.searchsubmit, .searchform button.searchsubmit:hover{
	    margin: 0;
	    margin-right: 12px;
	    margin-top: 15px!important;
	}
	
	/* --------------------------- END SUBHEADER --------------------------- */
	
	
	/* --------------------------- BGN FOOTER --------------------------- */
	
	#footer .fa-map-marker,  #footer .fa-phone{
		font-size: 3em;
		float: left!important;
	}
	
	#footer .info-footer{
		margin-top: 15px;	
	}
	
	#footer .info-footer h3{
		font-size: 20px !important;
		padding-top: 15px;
	}
	
	/* --------------------------- END FOOTER --------------------------- */
	
	/* --------------------------- BGN CONTACT --------------------------- */
	
	.map_contact{
		margin-bottom: 20px;
	}
	
	button.contact_submit{
		padding: 18px 0;	
	}
	
	/* --------------------------- BGN CONTACT --------------------------- */
	
	/* --------------------------- BGN SLIDER --------------------------- */
	
	.flexslider{
		margin-bottom: 0!important;
		margin-top: -10px!important
	}
	
	.flexslider .slides{
		height: auto!important;
	}
	
	ul.flex-direction-nav{
		background: none!important;
    	top: 10px!important;
		left: 80%!important;
		margin: 0!important;
	}
	
	ul.slides li.flex-active-slide img.img_slider_inner, ul.slides li img.img_slider_inner{
		display: none;
	}
	
	.flexslider .slider_descr{
		margin-top: 20px!important;
		margin-bottom: 20px!important;
	}
	
	.flexslider .slider_descr p{
		width: 100%!important;
	}
	
	.flexslider-controls{
		display: none!important;
	}
	
	.flexslider:hover .flex-direction-nav .flex-prev, .flexslider .flex-direction-nav .flex-prev{
		left: 0!important;
	}
	
	.flexslider:hover .flex-direction-nav .flex-next, .flexslider .flex-direction-nav .flex-next{
		right: 0!important;
	}
	
	.flexslider .slider_descr h1{
		font-size: 24px!important;
		line-height: 30px!important;
		margin-bottom: 15px!important;
	}
	
	/* --------------------------- END SLIDER --------------------------- */
	
	/* --------------------------- BGN CNAS Section --------------------------- */
	
	.cnas img{
		margin-bottom: 20px;
		display: block;
	    margin-left: auto;
	    margin-right: auto 
	}
	
	
	/* --------------------------- END CNAS Section --------------------------- */
	
	/* --------------------------- BGN SPECIALISTI Section --------------------------- */
	
	.specialisti_wrapper h5{
		margin-top: 0!important;
	}
	
	.specialisti_wrapper p{
		margin-bottom: 20px!important;
	}
	
	/* --------------------------- END SPECIALISTI Section --------------------------- */
	
	/* --------------------------- END PARTENERI Section --------------------------- */
	
	#parteneriNav{
		display: none;
	}
	
	#slider_parteneri{
		margin-top: 20px!important;
	}
	
	/* --------------------------- END PARTENERI Section --------------------------- */
	
	.map_hp{
		height: 260px!important;
	}
	
	.map_hp a{
		height: 260px!important;
	}
	
	.logo_404{
		margin-top: 30px!important;
		margin-bottom: 30px!important;
	}

	
}

@media only screen and (max-width: 643px) {
    #content .entry-header, #content .entry-content, #content .entry-summary, #content footer.entry-meta, #content .featured-gallery, .search.sidebar .page-content, .blog.sidebar .page-content, .sidebar .post-navigation .nav-links, .paging-navigation .nav-links, #content .author-info, .comments-area .comments-title, .comments-area .comment-list, .comments-area .comment-navigation, .comment-respond, .sidebar .site-info, .sidebar .paging-navigation .nav-links {
        padding: 0!important;
}
}






