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

  #wrapper { max-width:960px; }

  #top-area .column:last-child{ margin-right: 0; }
  
  #copyright{ padding: 0 10px; }
}
@media screen and (max-width: 960px) {
	#logocel{ margin-left:20%; width:65%; height:65%;}
	#header_wrapper {
  margin: 0 auto;
  position: relative;
  /*background-image:url(../../../images/sede-tab.jpg);*/
  background-repeat-x: no-repeat;
  background-repeat-y: no-repeat;
}
  .content-sidebar-wrap, #content, 
  #sidebar-first, #sidebar-second { float:none; width:100% !important; }
 #sidebar-first { clear:both; }
 #sidebar-first, #sidebar-second,
  #head, #foot { padding:0 3.52%; }
 #top-area .column{ width: 48%; }
   #top-area .column1{ width: 48%; }
   /**/
   #footer-area .columnw{ width: 48%; }
   #footer-area .columnw1{ width: 48%; }
   /**/
  #sidebar-first, #sidebar-second, #head, #foot{ padding: 0 1.5%; }

  .region-front-welcome{ margin: 1% 2%; }

  .block{ margin-bottom: 2%; }

  .content-sidebar-wrap #content{ margin: 0; }

  #footer_wrapper, #top-area { padding: 0 15px; }

  #post-content{ margin: 10px; }
  /*menu*/
   #main-menu{ float: none; }

  .region-search{ float: none; margin: 2% 0; }

  #main-menu ul { display:none; }
  
  #main-menu li ul { position:static; border: 0; }
  
  #main-menu li ul ul { margin:0 !important; border: 0; }
  
  #main-menu ul,
  #main-menu li { float:none; max-width:100%; }

  #main-menu{ border:0; }
  
  #main-menu a {
    width: 100%;
    padding: 8px 0;
    color: #666666;
    border-radius: 0;
    border-bottom: 1px solid #cccccc;
    border: 1px solid #cccccc;
  }

  #main-menu li li a { text-align:center; }
  
  #main-menu li:hover > ul,
  #main-menu li li:hover > ul,
  #main-menu li li li:hover > ul {
    display:none;
  }
  
  .drop-down-toggle { display:block; }
  
  #main-menu li li .drop-down-toggle { top:5px; }

  .menu_wrapper{ margin: 0; background: #1789D1; }

  #main-menu .nav-toggle {
    display: block;
    font-size: 14px;
    font-weight: normal;
    background: #1b3665;
    color: #fff;
    margin: 0;
    padding: 10px 0;
    letter-spacing: 1px;
    text-align: center;
  }

  #main-menu ul.menu li{
    margin: 0;
    float: none;
    width: 100%;
    text-align: center;
  }
#main-menu2{ display:none !important;}
}
@media screen and (max-width: 800px) {
	#logocel{ margin-left:15%; width:65%; height:65%;}
	#header_wrapper {
		  margin: 0 auto;
		  position: relative;
		  /*background-image:url(../../../images/sede-tab2.jpg);*/
		  background-repeat-x: no-repeat;
		  background-repeat-y: no-repeat;
 }
 #top-area .column{width:30%;}

}
@media screen and (max-width: 790px) {
#top-area .column1 {
    width: 65%;
}
}
@media screen and (max-width: 640px) {
 #logocel{ width:20%; height:20%;}
 #header_wrapper {
  margin: 0 auto;
  position: relative;
 /* background-image:url(../../../images/sede-cel.jpg);*/
  background-repeat-x: no-repeat;
  background-repeat-y: no-repeat;
}
  #inner_header_wrapper {
	 /* height:200px;*/
	  margin: 0 auto;
	  position: relative;
  }
  #logo { text-align: center; width: 100%; margin: 2% 0; }
 #copyright{ padding: 0 12px;}
  body { margin-top: 0; }
  
  .top_left, .top_right, 
  .search_block, .region-user-menu{ width: 100%; }

  .top_right{ margin-bottom: 10px; }

  #footer p{ margin-left: 10%; margin-right: 10%;}

  #foot, #copyright{ padding: 0 10px; line-height: 200%; }

  .top_right .region-search{ width: 100%; padding: 0; }

  .social-icons{ width: 100%; text-align: center; }

  .social-icons { float: right; margin: 9px 0 0; }

  .front .content-sidebar-wrap{ margin: 0; }

  .theme-default .nivo-controlNav{ padding-top: 10px; }

  .region-front-welcome{ padding: 10px; }

  #site-title, #site-description { margin:0;  float: none; }
  
  #site-title { padding-top:18px; text-align: center; }

  #site-title a{ float: none; text-align: center; }
  
  #site-description { padding-bottom:10px; }
  .content-sidebar-wrap,
  #sidebar-first, #sidebar-second {
    float:none;
    width:auto;
  }
  .content-sidebar-wrap #content {
    float: left;
    width:auto;
  }
  #sidebar-first .block, #sidebar-second .block,
  #footer-area .column, #top-area .column, #top-area .column1, #footer-area .columnw1, #footer-area .columnw{
    float:none !important;
    width:auto !important;
    margin-left:0;
  } 
  #sidebar-first {
    clear:both;
  }
 #footer-area .column,
  #top-area .column, #top-area column1, #footer-area .columnw1, #footer-area .columnw {
    margin:10px;
  }
  /**/
  #footer-area .columnw1 {
	  display:none;
	 }  
  /**/
  #top-area .column:first-child, #top-area .column1:first-child,
  #footer-area .column:first-child{
    margin: 10px;
  }
  
  .copyright, .credits {
    float:none;
    text-align:center;
  }

  #footer_wrapper, #top-area { padding: 0; }

  .theme-default .nivo-caption, .nivo-directionNav{ display: none !important; }

  #top-area .column .content,
  #footer-area .column .content{ padding-bottom: 0; }
  #top-area .column.first h2{ padding-top: 0; }

  #main-menu2{ display:none !important;}
  #usuario{display:none !important;};
  #direccion { margin-left:5% !important;}
  #rolan-bastidas{ display:none !important;}
  #redesft{ display:block;} 
}
@media screen and (max-width: 440px) {
  #logocel{ width:22%; height:22%; float:right; margin-right:3%;}
  #header_wrapper {
  margin: 0 auto;
  position: relative;
  /*background-image:url(../../../images/sede-cel-2.jpg);*/
  background-repeat-x: no-repeat;
  background-repeat-y: no-repeat;
}
  #site-title{ width: 100%; }

  #site-title a{ width: 100%; text-align: center; }

  .social-icons{ position: inherit; width: 100%; }

  .social-icons ul{ text-align: center; }

  .top_right .region-user-menu ul.menu{ float: none; }

  .block-menu ul{ float: none; text-align: center; }

  input.form-text, select.form-select {
    width: 93%;
  }

  textarea.form-textarea {
    width: 100%
  }

  #copyright{
    padding: 0 5px;
  }

  #header{
    padding-top: 15px;
  }

  #logo{
    margin: 0;
    text-align: center;
  }

   #logo img{
    max-width: 85%;
    text-align: center;
  }

  #site-title{
    font-size: 18px;
    display: inline-block;
    margin: 0;
    padding: 0;
  }

  #site-description{
    padding-bottom: 5px;
    width: 100%;
    text-align: center;
  }

  .social-icons li{
    padding: 0px;
    text-align: center;
  }

  .node{
    margin-top: 5px;
  }

}