/* This File Contains All Responsive CSS */

/* Custom Drop-Down
================================================== */
#navigation .selector option{ background:#eee; -webkit-appearance:none; padding: 5px; }
#navigation .selector, 
#navigation .selector span{ cursor: pointer !important; -webkit-font-smoothing:antialiased; font-size:18px; margin-top:-5px; }
#navigation .selector, 
#navigation .selector *{ margin:0; padding:0; }
#navigation .selector select{ top:0px; left:0px; }
#navigation .selector{ width: 100%; font-size:12px;  font-weight:bold; margin-top:-13px !important; }
#navigation .selector span:after { padding-left: 5px; padding-right: 5px; content: "\f078"; font-family: 'FontAwesome'; }
#navigation .selector span{ cursor:pointer; }
#navigation .selector{ height: 30px; line-height: 30px; display:-moz-inline-box;  display:inline-block;  vertical-align:middle;  zoom:1;  *display:inline; }
#navigation .selector select:focus{outline:0; }
#navigation .selector{ position:relative;  padding-left:10px;  overflow:hidden; }
#navigation .selector span{ display:block;  overflow:hidden;  text-overflow:ellipsis;  white-space:nowrap; }
#navigation .selector select{ position:absolute;  height:35px;  background:none;  width:97%; font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;  font-size:12px;  font-weight:500;  border:0 !important; }


/* General
================================================== */

img{ max-width: 100%; }

/*hide redundant menu*/
#navigation select { display: none; width: 100% !important; }
#navigation .selector { display: none; margin-top: 5px; }


/* Apply To All Responsive Layouts
================================================== */
@media only screen and (device-width: 768px) {

	
}

/* #Tablet (Portrait)
================================================== */

/* Note: Design for a width of 740px */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	#wrap{ width: 680px; }
	#footer-one,#footer-two,#footer-three,#footer-four{ width: 155px;  }

	#logo a{ font-size: 3em !important; line-height: 2em; }

	#block-search-form .form-item-search-block-form input{width: 47%;}
	
	#main #content{ width:100%; }
	#sidebar{ width: 100%; margin: 70px auto 0; }
	#sidebar .region-sidebar-first{ width: 310px; margin: 0 auto; }
	.jquery-slideshow-cycle .view-content { margin: 0 auto; }
}

/*  #Mobile (Portrait)
================================================== */

/* Note: Design for a width of 290px */
@media only screen and (max-width: 767px) {
	/*hide*/
	.flexslider .caption{ display: none; }
	
	/*display dropdown nav*/
	#navigation .selector,
	#navigation select { display: inline-block; }
	#navigation ul { display: none; }
	#navigation{ padding: 0; height: 40px; line-height: 40px; float: none; padding: 0 5px; margin: 0; background: #3fb7b7; color: #fff; top: 0; right: 0; cursor: pointer; }
	
	#wrap{ width: 290px; }
	.preface-block, #footer-one,#footer-two,#footer-three,#footer-four{ width: 230px; margin-right: auto; margin-left: auto; }
	
	.flex-direction-nav li a.next,
	.flex-direction-nav li a.prev {height: 40px;width: 25px; line-height: 40px;margin-top: -20px;}
	
	body.sidebar-first #content, #content, #sidebar{ width: 100%; }
	
	.node h2.title{ margin-bottom: 10px; }
	
	#sidebar{ margin-top: 25px; padding-top: 25px; border-top: 5px solid #444; }
	
	.comment .attribution, .comment .comment-text { display: inline-block; }
		
	#copyright,#back-to-top{ float: none; width: 100%; text-align: center; }
	
	.one-half, .one-third, .two-third, .one-fourth, .three-fourth, .one-fifth, .one-sixth {width: 100%; float: none;} 

	#logo{ margin: 30px auto 20px !important; }
	#logo a{ font-size: 2em !important; line-height: 1.5em; margin-bottom:-10px !important;}

	.social-links { width: 95px; top: -20px; }

	.field-name-field-imagem-teaser{max-width: 50%;margin: 5px 5px 5px 0px;}

	#block-search-form input[type="text"]{ width: 50%; }
	#block-search-form{margin-top: -40px !important;}
}


/* #Mobile (Landscape)
================================================== */

/* Note: Design for a width of 420px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	#wrap{ width: 450px; }
	.preface-block, #footer-one, #footer-three{ width: 200px; margin-right: 20px; }
	#footer-two, #footer-four { width: 200px; margin-right: 0; }
	.responsive-clear{ clear: both; }

	/*#logo{ margin: 40px auto 25px !important; }*/
	#logo a{ font-size: 3em !important; line-height: 2em; }

	#block-search-form input[type="text"]{ width: 70%; }
	#block-search-form{margin-top: -40px !important;}	
}

