/*
// 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;
}

.form-control:focus {
  border-color: #cc0011;
}

/*
// Content
// --------------------------------------------------
*/

/********Homepage Carousel Start********/
.homepage-banner {
  background: #fff;
}
.homepage-banner .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;
}
.homepage-banner .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;
  /*border: #fff 1px solid;*/ /*Used for UC Alumni promotion due to red background*/
}
.homepage-banner .carousel-control.left,
.homepage-banner .carousel-control.right {
  background-image: none;
  /*IE8 fix*/
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.homepage-banner .carousel-control .glyphicon-menu-left,
.homepage-banner .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;
}
.homepage-banner .carousel-control .glyphicon-menu-left {
  left: 50%;
}
.homepage-banner .carousel-control .glyphicon-menu-right {
  right: 50%;
}
.homepage-banner .carousel-control {
  width: 0%;
}
.homepage-banner .carousel-indicators {
  margin-bottom: 0px;
  bottom: -3px;
  width: 10%;
  left: 75%;
}
.homepage-banner .carousel-indicators li {
  background: #535353;
}
.homepage-banner .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;
  border: #ccc 1px solid; /*Used for UC Alumni / UCME promotion due to red background*/
}

.carousel-links li.red.donate {margin-top: 13px;}

.homepage-banner .carousel-ucme-link {
	background: url("/static/image/ucme-logo.png") 0px/200px no-repeat;
	width: 202px;
	height: 85px;
	position: absolute;
    left: 68%;
    top: 10%;
}

.homepage-banner .carousel-alumni-link {
	background: url("/static/image/uc-alumni-logo.png") 0px/302px no-repeat;
	width: 302px;
	height: 71px;
	position: absolute;
    left: 67%;
    top: 10%;
}

.homepage-banner .carousel-uc7-link {
	background: url("/static/image/uc7-diagram.png") 0px/200px no-repeat;
	width: 200px;
	height: 200px;
	position: absolute;
    right: 15.5%;
    top: 10%;
}

.homepage-banner .carousel-openday-link {
	background: url("/static/image/uc-open-day-logo.png") 0px/240px no-repeat;
	width: 240px;
	height: 66px;
	position: absolute;
    left: 68%;
    bottom: 65px;
}

.homepage-banner .carousel-donatenow-link {
	background: url("/static/image/donatenow-logo.png") 0px/195px no-repeat;
	width: 195px;
	height: 41px;
	position: absolute;
    left: 70.5%;
    bottom: 65px;
}

.homepage-banner .picture-caption {
    position: absolute;
    z-index: 1;
    right: 20px;
    top: 20px;
    float: right;
    width: fit-content;
}

.homepage-banner .picture-caption p {color: #fff; /*color: #cc1100;*/}

.homepage-banner .banner-social {
  position: absolute;
  z-index: 1;
  right: 15%;
  bottom: 20px;
  border: 0;
  background: rgba(255, 255, 255, 0);
  width: auto;
  height: auto;
}

.homepage-banner .banner-social .social-buttons {
  margin-bottom: 0px;
}

.homepage-banner .banner-social.social-buttons ul {
    list-style-type: none;
    margin-left: 15px;
}	
	
.homepage-banner .banner-social .social-buttons li {
    display: inline;
    margin-right: 1px;
}

/*.homepage-banner .banner-social .fa-facebook-square,
.homepage-banner .banner-social .fa-twitter-square,
.homepage-banner .banner-social .fa-youtube-square,
.homepage-banner .banner-social .fa-instagram,
.homepage-banner .banner-social .fa-snapchat-square,
.homepage-banner .banner-social .fa-linkedin-square {
  color: #fff;
}*/

.homepage-banner .banner-social .fa-facebook-square:hover {
  color: #3b5998;
}
.homepage-banner .banner-social .fa-twitter-square:hover {
  color: #00aced;
}
.homepage-banner .banner-social .fa-youtube-square:hover {
  color: #FF0000;
}
.homepage-banner .banner-social .fa-instagram:hover {
  color: #517fa4;
}
.homepage-banner .banner-social .fa-snapchat-square:hover {
  color: #fffc00;
}
.homepage-banner .banner-social .fa-linkedin-square:hover{
  color: #007bb6;
}

/********Carousel End********/

/********Homepage banner start - 2020********/  
  .container-fluid.homepage-banner {padding-left: 0px; padding-right: 0px; overflow: hidden; position: relative;}
  .homepage-image {display: block;}
  .homepage-mobile-image {display: none;}
  
  .homepage-banner-content {
	position: absolute;
    z-index: 1;
    top: 25px;
  }
    .header-text, .sub-header-text {font-family: Georgia, serif;}

    /*Homepage banner colours, controlled in T4 with select drop down*/
    .homepage-banner .header-text.white, .homepage-banner .sub-header-text.white, .homepage-banner .banner-link.white {color: #fff; }
    .homepage-banner .banner-social.white .fa-facebook-square,
    .homepage-banner .banner-social.white .fa-twitter-square,
    .homepage-banner .banner-social.white .fa-youtube-square,
    .homepage-banner .banner-social.white .fa-instagram,
    .homepage-banner .banner-social.white .fa-snapchat-square,
    .homepage-banner .banner-social.white .fa-linkedin-square {color: #fff;}


    .homepage-banner .header-text.red, .homepage-banner .sub-header-text.red, .homepage-banner .banner-link.red {color: #cc0011; }
    .homepage-banner .banner-social.red .fa-facebook-square,
    .homepage-banner .banner-social.red .fa-twitter-square,
    .homepage-banner .banner-social.red .fa-youtube-square,
    .homepage-banner .banner-social.red .fa-instagram,
    .homepage-banner .banner-social.red .fa-snapchat-square,
    .homepage-banner .banner-social.red .fa-linkedin-square {color: #cc0011; }


    .homepage-banner .header-text.black, .homepage-banner .sub-header-text.black, .homepage-banner .banner-link.black {color: #000; }
    .homepage-banner .banner-social.black .fa-facebook-square,
    .homepage-banner .banner-social.black .fa-twitter-square,
    .homepage-banner .banner-social.black .fa-youtube-square,
    .homepage-banner .banner-social.black .fa-instagram,
    .homepage-banner .banner-social.black .fa-snapchat-square,
    .homepage-banner .banner-social.black .fa-linkedin-square {color: #000; }

    .homepage-banner .header-text.grey, .homepage-banner .sub-header-text.grey, .homepage-banner .banner-link.grey {color: #ccc; }
    .homepage-banner .banner-social.grey .fa-facebook-square,
    .homepage-banner .banner-social.grey .fa-twitter-square,
    .homepage-banner .banner-social.grey .fa-youtube-square,
    .homepage-banner .banner-social.grey .fa-instagram,
    .homepage-banner .banner-social.grey .fa-snapchat-square,
    .homepage-banner .banner-social.grey .fa-linkedin-square {color: #ccc; }

    .homepage-banner .header-text.dgrey, .homepage-banner .sub-header-text.dgrey, .homepage-banner .banner-link.dgrey {color: #656565 }
    .homepage-banner .banner-social.dgrey .fa-facebook-square,
    .homepage-banner .banner-social.dgrey .fa-twitter-square,
    .homepage-banner .banner-social.dgrey .fa-youtube-square,
    .homepage-banner .banner-social.dgrey .fa-instagram,
    .homepage-banner .banner-social.dgrey .fa-snapchat-square,
    .homepage-banner .banner-social.dgrey .fa-linkedin-square {color: #656565 }


    .homepage-banner .header-text.background, .homepage-banner .sub-header-text.background, .homepage-banner .banner-link.background {
      background-color: #0000006b;
      border-radius: 30px;
      padding: 5px;
    }
    
  	.header-text {font-size: 3.5rem; font-size: 35px;}
    .sub-header-text {font-size: 4.4rem; font-size: 44px; font-weight: bold; margin-bottom: 20px; line-height: normal;}
    .homepage-search {padding-left: 0px;}
    .homepage-search .input-group {border: 1px #a8a7a7 solid;}
    .homepage-search .search-input-button {border-radius: 0px !important; border: 0px !important;}
	
	.homepage-search .form-control {
	border: 0px;
	box-shadow: none;
	}
	.homepage-search .form-control:focus {
	  border: 1px #ccc solid;
	  box-shadow: none;
	  -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	  -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	}
		
	
/********Homepage banner end - 2020********/

/**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;*/
  background: #fff;
  position: absolute;
  content: "";
  height: 1000px;
  width: 100%;
  opacity: 0.1;
}

/********News ********/
.container.news {
  margin-top: 0px;
  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: 10px;
  margin-bottom: 5px;
}

.news-block-inner,
.news-1photo,
.news-2photo {
  background: #fff;
  overflow: hidden;
  height: 100%;
  border-bottom: 1px #a8a7a7 solid;
}

.news-block-border {height: 100%; border-left: 1px #a8a7a7 solid; border-right: 1px #a8a7a7 solid;}

.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;
  border-top: 1px #a8a7a7 solid;
}

.news-block-inner.double {border-bottom: 0px;}

.news-two-block-img {background: #fff; border: 1px #a8a7a7 solid;}

/*.news-two-block-img img {height: 100%; max-width: 110%;}*/

.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;
}

/*1 block*/
/*Image 202px H x 255px W*/
.news-two-block-text {
  padding: 5px 14px 5px 14px;
  margin-right: 15px;
  width: 100%;
  float: left;
  background-color: #fff;
  position: absolute;
  bottom: 20px;
  width: auto;
  border: 1px #a8a7a7 solid;
}

.homepage-block h2 {color: #cc0011; margin-top: 10px; margin-bottom: 10px; font-weight: 300;}

.news-block.rssnews .homepage-block h2 {display: none;}
.news-block.rssnews .homepage-block {margin-top: 53px;}

/*#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: 0px;
  margin-top: 8px;
  margin-bottom: 8px;
  display: inline-block;
  padding: 2px 8px 3px 8px;
  white-space: nowrap;
  overflow: hidden;
}
.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;
}

/***Study UC***/
.studying-uc .navbar-inverse {
  background: #cc0011;
  border: 0;
  padding-bottom: 0px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.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;
  border-top: 2px #fff solid;
}
.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;
}

/*Social media*/
.modal-content {
  margin-top: 50%;
}
.uc-modal-content {
    opacity: 1;
	margin-top: 20% !important;
}
/* *************************************** 
   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/image/vid_black.png");
}
.embed-responsive .vidWhiteDiv, .embed-responsive .vidWhiteDiv:hover {
    background-image: url("/static/image/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%;
}

/*Fancybox css*/

.hover-link-image {
	margin-bottom: 0px !important;
	display: block;
}
.hover-link-image img {
	box-shadow: #000 0em 0em 0em;
	transition: opacity .3s;
	width: 100%;
}
	
.hover-link-image {
    background: #111;
    width: 100%;
}

.image-video {
    position: relative;
}
.image-video .fa {
    font-size: 4rem;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 100%;
    text-align: center;
    z-index: 1;
    opacity: .8;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

a:hover .image-video .fa {
    opacity: 1;
}

.fancybox-opened .fancybox-title {padding: 10px;}

@media (min-width: 768px) {
    .image-video .fa {
        font-size: 4rem;
    }   
}


/*Large Desktop*/
@media (min-width: 1400px) {
  .container-fluid.academic #academic-carousel .academic-block {
    height: 205px;
  }
}
/*Wide Desktop*/
@media (min-width: 1200px) {
  .homepage-banner .carousel-image .img-resize, .homepage-image img {
    width: 100%;
    overflow: hidden;
  }
  #event-carousel {
    width: 540px;
  }
  #event-carousel .img-resize {
    height: 390px;
    width: 540px;
  }
  .shuffle .news-block-inner {
    height: 400px;
    overflow: hidden;
  }
  
  .news-block-inner-red {
    height: 390px;
    overflow: hidden;
  }
  .news-one-block-text {
    overflow: hidden;
  }
  .news-one-block-img {
    height: 180px;
    /* fixed height */
    overflow: hidden;
    line-height: 200px;
    width: 100%;
    /* follow bootstrap grid */
    text-align: center;
  }
  
  .shuffle .news-one-block-img {height: 255px;}
  
  .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 banner fix covering faces*/
@media (max-width: 1500px) {

.homepage-search .form-group {margin-bottom: 0px;}
}

/*Desktop*/
@media (max-width: 1200px) {

  .homepage-banner-content {
    position: relative;
    top: 0px;
    left: 0px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    }

    .homepage-search {padding-left: 20px; width: 100%;}

    .homepage-banner .banner-social {
      position: static;
      background: #fff;
      width: 100%;
      text-align: center;
    }
    .homepage-banner .banner-social ul {
      padding-top: 10px;
      margin-bottom: 0px;
      padding-bottom: 10px;
    }
    .homepage-banner .banner-social .fa-facebook-square,
    .homepage-banner .banner-social .fa-twitter-square,
    .homepage-banner .banner-social .fa-youtube-square,
    .homepage-banner .banner-social .fa-instagram,
    .homepage-banner .banner-social .fa-snapchat-square,
    .homepage-banner .banner-social .fa-linkedin-square  {
      color: #cc0011 !important;
    }


  .homepage-banner .carousel-caption {
    position: static;
    background: #cc0011;
    text-align: left;
	width: 100%;
	border: 0px;
  }
  .homepage-banner .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;}
  
  .homepage-banner .carousel-indicators {
    bottom: 41%;
  }
  
  .homepage-banner .carousel-control .glyphicon-menu-left,
  .homepage-banner .carousel-control .glyphicon-menu-right {
    top: 22%;
  }

  .homepage-banner  .carousel-ucme-link {
	background-size: 120px;
	width: 120px;
	height: 50px;
  }  
  .homepage-banner  .carousel-alumni-link {
	background-size: 200px;
	width: 200px;
	height: 47px;
  }  
  .homepage-banner  .carousel-uc7-link {
	background-size: 120px;
	width: 120px;
	height: 120px;
  }  
  
  .homepage-banner  .carousel-openday-link {
	background-size: 200px;
	width: 200px;
	height: 55px;
	top: 30%;
  }  
  .homepage-banner  .carousel-donatenow-link {
	background-size: 195px;
	width: 195px;
	height: 41px;
	top: 35%;
  } 

  .container-fluid.academic #academic-carousel .academic-block {
    height: 200px;
  }
  .container-fluid.academic #academic-carousel .academic-image .img-resize {
  height: 100px;
  }
  
  .homepage-block h2, h2.news {font-size: 1.8rem; font-size: 18px;}
  
  /*.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-block.rssnews .homepage-block {margin-top: 38px;}
  
  /*.news-one-block-text .ellipsis-text, .news-one-block-text span.name {display: none;}*/
  
  
  .shuffle .news-one-block-img {height: 205px;}
  /*.shuffle .news-one-block-text .ellipsis-text {display: none;}*/
  .shuffle .news-one-block-text h3.one-block-red {
	 font-size: 12px;
    font-size: 1.2rem;
  }
  .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-two-block-img img {max-width: 100%; height: auto;}
  
  .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) {
  .homepage-banner .carousel-indicators {
    bottom: 47%;
  }
   
  .homepage-banner .carousel-caption {
	min-height: 110px;
  }
  
  /*.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;
  }  
  
  .shuffle .news-one-block-img {height: 150px;}
  .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*/   
  .homepage-banner .carousel-control .glyphicon-menu-left,
  .homepage-banner .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) {
   .homepage-banner .carousel-indicators {bottom: 53%;}
  
   .homepage-banner  .carousel-ucme-link, .homepage-banner  .carousel-alumni-link, .homepage-banner  .carousel-openday-link, .homepage-banner .carousel-donatenow-link {left: 15%;}   
}

@media (max-width: 820px) {
  .homepage-banner .carousel-indicators {
    bottom: 55%;
  }
}

/*Mobile*/
@media (max-width: 768px) {

	
  .homepage-banner .carousel-image {
    overflow: hidden;
    left: 50%;
    margin-left: -420px;
    margin-right: -80px; /*Tweaked for UCME Banners
	margin-left: -250px;
    margin-right: -250px;*/
  }
  .homepage-banner .carousel-header,
  #carousel .carousel-text {
    text-align: left;
  }
  .homepage-banner .carousel-caption-inner {
    padding: 15px;
	min-height: 115px;
  }
  .homepage-banner .carousel-caption {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .homepage-banner .carousel-control .glyphicon-menu-left,
  .homepage-banner .carousel-control .glyphicon-menu-right {
    top: 16%;
  }

  .homepage-banner  .carousel-uc7-link {
    left: 30%;
  }
  
  .homepage-banner  .carousel-ucme-link, .homepage-banner  .carousel-alumni-link, .homepage-banner  .carousel-openday-link {
    left: 65%;
  }
  .homepage-banner  .carousel-ucme-link {top: 5%;}
  .homepage-banner  .carousel-alumni-link {top: 5%;}
  .homepage-banner  .carousel-openday-link {top: 23%;}
  .homepage-banner  .carousel-donatenow-link {left: 63%; top: 28%;}
  
  .homepage-banner .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 .container {
	padding-left: 0px;
	padding-right: 0px;
  }
  
  
  .studying-uc .studying-uc-text {
    padding: 0px;
  }
  
  .studying-uc .studying-uc-text h1.studying, .studying-uc .navbar-nav li a {text-align: center;}
  
  .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%;
  }
  
  .news-two-block-img img {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;
  }
  
  .news-block.rssnews .homepage-block {margin-top: 0px;}
  
  .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) {

  .homepage-banner .carousel-caption-inner {
	min-height: 170px;
  }
  .homepage-banner .carousel-control .glyphicon-menu-left,
  .homepage-banner .carousel-control .glyphicon-menu-right {
    top: 10%;
  }
  
  .homepage-banner  .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: 110px;}
 
  .container-fluid.academic #academic-carousel .academic-image .img-resize {height: 60px;}
  
}

@media (max-width: 350px) {
    .homepage-banner  .carousel-ucme-link, .homepage-banner  .carousel-alumni-link, .homepage-banner  .carousel-openday-link, .homepage-banner  .carousel-donatenow-link  {
    left: 35%;
  }
}

@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;
  background-color: #fff;
  background: #fff;
}
a,
a:hover,
a:visited {
  color: inherit;
}
.homepage-banner .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: 0px;
  margin-bottom: 0px;
}
h1.studying {
  color: #fff;
  font-size: 3.0rem;
  font-size: 30px;
  font-weight: 300;
  vertical-align: middle;
  margin-top: 0px;
  margin-bottom: 0px;
}
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;
  line-height: 22px;
  line-height: 2.2rem;
  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: 25px;
  font-size: 2.5rem;
  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 {
  font-size: 13px;
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
}

.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***/
.homepage-banner .carousel-header {
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  font-size: 2.0rem;
  text-shadow: none;
  margin-bottom: 5px;
}
.homepage-banner .carousel-header-italic {
  color: #fff;
  font-weight: 400;
  font-style: italic;
}
.homepage-banner .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: #eee;
}
.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;
  font-weight: bold;
  margin-left: 3px;
  margin-right: 10px;
  margin-top: 20px;
  background: #fff;
}
.studying-uc .navbar-nav li a {
  color: #cc0011;
  padding: 8px 18px 8px 13px;
}
.studying-uc .navbar-nav li a:hover {
  color: #000;
}
.studying-uc .navbar-nav li a:focus {
  color: #000;
}
/***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;
}
.homepage-banner .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 .heading.ellipsis-text{
  overflow: hidden;
  height: 60px;
}

.news-block-inner .ellipsis-text{
  overflow: hidden;
  height: 60px;
}
/*.shuffle .news-block-inner .ellipsis-text{
  overflow: hidden;
  height: 42px;
}
.ucme-two-block-text .ellipsis-text{
  overflow: hidden;
  height: 200px;
}

.student-profile .ellipsis-text {
  overflow: hidden;
  height: 62px;
}*/

/***Paragraphs End***/
/***Links Start***/
a:hover,
a:focus {
  text-decoration: none;
}
.news-block a:hover {
  color: #535353;
}
.experience-uc a {
  color: #535353;
  font-weight: 600;
  font-size: 16px;
  font-size: 1.6rem;
  margin-left: 5px;
  margin-right: 5px;
}

.experience-uc a:hover,
.experience-uc a.active {
  color: #cc0011;
  text-decoration: none;
}

/***Links End***/

@media (max-width: 1500px) {

  .homepage-banner-content .header-text, .homepage-banner-content .sub-header-text {
    font-size: 2.8rem;
    font-size: 28px;
    }
  }

@media (max-width: 1200px) {
  .homepage-banner-content .header-text, .homepage-banner-content .sub-header-text {
  text-align: center;
  color: #cc0011 !important;
}
  .carousel-links li.red {background: #ae0311;}
	
  .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 {
  display: none;}
  
  .news-block-inner .heading.ellipsis-text{
	display: block;
    overflow: hidden;
    height: 68px;
  }
}

/*Tablet*/
@media (max-width: 992px) {

  .news-block h3.ucme-red {
    font-size: 25px;
    font-size: 2.5rem;
  }
  .news-block h3.one-block-red {
    font-size: 14px;
    font-size: 1.4rem;
	font-weight: 400;
  }
  .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;
  }
}
/*mobile*/
@media (max-width: 768px) {

  .homepage-image {display: none;}
  .homepage-mobile-image {display: block;}

  .homepage-banner .picture-caption {
    top: 10px;
    left: 10px;
    right: 0px;
    float: left;
  }

  .homepage-banner .header-text, .homepage-banner .sub-header-text {
    font-size: 22px;
    font-size: 2.2rem;
  }

  .homepage-banner .banner-social ul {padding-top: 0px;}
	
  .carousel-links li.red {background: #cc0011;}

  h1.welcome,
  h1.studying {
    font-size: 18px;
    font-size: 1.8rem;
  }
  h1.experience {
    font-size: 4.0rem;
    font-size: 40px;
  }
  h1.studying {
    margin: 10px;
  }
  
  .news-block-border, .news-one-block-img, .news-block-inner {border: 0px;}
  
  .news-one-block-text {border: 1px #a8a7a7 solid;}
  
  .news-block-inner .heading.ellipsis-text{
    height: 20px;
  }
  
  
  .academic-caption h3.academic-carousel {
    font-size: 10px;
    font-size: 1.0rem;
  }
  
  .news-block {
  margin-top: 10px;
  margin-bottom: 10px;
}
  
  .news-block .homepage-block h2 {margin-top: 0px;}
  
  .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;
	margin-right: 3px;
  }
  .studying-uc .navbar-nav li a {
    color: #cc0011;
    background: #fff;
    padding-top: 0px;
    padding-bottom: 0px;
  }

  p.ucnow {
    display: block;
 }
 
  .container.shuffle {Display: none;}

}

/*Small mobile*/
@media (max-width: 400px) {
  .academic-caption h3.academic-carousel {
    font-size: 8px;
    font-size: 0.8rem;
  }
}

/* 404 page styles, they are here as we are using the homepage layout */

.four04-page{padding-top:40px; padding-bottom:40px;}
.four04-page .fa-thumbs-o-down{font-size: 28rem; color: #bbbbbb;}
.four04-page h1, .four04-page h2, .four04-page h3{font-weight:bold; color:#111;}
.four04-page p, .four04-page {color:#333; font-size: 1.6rem; line-height: 24px;}
.four04-page a{color: #cc0011;}
.four04-page ul{margin: 21px 21px;}

/* Search button styling */

#uc-topnav-search button {
	font-weight: 600;
}
#uc-topnav-search button:hover,
#uc-topnav-search button:focus,
#uc-topnav-search button:active{
    background-color: #ae0311;
    color:#ffffff;
}

/******Rec Centre*****/
#form1  #main h1,
#aspnetForm  #main h1
{border-bottom:0px solid #cccccc !important}

