/*
// 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: #fff;
}
.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;
}
/*
// Header
// --------------------------------------------------
*/
/*Desktop*/
.uc-nav {
    /*background: rgba(10, 114, 200, 0.58);*/
    background: #fff;
    border: 0;
    margin-bottom: 0;
    border-radius: 0px;
    /*border-top: 3px solid #002145;*/
    margin: 0px;
    padding: 0px;
    width: 100%;
}

button.search.mobile, #uc-mobile-search {
  display: none !important;
}

.uc-nav .navbar-collapse {
  border: 0;
}
.uc-nav #uc-topnav {
    /*margin-top: 10px;*/
}
.uc-nav #uc-topnav li a {
  color: #fff;
  font-size: 1.4rem;
  font-size: 11px;
  font-weight: 500;
  /* Maori text edit
  padding-top: 8px;
  padding-bottom: 18px;
  */
  padding-bottom:  6px;
  text-transform: uppercase;
}
.uc-nav #uc-topnav li a:hover {
  color: #818181;
}
.uc-nav #uc-topnav li:last-child a {
  margin-right: 15px;
}
.uc-nav #uc-bottomnav {
  /*border-top: 2px solid #fff;
  margin-top:15px;*/
  float: left !important;
  
}
.header_site_text {
    width: 60%;
    float: left;
    font-size: 19px;
    margin-top: 1%;
    color: #192353;
    font-weight: 600;
    margin-left: 36px;
    letter-spacing: 2px;
    border-left: 1px solid #000;
    padding-left: 20px;
    padding-bottom: 2.5%;
}
.header_site_text span {
    float: left;
    margin-top: 3%;
}

.header_right_icon {
    width: 22%;
    float: left;
    font-size: 12px;
    margin-top: 1%;
    color: #192353;
    font-weight: 600;
    letter-spacing: 2px;
    border-left: 1px solid #000;
    padding-left: 0;
    padding-bottom: 1.5%;
    
}
.header_right_icon .social_icon_header {
    float: left;
    margin-top: 4%;
    margin-left: 8%;
}
.header_right_icon .social_icon_header a {
    margin-right: 3px;
}
.navbar-header {
    width: 100%;
    float: left;
}
.uc-nav #uc-bottomnav li {
  text-align: left;
}

.uc-nav #uc-bottomnav li span.caret {display: none;}

.uc-nav #uc-bottomnav li.dropdown.open ul li{
  text-align: left;
}

.uc-nav #uc-bottomnav li a {
  color: #192353;
  /*font-size: 1.6rem;*/
  font-size: 14px;
  font-weight: 600;
  /* Maori text edit
  padding-top: 10px;
  padding-bottom: 0px;
  min-height: 65px;
  */
  padding-top: 15px;
  padding-bottom: 15px;
  text-transform: uppercase;
  padding-left: 12px;
}

/* Maori text edit
.uc-nav #uc-bottomnav li p.maori-nav {
  color: #fff;
  font-size: 1.2rem;
  font-size: 12px;
  font-weight: 500;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 0px;
  text-transform: capitalize;
  font-style: italic;
}
*/

.uc-nav #uc-bottomnav li:last-child a {
  margin-right: 0px;
}

.uc-nav #uc-bottomnav li a:hover, .uc-nav #uc-bottomnav li:hover,
/* Maori text edit.uc-nav #uc-bottomnav li:hover p.maori-nav,*/
.uc-nav #uc-bottomnav li.open,
.uc-nav #uc-bottomnav li.open a
/* Maori text edit.uc-nav #uc-bottomnav li.open p.maori-nav*/
 {
  background: #fff;
  color: #535353;
}
.uc-nav #uc-bottomnav .dropdown-menu {
  min-width: 260px;
  background: #fff;
  padding: 0px;
  margin: 0px;
  z-index:100;
}
.uc-nav #uc-bottomnav li .dropdown-menu a,
.uc-nav #uc-bottomnav li .dropdown-menu a:visited {
    background: #fff;
    color: #535353;
    font-size: 1.4rem;
    font-size: 14px;
    font-weight: 400;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
.uc-nav #uc-bottomnav li .dropdown-menu li:hover,
.uc-nav #uc-bottomnav li .dropdown-menu a:hover {
  color: #fff;
  background: #cc0011;
}
.uc-nav #uc-bottomnav .search {
  margin-right: 0px;
}
.uc-nav #uc-bottomnav .search .navbar-right {margin-right: 0px;}
.uc-nav #uc-bottomnav .search .btn-default:hover {
  background: #cc0011;
}
.uc-nav .navbar-brand {
    background: url('../images/cass-logo.png') no-repeat;
    /*IE 8 fix*/
    background-image: url('../images/cass-logo.png');
    background-repeat: no-repeat;
    background-position: 30px 12px;
    display: block;
    margin: auto;
    width: 184px;
    height: 100px;
    padding: 0px;
}

.uc-nav .navbar-brand-right {
    background: url('../images/gsim-right.jpg') no-repeat;
    /*IE 8 fix*/
    background-image: url('../images/gsim-right.jpg');
    background-repeat: no-repeat;
    display: block;
    width: 165px;
    height: 100px;
    float: left;
}
.bottom {
    margin-top: 20px;
    float: left;
    width: 100%;
}
/*
    Custom CSS
*/

.news-subheader {
    padding: 5px 0px;
    border-bottom: 1px solid #000;
    margin-left: 10px;
    margin-right: 10px;
}
@media (max-width: 1200px) {
  .uc-nav #uc-bottomnav li a {
    font-size: 1.4rem;
    font-size: 14px;
  }
}

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

  .uc-nav #uc-topnav li a {
	font-size: 1.2rem;
	font-size: 12px;
   }

  .uc-nav #uc-bottomnav li a {
    font-size: 1.2rem;
    font-size: 12px;
  }
  
  .uc-nav #uc-topnav li a,
  .uc-nav #uc-bottomnav li a {
    padding: 10px 5px 10px 5px;
  }
  .uc-nav .navbar-brand {
    width: 120px;
    height: 90px;
    background-size: 90px;
  }
  .uc-nav .navbar-brand-right {
    width: 120px;
    height: 90px;
    background-size: 90px;
  }
  
  .uc-nav #uc-bottomnav .dropdown-menu {
  min-width: 200px;
}
.uc-nav #uc-bottomnav li .dropdown-menu a,
.uc-nav #uc-bottomnav li .dropdown-menu a:visited {
  font-size: 1.2rem;
  font-size: 12px;
}
  
}
/*Mobile reduced to 767 as hamburger shows at 767 due to design for desktop rather than mobile*/
@media (max-width: 767px) {
  .uc-nav #uc-topnav {
    margin-top: 0px;
  }
  .navbar-inverse .navbar-toggle {
    border: 0;
  }
  .uc-nav #uc-topnav li a {
    font-size: 1.2rem;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
  }
  
  .uc-nav #uc-bottomnav li {
    text-align: left;
  }
  
  .uc-nav #uc-bottomnav li span.caret {display: inline-block; float: right;}

  .uc-nav #uc-bottomnav li a {
    font-size: 1.4rem;
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
  }
  .uc-nav #uc-bottomnav li:first-child a {
    padding-left: 5px;
  }
  
  .uc-nav .navbar-brand {
    background: url('../images/uc-logo-s.png') 10px 10px/100px no-repeat;
    width: 120px;
    height: 55px;
    margin-left: 15px;
  }
  .uc-nav .navbar-brand-right {
    background: url('../images/uc-logo-s.png') 10px 10px/100px no-repeat;
    width: 120px;
    height: 55px;
    margin-left: 15px;
  }
  .uc-nav .uc-nav-buttons {
    float: right;
  }
  .uc-nav .search.desktop {
    display: none;
  }

  button.search.mobile, #uc-mobile-search.collapse.in {
	display: block !important;
  }

  .uc-nav button.search.mobile {
	padding: 8px 14px 5px 14px;
    margin: 8px 0px 8px 0px;
    color: #fff;
    float: left;
	background: transparent;
    background-image: none;
	border:0;
	border-radius: 4px;
  }
  
  .uc-nav button.search.mobile:hover, .uc-nav button.search.mobile:focus {
	background: #333333;
	outline-width: 0;
	}
	
  #uc-mobile-search .mobile-search {list-style-type: none; margin-bottom: 0;}
  #uc-mobile-search .search {border:0; margin-top: 0; margin-bottom: 0;}
  
}

/*
// 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: right;
}
#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, .homepage-block-inner {
  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: none;
  border: 0;
  padding-bottom: 0px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.studying-partners .navbar-inverse {
  background: none;
  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;
}

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

.studying-partners .navbar-nav li {
  display: inline-block;
  float: none;
}
.studying-partners {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #fff;
  color: #000;
}
/**Experience UC***/
.studying-uc {
  padding-top: 20px;
  padding-bottom: 20px;
  background: rgba(10, 114, 200, 0.58);
  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;
    float: left;
    padding: 0px;
    margin: 0 auto;
    width: 100%;
    background-color: #fff;
}
.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-x: scroll;
  }
  .homepage-block-inner, .homepage-block-news-inner {
      width: 100%;
      float: left;
  }
  .news-block-inner-red {
    height: 390px;
    overflow: hidden;
  }
  .news-one-block-text {
    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-partners {
    padding: 10px;
  }
  .studying-partners .navbar-inverse {
    margin-bottom: 0px;
  }
 
  .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: none;
    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;
  } 
  
  .studying-partners {
    padding-top: 5px;
    padding-bottom: 10px;
  }
  .studying-partners .studying-uc-text {
    padding: 5px 30px 0px 30px;
  }
  .studying-partners .navbar-inverse {
    background: none;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0px;
  }
  .studying-partners .navbar-nav {
    padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
  }
  
  .studying-partners .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;
  }
}

/*
//Fonts
// --------------------------------------------------
*/
html {
  font-size: 62.5% !important;
}
/*12px = 1.2rem*/
body {
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    width: 100%;
}
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: rgba(10, 114, 200, 0.58);
}
.studying-uc .navbar-nav li a {
  color: #192353;
  padding-top: 10px;
  padding-bottom: 10px;
  text-transform: uppercase;
}
.studying-uc .navbar-nav li a:hover {
  color: #fff;
}

.studying-partners .navbar-nav li {
  font-size: 1.6rem;
  font-size: 16px;
  margin-left: 3px;
  margin-right: 3px;
  margin-top: 20px;
  background: rgba(10, 114, 200, 0.58);
}
.studying-partners .navbar-nav li a {
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
  
}
.studying-partners .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;
  }
  
  .studying-partners .navbar-nav li {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
  }
  .studying-partners .navbar-nav li a {
    color: #fff;
    background: #ae0311;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .studying-partners .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;
  }
}
/*
 Custom CSS
*/

.menu_header_class {
    background: rgba(10, 114, 200, 0.58);
    border: 0;
    margin-bottom: 0;
    border-radius: 0px;    
}

.sub_menu_header_class {
    background: #e6e6e6;
    border: 0;
    margin-bottom: 0;
    border-radius: 0px;
}

.uc-nav .sub_menu_header_class #uc-bottomnav li a {
    color: #192353;
    font-weight: 500;
    font-size: 12px;
    padding-right: 5px;
    cursor: pointer;
}

.uc-nav .sub_menu_header_class #uc-bottomnav li a:hover {
    background: #d8d8d8;
    
}

/* CUSTOM CSS */

.field-items {
    display: block;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
}
.field-items .field-item {
    border-top: 5px solid #0A2337;
    padding-top: 10px;
    padding-bottom: 20px;
    width: 246px;
    float: left;
    margin: 0 10px;
}

.field-item .field-item {
    margin: 0;
    border-top: none;
    clear: none;
    width: auto;
    padding-bottom: 0;
}
.field-item > a {
    font-weight: 600;
    font-size: 14px;
    color: #0a2337;
}
.field-name-field-home-news-date {
    float: right;
    margin-left: 10px;
    text-align: center;
    color: #C3B6B1;
    width: 31px;
    height: 49px;
    background: #031D40;
    font-weight: 400;
}
.field-name-field-home-news-date .created {
    display: block;
}
.text-center p {
    color: #fff;
}
.contact_submit_button {
    margin-top: 20px !important;
}
.contact_submit_button .wpcf7-submit {
    padding: 5px 20px !important;
    width: 100%;
    background-color: rgba(10, 114, 200, 0.58);
    border: none;
}

.right_column {
    width: 39%;
    float: right;
    
    /* background-color: #ccc; */
    padding: 10px;
    margin-top: 10px;
}

.contact_strong {
    font-size: 14px;
    font-weight: bold;
    color: rgba(10, 114, 200, 0.58);
    float: left;
    width: 100%;
    margin-bottom: 10px;
    
}

.field-name-field-home-tac2-read-more-link a {
    font-family: arial !important;
    font-size: 12px !important;
    display: inline-block;
    font-weight: bold !important;
    position: relative;
    padding-right: 25px;
    padding-left: 5px;
    line-height: 2em;
    color: #011e41;
    margin-bottom: 1em;
}
.field-name-field-home-news-date .day {
    color: #fff;
    font-size: 22px;
    line-height: 1.3em;
}
.news-item, .events-item {
    min-height: 70px;
    cursor: pointer;
    float: left;
    margin-top: 10px;
    width: 100%;
}
.field-name-field-home-news .field-name-field-home-news-date {
    float: right;
    margin-left: 10px;
    text-align: center;
    color: #C3B6B1;
    width: 31px;
    height: 49px;
    background: #031D40;
    font-weight: 400;
}
.field-name-field-home-tac-read-more-link {
    clear: both;
    margin-top: 10px;
    float: left;
}
.field-name-field-home-tac-read-more-link a {
    font-family: arial !important;
    font-size: 12px !important;
    display: inline-block;
    font-weight: bold !important;
    position: relative;
    padding-right: 25px;
    padding-left: 5px;
    line-height: 2em;
    color: #011e41;
    margin-bottom: 1em;
    cursor: pointer;
}
.field-name-field-home-tac-read-more-link a:hover,
.field-name-field-home-tac2-read-more-link a:hover {
    background: #2c3a5a;
    color: #fff;
}
.field-name-field-home-news-link {
    font-size: 14px;
    font-weight: bold;
    border-top: 1px solid #D2D2D2;
    margin-top: -1px;
}
.field-name-field-home-news-link a {
    padding-top: 10px;
    /*padding-left: 5px;*/
    padding-bottom: 10px;
    color: #505050;
    display: block;
}

.program-content h2 {
    display: none;
}
.program-content p {
    text-align: justify;
    font-size: 13px;
}

.program-row {
    cursor: pointer; 
    border-top: none !important; 
    width: 100% !important; 
    margin: 0px !important;
    border-bottom: 1px dotted #000;
}
.program-row .field-type-image {
    float: left; 
    min-width: 180px; 
    width: 32%; 
    overflow: hidden;
}

.program-content-left {
    float:left; 
    width: 61%; 
    margin-left: 12px;
}
.program-content-left .field-type-link-field {
    float: left; 
    min-width: 180px; 
    width: 32%;
}
.field-item .even a:hover {
    color: #0093b2;
}
.homepage-ul-li ul, .homepage-ul-li-all ul, .homepage-sub-li ul {
    margin-left: 15px;
}
.homepage-ul-li li, .homepage-ul-li-all li {
    width: 50%;
    float: left;
}
.homepage-ul-li li a, .homepage-ul-li-all li a, .homepage-sub-li li a {
    color: #0093b2;
    font-size: 13px;
}
.homepage-ul-li li a:hover, .homepage-ul-li-all li a:hover, .homepage-sub-li li a:hover { 
    text-decoration: underline;
}

/*.homepage-sub-li ul li:nth-of-type(1n+6) {display: none;}*/


.field-item .field-type-link-field {
    width: 100%;
    float: left;
}

.navbar-right .dropdown-menu {
    left: 0px !important;
}

.categoryitems a.is-active {
    font-weight: bold;
    color: #c01 !important;
}

.custom_contact_form .js-text-full, .custom_contact_form .form-email {
    width: 100%;
    padding:5px;
}

.custom_contact_form .js-form-item, .custom_contact_form .field--type-string {
    margin:0 0 15px;
}

.custom_contact_form .js-form-submit {
    padding: 10px 20px !important;
    width: 100%;
    background-color: #c01;
    border: none;
    color:#fff;
}

.custom_contact_form #edit-preview {
    display: none;
}

.news-container {

}

.news-container .views-field-field-news-image {
    width: 21%;
    float: left;
}

.news-container .views-field-title{
    width: 75%;
    float: left;
    color: #c01 !important;
    font-size: 18px;
    /*margin-bottom: 16px;*/
    margin-left: 18px;
}

.news-container .views-field-title a {
    color: #c01 !important;
}
.news-container .views-field-body {
    width: 75%;
    float: left;
    margin-left: 18px;
}

.news-container .views-field-created {
    width: 75%;
    float: left;
    font-size: 12px;
    margin-bottom: 16px;
    margin-left: 18px;
    font-style: italic;
}

.container-views {
    border-bottom: 1px dotted #ccc;
    width: 1070px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 0px;
}

.user-login-form {
    width: 800px;
    margin:0 auto;
    padding-bottom: 30px;
    padding-top:30px;
}

.user-login-form .js-form-type-textfield {
    margin-bottom:20px;
}

.user-login-form .js-form-type-textfield label, .user-login-form .js-form-type-password label {
    margin-right:15px;
}

.user-login-form .js-form-type-textfield .form-text, .user-login-form .js-form-type-password .form-text {
    padding:5px;
}

.user-login-form .form-actions .js-form-submit{
    padding: 5px 20px;
    background: #c01;
    border: none;
    margin-top: 20px;
    margin-left: 86px;
    color:#fff;
}

.user-login-form .js-form-type-textfield .description, .user-login-form .js-form-type-password .description {
    margin-left: 86px;
    font-size: 12px;
}

#block-cassedu-local-tasks {
    display: none;
}