/** 
 * This file should get overwritten if Method 1 is used. If Method 2 is chosen,
 * remove this comment and start adding your styles to this file.
 */
*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }

html {
    position: relative;
    min-height: 100%;
 }
body {
    padding-top: 0px !important;
    margin: 0 0 0px;
    font-size: 16px;
}

a[href]:after { content: ""; /* hide visible URL after links. */ }

.header {
    background: #2C5E91;
    height: 122px;
 }

 .header-block {
    margin-top: 30px;
 }

.header-block #block-search-form {
  margin-bottom: 10px;
}

.header-block #block-block-1 {
  padding-right: 5px;
}

 .header-block .search-query {
    height: 30px;
}

 #primary-nav {
    margin-top: -22px;
    position: relative;
    z-index:500;
 }

 .main-container {
    padding-bottom: 75px;
    
 }

.page-header {
  margin-top: 10px;
  margin-bottom: 10px;
}

[class*='col-'] {
  float: left;
}

.col-2-3 {
  width: 70%;
  padding-top:10px;
}
.col-1-3 {
  width: 30%;
}

.icons {
  float:right;
  width:130px;
} 
 #footer {
  position: absolute;
//    left: 0px;
    bottom: 0px;
    width: 100%;
    padding:20px 10px;
    background: #193552;
}



 #footer .container {
    padding-left: 10px;
    padding-right:10px;
    color: white;
    font-size: 12px;
    width: 1140px;
    max-width: 100%;
    }

#footer p {
    margin: 0 0 0px;
}


.fa {
  padding: 10px;
  font-size: 18px;
  width: 35px;
  text-align: center;
  text-decoration: none;
  margin: 1px 3px;
  float:left;
}


.fa:hover {
    opacity: 0.7;
}

.fa-linkedin {
//  background: #007bb5;
  color: white;
}

.fa-youtube {
//  background: #bb0000;
  color: white;
}

.fa-facebook {
//  background: #3B5998;
  color: white;
}


.navbar {
}

.ugrad-announcement-page .views-row {
  border-bottom: 1px solid #E5E5E5;
}

.waitlist-announcement h3 {
  color: white;
  background: #2C5E91;
  padding: 1px;
  border-radius: 4px;
  text-align: center;
}

.waitlist-announcement p {
  margin-bottom: 0;
}

.waitlist-announcement a {
  color: white;
}


.bordered {
  border: 1px solid #E5E5E5;
  padding: 5px;
}

.highlighted {
 text-align:center;
 margin-top: -25px;
 max-width:95%;
 z-index: -1;
 position: relative;
 border: 1px solid #ccc;
 border-bottom: 2px solid #ccc;
}

.highlighted p {
  margin-bottom: 0px;
}

.front-page-announcements {
  margin-top: -25px;
  border: 0px 1px 1px 1px solid #E5E5E5;
  border-radius: 4px;
  height: 100%;

  background: url('images/banner.png');

  position: relative;
  margin-bottom: 5px;
}

.front-page-announcements p {
  background: #2C5E91;
  border-bottom-left-radius:4px;
  border-bottom-right-radius: 4px;
  color: white;
  text-align: center;
  font-size: 1.341em;
  padding: 5px;

  position:relative;
  top:25px;
 
  width: 100%;

}

/* Landing Pages Panels */
.top-content {
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 10px;
}

.landing-sidebars .panels-ipe-portlet-wrapper,
.about-sidebar .panels-ipe-portlet-wrapper,
.grad-sidebar .panels-ipe-portlet-wrapper,
.rr-info .panels-ipe-portlet-wrapper,
.quick-links,
.dls-upcoming-panel,
.region-sidebar-second #block-block-15,
#block-views-knowledge-base-block-1 {
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 5px;
  background: #F5F5F5;
  margin-bottom: 10px;
}

.chairs-welcome  {
  border: 1px solid #E5E5E5;
  //border-radius: 4px;
  padding: 5px;
  background: #F5F5F5;
  margin-bottom: 10px;
  margin-top: 10px; 
  height: 350px;
}

.chairs-welcome .pane-title {

  background: #2C5E91;
  margin-right:-10px;
  margin-left: -10px;
  //border-radius: 4px;
  padding: 5px;
  color: white;



}

.chairs-welcome .pane-content {
  padding: 10px;


}


.quick-links-pane .pane-content {
  height: 190px;
  border: 1px solid #E5E5E5;
  //border-radius: 4px;
  padding: 5px;
  background: #F5F5F5;
  margin-bottom: 10px;

}

.theme-default .nivo-controlNav {
  padding: 10px 0;

}
.quick-links {
  margin-top:10px;
}

.banner-slider {
  margin-top:10px;
}

.pane-news-block .field-name-post-date {
  
  background-color: #2C5E91;
  color: white;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.2em;
  display: inline-block;
  //margin: 12px 0 0;
  padding: 5px 10px;
  text-transform: uppercase;
  width: 50px;
  text-align: center;


}

.newsblock_date .field-name-title  {

  display: block; 
  float: none;

}

.pane-news-block .field-name-title {
min-height:4em;
} 

.pane-news-block .group-left {
width:80%;
}

.pane-news-block .group-right {
width:20%;
}

.panels-flexible-region-frontpage_v3-news_more-inside  .pane-content p { text-align-last:right; padding:10px; }

.read_more {
  background-color: #ffe800;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin: 12px 0 0;
  padding: 8px 15px;
  text-transform: uppercase;

}

a.read_more:hover {
  background-color: #3284bf;
  color: #fff;
  text-decoration: none;

}

.newsblock .pane-content {
  border-bottom: 1px solid #E5E5E5;
  border-left: 1px solid #E5E5E5;
  border-right: 1px solid #E5E5E5;
  height: 240px;

}

.landing-sidebars .panel-separator {
  margin: 0;
}

.landing-sidebars .pane-title,
.grad-sidebar .pane-title,
.about-sidebar .pane-title,
.quick-links .pane-title,
.rr-info .pane-title,
.dls-upcoming-panel .pane-title,
.region-sidebar-first #block-block-15 .block-title,
#block-views-knowledge-base-block-1  .block-title {
  background: #2C5E91;
  margin-right:-10px;
  margin-left: -10px;
  border-radius: 4px;
  padding: 5px;
  color: white;
}




.about-sidebar .pane-content {
  padding: 0 5px;
}

.region-sidebar-first {
  padding: 19px 0;
}

.dls-upcoming-panel .pane-title {
  margin-left: -15px;
}

.region-sidebar-second #block-block-15 .block-title {
  margin-top: 10px;
}

.dls-past-view td {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  width: 30%;
}

.ugrad-course-landing-schedule,
.ugrad-course-landing-schedule-ud,
.ugrad-course-landing-schedule-pic,
.grad-course-landing-schedule{
  display: none;
}


/* End Landing*/

.breadcrumb {
    background: none !important;
    margin-bottom: 0px !important;
    padding: 8px 0px !important;
}

.breadcrumb a {
}

.ugrad-faq .ugrad-faq-question {
 cursor: pointer;
}

.ugrad-faq .ugrad-faq-answer {
  display: none;
}

.ugrad-faq .views-row,
.kb .views-row {
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  background: #F5F5F5;
  margin-bottom: 10px;
  padding: 5px;
}

.ugrad-faq .caret {
  margin-top: 6px;
}

.kb .views-field-changed,
.kb .views-field-body {
  font-size: 0.9em;
}

.kb-block th {
  font-size: 0.75em;
}

.node-knowledge-base-article .field-name-field-kb-tags {
  margin-bottom: 10px;
}


.pane-undergraduate-opportunities-announcements,
.pane-graduate-news {
  border: 1px solid #E5E5E5;
  padding: 5px;
  border-radius: 4px;
}

.centered-pills { text-align:center; }
.centered-pills ul.nav { margin-bottom: 10px; }
.centered-pills ul.nav-pills { display:inline-block; }
.centered-pills li { display:inline; }

.changedirection {
  unicode-bidi: bidi-override;
  direction: rtl;
  text-align: left;

  -moz-user-select: none; 
  -khtml-user-select: none; 
  -webkit-user-select: none; 
  -o-user-select: none; 
}


.news .views-row {
  border-bottom: 1px solid #ccc;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 105px;
  height: auto !important;
  height: 105px;
  overflow: hidden;
}

.news .views-row-last {
  border-bottom: 0;
}

.news .views-row-first {
  padding-top: 0px;
  padding-bottom: 0px;
}

.news .views-row img {
  border: 1px solid #999;
  margin-right: 5px;
}

.news .news-block-footer,
.ugrad-announcement-footer {
  background: #2C5E91;
  padding: 5px;
  border-radius: 4px;
}


.news .news-block-footer a,
.ugrad-announcement-footer a {
  color: white;
}
 

.dls-view .dls-lecture {
  padding-bottom: 15px;
  border-bottom: 1px solid #999;
}

.dls-view .views-row-last {
  padding-bottom: 0px;
  border-bottom: 0px;
}

.tentschedule {
}

.tentschedule .view-grouping-header {
  margin: 10px 0;
  font-weight: bold;
  font-size: 1.1em;
  /*border-bottom: 1px solid #999;*/
  cursor: pointer;
}

.tentschedule .view-grouping-content {
  display: none;
}

.tentschedule .caret {
  margin-top: 6px;
}


.tentschedule .view-grouping-content table,
.tentschedule .view-grouping-content tr,
.tentschedule .view-grouping-content td {
  min-width: 30%;
}

.tentschedule .view-header .row-fluid {
  font-weight: bold;
}

.tentschedule .view-grouping {
  background: #F5F5F5;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid #E3E3E3;
  border-radius: 4px;
}

.tentschedule caption {
  display: none;
}


h1 { font-size: 1.925em; }
h2 { font-size: 1.575em; }
h3 { font-size: 1.225em; }
h4 { font-size: 1.094em; }
h5 { font-size: 0.875em; }
h6 { font-size: 0.744em; }

.ugrad-tentative .view-grouping-header, .grad-tentative .view-grouping-header { display: none; }
.ugrad-tentative caption, .grad-tentative caption { text-align: left; font-weight: bold }

.dropdown-backdrop { position: static !important; }

.caption {
  /*background: #2C5E91;*/
  border: 1px solid #666;
  margin-right: 10px;
  margin-bottom: 10px;
  float: left;
  text-align: center;
  max-width: 100%;

}

.caption img {
  border: 1px solid #666;
}

.caption p {
  padding: 5px;
  margin-bottom: 0px;
  text-align: center;
  color: #fff;
  background: #2C5E91;
}

hr {
  margin: 10px 0 !important;
}

#block-edit-edit {
    display: none;
}

.pane-content .view-undergraduate-opportunities-announcements,
.pane-content .view-graduate-news {
  margin-top: -25px;
}

.new-window {
  background-color: transparent;
  background-image: url('../assets/img/new_window.png');
  background-position: 100% 50%;
  background-repeat: no-repeat;
  padding-right: 20px !important;
}

@media (min-width: 980px) {
    body.toolbar-drawer {
        padding-top: 65px !important;
    }

   .news .views-row div.span2 {
     margin-right: 8px !important;
   }

   .region-sidebar-second .alumni-block {
     margin-top:25px;
   }
}

@media (min-width: 768px) and (max-width: 979px) {
    body.toolbar-drawer {
        padding-top: 85px !important;
    }

    #primary-nav {
        margin-top: 0px;
    }

   .news .views-row div.span2 {
     margin-right: 8px !important;
   }

   .region-sidebar-second .alumni-block {
     margin-top:25px;
   }
}

@media (max-width: 767px) {
    body.toolbar-drawer {
        padding-top: 109px !important;
    }

    #primary-nav {
        margin-top: 0px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .navbar-inner {
        border-radius: 0 !important;
        -moz-border-radius: 0 !important;
    }

    #footer {
        position: relative !important;
        margin: 0 -20px;
        margin-bottom: -300px;
        width: auto !important;
    }

   .tentschedule caption {
      display: block;
      font-weight: bold;
   }

  .front-page-announcements {
    margin-top: -20px;
 
    height: auto !important;
    background: none !important;

    position: relative;
  }

  .front-page-announcements p {

    border: 1px 1px 1px 1px solid #E5E5E5;
    border-radius: 4px;

    float: none;
    text-align: center;
    font-weight: bold;
  
    padding: 15px;
    margin-bottom: 0;
    width: auto;
    height: auto;
  }
}

@media (max-width: 317px) {
    body.toolbar-drawer {
        padding-top: 309px !important;
    }
}

/**   Awards page CSS   **/

@media (min-width: 1200px) {
   
    .top-right-awards li {

	padding-top:13px;
    }

    .middle-awards h2 {

	margin:0 0 8px 0;

    }	

    .middle-right-awards li {

    padding-bottom:20px;

   }
    
    .top-awards-region {

    padding-bottom:0px !important;

    }

    .bottom-left-awards p {

    padding-bottom:20px;

   }

}

@media (min-width: 980px) and (max-width:1199px) {

   .top-right-awards li {

   padding-top:12px;

  }

   .middle-right-awards li {
   
   padding-top:7px;
  }

   .top-left-awards li,.bottom-left-awards h4 {
	
	clear:both;
   }

   .middle-region-two img {

   display:inline;
   float:left;
   max-width:700px;
   margin:0 10% 0 7%;     

   }

}
	

.top-left-awards h1, .top-left-awards h2, .middle-region-two h2 {

    color:#5c3570;

    }

.top-left-awards ul {

    list-style-type:square;

    }

.middle-awards {

    background-color:#efe8ef;

}

.middle-right-awards h4, .middle-awards h2, .middle-region-right h2 {
	
    color:#547ead !important;

}

.bottom-left-awards h2, .bottom-left-awards h3, .middle-region-two h4, .top-right-awards h3 {
   
    color:#547ead;
    

}

.botton-left-awards h2, .bottom-right-awards h2, .bottom-right-awards h3 {

    color:#5c3570 ; 

}

.top-left-awards li {

    padding-bottom:10px;

}

.top-right-awards li, .middle-region-right li, .top-left-awards li, 
.middle-region-two li{

    list-style:square inside 
url("http://www.math.ucla.edu/sites/default/files/pictures/blue-box.gif");

}

.bottom-awards-row, .bottom-row-two {

    background-color:#f3f5ea;

}

.awards-shrink-text ul {

    padding-top:10px;

}


@media (min-width: 0px) and (max-width:500px)  {

.awards-shrink-text, .awards-shrink-text li {

    font-size:8px;
    line-height:2;

}
}


@media (min-width: 501px) and (max-width:650px)  {

.awards-shrink-text, .awards-shrink-text li {

    font-size:10px;
    line-height:2;

}
}


@media (min-width: 651px) and (max-width:979px)  {

.awards-shrink-text, .awards-shrink-text li {

    font-size:12px;
    line-height:2;

}
}


@media (min-width: 980px) and (max-width:1199px)  {

.awards-shrink-text, .awards-shrink-text li {

    font-size:15px;
    line-height:1.3;

}
}

@media (min-width:0px) and (max-width:979px) {

    .middle-region-two img {

       float:left;

}
}


@media (min-width:1200px) {

    .middle-region-two img{

     display:inline;  
     float:right;
     max-width:700px;
     margin:0 0 0 0;         	

}

    .middle-region-two h4, .middle-region-two figure {

     margin:0;
     max-width:700px;
     

}

    .awards-two-float-left {

    float:left;

}
    .middle-region-two figure {

    display:inline;

}


}


@media (min-width:768px) {
      .middle-region-two h4 {

      clear:both;


}
}

/** Women in Math CSS **/

.women-in-math h1, .women-in-math h4 {
    color:#5c3570;
}

/** Awards Page 2018 **/


.awards-2018 h2
{
	color:#5c3570;
}

.awards-2018 h1
{
	color:#547ead;
}

.awards-2018 li
{
	list-style:square inside url("http://www.math.ucla.edu/sites/default/files/pictures/blue-box.gif");
}

.awards-2018 .awards-image-float-right
{
	width:100%;
	max-width:800px;
	height:auto;
	display:inline;
	float:right;
}

@media (min-width:980px) and (max-width:1199px) {
	.awards-image-float-right{
	margin: 0px 80px 0px 80px;
}
}

@media (min-width:980px)  {

.awards-text-max-size 
{
	display:inline;
}
}

@media (min-width:1199px) {

.awards-faculty-image-float-left 
{
   width:100%;
   max-width:610px;
   height:auto;
   display:inline;
   float:left;
   margin-right:30px;
}

.awards-faculty-figcaption-float-left
{
   width:100%;
   height:auto;
   display:inline;
   float:left;

}

.faculty-awards-text
{
    display:inline;       
	
}

.faculty-awards-li 
{
	padding-bottom:35px;
}

.awards-text-max-size li
{
	max-width:340px;
	margin:0;
	padding:0;
}

.awards-text-max-size li, .awards-text-max-size-last li
{
	padding-bottom:35px;
}

.awards-2018 .awards-image-float-left-last
{
   width:100%;
   max-width:750px;
   height:auto;
   display:inline;
   float:left;
   margin-right:30px;
}

.undergraduate-awards-li
{
  padding-bottom:25px;
}

}

	