/*
    Document   : main.css
    Created on : Apr 12, 2010, 4:07:49 PM
    Author     : Yii (modified)
    Description:
        Primary application CSS
*/

/* import files for sub-components */
@import url(search_results.css);


body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	background: #EFEFEF;
}

#sidebar
{
	padding: 20px 20px 20px 0;
}

span.hint
{
    color: #c00;
    font-style: italic;
}

.red
{
    color: #c00;
}

.green
{
    color: #0a0;
}

.bold
{
    font-weight: bold;
}

.separator
{
    margin: 2em 0 0 0;
    border-bottom: 1px solid #ddd;
}

.left_articles {
	position: relative;
}

#school_search_heading
{
	padding: 10px 20px 10px 0;
	font-size: 200%;
}

.hidden
{
	display: none;
}

.plusButton
{
	padding: 2px 20px 2px 0;
	background: url(/school-search/images/icons/add.png) right center no-repeat;
	cursor: pointer;
}

/* Sidebar Menu */
ul.menu li.active,
ul.submenu li.active
{
    font-weight: bold;
}

ul.menu li.active ul.submenu li
{
    font-weight: normal;
}

ul.menu li.active a,
ul.menu li.active a:hover,
ul.submenu li.active a,
ul.submenu li.active a:hover
{
    text-decoration: none;
}

ul.menu li:before
{
    content:'- ';
}

.portlet-content ul.menu li ul.submenu
{
    padding-left: 20px;
}

ul.submenu li:before
{
    content:'';
}

div.yii_container
{
    width: auto;
    text-align: left;
}

div.yii_wide_container
{
    clear: both;
    padding: 10px 22px;
    background: #FFFFFF url(http://www.internationalstudent.com/images/bgshade.gif) repeat-x scroll 0 0;
}

div.yii_container .narrow,
div.yii_wide_container .narrow
{
    float: left;
    margin-bottom: 0;
}

div.yii_container .column2 {
	width: 50%;
}

div.yii_container .column2:last-child {
	text-align: right;
}

div.yii_container .column3 {
	width: 30%;
}

div.yii_container .narrow.thirty,
div.yii_wide_container .narrow.thirty
{
    width: 30%;
}

div.yii_container .narrow.forty,
div.yii_wide_container .narrow.forty
{
    width: 40%;
}

div.yii_container .narrow.fifty,
div.yii_wide_container .narrow.fifty
{
    width: 50%;
}

div.yii_container .narrow.sixty,
div.yii_wide_container .narrow.sixty
{
    width: 60%;
}

div.yii_container .narrow.seventy,
div.yii_wide_container .narrow.seventy
{
    width: 70%;
}

div.yii_container #yii_content
{
    margin-top: 20px;
    text-align: left;
}

div.yii_container a.button,
div.yii_wide_container a.button,
input[type="submit"].button,
input[type="button"].button
{
    color: #fff;
    text-shadow: -1px -1px 0px #c7b492;
    text-decoration: none;
    text-align: center;
    padding: 4px 8px;
    background: #cfbb97 url(../images/button_bg.png) 0 0 repeat-x;
    border: 1px solid #b29e79;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

div.yii_container a.button.resources,
div.yii_wide_container a.button.resources,
input[type="submit"].button,
input[type="button"].button
{
    text-shadow: -1px -1px 0px #c7b492;
    text-decoration: none;
    background: #cfbb97 url(../images/button_bg.png) 0 0 repeat-x;
    border: 1px solid #b29e79;
}

div.yii_container a.button.small,
div.yii_wide_container a.button.small
{
    font-size: 10px;
    text-transform: lowercase;
    padding: 3px 6px;
}

div.yii_container a.button.hideBlockedLeads,
div.yii_wide_container a.button.hideBlockedLeads
{
	border: 1px solid #b00;
	text-shadow: -1px -1px 0px #C44451;
	background: #d05062 url(../images/blocktoggle_button_bg.png);
	background: -webkit-linear-gradient(top, #F98E99, #E5606F);
	background: -moz-linear-gradient(top, #F98E99, #E5606F);
}


div.yii_container a.button.hideBlockedLeads:hover,
div.yii_wide_container a.button.hideBlockedLeads:hover,
div.yii_container a.button.resources.hideBlockedLeads:hover,
div.yii_wide_container a.button.resources.hideBlockedLeads:hover
{
	text-shadow: -1px -1px 0px #a00;
	background: #d2273f url(../images/blocktoggle_button_bg_hover.png);
	background: -webkit-linear-gradient(top, #fa677b, #cf233b);
	background: -moz-linear-gradient(top, #fa677b, #cf233b);
}

div.yii_container a.button.showBlockedLeads,
div.yii_wide_container a.button.showBlockedLeads
{
	border: 1px solid #090;
	text-shadow: -1px -1px 0px #3A9903;
	background: #d05062 url(../images/showtoggle_button_bg.png);
	background: -webkit-linear-gradient(top, #54d521, #36ae07);
	background: -moz-linear-gradient(top, #54d521, #36ae07);
}


div.yii_container a.button.showBlockedLeads:hover,
div.yii_wide_container a.button.showBlockedLeads:hover,
div.yii_container a.button.resources.showBlockedLeads:hover,
div.yii_wide_container a.button.resources.showBlockedLeads:hover
{
	border: 1px solid #070;
	text-shadow: -1px -1px 0px #080;
	background: #d2273f url(../images/showtoggle_button_bg_hover.png);
	background: -webkit-linear-gradient(top, #4ccc1a, #2e9805);
	background: -moz-linear-gradient(top, #4ccc1a, #2e9805);
}

div.yii_container a.fixedw_163
{
    width: 145px;
    padding: 4px 8px;
    text-align: center;
    display: block;
}

div.yii_container a.button.resources:hover,
div.yii_wide_container a.button.resources:hover,
input[type="submit"].button:hover,
input[type="button"].button:hover
{
    text-shadow: -1px -1px 0px #bca782;
    background: #c3ac84 url(../images/button_bg_hover.png) 0 0 repeat-x;
    cursor: pointer;
}

div.yii_container div.flash,
div.yii_wide_container div.flash
{
    position: relative;
	padding-right: 100px;
}

div.yii_container div.flash h1,
div.yii_container div.flash h2,
div.yii_container div.flash h3,
div.yii_container div.flash h4,
div.yii_container div.flash h5,
div.yii_container div.flash h6
{
    margin-top: 0 !important;
}

div.flash.error, div.flash.notice, div.flash.success,
div.message.error, div.message.notice, div.message.success
{
	padding:.8em;
	margin: 1em 0;
	border:2px solid #ddd;
}

div.flash.error,
div.message.error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash.notice,
div.message.notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash.success,
div.message.success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash.error a,
div.flash.error span.closeMe
{
	color:#8a1f11;
}

div.flash.notice a,
div.flash.notice span.closeMe
{
	color:#514721;
}

div.flash.success a,
div.flash.success span.closeMe
{
	color:#264409;
}

div.flash span.closeMe,
fieldset span.closeMe {
    position: absolute;
    cursor: pointer;
    font-size: 9px;
    background: url(../images/icons/cross.png) 3% center no-repeat;
    padding-left: 20px;
}

div.flash span.closeMe
{
    top: 10px;
    right: 10px;
}

fieldset span.closeMe {
	top: 20px;
	right: 10px;
	padding: 1px 10px 1px 20px;
	border: 1px solid transparent;
	border-radius: 3px;
	color: #555;
}

fieldset span.closeMe:hover {
	background-color: #f3f3f3;
	background: url(../images/icons/cross.png) 3% center no-repeat, -webkit-linear-gradient(top, #f9f9f9, #e0e0e0) -moz-linear-gradient(top, #f9f9f9, #e0e0e0);
	border: 1px solid #d2d2d2;
	color: #000;
}

span.closeMe + p {
	margin-top: 15px;
}

div.form .rememberMe label
{
	display: inline;
}

.actions
{
	margin: 0 0 10px 0;
	padding: 0;
}

.actions li
{
	display: inline;
	margin: 0;
	padding: 0;
}

.actions li a
{
	padding: 5px;
	margin: 0;
	color: #298dcd;
	text-decoration: none;
	font-size: 0.8em;
	font-weight: bold;
	background: #DFF4FF;
	border-left: 5px solid #589FC8;
}

.actions li a:hover, .actions li a.active
{
	background: #589FC8;
	color: white;
}

div.pager
{
    clear: both;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px 5px 0;
    margin-bottom: 1em;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

/**
 * Sidebar boxes
*/
.portlet
{

}

.portlet-decoration
{
	padding: 0;
    margin-bottom: 10px;
}

.portlet-decoration:after
{
    display: block;
    clear: both;
    content: ' ';
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	font-size:0.9em;
	margin: 5px 0 0 0;
	padding: 0;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.right_articles.green
{
    background: #d4ead4 none repeat scroll 0 0;
    border:1px solid #7bcf79;
    color:#454545;
    margin:0 0 10px;
    padding:8px;
}

.icon-left
{
    margin-right: 1em;
    vertical-align:middle;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}

div.table
{
    display: table;
    width: 100%;
    margin-top: 20px;
    border-collapse: separate;
    border-spacing: 10px;
}

div.table-row
{
    display: table-row;
}

div.table-cell
{
    display: table-cell;
    width: 50%;
}

div.table-cell.boxed
{
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #f0f0f0;
}

div.table-cell.centered
{
    text-align: center;
}

div.table-cell h4
{
    margin-top: 0;
    font-size: 16px;
}

.clear
{
    clear: both;
}

.muted
{
    color: #5a5a5a;
}

div.buttonContainer
{
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    text-align: right;
}

div.buttonContainer + div.buttonContainer /* i.e. siblings */
{
	padding-top: 10px;
}

div.buttonContainer a.button,
caption.buttonContainer a.button
{
    float: right;
    margin-left: 1em;
}

div.column_2
{
    width: 45%;
    float: left;
}

div.table
{
    border-spacing: 0;
}

div.table div.table-cell.left
{
    padding-right: 20px;
}

div.table-cell h4
{
    margin-bottom: 5px;
}

div.table-cell div
{
    margin-bottom: 30px;
}

div.admin-actions
{
    margin-top: 2em;
}

div.admin-actions form
{
    float: left;
    margin-right: 1em;
}

/*
    This, used in combination with javascript,
    displays a javascript-required message to
    people whose browsers don't have javascript
    enabled.
    It uses javascript to hide this message for
    those who do have js enabled.
*/
.js .noJs
{
    display: none;
}

/* jQuery UI customizations */

.ui-icon
{
    float: left; margin-right: 0.3em;
}

.ui-state-error
{
    padding: 0.7em;
}

div#content .ui-state-error a
{
    color: #000;
}

.ui-widget-overlay
{
    opacity: 0.6;
}

.ui-dialog .ui-dialog-content
{
    padding: 1.5em 1em;
}

/* Clearfix */
.clearfix:after
{
    clear:both;
    content:' ';
    display:block;
    font-size:0;
    line-height:0;
    visibility:hidden;
    width:0;
    height:0;
}

* html .clearfix,*:first-child+html .clearfix{zoom:1}

/* jQuery BeautyTips tooltips plugin style */

div.bt-content
{
    color: #fff;
}

div.newStudentProfileIcon
{
	position: relative;
	top: -29px;
	top: -20px\0/ !important; /** IE 8-9 Hack **/
	left: 575px;
	width: 16px;
	height: 16px;
	background: url(http://www.internationalstudent.com/school-search/images/icons/add.png) no-repeat;
}

div.removeStudentProfileIcon
{
	position: relative;
	display: none;
	top: -44px;
	top: -36px\0/ !important; /** IE 8-9 Hack **/
	left: 555px;
	width: 16px;
	height: 16px;
	background: url(http://www.internationalstudent.com/school-search/images/icons/delete.png) no-repeat;
}

div.newStudentProfileIcon:hover,
div.removeStudentProfileIcon:hover {

	cursor: pointer;
}

fieldset.studentProfile table tr td
{
	width: 500px;
	vertical-align: top;
}

fieldset.studentProfile table tr td input
{
	width: 250px;
}

fieldset.studentProfile table tr td .upload, 
fieldset.studentProfile table tr td .remove
{
	margin-left: 15px;
}

fieldset.studentProfile table tr td span.profilePhoto img.photo
{
	border: 4px solid #CCCCCC;
}

fieldset.studentProfile table tr td.profilePhotoButtons
{
	vertical-align: middle;
}

fieldset.studentProfile textarea
{
	width: 550px;
	height: 200px;
}

div.form div.buttons span#createNewProfile
{
	display: none;
}

div.form div.buttons span#createNewProfile div input
{
	margin-left: 200px;
	padding: 8px;
	width: 150px;
}

ul.admin_menu li.active a,
ul.admin_menu li.active a:hover
{
    text-decoration: none;
	font-weight: bold;
	color: black;
}

.error
{
	color:#8a1f11;
}
.half{
	width: 48%;
	float: left;
}
.lefthalf{
	padding-right: 10px;
}
.righthalf{
	padding-left: 10px;	
}

/* State descriptions style declarations [/school-search/usa/<state_name>] */
a.state_description {
	display: inline-block;
	padding: 3px 10px;
	margin-top: 10px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 1px 1px 0px #5B8C9E;
	border: 1px solid #6897AA;
	border-radius: 8px;
	background: #9FC7D8;
	background: -webkit-linear-gradient(top, #B4DAE8, #88B7C9);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#B4DAE8), to(#88B7C9));
	background: -moz-linear-gradient(top, #B4DAE8, #88B7C9);
}

a.state_description:hover {
	color: #fff;
	text-shadow: 1px 1px 0px #3E6C7C;
	border: 1px solid #5D899B;
	background: #9FC7D8;
	background: -webkit-linear-gradient(top, #AFD4E0, #6FA4B7);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#AFD4E0), to(#6FA4B7));
	background: -moz-linear-gradient(top, #AFD4E0, #6FA4B7);
}

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

ul.admin-actions {
	list-style: none;
	margin: 10px 0;
}

ul.admin-actions li {
	display: inline-block;
	margin: 0;
	padding: 0;
}

ul.admin-actions li:after {
	content: "|";
	color: #bbb;
	padding: 0 1em;
}

ul.admin-actions li.last:after {
	content: '';
}

.school-map {
	background: #E2CEAE;
	padding: 5px;
}

.yii_container .map-wrapper img.school-map {
	border-left: 1px solid #ccb58e;
	border-top: 1px solid #ccb58e;
}

#loginFormToggle {
	cursor: pointer;
	text-decoration: none;
	padding: 1px 20px 1px 0;
	font-weight: bold;
}
#loginFormToggle:hover {
	text-decoration: underline;
}
#loginFormToggle.closed {
	background: url(/images/icons/control_play.png) 100% 50% no-repeat;
}
#loginFormToggle.open {
	background: url(/images/icons/control_play_down.png) 100% 50% no-repeat;
}

.hidden {	display: none;	}

.addthis_default_style.topRight {
	position: absolute;
	top: 20px;
	right: 10px;
}

