/* NESPRA - put here your custom css styles */
#menu-item-12307 {
	background-image: url('/wp-content/uploads/2013/04/clerigos60small.png'); 
	background-repeat-y: no-repeat; 
	font-weight:bold;
}

.addressContact {
  border-bottom: 1px solid #007796;
  padding: 4px 12px 12px 12px;
  line-height: 1.3;
}

.inputRegisterNLMail {
    width: 100%;
    height: 22px;
    padding: 4px 0px 4px 4px;
    border: none;
}

.inputRegisterNLButton {
    transition: background 0.3s;
    background-color: #00b6cc;
    color: white;
    height: 30px;
    width: 100px;
    border: none;
    cursor: pointer;
}

.footer_container ul.mc_gallery {
    height: 210px!important;
	display:inline;
}

#widget_ex_attachments-2 .ex-attachments-noicons {
    list-style-type: none;
    margin-left: 0px;
    padding-left: 0px;
}
#widget_ex_attachments-2 .ex-attachments-noicons li {
    margin-top: 20px;
}he
#widget_ex_attachments-2 .ex-attachments-noicons li a {
    text-decoration: none;
    border-bottom: none;
    color: black;
    font-family: 'arial';
    font-size: 13px;
    font-weight: bold;
}


.footer_banner_box {
    	height:140px;
}

body.error404 .page_header{
	display:none;
}

body.error404 > div.site_container.fullwidth > div.theme_page.relative > div > div:nth-child(2) > div:nth-child(1) > div{
	margin: 80px auto;
	text-align: center;
}

body.error404 > div.site_container.fullwidth > div.theme_page.relative > div > div:nth-child(2) > div:nth-child(1) > div > div > div.wpb_text_column.wpb_content_element.vc_custom_1412858615415 > div > p{
	margin-top:20px;
}
/*
body.error404 > div.site_container.fullwidth > div.theme_page.relative > div > div:nth-child(2) > div:nth-child(1) > div img{
	max-width: 100%;
	height: auto;
}*/
body.error404 .page_layout .wpb_single_image img {
	max-width: 100%;
	height: auto;
}

.post_content .really_simple_share {
	display:block;
}

.really_simple_share {
	//display:none;
}


body.page-id-1294 #medicenter_appointment-2{
	margin-top:0;
}

.home_box_container{
	position:relative;
}

body:not(.single-post,.page-id-2718) .caroufredsel_wrapper{
	margin-top: -33px!important; 
}

.header {
    	padding: 0;
	position:relative;
}

.secondary-logo{
	margin-top: 20px;
}

#logo-criancas, #logo-icarepin {
	transition: opacity 200ms;
}

#logo-criancas:hover, #logo-icarepin:hover {
	opacity: 0.8;
}

.menu-main-menu-container {
	margin-top: 0;
}

.comment_form_container {
	//padding-top: 90px;
	margin-top: 10px;

}

#comments_list {
	margin-top: 30px;

}
/*
Removed becaus it breaks pages titles
selector need to be refined
.page_margin_top:not(.wpb_widgetised_column) {
	margin-top: 0px !important;
}*/

/*#menu-main-menu {
	margin: 10px 0;
}*/
.header_left {
	position: absolute;
	z-index: 1000;
	top: 7px;
}

.sf-menu li a{
	height:40%;
	border: none;
	padding-bottom: 17px;
	
}

ul.sf-menu#menu-main-menu li.menu-item a {
	transition: background 0.3s;
}
ul.sf-menu#menu-main-menu li.menu-item ul.sub-menu a{
	transition:none;
	line-height:16px;

}

.items_list.opening_hours li span, .items_list.opening_hours .value {
	color:#666;
	/* padding: 10px 0px 0px 0px; */
}

body.page-id-1294 .theme_page h3.box_header {
	margin-top: 30px;
}

body.page-id-1294 .search, body.page-id-2981 .search{
	display:none;
}

.search{
	display:none;	
}

@media screen and (min-width:1010px)
{
	body.page-id-2570 h3.sentence:first-child{
		font-size: 36px;
		margin-top:0;
	}
}

body.page-id-2570 .theme_page .wpb_wrapper{
	margin:15px auto;
}

/*Paragraphs paddings on text box*/


.wpb_content_element .wpb_wrapper p{
	padding: 10px 0 10px;
}


.textwidget{
	margin-top:10px;
}

.textwidget .items_list li h3.sentence {
	margin: 10px auto;
}	


/************************************************** | SOCIAL ICONS | ********************************************************/

#social .really_simple_share_facebook_share_new{ width:100%!important;margin: 10px auto!important;}
#social > div{ width:100%!important;}
#social .fb-share-button.fb_iframe_widget {width: 100%!important;}

#social .really_simple_share_twitter{width: 100%!important;padding: 0!important;margin: -5px 0!important;}
#social .really_simple_share_google1, #social .really_simple_share_pinterest{width: 100%!important;padding: 0!important;margin: 3px 0!important;}

#social .really_simple_share_pinterest a {

	border-bottom: none;
}

@media screen and (max-width:479px){
	#social .fb-share-button.fb_iframe_widget,
	#social .really_simple_share_twitter,
	#social .really_simple_share_google1, #social .really_simple_share_pinterest{
		text-align:left!important;
	}
}

/************************************************** | PIN CAROUSEL HOME | *******************************************************/
.home_box .pin-carousel-container{
	position: absolute;
	top: 55px;
	right: 30px;
	left: 30px;
	bottom: 10px;
	overflow:hidden;
}
.pin-carousel-line{
	position: absolute;
	top: 0px;
	opacity: 0;
}

.pin-carousel-line h4{
	color:#fff;
	font-size:18px;
}

.pin-carousel-line p{
	color:#fff;	
}

.pin-carousel-website, .pin-carousel-website:hover {
	color: #fff;
	text-align: right;
	position: absolute;
	bottom: 24px;
	right: 32px;
	text-decoration: underline!important;
	border-bottom: none;
}



.pin-carousel-line p.clamp3{
	width: 270px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	height: 47px;
	-webkit-box-orient: vertical;

	text-overflow: -o-ellipsis-lastline;

}

.pin-carousel-line p.clamp2{
	width: 270px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	height: 24px;
	-webkit-box-orient: vertical;

	text-overflow: -o-ellipsis-lastline;

}


/*.pin-carousel-line:not(.selected){
	display:none;
}*/



/************************************************** | AGENDA HOME | *******************************************************/
.home_box img, .home_box .controls, .home_box .gallery_item_details_list .column_right label{
	display:none!important;
}

.home_box .gallery_item_details_list{
	margin-top:0;
	max-height: 72px;
}

.home_box .gallery_box .description{
	background-color:transparent;
	padding: 0;
	text-align: left;
}

.home_box .gallery_item_details_list .column_right {
	float: left;
	width: 100%;
}

.home_box .gallery_item_details_list .column_left{
	display:none;
}

.home_box .gallery_box, .home_box .gallery_item_details_list .column_right .details_box{
	width:100%;
}

.home_box .gallery_item_details_list .column_right .details_box {
	margin-top:0;
}

.home_box .gallery_item_details_list .column_right {
	margin-top:0;
}

.home_box .gallery_item_details_list .column_right .details_box .box_header{
	float:left;
	width:87%;
	font-size: 13px;
	padding: 0;
	margin-top: 7px;
	
	
	display: block!important;
	display: -webkit-box!important;
	max-width: 400px;
	height: 35px;
	margin: 0 auto;
	font-size: 13px!important;
	line-height: 19.5px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;

	margin-bottom:10px;
}
.home_box .gallery_item_details_list .column_right .details_box .wpb_row{
	float:left;
	width:100%;
}

.home_box .gallery_item_details_list .column_right .details_box .wpb_row .info_list li{
	display: none;
}

.home_box .gallery_item_details_list .column_right .details_box .wpb_row .info_list li:first-child{
	display: block;
}

.home_box .gallery_item_details_list .column_right .details_box .wpb_row .info_list li .text{
	width: 96%;


	display: block!important;
	display: -webkit-box!important;
	max-width: 400px;
	height: 16px;
	margin: 0 auto;
	font-size: 11px!important;
	line-height: 19.5px;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home_box .gallery_item_details_list li.gallery_item_details{
	padding-top: 10px;
	margin-top: 5px;
	
}

.home_box .gallery_item_details_list li.gallery_item_details:first-child{
	margin-top:0;
	max-height:90px;
	padding-top:0;
}

.home_box .gallery_item_details_list .column_right .info_list{
	margin-top: 1px;
}

.home_box .gallery_item_details_list .column_right .info_list li{
	border:none;
}

.home_box .news{
	margin-top: 10px;
}

.home_box_container_list .gallery_item_details{
	display:none!important;
}

.home_box_container_list .gallery_item_details:nth-child(1){
	display:block!important;
}

/*.home_box_container_list .gallery_item_details:nth-child(2){
	display:block!important;
	border-top:solid #fff 1px;
}*/

.home_box .box_header:after{
	background-color:transparent;
}

.home_box_container_list .home_box_container:last-child .news a{
	text-decoration:underline!important;
}

/************************************************** | Media Stream HOME - Footer | *******************************************************/

.footer_container #text-8 .open_details, body.page-id-2423 #text-8 .description{
	display:none!important;
}

.footer_container #text-8 .isotope-item{
	width:100px!important;
	height: 100px!important;
	overflow: hidden!important;
}
.footer_container #text-8 .isotope-item div{
	width:100%!important;
	height:100%!important;
	margin-top: 10px!important;
}
/*
.footer_container #text-8 .isotope-item img{
	margin-left: -80px!important;
	margin-top: -31px!important;
}*/

.footer_container #text-8 .isotope-item .controls{
	margin-left:17px!important;
	margin-top: -5px;	
}

.footer_container #text-8 .isotope-item .description{
	display:none!important;
}

/*.footer_container #text-8 .gallery_box > * {
	display:none!important;
}
.footer_container #text-8 .gallery_box img, body.page-id-2423 #text-8 .gallery_box .description, body.page-id-2423 #text-8 .gallery_box .controls{
	display:block!important;
}*/


/************************************************** | Language Selector on Footer | *****************************************************/

#language-container .language, #language-container a{
	color: rgb(102, 102, 102);
}

#language-container li {
	list-style-type: none;
	display: inline;
}

#language-container li a {
	padding-left: 20px;
}

#language-container .language.selected{
	color: #fff;
}

#language-container{
	position: absolute;
	left: 50%;
/*	margin-left: -19px;	*/
	margin-left: -45px;
}

#language-container .active .qtranxs_flag_en,
#language-container .qtranxs_flag_en:hover {
    background: url("/wp-content/plugins/mqtranslate/flags/en.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

#language-container .qtranxs_flag_en {
    background: url("/wp-content/plugins/mqtranslate/flags/en_inactive.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

#language-container .active .qtranxs_flag_pt,
#language-container .qtranxs_flag_pt:hover {
    background: url("/wp-content/plugins/mqtranslate/flags/pt.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

#language-container .qtranxs_flag_pt {
    background: url("/wp-content/plugins/mqtranslate/flags/pt_inactive.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

@media screen and (max-width:767px){
	#language-container{
		margin-left: 0;
		position: inherit;
		width:100%;
		float:left;
		text-align: left;
		margin-bottom: 10px;
	}
}

/************************************************** | Skype Plugin | *****************************************************/
#contact-us-modal-window{
	font-family:'PT Sans';
	position:fixed;
	right:-200px;
	/*height:330px;*/
	width:200px;
	top: 160px;
	/*background-color:antiquewhite;*/
	background-color:transparent;
	z-index:99999999;
	-webkit-transition: all 200ms ease 0s;
    	-moz-transition: all 200ms ease 0s;
    	-o-transition: all 200ms ease 0s;
   	 transition: all 200ms ease 0s;
}

.close-skype{
	width: 10px;
	height: 10px;
	position: absolute;
	top: 18px;
	right: 30px;
	cursor:pointer;
}

#contact-us-modal-window button,#contact-us-modal-window input{
	font-family:'PT Sans';
}

#skype-thanks{
	text-align: center;
}

.skype-thanks{
	margin-top: 35px;
	margin-bottom: 10px;
}

.skype-logo{
	position: absolute;
	right: 14px;
	top: 10px;
}

#contact-us-modal-window .bottom{
	background-color: #9CD9F7;
	margin: 30px -20px;
	padding: 20px 18px 4px 18px;
	position: absolute;
	bottom: -30px;
	right: 20px;
	left: 20px;
}

#contact-us-modal-window input[type=text]{
	font-size: 13px;
	padding: 4px 5px;
	width: 93%;
	margin: 5px 0;
	height: 18px;
	border:solid #b3b3b3 1px;
}

#contact-us-modal-window section{
	position: absolute;
	background-color: #fff;
	width: 98%;
	height: 350px;
	border-left: solid #E6E6E6 1px;
	border-bottom: solid #E6E6E6 1px;
	padding: 15px 20px;
}

#contact-us-modal-window .skype-mobile section{
	height:220px;
	font-size:12px;
}

#contact-us-modal-window .skype-mobile #skype-intro{
	padding-top: 0px;
	padding-bottom: 20px;
}

#contact-us-modal-window .skype-mobile section{
	padding:10px 20px;
}


#contact-us-modal-window .skype-mobile #skype-goto-online{
		margin-top:14px!important;
}

#contact-us-modal-window .skype-mobile #skype-warning .skype-logo{
		height:68px;
}

#contact-us-modal-window .skype-mobile #skype-warning .bottom{
		top: 100px;
		padding-top: 11px;
}

#skype-overlay{
	position: fixed;
	display:none;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.05);
	z-index: 9999999;
}


#contact-us-modal-window section div{
	line-height:17px;
	margin:10px 0;
	color:#b3b3b3;
}

#contact-us-modal-window section#skype-warning div{
	color:#fff;
}

button#skype-continue {
	margin-bottom: 10px;
}

#contact-us-modal-window header{
	position: absolute;
	left: -70px;
	top: -10px;
	width: 56px;
	padding: 10px;
	cursor: pointer;
	z-index:-1;
}

#contact-us-modal-window .topHeader{
	background-color: #00b6cc;
	height: 34px;
	width: 100%;
	font-size: 16px;
	color: #fff;
	font-family: 'PT Sans';
	padding-top: 16px;
}

#contact-us-modal-window button{
	background-color: #00b6cc;
	border: none;
	color: #fff;
	padding: 10px;
	display: block;
	width: 100%;
	text-align: center;
	cursor:pointer;
}

#contact-us-modal-window button:hover{
	background-color: #0097b5;
}

.skype-desktop #skype-welcome{
	margin-top:110px;
}

button#skype-goto-online {
	margin-top: 18px;
}

button#skype-goto-offline {
	margin-top: 18px;
}

#contact-us-modal-window input.error{
	border:solid rgb(221, 119, 119) 1px;
}

.circle-online { 
   	width: 6px;
   	height: 6px;
   	background: green; 
   	-moz-border-radius: 70px; 
   	-webkit-border-radius: 70px; 
   	border-radius: 70px;
	display:inline-block;
	box-shadow: 0 0 10px rgb(255, 204, 0);
}


.circle-offline { 
   	width: 6px;
   	height: 6px;
   	background: white;
	box-shadow: 0 0 3px 0 gray;
   	-moz-border-radius: 70px; 
   	-webkit-border-radius: 70px; 
   	border-radius: 70px;
	display:inline-block;
}

.skype-name{
	display:inline-block;
	cursor:default;
}

.skype-chat-button{
	background-image: url("images/Nespra/skype-chat.png");	
	background-size: 11px 11px;
	background-repeat: no-repeat;
	background-position: center;	
	width:20px;
	height:20px;
	float:right;
	cursor:pointer;
	
}

.skype-call-button{
	background-image: url("images/Nespra/skype-call.png");
	background-size: 11px 11px;
	background-repeat: no-repeat;
	background-position: center;
	width:20px;
	height:20px;
	float:right;
	cursor:pointer;
}

#skype-form,#skype-warning,#skype-thanks, #skype-intro.desktop{
	display:none;
}

.skype-call-button{
	display:none;
}

.skype-call-button[data-status=online]{
	display:block;
}

.topHeader.cover {
	float: right;
    padding-left: 0;
    width: 120px !important;
}

table.schedule {
	font-size:12px;
}

img.cover {
	margin:7px 0 4px;
}

@media screen and (max-width: 480px){
	#skype-form .hide-m {
		display:none;
	}
	#contact-us-modal-window .skype-mobile section {
		height:auto !important;
	}
}


/* New Version */
.skype-desktop .topHeader .cover{
	width: 95px !important;
	/*padding-bottom: 8px;
    padding-right: 10px;
    padding-top: 8px !important;*/
	text-align:center;
}
.skype-desktop .topHeader {
	padding:8px !important;
	text-align:center;
	float:right;
	width:95px !important;
}
.topHeader{
	transition: all 0s;
}
.header-text.click {
	cursor:pointer;
}
.skype-desktop #skype-cover button,
.skype-desktop #skype-intro button,
.skype-desktop #skype-form button {
	bottom: 15px;
    position: absolute;
    width: 198px !important;
}


/************************************************** | Other - Header | *****************************************************/
.theme_page{
	border-top:none;
}

.single-post .menu-item-2721 a{
	background-color: #00b6cc;
	color: #fff!important;
}

.single-post .scrolling_list_control_left {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

.page-id-2718 .scrolling_list_control_left {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

.single-post .scrolling_list_control_right {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

.page-id-2718 .scrolling_list_control_right {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}

#menu-main-menu{
	height:69px;
}

.description h3{
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.open_lightbox{
	display:none!important;
}

.sf-menu li:hover ul, .sf-menu li.sfHover ul {
	top: 69px;

}


/************************************************** | Other - Footer | *****************************************************/
#nespra-logo{
	float:right;
	margin-left:20px;
}

@media screen and (max-width:479px){
	#nespra-logo{	
		margin-left: 4px;
		position: absolute;
		right: 44px;
	}
}
/************************************************** | Other - All pages | *****************************************************/

.home_box_container_list li {
	height: 120px;
}

.slider_content_box {
	min-height: 345px!important;
}

body.page-id-2423 .blog.column_left{
	margin-right:20px
}

body.page-id-2718 .wpb_column .header_left, body.single-post .header_left{
	position:relative;
}

body.page-id-2718 .wpb_column .header_left{
	position:relative;
	width:215px;
}

body.page-id-2718 .vc_col-sm-4{
	margin-top:30px;
}
body.single-post .vc_col-sm-8{
	float:left;
}

body.single-post .sidebar_box {
	float: left;
	width: 330px;
	overflow: hidden;
	margin-top:30px;
	margin-left:15px;
}
.bread_crumb{
	width:100%;
}

body:not(.page-id-2749) .tabs_navigation.isotope_filters,body.page-id-2749 #text-8 .tabs_navigation.isotope_filters{
	display:none
}

body.page-id-2749 .column_left .gallery_box .controls {
	display: none!important;
}

body.page-id-2570 .wpb_video_widget .wpb_wrapper{
	margin-top: -5px;
}
/*
.page_margin_top:not(.wpb_widgetised_column) {
	margin-top: 5px !important;
}*/

ul#mqtranslate-chooser {
	list-style: none;
	padding: 0;
	margin: 0;
}
ul#mqtranslate-chooser > li {
	display: inline-block;
	padding: 0 10px;	
	border-right: 1px solid #FFFFFF;
	
}

ul#mqtranslate-chooser > li > a {
	color: #909090;

}

ul#mqtranslate-chooser > li.lang-en > a > span  {
	content: "Teste";

}

ul#mqtranslate-chooser > li:first-child {
	padding: 0 10px 0 0 !important;
}
ul#mqtranslate-chooser > li:last-child {
	padding: 0 0 0 10px;
	border-right: none;
}

.wpb_text_column.wpb_content_element .wpb_wrapper ul {
	margin-top: 10px;
}

.wpb_wrapper .wpb_single_image img {
	margin: 10px 0;
}

.mc_gallery.doctors-customgallery_3_columns .gallery_box {
	width:245px;
}

/************************************************** | MEDIA QUERIES | *****************************************************/


@media screen and (max-width: 1009px){
	.sf-menu li {
		height: 62px!important;
		margin-left:0!important;
	}
}
@media screen and (min-width:768px){
	
	.sf-menu li.submenu:hover:before,.sf-menu li.submenu:hover:after{
		display:none!important;
	}

	.header_container .submenu .menu-item a {
		line-height: 20px;
	}
	.page_header{
		padding-top:20px;
	}
	.home_box_container:last-child {
    		max-height: 159px !important;
	}

	.header_container{
		position:fixed;
		left:0;
		right:0;
		top:0;
                z-index:999999;
		height: 69px;
	}

	body:not(.home) .site_container.fullwidth{
		margin-top: 37px;
		padding-top: 9px;
	}
	
	body.home .site_container.fullwidth{
		margin-top: 37px;
	}

}

@media screen and (max-width:767px){

	.mc_gallery .gallery_box {
		width:225px;
	}

	#contact-us-modal-window{
		top:150px;
	}
	
	.sf-menu li:hover ul, .sf-menu li.sfHover ul {
		top: 68px;
	}

	.page_margin_top {
		margin-top: 0;
	}
	.header_left{
		width:100%;
		position:relative;
	}
	
	#logo-criancas{
		margin-left:5%;
		margin-top: 25px;
		width:15%;
	}

	#logo-icarepin{
		margin-top: 25px;
		margin-right:0;
		margin-left:5%;
		width:15%;		
	}
	
	#logo-pin{
/*
		width:26%;
		margin:0!important;
		margin-bottom:20px!important;

		margin-left:16%!important;
*/
	}
	
	.mobile_menu{
		width:100%;
		text-align:center;
	}
}

@media screen and (min-width:1010px){
	body.page-id-2626 #\31 409837942-2-93 > div.wpb_row.vc_row-fluid.vc_custom_1411147345019 > div:nth-child(2) > div > ul{
		margin-top:81px;
	}

	body.page-id-2626 #\31 409837942-2-93 > div:nth-child(3) > div:nth-child(2) > div > ul{
		margin-top:26px;
	}
}

@media screen and (min-width:768px) and (max-width:1009px) {
	body.page-id-2626 #\31 409837942-2-93 > div.wpb_row.vc_row-fluid.vc_custom_1411147345019 > div:nth-child(2) > div > ul{
		margin-top:130px;
	}

	body.page-id-2626 #\31 409837942-2-93 > div:nth-child(3) > div:nth-child(2) > div > ul{
		margin-top:41px;
	}
	
	.mc_gallery .gallery_box {
		width: 230px;
	}

	.pin-carousel-line {
		top: 22px;

	}

}


@media screen and (max-width:1009px) {
	.home_box .pin-carousel-container {
		left: 23px;
	}

}




@media screen and (max-width:767px) {
	body.page-id-2626 #\31 409837942-2-93 > div.wpb_row.vc_row-fluid.vc_custom_1411147345019 > div:nth-child(2){
		margin-left: 0;
		margin-top: -28px;
		margin-bottom: 50px;
	}

	body.page-id-2626 #\31 409837942-2-93 > div:nth-child(3) > div:nth-child(2){
		margin-left: 0;
		margin-top: -28px;
		margin-bottom: 50px;
	}

	.pin-carousel-website {
		right: 23px;
	}
}


@media screen and (min-width:768px) and (max-width:1024px){

	
	#menu-main-menu{
		margin-top:0!important;
		margin-right: 0px!important;
	}
	
	.sf-menu li a {
		padding: 30px 7px 13px 7px;
	}


	.header_left{
		margin: 10px 0;
		top:0;
		position:relative;
		width: 340px!important;
		
	}

	.header_container{
		height:68px!important;
	}	

	.header_left img {
		width: 75px;
	}
	#menu-main-menu {
		margin:20px;
	}
	.mobile_menu {
		padding: 36px 0;
	}

	.header_left{
		position:absolute;		
		margin-top:20px;
		top:0;
	}	

	#logo-criancas{
		margin-left:0;
		margin-right:0;
		margin-left:3%;
		width:27%;
	}

	#logo-icarepin{
		margin-right:0;
		margin-left:3%;
		width:27%;		
	}
	
	#logo-pin{
	/*
		width:40%;
		margin:0!important;
	*/
	}

	.footer_container ul.mc_gallery {
		display: none;
	}
	.footer .wpb_wrapper ul:nth-child(2) {
		margin-left: 10px !important;
    	margin-right: 45px;
	}

	.footer .social-big {
		margin-left: 0px !important;
	}
}

@media screen and (min-width:1025px){
	.sf-menu li a {
		padding: 30px 7px 13px 7px;
	}
}


/*Pin Home Carousel*/
@media screen and (min-width:768px) and (max-width:1009px){

  .home_box_container_list li {
    height: 159px;
  }

  .home_box .gallery_item_details_list .column_right .details_box .box_header {
    float: left;
    width: 65%;
    font-size: 13px;
    padding: 0;
    margin-top: 7px;
    display: block!important;
    display: -webkit-box!important;
    max-width: 400px;
    height: 60px;
    margin: 0 auto;
    font-size: 13px!important;
    line-height: 19.5px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
   }

   .home_box .gallery_item_details_list .column_right .details_box .wpb_row .info_list li .text {
    width: 74%;
    display: block!important;
    display: -webkit-box!important;
    max-width: 400px;
    height: 35px;
    margin: 0 auto;
    font-size: 11px!important;
    line-height: 19.5px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
   }

  .home_box .gallery_item_details_list {
    margin-top: 0;
    max-height: 105px;
   }

  .pin-carousel-line p.clamp3 {
    width: 200px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 47px;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
   }

  .pin-carousel-line p.clamp2 {
    width: 201px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 48px;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
   }

}

@media screen and (min-width:480px) and (max-width:767px){

  .home.page .column_right{
	width:100%!important;
  }

  .slider_content_box {
    min-height: 236px!important;
  }

  .pin-carousel-line p.clamp2 {
    width: 407px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 58px;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
   }
   
 
   .pin-carousel-line p.clamp3 {
    width: 407px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 47px;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
   }

}


@media screen and (max-width:479px){

  .home_box .gallery_item_details_list .column_right .details_box .wpb_row .info_list li .text{
	width:93%;
  }

  .slider_content_box {
    min-height: 150px!important;
  }
  .pin-carousel-line p.clamp3 {
    width: 240px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 47px;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
   }


   .home_box_container_list li {
     height: 140px;
   }

  .pin-carousel-line p.clamp2 {
    width: 240px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 47px;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
   }

}



/*Footer MEDIA GALLERY*/

.footer .social-big {
	float:right;
	margin-left: 15px;
	margin-top: 0px;
}
.single-post .footer .social-big,
.error404 .footer .social-big  {
	right:10px;
}
.single-post .footer #text-8,
.single-post .footer #text-8 .textwidget,
.error404 .footer #text-8,
.error404 .footer #text-8 .textwidget {
	position:relative;
}

.footer .social-big .sc-big {
	float:none;
	margin:9px 0;
}
.footer .social-big .sc-big a{
	width:91px;
	height:91px;
}

.footer .social-big .sc-big a.social_icon:hover, .footer .social-big .sc-big span.social_icon:hover
{
	background-position: 0 -93px;
}












.footer .media.isotope-item:nth-child(n+7){
	display:none;
}

@media screen and (min-width:1010px){
	.footer_container .footer .media.isotope-item:nth-child(1){
		transform:translate3d(0px, 0px, 0px)!important;
		-webkit-transform: translate3d(0px, 0px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(2){
		transform:translate3d(0px, 100px, 0px)!important;
		-webkit-transform: translate3d(0px, 100px, 0px)!important;
	}
	/*.footer .media.isotope-item:nth-child(3){transform:translate3d(210px, 0px, 0px)!important;}*/
	.footer_container .footer .media.isotope-item:nth-child(3){
		transform:translate3d(0px, 100px, 0px)!important;
		-webkit-transform: translate3d(105px, 0px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(4){
		transform:translate3d(105px, 100px, 0px)!important;
		-webkit-transform: translate3d(105px, 100px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(6){
		transform:translate3d(210px, 100px, 0px)!important;
		-webkit-transform: translate3d(210px, 100px, 0px)!important;
	}

}


@media screen and (min-width:768px) and (max-width:1009px){
	.footer_container .footer .media.isotope-item:nth-child(1){
		transform: translate3d(0px, 0px, 0px)!important;
		-webkit-transform: translate3d(0px, 0px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(2){
		transform:translate3d(0px, 100px, 0px)!important;
		-webkit-transform: translate3d(0px, 100px, 0px)!important;
	}
	/*.footer .media.isotope-item:nth-child(3){transform:translate3d(166px, 0px, 0px)!important;}*/
	.footer_container .footer .media.isotope-item:nth-child(3){
		transform:translate3d(0px, 100px, 0px)!important;
		-webkit-transform: translate3d(0px, 100px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(4){
		transform:translate3d(83px, 100px, 0px)!important;
		-webkit-transform: translate3d(83px, 100px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(6){
		transform:translate3d(166px, 100px, 0px)!important;
		-webkit-transform: translate3d(166px, 100px, 0px)!important;
	}
	
	.page_header_left .page_title {
		margin-top: 15px;
	}
}


@media screen and (min-width:480px) and (max-width:767px){
	.footer_container .footer .media.isotope-item:nth-child(1){
		transform: translate3d(0px, 0px, 0px)!important;
		-webkit-transform: translate3d(0px, 0px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(2){
		transform:translate3d(0px, 100px, 0px)!important;
		-webkit-transform: translate3d(0px, 100px, 0px)!important;
	}
	/*.footer .media.isotope-item:nth-child(3){transform:translate3d(302px, 0px, 0px)!important;}*/
	.footer_container .footer .media.isotope-item:nth-child(3){
		transform:translate3d(0px, 100px, 0px)!important;
		-webkit-transform: translate3d(0px, 100px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(4){
		transform:translate3d(151px, 100px, 0px)!important;
		-webkit-transform: translate3d(151px, 100px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(6){
		transform:translate3d(302px, 100px, 0px)!important;
		-webkit-transform: translate3d(302px, 100px, 0px)!important;
	}

	.footer_container .footer .textwidget .wpb_wrapper {
		width: 312px;
	}

	.footer_container ul.mc_gallery {
		display: inline;
	}
}


@media screen and (max-width:479px){
	.footer_container .footer .media.isotope-item:nth-child(1){
		transform:translate3d(0px, 0px, 0px)!important;
		-webkit-transform: translate3d(0px, 0px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(2){
		transform:translate3d(0px, 100px, 0px)!important;
		-webkit-transform: translate3d(0px, 100px, 0px)!important;
	}
	/*.footer .media.isotope-item:nth-child(3){transform:translate3d(204px, 0px, 0px)!important;}*/
	.footer_container .footer .media.isotope-item:nth-child(3){
		transform:translate3d(0px, 100px, 0px)!important;
		-webkit-transform: translate3d(0px, 100px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(4){
		transform:translate3d(102px, 100px, 0px)!important;
		-webkit-transform: translate3d(102px, 100px, 0px)!important;
	}
	.footer_container .footer .media.isotope-item:nth-child(6){
		transform: translate3d(204px, 100px, 0px)!important;
		-webkit-transform: translate3d(204px, 100px, 0px)!important;
	}
	.footer .social-big {
		margin-left: 9px;
	}

	.footer_container ul.mc_gallery {
		display: inline;
	}
}

/* Slider Homepage */
.home.page .slider_navigation {
  width: 100%;
  left: 30%;
}

@media screen and (max-width:479px){
	.home.page .slider_navigation,
	.home.page .slider_navigation {
		display:none !important;
	}
}

/* Testimonials Homepage */
.carousel-anything-container .owl-controls {
	display:none !important;
}
.carousel-anything-container .owl-item{
	/*margin:0 7px 0 0;*/
}

.carousel-anything-container .vc_row .wpb_column {
	/*padding-left:15px;*/
}

#text-5 h3 {
	margin-left:15px;
}
@media screen and (max-width:540px){
	#text-5 {
		margin-top:15px;
	}
}

#medicenter_appointment-2 {
	margin-left:15px;
}

/* "O que fazemos" list*/

.page-id-2626 .accordion  .ui-accordion-header  {
	/*padding-left:30px;*/
	/*border-left:1px solid #00b6cc;*/
}

.page-id-2626 .accordion > li {
	/*position:relative;*/
}
.page-id-2626 .accordion .ui-accordion-header h3:before {
/*
	background-image: url("images/icons_large/turquoise_dark/document.png");	
	background-size: 24px 28px;
	background-repeat: no-repeat;
	background-position: center;	
	width:24px;
	height:28px;
	cursor:pointer;
	
	content: " ";
	
	position:absolute;
	left:-12px;
	
	overflow:hidden;
	top:8px;*/

}

.page-id-2626 .accordion .ui-accordion-header h3 {
	font-size:20px;
}
.page-id-2626 .accordion .ui-accordion-header {
    line-height: 24px;
}

.tpd-content {
	background-color:#006688;
	border-radius:2px;
}
.tpd-stem-triangle {
	border-top: 9px solid #006688 !important;
}

.home_box_container_list .textwidget{
	margin:0;
}

.comments_number{
	display:none;
}

@media screen and (max-width: 1279px) and (min-width: 481px){

.scrolldown {
	background: url("/wp-content/themes/medicenter/images/Nespra/scroll_down.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	width:34px;
	height:34px;
	position:absolute;
	right:5px;
	top:5px;
	margin-top:-50px;
	z-index:9;
	content:"";
}

}

/* EVENTS */
.page-id-2601 .gallery_item_details .column_left,
.page-id-2601 .gallery_item_details .column_right {
	width:100%;
	float:none;
	clear:both;
}
.page-id-2601 .gallery_item_details .column_right {
	margin-top:30px;
}

.page-id-2601 .gallery_item_details form .line{
	margin-bottom:12px;
}
.page-id-2601 .gallery_item_details form .line label{
	line-height:24px;
}
.page-id-2601 .doctors-list-custom {
	margin-top:0 !important;
}

.page-id-2601 .doctors-list-custom .sub-menu {
	max-width:222px;
}

.page-id-2601 .gallery_item_details select.select option {
	background-color:#f8f8f8;
	color:#333;
}

.page-id-2601 .vc_col-sm-3 {
	padding:0;
}

.page-id-2601 .widget_wpgmp_google_map_widget h2 {
	font-size:18px;
}

.footer .mc_gallery img {
	margin:0 !important;
	max-width:100%;
	max-height:100%;
}
.gallery_box .item_details{
 display:none;
}

.newMediaLink {
	width: 230px; 
	text-align: center; 
	float:left;
}

.newMediaLink:hover {
	background-color: #00B6CC;
	color: white;
	font-weight: bold;
}

.newMediaDivOne {
	min-height: 30px; 
	line-height: 30px;
}

.newMediaSpanTitle {
	display: inline-block; 
	vertical-align: middle;
	line-height: normal;
}

.newMediaImg {
	border:1px solid black; 
	width: 150px; 
	height: 200px; 
	margin-left: 40px; 
	margin-right: 40px;
}

.newMediaCoversRow {
	min-height: 240px;
}

.newMediaBREnd {
	margin-top: 10px;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999999; /* Sit on top */
    padding-top: 120px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 4px solid #0097B5;
    width: 35%;
}

/* The Close Button */
.closeMyModal {
    color: #aaaaaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
}

.closeMyModal:hover,
.closeMyModal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.btnQuestionModal {
	width: 180px;
	height: 30px;
	background-color: white;
	border: 2px solid #00B6CC;
	padding-top: 10px;
	cursor: pointer;
}

.btnQuestionModal:hover {
	color: white;
	background-color: #00B6CC;
	cursor: pointer;
}

div.btnQuestionModal a {
	text-decoration: none;
}

div.btnQuestionModal a:hover {
	color: white;
	background-color: #00B6CC;
}
/* End modal */
