/*-------------------------------------------------------------*/
/* CSS Document                                                */
/* Template Name: ClearLooks	                               */
/* Designed By: Santhosh                                       */
/* Homepage: www.themebin.com                                  */
/*-------------------------------------------------------------*/

body {
	font: 75%/150% Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	background: url(../images/body.gif);
	text-align: justify;
	margin: 0;
}
/* HTML */

h1 {
	margin: 0;
    color: #34689C;
}
h2 {
	font-size: 14px;
	color: #333;
}
h3 {
	font-size: 12px;
	color: #000;
}
a {
	color:#000;
}
a:hover {
	color:#551A8B;
}
/* Wrap */

#wrap {
	width: 1000px;
	margin: 0 auto;
	background: #fff;
	border: solid 1px #fff; /* #E8E8E8;*/
}
#wrap2 {
	width: 990px;
	margin: 0 auto;
}
/* Header */

#header {
	height: 100px;
	background: #6699CC url(../images/22.png) no-repeat;
	margin-top: 5px;
	/*border-bottom: solid 1px #00CCFF;*/
	position: relative;
	color: #fff;
}
#logo {
	font-size: 30px;
	color: #fff;
	padding-left: 20px;
	padding-top: 30px;
	position: relative;
	width: 600px;
}
#slogan {
	font-size: 14px;
	color: #fff;
	margin-top: 10px;
	margin-left: 20px;
	width: 600px;
}
/* Navbar */

#nav {
	height: 20px;
	background: #34689C;
	position: relative;
}
#nbar {
	position: relative;
	width: auto;
	height: 30px;
	margin: 0;
	padding : 0 0 0 0;
	font: bold 12px/25px Verdana, Arial, Tahoma, Sans-serif;
}
#nbar ul {
	float: left;
	list-style : none;
	margin: 0;
	padding: 0;
	padding-top: 2px;
}
#nbar ul li {
	display: inline;
}
#nbar ul li a {
	display: block;
	float: left;
	padding: 0 10px;
	/*color: #DFDFDF;*/
	color: #34689C;
	
	text-decoration: none;
}
#nbar ul li a:hover {
	/*color: #FAFAFA;*/
	color : Gray
}
#nbar ul li#selected a {
	color: Navy;
}
#content-wrap {
	margin-top: 5px;
    /*background-image:url(../images/content_bg.gif);*/
}
/* Search */ 

form.search {
	position: relative;
	background: none;
	width: 170px;
	border: none;
	float: right;
	margin: 0;
	height: 44px;
}
form.search input.textbox {
	margin: 0;
	height: 16px;
	font-size: 11px;
	padding-left: 2px;
	width: 120px;
	background: #fff url(gradtop.gif) top repeat-x;
	border: solid 1px #6699CC;
	color: #000;
}
form.search input.button {
	background : url(search-button.png) no-repeat;
	color: #333;
	border: none;
	width: 25px;
	cursor: pointer;
	height: 18px;
}
/* Content */

#content {
    /*background-image:url(../images/content_bg.gif);*/
	width: 630px;
	padding: 20px 5px 5px 5px;
}

#content h1 {
	font-size: 20px;
	color: #34689C;
	border-bottom: dotted 1px #ccc;
}
.post-footer {
	border-bottom: solid 1px #D9D9D9;
	margin-bottom: 20px;
	text-align: right;
}
.dated {
	padding-top: 2px;
	background: url(calendar.png) left no-repeat;
	padding-left: 20px;
	float: left;
}
.category {
	background: url(category.png) left no-repeat;
	padding-left: 20px;
	margin-left: 10px;
	float: left;
	height: 16px;
}
.author {
	padding-left: 20px;
	padding-bottom: 5px;
	background: url(user.png) no-repeat;
}
.more {
	padding-left: 20px;
	margin-left: 10px;
	padding-bottom: 5px;
	background: url(more.png) no-repeat;
}
/* Sidebar */

#sidebar {
	width: 330px;
	float: right;
	padding: 5px 5px 5px 5px;
	border-left: dotted 1px gray;
	/*border-bottom: dotted 1px gray;
	border-right: solid 1px gray;
	border-top dotted 1px gray;*/
}
#sidebar ul.menu {
	list-style: none;
	text-decoration: none;
	margin : 3px 0 2px 0;
	padding: 0;
}
#sidebar ul.menu li {
	background:url(bullet.png) no-repeat;
	padding : 2px 0 0px 15px;
	margin : 0 2px;
}
#sidebar ul.menu a {
	text-decoration : none;
	background-image : none;
}
#sidebar ul.menu a:hover {
	color:#551A8B;
}
#sidebar h1 {
	font-size: 14px;
	color: #34689C;
}
#left_sidebar {
	width: 160px;
	float: left;
	margin-top: 10px;
}
#right_sidebar {
	width: 160px;
	float: right;
	margin-top: 10px;
}
.widgetspace {
	border-bottom: solid 1px #D9D9D9;
	margin-bottom: 5px;
}
/* Addition Stuffs */

blockquote {
	/*background: #F2F2F2 url(quote.png) no-repeat left top;*/
	/*border-left: solid 5px #D7D7D7;*/
	/*padding: 5px 5px 5px 25px;*/
}
code {
	margin : 4px 8px;
	padding : 8px;
	text-align : left;
	display : block;
	overflow : auto;
	font : 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
	background: #f8f4f1;
	border : 1px dashed #D7C3C3;
}
ul, ol {
	margin: 5px 20px;
	padding: 0 20px;
	color: #333333;
}
ul span, ol span {
	color: #333333;
}
/* Ads CSS */

#side_ad {
	width: 300px;
	height: 250px;
	margin: 0 auto;
	background: #F8F8F8;
}
#side_sky_ad {
	width: 160px;
	height: 600px;
	margin: 0 auto;
	background: #F8F8F8;
}
#banner_ad {
	width: 468px;
	height: 60px;
	margin: 0 auto;
	background: #F8F8F8;
}
/* Images */

img {
	border: none;
	background: #EBEBEB;
}
img.float-right {
	margin : 5px 0 10px 10px;
	padding: 2px;
}
img.float-left {
	margin : 5px 10px 10px 0;
	padding: 2px;
}
/* Forms and Text Fields */

form {
	margin : 10px;
	padding : 0 5px;
	border : 1px solid #ccc;
	background-color: #F8F8F8;
}
label {
	display : block;
	font-weight : bold;
	margin : 5px 0;
	color: #333333;
}
input {
	padding : 2px;
	/*border : 1px solid #C6D9E9;*/
	font : normal 1em Verdana, sans-serif;
	/*color : #000000;*/
	background:#fff;
	/*background-color : #ffffff;*/
}
textarea {
	width : 400px;
	padding : 2px;
	font-family : Verdana, sans-serif;
	border : 1px solid #C6D9E9;
	background-color : #ffffff;
	height : 100px;
	display : block;
	background:#fff;
	color : #000;
}
input.button {
	margin : 0;
	font : bolder 12px Arial, Sans-serif;
	border : 1px solid #ccc;
	padding : 2px 3px;
	background : #fff;
	color : #131212;
}
/* Footer */

#footer {
	height: 30px;
	padding-top: 5px;
	margin: 0;
	text-align: center;
	border-top: solid 2px #6699CC;
	background: #34689C;
	color: #fff;
}
#footer a {
	color:#fff;
}
#footer a:hover {
	text-decoration:none;
}
.clearfix {
	clear:both;
	overflow: hidden
}
.tabhead{
height:30px;
text-align:center;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:14px;
background-color:#34689C;
border-color:#34689C;
color:#FFFFFF;
}
.tabbord
{
	border : 1px solid #34689C;
	
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* Timeline styles */
.timeline {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #aed6f1; /* Light blue line */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 0; /* Padding for spacing between items */
    box-sizing: border-box; /* Include padding in width */
}

/* Left side items */
.timeline-item:nth-child(odd) {
    float: left;
    clear: both; /* Ensure items don't overlap previous ones */
    padding-right: 70px; /* Space for date circle and gap */
}

/* Right side items */
.timeline-item:nth-child(even) {
    float: right;
    clear: both; /* Ensure items don't overlap previous ones */
    padding-left: 70px; /* Space for date circle and gap */
}

.timeline-content {
    background-color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    text-align: left;
    min-height: 80px; /* Adjusted minimum height */

    /* Flexbox for vertical centering within content box */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}


/* Arrow styling for content boxes */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    top: 50%; /* Position relative to the vertical center of content box */
    transform: translateY(-50%); /* Adjust to truly center */
    right: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #ecf0f1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: 50%; /* Position relative to the vertical center of content box */
    transform: translateY(-50%); /* Adjust to truly center */
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #ecf0f1 transparent transparent;
}

.timeline-date {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #3498db;
    border-radius: 50%;
    top: 50%; /* Position relative to the *item* vertical center */
    left: 50%; /* Center relative to the main line */
    transform: translate(-50%, -50%); /* Adjust to truly center */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.0em;
    z-index: 1;
    box-shadow: 0 0 0 7px #ffffff, 0 0 0 10px #3498db;
}

/* Adjust date position relative to their side */
.timeline-item:nth-child(odd) .timeline-date {
    right: -42px; /* Position to the right of the left item */
    left: auto; /* Override left:50% */
    transform: translateY(-50%); /* Only vertical centering */
}
.timeline-item:nth-child(even) .timeline-date {
    left: -42px; /* Position to the left of the right item */
    right: auto; /* Override left:50% */
    transform: translateY(-50%); /* Only vertical centering */
}

/* Student details within the content box */
.student-block {
    margin-bottom: 20px; /* Space between student details */
}
.student-block:last-child {
    margin-bottom: 0; /* No space after the last student in a block */
}

.student-block h4 {
    margin: 0; /* Remove default margin */
    color: #2c3e50;
    font-size: 1.1em;
    line-height: 1.3; /* Ensure proper line spacing with course */
}
.student-block .course {
    font-size: 0.85em; /* Smaller font */
    font-weight: normal; /* Not bold */
    color: #555; /* Slightly lighter color */
}
.student-block .institution-name { /* New style for institution */
    font-size: 0.9em; /* Small font */
    color: #666; /* Slightly softer color */
    margin-top: 2px; /* Small space after name/course */
    margin-bottom: 0; /* Handled by .student-block */
}

.placement {
    font-style: italic;
    color: #27ae60;
    font-weight: bold;
    font-size: 0.9em; /* Adjust placement font size */
}

/* Clear floats after timeline */
.timeline::after {
    content: '';
    display: table;
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px; /* Move the main line to the left */
    }
    .timeline-item {
        width: 100%;
        float: none;
        padding-left: 60px; /* Space for the line and dot */
        padding-right: 10px; /* Reduce right padding */
        text-align: left; /* Ensure all content aligns left */
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        float: none; /* No more floating */
        padding-left: 60px; /* Consistent left padding */
        padding-right: 10px;
    }
    .timeline-date {
        left: 20px; /* Align with the new timeline line */
        transform: translate(-50%, -50%); /* Reset transform */
        top: 50%; /* Center vertically within the item */
        box-shadow: 0 0 0 7px #ffffff, 0 0 0 10px #3498db;
    }
    /* Adjust date position for both odd/even to align with the single line */
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 20px;
        right: auto;
        transform: translate(-50%, -50%); /* Restore original centering */
        top: 50%; /* Center vertically within the item */
    }
    .timeline-content {
        margin-left: 0;
        margin-right: 0;
        /* Ensure flexbox properties are maintained for vertical centering */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    /* Adjust arrow for mobile (always on the left side of content box) */
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        border-width: 10px 10px 10px 0;
        border-color: transparent #ecf0f1 transparent transparent;
        left: -10px;
        right: auto;
        top: 50%; /* Vertically center in mobile view as well */
        transform: translateY(-50%); /* Adjust to truly center */
    }
}