/**Apply Now Page**/
body{position:relative;}
.affix-bottom{position:absolute;top:auto;bottom:550px;}
.affix{top:60px!important}
@media (min-width: 1200px) {  .affix,.affix-top,.affix-bottom{width:270px;}}

@media (min-width: 980px) and (max-width: 1199px) {  .affix,.affix-top,.affix-bottom{width:227.017px;}}

@media (min-width: 768px) and (max-width: 979px) {.affix,.affix-bottom{width:22%} .affix-top{width:100%!important} .affix{top:20px!important}}

@media (max-width: 767px) { .affix,.affix-top,.affix-bottom{position:relative; width:100%;} .breadcrumb{height:0px;}}

a.internal{border-width:3px;border-style:solid;border-color:inherit;}
span.applyhead{display:block;color:white;text-align:center;font-weight:bold;font-size:17px;margin:10px}
span.applyp{color:#333}
a.internal br{display:none}

/**Fixes for Amir to incorporate**/
#profilecourses strong{font-size:12px;font-weight:normal;font-style:italic;}
#profilecourses p{font-size:12px;line-height:14px;}
#profilecourses{padding:20px;}


.swt-outter .ui-widget-content a, div.event a{text-decoration:none;font-weight:bold;}
#utility-before-content div.section-widget-tabbed{padding-top:30px;}
.profile_cct:after{clear:none;}



body.singular-profile_cct .field-shell-name .field h2{margin-top:20px;}
body.singular-profile_cct .nav-tabs > li > a, .nav-pills > li > a{width:75px;}

/***MOD to style subnav in content**/
div#content  div.single {
    border-radius: 3px 3px 3px 3px !important;
    color: white;
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 12px;
    margin: 8px 5px 5px;
    text-decoration: none;
}

div#content  div.single a:hover{border-radius: 3px 3px 3px 3px !important;}



/*GENERAL TEXT STYLES*/

/*h1{padding-top:20px;}*/
.nav-tabs > li > a,.nav-pills > li > a {padding-left:4px;padding-right:4px;}
.btn-mini{
    background-repeat:repeat-x;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
}

/*********************/

/*HOME PAGE ONLY STYLES*/
body.home .nav-tabs > li > a{border:0;padding-left:12px;padding-right:12px;width:62px;text-transform:uppercase;}
body.home .tab-content > .active, .pill-content > .active{height:218px;}
body.home div.newsitem > p{margin:0px;}
body.home div.newsitem,body.home div.eventsitem{border-bottom:1px solid #cecece;margin-bottom:7px;padding-bottom:5px;}
body.home div.newsitem a,body.home div.eventsitem a{font-weight:bold;}
body.home #secondary{float:none;margin:0px 0px 0px 46px}



body.home #container > .row-fluid,body.events-gridview #container > .row-fluid{background:none;}

/*********************/


#subsidiary{padding-bottom:20px}
#subsidiary ul#menu-bottom-nav li,#subsidiary div.widget-nav-menu ul.nav-menu  li{list-style:none;font-weight:normal;font-size:10px}
#subsidiary ul#menu-bottom-nav > li,#subsidiary div.widget-nav-menu ul.nav-menu > li{float:left;width:15%;font-weight:bold;font-size:10px;padding-left:10px;}
#subsidiary ul#menu-bottom-nav li a,#subsidiary div.widget-nav-menu ul.nav-menu  li a{display:block;line-height:14px;margin-bottom:8px;text-decoration:none;color:#555;text-transform:uppercase;}
#subsidiary ul.sub-menu{margin-left:0}

/*Profile + Qlink STYLES*/

#qlinks li a{padding:10px 4px 10px 5px;color:white!important;margin-left:5px;}
#qlinks li a span{float:right;margin-right:10px;}
#qlinks li a{text-decoration:none;width:100%;display:inline-block;}
#qlinks ul{margin:0px;}
#qlinks li{list-style:none;width:100%;display:inline-block;}

#qlinks a{
     /*color:#E9E488!important;*/
     margin-bottom:10px!important;
    line-height:12px;     
    -moz-border-radius:  5px 0px 0px 5px!important;
    -webkit-border-radius: 5px 0px 0px 5px!important;
    -khtml-border-radius: 5px 0px 0px 5px!important;
    border-radius: 5px 0px 0px 5px!important;
   }

 #qlinks li a{text-decoration:none;width:100%;display:inline-block;}
 #qlinks{}
 #qlinks ul{margin:0px;}
 #qlinks li{list-style:none;width:100%;display:inline-block;}

#normal-shell {padding:10px 0px 20px 0px;}
#normal-shell .picture img{width:75px; height:96px;}
#normal-shell .one-third{width:90px;}
#normal-shell .name,#normal-shell .bio{width:70%;float:left;clear:none;}
#normal-shell .field-shell h2{font-size:18px;margin-top:0px;line-height:18px;margin-bottom:4px;}
#normal-shell .field-shell p{margin:0px;line-height:1.2em;font-size:12px}


@media (max-width: 480px) {
  body.taxonomy-profile_cct_group div.profile_cct, body.archive-profile_cct div.profile_cct,div.profilelist-shortcode div.profile_cct{width:45%;float:left;}
  body.taxonomy-profile_cct_group div.profile_cct:nth-child(odd),body.archive-profile_cct div.profile_cct:nth-child(odd), div.profilelist-shortcode div.profile_cct:nth-child(odd){clear:both}
  #normal-shell{clear:none;float:left;padding:10px 20px 20px 10px;width:100%;}
  #normal-shell .email,#normal-shell .phone,#normal-shell .position,#normal-shell .bio, #normal-shell .clone_excerpt{text-align:center;display:none;}
  #normal-shell .field-shell h2{font-size:14px;text-align:center;/*width100px;*/clear:left;width:90%;}
  #normal-shell .picture{width:100%;height:100%}
  #normal-shell .picture img{width:auto;height:auto;/*width:200px; height:256px;min-width:200px;width:80%;height:100%;*/}
  #middlecontent .span1{width:0px;display:none;}
}



@media(max-width:767px){
  #qlinks li a{padding:10px 0px 10px 0px;border-radius:5px 5px 5px 5px!important} 
  ul.children{margin-right:0px;}
}



@media(min-width:768px) and (max-width:979px){
}

@media(min-width:979px) and (max-width:1199px){ 
  #qlinks li a{padding:10px 0px 10px 10px;}
}

@media(max-width:980px){
  #qlinks li a{padding:10px 0px 10px 10px;margin-left:5px;}
/*Dealing with footer menu and events list*/
  #body-container > .content{background-color:#ffffff;}
  #subsidiary .nav-menu,#subsidiary #menu-bottom-nav{display:none;}
  #subsidiary{margin-top:-30px;} 
}

@media(max-width:768px){
  #qlinks li a{padding:10px 0px 10px 10px;margin-left:-10px;}
  div#profilecenter{margin-top:20px!important;}
}

@media(min-width:1200px) {
  #qlinks li a{padding:10px 0px 10px 15px;margin-left:0px;}
}



div.abox{padding:10px;}
.rounded-corners {
     -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
}

div.abox p a{display:none;}

a.internal img:hover{opacity:.8}

#normal-shell .field-shell p {display:none;}
#normal-shell .field-shell div.textarea p{display:block;}
#normal-shell .name, #normal-shell .bio{float:none!important;width:100%!important}

div#profilecenter{margin:auto;text-align:center;}

div.phone {display:block;}

/**Profile List position*/
body.taxonomy-profile_cct_specialization div.position,
body.taxonomy-profile_cct_group div.position,
div.profilelist-shortcode div.position,
body.archive-profile_cct div.position{
    line-height:1em;margin:0!important;margin-bottom:4px!important;margin-top:-2px!important;
}

body.taxonomy-profile_cct_specialization div.position div.field,
body.taxonomy-profile_cct_specialization div.position div.position,
body.taxonomy-profile_cct_group div.position div.field,
body.taxonomy-profile_cct_group div.position div.position,
body.archive-profile_cct div.position div.field,
body.archive-profile_cct div.position div.position,
div.profilelist-shortcode div.position div.position,
div.profilelist-shortcode div.position div.field{display:inline}

body.taxonomy-profile_cct_specialization div.position div.field span#position,
body.taxonomy-profile_cct_group div.position div.field span#position,
div.profilelist-shortcode div.position div.field span#position,
body.archive-profile_cct div.position div.field span#position{
    font-size:smaller;line-height:10px;font-style:italic;font-color:#333;
}

body.taxonomy-profile_cct_specialization div.position div.field:nth-child(odd) span#position:before,
body.taxonomy-profile_cct_group div.position div.field:nth-child(odd) span#position:before,
body.archive-profile_cct div.position div.field:nth-child(odd) span#position:before,
div.profilelist-shortcode div.position div.field:nth-child(odd) span#position:before{
    content: \'|\'; margin-right:2px;margin-left:3px;color:#cecece;
}

body.taxonomy-profile_cct_specialization div.phone, body.taxonomy-profile_cct_group div.phone,
body.taxonomy-profile_cct_specialization div.tel, body.taxonomy-profile_cct_group div.tel,
body.taxonomy-profile_cct_specialization div.email, body.taxonomy-profile_cct_group div.email,
body.taxonomy-profile_cct_specialization div.phone, body.archive-profile_cct div.phone,
body.taxonomy-profile_cct_specialization div.tel, body.archive-profile_cct div.tel,
body.taxonomy-profile_cct_specialization div.email, body.archive-profile_cct div.email{
    margin:0!important;line-height:16px;
}

/*div#leftinfo div.position,*/
div#leftinfo div.address,
div#leftinfo div.phone,
div#leftinfo div.email,
div#leftinfo div.website{
  word-break:break-all;
}

/*LEFT MENU FIX*/
#primary div.sidenav a{color:white}
div.sidenav div.single, div.accordion-group,.sidenav .accordion-inner a, .sidenav.accordion{border-left:none;border-right:none;}
.sidenav .accordion-heading{border-bottom:none;}
.sidenav .opened{border-bottom:1px solid #D7E0E7}
.sidenav .accordion-heading .accordion-toggle{height:99%}
.sidenav .accordion-heading a:focus, .sidenav .accordion-heading a:active, .sidenav .accordion-group a:focus,.sidenav .accordion-group a:active{background:transparent repeat scroll 0 0  !important}
#primary-secondary .ubc7-arrow.down-arrow{background-position:-1178px -227px!important;}
#primary-secondary .ubc7-arrow.right-arrow{background-position:-1113px -227px!important;}
#primary-secondary .sidenav .opened .ubc7-arrow{background-position:-1207px -227px!important;}
div.sidenav div.single, div.accordion-group, #leftinfo,.sidenav .accordion-group,.sidenav .accordion-inner a, .sidenav.accordion, .sidenav .accordion-group .accordion-group .accordion-inner > a:last-child{border-top:none;}
div.supages-navi-level-1{border-bottom:1px solid red!important}

.profile-cct-search-form select{width:100%}

/*End Profile +Qlink STYLES*/

/*Artslogo-reduce size to fix menu
#artslogo{height:20px;width:20px}
#ubc7-unit-menu .nav{height:40px;}*/