@import url('bootstrap-custom-override.css');
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,700);
@import  url(//fonts.googleapis.com/css?family=Open+Sans+Condensed:300);

/*	Replace the left-side values with hexadecimal colors, throughout the file below.

	Color Key:

	@brand-primary					= baseline color (from which to calculate other colors by)
	@link-hover-color 				= 15% darker than @brand-primary
	@btn-hover 						= 10% darker than @brand-primary
	@btn-primary-border 			= 5% darker than @brand-primary
	@btn-hover-border 				= 20% darker than @brand-primary
	@list-group-active-text-color 	= 40% lighter than @brand-primary

	You can auto-generate these values (and this file), but choosing a custom color in the stock layout editor.

*/

/* gutters and body gradient override */
body{background-color:#ffffff;}

/* typography */

body,a {font-family:'Open Sans',sans-serif;}
body {color: #333;}

a{color:@brand-primary; }
a:hover,a:focus{color:@link-hover-color}
.text-primary{color:@brand-primary}
a.text-primary:hover,a.text-primary:focus{color:@btn-hover}
.bg-primary{background-color:@brand-primary}
a.bg-primary:hover,a.bg-primary:focus{background-color:@btn-hover}

/* tables */
.table .table{background-color:@brand-primary}

/* buttons */
.btn-primary{background-color:@brand-primary;border-color:@btn-primary-border; font-size: .85em}
.btn-primary:focus,.btn-primary.focus{background-color:@brand-primary}
.btn-primary:hover{background-color:@btn-hover;border-color:@btn-hover-border}
.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-color:@btn-hover;border-color:@btn-hover-border}
.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus,.btn-primary:active.focus,.btn-primary.active.focus,.open>.dropdown-toggle.btn-primary.focus{background-color:@brand-primary}
.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled.focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary.focus{background-color:@brand-primary;border-color:@btn-primary-border}
.btn-primary .badge{color:@brand-primary}
.btn-link{color:@brand-primary}
.btn-link:hover,.btn-link:focus{color:@link-hover-color}

/* dropdowns */
.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{background-color:@brand-primary}

/* navs */
.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{border-color:@brand-primary}
.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{background-color:@brand-primary}
.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:@brand-primary}
.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{background-color:@brand-primary}
.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:@brand-primary}

/* paginations */
.pagination>li>a,.pagination>li>span{color:@brand-primary}
.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:@link-hover-color}
.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{background-color:@brand-primary;border-color:@brand-primary}

/* labels */
.label-primary{background-color:@brand-primary}
.label-primary[href]:hover,.label-primary[href]:focus{background-color:@btn-hover}

/* thumbnails */
.img-thumbnail{background-color:@brand-primary}
.thumbnail{background-color:@brand-primary}
a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:@brand-primary}

/* progress bars */
.progress-bar{background-color:@brand-primary}

/* list groups */
.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:@brand-primary}
.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{background-color:@brand-primary;border-color:@brand-primary}
.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:@list-group-active-text-color}

/* panels */
.panel{box-shadow:none}
.panel-primary{border-color:@brand-primary}
.panel-primary>.panel-heading{background-color:@brand-primary;border-color:@brand-primary;background-image:none;)}
.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:@brand-primary}
.panel-primary>.panel-heading .badge{color:@brand-primary}
.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:@brand-primary}

/* header / footer */
header{background-image:linear-gradient(to bottom,#ffffff 20%,#d9d9d9 100%);box-shadow:0px 0px 5px rgba(0,0,0,0.8)}
footer{background-image:linear-gradient(to top,#ffffff 20%,#d9d9d9 100%);border-top:none;}

/* breakpoints */
@media(min-width:768px){.container{width:750px}}
@media(min-width:992px){.container{width:970px}}
@media(min-width:1200px){.container{width:1170px}}

#pagenav{box-shadow:0px 0px 5px rgba(0,0,0,0.8)}

/*******************************/
/* Override TDS styles */
main{box-shadow: none !important;}

#pagebodysidebar .sidebar-nav {
    box-shadow: none;
    border: none;
    background: #f5f5f5;
}

#pagebodysidebar .sidebar-nav>li {
    border-bottom: 1px solid rgba(0,0,0,.1);
}

#pagebodysidebar .sidebar-nav>li>a:hover {
    background: #eee;
}

#announcements-frame .announcements-top {
    background: #ddd;
    padding: 5px 10px;
    font-size: 1em;
    font-weight: 700;
    color: #333;
    text-align: left !important;
    text-transform: uppercase;
}

#controls {
    background: #ddd;
    color: #333;
    padding: 5px;
}

.panel-primary {
    border-color: #ddd;
}

.panel-primary>.panel-heading {
    background-color: rgba(0,0,0,.8);
    border-color: rgba(0,0,0,.8);
    text-transform: uppercase;
    font-weight: 700;
  }

#pagebodycontentpageactions {
  margin-bottom: 10px;
}

.form-control:focus {
    border-color: #cc0000;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(204, 0, 0, 0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(204, 0, 0, 0.6);
}

.alert-info {
    background-color: rgba(204,0,0,.01);
    border-color: rgba(204,0,0,.1);
    color: #8F3131;
}

.btn-primary:hover {
    border-color: #5A0A0A;
}

.bg-info {
    background-color: rgba(204,0,0,.02);
}

/******************************/
/* University of Utah Styles */

.uu-header {
	background-image: url("https://apply.learningabroad.utah.edu/_customtags/ct_FileRetrieve.cfm?File_ID=879");
 	position: relative;
  	background-repeat: repeat-y;
  	background-position: center center;
	min-height: 150px;
}

.uu-header-logo {
    margin-left: -3000px;
    margin-top: 20px;
    padding-left: 3000px;
    width: auto;
    background-color: rgb(204, 0, 0);
    float: left;
    overflow: hidden;
  }

.uu-header-logo a:active, .uu-header-logo a:focus, .uu-header-logo a:hover {
    background-color: #bd0000;
    max-width: 100%;
  }

.uu-header-logo a {
    background-color: #C00;
    color: #fff;
    display: block;
    height: 82px;
    float: left;
  }

.uu-header-title {
  color: #fff;
  font-family: 'Open Sans Condensed';
  letter-spacing: 0;
  padding: .5em 0 20px;
  text-shadow: 2px 2px #000;
}

.uu-header-title h2 {
  margin: 10px 0px 15px;
  line-height: 0em;
}

.uu-header-title h1 a, .uu-header-title h2 a {
  font-weight: 300 !important;
  font-family: 'Open Sans Condensed' !important;
}

.uu-header-title h1 a {
  font-size: 33.88px !important;
}

.uu-header-title h2 a {
  font-size: 19px !important;
}

.uu-header-title a:link, .uu-header-title a:visited {
  color: #fff;
}

.uu-header-title a:hover {
  text-decoration: none;
}

.uu-header-title a:active, .uu-header-title a:focus, .uu-header-title a:hover {
  background-color: rgba(51,51,51,.25);
  color: #fff;
}

.uu-footer {
  background-color: #333;
  bottom: 0;
  color: #fff;
  font-size: 10px;
  line-height: 1.35em;
  padding: 2em 0;
  position: relative;
  text-transform: uppercase;
  margin-top:1em;
}

.uu-footer a {
  color: #fff;
  text-decoration: underline;
  font-size: 10px !important;
  text-decoration: none;
}

.uu-footer a:hover {
  text-decoration: underline;
}

.uu-footer h1, .uu-footer h2, .uu-footer h3, .uu-footer h4, .uu-footer h5, .uu-footer h6 {
  margin: 0 0 .7em 0;
  font-size: 1.25em;
  font-weight:700;
}

@media (max-width: 767px) {
  .uu-header > .container {
      padding: 0px;
      background-color: rgb(204, 0, 0);
  }
}

/* Home page banner */

.white{
  color:#fff !important;
}


@media (max-width: 767px) {
  .box {
    width:100%;
    text-transform: uppercase;
    float:left;
    color:#fff;
    text-align: center;
    display:block;
    text-decoration: none;
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .welcome {
    font-size:1.25em;
    text-align: center;
    font-weight: 700;
  }
}

@media (min-width: 768px) {
  .box {
    width:49%;
    text-transform: uppercase;
    float:left;
    color:#fff;
    text-align: center;
    display:block;
    text-decoration: none;
    font-size: 1.25em;
    font-weight: bold;
  }
    .welcome {
    font-size:1.5em;
    text-align: center;
    font-weight: 700;
  }
}

.inside-box {
  border:1px solid #fff;
  margin:10px;
  padding:10px;
  min-height: 150px;
  line-height: 150px;
}

.inside-box span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  font-size: 1.5em;      
}

.ribbon-wrapper {
  position:relative;
  z-index:1;
}
.ribbon {
  font-size: 20px !important;
  width: 70%;
  position: relative;
  /* background: #43c1c3; */
  background: #149494;
  color: #fff;
  text-align: center;
  padding: .8em 1.5em; 
  margin: 1em auto 2em; 
}
.ribbon:before, .ribbon:after {
  content: "";
  position: absolute;
  display: block;
  bottom: -1em;
  /* border: 1.5em solid #149494; */
  border: 1.5em solid #107878;
  z-index: -1;
}
.ribbon:before {
  left: -2em;
  border-right-width: 1.5em;
  border-left-color: transparent;
}
.ribbon:after {
  right: -2em;
  border-left-width: 1.5em;
  border-right-color: transparent;
}
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
  content: "";
  position: absolute;
  display: block;
  border-style: solid;
  /*border-color: #58585a transparent transparent transparent;*/
  border-color: #094242 transparent transparent transparent;
  bottom: -1em;
}
.ribbon .ribbon-content:before {
  left: 0;
  border-width: 1em 0 0 1em;
}
.ribbon .ribbon-content:after {
  right: 0;
  border-width: 1em 1em 0 0;
}


/*  SECTIONS  */
.section {
  clear: both;
  padding: 0px;
  margin: 0px;
}

/*  COLUMN SETUP  */
.col {
  display: block;
  float:left;
  margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

/*  GRID OF FIVE  */
.span_5_of_5 {
  width: 100%;
}
.span_4_of_5 {
  width: 79.68%;
}
.span_3_of_5 {
  width: 59.36%;
}
.span_2_of_5 {
  width: 39.04%;
}
.span_1_of_5 {
  width: 18.72%;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
  .col {  margin: 1% 0 1% 0%; }
  .span_1_of_5, .span_2_of_5, .span_3_of_5, .span_4_of_5, .span_5_of_5 { width: 100%; }
}