
/* #1 MEDIA QUERIES */

/*tamaño gande intermedio*/
@media only screen and (max-width: 1200px){
	.youKnow #intro{
		width: 100%;
	}
}

/*tablet vertical*/
@media only screen and (max-width: 959px){

	header{
		height: 100px;
	}

	header #top #logo img.logo-movil {
		display: inline-block !important;
		width: 150px;
	}

	header #top #logo img.logo {
		display: none;
	}

	#content > div > #banner #text .cohete{
		display: none;
	}

	#content > div > #banner{
		top: 0px !important; /*100px*/
		height: 15%; /*260px*/
	}

	#content > div > #banner #text #data .icon.month{
		display: none;
	}

	#content > div > #banner #text #data .date{
		margin-top: 20px;
	}

	header #top > #user, header #top > #logout  {
		display: none;
	}

	header #top #tag p{
		line-height: 115%;
		margin-left: 20px;
		font-size: 20px;
		max-width: 200px;
	}
	header nav#menu{
		display: none;
	}

	#content > div > #banner #text #data{
		right: 5%;
		padding: 0 10px;
	}
	#content > div > #banner #text #claim{
		bottom: 35px;
	}
	#content > div > #banner #text #claim > p{
		height: 240px;
	}
	#content > div > #banner #text #claim img{
		top: -93px;
		left: 20px;
	}
	#content > div > #banner #text #claim #part{
		padding: 0px 10px;
	}
	#content > div > #banner #text #claim #part p{
		font-size: 30px;
	}
	#content > div > #banner #text.loggedIn #data{
		height: 200px;
		background: none;
		width: 100%;
		top: 100px;
	}
	#content > div > #banner #text .icon.month{
		margin: 10px 0;
	}
	#content > div > #banner #text .pointsContainer{
		bottom: 15px;
	}
	#content > div > #banner #text .pointsContainer .icon.leaf{
		display: inline;
		font-size: 40px !important;
		background-color: transparent;
		line-height: 100%;
		position: relative;
		top: 7px;
	}
	#content > div > #banner #text .pointsContainer .points{
		display: inline;
	}
	#content > div > #banner #text .pointsContainer .pointsText{
		display: inline;
	}

	#content .home {
	    margin-top: 132px;  /*230*/
	}

	.home #compromises nav{
		display: table;
		width: 100%;
	}
	.home #compromises nav a{
		/* display: table-cell; */
		position: relative;
	}

	.home #compromises nav a#our{
		height: 146px;
	}

	.home #compromises nav a img{
		height: 60px;
	}
	.home #compromises nav a .title{
		font-size: 18px;
		margin-bottom: 10px; /*30*/
		margin-top: 15px;
	}
	.home #compromises nav a .points{
	    font-size: 24px;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
	}
	.home #compromises nav a .points span{
	    font-size: 11px;
	}

	.home #calendar{
		margin-top: 30px;
	}
	.home #calendar #months li{
		width: 31%; /*50%*/
	}

	#content .ourComp,
	#content .yourComp{
		margin-top: 260px;
	}
	.yourComp #list ul#yourCompromiseList > li{
		display: inline-block;
		width: 100%;
		padding: 0;
		position: relative;
		min-height: 400px;
	}
	.yourComp #list ul li h4{
		text-align: left;
	}
	.yourComp #list ul li .image{
		width: 285px;
		position: absolute !important;
		top: 30px;
		left: 0;
	}
	.yourComp #list ul li .text{
		padding-left: 330px;
		margin-top: 10px;
		text-align: left;
	}
	.yourComp #list ul li.future .futureText{
		top: 40px;
	    left: 10px;
	    width: 265px;	
	}
	.youKnow #question ul{
		padding: 0;
	}
	.youKnow #banner{
		position: relative;
		top: 0px;
		height: auto;
	}
	.youKnow #question{
		padding-top: 0;
	}
	.youKnow #board .tiles table tr td.left,
	.youKnow #board .tiles table tr td.right{
		display: none;
	}

	.youKnow .footer #timeline{
		width: 100%;
	}

	/* Clasificación */

	header #burger{
		display: table-cell !important;
	}

	header #logout div{
		display: none;
	}

	.medals #cards ul li{
		width: 33%;
	}

	.notifications table td.text.openable p{
		width: 420px;
	}

	#slider .item {
		flex: 1 0 50%;
	}
}

/*móvil*/
@media only screen and (max-width: 720px){

	header{
		height: 80px;
	}
	header #top{
		height: 60px;
		margin-bottom: 15px;
		vertical-align: top;
	}
	header #top #logo img{
		width: 280px;
		vertical-align: top;
	}
	header #top #tag{
		display: inline-block;
		position: absolute;
		left: 0;
		right: 0;
		top: 50px;
		height: auto;
		padding-bottom: 2px;
	}
	header #top #tag p{
		max-width: none;
		margin-left: 10px;
		font-size: 16px;
	}

	#content > div > #banner {
		top: 0px !important; /*80px*/
	}
	header #mobileMenu{
		top: 75px;
	}
	header #mobileMenu li.profile.tablet{
		display: none;
	}
	header #mobileMenu li.profile.mobile{
		display: block;
	}
	header #mobileMenu li::after{
		right: 40px;
	}
	header #alerts{
		position: absolute;
		top: 15px;
		right: 60px;
		height: auto !important;
	}
	header #burger{
		position: absolute;
		top: 15px;
		right: 10px;
		height: auto !important;
	}

	#banner{
		top: 80px;
	}

	#content > div > #banner #text #claim p{
		font-size: 22px;
		line-height: 30px;
	}
	#content > div > #banner #text #claim img{
		top: -140px;
		left: 150px;
	}
	#content > div > #banner #text #claim p span{
		font-size: 32px;
		top: 3px;
	}
	#content > div > #banner #text #claim p span:last-child {
	    top: -3px;
	}

	#content > div > #banner #text #data{
		display: none;
	}

	/* Calendario home */

	.home #calendar{
		display: block;
	}
	.home #calendar .reto{
		margin-bottom: 20px;
		background-image: none;
	}
 	.home #calendar .reto .meses{
		margin-left: calc(50% - 55px);
    	float: none;
    	display: inline-block;
	}
	.home #calendar .reto .retos{
    	float: none;
		display: inline-block;
		margin-left: 0;
	}

	.home #calendar #months li{
		width: 50%; /*50%*/
	}

	/* Sorteos home */

	.home #news{
		display: block;
		padding: 0;
	}

    .home #news .awards{
		float: none;
		text-align: center;
		margin: 20px 0;
	}
	.home #news .prevAwards{
		float: none;
		display: block;
		margin: 0 auto;
		width: 250px;
	}
	.home #news .new.strip .content{
		/* width: 100%; */
		margin-left: auto;
		margin-right: auto;

	}


	#content #header #back {
	    width: 60px;
	    height: 60px;
		font-size: 30px;
		line-height: 75px !important;
	}
	#content #header img {
	    height: 60px;
		margin-top: 7px;
	}
	#content #header .text{
		margin-top: 10px;
	}
	#content #header .text .title{
		font-size: 20px;
	}
	#content #header .text .points{
		font-size: 20px;
	}
	#content #header .text .points span{
		font-size: 20px;
	}
	#content #header .text .points span.total{
		font-size: 14px;
	}

	#content .ourComp{
		margin-top: 0;
	}
	.ourComp #movileBanner{
		display: inline-block;
	}
	.ourComp #banner{
		display: none;
	}
	.ourComp #intro .text{
		margin-right: 0;
		padding-left: 0;
		margin-top: 20px;
	}
	.ourComp #intro #multimedia,
	.ourComp #intro #multimedia img{
		position: relative;
		width: 100%;
	}
	.ourComp #intro #multimedia .video::before{
		right: 15%;
		top: 40%;
		width: 20%;
		height: 28%;
	}
	.ourComp #list li{
		margin-left: 0;
	}

	.ourComp #list li .detail{
		padding: 30px 40px;
		text-align: left;
	}
	.ourComp #list li .detail::before{
		height: 20px;
		width: 20px;
		top: 35px;
		left: 10px;
	}
	.ourComp #list li .detail::after{
		height: 20px;
		width: 20px;
		bottom: 35px;
		right: 10px;
	}

	#content .yourComp{
	    margin-top: 0;
	}
	.yourComp #list ul{
		text-align: center;
	}
	.yourComp #list ul#yourCompromiseList > li{
		margin-top: 50px;
		width: 80%;
	}
	.yourComp #list ul#yourCompromiseList > li::after{
		content: '';
		display: inline-block;
		height: 1px;
		background-color: #A5B908;
		position: absolute;
		bottom: 0;
		left: 20px;
		right: 20px;
	}
	.yourComp #list ul li h4{
		text-align: center;
	}
	.yourComp #list ul li .image{
		width: 100%;
		position: relative !important;
		top: 0;
	}
	.yourComp #list ul li .text{
		padding-left: 0;
		margin-top: 10px;
		text-align: justify;
	}
	.yourComp #list ul li .text .show.more{
		display: block;
	}
	.yourComp #list ul li .text .content{
		display: none;
		padding-bottom: 20px;
	}
	.yourComp #list ul li.future .futureText{
	    top: 55px;
	    width: 95%;
	}
	.yourComp #movileBanner{
		display: inline-block;
	}
	.yourComp #banner{
		display: none;
	}
	.youKnow #board #header #back{
		font-size: 50px;
	}
	.youKnow #board .tiles{
		height: 400px;
	}
	.youKnow .questionCard{
		margin-top: -630px;
	}
	.youKnow #board .tiles table tr td{
		width: 70px;
		height: 70px;
	}
	.youKnow #board .tiles table tr td.left,
	.youKnow #board .tiles table tr td.right{
		display: table-cell;
	}
	.youKnow #board .tiles table tr td.tile > div{
		font-size: 40px;
		line-height: 65px;
	}
	.youKnow #board .tiles #token img {
	    width: 52px;
	    height: 52px;
	}
	.youKnow #board .tiles table tr td.month span,
	.youKnow #board .tiles table tr td.start div span{
		height: 34px;
		width: 34px;
		line-height: 30px;
		margin-top: 0;
		font-size: 30px;
		position: relative;
		top: 14px;
	}
	.youKnow #board .tiles table tr td.month p{
		font-size: 8px;
		margin-top: 17px;
	}

	/* .ranking #header #general{
		width: 150px;
	}
	.ranking #header h2{
		font-size: 20px;
	}
	.ranking #header .general h2{
		font-size: 30px;
	}
	.ranking #header #general h2{
		font-size: 16px;
	}
	.ranking #header #month p{
		margin-top: 5px;
		font-size: 14px;
	}
	.ranking #header #month p .arrow{
		color: #566A2F;
		font-size: 12px;
		padding: 0 10px;
	} */
	.ranking table tr th:nth-child(1),
	.ranking table tr th:nth-child(3),
	.ranking table tr th:nth-child(4),
	.ranking table tr th:nth-child(5),
	.ranking table tr th:nth-child(8),
	.ranking table tr td:nth-child(1),
	.ranking table tr td:nth-child(5),
	.ranking table tr td:nth-child(6),
	.ranking table tr td:nth-child(7),
	.ranking table tr td:nth-child(10){
		display: none;
	}
	.ranking table .more{
		display: table-cell;
	}
	.ranking table tr th:nth-child(2){
		width: 60%;
	}

	/*para el detalle del ranking acumulado*/
	.ranking table[data-idvalor="0"] tr.detail td:nth-child(1),
	.ranking table[data-idvalor="0"] tr.detail td:nth-child(5),
	.ranking table[data-idvalor="0"] tr.detail td:nth-child(6),
	.ranking table[data-idvalor="0"] tr.detail td:nth-child(7){
		display: none !important;
	}

	.notifications table tr th:nth-child(1),
	.notifications table tr th:nth-child(6),
	.notifications table tr td:nth-child(1),
	.notifications table tr td:nth-child(6){
		display: none;
	}

	.medals #cards ul li{
		width: 50%;
	}
	.medals #intro .text {
	    padding: 10px 220px 10px 15px;
	}

	.help table tr td img,
	.help table tr td .icon{
	    margin: 0 10px;
	    width: 40px;
	    height: 40px;
	    margin-top: 14px;
	    font-size: 30px;
		line-height: 40px;
	}

	.notifications table td.text.openable p{
		width: 380px;
	}

	/* Sorteos */
	.raffle .section{
		flex-wrap: wrap;
	}
	.raffle .section h3{
		flex: 1 0 100%;
	}

	.raffle .section .awardYear, .raffle .section .awardMonth{
		flex: 1 0 40%;
	}

	.raffle .section .awardYear img, .raffle .section .awardMonth img{
		width: 100%;
	}
	.raffle .section .participantes{
		align-self: flex-end;
	}
	.raffle .section .ganador{
		margin-top: 30px;
	}

	.youKnow .messageBoard .wbContent {
		display: inline-block;
		max-width: 600px;
		background-color: #fff;
		border-radius: 10px;
		border: 2px solid #00b7ce;
		padding: 35px;
		margin: 10px;
	}

	.youKnow #board .tiles #token img {
		width: 75px;
		height: 75px;
		background-color: #fefefe;
		border-radius: 7px;
		margin-top: 16px;
		margin-left: 7px;
	}

	.youKnow .messageBoard .wbContent img{
		width: 85px !important;
	}

	.youKnow .messageBoard .wbContent p {
		margin-bottom: 10px;
		line-height: 120%;
		text-align: left;
		margin-bottom: 10px;
		color: #555;
	}

	.youKnow #board #header .quiz img {
		float: left;
		position: absolute;
		left: 88px;
	}

	.youKnow #board #header .quiz p {
		font-size: 22px;
		margin-top: 30px;
		color: #00b3c3;
		float: left;
		margin-left: 49px;
	}

	.youKnow #board #header>* {
		flex: 1 0 18%;
		text-align: center;
	}

}

/*móvil intermedio*/
@media only screen and (max-width: 600px){

	.youKnow #board .tiles table tr td.left,
	.youKnow #board .tiles table tr td.right{
		display: none;
	}

	#content > div > #banner #text #claim{
		padding-right: 10px; 
	}	

	#news .new{
		width: 100%;
	}

	.notifications table td.text.openable p{
		width: 270px;
	}

	#slider .item {
		flex: 1 0 100%;
	}

	.youKnow .messageBoard .wbContainer {
		display: inherit;
		vertical-align: inherit;
		max-height: 400px;
	}

	.youKnow .messageBoard .wbContent {
		max-height: 400px;
		overflow: auto;
	}

	.home #calendar #months li .f_boot_img {
		width: 90%;
		position: absolute;
		top: 5px;
		left: 8%;
	}

}

/*móvil pequeño*/
@media only screen and (max-width: 480px){

	/* .home #calendar #months li .square .icon {
	    font-family: 'icons';
	    font-size: 36px;
	    line-height: 36px;
	    width: 40px;
	    height: 40px;
	    position: absolute;
	    top: 10px;
	    left: 10px;
	}
	.home #calendar #months li .square .text{
		font-size: 16px;
		margin-left: 20px;
		margin-top: 60px;
	}
	.home #calendar #months li .square .text span {
	    font-size: 20px;
	} */

	header #mobileMenu{
		width: auto;
		left: 0;
		border-left: none;
	}
	header #mobileMenu li.exit::after{
		display: inline-block;
	}
	header #mobileMenu li.exit{
		padding: 10px 50px;
		position: relative;
		border-top: none;
	}

	.home #calendar #months li{
		width: 100%; /*100*/
		height: 29%;
	}

	.ranking #header #back{
		width: 40px !important;
		margin-top: 15px;
	}
	
	.ranking #header h2, .ranking #header #general h2{
		font-size: 20px;
	}

	.ranking table .search::before{
		left: 5px;
	}
	.ranking table .search input{
		margin-left: 40px;
		width: 120px;
	}
	.ranking table .name p{
		width: 120px;
	}

	#content .notifications #header #back{
		width: 40px;
		font-size: 30px !important;
	}
	#content .notifications #header #alerts {
	    width: 60px;
	    font-size: 30px;
	}
	#content .notifications #header #alerts #alertNumber {
	    font-size: 14px;
	    height: 20px;
	    width: 20px;
	}
	#content .notifications #header{
		padding: 7px 0 5px 0;
	}
	#content .notifications #header h2 {
	    font-size: 22px;
	}
	.notifications table th#trash div{
		font-size: 34px;
		width: 35px;
		height: 35px;
		top: -43px;
		left: 7px;
	}
	.notifications table td.text.openable p{
		width: 220px;
	}
	.youKnow #board #header{
		padding-left: 0;
	}
	.youKnow #board #header #back{
		width: 50px;
	}
	.youKnow #board #header .icon{
		display: none;
	}
	.youKnow #board #header .continue{
		font-size: 12px;
	}
	.youKnow #board .tiles{
		height: 300px;
	}
	.youKnow .questionCard{
		margin-top: -680px;
	}
	.youKnow #board .tiles table tr td{
		width: 50px;
		height: 50px;
	}
	.youKnow #board .tiles table tr td.tile > div{
		font-size: 30px;
		line-height: 40px;
	}
	.youKnow #board .tiles #token img {
	    width: 40px;
	    height: 40px;
	}
	.youKnow #board .tiles table tr td.month span,
	.youKnow #board .tiles table tr td.start div span{
		top: 4px;
	}
	.youKnow #board .calendar{
		display: block;
	}
	.youKnow #board .calendar .line{
		display: none;
	}
	.youKnow #board .calendar #timeline > div{
		display: inline-block;
		width: 23%;
		margin-bottom: 20px;
	}
	.youKnow #board .calendar #timeline p{
		display: block;
		position: relative;
		top: -5px;
	}
	.youKnow #board .calendar #timeline .future p{
		top: 0;
	}
	.youKnow #board .tiles table tr td.left,
	.youKnow #board .tiles table tr td.right{
		display: table-cell;
	}
	.youKnow #board .tiles table tr td.month p{
		display: none;
	}
	.youKnow #board .tiles table tr td.month span{
		top: 3px;
	}
	.youKnow .banner .image{
		height: 150px;
	}
	.youKnow .messageBoard .wbContent{
		padding: 10px;
	}
	.youKnow #welkomeBoard.messageBoard .wbContent p{
		margin-bottom: 10px;
		text-align: left;
		font-size: 14px;
	}
	.yourComp #intro .text{
		padding: 180px 15px 10px 15px;
	}
	.yourComp #intro .number{
		border-left: none;
		border-bottom: 1px solid #878787;
		left: 0;
		margin-left: auto;
		margin-right: auto;
		height: 145px;
	}

	.medals #cards ul li{
		width: 100%;
	}
	.medals #intro .text{
		padding: 180px 15px 10px 15px;
	}
	.medals #intro .number{
		border-left: none;
		border-bottom: 1px solid #E88C0F;
		left: 0;
		margin-left: auto;
		margin-right: auto;
		top: 10px;
	}

	#content > div > #banner {
		top: 0px !important;
		height: 6%;
	}

	/* .home #compromises {
		display: inline-block;
		width: 100%;
		position: absolute;
		top: 89px;
	} */

	.home #calendar .calendar-container {
		padding-top: 10px;
		padding-bottom: 65px;
		margin-bottom: 25px;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	header #top #alerts {
		width: 55px;
		position: absolute;
		top: 56px;
		/* left: 0px; */
		right: 6px;
        display: none;
	}

    header #top>div#mobileMenu #alerts{
        display: block;
        top: 19px;
        right: 23px;
    }

	header #top>div#mobileMenu #alerts #alertNumber{
		color: #07a7bd;
	}

	.raffle .sorteo-flex>div{

	}

}

/*móvil superpequeño*/
@media only screen and (max-width: 430px){

	.youKnow #board .tiles table tr td.left,
	.youKnow #board .tiles table tr td.right{
		display: none;
	}

	.login input, .login select{
		width: 250px;
	}

	.login #avatarSelector #picture{
		width: 150px;
	}

	.notifications table td.text.openable p{
		width: 150px;
	}
}

/*móvil SUPERsuperpequeño*/
@media only screen and (max-width: 350px) {

	.notifications table td.text.openable p {
		width: 100px;
	}


}