/* Custom Styles */

/*
XMLHttpRequest cannot load http://media.utdailybeacon.com/less/styles.less. 
Origin http://utdailybeacon.com is not allowed by Access-Control-Allow-Origin. 
*/

//@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
//@import "//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css";
@import "base.less";
@import "menu.less";
@import "sidebar.less";
@import "carousel.less";

/* ******************************************************************
 * BASE COLORS
 * ****************************************************************** */
	@orange: #f77f00;
	@smokey: #4C4D4F;
	@rock: #8a8c8f;
	@limestone: #f0ede4;
	@torch: #e65933;
	@valley: #00746f;
	@dark-gray: @smokey;
/* ****************************************************************** */

/* ******************************************************************
 * RESPONSIVE
 * extra small (phones): <768px
 * small (tablets): >768px
 * medium (desktops): >992px
 * large (desktops): >1200px
 * ****************************************************************** */

img {
    display: block;
    height: auto;
    max-width: 100%;
    //&:extend(.img-responsive);
    }
    
iframe {
    max-width: 100%;
}


@media (min-width: 768px) {
    .col-right {
        text-align: right;
        }
    }

/* mobile */
@media (max-width: 767px) {
    .col-right {
        text-align: left;
        }
        
    .breakingnews-block .photo-block {
    	float: right !important;
    	clear: both;
    	}
    	
    .breakingnews-block h1 {
    	clear: both !important;
    	}
    	
    .body-block .photo-block {
    	max-width: 100% !important;
    	}
    	
    .body-block .photo-block img {
    	max-width: 100% !important;
    	}
}
    
/* 
@media (max-width: @screen-phone-max) { }
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) { }
@media (min-width: @screen-md) and (max-width: @screen-md-max) { }
@media (min-width: @screen-lg) { }
*/

/* ******************************************************************
 * UNIVERSAL
 * ****************************************************************** */

html, body {
    height: 100%;
    }
    
h1 a {
	color: @dark-gray;
}

h1 a:hover {
	color: @dark-gray;
	text-decoration: underline;
}

/* ************************************************************************************************
	MIXINS
   ************************************************************************************************ */
   
   .clear {
   		clear: both;
   		}
   
   .section-title-container(@background: @smokey) {
   		border-top: 2px solid @background;	
   	}
   
   .section-title(@background: @smokey) {
   		background-color: @background;
		border: 1px solid @background;
		color: white;
		display: block;
		font-weight: bold;
		padding: 0 8px;
		width: 140px;
   	}
   	
   	.lede {
   		font-weight: normal;
   		margin-top: 0;
   	}
   	
   	.story-link {
   		text-transform: lowercase;
   	}
   	
   	.story-link a {	}
   	
   	#timestamp {
   		margin-bottom: 1em;
   	}
   	
/* ***********************************************************************************************
	CREDIT / STORY DATA
   *********************************************************************************************** */
    
    .byline {
    	font-size: .9em;
    	text-transform: uppercase;
    	margin-bottom: 20px;
    }
    
    .pubdatetime, .timestamp {
    	color: @smokey;
    	font-size: .8em;
    	font-style: normal;
    	font-weight: bold;
    }
      
/* ******************************************************************
	ADVERTISEMENTS
   ****************************************************************** */

.ad-block {
	margin: 10px auto;
	text-align: center;
}

.ad-leaderboard img {
    border: 1px solid black;
    margin: 0 auto;
    }
    
.ad-leaderboard {
	margin: 10px auto;
	text-align: center;
}

.ad-block iframe {
	border: 0;
	max-neight: 92px;
}

/* ******************************************************************
	BREAKING NEWS
   ****************************************************************** */
   
	.breakingnews-block { }
	
	.breakingnews-block .title-block {
		.section-title-container(@torch);
		}
		
	.breakingnews-block .title-block span {
		.section-title(@torch);
		text-transform: uppercase;
		}
		
	.breakingnews-section-block {
		.section-title-container(@torch);
		margin-top: 1em;
	}
	
	.breakingnews-section-block .title-block {
		.section-title(@torch);
		text-transform: uppercase;
	}

/* ******************************************************************
 * FOOTER
 * ****************************************************************** */

#footer {
    background-color: black;
    color: @smokey;
    font-size: .9em;
    }
    
#footer a {
	color: @smokey;
	}
	
#footer-infoblock {
	text-align: right;
	}
	
#hcard-data {
	margin: 2em auto;
	text-align: right;
	}
	
#hcard-data .geo {
	display: none;
	}

#copyright {
	margin: 2em auto;
	}

/* ******************************************************************
 * MASTHEAD / LOGO
 * ****************************************************************** */

#logo {
    margin: 0 auto 10px auto;
    text-align: center;
    }
    
#logo img {
	margin: 0 auto;
}

#nav-main {
    background-color: black;
    color: white;
    }

/* ******************************************************************
 * NAVIGATION (TOP)
 * ****************************************************************** */
#nav-top {
    padding: 4px 0 2px 0;
    }

#nav-top {
    margin-bottom: 2em;
    }

#nav-top-social {
    max-height: 32px;
    padding:  0;
    text-align: left;
    }

#nav-top-social ul {
    margin: 0;
    }

#nav-top-social li {
    display: inline;
    float: left;
    list-style-type: none;
    margin: 0 4px 0 0;
    }

#nav-top-search {
    max-height: 32px;
    padding: 0;
    }

#nav-top-search input[type="text"] {
    .rounded;
    background-color: #eee;
    border: 1px solid #aaa;
    font-weight: bold;
    letter-spacing: 1px;
    max-height: 23px;
    padding: 1px 4px;
    vertical-align: top;
    width: 160px;
    }

#nav-top-search input[type="image"] {
    margin-right: 4px;
    vertical-align: top;
    }
    
/* ******************************************************************
 *	ARTICLES
 * ****************************************************************** */
 
 #article {
 	padding-right: 1em;
 }
 
 .head-block {}
 
 .body-block {}
 
 .article-body {
 	margin-bottom: 1em;
 }
 
 .breakingnews-page-notifier {}
    
/* ******************************************************************
 *	ARTICLE TEASERS
 * ****************************************************************** */

.article-teaser {
	border-bottom: 1px solid @limestone;
	margin: 0 0 1em 0;
	padding: 0 0 1em 0;
}

.section-main-teaser {
	//border-right: 1px solid @limestone;
}

.section-main-teaser h3 {
	font-face: Georgia, serif;
}

.section-main-teaser a {
	color: @torch;
}

.section-teaser a {
	color: @torch;
}

.section-teaser h3,h4 {
	font-face: Georgia, serif;
	margin-bottom: 0;
	padding-bottom: 0;
}

.section-main-teaser img {
	border: 1px solid @smokey;
	float: right;
	margin: 1.5em 0 .5em .5em;
}

.news-block time {
    color: @rock;
    display: block;
    margin-bottom: 10px;
    }

.section-more {
    font-size: 1em;
    font-weight: bolder;
    margin-bottom: 20px;
    padding-right: 2em;
    text-align: right;
    }
    
.news-block .section-main-teaser {
	font-weight: bold;
}

.news-block .section-teaser {
	//font-style: italic;
}

.teaser-block {
	margin-bottom: 2em;
}

.teaser-block img {
	border: 1px solid @smokey;
	float: right;
	margin: 0 2px 2px 0;
}

/* ******************************************************************
 *	CLASSIFIEDS
 * ****************************************************************** */
 
#classified-left {
	float: left;
	padding: 4px;
	width: 50%;
}

#classified-right {
	float: right;
	width: 50%;
}

.classified-ad {
	border: 1px solid black;
	background-color: @limestone;
	margin: 0 auto 4px auto;
	padding: 4px;
	.rounded;
}

/* ******************************************************************
 *  GALLERIES
 * ****************************************************************** */
 
#article-carousel {
	margin-bottom: 20px;
}

/* ******************************************************************
 *	MASTHEAD
 * ****************************************************************** */
 
#masthead #left {
	text-align: right;
} 

#masthead .group-block {
		margin-bottom: 20px;
		}

		#masthead .group-block .position-type {
			font: bold 20px/20px Arial, Helvetica, sans-serif;
			border-bottom: 1px solid black;
			margin-bottom: 10px;
			}

	#masthead .position-block {
		margin-bottom: 10px;
		}

		#masthead .position-block .position-title {
			font: bold 14px/14px Arial, Helvetica, sans-serif;
			text-transform: uppercase;
			}
		
		#masthead .position-block .staff {
			font-style: italic;
			}

/* ******************************************************************
 * NEWS HOLE
 * ****************************************************************** */

#news-hole { }

.news-block {
    margin-top: 20px;
    }

.news-block .section-title {
    .section-title-container(@rock);
    }

.news-block .section-title span {
	.section-title(@rock);
    }

.news-block .top-story img {
    border: 1px solid @rock;
    float: right;
    margin: 0 0 4px 4px;
    }

.news-block .byline {
    text-transform: uppercase;
    }
    
.byline a {
	color: @smokey;
}

.kicker, .deck {
	font-style: italic;
	font-size: 1em;
	font-weight: bolder;
}

.kicker {
	margin: auto auto -10px auto;
}

.deck {
	margin: -10px auto 10px auto;
}

/* ************************************************************************************************
	NOTIFICATION BAR
*************************************************************************************************** */

#notification-bar {
	background-color: yellow;
	color: black;
	font-size: 13px;
	font-weight: bold;
	line-height: 20px;
	margin-bottom: 5px;
	text-align: center;
	}
	
	#notification-bar a {
		color: blue;
		}

/* ************************************************************************************************
	OPINION
*************************************************************************************************** */

#columnist-teaser-container { }

#columnist-teaser-container .section-name {
	border-bottom: 1px solid @smokey;
	font-size: 1em;
	font-weight: bold;
}

.columnist-teaser-block { }

.columnist-teaser-block .section-name {}

.columnist-teaser-block img {
	border: 0;
	float: left;
	margin: 0 4px 0 0;
}

.columnist-teaser-block h1 {
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 4px;
}

.columnist-teaser-block h2 {
	font-size: 1em;
}

.columnist-teaser-block h3 {
	font-size: .8em;
}

.column-archive-box {
	float: right; 
	width: 100px; 
	border: 1px solid black; 
	padding: 5px; 
	background-color: #dedad1;
	.rounded;
}

.column-archive-box h2 {
	font-size: 1.25em;
	font-weight: bold;
	margin-top: 4px;
}


/* ******************************************************************
 * PHOTOS / PHOTO BLOCK
 * ****************************************************************** */
 
.breakingnews-block .photo-block {
 	float: left;
 	margin: 0 1em 1em 0;
 	width: 160px;
 	}
 	
.breakingnews-block .photo-block img {
 	max-width: 158px;
 	}
 	
.photo-block {
	float: right;
	margin: 0 0 1em 1em;
	}
 	
.photo-block img {
	border: 1px solid @smokey;
 	}
 	
.photo-block .credit {
	clear: both;
	font-size: .8em;
	margin-bottom: 1em;
	text-align: right;
}
 
.photo-block .caption {
	clear: both;
	font-size: .9em;
	margin-bottom: 1em;
	text-align: left;
}
 
#article .photo-block {
	max-width: 330px;
	}
	
#article .photo-block img {
	border: 1px solid @smokey;
	float: right;
	max-width: 328px;
}

.photo-block-large {
	float: right;
	margin: 0 auto 0 auto;
	max-width: 650px;
	}

	.photo-block-large .caption {
		clear: both;
		font-size: .9em;
		margin-bottom: 1em;
		text-align: left;
		}
	
	.photo-block-large .credit {
		clear: both;
		font-size: .9em;
		margin-bottom: 1em;
		text-align: right;
		}
	
	.photo-block-large img {
			border: 1px solid @smokey;
			max-width: 648px;
			}
			
.staff-profile-photo-block img {
	float: left;
	margin-right: 4px;
	height: 60px;
}

/* ******************************************************************
 * SITEMAP
 * ****************************************************************** */

#sitemap {
	background-color: black;
	font-size: .9em;
	padding-top: .5em;
	}
	
#sitemap-links {}
	
#sitemap a {
	color: @rock;
	}
	
#sitemap .column {
	float: left;
	margin-right: 1em;
	}
	
#sitemap .column ul {
	list-style-type: none;
	//margin: 0 1em 0 0;
	padding: 0;
	}

#sitemap .column .title {
	border-bottom: 1px solid @orange;
	color: @orange;
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
	}
			
/* ******************************************************************
 * VIDEO
 * ****************************************************************** */
	
#video-block {
	border: 0;
}

#video-block iframe {
	clear: both;
}

#video-embed {
}

.video-notification {
	background-color: @torch;
	color: white;
	display: block;
	font-size: .8em;
	font-weight: bold;
	line-height: .8em;
	margin-right: 10px;
	padding: 2px;
	text-align: center;
	text-transform: lowercase;
	width: 70px;
	.rounded(10px);
}

/* ******************************************************************
 * SEARCH RESULTS
 * ****************************************************************** */
 
 #search-box {
 	margin: 16px 0;
 }
 
 #search-box input {
 	display: table-cell;
 	vertical-align: middle;
 	margin-right: 4px;
 }
 
 .search-results {
 	margin-bottom: 16px;
 }
 
 .search-results a {
 	color: @orange;
 }
 
 .search-results-title {
 	font-size: 1.4em;
 	font-weight: bold;
 }
 .search-results-description {
 }
 
 .search-results-url {
 	font-size: .8em;
 	font-style: italic;
 }

/* ******************************************************************
 * EMBEDDABLE IMAGES
 ******************************************************************** */
 .img-embed-left {
 	float: left;
 	border: 1px solid black;
 	margin: 4px 4px 4px 0;
 	}
 	
 .img-embed-right {
 	float: right;
 	border: 1px solid black;
 	margin: 4px 0 4px 4px;
 	}

/* ******************************************************************
 * MISC
 * ****************************************************************** */
 
 .errorlist {
 	color: red;
 	font-weight: bold;
 	}
 	
 .addthis_toolbox iframe {
 	border: none;
 	}