/* This file will hold styles for the mobile version of your website (mobile first). */
/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */

/*colors
Logo blue: #0d4391
logo orange: #f39200 */


/*Font styling*/
sup{
    vertical-align: super;
}
sub{
    vertical-align: sub;
}
h1, h2, h3, h4, h5, h6, p, li{
    color: #222;
    letter-spacing: 0;
}
h1{
    font-size: 25pt;
    letter-spacing: 0;
    line-height: 1.2em;
}
h2{
    margin-bottom: 0.5em;
    color: #888;
}
h2,
h2 a{
    font-size: 22pt;
    line-height: 1.2em;
}
h3,
h3 a{
    font-size: 18pt;
}

body{
    font-size: 11pt;
    line-height: 1.6em;
}
li {
line-height: 1.4em;
margin: 5px 0;
/*font-size: 0.92em;*/
}
a{
    color: #0d4391;
    transition: all 0.5s ease;
}

a:link,
a:active,
a:visited{
    color: #0d439;
    text-decoration: none;
}
a:hover{
   color: #f39200; 
}

.field-name-field-event,
.field-name-field-event-date,
.field-name-field-year,
.views-field-field-date,
.field-name-field-news-date,
.field-name-field-date{
    color: grey;
}

.views-exposed-widgets label{
    font-weight: normal;
}
blockquote p{
    color: gray;
    display: block;
    float: right;
    width: 80%;
}

/*Header -- Logo -- Main Menu -- Sitename*/
.section-header{
     background: #1a4b91;
     height: 75px;
     border-bottom: 5px solid #0d4391;
     margin-bottom: 65px;
    /* box-shadow: 0px 2px 10px #888;*/
}
.front #section-header{
    border-bottom: none;
    height: 135px;
    margin-bottom: 30px;
}
.logo-img {
    border: 1px solid white;
    border-top: none;
}
.logo-img:hover{
    display: block;
    border: 1px solid #f39200;
    border-top: none;
    transition: all 0.5s ease 0s;
    /*width: 125px;
    height: 100px;*/
}

.not-front #logo{
    width: 125px;
}
.front .logo-img{
    float: left;
}
/*Site Name and slogan*/

.site-name{
    /*font-size: 26px !important;*/
    margin-bottom: 5px;
}
.front .site-name a:link,
.front .site-name a:visited,
.front h1.site-name a:link,
.front h1.site-name a:visited,
.front h6.site-slogan{
    color: white;
}
.front .site-name-slogan{
    display: block;
}
.site-name-slogan{
    display: none;
}
/*---------------------Main menu*/
/*places the menu*/
.region-menu-inner{
margin-left: 145px;
margin-top: -61px;

}
/*positions menu in line with logo on homepage*/
.front .region-menu-inner{
    margin-top: -26px;
    margin-left: 161px;
}
/*Menu styling*/
#block-nice-menus-1{
    z-index: 50;
    position: relative;
}
#block-nice-menus-1 li{
    background-color: #1a4b91;
    background-image: none;
    transition: all 0.5s ease;
}
ul.nice-menu-down .menuparent a{
    padding-right: 0px;
    padding-left: 0px;
}

ul.nice-menu-down .menuparent ul a{
    padding: 5px;
}
ul.nice-menu a{
    padding: 0;
}
#section-header li a{
    color: white;
    text-transform: uppercase;
    /*font-size: 1.09em;*/
    display: block;
    padding: 3px 5px;
}
.front #section-header li a{
    padding: 3px 4px;
}

#nice-menu-1 li{
		border:0px;
		padding:0 9px 5px 9px;
		display:block;
	}
/*orange underline in hover*/
/*#nice-menu-1 li:hover{
		border:0px;
		border-bottom:2px solid #f39200;
	}*/
       
#nice-menu-1 li a {
		color:#ededed;
		text-decoration:none;
        font-size: 9.5pt;
	}
#nice-menu-1 li a:hover{
    background: #f39200;
}
#nice-menu-1 li li a  {
    font-size: 9.3pt;
    padding: 6px 8px;
    text-transform: capitalize;
}  
.front #nice-menu-1 li li a {
    padding: 6px 8px;
}
#nice-menu-1 li li ul  {
    margin: 0;
}

/*styles dropdowns*/
#nice-menu-1 li ul{
		margin:8px 0px 0px 0px;
        width: 100%;
        border: 1px solid white;
}
        
#nice-menu-1 li ul li{
		border:0px;
		border-bottom:1px dotted #ededed;
		padding:0px 0px 0px 0px;
		display:block;
        width: 100%;
        background-color: #3d6bae;
	}
ul.nice-menu-down li ul li ul{
    left: 100%;
}

/*#nice-menu-1 li ul li:hover{
		border:0px;
		border-bottom:1px solid #f39200;
		padding:0px 0px 0px 0px;
		display:block;
	}*/
/*Marks where we are in the menu structure*/
ul.nice-menu-down li.active-trail,
ul.nice-menu-down li.active-trail a{
    background-color: #f39200;
    color: blue;
}
ul.nice-menu-down .active-trail li a{
    background-color: #3d6bae;
}
ul.nice-menu-down .active-trail .active-trail a{
    background-color: #f39200;
}

/*--------------------------------------------Footer styling*/
.region-content{
    padding-bottom: 40px;
}
/*sticky footer*/
HTML, BODY {
  height: 100%;
}

#page {
  min-height: 100%;
  position: relative;
}

#section-content {
  padding-bottom: 200px
}

#section-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 200px;
}
/*end of sticky footer*/

#section-footer{
    background: lightgrey;
}

.zone-footer {
    padding-top: 20px;
}
.zone-footer .region-footer-second .block{
    margin-top: 20px;
    float: right;
    padding-left: 100px;
    text-align: right;
    font-size: 0.8em;
}
.not-logged-in .zone-footer .region-footer-second .block-search{
    padding-bottom: 28px;
}
.zone-footer .region-footer-first .block{
    width: 50%;
    float: left;
    display: block;
    font-size: 0.8em;
}
/*.zone-footer .region-footer-second p{
    font-size: 0.8em;
}
/*-----------------------------------------------RHS Styling*/
.region-sidebar-second-inner{
    margin-top: 80px;
    margin-bottom: 20px;
}
/*puts border on blocks in rhs*/
.region-sidebar-second-inner .block{
    padding-bottom: 20px;
    border: 1px solid lightgrey; 
    padding: 10px;
    margin-bottom: 10px;
}
/*and takes it off some of them*/
#block-ds-extras-program-rhs,
#block-ds-extras-award-rhs,
#block-ds-extras-people-rhs,
#block-ds-extras-problem-rhs,
#block-ds-extras-publication-rhs,
#block-ds-extras-video-rhs,
#block-ds-extras-news-rhs,
#block-ds-extras-lecture-rhs,
#block-ds-extras-sp-rhs,
#block-ds-extras-poster-rhs{
    border: none;
}
.region-sidebar-second h3{
    font-size: 16px;
    margin-bottom: 0;
}
.ctools-auto-submit-processed{
    width: 100%;
}
.region-sidebar-second a{
    display: block;
    line-height: 1.4em;
}
.region-sidebar-second .block-views-events-block-1 .views-summary a{
    display: inline;
}
.region-sidebar-second .field{
    border: 1px solid lightgray;
    padding: 10px;
    margin-bottom: 10px;
    width: 198px;
}
/*.region-sidebar-second .field-items{
    margin: 10px 10px 20px 10px;
}*/
.region-sidebar-second .field-item{
    margin: 10px 10px 20px 10px;
}
 .region-sidebar-second .field-label, 
 .region-sidebar-second .block-title{
            /*font-size: 1.2em;*/
            font-weight: normal;
            background: #0d4391;
            display: block;
            padding: 10px;
            margin: -10px 0 10px -10px;
            width: 198px;
            color: white;
            
        }
.region-sidebar-second .file{
    padding-bottom: 5px;
}
.region-sidebar-second img.file-icon{
    float: left;
    padding-right: 4px;
}
/*---------------------------------------------------Home page styling*/
.front .page{
    background-image: url(/sites/all/themes/clay_math_subtheme/img/hp-bg.gif);
    background-repeat: repeat-x;
    background-size: 3px 475px;
}
.logged-in .page{
    background-size: 3px 500px;
}
.front h1.title{
    display: none;
}
/*Introductory text block*/
.front .block-main{
    display: block;
    width: 45%;
    float: left;
    margin-top: 10px;
    height: 250px; 
    margin-bottom: 5px;
}

#block-views-home-page-blocks-block,
#block-views-news-block-2,
#block-views-home-page-blocks-block-3{
    border: 1px solid lightgrey;
    display: block;
    float: left;
    height: 600px;
    margin: 85px 0 40px 0;
    width: 270px;
}
#block-views-home-page-blocks-block,
#block-views-news-block-2{
    margin-right: 62px;
}
#block-views-home-page-blocks-block .block-title,
#block-views-news-block-2 .block-title,
#block-views-home-page-blocks-block-3 .block-title{
    padding: 10px 20px;
    color: white;
}
#block-views-home-page-blocks-block .content,
#block-views-news-block-2 .content,
#block-views-home-page-blocks-block-3 .content{
    padding: 20px ;
}
/**/
/*Millenium Prize Block*/
#block-views-home-page-blocks-block .block-title{
    /*background: #00888f;*/
    background: #6D8EBD;
}
#block-views-home-page-blocks-block .views-field-field-image{
    float: left;
    padding: 10px 15px 10px 0;
}
/*News Block*/
#block-views-news-block-2 .block-title{
    /*background: #ff9c1c;*/
    background: #6D8EBD;
}

#block-views-news-block-2 .views-field-field-main-image{
    display: block;
    float: left;
    padding-right: 10px;
    padding-top: 10px;
}
#block-views-news-block-2 .views-row{
    padding: 0 0 20px 0;
}
#block-views-news-block-2 .view-footer p{
    text-align: right;
}
/*Events block*/
#block-views-home-page-blocks-block-3 .block-title{
    /*background: #79c341;*/
    background: #6D8EBD;
}
#block-views-home-page-blocks-block-3 .view-footer p{
    text-align: right;
}
/*Slideshow styling only*/
.block-home-page-slideshow-block {
    display: block;
    width: 465px;
    height: 250px;
    /*overflow: hidden;*/
    float: right;
    margin-top: 15px;
}
.view-home-page-slideshow .views-field-field-main-image{
    border: 1px solid lightgrey;
}

/*.block-home-page-slideshow-block .views-field-title,
.block-home-page-slideshow-block .views-field-body{
    opacity: 0.75;
    position: absolute;
    transition: all 0.5s ease 0s;
    padding: 10px;
}*/
/*.block-home-page-slideshow-block .views-field-title{
    background-color: white;
    width: 442px;
    top: 180px;
    height: 20px;
}*/
/*.block-home-page-slideshow-block .views-field-body{
    background-color: white;
    top: 220px;
    height: 80px;
    overflow: hidden;
    padding-top: 0;
    font-size:10.5pt;
    line-height: 14pt;
}*/
/*#views_slideshow_cycle_main_home_page_slideshow-block:hover .views-field-body{
    top: 130px;  
}
#views_slideshow_cycle_main_home_page_slideshow-block:hover .views-field-title{
    top: 90px;   
}*/
/*makes room for the left arrow*/
/*.views-slideshow-cycle-main-frame.views_slideshow_cycle_teaser_section{
    margin-left: 25px;
}*/
/*replace previous and next links with images and place them either side of the image*/
/*views_slideshow_controls_text_previous_home_page_slideshow-block_1,
#views_slideshow_controls_text_next_home_page_slideshow-block_1{
    width:25px;   
    height:50px;     
    position:absolute;   
    top:150px;   
    overflow:hidden; 
    background-repeat: no-repeat;
    transition: all 0.5s ease;
}*/

/*#views_slideshow_controls_text_previous_home_page_slideshow-block_1{
    background-image: url(/sites/all/themes/clay_math_subtheme/img/prev_arrow.png);
    padding-left: 50px;
}
#views_slideshow_controls_text_previous_home_page_slideshow-block_1:hover{
    background-image: url(/sites/all/themes/clay_math_subtheme/img/prev_arrow_hover.png);
}
#views_slideshow_controls_text_next_home_page_slideshow-block_1{
    background-image: url(/sites/all/themes/clay_math_subtheme/img/next_arrow.png);
    margin-left: 485px;
    padding-right: 50px;
}*/
#views_slideshow_controls_text_next_home_page_slideshow-block_1 a{
    display: none;
}
#views_slideshow_controls_text_previous_home_page_slideshow-block_1 a{
    display: none;
}
/*#views_slideshow_controls_text_next_home_page_slideshow-block_1:hover{
    background-image: url(/sites/all/themes/clay_math_subtheme/img/next_arrow_hover.png);
}*/
/*re-places images for logged in*/
/*.logged-in #views_slideshow_controls_text_previous_home_page_slideshow-block_1,
.logged-in #views_slideshow_controls_text_next_home_page_slideshow-block_1{   
    top:75px;   
}*/

/*hides the pause button*/
.views-slideshow-controls-text-pause{
    display: none;
}
/*End of slideshow styling*/

/*-----------------------------------------------------Views listings*/

.view-header{
    display: block;
    height: 210px;
}
.view-header img{
    display: block;
    float: left;
}
.views-row{
    padding: 0 0 20px 0;
}
.views-row h2{
    margin-bottom: 0px;
}
/*.view-mode-teaser */
.field-name-field-main-image,
.field-name-field-poster,
.field-name-field-screenshot,
.field-name-field-image{
    float: left;
    margin: 10px 20px 0 0;
    border: 1px solid lightgrey;
}
.field-name-title h3{
    margin-bottom: 10px;
}
/*Programs page - on a 2-col stacked layout*/
.ds-2col-stacked-fluid .group-header{
    padding-bottom: 1em;
}
.ds-2col-stacked-fluid .group-right,
.ds-2col-stacked-fluid .group-left{
    width: 45%
}

.ds-2col-stacked-fluid .group-right{
    margin-left: 10%;
    padding-top: 20px;
}
.ds-2col-stacked-fluid .group-right .field{
    margin-bottom: 10px;
}
.field-name-field-organiser .field-item{
    display: block;
}
.field-name-field-location{
    font-size: 1.3em;
}
/*Horizontal tabs*/
.group-footer{
    padding-top: 20px;
}
.field-group-htabs li strong{
    font-weight: normal;
}
.horizontal-tabs-panes{
    padding: 10px;
    margin-top: -5px;
    border: 1px solid lightgray;
}
/*re-syling*/
div.horizontal-tabs{
    border:none;
}
.horizontal-tabs ul.horizontal-tabs-list{
    border-right: none;
    background-color: white;
}
.horizontal-tab-button{
    border: 1px solid lightgrey;
}
/*Calendar*/
.view-header{
    padding-top: 0;
}

/*table in horizontal tabs*/
table .views-field-title{
    width: 60%;
}
/*Gallery in horizontal tabs*/
.field-name-field-gallery img{
    float: left;
    padding: 10px;
}
/*views exposed forms*/
.region-sidebar-second .views-exposed-form .form-item{
    margin-bottom: 0.5em;
}

/*searchbar buttons and forms*/
#search-block-form--2{
    display: block;
    float: right;
    padding-top: 50px;
}
.form-actions input {
    margin-right: 0;
}

button, input[type="reset"], input[type="submit"], input[type="button"] {
    -webkit-appearance: none;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding;
    background: white;
   border-radius: 0px;
    border: 1px solid grey;
    cursor: pointer;
    color: grey;
    font-weight: normal;
    padding: 3px 10px 4px;
    width: auto;
    text-shadow: none;
    transition: background 0.3s, color 0.3s;
    -moz-transition: background 0.3s, color 0.3s; /* Firefox 4 */
    -webkit-transition: background 0.3s, color 0.3s; /* Safari and Chrome */
    -o-transition: background 0.3s, color 0.3s; /* Opera */
    font-family: "Lato";
}
.views-reset-button{
    width: 100%;
    padding-top: 0;
}

button:hover, input[type="reset"]:hover, input[type="submit"]:hover, input[type="button"]:hover {
    background: #f39200;
    color: #fff;
}

input[type="text"], input[type="email"] {
    /*border-radius: 10px; 
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px; */
    border: 1px solid grey;
}

.block-search input[type="submit"] {
    margin-top: -1px;
}

.form-select {
    /*border-radius: 10px 0 0 10px;
    -moz-border-radius: 10px 0 0 10px;
    -webkit-border-radius: 10px 0 0 10px;*/
    border: 1px solid grey;
    font-family: "Lato"
    /*font-size: 1.2em; */
}
/* Pager */

.pager li.pager-ellipsis,
.pager li.pager-current,
.pager li a {
  color:#7C7C7C;
}

.pager li {
  background: none;
  border:none;
  color: #7C7C7C;
  font: bold 12px/1.2 Arial, sans-serif;
  outline: 0;
}

.pager li.pager-current {
  background: #FFF;
  border:1px solid #DDD;
}

.pager li.pager-next {
  background: #F2F2F2;
  border:none;
}

.pager li a {
  background: #F2F2F2;
  border:1px solid #DDD;
  cursor: pointer;
}

.pager li a:hover {
  background:#FFF;
  color:#7C7C7C;
}

/* Add default border radius to list items & links */
.pager {
  background: none;
  border:none;
}

.pager li.first,
.pager li.first a,
.pager li.first a:hover {
  border-radius: 5px 0 0 5px;
  -moz-border-radius: 5px 0 0 5px;
  -webkit-border-radius: 5px 0 0 5px;
}

.pager li.pager-last,
.pager li.pager-last a,
.pager li.pager-last a:hover {
  border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  -webkit-border-radius: 0 5px 5px 0;
}

table {
  border: 1px solid #CCC;
  width: 100%;
}

thead th, th {
  background: #f7f7f7;
  border-bottom: 1px solid #ccc;
  color: #333;
}

td, th {
  padding: 4px 8px;
  vertical-align: middle;
}

th a, th a:link, th a:visited {
  text-decoration: none;
}

th a {
  display: block;
}

th a img {
  margin: 0 0 0 5px;
}

th.active {
  background: #F2F2F2;
  border:1px solid #DDD;
}

.pager li.pager-first a,
.pager li.pager-previous a {
  width: 58px;
  padding: 4px 8px;
}

/*Euclid section*/
.context-euclid h1.title {
    margin-top: 25px;
}
.node-text-section .group-header{
    margin-bottom: 25px;
    height: 185px;
    width: 100%;
    overflow: hidden;
}
.node-text-section .group-header .field-name-field-folio-image a{
    display: block;
    height: 185px;
}
.node-text-section .group-header .field-name-field-folio-image a:hover{
    opacity: 0.9;
}
.node-text-section .group-header .field-name-field-folio-image a:after{
    content: "View all folio images related to this section";
    float: right;
    font-size: 0.95em;
}
.node-text-section .group-header .field-name-field-folio-images .field-item p{
    float: left;
    width: 100px;
    margin-top: -37px;
        color: grey;
    font-size: 0.95em;
    
}
/*.node-text-section .group-header .field-name-field-folio-images,*/
.node-text-section .group-footer .field-name-field-related-folio-images {
    display: block;
    min-height: 65px;
}
/*.node-text-section .group-footer .field-name-field-related-folio-images .field-item{
    padding-top: 10px;
}*/
/*.node-text-section .group-header .field-name-field-folio-images .field-item,*/
.node-text-section .group-footer .field-name-field-related-folio-images .field-item{
    margin-right: 6px;
    display: block;
    float: left;
}
.node-text-section .group-footer .field-name-field-related-folio-images .field-item p{
    color: grey;
    font-size: 0.95em;
    padding-left: 10px;
}
.node-text-section .group-left,
.node-text-section .group-right{
    width: 44%;
    border: 1px solid lightgrey;
    padding: 20px;
}
.node-text-section .group-left{
    margin-right: 3%;
}
#region-header-second{
    float: right;
    text-align: right;
    width: 600px;
}
/*****************************index menu*****************/
#region-header-second  .content a,
#region-header-second  .block-previous-next .content .links li a{
    padding-left: 10px;
    display: block;
    width: 65px;
    padding: 5px;
    margin: 10px;
    border: 1px solid lightgrey;
    text-align: center;
    height: 23px;
}
#region-header-second  .content a:hover,
#region-header-second  .block-previous-next .content .links li a:hover{
    background: #f39200;
    color: #fff;
}
#region-header-second .block-block-5{
    float: right;
}


/**********************Euclid Jump Menu Styling************/
#region-header-second .block-clay-euclid-book-selection{
   display: block;
    width: 277px;
    float: right;
    text-align: left;
    margin-left: 10px;
}
#region-header-second .block-clay-euclid-book-selection label{
    display: none;
}
#region-header-second .block-clay-euclid-book-selection .form-item,
#region-header-second .block-clay-euclid-book-selection .form-select,
#region-header-second .block-clay-euclid-book-selection .form-submit{
    display: block;
    float: left;
    font-size: 11pt;
    color: grey;
}
#region-header-second .block-clay-euclid-book-selection .form-item,
#region-header-second .block-clay-euclid-book-selection .form-select{
    margin-top: 5px;
    height: 35px;
    margin-left: -1px;
    min-width: 90px;
}
#region-header-second .block-clay-euclid-book-selection #text-section .form-item select{
    width: 190px;
}
#region-header-second .block-clay-euclid-book-selection select{
    height:auto;
    padding: 5px;
    border: 1px solid lightgrey;
    /*font-size: 1em;*/
    margin-top: 0;
    margin-left: 10px;
}

/**********************can remove this if we go autosubmit********************/
#region-header-second .block-clay-euclid-book-selection .form-submit{
    margin-top: 10px;
    height: 35px;
    border: 1px solid lightgrey;
    margin-left: -1px;
}
/*moving pager*/
#region-header-second ul.links{
    text-align: right;
    margin-top: -25px ;
    /*margin-right: -12px;*/
    list-style: none;
     padding: 0;
}
.block-previous-next{
    float: right;
    /*width: 250px;*/
    /*padding-left: 100%;*/
    /*margin-top: -20px;
    padding-bottom: 20px;*/
}
.block-previous-next li{
    float: left;
}
#region-header-second  .block-previous-next .content .links li.previous a{
    margin-right: 0;
}
#region-header-second  .block-previous-next .content .links li.next a{
    margin-left: -1px;
}
#section-header .block-previous-next .links li a{
    color: #0062A0;
    text-transform: none;
    height: 20px;
}
/*#region-header-second ul.links li a{
    display: block;
    height: 20px;
    width: 99px;
    border: 1px solid lightgrey;
    float: left;
    padding: 5px;
    margin: 10px;
    text-align: center;
}*/
/*.region-content ul.links li a:hover{
    background: #f39200;
    color: #fff; 
}*/

/*Index page*/
h3.ui-accordion-header{
    height: 40px;
    background: none;
}
h3.ui-accordion-header:hover{
    border: 1px solid orange;
    background: lightgrey;
    transition: all 0.5s ease;

}
h3.ui-state-active{
    background: lightgrey;
}
h3.ui-accordion-header h3{
        font-size: 14pt;
}
.ui-accordion-header .field-name-title{
    width: 12%;
    float: left;
}
.ui-accordion-header .field-name-field-subtitle{
    width: 75%;
    float: left;
    padding: 2px 0 10px 0;
}
.ui-accordion-content .views-row{
    padding: 0;
    width: 100%;
    display: block;
    float: left;
    padding-bottom: 10px;
}
.ui-accordion-content .views-row p{
    margin-bottom: 0px;
}
.ui-accordion-content .views-field-title{
    width: 22%;
    float: left;
}
.ui-accordion-content .views-row .views-field-field-english-translation{
    width: 76%;
    display: block;
    float: left;
    padding-left: 10px;
}
/*testing fonts 179 is /euclid/index/book-4-proposition-2 */
/*.page-node-179 .field-name-field-greek-translation p{
    font-family: 'Gentium Book Basic';
}*/
/*testing fonts 181 is /euclid/index/book-4-proposition-3 */
/* .field-name-field-greek-translation p{
    font-family: 'Gentium Basic';
}*/
.node-type-text-section .field-name-field-greek-translation p{
    font-family: 'Gentium Plus';
}

/* Colorbox theme overrides */
button#cboxClose,
button#cboxNext,
button#cboxPrevious,
#cboxNext:hover,
#cboxClose:hover,
#cboxPrevious:hover,
.cboxSlideshow_off #cboxSlideshow:hover,
.cboxSlideshow_on #cboxSlideshow:hover,
.cboxSlideshow_off #cboxSlideshow,
.cboxSlideshow_on #cboxSlideshow
#cboxTitle {
        /*background-position: -25px -25px;*/
    transition: background 0 ease 0;
    -moz-transition: background 0 ease 0; /* Firefox 4 */
    -webkit-transition: background 0 ease 0; /* Safari and Chrome */
    -o-transition: background 0 ease 0; /* Opera */
      }

#cboxTitle {
        display: block !important;
      }

.cboxSlideshow_off #cboxSlideshow:hover,
.cboxSlideshow_on #cboxSlideshow:hover,
.cboxSlideshow_off #cboxSlideshow,
.cboxSlideshow_on #cboxSlideshow,
#cboxTitle {
    transition: all 0 ease 0;
    -moz-transition: all 0 ease 0; /* Firefox 4 */
    -webkit-transition: allall 0 ease 0; /* Safari and Chrome */
    -o-transition: all 0 ease 0; /* Opera */
      }

      /* To change position of close button to Top Right Corner */
#colorbox #cboxClose
{
top: 0;
right: 0;
}
#cboxLoadedContent{
margin-top:28px;
margin-bottom:28px;
}
#cboxOverlay{
    background: #000;
    opacity: 0.85;
}