/*
// UC Frontpage
// --------------------------------------------------
*/
/*
@media (max-width : 480px) X small devices
@media (max-width : 768px) Small devices
@media (max-width : 992px) Medium devices
@media (max-width : 1200px) Large devices
*/

@-webkit-viewport {
  width: device-width;
}
@-moz-viewport {
  width: device-width;
}
@-ms-viewport {
  width: device-width;
}
@-o-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}
@media print {
  .container {
    width: auto;
  }
}
* {
  margin: 0px;
  padding: 0px;
  border-radius: 0px;
}
body {
  background: #eee;
}
.form-control:focus {
  border-color: #cc0011;
}
/*
Emergency message override
*/

#uc-alert {
  display: block;
  background:#fff; border: 20px solid #cc0011; color:#cc0011; padding:100px;
  position:absolute;z-index:99;
}

/*
// UC Frontpage Content
// --------------------------------------------------
*/

/********Carousel Start********/
#main-carousel {
  background: #fff;
}
#main-carousel .carousel-inner {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.carousel-fade .carousel-inner .item {
  /*Older Browsers*/
    -webkit-transition-property: opacity;
	-moz-transition-property: opacity;
	-ms-transition-property: opacity;
	-o-transition-property: opacity;
	
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  /*GPU transition processing*/
    -webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	
	/*-moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); - Removed as causes flickering on FireFox*/
}
.carousel-fade .carousel-control {
  z-index: 2;
}
#main-carousel .carousel-caption {
  position: absolute;
  background: #cc0011;
  text-align: left;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 20px;
  padding-left: 20px;
  left: 16.8%;
  width: 400px;
  bottom: 20px;
}
#main-carousel .carousel-caption-inner {
  float: left;
}
#main-carousel .carousel-control.left,
#main-carousel .carousel-control.right {
  background-image: none;
  /*IE8 fix*/
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
#main-carousel .carousel-control .glyphicon-menu-left,
#main-carousel .carousel-control .glyphicon-menu-right {
  font-size: 100px;
  font-size: 10.0rem;
  color: #fff;
  top: 40%;
  position: absolute;
  margin-top: -10px;
  z-index: 5;
  display: inline-block;
}
#main-carousel .carousel-control .glyphicon-menu-left {
  left: 50%;
}
#main-carousel .carousel-control .glyphicon-menu-right {
  right: 50%;
}
#main-carousel .carousel-control {
  width: 0%;
}
#main-carousel .carousel-indicators {
  margin-bottom: 0px;
  bottom: -3px;
  width: 10%;
  left: 75%;
}
#main-carousel .carousel-indicators li {
  background: #535353;
}
#main-carousel .carousel-indicators li.active {
  background: #cc0011;
}
/**Carousel Navigation***/
.carousel-links {
  width: 480px;
  position: absolute;
  left: 16.5%;
  top: 10%;
  border: 0;
  /*IE8 fix*/
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=00)";
  background: rgba(255, 255, 255, 0);
  border-radius: 0px;
}
.carousel-links ul {
  list-style-type: none;
}
.carousel-links li {
  margin: 3px;
}

.carousel-links li.red.donate {margin-top: 13px;}

/*Hide Main Carousel caption #main-carousel  .carousel-caption {display: none}*/
/*Hide UCME Logo*/ #main-carousel  .carousel-ucme-link {display: none}
/*Hide UC7 Logo*/ #main-carousel  .carousel-uc7-link {display: none}
#main-carousel  .carousel-ucme-link {
	background: url("../images/ucme-logo.png") 0px/200px no-repeat;
	width: 202px;
	height: 85px;
	position: absolute;
    right: 16.5%;
    top: 62%;
}

#main-carousel  .carousel-uc7-link {
	background: url("../images/uc7-diagram.png") 0px/200px no-repeat;
	width: 200px;
	height: 200px;
	position: absolute;
    right: 15.5%;
    top: 10%;
}

#main-carousel .carousel-social {
  width: 200px;
  position: absolute;
  right: 15.5%;
  bottom: 16px;
  border: 0;
  background: rgba(255, 255, 255, 0);
}

#main-carousel .carousel-social .social-buttons {
  margin-bottom: 0px;
}

#main-carousel .carousel-social.social-buttons ul {
    list-style-type: none;
    margin-left: 15px;
}	
	
#main-carousel .carousel-social .social-buttons li {
    display: inline;
    margin-right: 10px;
}

#main-carousel .carousel-social .fa-facebook-square,
#main-carousel .carousel-social .fa-twitter-square,
#main-carousel .carousel-social .fa-youtube-square,
#main-carousel .carousel-social .fa-instagram {
  color: #cc0011;
}

#main-carousel .carousel-social .fa-facebook-square:hover {
  color: #3b5998;
}
#main-carousel .carousel-social .fa-twitter-square:hover {
  color: #00aced;
}
#main-carousel .carousel-social .fa-youtube-square:hover {
  color: #818181;
}
#main-carousel .carousel-social .fa-instagram:hover {
  color: #517fa4;
}
/********Carousel End********/
/**Welcome to UC***/
.welcome-uc {
  display: block;
  position: relative;
  height: 100%;
  background: #fff;
  overflow: hidden;
  padding-left:0px;
  padding-right: 0px;
}

.welcome-uc:before {
  background: #fff url("../images/kowhaiwhai-black-small.png") repeat 0 0 / 133px auto;
  position: absolute;
  content: "";
  height: 1000px;
  width: 100%;
  opacity: 0.1;
}

/********News ********/
.container.news {
  margin-top: 15px;
  margin-bottom: 15px;
}
ul.news-tabs {
  display: block;
}
.news-main-block {
  position: relative;
  width: 100%;
}
/*Event Carousel*/
#event-carousel {
  float: left;
  margin: 15px;
  padding: 0px;
}
#event-carousel .carousel-caption {
  position: absolute;
  background: #cc0011;
  text-align: left;
  padding: 10px 10px 5px 10px;
  left: 0%;
  right: 40%;
  text-shadow: none;
}
#event-carousel .carousel-image .img-resize {
  overflow: hidden;
}
#event-carousel .carousel-indicators {
  left: 87%;
  top: 1%;
  margin-left: 0px;
  width: 15%;
  height: 15px;
}
#event-carousel .carousel-indicators li {
  background: #535353;
}
#event-carousel .carousel-indicators li.active {
  background: #cc0011;
}
#event-carousel .carousel-control.left,
#event-carousel .carousel-control.right {
  display: none;
}
/***Academic Carousel***/
.container-fluid.academic {
  background: #fff;
}

.container-fluid #academic-carousel {
	width: 68%;
	margin: 0 auto;
	}

.container-fluid.academic #academic-carousel .academic-block {
  height: 220px;
}
.container-fluid.academic #academic-carousel .academic-image .img-resize {
  height: 140px;
}
#academic-carousel .academic-caption {
  padding: 5px;
}
.container-fluid.academic #academic-carousel .academic-caption .hr {
  height: 2px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.container-fluid.academic #academic-carousel .academic-caption .hr.uc-arts {
  background: #609900;
}
.container-fluid.academic #academic-carousel .academic-caption .hr.uc-science {
  background: #006699;
}
.container-fluid.academic #academic-carousel .academic-caption .hr.uc-business {
  background: #ffcc33;
}
.container-fluid.academic #academic-carousel .academic-caption .hr.uc-education {
  background: #cc0033;
}
.container-fluid.academic #academic-carousel .academic-caption .hr.uc-engineering {
  background: #666699;
}
.container-fluid.academic #academic-carousel .academic-caption .hr.uc-law {
  background: #336699;
}
.container-fluid.academic #academic-carousel .academic-caption .hr.uc-health {
  background: #ed8b00;
}

.container-fluid.academic .carousel-control.right,
.container-fluid.academic .carousel-control.left {
  background: none;
  width: 17%;
  top: 22%;
  /*IE8 fix*/
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.container-fluid.academic .carousel-control .glyphicon-menu-left,
.container-fluid.academic .carousel-control .glyphicon-menu-right {
  font-size: 60px;
  font-size: 6.0rem;
  color: #535353;
}

.news-tabs {
  position: absolute;
  left: 45%;
  z-index: 1;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.5);
}
li.news-indicators {
  width: 16px;
  height: 16px;
}
li.news-indicators a,
li.news-indicators a:hover,
li.news-indicators a:focus,
li.news-indicators a:visited,
li.news-indicators.active,
li.news-indicators.active > a,
li.news-indicators.active > a:hover,
li.news-indicators.active > a:focus,
li.news-indicators.active > a:visited {
  width: 16px;
  height: 16px;
  border-radius: 10px;
  border: 1px solid #535353;
  padding: 0;
  margin: 0;
}
li.news-indicators,
li.news-indicators.active {
  margin: 4px;
}
li.news-indicators a:hover,
li.news-indicators a:focus,
li.news-indicators a:visited,
li.news-indicators.active,
li.news-indicators.active > a,
li.news-indicators.active > a:hover,
li.news-indicators.active > a:focus,
li.news-indicators.active > a:visited {
  background: #535353;
}
li.news-indicators a {
  background: rgba(0, 0, 0, 0);
}
.news-block {
  margin-top: 15px;
  margin-bottom: 15px;
}
.news-block-inner,
.news-1photo,
.news-2photo {
  background: #fff;
  overflow: hidden;
}
.news-block-inner-red {
  background: #cc0011;
}
/*1 block*/
/*Image 202px H x 255px W*/
.news-one-block-text {
  padding: 5px 14px 5px 14px;
  width: 100%;
  float: left;
}
.news-one-block-img {
  background: #fff;
}
.news-one-block-header {
  position: relative;
  height: 27px;
  background: #fff;
  z-index: 5;
  padding-top: 3px;
  padding-left: 15px;
}
.ucme-two-block-img .img-resize,
.news-1photo .img-resize,
.news-2photo .img-resize {
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
/*#UCNOW*/
.ucnow-one-block-text {
  padding: 5px 15px 15px 15px;
}
/*UCME*/
/*Image 390px H x 270px W*/
.ucme-two-block-text {
  padding: 5px 15px 15px 15px;
  background: #fff;
  width: 50%;
  float: left;
  height: 100%;
}
.ucme-two-block-img {
  width: 50%;
  float: left;
  overflow: hidden;
}
/*UC7 single*/
/*Image 202px H x 255px W*/
.uc7-icon {
  margin-right: 10px;
}
/*UC7 double*/
/*Image 202px H x 270px W*/
.uc7-two-block-red {
  background: #cc0011;
  float: left;
  width: 50%;
  height: 100%;
}
.news-block.uc7 .news-one-block-img,
.news-block.uc7 .news-one-block-text {
  width: 50%;
}
.uc7-logo {
  width: 200px;
  margin: 30px 30px 10px 30px;
}
.uc7-icon-large {
  height: 150px;
  width: 150px;
  margin: 15px;
}
/*UC7 Statistic*/
.uc7-one-block-statistic {
  padding: 5px 15px 15px 15px;
}
/*Video*/
.news-two-block-video {
  background: #fff;
  padding: 5px 15px 10px 15px;
}
/*Photo*/
/*Single image 390px H x 255px W*/
h3.media-title {
  position: absolute;
  background: #cc0011;
  border-radius: 7px;
  margin: 3px;
  padding-left: 10px;
  padding-right: 10px;
  bottom: 0.2em;
  left: 1.5em;
}
/*Double image 390px H x 540px W*/
.news-block a {
  color: #535353;
}
.news-block a:hover {
  color: #818181;
  text-decoration: none;
}
.news-block .category-tags {
  background: #eee;
  border-radius: 7px;
  margin-right: 3px;
  margin-left: 3px;
  margin-top: 8px;
  margin-bottom: 8px;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
}
.news-block-red .category-tags {
  background: #ae0311;
  border-radius: 7px;
  margin: 3px;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
}
.media-category-tags {
  background: #eee;
  border-radius: 7px;
  margin-right: 3px;
  margin-left: 3px;
  margin-top: 8px;
  margin-bottom: 8px;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  position: absolute;
  top: 0.2em;
  left: 1.5em;
}

.news-block .media-title {
  margin-right: 3px;
  margin-left: 3px;
  margin-top: 8px;
  margin-bottom: 8px;
}

/*
.link-arrow {
  background: url('../images/arrow.png') no-repeat;
  width: 60px;
  height: 8px;
  float: left;
  position: absolute;
  bottom: 0;
  margin-bottom: 10px;
}
#main-carousel .link-arrow,
#event-carousel .link-arrow,
.news-block-inner-red .link-arrow {
  background: url('../images/arrow-white.png');
}*/
/***Study UC***/
.studying-uc .navbar-inverse {
  background: #cc0011;
  border: 0;
  padding-bottom: 0px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.studying-uc .navbar-nav {
  float: none;
  }

.studying-uc .navbar-nav li {
  display: inline-block;
  float: none;
}

/**Experience UC***/
.studying-uc {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #cc0011;
  color: #fff;
}
.experience-uc .hr {
  border-bottom: 4px solid #535353;
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 15px;
}
.experience-uc .filter-options {
  padding-top: 20px;
  padding-bottom: 20px;
}
/********Shuffle*********/
.container.shuffle {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
}
.row.shuffle {
  margin-top: 8px;
}
a.shufflejs-filter {
  color: #292929;
  margin-left: 5px;
  margin-right: 5px;
  cursor: pointer;
  text-transform: uppercase;
}
a.shufflejs-filter:hover,
a.shufflejs-filter.active {
  color: #cc0011;
  text-decoration: none;
}
/*Social media*/
.modal-content {
  margin-top: 50%;
}
/* *************************************** 
   VIDEO modals
***************************************** */

.embed-responsive .vidBlackDiv, .embed-responsive .vidWhiteDiv {
    background-position: center center;
    background-repeat: no-repeat;
    /*background-size: contain;*/
    height: 100%;
    position: absolute;
    width: 100%;
	top: 0;
	left: 0;
	cursor: pointer;
    /*z-index: 1001;*/
}

.embed-responsive .vidWhiteDiv,
.embed-responsive .vidBlackDiv {
    opacity: 0.8;
}
.embed-responsive .vidBlackDiv, .embed-responsive .vidBlackDiv:hover {
    background-image: url("//static.canterbury.ac.nz/web/graphics/vid_black.png");
}
.embed-responsive .vidWhiteDiv, .embed-responsive .vidWhiteDiv:hover {
    background-image: url("//static.canterbury.ac.nz/web/graphics/vid_white.png");
}
.embed-responsive .vidBlackDiv:hover, .embed-responsive .vidWhiteDiv:hover {
    opacity: 1;
}
div[id^="ytModal"] .modal-content {
    /*padding: 15px;
    position: relative;*/
}
div[id^="ytModal"] .close {
    line-height: 17px;
    padding: 3px 5px;
    position: absolute;
    right: 0;
    top: 0;
	box-shadow: 1px 1px 2px rgba(0,0,0, 0.7);
    border-radius: 30px;
	background: #fff;
	color: #999;
	opacity: 1;
	margin-top:-10px;
    margin-right:-10px;
}

.embed-responsive-16by9 img {
    margin-top: -9.5%;
}

/* SHOW MORE Button */
.shuffle .show-more {
	text-align: center;
}
.shuffle .show-more a {
	background: #fff;
	border-radius: 10px;
	display: inline-block;
	margin: 10px auto;
	padding-left: 20px;
	padding-right: 20px;
	line-height: 30px
}

/*Large Desktop*/
@media (min-width: 1400px) {
  .container-fluid.academic #academic-carousel .academic-block {
    height: 205px;
  }
}
/*Wide Desktop*/
@media (min-width: 1200px) {
  #main-carousel .carousel-image .img-resize {
    width: 100%;
    overflow: hidden;
  }
  #event-carousel {
    width: 540px;
  }
  #event-carousel .img-resize {
    height: 390px;
    width: 540px;
  }
  .news-block-inner {
    height: 390px;
    overflow: hidden;
  }
  .news-block-inner-red {
    height: 390px;
    overflow: hidden;
  }
  .news-one-block-text {
    height: 188px;
    overflow: hidden;
  }
  .news-one-block-img {
    height: 200px;
    /* fixed height */
    overflow: hidden;
    line-height: 200px;
    width: 100%;
    /* follow bootstrap grid */
    text-align: center;
  }
  .news-one-block-img img,
  .news-one-block-img img a {
    display: inline;
    /* this is needed */
    height: 100%;
    /* increase small images */
    max-height: 100%;
    /* fixed height */
    max-width: inherit;
    width: auto;
    /* don't distort images */
    vertical-align: top;
    /*margin: 0 -100%; 	/* HACK: center overflow image horizontally */
  }
  .ucnow-one-block-text {
    height: 135px;
    overflow: hidden;
  }
  .ucme-two-block-text {
    overflow: hidden;
  }
  .ucme-two-block-img {
    height: 390px;
    width: 270px;
    overflow: hidden;
  }
  .uc7-icon {
    height: 40px;
    width: 40px;
    overflow: hidden;
  }
  .news-1photo {
    height: 390px;
    width: 255px;
    overflow: hidden;
  }
  .news-2photo {
    height: 390px;
    width: 540px;
    overflow: hidden;
  }
}
/*Desktop*/
@media (max-width: 1200px) {
 
  #main-carousel .carousel-caption {
    position: static;
    background: #cc0011;
    text-align: left;
	width: 100%;
  }
  #main-carousel .carousel-caption-inner {
    float: none;
  }
  .carousel-links.navbar-inverse {
    background: #cc0011;
    border: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0px;
  }
  
  .carousel-links {
    width: 100%;
    position: relative;
    left: 0%;
    top: 0%;
  }
  
  .carousel-links .navbar-nav {
    padding: 10px;
    float: none;
  }

  .carousel-links .navbar-nav li {
    display: inline-block;
    float: none;
  }
  
  .carousel-links li.red.donate {margin-top: 3px;}
  
  #main-carousel .carousel-social,  #main-carousel .carousel-indicators {
    bottom: 41%;
  }
  
  #main-carousel .carousel-control .glyphicon-menu-left,
  #main-carousel .carousel-control .glyphicon-menu-right {
    top: 22%;
  }
  
  #main-carousel  .carousel-ucme-link {
	background-size: 120px;
	width: 120px;
	height: 50px;
	top: 40%;
  }  
  #main-carousel  .carousel-uc7-link {
	background-size: 120px;
	width: 120px;
	height: 120px;
  }  

  .container-fluid.academic #academic-carousel .academic-block {
    height: 200px;
  }
  .container-fluid.academic #academic-carousel .academic-image .img-resize {
  height: 100px;
  }
  
  .news-block,
  .uc7-one-block-statistic,
  .news-1photo {
    height: 315px;
  }
  .news-one-block-img {
    height: 163px;
    /* fixed height */
    line-height: 163px;
    overflow: hidden;
    width: 100%;
    /* follow bootstrap grid */
    text-align: center;
  }
  .news-one-block-img img {
    display: inline;
    /* this is needed */
    height: 100%;
    /* increase small images */
    max-height: 100%;
    /* fixed height */
    max-width: inherit;
    width: auto;
    /* don't distort images */
    vertical-align: top;
    /*margin: 0 -100%; 	/* HACK: center overflow image horizontally */
  }
  .news-block-inner,
  .ucme-two-block-img,
  .news-1photo .img-resize {
    height: 100%;
  }
  .news-one-block-text {
    overflow: hidden;
  }
  .news-block.uc7 .news-one-block-img {
    width: 50%;
    float: left;
    overflow: hidden;
  }
  #event-carousel {
    width: 440px;
    overflow: hidden;
  }
  .uc7-logo {
    width: 150px;
  }
  .uc7-icon-large {
    width: 120px;
    height: 120px;
    margin: 15px;
  }
  /*.news-two-block-video .link-arrow {
    right: 1.5em;
  }*/
}

/*Tablet*/
@media (max-width: 992px) {
  #main-carousel .carousel-social,  #main-carousel .carousel-indicators {
    bottom: 47%;
  }
   
  #main-carousel .carousel-caption {
	min-height: 110px;
  }
  
  #main-carousel  .carousel-ucme-link {
    top: 27%;
  }

  .news-block,
  .news-block-inner,
  .uc7-one-block-statistic,
  .news-1photo {
    height: 238px;
  }
  .news-one-block-img {
    height: 119px;
    /* fixed height */
    line-height: 119px;
    overflow: hidden;
    width: 100%;
    /* follow bootstrap grid */
    text-align: center;
  }
  .news-one-block-img img {
    display: inline;
    /* this is needed */
    height: 100%;
    /* increase small images */
    max-height: 100%;
    /* fixed height */
    max-width: inherit;
    width: auto;
    /* don't distort images */
    vertical-align: top;
    /*margin: 0 -100%; 	/* HACK: center overflow image horizontally */
  }
  .news-one-block-text,
  .ucme-two-block-text,
  .news-two-block-video {
    padding: 5px;
  }
  .news-block .category-tags {
    margin-top: 5px;
    margin-bottom: 5px;
}
  
  /*Carousel*/   
  #main-carousel .carousel-control .glyphicon-menu-left,
  #main-carousel .carousel-control .glyphicon-menu-right {
    top: 18%;
  }
  
  #event-carousel {
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 0px;
    padding-right: 0px;
  }
  #event-carousel {
    height: 100%;
    width: 330px;
  }
  #event-carousel .carousel-indicators {
    left: 85%;
    top: 1%;
  }
  .container-fluid.academic #academic-carousel .academic-image .img-resize {
    height: 70px;
  }
  .container-fluid.academic #academic-carousel .academic-block {
    height: 145px;
  }
 
  .studying-uc {
    padding: 10px;
  }
  .studying-uc .navbar-inverse {
    margin-bottom: 0px;
  }
  .uc7-icon {
    width: 30px;
    height: 30px;
  }
  .uc7-logo {
    width: 100px;
    margin-top: 10px;
  }
  .uc7-icon-large {
    width: 100px;
    height: 100px;
    margin: 15px;
  }
}

@media (max-width: 900px) {
  #main-carousel .carousel-social, #main-carousel .carousel-indicators {
    bottom: 53%;
  }
}

@media (max-width: 820px) {
  #main-carousel .carousel-social, #main-carousel .carousel-indicators {
    bottom: 55%;
  }
}

/*Mobile*/
@media (max-width: 768px) {
  #main-carousel .carousel-image {
    overflow: hidden;
    left: 50%;
    margin-left: -420px;
    margin-right: -80px; /*Tweaked for UCME Banners
	margin-left: -250px;
    margin-right: -250px;*/
	
  }
  #main-carousel .carousel-header,
  #carousel .carousel-text {
    text-align: left;
  }
  #main-carousel .carousel-caption-inner {
    padding: 15px;
	min-height: 115px;
  }
  #main-carousel .carousel-caption {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  #main-carousel .carousel-control .glyphicon-menu-left,
  #main-carousel .carousel-control .glyphicon-menu-right {
    top: 16%;
  }
  #main-carousel  .carousel-ucme-link {
	top: 32%;
    right: 24%;
  }
    #main-carousel  .carousel-uc7-link {
    left: 30%;
  }
  
  #main-carousel .carousel-social {
    position: static;
    background: #cc0011;
    width: 100%;
    text-align: center;
  }
  #main-carousel .carousel-social ul {
    margin-bottom: 0px;
    padding-bottom: 10px;
  }
  #main-carousel .carousel-social .fa-facebook-square {
    color: #fff;
  }
  #main-carousel .carousel-social .fa-facebook-square:hover {
    color: #3b5998;
  }
  #main-carousel .carousel-social .fa-twitter-square {
    color: #fff;
  }
  #main-carousel .carousel-social .fa-twitter-square:hover {
    color: #00aced;
  }
  #main-carousel .carousel-social .fa-youtube-square {
    color: #fff;
  }
  #main-carousel .carousel-social .fa-youtube-square:hover {
    color: #818181;
  }
  #main-carousel .carousel-social .fa-instagram {
    color: #fff;
  }
  #main-carousel .carousel-social .fa-instagram:hover {
    color: #517fa4;
  }
  #main-carousel .carousel-indicators {
    display: none;
  }
  .carousel-links .navbar-nav {
    padding: 0px;
	margin: 0px;
  }
  .carousel-links.navbar-inverse {
    background: #eee;
  }
    
  .carousel-links .navbar-nav li {
    display: block;
  } 
  
  .carousel-links .navbar-nav li a {
    color: #535353;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .carousel-links .navbar-nav li a:hover,
  .carousel-links .navbar-nav li a:focus {
    color: #818181;
    background: #fff;
  }
  .carousel-links .navbar-nav li.red a {
    color: #fff;
  }
  .carousel-links .navbar-nav li.red a:hover,
  .carousel-links li.red a:focus {
    color: #818181;
    background: #cc0011;
  } 
  
  #event-carousel {
    height: auto;
    width: 100%;
    padding-right: 30px;
  }
  #event-carousel .carousel-indicators {
    left: 72%;
    width: 20%;
  }
  #event-carousel .carousel-caption {
    position: relative;
    bottom: 0px;
    overflow: hidden;
  }
  #event-carousel .carousel-caption-inner {
    min-height: 85px;
  }
  
  .studying-uc {
    padding-top: 5px;
    padding-bottom: 10px;
  }
  .studying-uc .studying-uc-text {
    padding: 5px 30px 0px 30px;
  }
  .studying-uc .navbar-inverse {
    background: #cc0011;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0px;
  }
  .studying-uc .navbar-nav {
    padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
  }
  
  .studying-uc .navbar-nav li {
    display: block;
  } 
  
  .container.news {
    margin-bottom: 0px;
  }
  
  .news-block,
  .news-block-inner,
  .uc7-one-block-statistic,
  .news-1photo,
  .news-block.uc7,
  .news-block.uc7 .news-one-block-text,
  .ucme-two-block-text,
  .ucme-two-block-img,
  .uc7-two-block-red {
    height: auto;
    width: 100%;
  }
  .news-one-block-img {
    float: left;
    overflow: hidden;
  }
  .news-one-block-img {
    height: auto;
    /* fixed height */
    overflow: hidden;
    width: 100%;
    /* follow bootstrap grid */
    text-align: center;
  }
  .news-block.uc7 .news-one-block-img {
    width: 100%;
  }
  .news-one-block-img img {
    height: inherit;
    max-height: inherit;
    max-width: inherit;
    width: 100%;
  }
  .ucme-two-block-img .img-resize {
    max-height: 100%;
  }
  .news-one-block-text,
  .ucme-two-block-text,
  .news-two-block-video {
    padding: 5px 15px 15px 15px;
  }
  .container-fluid.academic.well {
    padding: 0px;
  }
  .container-fluid.academic #academic-carousel .academic-block {
    height: 115px;
  }
  .container-fluid.academic #academic-carousel .academic-image .img-resize {
    height: 70px;
  }
  
  .container-fluid.academic .carousel-control.right,
  .container-fluid.academic .carousel-control.left {
    top: 42%;
  }
  
  .container-fluid.academic #academic-carousel .academic-block {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  
  .uc7-logo {
    width: 200px;
    margin: 10px;
  }
  .uc7-icon-large {
    width: 200px;
    height: 200px;
    margin: 10px;
  }
}
@media (max-width: 555px) {

  #main-carousel .carousel-caption-inner {
	min-height: 170px;
  }
  #main-carousel .carousel-control .glyphicon-menu-left,
  #main-carousel .carousel-control .glyphicon-menu-right {
    top: 10%;
  }
  #main-carousel  .carousel-ucme-link {
	top: 24%;
	right: 22%;
  }
  #main-carousel  .carousel-uc7-link {
    background-size: 80px;
	width: 80px;
	height: 80px;
    left: 36%;
	top: 5%;


  }
  
  #event-carousel .carousel-indicators {
    left: 72%;
  }
  #event-carousel .carousel-caption-inner {
    min-height: 160px;
  }
 
  .container-fluid.academic #academic-carousel .academic-image .img-resize {
    height: 60px;
  }
  
}
@media (max-width: 300px) {
  .container-fluid.academic #academic-carousel .academic-block {
    min-height: 150px;
  }
  .container-fluid.academic #academic-carousel .academic-image .img-resize {
    height: 50px;
  }
  .container-fluid.academic #academic-carousel .academic-caption {
    padding: 5px;
  }
  .container-fluid.academic.carousel-control .glyphicon-menu-left,
  .container-fluid.academic.carousel-control .glyphicon-menu-right {
    top: 47.5%;
  }
  
  .uc7-logo {
    width: 100px;
    margin: 10px;
  }
  .uc7-icon-large {
    width: 100px;
    height: 100px;
    margin: 10px;
  }
}

/*
//UC Fonts
// --------------------------------------------------
*/
html {
  font-size: 62.5% !important;
}
/*12px = 1.2rem*/
body {
  font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
  line-height: 1.4;
}
a,
a:hover,
a:visited {
  color: inherit;
}
#main-carousel .carousel-header-italic,
h1.welcome,
h1.studying,
h1.experience,
.news-block h3.ucme-red {
  font-family: 'Georgia', 'Times New Roman', 'Times', serif;
}
/***Headers Start***/
h1.welcome {
  color: #535353;
  font-size: 3.4rem;
  font-size: 34px;
  font-weight: 300;
  vertical-align: middle;
  margin-top: 25px;
  margin-bottom: 25px;
}
h1.studying {
  color: #fff;
  font-size: 3.4rem;
  font-size: 34px;
  font-weight: 300;
  vertical-align: middle;
  margin-top: 15px;
  margin-bottom: 15px;
}
h1.experience {
  color: #535353;
  font-size: 6.0rem;
  font-size: 60px;
  font-weight: 300;
  vertical-align: middle;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 0px;
}
.news-block h2.type {
  color: #cc0011;
  font-weight: 600;
  font-size: 14px;
  font-size: 1.4rem;
  margin: 5px;
  text-transform: uppercase;
}
#event-carousel h3.mainevent {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  font-size: 1.8rem;
  margin-top: 0px;
  margin-bottom: 10px;
}
#event-carousel h3.mainevent a:hover {
  color: #fff;
}
.news-block h3.one-block {
  color: #535353;
  font-weight: 600;
  font-size: 16px;
  font-size: 1.6rem;
  margin-top: 5px;
  margin-bottom: 5px;
}
.news-block h3.one-block-red {
  color: #cc0011;
  font-weight: 600;
  font-size: 16px;
  font-size: 1.6rem;
  margin-top: 5px;
  margin-bottom: 5px;
}
.news-block .student-profile h3.one-block-red {
  font-size: 14px;
  font-size: 1.4rem;
}
.news-block . h3.ucme-red {
  color: #cc0011;
  font-weight: 400;
  font-size: 34px;
  font-size: 3.4rem;
  margin-top: 10px;
}
.news-block h3.ucme-red a {
  color: #cc0011;
}

.news-block h3.two-block-uc7 {
  color: #fff;
  font-weight: 400;
  font-size: 28px;
  font-size: 2.8rem;
  margin-top: 55px;
}
.news-block h3.media-title {
  color: #fff;
  max-width: 200px;
}
.news-block h3.media-title a {
  color: #fff;
}

.news-block h3.video {
  /*color: #535353;*/
  color: #cc0011;
  font-weight: 600;
  font-size: 16px;
  font-size: 1.6rem;
  margin-top: 1px;
  margin-bottom: 5px;
}
h3.academic-carousel {
  color: #535353;
  font-weight: 600;
  font-size: 16px;
  font-size: 1.6rem;
  margin-top: 10px;
  text-transform: uppercase;
}
.news-block h2.category-tags,
.news-block h2.media-category-tags,
.news-block h3.media-title {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
}
/***Headers End***/
/***Carousel Start***/
#main-carousel .carousel-header {
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  font-size: 2.0rem;
  text-shadow: none;
  margin-bottom: 5px;
}
#main-carousel .carousel-header-italic {
  color: #fff;
  font-weight: 400;
  font-style: italic;
}
#main-carousel .carousel-text {
  color: #fff;
  font-size: 14px;
  font-size: 1.4rem;
  text-shadow: none;
}
.carousel-links .navbar-nav li a {
  font-size: 1.6rem;
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.carousel-links li.white a {
  color: #535353;
}
.carousel-links li.white a:hover {
  color: #818181;
}

.carousel-links li.red a {
  color: #fff;
}
.carousel-links li a {
  text-decoration: none;
  font-size: 1.6rem;
  font-size: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  text-transform: uppercase;
}
.carousel-links li.white {
  background: #fff;
}
.carousel-links li.white a {
  color: #535353;
}
.carousel-links li.white a:hover,
.carousel-links li.white a:focus {
  color: #818181;
}
.carousel-links li.red {
  background: #cc0011;
}
.carousel-links li.red a {
  color: #fff;
}
.carousel-links li.red a:hover,
.carousel-links li.red a:focus {
  color: #818181;
}

/***Carousel End***/
.studying-uc .navbar-nav li {
  font-size: 1.6rem;
  font-size: 16px;
  margin-left: 3px;
  margin-right: 3px;
  margin-top: 20px;
  background: #ae0311;
}
.studying-uc .navbar-nav li a {
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  text-transform: uppercase;
}
.studying-uc .navbar-nav li a:hover {
  color: #818181;
}
/***Paragraphs Start***/
p {
  color: #535353;
}
span.strong {
  font-weight: 600;
}
span.red-text {
  color: #cc0011;
}
span.white-text {
  color: #fff;
}
.lgrey-text {
	color: #999;
}
p.ucnow {
  color: #535353;
  font-weight: 400;
  font-size: 14px;
  font-size: 1.4rem;
  font-style: italic;
  margin: 0px;
}
p.ucnow-author {
  font-size: 12px;
  font-size: 1.2rem;
  margin: 0px;
}
#main-carousel .view-all , #event-carousel .view-all{
  color: #fff;
  text-shadow: none;
  font-weight: 500;
  font-size: 12px;
  font-size: 1.2rem;
  margin: 5px;
  text-transform: uppercase;
}
#event-carousel p {
  color: #fff;
}
.news-block p.statistics-number {
  font-weight: 400;
  font-size: 140px;
  font-size: 14.0rem;
  margin-top: -20px;
  margin-bottom: -20px;
}
.news-block p.statistics-number-small {
  font-weight: 400;
  font-size: 60px;
  font-size: 6.0rem;
}
.news-block p.statistics-text {
  font-weight: 400;
  font-size: 16px;
  font-size: 1.6rem;
}

.news-block p.statistics-number sup {
  top: -0.4em;
}
.news-block .uc7-one-block-statistic a, .news-block .uc7-one-block-statistic a:hover {
  color: #fff;
}

.news-block .uc7-one-block-statistic .category-tags a {
	color: #535353;
}

/**Ellipsis**/
.ellip {
  display: block;
  height: 100%;
}
.ellip-line {
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
}
.ellip,
.ellip-line {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.news-block-inner .ellipsis-text{
  overflow: hidden;
  height: 80px;
}
.ucme-two-block-text .ellipsis-text{
  overflow: hidden;
  height: 200px;
}

.student-profile .ellipsis-text {
  overflow: hidden;
  height: 20px;
}

/***Paragraphs End***/
/***Links Start***/
a:hover,
a:focus {
  text-decoration: none;
}
.news-block a:hover {
  color: #535353;
}
.experience-uc .shufflejs-filter {
  color: #535353;
  font-weight: 600;
  font-size: 16px;
  font-size: 1.6rem;
}
/***Links End***/

@media (max-width: 1200px) {
  .news-block h3.one-block {
    font-size: 14px;
    font-size: 1.4rem;
  }

  .news-block h3.two-block-uc7 {
    margin-top: 30px;
  }
  .news-block p.statistics-number {
    font-size: 90px;
    font-size: 9.0rem;
  }
  .news-block p.statistics-number-small {
    font-size: 50px;
    font-size: 5.0rem;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .news-block p.statistics-number sup {
    top: -0.3em;
  }
  
  /**Ellipsis**/
  .news-block-inner .ellipsis-text{
    overflow: hidden;
    height: 20px;
  }
  .ucme-two-block-text .ellipsis-text{
    overflow: hidden;
    height: 150px;
  }

  .student-profile .ellipsis-text {
    overflow: hidden;
    height: 30px;
  }

}
/*Tablet*/
@media (max-width: 992px) {

  .carousel-links li.red {background: #ae0311;}

  .news-block h3.ucme-red {
    font-size: 25px;
    font-size: 2.5rem;
  }
  .news-block h3.one-block,
  .news-block h3.one-block-red {
    font-size: 12px;
    font-size: 1.2rem;
  }
  .news-block h3.two-block-uc7 {
    font-size: 22px;
    font-size: 2.2rem;
  }
  #event-carousel h3.mainevent {
    font-size: 16px;
    font-size: 1.6rem;
  }
  
  .academic-caption h3.academic-carousel {
    font-size: 11px;
    font-size: 1.1rem;
  }
  
  .news-block h3.video {
    font-size: 12px;
    font-size: 1.2rem;
  }
  .news-block p.statistics-number {
    font-size: 70px;
    font-size: 7.0rem;
    margin-top: -15px;
    margin-bottom: -15px;
  }
  .news-block p.statistics-number-small {
    font-size: 35px;
    font-size: 3.5rem;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .news-block p.statistics-text {
    font-size: 14px;
    font-size: 1.4rem;
  }
  .news-block p.statistics-number sup {
    top: -0.3em;
  }
  p.ucnow {
    display: none;
 }
  p.view-all {
    font-size: 10px;
    font-size: 1.0rem;
    margin: 2px;
    margin-top: 5px;
  }
  
  /**Ellipsis**/
  .ellipsis-text{
    display: none;
  }

}
/*mobile*/
@media (max-width: 768px) {
  .carousel-links li.red {background: #cc0011;}

  h1.welcome,
  h1.studying {
    font-size: 2.8rem;
    font-size: 28px;
  }
  h1.experience {
    font-size: 4.0rem;
    font-size: 40px;
  }
  h1.studying {
    margin: 10px;
  }
  .academic-caption h3.academic-carousel {
    font-size: 10px;
    font-size: 1.0rem;
  }
  .news-block h3.two-block-uc7 {
    margin-top: 10px;
  }
  .carousel-links .navbar-nav li {
    font-size: 1.4rem;
    font-size: 14px;
  }
  .studying-uc .navbar-nav li {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
  }
  .studying-uc .navbar-nav li a {
    color: #fff;
    background: #ae0311;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .studying-uc .navbar-nav li a:hover {
    color: #818181;
    background: #ae0311;
  }
    p.ucnow {
    display: block;
 }
}

/*Small mobile*/
@media (max-width: 400px) {
  .academic-caption h3.academic-carousel {
    font-size: 8px;
    font-size: 0.8rem;
  }
}