/*!
 * ASIL Bootstrap Theme
 * Custom page specific styles
 * Designed and built by Systems Solutions Inc.
 * Last Update: 7/21/13
 */

/* HOME PAGE */
.front .margin-right{
    margin-right: 0;
}
.front .home-highlight{
    float:left;
    margin-right: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    margin-left:0;
    background: url("/sites/all/themes/custom/asil/images/bg-section-bottom.png") repeat-x left bottom;
}

.field-name-field-highlight-box-4-1 img,
.front .home-highlight img{
    margin-bottom: 10px;
}
/* rotator */
#widget_pager_bottom_home_rotator-block{
    position: relative;
    top: -50px;
    z-index: 10;
    padding-left: 15px;
}

.views-slideshow-pager-field-item{
    float:left;
    margin-right: 7px;
    cursor: pointer;
}

.views_slideshow_pager_field_item .active{

}
.front .home-rotator{
    margin-left:0;
    margin-right:10px
}
.home-rotator .block-title{
    display:none;
}
#rotator-overlay{
    margin-top:-280px;
    position:relative;
    color:#fff;
    width:329px;
    height:280px;
    background: url("/sites/all/themes/custom/asil/images/bg-rotator-overlay.png") no-repeat left top;
}
#rotator-title{
    padding: 40px 10px 10px 20px;
    font-size: 150%;
    line-height: 125%;
    font-weight: bold;
}
#rotator-tag{
    padding: 0 45px 0 20px;
}
.front .mail-signup{
    float:right;
    width:370px;
}
.front .page-header{
    display:none;
}

.front .icon{
    float:left;
    margin-bottom: 18px;
    margin-right: 24px;
    text-align: center;
    vertical-align: middle;
}
#icon-top-1{
    float:left;
    width: 170px;
    height:94px;
    background-color: #003f72;
}

#icon-top-2{
    float:right;
    width: 170px;
    height:94px;
    background-color: #ab8422;
}
/** MEDIA QUERIES **/

/* Full Size */
.home-icons{
    float:left;
    width:390px;
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    .mail-signup,.front .mail-signup{
        float:left;
    }
    .home-icons{
        float:none;
        width:390px;
        margin-left:auto;
        margin-right:auto;
    }
    .equal-heights,.equal-heights-1,.equal-heights-2{
        height:100%!important;
    }
    .front .home-highlight{
        float:none;
    }
    .front .home-highlight.span4{
        width:100%;
    }
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .mail-signup,
    .front .mail-signup{
        float:left!important;
    }
    .home-icons{
        float:none;
        width:390px;
        margin-left:auto;
        margin-right:auto;
    }
    .front .home-highlight{
        float:none;
    }
    .front .home-highlight.span4{
        width:100%;
    }
}
/* Landscape phones and down */
@media (max-width: 480px) {
    .mail-signup,.front .mail-signup{
        float:none;
        width: 100%;
    }
    .home-rotator{
        display: none;
    }
    .home-icons{
        float:none;
        width:390px;
        margin-left:auto;
        margin-right:auto;
    }
    .front .ds-1col,
    .front .home-highlight{
        float:none;
    }
    .front .ds-1col,
    .front .home-highlight.span4{
        width:100%;
    }
}
/* END HOME PAGE */

/************************* CUSTOM STYLES *************************/
.border-dotted ul li{
    border-bottom: dotted 2px #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.border-dotted ul.pager li{
    border-bottom: none;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.chevron li a{
    display:inline-block !important;
    background: url(/sites/all/themes/custom/asil/images/bg-double-chevron.png) right center no-repeat;
    padding-right:15px;
}
/************************* END CUSTOM STYLES *************************/


/************************* SOCIAL *************************/
.social-icons div{
    float:left;
    vertical-align: middle;
    padding:5px 7px;
    text-align: center;
}
.youtube-link{
    margin-top:-2px;
}
/************************* END SOCIAL *************************/


/************************* COMMUNITY *************************/
#pid-community h1.page-header{
    display: none;
}
#quicktabs-community_home_calendar ul{
    height:29px;
}
#quicktabs-community_home_calendar li{
    padding-bottom:10px;
    padding-top: 10px;
    background-color: #eeeeee !important;
}
#quicktabs-community_home_calendar li.first{
    background: url(/sites/all/themes/custom/asil/images/bg-icon-events.png) 5px 11px no-repeat;
    padding-left:30px;
}
#quicktabs-community_home_calendar li.last{
    background: url(/sites/all/themes/custom/asil/images/bg-icon-calendar.png) 5px 8px no-repeat;
    padding-left:30px;
}
#quicktabs-community_home_calendar li.active{
    border-top: 5px solid #003f72;
    border-bottom:2px solid white;
    background-color: transparent!important;
}
/*#quicktabs-community_home_calendar li a{
    padding-top:10px;
}*/
.view-groups-most-active .views-field-title{
    background: url("/sites/all/themes/custom/asil/images/bg-link-bottom.png") repeat-x left bottom;
    padding-bottom:5px;
    margin-bottom: 5px;
}
.view-groups-recent-posts .views-row,
.view-groups-my .views-row {
    background: url("/sites/all/themes/custom/asil/images/bg-link-bottom.png") repeat-x left bottom;
    padding-bottom:5px;
    margin-bottom: 5px;
}
#pid-community .highlight-text{
    display: block!important;
}
/************************* END COMMUNITY *************************/


/************************* MEMBER DIRECTORY *************************/
.member-search-box, #block-sitehelper-4 {
    background: #013763;
    margin-bottom: 15px;
}
.member-search-box a, #block-sitehelper-4 a{
    color: #fff;
}
#views-exposed-form-member-directory-page,
#views-exposed-form-blogs-page-3{
    background-color: #ccc;
    padding:20px;
}
.view-member-directory .views-field-name{
    font-size: 110%;
    font-weight: 600;
}
.member-block .views-field-picture{
    background: url("/sites/all/themes/custom/asil/images/bg-link-bottom.png") repeat-x left top;
    padding-top:20px;
}
.row-first .member-block .views-field-picture{
    background:none;
    padding-top: 0;
}
.view-member-directory .table td{
    width: 25%!important;
    border-top: none;
    padding:0 25px 10px 0;
}

/************************* END MEMBER DIRECTORY *************************/


/************************* GROUPS *************************/
.group-block-50-l{
    float: left;
    clear:left;
    width: 48%;
    margin-right: 2%;
    margin-bottom: 20px;
    padding-bottom: 10px;
    background: url("/sites/all/themes/custom/asil/images/bg-section-bottom.png") repeat-x left bottom;
}
#content_l_r .block,
#content_l_r .block-views,
.group-block-50-r{
    float: right;
    clear:right;
    width: 48%;
    margin-left: 2%;
    margin-bottom: 20px;
    padding-bottom: 10px;
    background: url("/sites/all/themes/custom/asil/images/bg-section-bottom.png") repeat-x left bottom;
}
#block-views-group-node-block .table td{
    padding:8px 8px 8px 0;
}
.border-dotted .views-field-title{
    border-bottom: dotted 2px #ccc;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.border-dotted .views-row-last .views-field-title{
    border-bottom: none;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.chevron .views-row a,
.chevron .views-field a{
    display:inline-block !important;
    background: url(/sites/all/themes/custom/asil/images/bg-double-chevron.png) right center no-repeat;
    padding-right:15px;
}
/************************* END GROUPS *************************/

/************************* ASIL INSIGHTS & ARTICLES *************************/
/* INSIGHTS OLD SITE */
#ft {margin-bottom:10px;
    font-size:80%;
    line-height:1.25em;
    text-align:left;
    word-wrap: break-word;
}
.style65{
    font-size:80%;
}

.field-name-field-author{
    margin-bottom: 15px;}


/* INSIGHTS LIST VIEW */

.view-insights h3{
    margin: 0;
}
.view-insights table tr{
     border-bottom: dotted 2px #ccc;
 }
.view-insights table tr td{
    padding:13px 13px 13px 0;
}
#views-exposed-form-insights-page-1,
#views-exposed-form-insights-page-3{
    padding:15px;
    background-color: #f2f2f2;
}
.view-insights .view-filters{
    margin-bottom: 20px;
    padding-bottom: 10px;
    background: url("/sites/all/themes/custom/asil/images/bg-section-bottom.png") repeat-x left bottom;
}

.view-insights #edit-field-insight-date-value-value p{
    display: none;
}
#edit-combine-wrapper{
    width: 80%;
}.view-insights input#edit-combine{
    width:100%!important;
}
/*.page-insights .view-display-id-page_1 .views-field-field-image{
    float:left;
    margin-right:15px;
}
.page-insights .view-display-id-page_1 .views-field-title h4{
    margin:0;
}
.page-insights .view-display-id-page_1 .views-row{
    float:left;
    clear:both;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
    border-bottom: dotted 2px #ccc;
}
.page-insights .view-display-id-page_1 .views-row-last{
    border-bottom: none;
    margin-bottom: 0;
}


/* INFO BAR */
.node-insight .group-insight-info-bar .field,
.node-type-article .group-article-info-bar .field{
    float:left;
    padding:0 5px;
    border-right:1px solid #333;
}
.node-insight .group-insight-info-bar .field-name-field-author,
.node-insight .group-insight-info-bar .field-name-field-volume-number,
.node-insight .group-insight-info-bar .field-name-field-issue-number,
.node-type-article .group-article-info-bar .field-name-field-author,
.node-type-article .group-article-info-bar .field-name-field-volume-number,
.node-type-article .group-article-info-bar .field-name-field-issue-number{
    font-weight: bold;
}
.node-insight .group-insight-info-bar .field-name-field-author .field-label,
.node-type-article .group-article-info-bar .field-name-field-author .field-label{
    font-weight: normal;
}
.node-insight .group-insight-info-bar .field-name-field-volume-number,
.node-insight .group-insight-info-bar .field-name-field-issue-number{
    color: #AB8422;;
}
.node-insight .group-insight-info-bar .field-name-field-volume-number{
    padding-right:0;
    border-right: 0;
}
.node-insight .group-insight-info-bar .horizontal-tabs-panes div:last-child,
.node-type-article .group-article-info-bar .horizontal-tabs-panes div:last-child{
    border-right:none;
}
.node-insight .group-insight-info-bar .horizontal-tabs-panes div:first-child,
.node-type-article .group-article-info-bar .horizontal-tabs-panes div:first-child{
    padding-left: 0;
}

/* Tags */
.field-name-field-attribute-tags .field-item,
.field-type-taxonomy-term-reference .field-item{
    float:left;
    margin-right: 13px;
}
/************************* END ASIL INSIGHTS *************************/

/* PAGE USER */
.page-community-user #user-profile-left {
  width: 50%;
  float: left;
}

.page-community-user #user-profile-right {
  float: right;
  width: 45%;
  text-align: center;
}

.page-community-user #user-profile-right div span {
  color: #003E67;
  display: inline-block;
  font-size: 17px;
  padding: 10px 0;
}

.page-community-user #user-profile-right  ul {
  margin: 0;
  text-align: left;
}

.page-community-user #user-profile-right  ul li {
  color: #003E67;
  background: url("../images/bg-link-bottom.png") repeat-x  left bottom transparent;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  list-style: none;
}

.page-community-user #user-profile-right  ul li a {
  color: #003E67;	
}

.page-community-user #user-profile-right  ul li a:hover {
  text-decoration: none;
}

.page-community-user #user-profile-right  ul li:hover {
  background:  url("../images/bg-link-bottom.png") repeat-x  left bottom #f2f2f2;
  cursor: pointer;
} 

.page-community-user #user-profile-right  img#block_user_picture {
  border: 1px solid #d2d4d3;
}

.view-my-books .views-field-title {
  color: #003E67;
  display: block;
  text-align: center;
}

.view-my-books td.views-field-field-link {
  vertical-align: text-top;
}

.view-cvs-and-writtings .view-header,
.view-my-books .view-header { 
  height: 50px;
  width: 100%;
}

.view-cvs-and-writtings .view-header a,
.view-my-books .view-header a {
	float: right;
}
/* */

/*  Leadership groups */
.page-node-684  h1.page-header {
	color: #013f66;
}

.page-node-684 .field-name-body h2 {
	margin-top: 25px;
}

.page-node-684 .field-name-body h2,
.page-node-684 #block-views-leadership-groups-block h2.block-title {
	font-size: 16px;
	font-weight: bold;
}

.slide-groups {
	background: #f2f2f2;
	padding: 10px 5px;
}

.slide-groups .views-slideshow-controls-text-pause  {
	display: none;
}

.slide-groups .views-field-field-group-image {
	float: left;
	width: 25%;
	text-align: center;
	min-height: 200px;
}

.slide-groups .views-field-uid
.slide-groups .views-field-title,
.slide-groups .views-field-body {
	float: right;
	width: 75%;
}

.slide-groups .views-field-title a {
	color: #013f66;
}

.slide-groups .views-slideshow-controls-bottom  {
	position: relative;
}

.slide-groups .views-slideshow-controls-text-next,
.slide-groups  .views-slideshow-controls-text-previous {
	display: block;
	text-indent: -9999px;
	position: absolute;
	width: 20px;
	height: 27px;
	z-index: 800;
	 top: -115px;
}
.slide-groups .views-slideshow-controls-text-previous {
	background: url(../images/arrow-prev.jpg) no-repeat;
	left: 10px;
 
}

.slide-groups  .views-slideshow-controls-text-next  {
	background: url(../images/arrow-next.jpg) no-repeat;
/*
	top: -89px;
*/
	left: 97%;
}

.slide-groups  .view-footer {
	float: right;
	text-transform: uppercase;
}

.slide-groups  .view-footer  a {
	color: #013f66;	
}

.grid-group .views-field-php,
.grid-group .views-field-body,
.grid-group .views-field-title {
	float: right;
	width: 63%;
}

.grid-group .views-field-title  a {
	color: #013f66;
}

.grid-group .views-field-field-group-image {
	float: left;
	width: 30%;
}

.grid-group td {
  background: url("/sites/all/themes/custom/asil/images/bg-link-bottom.png") repeat-x scroll left bottom transparent;
  margin-bottom: 20px;
  padding-bottom: 15px;
}



/* */


.page-community-user #user-profile-left .field-name-field-aa-bio  {
  clear: both;
  min-height: 440px;
  margin-top: 50px;
  min-width: 770px;
}


/* CSS for My Books */
.node-my-books .group-left { text-align: center; }
.node-my-books .group-left .field-name-field-link {  padding-top: 10px; }

#my-books-node-form table#field-co-authors-or-editors-values th.field-label  span { color: #444444; }

#my-books-node-form #field-publication-date-add-more-wrapper .date-padding .control-group .help-block { display: none; }

h4.help-text,
#field-co-authors-or-editors-add-more-wrapper #field-co-authors-or-editors-values .field-label span {
 color: #999999 !important; font-size: 12px; margin: -8px 0 10px; padding: 0 3px; font-weight: normal;
}

#my-books-node-form  .date-clear { width: 101px;}


/* buttons add books and CV */


/* box left and right -- Search Group Directory */
#content_l_r {
	margin-left: 0;
	width: 100%;
}
#content_l_r #content-left {
	float: left;
	width: 48%;
}
#content_l_r #content-right {
	float: right;
	width: 48%;
}
#content_l_r .block,
#content_l_r .block-views {
	margin-left: 0px;
	margin-right: 0px;
	min-height: 150px;
	width: 100%;
}
#content_l_r .block h2,
#content_l_r .block-views h2 {
	font-size: 20px;
}

.email-this-user a {
	background: url(../images/mail.png) no-repeat 0 center ;
	padding-left: 25px !important;
	display: block;
}

.messages.status {
  background-color: #DFF0D8;
  padding: 10px;
  margin: 20px 0;
  font-weight: bold;
}


/* Browse Members */ 
.view-member-directory #edit-field-attribute-tags-tid-wrapper {
	clear: both;
	float: left;
	width: 45%;
}

.view-member-directory #edit-gid-wrapper {
	float: left;
	width: 50%;
	clear: none;
}

.view-member-directory .views-exposed-widget.views-submit-button {
	clear: both;
}

/* CSS for issue Image */
.view-group-node .views-field-field-group-image img {
	width: auto !important;
}