html, body {
	width: 100%;
	background-color: #D9D9D1;
	margin: 0px auto;
	padding: 0px; 
	vertical-align: baseline;
	height: 100%;
	min-height:100%;
}

.container {
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	height:auto;
}

.image-responsive {
	height: auto;
	display: inline-block;
	position: relative;
	resize: none;
	top: 0px;
	left: 0px;
	width: 100%;
	max-width: 100%;
}

.justifyText {
	text-align: justify;
	text-justify: inter-word;
}

.mejs__captions-layer {
	font-size: 30px!important;
	font-size: 1.6vw!important;
	line-height: 40px!important;
}

.yellowbox {
	background-color:#F6BE00;
	color:#333333;
	width: 48%;
	opacity: 0.9;
}

#languageInterest {
	width:100%; padding:15px; text-align:center;
}

.languageInterestText {
	font-size:1.5em; font-weight:bold;
}

#languagebackgroundImage {
	position:absolute;
	z-index:0;
	margin-top:-30px;
	min-width:100%;
}

.languagebgImagesize {
	max-height:250px;
	height:250px;
}

.embeddedNewsFeed .flag, .embeddedNewsFeed .more {
	padding: 2px;
	color: #FFF;
	text-decoration: none;
	font-size: 14px;
	background-color: #B5BD00;
}

.embeddedNewsFeed .blurb-wide img {
    display: block;
    float: left;
    margin-left: 0%;
    margin-right: -100%;
    width: 33%;
}

.embeddedNewsFeed .blurb-wide div {
    display: block;
    float: left;
    margin-left: 36.0303%;
    margin-right: -100%;
    width: 63.8586%;
    top: -4px;
    position: relative;
    font-size: 12px;
}

.embeddedNewsFeed [class*="blurb"] {
    position: relative;
    padding-bottom: 1em;
    overflow: hidden;
}

.embeddedNewsFeed h4.embed-title {
    border-bottom: 1px solid #DDD;
    font-family: "Helvetica Neue",Arial,sans-serif;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 0.8em;
}

#languageContent {
	font-size:1.2em;
}

#languageBackgroundButton {
	font-weight:bold;
	width:100%;
	margin-top:30px;
}

.languageBox {
	background-color:#333333;
	color:#AAA;
	height:auto;
	padding-top:0;
	padding: 1px 15px 15px 15px !important;
	width:100%;
	min-height:250px;
}

.languageBox h4:first-letter {
	text-transform: capitalize;
}

.languageBox a {
	color:#F6BE00;
}

.languageBox a:hover {
	color:#F6BE00;
}

.languageInterestMobile {
	width:100% !important;
	position:relative !important;
	padding:15px !important;
	text-align:center !important;
	margin-top:30px !important;
}

.languageImage {
	cursor:pointer;
	margin-top:30px;
}

.languageContentFilmSuggestionsTitle {
	margin-top:5px;
	margin-bottom:5px;
}

.languageNavigation {
	text-transform: capitalize;
}
.materialbgImagesize {
	max-height:100%;
	height:100%;
}

.materialmenu {
	margin-bottom:20px;
	opacity:0.95;
    filter:alpha(opacity=95);
}

.mejs-container {
    margin: 0 auto;
}



.btn-label {position: relative;left: -12px;display: inline-block;padding: 6px 12px;background: rgba(0,0,0,0.15);border-radius: 3px 0 0 3px;}
.btn-labeled {padding-top: 0;padding-bottom: 0;}

.single-line {
    white-space: nowrap;
    width:200px;
    overflow: hidden;
} 
.single-line br {
    display:none;

}
.single-line * {
    display:inline;
    white-space:nowrap;
}



@media (min-width: 1370px) {
	.container {
		width: 1350px;
	}
}

.container {
    /*height:100%;
	min-height:100%;*/
}

#mainImage {
	overflow: hidden;
	background-size: cover;
}

.announcementbody {
	padding-left:0;
	padding-right:0;
}

#searchFormContainer {
	width:18%;
}

.centerLabel {  
    height : 50px;
    display : table-cell;
    vertical-align : middle;
    border : 0px;
    float:none;
}

.centralSubMenuLabels {
	line-height:2;
	font-weight:100;
	font-size:125%
}

.centralSubMenuLabels a:hover {
	background-color: #F6BE00;
	color: #999 !important;
	border-radius: 0.25em;
	text-decoration: none;
}

.whiteBreadcrumb {
	background-color: #FFFFFF;
	border-radius: 0px;
	margin-bottom: 1px !important;
}


.marginForNavBar {
	margin-top: 50px;
}

.blocks
{  
    margin: 0 5px;    
}

.navbar {
    margin-bottom: 0;
    border: 0px;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#navbar-main {
	/*background-color:#4693EA;*/
}

#navbar-collapse-2 {
	background-color:#F6BE00;
}

#navbar-main .navbar-nav > li > a{
	color:#ffffff;
}

#navbar-main .navbar-nav > li > a:hover{
	color:#F6BE00;
}

#navbar-collapse-2 .navbar-nav > li > a{
	color:#000000;
}

.altblank {
	padding-right:10px;
}

.itemListing {
	min-height:180px;
	margin-bottom:20px;
	overflow:auto;
}

.nobullets a {
	color: #ffffff;
}

.white a {
	color: #ffffff;
}

.headerbgcolour {
	background-color: #222222;
}
.media-heading a {
	color: #000000;
}

.centralMenuWindow
{  
    display:none;
    width:50%;
    opacity:0.9;
    filter:alpha(opacity=90); /* For IE8 and earlier */
}

.noBottomMargin
{  
    margin-bottom:0px;
}

.extrapadding {
	padding-top:15px;
	padding-bottom:15px;
	
}


.footer {
	background-color:#41413E;
}

.yellowText {
	color:#D8BE0A;
}

.yellowText a {
	color:#D8BE0A;
}

.yellow {
	color: #D8BE0A !important; 
}

.blackText {
	color: #000000; 
}

.blueText {
	color: #034DA1 !important; 
}


.grayText {
	color:#bbbbbb;
}

.noHorizontalLeft li a {
	padding-left: 0;
}

#mainfooter.footer {
	padding-bottom:20px;
	
}

.well {
	margin-bottom: 0px;
}

.contented {  
	
	padding: 15px; 
	
}

.hide {
	display:none;
}

.thumbnail { 
	margin-right: 10px;
	margin-left: 10px;
}


.thumbnails {
	list-style-type: none;
}

.topdrop {
	
	margin-top: 5px;
	margin-bottom: -5px;
	
}

.justify {
	text-align: justify;  
    -webkit-hyphens: auto;  
    -moz-hyphens: auto;  
    hyphens: auto;  
}

.footerpillsmenu a:hover {
	background-color: #41413E !important;
	color: #ffffff;
}

.spaceTop-sm {
	margin-top:20px;
}

.spaceTop-md{
	margin-top:50px;
}

#mainheader {
	
	background-color: #020202;
	height: 115px;
	
}


#mainheader .strapline {
	
	color: #ffffff;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1em;
	line-height: 25px;
	
	/*margin: 15px 15px 15px 15px;*/
	
}


.blue {
	color: #ffffff !important; 
	background-color: #4693EA !important;
}

.noPaddingLeft {
	padding-left:0;
	padding-right:0;
	
}

.nopadding {
	padding: 0 !important;
	margin: 0 !important;
}

.white {
	color:#ffffff;
}

.nobullets {list-style-type: none;}


#mainheader h1#logo{
	/* margin: 40px 0 0 0; */
	position: relative; right: 0; bottom: 0;
	padding-top: 20px;
}


.graynav {
	background-color:#333333;
	color:#AAA;
	
}

.white {
	color:#ffffff;
}


.graybox {
	background-color:#333333;
	color:#AAA;
	height:400px;
	padding-bottom:5px;
}

.graybox a {
	color:#F6BE00;
}

.graybox a:hover {
	color:#F6BE00;
}

.yellowbox a {
	color:#034DA1;
}


.btn:focus {
    color: #ffffff;
}

#pagecontainer {
	
	background-color: white;
	min-height: 423px;
	overflow:hidden;
}

.emphasis {
	font-weight:bold;
}

#social-media li {
    float: left;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    list-style-type: none;
}

.smimages {
	margin-top:-15px;
}

#socialMediaContainer {
	padding: 15px 0 25px 0;
	margin-left:-50px;
}


.breadcrumb {
	
	margin-bottom: 0;
	border-radius: 0;
	
}

.notopmargin {
	margin-top:0px;
}

.breadcrumb a, .breadcrumb a:visited, .breadcrumb a:hover {
	color: #000000;
	font-weight: bold;
	
}

.field_form {
	
	
	
}

.field_form .delete_button {
	
	color: #bd362f;
	
}

.field_form .delete_button.disabled {
	
	color: #999;
	
}



.newsfeed {
	padding: 0 0 0 0 !important;
	margin: 0 0 0 0;
	height: 100%;
	min-height: 350px;
	max-height: 800px;
	background-color: transparent;
}

.newsfeed.announcements {
	min-height: 30px;
	max-height: 1200px;
}

.newsfeed .flag-news {
	clear:both;
	padding: 2px;
	color: #FFF;
	text-decoration: none;
	font-size: 14px;
	background-color: #B5BD00;
	position:absolute;
	z-index:1;
}

.newsfeed .flag-announcements {
	clear:both;
	padding: 2px;
	color: #FFF;
	text-decoration: none;
	font-size: 14px;
	background-color: #FF7145;
	position:relative;
	z-index:1;
}

.newsfeed img {
	/*width: 100%;
		height: 100%;
		max-width: 430px;
	max-height: 250px;*/
	height: auto;
	display: inline-block;
	position: relative;
	resize: none;
	top: 0px;
	left: 0px;
	width: 100%;
	max-width: 100%;
	max-height: 250px;
}

.newsbody {
	margin-top:0px;
	min-height:150px;
	position:relative;
	/*padding-left: 10px;
	padding-right: 20px;*/
}
.newsfeed .newsimage {
	text-align: center;
	max-height: 250px;
}

.newsbody a h2 {
	color: #000000;
	text-decoration: none;
}

.notextdecoration a:link {
	color: #000000;
	text-decoration: none
}


/* this is to adjust the form padding and remove the border lines on small screens due to the hack to retain the search box even when navbar is collapsed */
.navbar .navbar-form {
    padding: 0 15px;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#searchquery {
	width: 175px;
}

@media (max-width: 991px) {
	
	#siteDescription {
		display:none;
	}
	
	.newsfeed {
		min-height: initial;
	}
	
    .newsfeed .newsimage {
		max-height: 100%;
	}
	
	.newsfeed img {
		max-height: 100%;
	}
    
	.newsbody {
		min-height: initial;
	}
	
	.yellowbox {
		
	}

	.desktop {
		display:none;
	}

	.mobile {
		display:block;
	}

	#languageContent {
		margin-top:30px;
	}

	#languageFilmSuggestions {
		margin-top:30px;
	}
	
	#homeImageContainer {
		width:100% !important;
	}
	
	#newsItem .img-responsive {
		padding: 0 0 0 0 !important;
	}
	
	.newscol-1 {
		padding-right:15px;
	}
	
	.newscol-2 {
		padding-left:15px;
		padding-right:15px;
	}
	
	.newscol-3 {
		padding-left:15px;
	}
	
	.graybox {
		height: auto;
		padding-top: 2px;
	}
	
	#centralMenu, #siteDescription, .graybox, .centralMenuWindow, .infoWindow, .subjectsWindow {
		height:auto !important;
		opacity:0.97 !important;
	}
	
	.centralSubMenuLabels {
		font-weight:100 !important;
		font-size:95% !important;
		padding: 0;
	}
	
	#infoCarousel {
		display:none;
	}
	
	.newsfeed.announcements {
		max-height: 1200px;
	}
	
	#mainheader {
		margin-top: -65px;
	}
	
	.navbar-header .navbarIcon {
		display: block;
	}
	
	.navbar-header .navbarText {
		display: none;
	}
	
	.newsfeed .newsimage {
		height: auto;
	}
	
	#centralMenu {
		display: none;
		
	}
	
	#centralMenu-mobile {
		display: block;
		
	}
	
	#maincontainer {
		/*this one makes the content wider for smaller screens, but breaks some parts of bootstrap scaffolding, therefore we need to hide the horizontal scrollbars */
		
		overflow:hidden;
		
	}
	
	.yellowbox {
		margin-top:12px;
		width:100%;
	}
	
	.infoWindow {
		display: none !important;
	}
	
	#mainImage {
		background-image: none !important;
		height: auto !important;
	}
	
	#materialBody .block {
		height:150px !important;
	}
	
	#materialBody .info {
		height:auto;
	}
	
	#searchquery {
		width: 100%;
	}
	
	#newsItem .img-responsive {
		height: auto;
		display: inline-block;
		position: relative;
		resize: none;
		top: 0px;
		left: 0px;
		width: 100%;
		max-width: 100%;
	}
	
	
}

@media (max-width: 1199px) {
	.centralSubMenuLabels {
		font-size: 115%;
	}	
}



@media (min-width: 992px) {
	
	#pagecontainer {
		min-height: 600px;
	}
	
	#centralMenu {
		display: block;
		width:32.4%;
	}
	
	.newsbody {
		padding-left: 7px;
		padding-right: 7px;
	}
	
	
	#homeImageContainer {
		width:67.6%;
		height:400px;
	}
	
	#centralMenu-mobile {
		display: none;
		
	}
	
	.navbar-header .navbarText {
		display: block;
	}
	
	.navbar-header .navbarIcon {
		display: none;
	}

	.desktop {
		display:block;
	}

	.mobile {
		display:none;
	}

	#languageContent {
		margin-top:240px;
	}

	#languageFilmSuggestions {
		margin-top:150px;
	}
	
}



.newsbutton {
	position:absolute;
	bottom:0;
}


ul#mainmenu {
	
	margin-bottom: 5px;
	
}



ul#mainmenu a {
	
	color: #ffffff;
	
	text-transform: uppercase;
	
	font-weight: bold;
	
}



ul#mainmenu > li > a.span3 {
	
	font-size: 1.08em;
	
	margin-left: 3px;
	
	padding-top: 15px;
	
	padding-bottom: 15px;
	
}



ul#mainmenu > li > a > span  {
	
	display: block;
	
	color: #000000;
	
	font-size: .7em;
	
}




ul#mainmenu > li > ul {
	
	margin-left: 3px;
	
}



ul#mainmenu > li > ul > li > a.span3 {
	
	font-size: .76em;
	
	margin-left: 0;
	
	padding-left: 12px;
	
	padding-right: 12px;
	
}



ul#mainmenu li a {
	
	background-image: none;
	
}



ul#mainmenu li.languages a,

ul#mainmenu li.languages ul {
	
	background-color: #bc1844;
	
}



ul#mainmenu li.languages a:hover {
	
	background-color: #A7143D;
	
}



ul#mainmenu li.subjects a,

ul#mainmenu li.subjects ul {
	
	background-color: #14889a;
	
}

ul#mainmenu li.subjectsdisable a,

ul#mainmenu li.subjectsdisable ul {
	
	background-color: #14889a;
	color: #D6D6D6;
	
}



ul#mainmenu li.subjects a:hover {
	
	background-color: #117786;
	
}



ul#mainmenu li.teachered a,

ul#mainmenu li.teachered ul {
	
	background-color: #739035;
	
}


ul#mainmenu li.teachereddisable a,

ul#mainmenu li.teachereddisable ul {
	
	background-color: #739035;
	color: #D6D6D6;
	
}


ul#mainmenudisable > li > a > span  {
	
	display: block;
	
	color: #D6D6D6;
	
	font-size: .7em;
	
}

ul#mainmenu > li > a > span .disabled  {
	
	color: #D6D6D6;
	
}



ul#mainmenu li.teachered a:hover {
	
	background-color: #6A8631;
	
}



ul#mainmenu li.selfstudy a,

ul#mainmenu li.selfstudy ul {
	
	background-color: #c5692b;
	
}



ul#mainmenu li.selfstudy a:hover {
	
	background-color: #AD5B25;
	
}



ul#submenu {
	
	margin-bottom: 5px;
	
	/* rob took this out to line up with search input
		
		margin-top: 5px;  
		
		padding: 0 10px 0 10px; 
		
	/* leave some more space left and right to allow the oval effect */
	
	-webkit-border-radius: 5px;  /* oval effect of submenu background for firefox,safari,opera */
	
	border-radius: 5px; /* oval effect of submenu background for ie */
	
}



ul#submenu a {
	
	font-weight: bold;
	
	/* color: #bc1844; */
	
	color: #FFFFFF; /* Black font colour fits nicer with the submenus background */
}



ul#submenu a:hover {
	
	color: #bc1844;
	
}


.dropdown .language {
	
	background-color:#bc1844;
	
}

.dropdown .subject {
	
	background-color:#14889a;
	
}

.dropdown .search {
	
	
	background-color:#000000;
	
}

.bottomMargin40 {
	margin-bottom: 40px;
}

.width100 {
	width: 100px;
}

.user-borrow-input-width {
	width: 65% !important;
}

.tab{
    padding: 0 30px;
}

.grayhr {
	width: 100%;
	color: #999999;
	size: 3;
	margin-bottom: 10px;
	margin-top: -1px;
}

/* items */

.itemsHR {
	width: 100%;
	color: #E4E4E4;
	margin-bottom: 10px;
	margin-top: 10px;
	size: 3;
}

.alert-gray {
	background-image: linear-gradient(to bottom, #6B6B6B 0%, #2F2F2F 100%);
	background-repeat: repeat-x;
	border-color: #FFFFFF;
	color: #FFFFFF;
	text-align:center;
}


@media (max-width: 767px) {
	
	#mainheader {
		margin-top: -45px;
	}
	
	#imageLogo {
		width: 100%;
		height: 100%;
		max-width: 250px;
		max-height: 75px;
	}
	
	#adminPanel {
		margin-top: 0px !important;
	}
	
	#breadcrumbs {
		margin-top: 0px;
	}
	
	.item-well {
		background-image: linear-gradient(to bottom, #2A2A2A 0%, #353535 100%);
		background-repeat: repeat-x;
		border-color: #DCDCDC;
		box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05) inset, 0px 1px 0px rgba(255, 255, 255, 0.1);
		color:#FFFFFF;
		min-height:80px;
		margin-bottom: 0px;
	}
	.nobullets a {
		color: #ffffff;
	}
	
	#navbar-main .navbar-nav .open .dropdown-menu > li > a {
		color: #ffffff;
	}
	
	.audiodircontainer {
		zoom: 0.7;
		-ms-zoom: 0.7;
		-webkit-zoom: 0.7;
		-moz-transform: scale(0.7,0.7);
		transform-origin: 0px 0px;
	}
	
}

.item-well {
	background-image: linear-gradient(to bottom, #2A2A2A 0%, #353535 100%) !important;
	background-repeat: repeat-x !important;
	border-color: #DCDCDC !important;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05) inset, 0px 1px 0px rgba(255, 255, 255, 0.1) !important;
	color:#FFFFFF !important;
	min-height:80px !important;
	margin-bottom: 0px;
}

.item-well-inverse {
    background-image: linear-gradient(to bottom, #2A2A2A 0%, #353535 100%);
    background-repeat: repeat-x;
    border-color: #DCDCDC;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05) inset, 0px 1px 0px rgba(255, 255, 255, 0.1);
    color:#FFFFFF;
	min-height:80px;
}


.item img.media-object {
	
	background: #dddddd;
	width: 100px;
	
}



.item.item-video_materials {
	
	
	
}



.item.item-books {
	
	
	
}



.item.item-audio_materials {
	
	
	
}



.item.item-other_materials {
	
	
	
}


.item.item-exercises {
	
	
	
}



/*
	
	Ratings Stars
	
	(with as little code as possible)
	
*/





.rating {
	
	unicode-bidi: bidi-override;
	
	direction: rtl;
	
}



.rating > i {
	
	display: inline-block;
	
	position: relative;
	
	width: 1.1em;
	
}

.rating > i:hover,

.rating > i:hover ~ i {
	
	color: transparent;
	
}

.rating > i:hover:before,

.rating > i:hover ~ i:before {
	
	content: "\f005";
	
	position: absolute;
	
	left: 1px;
	
	bottom: -2px;
	
	color: #000000;
	
}

/* CSS for the number of results under the search bar */
.search_results_count {
	font-size: 1em;
	font-weight: bold;
	text-align: left;
	color: #FF291E;
	
}

/* item-Icons Right Margin */
.iicrm {
	margin-right:4px;
}

.videoholder {
    background-color: black;
    
}

video {
	max-width: 100%;
	/*height: 700px;
		/* max-height: 700px;
		
		just in case, to force correct aspet ratio 
	height: auto !important;*/
}



.mejs-captions-layer {
    font-size: 22px;
    margin-bottom: 20px;
}
.mejs-container-fullscreen .mejs-captions-layer {
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 50px;
}

@media (max-width: 1099px) {
	
	#navbar-main {
		background-color: #3A3A3A;
	}
	
    .navbar-header {
        float: none;
	}
    .navbar-toggle {
        display: block;
	}
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        overflow:hidden;
	}
    .navbar-collapse.collapse {
        display: none!important;
	}
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
	}
    .navbar-nav>li {
        float: none;
	}
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
	}
    .navbar-collapse.collapse.in { display: block!important; }
}

.badge-language {
	background-color: #b94a48;
}

.badge-info {
	background-color: #3a87ad;
}
.badge-info a {
	color: #ffffff;
}

.badge-extralinks {
	background-color: #FF7F50;
}
.badge-extralinks a {
	color: #ffffff;
}
.badge-extralinks a:hover {
	background-color: #696969;
}


.btn-inverse {
	color: #ffffff;
	text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.25);
	background-color: #363636;
	background-image: linear-gradient(to bottom, #444, #222);
	background-repeat: repeat-x;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.btn-inverse:hover {
	color: #ffffff;
	text-decoration: none;
}


.extraInfoImg {
	height: 250px;
	max-width: 100% !important; 
	display: inline-block;
	top: 0px;
	left: 0px;
	text-align:center;
	margin: 0 auto 0 auto;
}

#adminPanel {
	margin-top:-15px;
	height:20px;
}
.adminPanelIcons {
	color: #E30033;
}

/* original works with chrome 
	@media (min-width: 980px) and (max-width: 1199px) {
	ul#mainmenu {font-size:0.9em;}
	ul#submenu {font-size:0.9em;}
	#mainmenu .dropdown-toggle {width:210px;}
	video { max-width: 100%; height: 550px; }
	}
	
	/* almost works with iphone
	/* @mediaold (min-width: 980px) and (max-width: 1199px) {
	
	.container {margin-left: -10px; width: 100%;}
	.contented { margin: 0px auto;}
	
	ul#mainmenu {font-size:0.9em;}
	ul#submenu {font-size:0.9em;}
	#mainmenu .dropdown-toggle {width:220px;}
	video { max-width: 100%; height: 550px; }
} */
/* END */


/*
	
	.navbar-subMenu {
	background-color: #e74c3c;
	border-color: #c0392b;
	}
	.navbar-subMenu .navbar-brand {
	color: #ecf0f1;
	}
	.navbar-subMenu .navbar-brand:hover, .navbar-subMenu .navbar-brand:focus {
	color: #ffbbbc;
	}
	.navbar-subMenu .navbar-text {
	color: #ecf0f1;
	}
	.navbar-subMenu .navbar-nav > li > a {
	color: #ecf0f1;
	}
	.navbar-subMenu .navbar-nav > li > a:hover, .navbar-subMenu .navbar-nav > li > a:focus {
	color: #ffbbbc;
	}
	.navbar-subMenu .navbar-nav > .active > a, .navbar-subMenu .navbar-subMenu .navbar-nav > .active > a:hover, .navbar-subMenu .navbar-nav > .active > a:focus {
	color: #ffbbbc;
	background-color: #c0392b;
	}
	.navbar-subMenu .navbar-nav > .open > a, .navbar-subMenu .navbar-subMenu .navbar-nav > .open > a:hover, .navbar-subMenu .navbar-nav > .open > a:focus {
	color: #ffbbbc;
	background-color: #c0392b;
	}
	.navbar-subMenu .navbar-toggle {
	border-color: #c0392b;
	}
	.navbar-subMenu .navbar-toggle:hover, .navbar-subMenu .navbar-toggle:focus {
	background-color: #c0392b;
	}
	.navbar-subMenu .navbar-toggle .icon-bar {
	background-color: #ecf0f1;
	}
	.navbar-subMenu .navbar-collapse,
	.navbar-subMenu .navbar-form {
	border-color: #ecf0f1;
	}
	.navbar-subMenu .navbar-link {
	color: #ecf0f1;
	}
	.navbar-subMenu .navbar-link:hover {
	color: #ffbbbc;
	}
	
	.navbar-subMenu .navbar-nav > li > a:hover, .nav > li > a:focus {
	text-decoration: none;
	background-color: #c0392b;
	color:#000000;
	}
	
	.navbar-subMenu .navbar-nav .open .dropdown-menu>li>a, .navbar-subMenu .navbar-nav .open .dropdown-menu {
    background-color: #e74c3c;
    color:#ffffff;
	}
	
	.navbar-subMenu .navbar-nav .open .dropdown-menu>li>a:hover {
    background-color: #000000 !important;
    color:#ffffff;
	}
	
	@media (max-width: 767px) {
	.navbar-subMenu .navbar-nav .open .dropdown-menu > li > a {
    color: #ecf0f1;
	}
	.navbar-subMenu .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-subMenu .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #ffbbbc;
	}
	.navbar-subMenu .navbar-nav .open .dropdown-menu > .active > a, .navbar-subMenu .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-subMenu .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #ffbbbc;
    background-color: #c0392b;
	}
}*/




/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
	margin-bottom: 60px;
}

.carousel .container {
	position: relative;
	z-index: 9;
}

.carousel-control {
	height: 80px;
	margin: auto 0 auto 0;
	font-size: 120px !important;
	text-shadow: 0 1px 1px rgba(0,0,0,.4);
	background-color: transparent;
	border: 0;
	z-index: 10;
	line-height:80px;
}

.carousel .item {
	height: 500px;
}
.carousel img {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 100%;
	height: 500px;
}

.carousel-caption {
	background-image: linear-gradient(to right, transparent 0px, rgba(0, 0, 0, 0.4) 100%);
	background-repeat: repeat-x;
	position: static;
	max-width: 550px;
	padding: 0 20px;
	margin-top: 200px;
	margin-left: 120px;
}
.carousel-caption h1,
.carousel-caption .lead {
	margin: 0;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,.4);
	color: #D8BE0A;
}
.carousel-caption .btn {
	margin-top: 10px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 979px) {
	
	.carousel .item {
        height: 500px;
	}
	.carousel img {
        width: auto;
        height: 500px;
	}
	.carousel-caption {
        margin-left: 90px;
	}
	
}


@media (max-width: 767px) {
	
	
	
	.carousel {
        margin-left: -20px;
        margin-right: -20px;
	}
	.carousel .container {
		
	}
	.carousel .item {
        height: 300px;
	}
	.carousel img {
        height: 300px;
	}
	.carousel-caption {
        width: 65%;
        padding: 0 70px;
        margin-top: 50px;
        margin-left: 0px;
	}
	.carousel-caption h1 {
        font-size: 30px;
	}
	.carousel-caption .lead,
	.carousel-caption .btn {
        font-size: 15px;
	}
	.carousel-caption .lead {
        display:none;
	}
	
}


.offcanvas {
	/*background-color:#4693EA;*/
}


a.nav-expander {
	background: none repeat scroll 0 0 #000000;
	color: #FFFFFF;
	display: block;
	font-size: 15px;
	font-weight: 400;
	height: 50px;
	margin-right: 0;
	padding: 1em 1.6em 2em;
	position: absolute;
	right: 0;
	text-decoration: none;
	text-transform: uppercase;
	top: 0;
	transition: right 0.3s ease-in-out 0s;
	width: 130px;
	z-index: 12;
	
	transition: right 0.3s ease-in-out 0s;
	-webkit-transition: right 0.3s ease-in-out 0s;
	-moz-transition: right 0.3s ease-in-out 0s;
	-o-transition: right 0.3s ease-in-out 0s;
	
}

a.nav-expander:hover {
	cursor: pointer;
}

a.nav-expander.fixed {
	position: fixed;
}

.nav-expanded a.nav-expander.fixed {
    right: 20em;
}

.side {
	background-color: #303539;
	background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, #6C6F74),
	color-stop(0.05, #4C4F54),
	color-stop(0.1, #3F4448),
	color-stop(0.45, #383D41),
	color-stop(0.5, #303539),
	color-stop(0.95, #33363B)
	);
	/*background-image: -o-linear-gradient(#6C6F74 0%, #4C4F54 5%, #3F4448 10%, #383D41 45%, #303539 50%, #33363B 95%);
		background-image: -moz-linear-gradient(center top, #6C6F74 0%, #4C4F54 5%, #3F4448 10%, #383D41 45%, #303539 50%, #33363B 95%);
		background-image: -webkit-linear-gradient(top, #6C6F74 0%, #4C4F54 5%, #3F4448 10%, #383D41 45%, #303539 50%, #33363B 95%);
		background-image: -ms-linear-gradient(#6C6F74 0%, #4C4F54 5%, #3F4448 10%, #383D41 45%, #303539 50%, #33363B 95%);
	background-image: linear-gradient(#6C6F74 0%, #4C4F54 5%, #3F4448 10%, #383D41 45%, #303539 50%, #33363B 95%);*/
	
	background-image: -ms-linear-gradient(top, #222222 0%, #3C3C3C 10000%);	/* IE10 Consumer Preview */ 
	background-image: -moz-linear-gradient(top, #222222 0%, #3C3C3C 10000%); /* Mozilla Firefox */ 
	background-image: -o-linear-gradient(top, #222222 0%, #3C3C3C 10000%); /* Opera */ 
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #222222), color-stop(100, #3C3C3C)); /* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-linear-gradient(top, #222222 0%, #3C3C3C 10000%); /* Webkit (Chrome 11+) */ 
	background-image: linear-gradient(to bottom, #222222 0%, #3C3C3C 10000%); /* W3C Markup, IE10 Release Preview */ 
	opacity:0.9;
	
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	display: block;
	height: 70px;
	border-radius: 40px;
	overflow: hidden;
	position: fixed;
	right: -14.5em;
	font-size: 15px;
	top: 0;
	width: 18.4em;
	margin-top: 50px;
	z-index: 1050;
	
	transition: right 0.3s ease-in-out 0s;
	-webkit-transition: right 0.3s ease-in-out 0s;
	-moz-transition: right 0.3s ease-in-out 0s;
	-o-transition: right 0.3s ease-in-out 0s;
}

.nav-expanded .side {
	right: 0em;
	height: 100%;
	min-height: 100%;
	border-radius: 0px;
	filter:alpha(opacity=90);
	opacity:0.90;
	overflow: auto;
}

.nav-expanded .side {
	/*background: -moz-linear-gradient(top, rgba(70,147,234,1) 0%, rgba(255,255,255,1) 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(70,147,234,1)), color-stop(100%,rgba(255,255,255,1)));
		background: -webkit-linear-gradient(top, rgba(70,147,234,1) 0%,rgba(255,255,255,1) 100%); 
		background: -o-linear-gradient(top, rgba(70,147,234,1) 0%,rgba(255,255,255,1) 100%); 
		background: -ms-linear-gradient(top, rgba(70,147,234,1) 0%,rgba(255,255,255,1) 100%); 
	background: linear-gradient(to bottom, rgba(70,147,234,1) 0%,rgba(255,255,255,1) 100%);  */
}

body.nav-expanded {
	margin-left: 0em;
	transition: right 0.4s ease-in-out 0s;
	-webkit-transition: right 0.4s ease-in-out 0s;
	-moz-transition: right 0.4s ease-in-out 0s;
	-o-transition: right 0.4s ease-in-out 0s;
}

#nav-toggle {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-weight: 300;
	font-size: 24px;
	padding-right: 10px;
	margin-left: -16px;
	outline: none;
	opacity: 0.5;
	filter: alpha(opacity=50);
	-moz-outline-style: none;
	cursor: pointer;
}

#nav-toggle:hover {
    opacity: 1.0;
    filter: alpha(opacity=100);
}

#sidebar-icon.glyphicon {
	top: 0px;
}

#nav-toggle.transition{
    transition: all .50s ease-in-out;
    -moz-transition: all .50s ease-in-out;
    -webkit-transition: all .50s;
}

#sidebar-cat {
	
	
}

.side-menu {
	padding-top: 12px;
}

.side-menu li.hr {
	border-bottom: 1px solid #777;
}

.side-menu a .caret {
	border-top: 4px solid #fff !important;
}

.side-menu li {
	border-bottom: 0px solid #323949;
	margin-left: 20px;
	font-size: 16px;
	font-weight: 300;
	padding: 12px;
}

.offcanvas li {
	font-size: 13px;
	margin-left: 2px;
}

.side-menu li a {
	color: #ffffff;
	text-decoration: none;
}

.side-menu li a:hover {
	color: #ffffff;
	text-decoration: none;
}

.offcanvas li a:hover {
	color: #D8BE14;
}

.side-menu li .sub-nav {
	border-bottom: 0px;
	padding: 4px;
}

.side-menu a .caret {
	width: 0;
	height: 0;
	display: inline-block;
	vertical-align: top;
	border-top: 4px solid #4f5963;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
	margin-top: 8px;
}

.side-menu a:hover .caret {
	border-top-color: #4f5963;
}

.side-menu li.open > a > .caret {
	border-top: none;
	border-bottom: 4px solid #4f5963;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.side-menu li.open > a:hover > .caret {
	border-bottom-color: #4f5963;
}

.icon:before {
	font-family: 'FontAwesome';
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	text-transform: none;
	content: '\f105';
}

.side-menu li > a > span.icon {
	float: right;
	margin: 0.1em 1.7em -0.1em 0;
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.side-menu li > a:hover > span.icon {
	float: right;
	margin: 0.1em 0.8em -0.1em 0;
	opacity: 1;
}

.poster-container {
    position:relative;
    display:inline-block;
    text-align:center;
}

.poster-play {
   /*position: absolute;
   display: block;
   top: 60px;
   left: 105px;	*/
   opacity: 0.85;
}

.centered-axis-xy {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}


.nontransform {
	transform: none !important;
    -webkit-transform: none !important;
    left: auto;
    right: auto;
}


.poster {
	width: 150px !important;
}

.poster-big {
	width: 250px !important;
}

@media(max-width:360px) {
	.poster-big {
		max-width: 360px !important;
		max-height: 200px;
		width: 360px !important;
		height: 200px;
		margin-bottom: 4px;
	}

	.poster-play {
		top: 90px;
		left: 150px;
	}

	
}

@media(max-width:620px) {

	.group-image {
		width:100% !important;
		height: auto !important;
	}

	.headingtext {
		margin-left: -40px !important;
		width: 115%  !important;

	}

	
}

@media(max-width:767px) {
	.description-lg {
		display:none;
	}
	.description-xs {
		display:block;

	}
	.boxinfocontainer {
		margin-left: -30px !important;
	}
	.description-xs {
		width: 110%  !important;
		margin-left: -25px !important;
	}

}

@media(min-width:620px) {
	.description-lg {
		display:block;
		width:100% !important;

	}
	.description-xs {
		display:none;
	}
}



@media (min-width: 768px) and (max-width: 991px) {
	.boxinfocontainer {
		margin-left: -30px !important;
	}
	
}

@media (min-width: 628px) and (max-width: 991px) {
	.description-lg {
		width:120% !important;
	}
}

@media (min-width: 1200px) {
	.description-lg {
		width: 110% !important;
	}
}




#newsItem .post, #newsItem .comments {
    background: none repeat scroll 0% 0% #FFF;
    border-radius: 3px;
    box-shadow: 0px 1px 1px #AAA;
    padding: 0.5em 1em 1em 1em;
    margin: 1em auto;
    min-height:350px;
}

#newsItem .entry-description {
    color: #344151;
    font-size: 1.40em;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.5em;
}

#newsItem .entry-meta {
    color: #999;
    font-size: 90%;
    margin: 0px 0px 1.8em;
}

#newsItem .entry-avatar {
    border-radius: 50%;
    float: right;
    margin-left: 1em;
}

#newsItem .img-responsive {
    margin: 0px 0px 1em;
    padding: 0 1em 1em 0;
}
#newsItem .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

#newsItem .entry-title a {
    color: #222;
}

#newsItem .entry-title h2 {
    color: #222;
}

#newsItem .entry-title a, #newsItem .entry-title a:focus, #newsItem .entry-title a:hover {
    color: #235A9F;
    outline: medium none;
    text-decoration: none;
}
#newsItem .entry-title a:focus {
    outline: thin dotted;
    outline-offset: -2px;
}

.hyphenation {
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
}




#materialBody {
	background-attachment: fixed;
	background: url('../../images/sac_newspapers.jpg') no-repeat fixed center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color:#fff;
    background-color:#333;
    font-family: 'Open Sans',Arial,Helvetica,Sans-Serif;
}


#materialBody .block {
	background-color:rgba(0,0,0,0.2);
    height:260px;
    padding-left:12px;
    padding-right:12px;
    text-align:center;
}

#materialBody .block2 {
	background-color:rgba(0,0,0,0.2);
    height:60px;
    margin-top: 5px;
    padding-left:12px;
    padding-right:12px;
    text-align:center;
}

#materialBody .block-sm {
    height:180px;
}

#materialBody .btn-flat {
    font-family: Arial,Helvetica,Sans-Serif;
    border-radius:0px;
    border-width:0;
    background-image:none;
    padding:16px;
    margin:0 auto;
    margin-top:15px;
    width:100%;
}

#materialBody .btn-flat:active, #materialBody .btn-flat:hover, #materialBody .btn-flat:focus {
	-webkit-box-shadow: 0px 0px 15px 5px rgba(255, 255, 190, .75);
	-moz-box-shadow: 0px 0px 15px 5px rgba(255, 255, 190, .75);
	box-shadow: 0px 0px 15px 5px rgba(255, 255, 190, .75);
	outline: none;
}

#materialBody .bigFont {
    font-size:17pt;
}

#materialBody .info {
    height:40px;
}

#materialBody .bottompadding {
    padding-bottom: 20px;
}

#materialBody a:link, #materialBody a:visited {
	color:#eee;
}

#materialBody .btn-coral {
	background-color: #BC1844;
	opacity: 0.8;
	filter: alpha(opacity=90);
}

#materialBody .btn-navy {
	background-color: #14889A;
	opacity: 0.8;
	filter: alpha(opacity=90);
}

#materialBody .btn-green {
	background-color: #739035;
	opacity: 0.8;
	filter: alpha(opacity=90);
}

#materialBody .btn-brown {
	background-color: #C5692B;
	opacity: 0.8;
	filter: alpha(opacity=90);
}


#materialBody .materialHeader {
	background-color: #ffffff;
	opacity: 0.6;
	filter: alpha(opacity=60);
}


#materialBody .materialHeader {
	background-color: #ffffff;
	opacity: 0.6;
	filter: alpha(opacity=60);
}


.bookmarkRibbon {
	width: 0; 
	height: 80px; 
	border-right: 350px solid #F6BE00;

	-webkit-box-shadow: 10px 0 5px -6px #888;
	box-shadow: 10px 0 5px -6px #888;
            
	border-bottom: 36px solid transparent;
	color: #ffffff;
	font-weight:bold;
	font-size:1.3em;
	
}

.bookmarkRibbonLink a:hover{
	-webkit-stroke-width: 5.3px;
	-webkit-stroke-color: #FFFFFF;
	-webkit-fill-color: #FFFFFF;
	text-shadow: 12px 10px 20px blue;
	color: blue !important;
	transition: all 1.5s;
	-webkit-transition: all 1.5s;
	-moz-transition: all 1.5s;
}

.custom-shadow {
   color: #000;
   
}



.balloon-notice {
	width: 200px;
	height: 150px;
	padding-top: 60px;
	background: url('../../images/balloon.png') no-repeat scroll center center transparent;
	background-size: 100%;
	font-weight: bold;
	text-align: center;
	opacity: 0.8;
	filter: alpha(opacity=80);
}


.stick {
    position:fixed !important;
    top:0px !important;
    /*top:62px !important; // for balloon sticker */
}

.disabledLink {
	cursor: default !important;
	pointer-events: none;
}

.ucllink {
	cursor: pointer;
}




.profile {
	position: absolute;
	z-index: 1999;
	margin: 50px 0 0 100px;
}

.profile .profile-panel {
    padding: 0px;
    opacity: 0.98;
    filter: alpha(opacity=98); 
}

.profile .profile-menu, .profile .profile-panel {
    min-width: 160px;
    max-width: 360px;
    list-style: none outside none;
    background: none repeat scroll 0% 0% #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    overflow: visible;
    padding: 4px 0px;
    margin: 0 0 0 0;
}



#livesearchresults {
    position: absolute;
    width: auto; 
    background: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    max-height: 350px;
    overflow-y: auto; 
    border: 1px solid gray;
    left: 0;
    right: 0;
    top: 35px;
}

.livesearch .searchresultsitem {
	list-style: none outside none;
	padding: 0;
	color: #000;
	font-size: 0.8em;
	min-width:200px;
	width:100%;
}

.livesearch .searchresultsitem :hover {
	background-color: #666;
	color: #fff;
}

.livesearch .searchresultsitem li a {
	color: #000;
	text-decoration: none;
}

.livesearch .searchresultsitem ul {
	width:100%;
	overflow:hidden;
}

.livesearch .searchresultsitem li { 
	border-bottom: 1px dotted #333; 
	padding: 5px;
	min-height: 60px;
	max-height: 100px;
	overflow:hidden;
}

.livesearch .searchresultsitem .itemliveresult {
	cursor:pointer;
}

.livesearch .searchresultsitem .itemliveresult:hover, .livesearch .searchresultsitem .itemliveresult:hover * {
	color:#fff !important;
}






.concentrated-items > li > a {
	font-size: 12px;
	color: #ffffff;
}

.concentrated-items {
	background-color: #333333;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	opacity: 0.92;
	filter: alpha(opacity=92);
}

.btn-gray { background-color: hsl(0, 0%, 79%) !important; background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#134134134", endColorstr="#c9c9c9"); background-image: -khtml-gradient(linear, left top, left bottom, from(#134134134), to(#c9c9c9)); background-image: -moz-linear-gradient(top, #134134134, #c9c9c9); background-image: -ms-linear-gradient(top, #134134134, #c9c9c9); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #134134134), color-stop(100%, #c9c9c9)); background-image: -webkit-linear-gradient(top, #134134134, #c9c9c9); background-image: -o-linear-gradient(top, #134134134, #c9c9c9); background-image: linear-gradient(#134134134, #c9c9c9); border-color: #c9c9c9 #c9c9c9 hsl(0, 0%, 68.5%); color: #333 !important; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.69); -webkit-font-smoothing: antialiased; }

.badgetag {
	display: inline-block;
	padding: 2px;
	background: #bbb;
	font-size: 14px;
	margin-bottom: 5px;
	color: #000000;
	text-decoration:none;
	margin-right:5px;
	cursor:pointer;
}

.badgesuggestion {
	cursor:pointer;
	margin-right:3px;
}









.newlisting.glyphicon { margin-right:5px; }

.newlisting.item {
	/*height: 450px;*/
}
.newlisting.thumbnail
{
    margin-bottom: 20px;
    padding: 10px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.grid-group-item.thumbnail {
	border:0px;
	margin-bottom:20px;
	background-repeat: repeat-x;
	border-color: #DCDCDC;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05) inset, 0px 1px 0px rgba(255, 255, 255, 0.1);
	background-image: linear-gradient(to top, #E8E8E8 0px, #F5F5F5 100%);
}


.grid-group-item .boxinfo {
	/*width:100%;*/
	padding: 5px;
	white-space: normal;
	border: none;
}

.list-group-item .boxinfo {
	/*width:25%;*/
	padding: 5px;
	white-space: normal;
	border: none;
}

.group-image-container {
	text-align:center;
}

.list-group-item .group-image {
	height: 150px;
	width: 100px;
	padding: 0;
	margin-bottom:15px;
}

.grid-group-item .group-image {
	height: auto;
	max-height:350px;
	width: 250px;
	-webkit-box-shadow: -1px -1px 16px 0px rgba(50, 50, 50, 0.8);
	-moz-box-shadow:    -1px -1px 16px 0px rgba(50, 50, 50, 0.8);
	box-shadow:         -1px -1px 16px 0px rgba(50, 50, 50, 0.8);
}



.grid-group-item .group-image:hover {
	opacity:0.7 !important;
}


.newlisting.item.list-group-item
{
    float: none;
    width: 100%;
    background-color: #fff;
    margin-bottom: 10px;
    border:0;
}

.newlisting.item.list-group-item .list-group-image
{
    /*margin-right: 10px;*/
}
.newlisting.item.list-group-item .thumbnail
{
    margin-bottom: 0px;
    border: 0;
    padding: 15px;
}
.newlisting.item.list-group-item .caption
{
    padding: 0px 9px 0px 9px;
    height: 150px;
    border: 0;
}
.newlisting.item.grid-group-item .caption
{
    
}

.newlisting .grid-group-item .bottom {
	/*position: absolute;
	bottom: 30px;*/
	/* NEEDS TO BE ENABLED ONLY FOR LIST, NOT GRID! */
}

.newlisting .grid-group-item {

}
.newlisting .grid-group-item.caption {
    height: 200px;
}
.newlisting .grid-group-item.thumbnail {
    /*height: 400px;*/
    overflow: hidden;
	padding: 15px 0 15px 0;
}

.newlisting.item.list-group-item .caption {
    height: auto;
}


.newlisting .list-group-item .thumbnail {
    height: 250px;
}

.newlisting.item.list-group-item:before, .newlisting.item.list-group-item:after
{
    display: table;
    content: " ";
}

.newlisting.item.list-group-item img
{
    float: left;
}
.newlisting.item.list-group-item:after
{
    clear: both;
}
.newlisting.list-group-item-text
{
    margin: 0 0 11px;
}
.newlisting  {
	font-family: "Lato", sans-serif;
	color: #666;
}

.newlisting .well {
	background-image: none !important;
	background-color: transparent;
	background: transparent;
	color: #000000 !important;
}

.newlisting .nobullets a  {
	color: #000000 !important;
}

.newlisting .flag-items {
	clear: both;
	padding: 1px;
	color: #FFF;
	text-decoration: none;
	font-size: 10px;
	background-color: #980000;
	position: absolute;
}

.newlisting .titlegrid {
	padding:0;
	margin-top: 5px;
}

.newlisting .titlelist {
	padding-left:19px;
}

.grid-group-hide {
	display: none;
}
.list-group {
	height: auto !important;
}

.grid-group {

}

.grid-fullwidth {
	width:100% !important;
	padding:0;
}

.grid-fullpostersize {
	width:180px !important;
}

.grid-thumbnail-small {
	/*height: 300px !important; */
}

.grid-item-title {
	font-size: 16px !important;
}





.grid.view {

    position: relative;
    text-align: center;

    cursor: default;
}
.grid.view .mask, .grid.view .content {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}

.grid-group-item h5 {
	font-size: 12px !important;
}

.grid.view h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0 0 0
}
.grid.view p {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    position: relative;
    color: #fff;
    padding: 10px 20px 20px;
    text-align: center
}
.grid.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    margin-bottom:5px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 0 1px #000;
}
.grid.view a.info:hover {
    box-shadow: 0 0 5px #000;
}

.grid.view-first img { 
    transition: all 0.2s linear;
}
.grid.view-first .mask {
    opacity: 0;
    /*background-color: rgba(219,127,8, 0.7); 
    transition: all 0.4s ease-in-out;*/
}
.grid.view-first h2 {
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.grid.view-first p { 
    transform: translateY(100px);
    opacity: 0;
	transition: all 0.2s linear;
}
.grid.view-first a.info{
    opacity: 0;
	transition: all 0.2s ease-in-out;
}

.grid.view-first:hover img { 
	transform: scale(1.1);
} 
.grid.view-first:hover .mask { 
	opacity: 1;
}
.grid.view-first:hover h2,
.grid.view-first:hover p,
.grid.view-first:hover a.info {
    opacity: 1;
    transform: translateY(0px);
}
.grid.view-first:hover p {
    transition-delay: 0.1s;
}
.grid.view-first:hover a.info {
    transition-delay: 0.2s;
}



.divpulse div { 
    transition: all 0.2s linear;
}
.divpulse .mask {
    opacity: 0;
    /*background-color: rgba(219,127,8, 0.7); 
    transition: all 0.4s ease-in-out;*/
}
.divpulse h2 {
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.divpulse p { 
    transform: translateY(100px);
    opacity: 0;
	transition: all 0.2s linear;
}
.divpulse a.info{
    opacity: 0;
	transition: all 0.2s ease-in-out;
}

.divpulse:hover div { 
	transform: scale(1.1);
} 
.divpulse:hover .mask { 
	opacity: 1;
}
.divpulse:hover h2,
.divpulse:hover p,
.divpulse:hover a.info {
    opacity: 1;
    transform: translateY(0px);
}
.divpulse:hover p {
    transition-delay: 0.1s;
}
.divpulse:hover a.info {
    transition-delay: 0.2s;
}




.sortbydropdown li:hover {
	cursor: pointer;
	background-color: #999;
	color: #fff;
}

.sortbydropdown .sortarrow {
	cursor: pointer;
}

.sortbydropdown .activearrow{
	color: #E30041 ;
}
.sortbydropdown .sortarrow:hover {
	color: #4693EA;
}

.sortbydropdown > li {
	padding:7px;
}

.sortbydropdown .activeorder {
	background-color: #E99 !important;
}

.sortbydropdown .sortarrow-disabled {
	cursor: default !important;
	opacity: 0 !important;
}

.sortbydropdown .sortarrow-disabled:hover {
	opacity: 0 !important;
}


@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/Lato/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/Lato/Lato-Regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/Lato/Lato-Regular.ttf') format('truetype'); 
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}





img.desaturate {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: url(desaturate.svg#greyscale);
}













/* loader */
#preloader {
    background: #ffffff;
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}


#loaderInner {
    background:#ffffff url(../img/loader.gif) center center no-repeat;
    height: 60px;
    left: 50%;
    margin: -50px 0 0 -50px;
    position: absolute;
    top: 50%;
    width: 150px;
    text-align: center;
}

@keyframes boxSpin{
	0%{
		transform: translate(-10px, 0px);
	}
	25%{
		transform: translate(10px, 10px);
	}
	50%{
		transform: translate(10px, -10px);
	}
	75%{
		transform: translate(-10px, -10px);
	}
	100%{
		transform: translate(-10px, 10px);
	}
}


@keyframes shadowSpin{
	0%{
		box-shadow: 10px -10px #39CCCC, -10px 10px #FFDC00;
	}
	25%{
		box-shadow: 10px 10px #39CCCC, -10px -10px #FFDC00;
	}
	50%{
		box-shadow: -10px 10px #39CCCC, 10px -10px #FFDC00;
	}
	75%{
		box-shadow: -10px -10px #39CCCC, 10px 10px #FFDC00;
	}
	100%{
		box-shadow: 10px -10px #39CCCC, -10px 10px #FFDC00;
	}
}

#load {
	z-index: 999;
	background-color: #FF4136;
	opacity: 0.75;
	width: 10px;
	height: 10px;
	position: absolute;
	top: 50%;
	margin: -5px auto 0 auto;
	left: 0;
	right: 0;
	border-radius: 0px;
	border: 5px solid #FF4136;
	box-shadow: 10px 0px #39CCCC, 10px 0px #01FF70;
	animation: shadowSpin 1s ease-in-out infinite;
}





.v-wrap{
    height: 100%;
    white-space: nowrap;
    text-align: center;
}
.v-wrap:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0;
    /* adjust for white space between pseudo element and next sibling */
    margin-right: -.25em;
    /* stretch line height */
    height: 100%; 
}
.v-box{
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
}







/*-------------------------------*/
/*    Carousel Fade Transition   */
/*-------------------------------*/

#fade-quote-carousel.carousel {
	padding-bottom: 60px;
}
#fade-quote-carousel.carousel .carousel-inner .item {
	opacity: 0;
	-webkit-transition-property: opacity;
	-ms-transition-property: opacity;
	transition-property: opacity;
}
#fade-quote-carousel.carousel .carousel-inner .active {
	opacity: 1;
	-webkit-transition-property: opacity;
	-ms-transition-property: opacity;
	transition-property: opacity;
}
#fade-quote-carousel.carousel .carousel-indicators {
	bottom: 10px;
}
#fade-quote-carousel.carousel .carousel-indicators > li {
	background-color: #e84a64;
	border: none;
}
#fade-quote-carousel blockquote {
    text-align: center;
    border: none;
}
#fade-quote-carousel .profile-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 100px;
}

#infoCarousel .carousel .item {
	height: auto;
	min-height: 120px;
	max-height: 190px;
}

#infoCarousel .carousel-inner {
	background-color: #333333;
	color: #AAA;
	font-weight:bold;
	opacity: 0.6;
}

#infoCarousel .carousel.slide {
	height: auto;
	max-height:220px;
}

#infoCarousel {
	margin-top:140px;
	padding-bottom:0;
	max-height:225px;
	padding:0 0 0 15px;
}


@media (min-width: 1200px) {
	.newscol-1 {
		padding-right:7px;
	}
	
	.newscol-2 {
		padding-left:7px;
		padding-right:7px;
	}
	
	.newscol-3 {
		padding-left:7px;
	}
	
	.newscol-1 .newsbody {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.newscol-2 .newsbody {
		padding-left: 2px;
		padding-right: 2px;
	}
	
	.newscol-3 .newsbody {
		padding-left: 0px;
		padding-right: 0px;
	}
	
}


@media (min-width: 992px) and (max-width: 1199px) {
	.newscol-1 {
		padding-right:7px;
	}
	
	.newscol-2 {
		padding-left:7px;
		padding-right:7px;
	}
	
	.newscol-3 {
		padding-left:7px;
	}
	
	.newscol-1 .newsbody {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.newscol-2 .newsbody {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.newscol-3 .newsbody {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	.newsfeed .newsimage {
		max-height: 210px;
	}
	
	.newsfeed img {
		max-height: 210px;
	}
}

@media (min-width: 1370px) {
	.newsfeed .newsimage {
		max-height: 250px;
	}
	
	.newsfeed img {
		max-height: 250px;
	}
}

@media (min-width: 1201px) and (max-width: 1369px) {
    .newsfeed .newsimage {
		max-height: 210px;
	}
	
	.newsfeed img {
		max-height: 210px;
	}	
}


@media (min-width: 992px) and (max-width: 1199px) {
	.newsfeed img {
		height: 200px;
	}
	
	.newsfeed .newsimage {
		height: 200px;
	}
	
}

@media (min-width: 992px) and (max-width: 1199px) {
	.newsfeed img {
		height: 200px;
	}
	
	.newsfeed .newsimage {
		height: 200px;
	}
	
}


@media (min-width: 768px) and (max-width: 1099px) {
	.nav > li > a {
		padding: 10px 25px;
	}
	
}

.exercise p {
font-size: 14px;
line-height: 1.7;
}

.bg-primary {
	border: 2px solid grey;
	display: inline-block;
}


.whitey {
	color: black;
}

.gapBackground {
	background: yellow;
	font-weight: bold;
}

.gapForeground {
	visibility: hidden;
	color: red;
}

.answers {
	color: rgb(153, 0, 0);
	text-align: center;
	font-weight: bold;
}

.answerfeedback {
	display:none;
	color: rgb(153, 0, 0);
	text-align: center;
	font-weight: bold;
}

.gapinputs {
	
	border: 2px solid grey;
	display: inline-block;
	position: absolute; 
	left: 0px; 
	top: -11px; 
	text-align: center; 
	z-index: 9; 
	color: grey;
	font-weight: bold;
	overflow: hidden;

	background: white; 
	padding-top: 5px; 
	padding-bottom: 5px; 
	padding-left: 4px; 
	padding-right: 4px; 
	border-radius: 4px; 
	

}

.gapanswers {
	
	padding-top: 5px; 
	padding-bottom: 5px; 
	padding-left: 4px; 
	padding-right: 4px; 
	background: white; 
	font-weight: bold;
	border-radius: 4px;
	z-index: 5; 
	border: 2px solid grey;


	display: inline-block;
}

.turnanswersred {
	font-weight: bold;
}

.hiddengreen {
	display:none;
	color: #1321ce;
	font-weight: bold;
	margin-top: -7px;
	padding-bottom: 5px;
}

#transcript {
	display:none;
	border-top: 1px solid #ddd; 
	margin-top: 20px;
	border-bottom: 1px solid #ddd; 
	padding: 50px;
	-webkit-box-shadow: 0px 0px 21px 0px rgba(52, 50, 50, 0.66);
	-moz-box-shadow:    0px 0px 21px 0px rgba(52, 50, 50, 0.66);
	box-shadow:         0px 0px 21px 0px rgba(52, 50, 50, 0.66);
}

.tfForeground0 {
}

.tfForeground1 {
}

#sticker {
	height: 450px;
}

.videobox {
	
	background-color: black;
	height: 95%;
	border: 1px solid black;
	-webkit-box-shadow: 0px 0px 21px 0px rgba(52, 50, 50, 1);
	-moz-box-shadow:    0px 0px 21px 0px rgba(52, 50, 50, 1);
	box-shadow:         0px 0px 21px 0px rgba(52, 50, 50, 1);
}

.whitebackground {
	background-color: white; 
	height: 100%;
}

.fancybox-custom .fancybox-skin {
			box-shadow: 0 0 50px #222;
		}

.jumbotron p {
	font-size: 16px;
}


/* textdiff */
ins {
    background-color: #c6ffc6;
    text-decoration: none;
}

del {
    background-color: #ffc6c6;
}