/* iPads (portrait) ----------- */

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

	.set2, .set6 {
	    background: url(../img/mainbg.gif) no-repeat !important;
	}

	.set4, .set8 {
	    background: url(../img/mainbg.gif) no-repeat !important;
	}

	#tmenu, #topmenu form, #search-form, #newsletter{
		display: none;
	}

	p.left {
	    height: 385px!important;
	}

	.nbox p {
		padding: 0!important;
	}

	#container {
		margin-top: 60px;
	}

	.navbar-default {
		display: block;
	}
	
	.nbox {
		width: 96% !important;
		height: 700px!important;
	}

	#col2 .placebo {
		margin-right: 8px;
		overflow: scroll!important;
	}

	.placebo-info h2 {
	
	}

	.placebo .placebo-info {
		font-size: 0.75rem;
	}

	#content img#new {
	    width: 6%;
	    height: 130px;
	}

	#col2 {
		width: 99%!important;
	}

	.content-info {
		display: -webkit-box;
		display: -moz-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: box;
		display: flex;
		-webkit-box-orient: vertical;
		-moz-box-orient: vertical;
		-o-box-orient: vertical;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.content-info .col, #col2, #col1{
		float: none;
	}

	.compartir {
		float: none;
		width: 100%!important;
	}

	.bigbox .setbox {
		left: 26%;
	}

	.goleft {
		width: 24%;
	}

	.content-info .left {
	    width: 100% !important;
	    -webkit-box-ordinal-group: 2;
	    -moz-box-ordinal-group: 2;
	    -o-box-ordinal-group: 2;
	    -ms-flex-order: 2;
	    -webkit-order: 2;
	    order: 2;
	}

	.makebox .col-right {
		padding-top: 0;
		/*width: 74%;*/
	}

	.pleasewait {
		clear: both;
		max-width: 95%!important;
		top: 0 !important;
		text-align: left !important;
	}

	#col2 .memories {
		display: block;
		position: relative;
	}

	.moreinfo {
		width: 99%;
		padding: 1%;
	}

	.moreinfo ul {
		padding-left: 4%;
	}

	.moreinfo ul li {
		font-size: 0.85rem;
		text-align: left;
	}


	/*texto mas grande */

	.placebo-info h2 {
		font-size: 25px!important;
		margin-top: 0;
		line-height: 30px;
	}

	.nbox h2 {
		font-size: 25px!important;
		line-height: 30px;
	}

	.nbox p, .box-intro p {
		font-size: 17px!important;
		text-align: left!important;
	}

	#col1, #col2, .col-right {
		font-size: 17px;
		line-height: 25px;
	}

	#col2 {
		text-align: left;
	}

	#col2 h1, .box-intro h1 {
	    font-size: 25px;
	    line-height: 30px;
	}

	.col-right h3 {
		font-size: 21px;
	    line-height: 25px;	
	}

	.navbar-nav li {
		padding: 6px;
	}


}

@media only screen and (min-width : 768px) and (max-width : 949px)  {

	#col2, #col1 {
		width: 94%!important;
		margin-left: auto;
    	margin-right: auto;
	}

	#col2 img {
		max-width: 100%!important;
	}

	.compartir {
		float: none;
	}

	.placebo .placebo-info {
		width: 90%;
		font-size: 12px;
	}

	.placebo .placebo-info p {
		margin-top: 0;
	}


}

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

	#topimg a {
		display: none;
	}

	p.left {
	    height: 290px!important;
	}

	.nbox {
	    /*min-height: 640px!important;*/
	}

	#topbar {
		background-size: 145%!important;
		height: 200px;
	}

	#col2, #col1 {
		width: 94%!important;
	}

	#col2 {
		margin: auto 2% !important;
	}

	#col2 h1 {
		clear: both;
	}

	#col2 img {
		max-width: 100%!important;
		height: auto!important;
	}

	.box-intro.text {
	    width: 90%;
	    min-height: auto;
	}

	div.introduction {
		margin-bottom: 20px;
	}

	.box-intro.image {
		min-height: auto;
	    width: auto;
	    float: none;
	    max-width: 60%;
	    margin: auto;
	}

	#content p.right {
		float: none;
		width: 95%;
		text-align: center;
	}

	.left.img-index {
		display: block;
		float: none!important;
		height: auto;
		text-align: center;
	}


	.nbox.box-index {
		float: none;
		width: auto!important;
		height: auto;
	}

	.nbox .gr {
		width: 100%!important;
		display: block;
		
		bottom: 0!important;
		right: 0!important;
	
	}

	.nbox .intro {
		padding: 0 10px!important;
	}

	.nbox h2 {
		font-size: 19px!important;
	}

	.placebo {
		/*background-size: 20%!important;*/
	}

	.placebo-info h2 {
		font-size: 0.75rem;
		font-weight: bold;
	}

	#topimg a img {
		width: 23%;
	}

	.placebo .placebo-info {
		width: 90%;
		font-size: 12px;
	}

	.placebo .placebo-info p {
		margin-top: 0;
		font-size: 15px;
	}

	.makebox.publications .col-left {

		display: block;
		float: none!important;
		height: auto;
		margin: auto;
		width: 40%;

	}

	.makebox.publications .col-right  {
		width: 97%;
	}

	.setbox.audiovisuales .b1, .setbox.audiovisuales .b2 {
		float: none;
		display: block;
	}

	.setbox.audiovisuales .b1 {
		display: block;
		margin: auto;
		width: 30%;
	}

	.setbox.audiovisuales .b2 {
		width: 100%;
	}

	#col2 .notasactualidad {
		padding: 0;
		text-align: left;
	}

	#col2 iframe {
		max-width: 100%;
	}

}

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

	.placebo-info h2 {
		font-size: 25px;
		margin-top: 0;
		line-height: 30px;
	}

	#topbar {
		background-size: 150%!important;
		height: 150px;
	}

	p.left {
	    height: 190px!important;
	}

	.nbox {
	    /*height: 650px!important;*/
	}

	.nbox h2 {
		font-size: 18px!important;
	}

	.border {
		width: 85%!important;
	}

	.border object, .border embed {
		width: 100%!important;
	}

	p.cc {
		width: 92%!important;
		font-size: 0.7rem;
	}

	#footer p {
		font-size: 0.87rem;
	}

	#col2 .title-news, #col2 h1 {
		text-align: left;
	}

	.placebo {
		background-image: none !important;
		height: auto!important;
		padding-left: 5px!important;
		padding-right: 40px!important;
		overflow: scroll!important;
	}

	.placebo-info {
		width: 100% !important;
	}

	#place-img {
		display: block;
		text-align: center;
	}	
	

	.nbox.set1, .col-right h3, .audiovisuales h3, .specialcoverage li, #col2 h3, .notasactualidades, .moreinfo ul li {
		text-align: left;
	}
}

@media only screen and (max-width : 380px) {
	.cc {
		height: auto;
	}
	.cc span.right {
		float: none;
		display: block;
		margin-bottom: 10px;
		margin-top: 10px;
	}

	#footer {
		height: auto;
	}

	#footer p {
		line-height: 30px;
		font-size: 0.78rem;
	}

	.bg-15-ca-year, .bg-15-es-year, .bg-15-en-year {
		background-size: auto 60%;
	}

}