@media only screen and (max-width: 1078px) {
    .container, .narrow-layout .wrapper {width: auto; padding: 0;}
    #primary {width: 70.64% !important; float: left;}
    #secondary {float:left; margin-left: 3.06%; width: 26.28% !important;}
    .single-post #primary {width: 65.64% !important; float: left;}
    .singl-post #secondary {float:left; margin-left: 3.06%; width: 31.28% !important;}
}

@media only screen and (min-width: 768px) and (max-width: 990px) {
    #site-title a img {width: 150px;}
    .home .widget_ultimate_posts, #primary {width: auto !important;}
    .agenda-home, #secondary {width: auto !important; }
    #primary, #secondary, .up-perfiles .upw-posts article {width: 100% !important;}
    #secondary {margin-left: 0 !important; margin-bottom: 2em !important;}
    .upw-posts article.evento {padding: 0.75em 0 !important; width:100%;}
    .agenda-home, .home .agenda-home {margin-left: 0;}

}


@media only screen and (max-width: 767px) {
    body {font-size: 80%;}
    .container, .narrow-layout .wrapper {width: auto;}
    /*.wrapper {margin-top: 47px;}*/
    #main {padding: 0 1em;}
    #primary, #secondary, .single-post #primary, .single-post #secondary {width: 100% !important;}
    #secondary {border-top: 1px dotted #ccc; margin-bottom: 4em; margin-left: 0;}
    /*.menu-toggle {margin-top: 25px !important;}*/
    .hgroup-wrap, .info-bar {position: relative;}
    .info-bar, .hgroup-wrap {top: 0;}
    #access {padding-top: 1em;}
    #access a {padding: 1em;}
    #access li {border-top: 1px dotted #999;}
    #access ul li ul li a {padding-left: 2em;}
    #access ul li ul li a:hover {background-color: inherit;}
    .hgroup-wrap {width: auto;}
    .menu-toggle {margin-top: 10px;}
    #branding .info-bar {display: none !important;}
    #site-logo {margin: 0 auto;;}
    .up-perfiles .upw-posts article,
    .home .widget_ultimate_posts,
    .home .widget_categories,
    .up-noticias .upw-posts .entry-image,
    .up-noticias .upw-posts article:nth-child(2) .entry-image,
    .up-noticias .upw-posts article:nth-child(4) .entry-image {margin-bottom: 1em; width: 100%;}
    .agenda-home {padding: 0; width: auto; margin-left: 0 !important;}
    .home .agenda-home {padding: 2em 0;}
    #content .evento .entry-title {display: block;}
    .evento-poster {top: 1.4em;}
    .upw-posts article.evento {padding: 0.75em 0; width:100%;}
    .evento .entry-summary {width: 100%;}
    .evento h4.entry-title {padding-left: 1em;}
    .evento-hora {margin-left: 5.5em;}
    .slider-box p {font-size: 13px !important;}
    .tp-caption.Video-SubTitle, .Video-SubTitle {min-width: 250px !important;}
    .tp-mask-wrap {display: none;}
    /*h2#site-description {text-align: left;}*/
    .up-perfiles .upw-posts .entry-image img {margin-right: 15px;}
    .up-perfiles .upw-posts .entry-summary a {left: 125px;}
    .single #primary {margin-top: 0;}
    header#branding {padding: 0;}
    .up-noticias .upw-posts .entry-image, .up-actualidad .upw-posts .entry-image {width: 100%; margin-bottom: 1em !important; margin-bottom: 1em;}
    .cabecera-secciones {height:150px; margin-bottom: 4em; margin-top: 0; padding: 0;}
    aside.agenda-home h1.widget-title {padding-top: 2em;}
    .cabecera-secciones:before {font-size:35px; padding-top: 50px;}
    .widget-easy-twitter-feed-widget-kamn {display: none;}
}


@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container, .narrow-layout .wrapper {width: auto;}
}


@media only screen and (max-width: 480px) {
    .up-noticias .upw-posts article {width: 100%;}
    .pagina-noticias #content .upw-posts .entry-title {clear: both;}
}


@media only screen and (max-width: 319px) {
    .container,
	.narrow-layout .wrapper,
	.narrow-layout .container {
		width: auto;
	}
}
