/*
	
	- 995
-1165
*/

/*** MEDIA QUERIES ***/
@media screen and (max-width: 1500px) {	

	#maincontent .menu li span span {visibility: hidden; display: none;}
	#maincontent .menu li {width: 50px !important;}
	#maincontent .menu li i {width: 50px;}
	#maincontent .menu { padding:15px;
	}
}

@media screen and (max-width: 1165px) {	
.header{height: 90px;}
.userloggedinfo{/*background-color: #CCCCCC;*/height: 90px; width: 200px;}
.headmenu > li > a .head-icon { width: 30px; height: 30px; background-size: cover;}
.headmenu > li > a .headmenu-label {font-size:15px;}	
.headmenu > li.right {width:200px; text-align: left}
.userinfo h5 {font-size:10px;}
.userPhoto{display: none;}

		  
}

@media screen and (max-width: 995px) {
/*
.headmenu > li > a .head-icon { width: 15px; height: 15px; background-size: cover;  }
.headmenu > li > a .headmenu-label {font-size:10px;}		  */
		  /* general */
		  .userloggedinfo{background-color: #CCCCCC;height: 90px; width: 150px;}
		  
		  .mainwrapper { overflow: hidden; }
		  .header .logo { margin-left: -260px; }
		  .header { width: 100%; }
		  .headerinner { width: 100%; margin-left: 0; }
		  .leftpanel { margin-left: -260px; }
		  .rightpanel { margin-left: 0; width: 100%; }
		  
		  .topbar { display: block; background: #272727; height: 50px; }
		  .barmenu {
					 font-size: 18px; color: #fff; background: url(../images/barmenu.png) no-repeat center center;
					 width: 50px; height: 50px; display: block; cursor: pointer; }
			
			.chatmenu {
				position: absolute; top: 14px; right: 10px; background: url(../images/chatimg.png) no-repeat 0 0;
				width: 23px; height: 21px; cursor: pointer; }
				
			/* forms */
			.form-horizontal .form-group .control-label { margin-left: 15px; margin-bottom: 5px; }
			.form-control { margin-bottom: 15px; }
			.input-group { margin-bottom: 15px; }
			.input-group .form-control { height: 38px; }
			.input-group-btn > .btn { height: 38px; }
			#colorpicker { width: 100px; display: inline-block; }
			
			/* elements */
			.col-md-1, .col-md-2, .col-md-3, .col-md-4,
			.col-md-5, .col-md-6, .col-md-7, .col-md-8,
			.col-md-9, .col-md-10, .col-md-11, .col-md-12 {
				margin-bottom: 20px; 
			}
			
			.navbar-form .form-control { margin-bottom: 0; }
			
			/* error page */		 
		  .errorpage .topbar { display: none; }
		  
		  .chatenabled .mainwrapper { margin-right: 0; }
		  .chatenabled .onlineuserpanel, #chatwindows { display: none; }

		  /*** OPCOES ****/

}

@media screen and (max-width: 800px) {
			  
		  body { font-size: 12px; }
		  .topbar { }
		  
		  /* boxes */
		  .slide_img, .entry_img { float: none; margin-bottom: 10px; }
		  .slide_content, .entry_content { margin-left: 0; }
		  
}


@media screen and (max-width: 768px) {
 
	  
		  /* forms */
		  #elm1_toolbargroup { width: 680px; }
		  
		  /* messages */
		  .messageview .subject { padding-right: 110px; padding-left: 10px; }
		  .msgauthor, .msgbody { padding: 10px; }
		  .msgauthor .authorinfo h5 span { margin-left: 0; display: block; }
		  
		  /* media */
		  .mediaWrapper { width: 500px; }
		  .row-fluid .span5.imginfo { width: auto; float: none; margin-bottom: 20px; }
		  .row-fluid .span7.imgdetails { width: auto; margin: 0; float: none; }
		  
		  /* blog */
		  .gridblog li { width: 50%; }
		  
}

@media screen and (max-width: 720px) {
	  



		  #dashboard-left, #dashboard-right { width: 100%; margin: 0; }
		  
		  .searchbar { position: static; margin-bottom: 15px; }
		  .searchbar input { width: 100%; background-position: 97.5% center; }
		  
		  /* calendar */
		  .ui-datepicker-calendar td a { padding: 10px; font-size: 12px; }
		  
		  /* buttons */
		  .fontawesomeicons .span3 { width: 48%; display: inline-block; }
		  .iconsweetslist li { width: 33.3333%; }
		  
		  /* forms */
		  .stdform label { float: none; width: auto; text-align: left; margin-bottom: 5px; }
		  .stdform div.par .controls,
		  .stdform .stdformbutton, .stdform small.desc,
		  .stdform2 span.field, .stdform2 div.field,
		  .stdform span.field, .stdform div.field,
		  .stdform .formwrapper, .dualselect { margin-left: 0; }
		  .input-append .add-on, .input-prepend .add-on { height: 20px; }
		  .stdform input { padding: 4px 5px; }
		  .stdform2 p, .stdform2 div.par { background: none; }
		  .stepContainer p { margin: 10px 15px; }
		  #wiz1step2_1 p { margin: 10px 0; }
		  .tabbedwizard .stepContainer { padding: 30px 15px; }
		  #elm1_toolbargroup { width: 640px; }
		  .stdform2 span.field, .stdform2 div.field { padding-top: 0; }

		  
		  /* boxes */
		  .bx-wrapper { margin-bottom: 20px; }
		  .slide_img { float: left; width: 100px; }
		  .slide_content { margin-left: 120px; }
		  .entry_img { float: left; }
		  .entry_content { margin-left: 120px; }
		  
		  /* media */
		  .mediamgr_menu li.right { float: none; margin-top: 10px; }
		  .mediamgr_category ul li.right {
					 float: none; text-align: right; display: block; border-top: 1px dashed #ddd; margin-top: 10px; }
		  .mediamgr .mediamgr_right { top: 110px; }
		  
		  /* messages */
		  .messageleft { width: 241px; }
		  .messageright { margin-left: 241px; }
		  
		  /* bootstrap */
		  .btn { padding: 4px 12px; }
}

@media screen and (max-width: 640px) {
		  
		  .headmenu > li > a { padding: 25px 10px 9px; }
		  
		  /* buttons */
		  .glyphicons li { width: 50%; }
		  .iconsweetslist li { width: 50%; }
		  
		  /* forms */
		  #elm1_toolbargroup { width: 560px; }
		  
		  /* media */
		  .mediamgr_category, .mediamgr_content { margin-right: 0; }
		  .mediamgr .mediamgr_right { position: static; width: auto; }
		  .mediamgr .mediamgr_rightinner { padding-left: 0; }
		  .mediamgr_category ul li.right { float: right; border-top: 0; margin-top: 0; }

}

@media screen and (max-width: 603px) {
	
		  .headmenu > li > a { padding: 25px 15px 9px; }
		  .userloggedinfo .userinfo small { display: none; }
		  .userloggedinfo { width: 220px; }
		  .userloggedinfo .userinfo { float: none; margin-left: 100px; }
		  
		  /* media */
		  .mediaWrapper { width: 400px; }
		  
		  /* table */
		  .dataTable th, .dataTable td { font-size: 11px; padding: 5px; }
		  .dataTable th:nth-child(2), .dataTable td:nth-child(2) { display: none; }
		  .dataTables_paginate { position: relative; margin: -25px 0 0 20px; }
		  .dataTables_info { height: 50px; }
		  #dyntable2_info { height: auto; }
		  .dataTables_filter { position: relative; margin: -50px 0 20px 20px; }
		  .dataTables_length { height: 70px; }
		  #dyntable2_wrapper .dataTables_filter { margin: 0; }
}


@media screen and (max-width: 480px) {
	
		  .headmenu > li > a { padding: 25px 20px 9px; }
		  .headmenu > li.right { padding-bottom: 13px; }
		  .userloggedinfo { width: auto; }
		  .userloggedinfo img { cursor: pointer; }
		  .userloggedinfo .userinfo {
					 position: absolute; top: 110px; z-index: 100; right: -1px; width: 200px; background: #fff;
					 padding: 10px; color: #333; border: 2px solid #0866c6; border-top: 0; display: none; }
		  .userloggedinfo .userinfo::after {
					 position: absolute; top: -6px; right: 45px; display: inline-block; border-right: 6px solid transparent;
					 border-bottom: 6px solid white; border-left: 6px solid transparent; content: ''; }
		  .userloggedinfo .userinfo small { color: #999; }
		  .userloggedinfo ul li a { background: #eee; color: #333; padding: 5px 10px; font-size: 12px; }
		  .userloggedinfo ul li a:hover { background: #0866c6; color: #fff; }
		  
		  .pageheader { padding: 15px; min-height: 155px; }
		  
		  /* buttons */
		  .tabbable > .nav-tabs > li > a { padding: 10px; }
		  
		  /* forms */
		  .wizard .hormenu li { float: none; display: block; width: auto; border: 2px solid #0866c6; margin-bottom: 5px; }
		  .wizard .hormenu li a { border: 0; }
		  .wizard .hormenu li a.done { border: 0; }
		  .wizard .hormenu { margin-bottom: 20px; }
		  .wizard-inverse .hormenu li { border-color: #333; }
		  .wizard .tabbedmenu { height: auto; padding: 10px; }
		  .wizard .tabbedmenu li { display: block; margin-bottom: 10px; }
		  .wizard .tabbedmenu li:last-child { margin-bottom: 0; }
		  .wizard .tabbedmenu li a { padding: 10px; }
		  #elm1_toolbargroup { width: 395px; }
		  .regpanel { width: 300px; }
		  
		  /* media */
		  .mediamgr_menu li.right { float: none; margin-top: 10px; }
		  .mediamgr_category ul li.right {
					 float: none; text-align: right; display: block; border-top: 1px dashed #ddd; margin-top: 10px; }
		  .mediamgr .mediamgr_right { top: 110px; }
		  .mediamgr_menu li.filesearch { margin: 10px 0; width: 100%; }
		  .mediamgr_menu form input.filekeyword {
					 width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
					 height: auto; margin-bottom: 0; }
		  .mediamgr_menu li.right { margin-top: 0; }
		  .mediaWrapper { width: 280px; }
		  
		  /* table */
		  .dataTables_paginate .first, .dataTables_paginate .previous,
		  .dataTables_paginate .paginate_active, .dataTables_paginate .paginate_button,
		  .dataTables_paginate .next, .dataTables_paginate .last { padding: 5px 7px; }
		  div.table-wrapper { margin-bottom: 0; }
		  
		  /* messages */
		  .messageleft { width: auto; float: none; height: auto; }
		  .messageright { margin-left: 0; display: none; height: auto; border-left: 1px solid #0866c6; }
		  .messagesearch input { background-position: 375px 9px; }
		  .msglist { height: auto; border-bottom-width: 1px; }
		  .messageview { height: auto; }
		  
		  /* calendar */
		  .fc-button { padding: 0 5px; }
		  .fc-header-title { margin-top: 3px; }
		  
		  /* invoice */
		  .amountdue h1 { padding: 10px 25px; }
		  .amountdue .btn { width: 225px; }
		  
		  /* blog */
		  .gridblog li { width: 100%; }
}

@media screen and (max-width: 360px) {
	
		  .header { height: 90px; }
		  .headmenu > li { font-size: 12px; }
		  .headmenu > li > a { padding: 25px 5px 9px; }
		  .headmenu > li > a .head-icon { width: 30px; height: 30px; background-size: cover; }
		  .leftmenu .nav-tabs.nav-stacked li a { font-size: 13px; }
		  .leftmenu .nav-tabs.nav-stacked .dropdown ul li a { font-size: 12px; }
		  .userloggedinfo img { width: 60px; }
		  .userloggedinfo .userinfo { top: 90px; }
		  .header .logo { padding-top: 30px; }
		  .headmenu .dropdown-menu:after { left: 25px; }
		  .userloggedinfo .userinfo:after { right: 35px; }
		  .searchbar input { background-position: 285px 10px; }
		  
		  .commentlist li p:last-child .btn { margin-bottom: 10px; }
		  
		  /* buttons */
		  .tabbable > .nav-tabs > li { overflow: hidden; font-size: 11px; }
		  .tabbable > .nav-tabs > li a { padding: 10px 5px; }
		  .glyphicons li { width: auto; float: none; }
		  .fontawesomeicons .span3 { width: auto; float: none; }
		  .iconsweetslist li { width: auto; float: none; }
		  
		  /* forms */
		  .dualselect select { width: 38%; }
		  .chzn-container{ width: 270px !important; }
		  .chzn-drop { width: 268px !important; }
		  .chzn-search input { width: 220px !important; }
		  .tagsinput { width: 260px !important; }
		  #elm1_toolbargroup { width: 285px; }
		  
		  /* elements */
		  .navbar .brand { display: none; } /* hidden for demo purposes only */
		  
		  /* boxes */
		  .slide_img, .entry_img { float: none; margin-bottom: 10px; }
		  .slide_content, .entry_content { margin-left: 0; }
		  
		  /* media */
		  .mediamgr_category ul li { float: none; display: block; margin: 0; }
		  .mediamgr_menu li { margin-bottom: 10px; }
		  .mediamgr_menu li.newfilebtn { margin-left: 10px; }
		  .mediaWrapper { width: 240px; }
		  .imgpreview { width: 209px; }
		  
		  /* messages */
		  .messagemenu ul { height: 45px; }
		  .messagemenu ul li a { padding: 12px 10px; }
		  
		  /* calendar */
		  .fc-header { margin-top: 30px;}
		  .fc-header-title h2 { margin-top: -50px; }
		  .fc-button-month { margin-left: -50px; }
		  
		  /* error */
		  .errortitle h4 { font-size: 20px; }
		  .errortitle span { font-size: 50px; }
		  .errortitle span:first-child { margin-left: 0; }
		  
		  
		  /* bootstrap */
		  .tabbable > .tab-content { padding: 15px; }
		  .btn-circle { width: 6px; }
		  .btn-circle i { margin-left: -3px; }
		  .input-append .btn, .input-prepend .btn { padding-left: 8px; padding-right: 8px; font-size: 12px; }
		  
		  /* footer */
		  .footer .footer-left { float: none; text-align: center; }
		  .footer .footer-right { float: none; text-align: center; }
	  
		  
}

@media screen and (max-width: 320px) {
		  
		  body { font-size: 11px; line-height: 18px; }
		  
		  .headmenu > li > a { padding: 25px 0 9px; }
		  .searchbar input { background-position: 245px 10px; }
		  .pagetitle h1 { font-size: 24px; }
		  .pageicon { font-size: 32px; padding: 10px 5px; }
		  .pagetitle { margin-left: 75px; }
		  
		  /* dashboard */
		  .shortcuts li { display: block; margin: 0 0 10px 0; float: none; }
		  .shortcuts li a { width: auto; }
		  .shortcuts li:nth-child(even) { margin-right: 0; }
		  .commentlist li img { width: 40px; }
		  .commentlist li .comment-info { margin-left: 55px; }
		  .commentlist li .comment-info h4 { font-size: 14px; }
		  
		  /* buttons */
		  .buttons-icons li { width: 50px; overflow: hidden; }
		  .buttons-icons li a { width: 150px; }
		  
		  /* forms */
		  .stdform .input-append input, .stdform .input-prepend input { width: 100px !important; }
		  #elm1_toolbargroup { width: 240px; }
		  
		  /* media */
		  .mediamgr_menu li.newfoldbtn { margin-left: 0; clear: left; }
		  
		  /* calendar */
		  .fc-button-month { margin-left: -90px; }
		  .fc-header-title h2 { margin-left: -175px; }
		  
		  /* table */
		  .dataTables_paginate .first, .dataTables_paginate .previous,
		  .dataTables_paginate .paginate_active, .dataTables_paginate .paginate_button,
		  .dataTables_paginate .next, .dataTables_paginate .last { padding: 5px; }
		  div.table-wrapper { margin-bottom: 0 !important; border-bottom: 1px solid #ddd; }
		  
		  .table-infinite tr th:nth-child(2),
		  .table-infinite tr td:nth-child(2),
		  .table-infinite tr th:nth-child(3),
		  .table-infinite tr td:nth-child(3) { display: none; }
}

@media print {
   .leftpanel,  footer, .logosApoios, .header, .leftmenu, .breadcrumbs, #optionscontent, .noprint,  #Header, #Footer, .dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate, #windowOptions{display:none !important}
   .rightpanel{margin-left:0px;margin-right:auto;}
   .pagetitle{margin-left:0px;}
	.headerPrint, .footerPrint{ visibility: visible;background-color: #FF0;}
	.form-control{border:0px;padding:0px;}
	table tr td{padding: 0px; height: 15px;line-height: 15px;}
	.maincontentinner h3{border:0px; font-size:16px;	}
	.pageicon{border:0px;}

   /*body{background-color: #F00 !important;}*/

}