.Title h2,.Title h1,.Title h3 {
    color:#555;
    font-size:1.2em;
}

.fac-content a {
    color:#025898;
}
.fac-content a:hover {
    text-decoration:underline;
    color:#4C4C4C;
} 

ul {
    list-style-type:square;
    text-transform:none;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .row {
        margin: 1px;
    }
}


/********************
    MAIN NAV STYLES
********************/
nav.main_nav * {
    z-index:50;
}



.SiteHeader {
    /*margin-top:40px;*/
}





.nudge-left1 {
    margin-left:-20px;
}
.clearfix {
clear: both;
}

/* main middle styles */

.fac_title {
  background: #555;
  padding: 7px 0;
}
.fac_title_element {
  text-transform: uppercase;
  color: #fff;
  font-size: 22px;
  margin: 0;
  padding: 0 10px;
}
.fac_title_element a:link, .fac_title_element a:hover, .fac_title_element a:visited {
    color:#fff;
    text-decoration:none;
}

/* Middle content styles */
.EventsArea .NewsList {
  margin: 24px 0px 14px 0px;
  border-bottom: 1px solid #DFDFDF;
}
.EventsArea .NewsItem {
  margin-bottom: 8px;
}
.MiddleThird ul, ul.quickLinks,ul.job_posting_ul {
  margin: 0;
}
.MiddleThird ul li, , ul.quickLinks li,ul.job_posting_ul li  {
  border-top: 1px solid #DFDFDF;
}
.MiddleThird ul li:nth-child(1), ul.quickLinks li:nth-child(1),ul.job_posting_ul li:nth-child(1) {
  border-top: none;
}
.MiddleThird ul li a, ul.quickLinks li a,ul.job_posting_ul li a {
  display: block;
  padding: 14px 0 14px 6px;
  font-weight: bold;
}
ul.job_posting_ul li a {
  display: block;
  padding: 8px 6px 8px 0;
  font-weight: bold;
}
.MiddleThird ul li a:hover,ul.quickLinks li a:hover,ul.job_posting_ul li a:hover {
  background-color: #EBEBEB;
} 

/* FACULTY NAV */

/*** ESSENTIAL STYLES ***/
.fullFacMenu, .fac_nav, ,nav_fac_holder, {
    z-index:5;
}
.fac-menu,
.fac-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  outline: none;
  text-transform: uppercase;
}
.fac-menu {
  line-height: 1.0;
}
.fac-menu ul {
  position: absolute;
  top: -999em;
  width: 220px;
  /* left offset of submenus need to match (see below) */

}
.fac-menu ul li {
  width: 100%;
  color:#fff;
}
.fac-menu ul li a:active, .fac-menu ul li a:hover  {
  color:#fff!important;
}
.fac-menu ul li ul {
  width: 220px;
}
.fac-menu li:hover {
  visibility: inherit;
  /* fixes IE7 'sticky bug' */
  color:#fff!important;

}
.fac-menu li {
  float: left;
  position: relative;
  display: block;
  padding-right: 20px;
}
.fac-menu a {
  display: block;
  position: relative;
}
.fac-menu li:hover ul,
.fac-menu li.sfHover ul {
  left: 0;
  top: 38px;
  /* match top ul list item height */

  z-index: 99;
}
ul.fac-menu li:hover li ul,
ul.fac-menu li.sfHover li ul {
  top: -999em;
  outline: none;
  margin-left: 18px;
  line-height: 1.2em;
}
ul.fac-menu li li:hover ul,
ul.fac-menu li li.sfHover ul {
  left: 200px;
  /* match ul width */
  top: 0;
}
ul.fac-menu li li:hover li ul,
ul.fac-menu li li.sfHover li ul {
  top: -999em;
  margin-left: 18px;
}
ul.fac-menu li li li:hover ul,
ul.fac-menu li li li.sfHover ul {
  left: 11.5em;
  /* match ul width */

  top: 0;
  margin-left: 18px;
}
ul.fac-menu li:nth-child(-n+5) {
  /*border-right:1px solid #B2B2B2;*/

}
/*** DEMO SKIN ***/
li.sfHover a {
  color: #fff!IMPORTANT;
}
.fac-menu {
  float: left;
  margin-bottom: 8px;
}
.fac-menu a {
  padding: 10px 12px;
  text-decoration: none;
}
.fac-menu li {
    padding:0;  
}
.fac-menu li a {
    padding:10px 12px;
    margin:0;
}
    
.fac-menu li li a {
  padding: 4px 14px;
  text-decoration: none;
  font-size: 12px;
}
.fac-menu li li {
    line-height: 1.2em;
    font-weight:normal!important;
    text-transform: none!important;
}
.fac-menu a,.fac-menu a:link,
.fac-menu a:visited {
  /* visited pseudo selector so IE6 applies text colour*/

  color: #000;
}
.fac-menu li li a,.fac-menu li li a:link,
.fac-menu li li a:visited {
  /* visited pseudo selector so IE6 applies text colour*/

  color: #fff;
  padding-right: 10px;
}
.fac-menu a:hover {
  /* visited pseudo selector so IE6 applies text colour*/

  color: #fff;
}
.fac-menu li {
  background: #fff;
}
.fac-menu li li {
  background: #555;
  color: #fff;
}
.fac-menu li li li {
  background: #555;
  color: #fff;
}
.fac-menu li:hover,
.fac-menu li.sfHover,
.fac-menu a:focus,
.fac-menu a:hover,
.fac-menu a:active {
  background: #555;
  outline: 0;
}
.fac-menu li ul li:hover,
.fac-menu li ul li a:focus,
.fac-menu li ul li a:hover,
.fac-menu li ul li a:active {
  background: #999;
  outline: 0;
}
.fac-menu li ul {
  padding-bottom: 20px;
}
/*** arrows **/
.fac-menu li li a.fac-with-ul {
  padding-right: 2.00em!IMPORTANT;
  min-width: 1px;
}
.fac-menu li a {
  /*padding-right: 8px!IMPORTANT;*/
  font-weight: 700;
}
.fac-sub-indicator {
  position: absolute;
  display: block;
  right: 0;
  top: .55em;
  /* IE6 only */

  width: 10px;
  height: 10px;
  text-indent: -999em;
  overflow: hidden;
  background: url('https://shared.uoit.ca/site-images/nav/arrows-ffffff.png') no-repeat -10px -100px;
  /* 8-bit indexed alpha png. IE6 gets solid image only */

  margin-right: -20px;
}
a > .fac-sub-indicator {
  /* give all except IE6 the correct values */

  top: .55em;
  background-position: 0 -100px;
  /* use translucent arrow for modern browsers */

  margin-right: -20px;
}
/* apply hovers to modern browsers */
a:focus > .fac-sub-indicator,
a:hover > .fac-sub-indicator,
a:active > .fac-sub-indicator,
li:hover > a > .fac-sub-indicator,
li.sfHover > a > .fac-sub-indicator {
  background-position: -10px -100px;
  /* arrow hovers for modern browsers*/

}
/* point right for anchors in subs */
.fac-menu ul .fac-sub-indicator {
  background-position: -10px 0;
}
.fac-menu ul a > .fac-sub-indicator {
  background-position: 0 0;
}
/* apply hovers to modern browsers */
.fac-menu ul a:focus > .fac-sub-indicator,
.fac-menu ul a:hover > .fac-sub-indicator,
.fac-menu ul a:active > .fac-sub-indicator,
.fac-menu ul li:hover > a > .fac-sub-indicator,
.fac-menu ul li.sfHover > a > .fac-sub-indicator {
  background-position: -10px 0;
  /* arrow hovers for modern browsers*/

}
/*** shadows for all but IE6 ***/
.fac-shadow ul.fac-shadow-off {
  background: transparent;
}
/* phone display nav */
.fac-nav-sml {
  width: 100%;
  overflow: visible;
  height: 38px;
}
/************************************************************************************
NAV
*************************************************************************************/
.fac-nav-sml {
    margin-top: 20px;
}

/* menu icon */
#menu-icon {
    display: none; /* hide menu icon initially */
}

#mobile-nav, 
#mobile-nav li {
    margin: 0;
    padding: 0;
}
#mobile-nav li {
    list-style: none;
    float: left;
    margin-right: 5px;
}

/* nav link */
#mobile-nav a {
    padding: 4px 15px;
    display: block;
    color: #000;
    background: #ecebeb;
}
#mobile-nav a:hover {
    background: #f8f8f8;
}

/* nav dropdown */
#mobile-nav ul {
    background: #fff;
    padding: 2px;
    position: absolute;
    border: solid 1px #ccc;
    display: none; /* hide dropdown */
    width: 200px;
}
#mobile-nav ul li {
    float: none;
    margin: 0;
    padding: 0;
}
#mobile-nav li:hover > ul {
    display: block; /* show dropdown on hover */
}

/* Home middle area */
.EventsArea .Date {
    font-weight:bold;
    font-size:.9em;
}


/* Landscape phones and down */
@media (max-width: 479px) {
  /* full width */
  .carousel_wrapper {
    margin: 10px 0;
  }
  .mainBanner {
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
  }
  .fac_title_element {
    font-size:16px;  
  }
  
  /* nav-wrap */
    .fac-nav-sml {
        position: relative;
    }

    /* menu icon */
    #menu-icon {
        color: black;
        width: 96%;
        background: #ECEBEB url(https://shared.uoit.ca/site-images/menu-icon.png) no-repeat 10px center;
        padding: 2%;
        cursor: pointer;
        border: solid 1px #666;
        display: block; /* show menu icon */
    }
    #menu-icon:hover {
        background-color: #f8f8f8;
    }
    #menu-icon.active {
        background-color: #bbb;
    }
    
    /* main nav */
    #mobile-nav {
        clear: both;
        position: absolute;
        top: 38px;
        width: 98%;
        z-index: 10000;
        padding: 1%;
        background: #f8f8f8;
        border: solid 1px #999;
        display: none; /* visibility will be toggled with jquery */
    }
    #mobile-nav li {
        clear: both;
        float: none;
        margin: 0 0 2px 0;
    }
    #mobile-nav li:hover {
        background: #555;
    }
    #mobile-nav a, 
     ul #mobile-nav a {
        font: inherit;
        background: none;
        display: block;
        padding: 0;
        color: #666;
        border: none;
        padding:8px 10px;
    }
    #mobile-nav a:hover, 
     ul #mobile-nav a:hover {
        background: #555;
        color: #fff;
    }
    
    /* dropdown */
     ul #mobile-nav {
        width: auto;
        position: static;
        display: block;
        border: none;
        background: inherit;
    }
    ul #mobile-nav li {
        margin: 3px 0 3px 15px;
    }
}
/* Landscape phone to portrait tablet */
@media (min-width: 480px) and (max-width: 767px) {
  .carousel_wrapper {
    margin: 20px 0 0 0;
  }
  .mainBanner {
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    /* height: 490px; */
  }
  /* nav-wrap */
    .fac-nav-sml {
        position: relative;
    }

    /* menu icon */
    #menu-icon {
        color: black;
        width: 96%;
        background: #ECEBEB url(https://shared.uoit.ca/site-images/menu-icon.png) no-repeat 10px center;
        padding: 2%;
        cursor: pointer;
        border: solid 1px #666;
        display: block; /* show menu icon */
    }
    #menu-icon:hover {
        background-color: #f8f8f8;
    }
    #menu-icon.active {
        background-color: #bbb;
    }
    
    /* main nav */
    #mobile-nav {
        clear: both;
        position: absolute;
        top: 38px;
        width: 98%;
        z-index: 10000;
        padding: 1%;
        background: #f8f8f8;
        border: solid 1px #999;
        display: none; /* visibility will be toggled with jquery */
    }
    #mobile-nav li {
        clear: both;
        float: none;
        margin: 0 0 2px 0;
    }
    #mobile-nav li:hover {
        background: #555;
    }
    #mobile-nav a, 
     ul #mobile-nav a {
        font: inherit;
        background: none;
        display: block;
        padding: 0;
        color: #666;
        border: none;
        padding:8px 10px;
    }
    #mobile-nav a:hover, 
     ul #mobile-nav a:hover {
        background: #555;
        color: #fff;
    }
    
    /* dropdown */
     ul #mobile-nav {
        width: auto;
        position: static;
        display: block;
        border: none;
        background: inherit;
    }
     ul #mobile-nav li {
        margin: 3px 0 3px 15px;
    }

}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 1024px) {
  .carousel_wrapper {
    margin-top: 40px;
  }
  .mainBanner {
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 412px;
  } 
}
/* Large desktop */
@media (min-width: 1025px) and (max-width: 1250px) {
  .carousel_wrapper {
    margin: 0 auto;
    width: 982px;
    overflow: visible;
  }
  .mainBanner {
    position: relative;
    margin: 0 auto;
    overflow: visible!important;
    width: 80%;
    height: 392px;
  }
}
@media (min-width: 1251px) {
  /* full width */
  .carousel_wrapper {
    margin: 0 auto;
    width: 982px !important;
    overflow: visible;
    height: 392px !important;
  }
  .mainBanner {
    position: relative;
    margin: 0 auto;
    overflow: visible!important;
    width: 982px !important;
    height: 392px !important;
  }
}

/* HOME BANNER FIX */

.mainBanner .slider .item .text.hide-text {
    display:none;
    visibility:hidden;
    height:0px; 
}

/*
        Content styles for the layout of the page
*/


img {
    border:none;
}


/* LIBRARY SEARCH STYLES */
div.librarySearchHolder, div.librarySearchHolder div {
    width:100%;
}
div.librarySearchHolder div {
    margin-top:20px;
}
div.librarySearchHolder div form input[type=submit] {
background:  #025898;
border: medium none #025898;
display: inline-block;
padding: 4px 6px;
margin-bottom: 9px;
font-size: 16px;
line-height: 20px;
color: #fff;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.libraryTabs li {
    list-style:none;
    display:inline;
}
.libraryTabs a {
    padding:5px 10px;
    display:inline-block;
    background:#025898;
    color:#fff;
    text-decoration:none;
    border:3px #025898 solid;
    border-bottom:0;
    border-radius:5px 5px 0 0;
}
.libraryTabs a.active {
    background:#fff;
    color:#000;
    border:3px #025898 solid;
    border-bottom:0;
}

@media (max-width: 450px) {
    .libraryTabs li {
    list-style:none;
    display:block;
    width:100%;
    margin-top:2px;
    }
    .libraryTabs a {
    padding:5px 10px;
    display:block;
    background:#025898;
    color:#fff;
    text-decoration:none;
    border:none;
    border-bottom:0;
    border-radius:0;
    }
    div.librarySearchHolder {
    padding:0;
    width:100%;
    }
}

div.librarySearchHolder, div.librarySearchHolder div {
    width:100%;
}
.libraryTabs li {
    list-style:none;
    display:inline;
}
.libraryTabs a {
    padding:5px 10px;
    display:inline-block;
    background:#025898;
    color:#fff;
    text-decoration:none;
    border:3px #025898 solid;
    border-bottom:0;
    border-radius:5px 5px 0 0;
}
.libraryTabs a.active {
    background:#fff;
    color:#000;
    border:3px #025898 solid;
    border-bottom:0;
}

.profile-image {
float: left;
padding: 2px;
margin: 0 5px 5px 0;
border: 1px solid #efefef;
}