/*
*	Project: VivirChile (This Is Chile)
*	Copyright: (CC) 2009, El Mostrador. All rights reserved.
*	Version: 1.0
*	Author: Juan Pablo Barrientos Lagos, aka Juanpablob, http://twitter.com/juanpablob
*	Visual Design: Felipe Pimentel, http://twitter.com/pimentel
*	
*	File Description: Structure, containers flow control and main definitions.
*/

/** Structure
--------------------------------------------- **/
#wrap {
	width: 960px;
	margin: 0 auto;
}
.wrapper {
    width: 960px;
    margin: 0 auto;
}
#content {
    margin-bottom: 60px;
}
	#content .col-left {
		width: 470px;
	}
	#content .col-right {
		width: 470px;
	}

.ad280 {
    width: 280px;
    height: 280px;
    margin-bottom: 20px;
}

/** Header
--------------------------------------------- **/
#top {
	margin-bottom: 10px;
    padding: 15px 5px 5px;
	border-bottom: 2px solid #f47621;
	background-color: #fff;
}
	#top .logo-elmo {
		display: block;
		width: 149px;
		height: 22px;
        vertical-align: middle;
	}
    #top p {
        margin-top: 4px;
        font-size: 14px;
        color: #999;
        vertical-align: middle;
    }
        #top p a {
            text-decoration: underline;
            color: #999;
        }
        #top p a:hover {
            color: #333;
        }

#header {
	position: relative;
	padding: 11px 0 24px;
}

	/* Logo */
	#header h2 {
        position: absolute;
        top: 0px;
        left: 15px;
        z-index: 100;
    }
        #header h2 a {
            width: 119px;
            height: 119px;
            background: url(../img/logo-vivirchile.png) left top no-repeat;
        }


	
	/* Nav */
	#header .nav {
		margin-left: 150px;
	}
		#header .nav li {
            float: left;
        }
            #header .nav li a {
                display: block;
                margin-left: 10px;
                padding: 4px 7px;
                font-size: 13px;
                font-weight: bold;
                text-transform: uppercase;
                color: #fff;
                background-color: #666;
            }
            #header .nav li a:hover {
                text-decoration: none;
                background-color: #333;
            }
            #header .nav .nav-videos a {
				background-color: #cd1017;
            }
            #header .nav .nav-entrevistas a {
				background-color: #4e91cd;
            }
            #header .nav .nav-testimonios a {
				background-color: #febe0e;
            }
            #header .nav .nav-datos a {
				background-color: #9ecb3b;
            }
    
    /* Credits */
    #header .by {
        position: absolute;
        top: 7px;
        right: 0;
        font-size: 11px;
        color: #838383;
    }
        #header .by img {
            margin-left: 15px;
            vertical-align: middle;
        }

/** Content
--------------------------------------------- **/
/**--- Left Col ---**/
/* Section Title */
#content .simple-title {
    margin-top: 80px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-size: 20px;
    color: #333;
}
#content .section-title {
	margin-bottom: 20px;
}
	#content .section-title h2 {
		margin-top: 20px;
		margin-left: 160px;
		font-size: 30px;
		font-weight: bold;
		color: #333;
		background-position: left top;
		background-repeat: no-repeat;
	}
    
	#content .section-videos h2 {
		width: 114px;
        height: 42px;
        background-image: url(../img/stripe-videos.png);
	}
	#content .section-entrevistas h2 {
		width: 140px;
        height: 36px;
        background-image: url(../img/stripe-entrevistas.png);
	}
	#content .section-testimonios h2 {
        width: 132px;
        height: 35px;
        background-image: url(../img/stripe-testimonios.png);
	}
	#content .section-datos h2 {
        width: 79px;
        height: 34px;
        background-image: url(../img/stripe-datos.png);
	}
    #content .section-archivo h2 {
        width: 165px;
        height: 61px;
        background-image: url(../img/title-archivos.png);
    }

/* Featured Content */
#content .featured-content {
	margin-bottom: 40px;
}
	#content .featured-content .media {
		position: relative;
        width: 470px;
		height: 353px;
	}
	#content .featured-content .quote {
		width: 430px;
        height: 263px;
        padding: 70px 20px 20px;
        background-color: #febe0e;
	}
		#content .featured-content .quote blockquote {
			width: 400px;
            margin-bottom: 15px;
			font-size: 22px;
			line-height: 26px;
			font-style: italic;
			font-weight: bold;
			color: #fff;
		}
            #content .featured-content .quote blockquote a {
                color: #fff;
            }
        #content .featured-content .quote .quote-overview {
            margin-bottom: 15px;
            font-size: 12px;
        }
		#content .featured-content .quote cite {
            display: block;
			font-size: 11px;
            font-weight: bold;
		}
			#content .featured-content .quote cite a {
				color: #fff;
				text-decoration: underline;
			}
			#content .featured-content .quote cite a:hover {
				color: #333;
			}
		
		#content .play {
			position: absolute;
			top: 80px;
			left: 182px;
			width: 106px;
			height: 106px;
			background: transparent url(../img/shp-play-video.png) left top no-repeat;
		}
		#content .featured-content .media .picture {
		}
		#content .featured-content .media .gc {
			position: absolute;
			bottom: 0;
			left: 0;
			width: 450px;
			padding: 26px 10px 10px;
			border-top: 1px solid #6f6f6f;
			background: transparent url(../img/bgr-gc-featured-content.png) repeat;
		}
			#content .featured-content .media .gc h1 {
				margin-bottom: 5px;
				font-size: 18px;
				font-weight: bold;
			}
				#content .featured-content .media .gc h1 a {
					color: #fff;
				}
			#content .featured-content .media .gc p {
				font-size: 11px;
				color: #fff;
			}
			#content .featured-content .media .gc .stripe {
				position: absolute;
				top: -15px;
				left: 10px;
			}

/* Posts */
#content .posts {
}
	#content .posts .a-ad {
        margin-bottom: 30px;
    }
    #content .posts .a-post {
		border-bottom: 1px solid #d9d9d9;
		margin-bottom: 30px;
		padding-bottom: 30px;
	}
		#content .posts .a-post .media {
			position: relative;
			width: 455px;
			margin: 0 auto 10px auto;
			padding: 7px;
			border: 1px solid #ccc;
			background-color: #fff;
		}
			#content .posts .a-post .media .play {
				top: 75px;
				left: 186px;
			}
		#content .posts .a-post h3 {
			margin-bottom: 10px;
			font-size: 24px;
			line-height: 26px;
			font-weight: bold;
			color: #333;
		}
		#content .posts .a-post p {
			font-size: 12px;
			line-height: 20px;
		}
		#content .posts .a-post .tags {
			margin-top: 15px;
			font-size: 11px;
			color: #666;
		}
			#content .posts .a-post .tags a {
				color: #333;
				text-decoration: underline;
			}
		#content .posts .a-post .comments-link {
            display: block;
            margin-top: 15px;
            padding-left: 20px;
            font-size: 13px;
            font-weight: bold;
            color: #000;
            background: url(../img/ico-comments.gif) left 4px no-repeat;
        }
        #content .posts .a-testimonios {
		}
			#content .posts .a-testimonios blockquote {
				margin-bottom: 10px;
				font-size: 24px;
				line-height: 26px;
				font-weight: bold;
				color: #333;
			}
            #content .posts .a-testimonios .quote-overview {
                margin-bottom: 10px;
            }
			#content .posts .a-testimonios cite {
				display: block;
				font-size: 11px;
                font-weight: bold;
			}
				#content .posts .a-testimonios cite a {
					color: #333;
					text-decoration: underline;
				}
	
	/* Pagination */
	#content .posts .posts-pagination {
	}
		#content .posts .posts-pagination a {
			display: inline-block;
			padding: 5px 9px;
			font-size: 12px;
			font-weight: bold;
			color: #fff;
			background-color: #333;
		}
		#content .posts .videos-paging a {
			background-color: #cd1017;
		}
		#content .posts .entrevistas-paging a {
			background-color: #4e91cd;
		}
		#content .posts .testimonios-paging a {
			background-color: #febe0e;
		}
		#content .posts .datos-paging a {
			background-color: #9ecb3b;
		}

/* Social */
#content .social {
	padding: 10px 10px 0;
	border: 1px solid #ddd;
	background-color: #ededed;
}
	#content .social li {
		margin-bottom: 15px;
		font-size: 18px;
		font-weight: bold;
		text-transform: uppercase;
	}
		#content .social li img {
			vertical-align: middle;
		}
		#content .social li a {
			text-decoration: none;
			color: #333;
		}
		#content .social li a:hover {
			color: #000;
		}

/* Post Detail (Single) */
#single #content .a-post {
	margin-bottom: 0;
    border-bottom: 5px solid #ef4a2a;
}
	#content .post-detail p a,
	#content .post-detail li a	{
		color: #ef4a3a;
		text-decoration: underline;
	}
	#content .post-detail a:hover {
		color: #000;
	}
	#content .post-detail p,
	#content .post-detail li {
		font-size: 12px;
		line-height: 20px;
		color: #333;
	}
	#content .post-detail h3,
	#content .post-detail h4,
	#content .post-detail h5,
	#content .post-detail p,
	#content .post-detail ol,
	#content .post-detail ul,
	#content .post-detail blockquote {
		margin-bottom: 20px;
	}
	
	#content .post-detail ul {
		margin-left: 30px;
	}
		#content .post-detail ul li {
			margin-bottom: 7px;
			padding-left: 7px;
			border-left: 3px solid #ccc;
		}
	
	#content .post-detail ol {
		margin-left: 30px;
	}
		#content .post-detail ol li {
			margin-bottom: 7px;
			list-style-type: decimal;
			list-style-position: inside;
		}
	
	#content .post-detail blockquote {
	}
		#content .post-detail blockquote p {
			margin: 0;
			font-family: Georgia, Cambria, Times, "Times New Roman";
			font-size: 20px !important;
			font-style: italic;
			color: #666;
		}

/* Comments */
#single #content #comments {
    position: relative;
    padding-top: 53px;
}
    #single #content #comments .stripe {
        position: absolute;
        top: -30px;
        right: -4px;
    }
    #single #content #comments ol {
        margin-bottom: 30px;
    }
        #single #content #comments ol li {
            margin-bottom: 15px;
            padding: 15px 15px 5px;
            border: 1px solid #ccc;
            background-color: transparent;
        }
            #single #content #comments ol li .avatar {
                display: none;
            }
            #single #content #comments ol li .comment-author {
                float: left;
                margin-bottom: 10px;
            }
                #single #content #comments ol li .comment-author cite {
                    font-size: 14px;
                    font-weight: bold;
                    color: #62397a;
                }
                    #single #content #comments ol li .comment-author cite a {
                        color: #62397a;
                    }
                #single #content #comments ol li .comment-author .says {
                    display: none;
                }
            #single #content #comments ol li .comment-meta {
                float: right;
                font-size: 12px;
                color: #999;
            }
                #single #content #comments ol li .comment-meta a {
                    color: #999;
                }
            
            #single #content #comments ol li p {
                margin-bottom: 10px;
                clear: both;
                font-size: 11px;
                color: #666;
            }

    #single #content #comments h3 {
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: bold;
        color: #ef4a2a;
    }
    #single #content #comments form {
    }
        #single #content #comments .identified {
            margin-bottom: 10px;
            color: #555;
        }
            #single #content #comments .identified a {
                color: #333;
                font-weight: bold;
                text-decoration: underline;
            }
        #single #content #comments form p {
            margin-bottom: 15px;
        }
            #single #content #comments p label {
                display: block;
                float: left;
                width: 90px;
                margin-right: 10px;
                padding: 3px 0;
                font-size: 14px;
                font-weight: bold;
                color: #333;
            }
            #single #content #comments .c-author input,
            #single #content #comments .c-email input {
                float: left;
                width: 310px;
                padding: 3px 7px;
                border: 1px solid #ccc;
                font-size: 12px;
                color: #555;
                background-color: #fff;
            }
            #single #content #comments .c-comment textarea {
                width: 448px;
                padding: 10px;
                border: 1px solid #ccc;
                font-size: 12px;
                color: #555;
                
            }
            #single #content #comments .c-submit input {
                border: 0;
                padding: 3px 10px;
                font-size: 14px;
                font-weight: bold;
                color: #fff;
                background-color: #ef4a2a;
                cursor: pointer;
            }

/**--- Right Col ---**/
/* Map */
#content .map {
	margin-bottom: 40px;
}
	#content .map iframe {
		width: 470px;
		height: 353px;
	}

/* Twitter */
#content .twitter {
        position: relative;
        width: 280px;
        margin-bottom: 30px;
        border-bottom: 2px solid #dae6ef;
        background-color: #e8f4fe;
    }
    #content .twitter .stripe {
    	position: absolute;
    	top: -10px;
    	left: -10px;
    }
    #content .twitter p {
        margin-bottom: 10px;
        padding: 3px 7px;
        color: #fff;
        background-color: #0092a1;
    }
        #content .twitter p a {
            font-weight: bold;
            color: #fff;
        }
	#content .twitter ul {
		padding: 10px;
        height: 700px;
        overflow: auto;
	}
        #content .twitter ul li {
            position: relative;
            min-height: 36px;
            margin-bottom: 10px;
            padding-bottom: 10px;
            padding-left: 47px;
            border-bottom: 1px solid #dae6ef;
            font-size: 11px;
        }
            #content .twitter ul li img {
                position: absolute;
                top: 0;
                left: 0;
                width: 36px;
                height: 36px;
                padding: 1px;
                border: 1px solid #ccc;
                background-color: #fff;
            }
            #content .twitter ul li a {
                color: #0092a1;
            }
            #content .twitter ul li cite {
                font-weight: bold;
            }
            #content .twitter ul li span {
                color: #333;
            }
            #content .twitter ul li em {
                font-size: 10px;
                color: #555;
            }

/* Miscellaneous */
#content .misc {
	width: 160px;
    margin-bottom: 20px;
	padding: 5px;
	border-bottom: 2px solid #ccc;
	background-color: #fff;
}

	/* Archive */
	#content .misc .archive {
		margin-bottom: 25px;
	}
		#content .misc .archive h4 {
			margin-bottom: 10px;
			font-size: 14px;
			font-weight: bold;
			text-transform: uppercase;
			color: #ef4a2a;
		}
			#content .misc .archive h4 a {
				color: #ef4a2a;
			}
		#content .misc .archive ul {
			margin-bottom: 25px;
		}
			#content .misc .archive ul li {
				padding: 2px 0;
				border-bottom: 1px solid #e3e3e3;
				color: #333;
			}
	
	/* Links */
	#content .misc .links {
		margin-bottom: 25px;
	}
		#content .misc .links h4 {
			margin-bottom: 10px;
			font-size: 14px;
			font-weight: bold;
			text-transform: uppercase;
			color: #ff7e00;
		}
		#content .misc .links ul {
			margin-bottom: 25px;
		}
			#content .misc .links ul li {
				padding: 2px 0;
				border-bottom: 1px solid #e3e3e3;
				color: #333;
			}

/** Footer
--------------------------------------------- **/
#footer {
    padding: 10px;
    border-top: 1px solid #e5e5e5;
    background-color: #fff;
}
    #footer p {
        font-size: 12px;
        color: #a5a5a5;
        vertical-align: middle;
    }
        #footer p img {
            margin-left: 15px;
            vertical-align: middle;
        }
    #footer .fl {
        margin-top: 10px;
    }
        #footer .fl a {
            color: #a5a5a5;
            text-decoration: underline;
        }
        #footer .fl a:hover {
            color: #555;
        }

