/* Website template by freewebsitetemplates.com */

/* Spacing Control Variables 
   Adjust these values to control spacing:
   - alumni-bottom-spacing: Controls space below the alumni list
   - research-areas-top-spacing: Controls space above "Active Research Areas"
   Examples: 10px (small), 20px (medium), 40px (large)
*/
:root {
    --alumni-bottom-spacing: 20px;
    --research-areas-top-spacing: 30px;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Regular.eot');
    src: local('â˜º'), url('../fonts/OpenSans-Regular.woff') format('woff'), url('../fonts/OpenSans-Regular.ttf') format('truetype'), url('../fonts/OpenSans-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Play';
    src: url('../fonts/Play-Regular.eot');
    src: local('â˜º'), url('../fonts/Play-Regular.woff') format('woff'), url('../fonts/Play-Regular.ttf') format('truetype'), url('../fonts/Play-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
    background-color: #fff;
    font-family: 'OpenSans';
    margin: 0;
}
img {
    border: 0;
}
.clearfix:after, #contents:after {
    clear:both;
    content:"";
    display:block;
    height:1%;
    line-height:0;
    visibility:hidden;
}
.btn {
    background: url(../images/bg-button.png) no-repeat;
    background-position: 0 -70px;
    color: #fff;
    display: inline-block;
    font: 24px/60px 'OpenSans';
    height: 60px;
    width: 230px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}
.btn:hover {
    background-position: 0 0;
}
/*------------------------------ HEADER ------------------------------*/
#header {
    background-color: #eee;
    border-bottom: 1px solid #e6e6e6;
    padding: 27px 0;
}
#header > div, #footer > div {
    width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
/** Logo **/
#header .logo {
    float: left;
    margin-right: 20px;
}
#header .logo a {
    background: url(../images/ucsclogo.png) no-repeat center top;
    color: #000;
    display: block;
    font: 15px/30px 'Play';
    height: 20px;
    width: 76px;
    padding-top: 68px;
    text-decoration: none;
    text-transform: uppercase;
}
/** Navigation **/
#navigation {
    display: inline-block;
    list-style: none;
    line-height: 10px;
    margin: 10px;
    padding: 0;
}
#navigation ul {
    display: inline-block;
    list-style: none;
    margin: 10px;
    padding: 0;
}
#navigation li {
    float: left;
    width: 120px;
    text-align: left;
}
#navigation li a {
    color: #818181;
    font-size: 18px;
    line-height: 10px;
    text-decoration: none;
}
#navigation li a:hover {
    color: #000;
}
#navigation li.active a {
    color: #1f72ef;
}
#navigation button.active a {
    color: #1f72ef;
}


#adbox {
    background: url(../images/bg-adbox.jpg) repeat-x left top;
    height: 380px;
    padding: 60px 0;
}
#adbox > div {
    width: 800px;
    margin: 0 auto;
    padding: 0 80px;
}
#adbox > div img {
    float: right;
    margin-left: 60px;
}
#adbox h1, #adbox h2 {
    color: #2c2c2c;
    font-size: 60px;
    line-height: 60px;
    margin: 0;
    text-transform: uppercase;
}
#adbox h2 {
    font-size: 30px;
    line-height: 36px;
    text-transform: none;
}
#adbox p {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}
#adbox p span {
    display: block;
    font-size: 12px;
    width: 360px;
    padding: 24px 0;
    text-align: center;
}
#adbox p span b {
    font-weight: normal;
    display: block;
    width: 256px;
}
/*------------------------------ CONTENTS ------------------------------*/
#contents {
    min-height: 600px;
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0px;
}
h1 {
    color: #3e3e3e;
    font-size: 30px;
    font-weight: normal;
    line-height: 30px;
    margin: 0 0 30px;
}
h2 {
    color: #2c2c2c;
    font-size: 24px;
    font-weight: normal;
    line-height: 24px;
    margin: 0 0 12px;
}
p {
    color: #585858;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 10px;
}
p a {
    color: #993300;
}
p a:hover {
    color: #000;
}
li a {
    color: #484848;
    line-height: 24px;
}
li a:hover {
    color: #000;
}
td {
    color: #484848;
}
td a {
    color: #484848;
}
td a:hover {
    color: #000;
}
#tagline h1 {
    margin-left: 20px;
}
#tagline > div {
    float: left;
    width: 400px;
    margin: 0 10px;
}
#contents .photo {
    float:left;
    width: 350px;
    margin: 0 auto;
    color: #585858;
    font-size: 12px;
}
.photo > a {
    color: #585858;
    font-size: 12px;
}
.photo > div {
    display: inline-block;
    margin: 0 0 0px;
}
.photo > div img {
    float: left;
    margin-right: 50px;
    margin-top: 0px;
}
#contents .info {
    float:left;
    width:650px;
    height:100%;
}
#contents .research {
    float:left;
    width:650px;
    height:100%;
}
#contents .recent-news {
    width: 1000px;
    margin: 0 auto;
}
.recent-news > ul {
    margin: 0;
    color: #585858;
    font-size: 16px;
}
#contents .selected-publications {
    width: 1000px;
    margin: 0 auto;
}
.selected-publications > ul {
    margin: 0;
    color: #585858;
    font-size: 16px;
}
.news li {
    list-style: none;
    margin: 0;
}
.news-time{
    font-size: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.news-item{
    padding-left: 20px;
}
.people-table td{
    padding-right: 20px;
    padding-top: 0;
}
.td-heading{
    padding-bottom: 0px;
    padding-top: 0;
    font-size: 20px;
}
.class-title {
    font-size: 20px;
}
/*
 
 #contents .features {
	width: 1000px;
	margin: 0 auto;
 }
 .features > div {
	display: inline-block;
	margin: 0 0 30px;
 }
 .features > div img {
	float: left;
	margin-right: 20px;
	margin-top: 36px;
 }
 .date {
	float: left;
	height: 78px;
	width: 70px;
	margin-right: 20px;
	border: 1px solid #d5d5d5;
	text-align: center;
 }
 .date p {
	margin: 12px 0 0;
 }
 .date p span {
	display: block;
	font-size: 30px;
	margin-bottom: 6px;
 }
 .author {
	color: #585858;
	display: block;
	font-size: 12px;
 }
 .more {
	background-color: #727272;
	color: #fff;
	display: inline-block;
	font-size: 14px;
	line-height: 30px;
	width: 100px;
	text-align: center;
	text-decoration: none;
 }
 .more:hover, .message input[type='submit']:hover {
	background-color: #f99600;
	color: #000;
 }
 */
/** main **/
/*
 .main {
	float: left;
	background: url(../images/divider.png) repeat-y right top;
	min-height: 100px;
	width: 620px;
	padding-right: 24px;
 }
 .main h1, .sidebar h1 {
	margin: 0 0 12px;
	position: relative;
	top: -18px;
 }
 .main h2 span {
	display: block;
	font-size: 12px;
 }
 */
/** sidebar **/
/*
 .sidebar {
	float: left;
	min-height: 848px;
	width: 216px;
	margin-left: 20px;
 }
 .sidebar ul, .news {
	list-style: none;
	margin: 0;
	padding: 0;
 }
 .news li {
	border-top: 1px solid #d5d5d5;
	padding: 24px 30px 0 100px;
	position: relative;
 }
 .news li .date {
	float: none;
	position: absolute;
	left: 0;
	top: 30px;
 }
 .news li > p span, .post > span {
	display: block;
	text-align: right;
 }
 .posts {
	border-top: 1px solid #d5d5d5;
 }
 .posts li {
	border-bottom: 1px solid #d5d5d5;
	padding: 24px 10px 0;
 }
 .posts li p {
	font-size: 14px;
 }
 .posts li .title {
	font-size: 16px;
	font-weight: normal;
	margin: 0 0 12px;
 }
 .posts li .title a {
	color: #2c2c2c;
	font-size: 16px;
	text-decoration: none;
 }
 .post {
	width: 785px;
	margin: 0 auto;
 }
 .post h1 {
	padding-top: 12px;
 }
 #about {
	width: 740px;
	margin: 0 auto;
 }
 #about h1, .section h1 {
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 12px;
 }
 .section {
	float: left;
	width: 390px;
	margin-right: 50px;
 }
 .section h1 {
	margin-bottom: 18px;
 }
 .message input[type='text'], .message textarea {
	color: #aeaeae;
	font-size: 13px;
	height: 33px;
	line-height: 33px;
	width: 380px;
	border: 1px solid #d5d5d5;
	margin: 0 0 6px;
	padding: 0 4px;
 }
 .message textarea {
	height: 175px;
	overflow: auto;
	resize: none;
 }
 .message input[type='submit'] {
	float: right;
	background-color: #818181;
	color: #d5d5d5;
	cursor: pointer;
	font: 13px/30px Arial, Helvetica, sans-serif;
	height: 30px;
	border: 0;
	margin: 0;
	padding: 0 10px;
 }
 .contact {
	background-color: #f8f8f8;
	width: 270px;
	padding: 124px 60px;
	text-align: center;
 }
 .contact p span {
	color: #2c2c2c;
	display: block;
	font-size: 30px;
	line-height: 36px;
	padding: 18px 0;
 }
 */
/*------------------------------ PUBLICATION ------------------------------*/
.publication li{
    /*	font-weight: bold;*/
    color: #585858;
    font-size: 16px;
}
.bib-venue{
    font-style: italic;
    color: #585858;
    font-size: 16px;
}
.award {
    color: #ff0000
}
/*------------------------------ FOOTER ------------------------------*/
#footer {
    background-color: #eee;
    border-top: 1px solid #d8d8d8;
    padding: 10px 0;
}
#footer p {
    font-size: 12px;
    line-height: 10px;
    padding-left: 10px;
}
#footer td {
    font-size: 12px;
}
#connect {
    float: right;
    display: inline-block;
    margin-right: 30px;
}
/*
 #connect a {
	background: url(../images/icons.png) no-repeat;
	display: inline-block;
	height: 30px;
	width: 30px;
	margin: 0 10px;
 }
 #connect a.googleplus {
	background-position: 0 -40px;
 }
 #connect a.twitter {
	background-position: 0 -80px;
 }
 #connect a.tumbler {
	background-position: 0 -120px;
 }
 #connect a.facebook:hover {
	background-position: -40px 0;
 }
 #connect a.googleplus:hover {
	background-position: -40px -40px;
 }
 #connect a.twitter:hover {
	background-position: -40px -80px;
 }
 #connect a.tumbler:hover {
	background-position: -40px -120px;
 }
 */
 .slider-holder
 {
	width: 800px;
	height: 400px;
	background-color: yellow;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	text-align: center;
	overflow: hidden;
 }
       
 .image-holder
 {
	width: 2400px;
	background-color: red;
	height: 400px;
	clear: both;
	position: relative;
           
	-webkit-transition: left 2s;
	-moz-transition: left 2s;
	-o-transition: left 2s;
	transition: left 2s;
 }
       
 .slider-image
 {
	float: left;
	margin: 0px;
	padding: 0px;
	position: relative;
 }
       
 #slider-image-1:target ~ .image-holder
 {
	left: 0px;
 }
       
 #slider-image-2:target ~ .image-holder
 {
	left: -800px;
 }
       
 #slider-image-3:target ~ .image-holder
 {
	left: -1600px;
 }
       
 .button-holder
 {
	position: relative;
	top: -20px;
 }
       
 .slider-change
 {
	display: inline-block;
	height: 10px;
	width: 10px;
	border-radius: 5px;
	background-color: brown;
 }

.btn-group button {
  background-color: #ff9900; /* Green background */
  border: 1px solid black; /* Green border */
  color: white; /* White text */
  padding: 15px 120px; /* Some padding */
  cursor: pointer; /* Pointer/hand icon */
  float: left; /* Float the buttons side by side */
  font-size: 15px;
}

.btn-group button:not(:last-child) {
  border-right: none; /* Prevent double borders */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}

/* Add a background color on hover */
.btn-group button:hover {
  background-color: #ff6600;
}

/* Three image containers (use 25% for four, and 50% for two, etc) */
.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

/* Clear floats after image containers */
.row::after {
  content: "";
  clear: both;
  display: table;
}

.left {
    background-color: Red;
    float: left;
    width: 50%;
}

.right {
    background-color: Aqua;
    margin-left: 50%;
}



.fling-minislide {width:350px; height:300px; overflow:hidden; position:relative; }
.fling-minislide img{ position:absolute; animation:fling-minislide 20s infinite; opacity:0; width: 100%; height: auto;}

@keyframes fling-minislide {25%{opacity:1;} 40%{opacity:0;}}
.fling-minislide img:nth-child(4){animation-delay:0s;}
.fling-minislide img:nth-child(3){animation-delay:5s;}
.fling-minislide img:nth-child(2){animation-delay:10s;}
.fling-minislide img:nth-child(1){animation-delay:15s;}

.section-heading {
  color: darkblue;
  margin-left: 1px;   /* Main section headings */
  margin-top: 2.5em;
  margin-bottom: 0.7em;
  font-weight: bold;
}

.subsection-heading {
  color: #4B2E83;
  margin-left: 30px;   /* Subsection headings, adjust as needed */
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: 1.15em;
  font-weight: bold;
}

/* Alumni Section Spacing Control */
.alumni-list {
    font-family: Times New Roman,Times,serif; 
    margin: 0; 
    padding-left: 18px;
    margin-bottom: var(--alumni-bottom-spacing);
}

.alumni-table {
    margin-bottom: var(--alumni-bottom-spacing);
}

/* Research Areas Section Spacing Control */
.research-areas-section {
    margin-top: var(--research-areas-top-spacing);
}

/* Project Section Styles 
   ======================
   These styles control the appearance of the Projects section.
   Modify these values to customize the look and feel.
*/

/* Main project table container */
.project-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;                          /* Space above/below table */
    font-family: Times New Roman, Times, serif;
}

/* Table header styling */
.project-table th {
    background-color: #f5f5f5;               /* Header background color */
    color: #333;                             /* Header text color */
    font-weight: bold;
    padding: 12px;                           /* Header padding */
    text-align: left;
    border-bottom: 2px solid #ddd;           /* Header bottom border */
    font-size: 1.1em;                       /* Header font size */
}

/* Table cell styling */
.project-table td {
    padding: 15px;                           /* Cell padding - adjust for spacing */
    vertical-align: top;                     /* Align content to top of cell */
    border-bottom: 1px solid #eee;          /* Row separator line */
}

/* Project image styling */
.project-image {
    width: 150px;                            /* Image width - adjust as needed */
    height: 110px;                           /* Image height - adjust as needed */
    object-fit: cover;                       /* How image fits in container */
    border: 2px solid #ccc;                  /* Image border color */
    border-radius: 8px;                      /* Rounded corners - adjust for more/less rounding */
}

/* Project information container */
.project-info {
    vertical-align: top;
    padding-left: 24px;                      /* Space between image and text */
    font-size: 1em;
}

/* Project title styling */
.project-title {
    font-weight: bold;
    color: #222;                             /* Title text color */
    font-size: 1.1em;                       /* Title font size */
    margin-bottom: 8px;                      /* Space below title */
}

/* Project description styling */
.project-description {
    color: #444;                             /* Description text color */
    font-size: 0.98em;                      /* Description font size */
    line-height: 1.4;                       /* Line spacing for readability */
    margin-bottom: 10px;                     /* Space below description */
}

/* Project links styling */
.project-links {
    color: #555;                             /* Default link color */
    font-size: 0.95em;                      /* Link font size */
}

/* Project link anchor styling */
.project-links a {
    color: brown;                            /* Link color - change to match site theme */
    text-decoration: none;                   /* Remove underline by default */
}

/* Project link hover effect */
.project-links a:hover {
    color: #000;                             /* Link color on hover */
    text-decoration: underline;              /* Add underline on hover */
}
