/*
 Theme Name: Skifi
 Theme URI: -
 Description: Skifi business Drupal theme
 Version: 1.0
 Author: Worthapost
 Author URI: http://www.worthapost.com
 OTHER IMPORTANT CLASSES ARE DEFINE IN BOOTSTRAP/CSS/BOOTSTRAP.CSS 
 */

@import url(https://fonts.googleapis.com/css?family=Bitter:400,700);
 
body {
	font-size: 12px;
	padding: 0;
	margin:0;
	color: black;
	line-height: 150%;
}

a, h1, h2, h3, h4, h5, h6, p{
    line-height: 150%;
}

body.toolbar-drawer {
	padding: 65px 0 0 0  !important;
}

#main_structure{
    background: #fff;
    margin: 10px auto 10px auto;
}

.field-label, .views-label, .label-above, label { color: #1F3D80; font-weight: bold }

/*
 * BOOTSTRAP OVERRIDES 
 */

h1, h2, h3, h4, h5, h6 {
	line-height: 140%;
	color: #1F3D80;
}
.container-fluid{
	padding: 0;
	margin: 0;
}
p {
	margin-bottom: 20px;
}
.clearfix {
  *zoom: none;
}
ul.arrow li{
	list-style-image: url(images/list-arrow.png)  ;
}
.item-list ul li{
    list-style-image: url(images/list-arrow.png)  ;
}
ul.unstyled, ol.unstyled {
	list-style-image: none;
}
.item-list ul li {
    margin: 0 0 0.55em 1.5em;
    padding: 0;
}
.sidebar .item-list li a{
    display: block;
    text-transform: capitalize;
}
form button, form input[type="button"], form input[type="reset"], form input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
	margin: 0 0 5px 0;
}
#sliding-popup .popup-content #popup-buttons button {
	font-size: 1em;
}

.less-margin {
	margin: 5px 0;
}
input[type="radio"], input[type="checkbox"] {
	margin: -2px 5px 0 0;
}
.span2 input[type="textfield"], .span2 textarea {
	width: 150px;
}
.container-inline input[type="submit"] {
	margin-bottom: 9px;
	margin-right: 5px;
}
.container-inline label {
	margin-right: 10px;
}
.pager a, .pager span {
	background-color: #FFFFFF;
	border: 1px solid #DDDDDD;
	border-radius: 5px;
	display: inline-block;
	padding: 3px 10px;
}
.item-list .pager {
	line-height: 35px;
}
.item-list .pager li {
	margin: 0 0 10px 0;
}
.item-list .pager li a {
	color: #5f5f5f;
}
a:focus, .btn:focus, * {
	outline: none;
}
.dropcap {
	display: block;
	float: left;
	font-size: 40px;
	line-height: 40px;
	margin: 0 5px 0 0;
	margin-top: -1px;
}
/* Make alert messages have bigger and more obvious font */
.alert-danger, 
.alert-error {
	font-size: 1.1em;
    font-weight: bold;
}

/*
 *  ACCORDION
 */
.accordion-heading * {
	margin: 0;
}
.accordion-heading a {
	color: #5f5f5f;
}
.accordion-heading {
	box-shadow: none;
	background: #f8f8f8;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	font-size: 1.4em;
}
.getCode {
	margin-top: 20px;
	margin-bottom: 20px;
}
/* Reduce pagging on the performance indicators accordion */
.view-performance-indicators .ui-accordion .ui-accordion-content {
	padding: 1em 1.2em;
}

.getCode .icon-plus {
	margin-top: 4px;
	margin-right: 2px;
}

.the-icons li, .the-icons {
	list-style: none;
	list-style-type: none;
	margin-left: 5px;
}

.carousel .item > img{
    padding: 0;
}

.carousel{
    font-family: Georgia, arial;
}

/*
 * STRUCTURE ELEMENTS
 */

.WrapperWidth{
	max-width: 1170px; /* This is max span of header, slider, content, footer. Your theme will remain full screen */
	margin: auto;
	padding: 0 15px;
}

/*
 * HEADER SECTION (LOGO AND MENU SECTION)
 */


#header{
	background-image: url(images/banner.jpg); 
	-webkit-box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:    1px 3px 10px rgba(0, 0, 0, 0.2);
	box-shadow:         1px 3px 10px rgba(0, 0, 0, 0.2);
	border-bottom: 5px solid #1F3d80;
	z-index: 100;
	position: relative;
}

@media (max-width: 1169px) {
	#header{
		padding: 0 10px;
	}
}

#logocontainer {
	float: left;
	margin-right: 10px;
}

#texttitles, #site-name {
	margin: 0;
}

#texttitles {
	padding-left: 2px;
	display: block;
	float: left;
}

#site-name {
	font-size: 30px;
	line-height: 100%;
	padding-top: 0;
	font-weight: normal;
	
}

#site-name a, #site-name a:hover {
	color: #5f5f5f;
	text-decoration: none;
}

#slogan {
	padding-top: 10px;
	color: #1F3d80;
	font-size: 1.4em;
	display: block;
	margin-bottom: 0.5em;
	width: 190px;
	min-height: 65px;
}

#headerRight {
	min-height: 145px;
}

#headerRight .titlecontainer{
	display: none;
}

/*
 * sticky navigation
 */

#stickyHeader{
    margin: auto;
    position: fixed;
    width: 100%;
    top: 0;
    left:0;
    background: rgba(255,255,255,.92);
    box-shadow: 0 2px 2px rgba(50,50,50,.1);
    display: none;
    z-index: 9999;
}

@media (min-width:1170px){
  #stickyHeader{
    border-bottom:1px dashed;
  }

}

#stickyInner{
    margin: auto;
    padding: 10px  20px;   
}

#stickyTitle h2{
    margin:  0;
}

/*
 * STICKY NODES
 */
.node-article.node-sticky {
	background-color: ghostwhite;
	padding: 10px;
	border: 1px solid #1F3D80;
	border-radius: 5px;
}

/*
 * Menu
 * 
 */

#mainMenu{
	/*float: right;*/
	font-size: 1em !important;
	/*margin-top: 30px*/
	bottom: 0px;
	right: 0px;
	position: absolute;
}

#buttonMenu #secondary-menu-links{
	display: table-cell;
	height: 40px;
	vertical-align: middle;
	/*font-size: 11px; MOC remove */
}

.tinynav { 
	display: none 
}

/*
 * SLIDER REGION
 */

#slider_container{
	z-index: 90;
	position: relative;
	background: #fff;
	width: 100%;
	/*height: 280px;*/
	background-color: #e3dfd3;
}

#slider_container a{ 
}

#slider_container h1, #slider_container h2, #slider_container h3, #slider_container h4, #slider_container h5{
    font-weight: 700;
}

#slider_container h1{
    font-size: 48px;
}

#slider_container h2{
    font-size: 32px;
}


#slider_container h3{
    font-size: 22px;
}


#slider_container h4{
    font-size: 14px;
    line-height: 26px;
}

#slider_container p{
    margin-bottom: 0px;
}

/*
 * NEWS REGION
 */
#newsRegion {
 width: 490px;
 top: 50%;
 margin-top: -162px;
 right: 3px;
 position:absolute;
 behavior: url(/sites/all/themes/skifi/js/pie/pie.htc);
 color: #D9D9D9;
 z-index: 9999;
}

#newsRegion .item-list ul li  {
	list-style-image: url(images/list-arrow-blue.png);
	margin-bottom: 0.3em;
}

#newsRegion .view-content {
	min-height: 150px;
}

#newsRegion .nav-tabs {
	border-bottom: none;
	margin-left: 8px;
	text-transform: uppercase;
}

#newsRegion .nav-tabs > li > a {
	padding-top: 4px;
	padding-bottom: 4px;
	border-top: none;
	border-left: none;
	border-right: none;
}

#newsRegion .nav-tabs > li > a:hover {
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 3px solid #D9D9D9;
	color: #D9D9D9;
	background: none;
}

#newsRegion  .nav-tabs > .active > a, #newsRegion .nav-tabs > .active > a:hover {
	color: #0099CC;
	background-color: transparent;
	border-bottom: 3px solid #0099CC;
	border-top: none;
	border-left: none;
	border-right: none;
}


/*
 *  QUICKTABS
 */
ul.quicktabs-tabs.quicktabs-style-sky li a, 
ul.quicktabs-tabs.quicktabs-style-sky li a:visited {
  font-size: 1.15em;
	padding: 0px 11px;
}
ul.quicktabs-tabs.quicktabs-style-sky li.active a, 
ul.quicktabs-tabs.quicktabs-style-sky li.active a:visited {
	font-size: 1.15em;
	padding: 0px 11px;
	background: #40609b url('images/bg-shade-dark.png') repeat-x bottom left
}
ul.quicktabs-tabs.quicktabs-style-sky li {
	height: 3.25em;
	min-height: 3.55em;
}
ul.quicktabs-tabs.quicktabs-style-sky li a:hover, 
ul.quicktabs-tabs.quicktabs-style-sky li.active a:hover {
	background: #7cbadf url('images/bg-shade-medium.png') repeat-x bottom left;
}
/* Reduce the padding for headings etc in quicktabs */
.quicktabs-tabpage h1,
.quicktabs-tabpage h2,
.quicktabs-tabpage h3,
.quicktabs-tabpage h4,
.quicktabs-tabpage h5,
.quicktabs-tabpage h6 {
	margin-top: 0.1em;
}


/*
 *  FIELD GROUPS (TABS)
 */ 
.field-group-htabs .horizontal-tabs-panes {
	margin: 15px 0px;
}
/* Increase padding on horizontal tabs in forms */
.horizontal-tabs fieldset.horizontal-tabs-pane {
	padding: 1em;
}


/* 
 *  FORM STYLES 
 *  MOC 17-JUL-2014 Added new styles for the MailChimp form
 */
#mc_embed_signup {
 	background:#fff; 
 	clear:left;
}
.view-filters form,
#mc-embedded-subscribe-form,
#form-elements-inc,
.wizard-form,
.webform-client-form {
	background: url(images/searchform-image.jpg) no-repeat;
 	background-color: #E5F4F9; 
	padding: 6px; 
	border: 1px solid #87B2F1;
	border-radius: 8px;
	box-shadow: 0px 0px 4px #06A286;
}
/* Progress bar on web forms */
.webform-progressbar {
	margin: 20px auto;
}
/* MailChimp subscription form in modal pop up */
.modal #mc-embedded-subscribe-form {
	padding: 15px;
}
/* All asterisks in MailChimp form */
#mc_embed_signup span.asterisk {
	font-size: 170%;
	color: #c60;
}
/* Indicates required */
#mc_embed_signup .indicates-required {
	text-align: right;
	font-size: 11px;
	margin-right: 4%;
}
/* Text boxes */
#mc_embed_signup .mc-field-group input {
	display: block;
	width: 100%;
	padding: 8px 0;
	text-indent: 2%;
}
#mc_embed_signup form .mc-field-group .asterisk {
	top: 36px;
}
/* Remove default margins from subscribe button */
#mc_embed_signup #mc-embedded-subscribe { 
	margin: 0;
}
/* Give all text boxes a height of 24px */
.view-filters form input[type="text"] { 
	height: 24px;
} 
/* make search form text box bigger */
.view-filters form input[type="text"] { 
	height: 24px 
}
/* Inline container for groups in a form, useful for year of incidence for example */
div.inline-collection .form-item {
  float: left;
  padding: 0 1em 0 0;
}
/* Wizard form style, for example with dataset download */
.wizard-form {
  	padding: 0.75em;
}
/* Wizard form - NCRI Dataset */
.wizard-trail {
	background-color: rgb(13, 163, 181);
	color: white;
  	padding: 5px;
  	margin-bottom: 10px;
  	border-radius: 3px;
}

/*
 *  HIGHLIGHTED REGION
 */
#highlightedRegion{
    /*border-top:6px solid;*/ 
	color: #cccccc;
	overflow: hidden;
	clear: both;
}
.highlightedButton {
	margin-top: 27px;
}

@media (max-width: 767px) { /* GRIDS BECOME VERTICALY STACKED AT THIS WIDTH */
	.highlightedButton{
		margin-top: 5px;
	}	
	
	.highlightedButton{
		
	}
}


/*
 * ROW 1 REGION
 */
#row1-FullSpan{
	margin: 0 0 5px 0;	
}
#row1-Region{
	padding: 60px 0 30px 0;
	border-bottom: 1px solid #e5e5e5;
}

/*
 * ROW 2 REGION
 */
#row2-FullSpan{
	margin: 0 0 5px 0;	
}
#row2-Region{
	padding: 30px 0;
	background-color: #fff;
}

/*
 *  Under content region 
 */

#underContent_full_span{
    margin: 0 0 5px 0;  
}

#underContent-Region{
    padding: 20px 0 0  0;
    background-color: #fff;
    border-top: 1px solid #dbdbdb;
}

#underContent-Region .content{
    padding-bottom: 0px;
}

#underContent-Region #underContent_full_span .blocktitle{
    margin: 10px 0 0;
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    text-transform: none;
}

/*
 * Content and Sidebars area
 */

#contentAndSidebars #contentRegion-FullSpan{
    margin: 0 0 5px 0;  
}

#contentAndSidebars #contentRegion-FullSpan .blocktitle{
    margin: 10px 0 0;
    text-align: center;
    font-size: 30px;
    font-weight: 300;
    text-transform: none;
}

#contentAndSidebars{
	padding: 15px 0 10px 0;
	min-width: 200px;
	background: #fff;
	min-height: 160px;
	position: relative;
	z-index: 0;
}

.front #contentAndSidebars{
    padding: 50px 0 30px 0;
}

#contentArea{
    position: relative;
}


.node{
	margin-bottom: 15px;
	padding-bottom: 15px;
}

.node:last-child{
    margin-bottom: 0px
}

.views-row{
    margin-bottom: 15px;
}

.views-row .views-field-title{
    font-weight: 600;
}

.block .node .content{
	padding: 5px 0;
}

.node .title {
	margin: 10px 0 10px 0;
}

.node-teaser .title {
	margin: 0 0 12px 0;
}

.node .title a {
}

.node-teaser .user-picture {
	display: none;
}

div.submitted {
	padding: 20px 0 12px;
	color: #9f9f9f;
	width: 100%
}

.node-teaser div.submitted {
	padding: 0 0 10px 0;
	margin-bottom: 5px;
	width: 100%;
	font-style:italic;
}

.node-teaser .node-print {
	display: none;
}

.field-name-field-secondary-title{
    font-size: 28px;
    margin: 20px 0;
}

.node .links {
	padding: 0;
	width: 100%;
	text-align: right;
	margin: 0;
	line-height: 35px;
}

.node-user-picture {
	float: right;
	margin: 0 0 10px 10px;
	/*width: 100px;
	height: auto;
	padding: 5px; MOC, this is rubbish */
}

.node img {
	margin-bottom: 15px;
	padding: 4px;
	box-shadow: 0 1px 3px rgba(50, 50, 50, 0.3);
  -moz-box-shadow: 0 1px 3px rgba(50, 50, 50, 0.3);
  -webkit-box-shadow: 0 1px 3px rgba(50, 50, 50, 0.3);
  box-sizing: border-box;
}



div.terms {
	display: block;
	margin-bottom: 10px;
	text-align: right;
	padding: 2px 0;
	margin-bottom: 2px;
}

div.terms div {
	display: inline-block;
	line-height: 13px;
}

.meta .terms .field-item {
	margin-left: 8px;
	margin-bottom: 5px;
	padding: 2px 8px 2px 3px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}

.meta .terms .field-item a {
	color: #fff;
	font-size: 0.9em;
	font-weight: normal;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background: url(images/tag-hole.png) left center no-repeat;
    padding-left: 12px;
}

#contentAndSidebars .blocktitle{
	font-weight: normal;
	font-size: 1.65em;
	margin: 0;
	border-left: 10px solid;
	padding: 1px 0 1px 10px;
}

/*
 * top menu
 */
 
#topMenu .region-top-menu {
	float: right;
}

/*
 * top msg
 */
 
#topMsg  {
	background-color: lemonchiffon;
	color: #1F3D80;
	padding: 3px;
	font-size: 0.90em;
	border-radius: 5px;
	border: 2px solid #1F3d80;
	margin: 3px 0 3px 0;
	text-align: center;
}

#topMsg p { margin-bottom: 0 }

/*
 * search box
 */

#searchFormSkifi{
	float: right;
	clear: right;
}

#searchFormSkifi .content{
    padding: 0;
}

#searchFormSkifi .form-item, .form-actions{
    margin: 0;
}

#searchFormSkifi form{
    margin: 0;
}

#searchFormSkifi input{
    margin: 0;
}

#searchFormSkifi #search-block-form{
    width: 215px;
    text-align: right;
}

#searchFormSkifi #search-block-form .container-inline { position: relative }

#searchFormSkifi  #search-submit-topbar{
    position: absolute;
    right: 9px;
    top: 3px;
    height:22px;
    width: 22px;
}


#searchFormSkifi .form-text{
    width: 150px;
    padding: 2px 32px 2px 8px;
    font-size: 1.25em;
    border-radius: 12px;
    background: #f5f5f5;
	float: right;
	height: 24px;
}

/*
 * Drupal Menus
 */

#contentAndSidebars .menu-block-wrapper .menu{
	background: rgb(247,247,247); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3ZjdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk5JSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(left,  rgba(247,247,247,1) 0%, rgba(255,255,255,1) 99%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(247,247,247,1)), color-stop(99%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(247,247,247,1) 0%,rgba(255,255,255,1) 99%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(247,247,247,1) 0%,rgba(255,255,255,1) 99%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(247,247,247,1) 0%,rgba(255,255,255,1) 99%); /* IE10+ */
	background: linear-gradient(to right,  rgba(247,247,247,1) 0%,rgba(255,255,255,1) 99%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#ffffff',GradientType=1 ); /* IE6-8 */
	margin: 5px 0 10px 0;
	border:1px solid #e5e5e5;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	box-shadow: 0 0 4px rgba(150,150,150, .19);
	-webkit-box-shadow: 0 0 4px rgba(150,150,150, .19);
	-moz-box-shadow: 0 0 4px rgba(150,150,150, .19);
}

#contentAndSidebars .block-menu .content{
	padding-top:10px; 
}

#contentAndSidebars .menu-block-wrapper .menu li{
	margin: 0;
	list-style: none;
	list-style-image: none;
	padding: 0;
	position: relative;
}

#contentAndSidebars .menu-block-wrapper .menu li a{
	margin: 0;
	padding: 6px 25px 6px 18px;
	display: block;
	border-bottom: 1px solid #e5e5e5;
	color: #555;
}

/* MOC second level menu */
#contentAndSidebars .menu-block-wrapper .menu .submenu li a {
	font-size: 0.9em;
	font-weight: normal;
	padding-left: 5px;
	font-style: italic;
	display:  inline-block;
	width: 75%;
	border-bottom-style: dashed;
}

#contentAndSidebars .menu-block-wrapper .menu .submenu ul {
	margin-left: 40px;
}

#contentAndSidebars .menu-block-wrapper .menu .submenu li {
	list-style-image: url(images/list-arrow.png);
}
/* end second level menu */

#contentAndSidebars .menu-block-wrapper .menu li a:hover{
	text-decoration: none;
	background-color: lemonchiffon;
}
#contentAndSidebars .menu-block-wrapper .menu li .menu { 
	margin-left: 5px; 
	margin-right: 5px 
}
#contentAndSidebars .menu-block-wrapper .menu li .menu li a { 
	padding-left: 40px; 
	border-bottom: none; 
}
.menu-arrow{
	display: none; /* Hide from everywhere except content and sidebars region */
}
#contentAndSidebars .menu-block-wrapper .menu-arrow{
	display: block; /* Hide from everywhere except content and sidebars region */
	position: absolute;
	width: 6px;
	height: 13px;
	background-image: url(images/menu-arrow.png) ;
	top:10px;
	right: 15px;
}
/* MOC 22-SEP-2014 Hidden menu for full width screens */
#contentAndSidebars #block-menu-block-2.block {
	margin: 0;
}
#block-menu-block-2 .menu {
	display: none;
}
#contentRegion-FullSpan .span12 {
	min-height: 0px;
}

/*
 * RIGHT SIDEBAR
 */


@media (min-width: 768px) {
    #right-sidebar .region-right-sidebar{
        padding-left: 25px;
        background: url("images/sidebar-border.gif") top left repeat-y;
    }
    
    .front #right-sidebar .region-right-sidebar{
        padding-left: 25px;
        background:none;
    }
}


/*
 * Colored block regions (under content region)
 */

#BottomRegion{
    position: relative;
    overflow: hidden;
}

#bottomLeft{
	float: left;
	width: 35.5%;
}

#noRight #bottomLeft{
	width: 100%;
}

#bottomRight{
	float: left;
	width: 64.5%;
}

#bottomRightInner{
	padding: 0 0 0 10px;
}

#noLeft #bottomRight{
	width: 100%;
}

#BottomRegion ul li{
    line-height: 180%;
}

#BottomRegion ul.arrow li{
	list-style-image: url(images/list-arrow-white.png)  ;
}

#BottomRegion .btn{
	 color: #333;
}

#BottomRegion a, #BottomRegion .btn.btn-inverse, 
#BottomRegion .btn.btn-theme, #BottomRegion .btn.btn-warning, 
#BottomRegion .btn.btn-info, #BottomRegion .btn.btn-primary, 
#BottomRegion .btn.btn-danger {
	 color: #fff;
}

#BottomRegion a{
	
}

#BottomRegion a:hover{
	text-decoration: none;
}

#BottomRegion .blocktitle{
	font-size: 30px;
	line-height: 30px;
}

/*
 * FOOTER BLOCKS
 */

#FooterRegion{
	background: url(images/footer.jpg) no-repeat #E3E1D4;
	padding: 20px 0 0 0;
	border-top: 2px solid rgba(0,0,0,.3);
	border-top: 6px solid;
}

#FooterRegion h1, #FooterRegion h2, #FooterRegion h3, #FooterRegion h4, #FooterRegion h5{
	/*color: #fff;*/
}

#FooterRegion .blocktitle{
	/*font-weight: bold;
	text-transform: uppercase; 
	font-size: 1.15em;
	text-shadow: 0 2px 0 rgb(0,0,0);*/
	margin-top: 5px;
}

#footer{
	padding-bottom:15px;
	text-align: center;
}

#FooterRegion .block{
    padding-right: 10px;
}

#FooterRegion #footer .block{
	margin-bottom: 0;
}

#FooterRegion #footer .block .content{
	padding: 13px;
	display:inline-block;
}

#FooterRegion #footer .block .blocktitle{
	display: inline-block;
}

#FooterRegion #footer .block .content div{
	display: inline-block;
}

#FooterRegion #footer a{
	font-weight: normal;
}

#FooterRegion .span3 .region {
	border-left: 1px dotted #D9D9D9;
	padding-left: 20px;
}

#FooterRegion .span3 .region.region-footer1 {
	border-left: none;
	padding-left: 0px;
}

#FooterRegion .menu{
	margin: 0;
}

#FooterRegion .menu li {
    margin: 0 0 0.55em 1.5em;
    padding: 0;
	display: inline;
}

#FooterRegion .menu li, #FooterRegion .menu li.leaf, #FooterRegion .menu li.expanded, #FooterRegion .menu li.collapsed {
	list-style-image: url(images/ncri-arrow.png)  ;
}

#FooterRegion ul li{
	list-style-image: url(images/ncri-arrow.png)  ;
}

#FooterRegion ul.unstyled li{
    list-style-image: none  ;
}


#FooterRegion .contextual-links li{
    list-style-image: none;
    list-style: none;
}

#FooterRegion #block-comment-recent .item-list {
    margin: 0;
    padding: 0;
}

#FooterRegion #block-comment-recent .item-list li {
    list-style-image: none;
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
}

#FooterRegion #block-comment-recent .item-list li a{
    display: block;
    text-transform: capitalize;
}

#FooterRegion .region-footer4 .content { padding: 0 }

#FooterRegion p { margin-bottom: 0px }

/*
 * BLOCKS
 */

.block .blocktitle{
	margin: 10px 0 0 0;
}

#main_structure .block .content .blocktitle{
    margin-top: 0; 
    margin-bottom: 20px;
}

.block h3.blocktitle{
	font-size: 20px;
}

#row1-FullSpan .blocktitle{
	margin: 10px 0 0 0;
	text-align: center;
}

#row2-FullSpan .blocktitle{
	margin: 10px 0 0 0;
	text-align: center;
}

#highlightedRegion .block .content{
    padding: 15px 0;
}

.block .content{
	padding: 10px 0 10px 0; 
}

#block-system-main .content{
    padding-top: 0;
}


.block{
}

#header .block .content{
	padding: 0; /* Header contains only menu blocks so no padding */
}

#contentAndSidebars .block{
	margin-bottom: 10px;
}

.sidebar .block{
    margin-bottom: 20px;
}

#BottomRegion .block{
	padding: 5px 25px ;
	position: relative;
}

#FooterRegion .block{
	margin-bottom: 20px;
}

/*
 * Tag cloud MOC 13-AUG-2014
 */
.wrapper.tagadelic {
	padding: 15px;
	border-radius: 5px;
	box-shadow: inset 0px 0px 20px -6px #1F3D80;
}

/*
 * btn classes (rest are in bootstrap/css/bootstrap.css)
 */
 

.btn.btn-theme {
	color: #ffffff;
	line-height:20px;
}

.btn.btn-mega{
  padding: 7px 38px;
  font-size: 19px;
  line-height: normal;
  font-weight:normal;
  -webkit-border-radius:2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.btn.btn-arrow{
	background-image: url(images/btn-arrow.png);
	background-position: right center;
	background-repeat: no-repeat;
}

.btn.btn-large.btn-arrow{
    background-image: url(images/btn-arrow-large.png);
    padding-right: 32px;
    background-position: right center;
    background-repeat: no-repeat;
}

.btn.btn-arrow.btn-small{
	padding-right: 20px;
}

@media (max-width: 1024px) {
    #slider_container .btn.btn-large.btn-arrow{
        background-image: none;
    }
}

/*
 * TITLE REGION
 */

#title-region{
	background-image: url(images/title-bg-shade.png); 
	background-position: center top;
	background-repeat: no-repeat;
	box-shadow: 0 -2px 2px rgba(50,50,50,.3) inset;
	-webkit-box-shadow: 0 -2px 2px rgba(50,50,50,.3) inset;
	-moz-box-shadow: 0 -2px 2px rgba(50,50,50,.3) inset;
	border-bottom: 1px solid #fff;
	position: relative;
	margin-bottom: 13px;
}

#title-region .inner {
	color: #fff;
    position: relative;
}

#title-region .inner a {
	color: #fff;
}

#title-region .inner {
	padding: 15px 0;
	background-position: top;
	background-repeat: repeat-x;
}

#title-region .page-title, #title-region .page-title a {
	margin: 0;
	color: #fff;
	text-shadow: 0px 2px 0px rgba(50,50,50,0.2 );
	font-weight: normal;
}

#title-region .page-title{
    margin-right: 20px;
}

@media(max-width:767px){
    #title-region .page-title, #title-region .page-title a {
        margin: 0;
        color: #fff;
        font-size: 2.0em;
        text-shadow: 0px 2px 0px rgba(50,50,50,0.2 );
    }
    
    #title-region .page-title{
        margin-right: 0px;
    }   
}

.plain-title{
    border-left: 10px solid;
    padding-left: 15px;
    line-height: 120%;
    margin-top: 0;
    margin-right: 160px;
}

/*
 * PORTFOLIO IMAGE HOVER EFFECTS
 * http://www.portfolio-container.com/beautiful-image-hover-effects-with-jquery-css.html
 */

.portfolio-container{
    padding: 15px 0;
	border-top: 1px dotted #D9D9D9;
}

.portfolio-container .views-field-title a{
    font-size: 20px;
    margin: 15px 0 5px 0px;
    display: block;
    font-weight: 400;
}

.view-display-id-home_portfolio .portfolio-container .views-row{
    display: inline-block;
    max-width: 190px;
    vertical-align: top;
    margin-right: 32px;

}

.portfolio-container .views-field-body p{
    margin: 0 0 5px 0;
}


.portfolio-container .views-field-created{
    margin-bottom: 25px;
    padding-left:5px;
    border-left: 2px solid;
    display: block;
}

.view-display-id-home_portfolio .portfolio-container .views-field-field-image .field-content {
    position: relative;
    height: 160px;
    width: 174px;
    overflow: hidden;
}

.view-display-id-home_portfolio .portfolio-container .views-field-field-image .field-content  .img-mask{
    background-image: url('images/mask.png');
    background-position:bottom right;
    background-repeat: no-repeat;
    z-index: 20;
    background-size: 100%;
}

.view-display-id-home_portfolio .img-mask-hover{
    z-index: 30;
    background-image: url('images/portfolio-hover-colored.png');
    background-position:bottom right;
    background-repeat: no-repeat;
    background-size: 100%;
    right: -175px;
    bottom: -160px;
}

.portfolio-container .views-field-field-image .field-content  .img-mask-hover .portfolio-enlarge{
    position: absolute;
    right: 55px;
    bottom: 15px;
    border-top-left-radius:0 !important;
    -webkit-border-top-left-radius:0 !important;
    -moz-border-top-left-radius:0 !important; 
}

.portfolio-container .views-field-field-image .field-content  .img-mask-hover .portfolio-link{
    position: absolute;
    right: 15px;
    bottom: 15px;
    border-top-left-radius:0 !important;
    -webkit-border-top-left-radius:0 !important;
    -moz-border-top-left-radius:0 !important;     
}


.portfolio-container .views-field-field-image .field-content  .img-mask {
    background-image: url('images/mask.png');
    background-position:bottom right;
    background-repeat: no-repeat;
    z-index: 20;
    background-size: cover;
}


.portfolio-container .views-field-field-image .field-content img
{
    position: absolute;
    z-index: 10;
    border-radius: 25px 0.1px 0.1px 0.1px;
    -moz-border-radius:25px 0 0 0;
    -webkit-border-radius:25px 0 0 0;
	border: 1px solid #1F3D80;
	max-height: 100%;
}

/* 2 columns portfolio */
.view-display-id-portfolio2 .portfolio-container .views-row{
    display: inline-block;
    vertical-align: top;
    margin-right: 32px;
    margin-bottom: 50px;

}

.view-display-id-portfolio2 .portfolio-container .views-field-field-image .field-content {
    position: relative;
    height: 460px;
    width: 500px;
    overflow: hidden;
}

.view-display-id-portfolio2 .portfolio-container .views-field-title a{
    font-size: 26px;
}

.view-display-id-portfolio2 .img-mask-hover{
    z-index: 30;
    background-image: url('images/portfolio-hover-colored.png');
    background-position:bottom right;
    background-repeat: no-repeat;
    background-size: 100%;
    right: -501px;
    bottom: -461px;
}


/* 3 columns portfolio */
.view-display-id-portfolio3 .portfolio-container .views-row{
    display: inline-block;
    vertical-align: top;
    margin-right: 32px;
    margin-bottom: 40px;

}

.view-display-id-portfolio3 .portfolio-container .views-field-field-image .field-content {
    position: relative;
    height: 326px;
    width: 354px;
    overflow: hidden;
}

.view-display-id-portfolio3 .portfolio-container .views-field-title a{
    font-size: 26px;
}

.view-display-id-portfolio3 .img-mask-hover{
    z-index: 30;
    background-image: url('images/portfolio-hover-colored.png');
    background-position:bottom right;
    background-repeat: no-repeat;
    background-size: 100%;
    right: -355px;
    bottom: -327px;
}


/* 4 columns portfolio */
.view-display-id-portfolio4 .portfolio-container .views-row{
    display: inline-block;
    vertical-align: top;
    margin-right: 32px;
    margin-bottom: 40px;

}

.view-display-id-portfolio4 .portfolio-container .views-field-field-image .field-content {
    position: relative;
    height: 212px;
    width: 230px;
    overflow: hidden;
}

.view-display-id-portfolio4 .portfolio-container .views-field-title a{
    font-size: 22px;
}

.view-display-id-portfolio4 .img-mask-hover{
    z-index: 30;
    background-image: url('images/portfolio-hover-colored.png');
    background-position:bottom right;
    background-repeat: no-repeat;
    background-size: 100%;
    right: -230px;
    bottom: -212px;
}


/* 6 columns portfolio */
.view-display-id-portfolio6 .portfolio-container .views-row{
    display: inline-block;
    vertical-align: top;
    margin-right: 32px;
    margin-bottom: 40px;

}

.view-display-id-portfolio6 .portfolio-container .views-field-field-image .field-content {
    position: relative;
    height: 141px;
    width: 153px;
    overflow: hidden;
}

.view-display-id-portfolio6 .portfolio-container .views-field-title a{
    font-size: 1.5em;
}

.view-display-id-portfolio6 .img-mask-hover{
    z-index: 30;
    background-image: url('images/portfolio-hover-colored.png');
    background-position:bottom right;
    background-repeat: no-repeat;
    background-size: 100%;
    right: -153px;
    bottom: -141px;
}


/* 7 columns portfolio */
.view-display-id-portfolio7 .portfolio-container .views-row,
.view-display-id-portfoliosub .portfolio-container .views-row {
    display: inline-block;
    vertical-align: top;
    margin-right: 26px;
    margin-bottom: 40px;
}

.view-display-id-portfolio7 .portfolio-container .views-field-field-image .field-content,
.view-display-id-portfoliosub .portfolio-container .views-field-field-image .field-content  {
    position: relative;
    height: 121px;
    width: 131px;
    overflow: hidden;
}

.view-display-id-portfolio7 .portfolio-container .views-field-title a,
.view-display-id-portfoliosub .portfolio-container .views-field-title a{
    font-size: 1.45em;
}

.view-display-id-portfolio7 .img-mask-hover,
.view-display-id-portfoliosub .img-mask-hover {
    z-index: 30;
    background-image: url('images/portfolio-hover-colored.png');
    background-position:bottom right;
    background-repeat: no-repeat;
    background-size: 100%;
    right: -131px;
    bottom: -121px;
}

/* Remove image mask on portfolio sub */
.view-display-id-portfoliosub .img-mask {
	display: none;
}


/* portfolio buttons */

.portfolio-button-container {
    right: 10px;
    top: -15px;
    position: absolute;
}

button{
    border: none ;
}

.portfolio-button-container .dropdown-menu {
    left: -85px;
}



/* mobile portfolio */

@media (max-width:767px){
    .portfolio-container .views-field-field-image .field-content .img-mask {
      /*display: none;*/
      background-image: url('images/mask-mobile.png');
    }
    
    .view-display-id-portfolio2 .portfolio-container .views-field-field-image .field-content img, 
    .view-display-id-portfolio3 .portfolio-container .views-field-field-image .field-content img{
        width: 320px !important;
    }
    
    .view-display-id-portfolio2 .portfolio-container .views-field-field-image .field-content, 
    .view-display-id-portfolio3 .portfolio-container .views-field-field-image .field-content{
        height: 310px;
    }
    
    .img-mask-hover{
        display: none !important;
        visibility: hidden !important;
    }
}

/*
 * views -> recent posts home block
 */

#block-views-blog-articles-block-3 .views-field-created {
    display: inline;
    font-weight: bold;
    padding-right: 15px;
}

#block-views-blog-articles-block-3 .views-field-title{
    display: inline;
    font-weight: normal;
}

/* 
 * MODAL
 */
.modal .blocktitle {
	padding: 10px 0;
	border-color: #ddd;
	margin: 0;
}
.modal .modal-footer {
	background: none;
}
.modal form {
	margin: 0;
}
#myModal .content{
	padding: 20px;
}
/* Modal on the CTools */
div.ctools-modal-content .modal-header {
	border-bottom: 5px solid #1F3D80;
	background-color: #1EADAD;
  	padding: 0.4em;
}
div.ctools-modal-content .modal-header .close {
	font-size: 0.9em;
	font-weight: normal;
	opacity: 1;
	text-shadow: none;
}
div.ctools-modal-content a.close img {
	top: -1px;
	right: -2px;
}

/* 
 * COMMENTS
 */
#comments {
	margin-top: 30px;
}
.comment-meta {
	float: right;
	margin: 2px 0 4px 12px;
	background: #fefefe;
	padding: 5px;
}
.comment-meta img {
	width: 98px;
	height: auto;
}
.comment-submitted {
	margin-top: -8px;
	padding-bottom: 15px;
	font-size: 11px;
	color: #777;
}
.comments-links {
	text-align: right;
	font-size: 11px;
	color: #777;
}
.comment {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px dashed #e2e2e2;
}
#comments .indented {
	padding: 10px;
	margin-left: 30px;
}
#comment-form {
	font-weight: normal;
	padding: 8px 15px;
	background: #f8f8f8;
	box-shadow: 0px 0px 3px rgba(100,100,100, 0.3);
	-webkit-box-shadow: 0px 0px 3px rgba(100,100,100, 0.3);
	-moz-box-shadow: 0px 0px 3px rgba(100,100,100, 0.3);
}
#comment-form label {
	padding: 2px 0;
	font-weight: normal;
}
#comment-form input.form-text, #comment-form textarea.form-textarea {
}
#comment-form .form-submit {
	margin-right: 6px;
}
#comments h3 {
	font-size: 20px;
	margin: 10px 0;
}
#comments div.submitted{
    padding: 0 0 10px 0;
} 
#comments h2.title {
	padding-bottom: 8px;
	margin-bottom: 15px;
	border-bottom: 1px solid #e2e2e2;
}
#comments h2.title.comment-form {
	font-size: 24px;
	padding: 5px 15px;
	margin-bottom: 0;
	border: none;
	margin-top: 30px;
	color: #5f5f5f;
	text-shadow: 0 1px 0 rgba(255, 255,255, 0.4);
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	box-shadow: 0px 0px 3px rgba(100,100,100, 0.3);
	-webkit-box-shadow: 0px 0px 3px rgba(100,100,100, 0.3);
	-moz-box-shadow: 0px 0px 3px rgba(100,100,100, 0.3);
	background: #f8f8f8;
}
.comment .new, .marker {
	font-weight: bold;
	line-height: 14px;
	font-size: 11px;
	color: #ffffff;
	vertical-align: baseline;
	white-space: nowrap;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #999999;
	padding: 1px 2px 1px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

/*
 * BOX
 */

.box{
    padding: 0 0 0 20px;
    border-left:5px solid;
    margin-bottom: 15px;
}



/*
 * MISC ELEMENTS
 */
.form-submit {
	border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
}
.form-submit {
	-moz-border-bottom-colors: none;
	-moz-border-image: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	background-color: #F5F5F5;
	background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
	background-repeat: repeat-x;
	border-radius: 4px 4px 4px 4px;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
	color: #333333;
	cursor: pointer;
	display: inline-block;
	font-size: 1.15em;
	line-height: 20px;
	margin-bottom: 0;
	padding: 4px 14px;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
}

.form-actions {
	background-color: none;
	background: none;
	border-top: none;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 10px 0;
}

#toTop {
	width: 32px;
	height:32px;
	text-align: center;
	position: fixed; /* this is the magic */
	bottom: 15px; /* together with this to put the div at the bottom*/
	right: 12px;
	cursor: pointer;
	display: none;
	color: #333;
	font-size: 22px;
}

.feed-icon {
	padding: 10px 0 1px 0;
	float: right;
}
/* MOC 20-MAR-2014 make sure that icons on export are spaced out */
.feed-icon img {
	margin-left: 10px;
}

.hi {
	padding: 20px;
	margin: 20px;
	transition: box-shadow 1s linear 0s;
	-webkit-transition: box-shadow 1s linear 0s;
	-moz-transition: box-shadow 1s linear 0s;
}

.hi:hover {
	box-shadow: 10px 10px 30px #cccccc;
}

html.js input.form-autocomplete {
	background: none;
}

.btn.pull-right.form-submit {
	margin-left: 5px;
	margin-right: 0;
}

.btn.form-submit {
	margin-right: 5px;
}

.jsLink{
    cursor: pointer;
}

.curly-content{
    float: left;
    width: 80%;
}

.curly-brac{
    background-image:url(images/curly-brac.png);
    background-repeat: no-repeat;
    background-position: right center;
    width:36px;
    margin-left:12px;
    height: 107px;
    float: right;
    margin-top: -20px;
    position:relative;
}

.vertical-tabs .form-type-textfield input{
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

/*
 * USABLE CLASSES
 */

.displayTable{
	display: table;
}

.verticleMiddle{
	display: table-cell;
	vertical-align: middle;
}

.alignRight{
	text-align: right;
}

.alignLeft{
	text-align: left;
}

.alignCenter{
	text-align: center;
}

.relative{
    position: relative;
}

.border{
	height: 1px;
	display: block;
	line-height: 1px;
	font-size: 1px;
	overflow: hidden;
	background-image: url(images/border.png);
	background-position: center center;
	background-repeat: no-repeat;
}

.border.center{
	background-position: center center;
	background-repeat: no-repeat;
}

.border.left{
	background-position: -398px center;
}

.border.right{
	background-position: 475px center;
}

.spacer{
    margin-bottom: 30px;
}

.divider{
	display: block;
	padding-bottom: 25px;
}

.bordered{
    margin: 30px 0 30px 0;
    padding-bottom: 10px;
    border-bottom: 3px double #e0e0e0;
    font-weight: 400;
}

.content .bordered:nth-child(1){
    margin: 15px 0 30px 0;
}

.img-fluid{
    width: 100%;
}

.inline-block{
    display: inline-block;
}

.bold{
    font-weight: bold;
}

/* For news article headlines */
.fullmode-summary {
	font-size: 1.2em;
	font-weight: bold;
}

.fullmode-summary p {
	margin-bottom: 10px;
	background-color: aliceblue;	
	color: #1F3D80;
	border-left: 10px solid #1F3D80;
	padding: 7px;
} 

a.more-link {
	display: block
}

/*
 * TABLES
 *
 ***************************************************************************/

/* Remove them defaults */
tr.even, tr.odd {
	background-color: inherit;
	border-bottom: none;
	padding: 0;
}
th {
	border-bottom: none;
}
tbody {
	border-top: none;
}
td.active {
	background-color: white;
}

/* Default tables */
table {
	width: 100%;
	margin-bottom: 20px;
}

/* Views grid */
table.views-view-grid th, table.views-view-grid td {
	padding: 8px;
	text-align: left;
	border-top: 1px dashed #0099cc;
}
table.views-view-grid td {
	vertical-align: top;
}

/* Table sorting logic */
.tablesorter th.tablesorter-headerAsc {
	background: url("/sites/all/themes/skifi/images/arrow_down.png") no-repeat 50% 100%;
	background-color: lemonchiffon;
}
.tablesorter th.tablesorter-headerDesc {
	background: url("/sites/all/themes/skifi/images/arrow_up.png") no-repeat 50% 100%;
	background-color: lemonchiffon;
}
.tablesorter-headerRow {
	cursor:pointer;
}

/* 
 * FIELDSETS
 */
html.js fieldset {
	height: auto !important;
	padding: 10px;
	border: 0;
	box-shadow: 0 3px 3px rgba(100,100,100,.25);
}
/* legend for fieldsets etc. */
legend {
	color: #5f5f5f;
	margin-bottom: 0.15em;
}
/* Fieldset labels should be smaller */
fieldset label {
	font-size: 1em;
}

/* 
 * TABS 
 */

ul.tabs {
	margin: 15px 0;
}
ul.tabs a {
	color: #5f5f5f;
}
.item-list ul.pager {
	margin: 20px;
}

/*
*  MOC Social Icons
*/
[class^="micon-"],
[class*=" micon-"] {
  display: inline-block;
  width: 32px;
  height: 32px;
  *margin-right: .3em;
  background-repeat: no-repeat;
  margin: -14px 1px;
}

div.micon {
	height: 32px;
}

div.micon a {
  line-height: 32px;
}

.micon-twitter{
	background-image: url("images/icons/twitter.png");
}
.micon-excel{
	background-image: url("images/icons/excel.png");
}
.micon-csv{
	background-image: url("images/icons/csv.png");
}
.micon-linkedin{
	background-image: url("images/icons/linkedin.png");
}
.micon-rss{
	background-image: url("images/icons/rss.png");
}
.micon-newsletter{
	background-image: url("images/icons/newsletter.png");
}
.micon-sort{
	background-image: url("images/icons/sort.png");
}

.animateIcons{
    overflow: show;
    margin-bottom: -25px;
    position: relative;
    display: inline-block;
}

#social-tagline{
    text-align:center;
    position: absolute;
    top:-26px;
    display: none;
}

/* Smashing icons */
[class^="icons-smashing"],
[class*=" icons-smashing"] {
  display: inline-block;
  width: auto;
  height: auto;
  *margin-right: .4em;
  margin-right:5px;
  vertical-align: text-top;
  background-repeat: no-repeat;
  margin-top: 1px;
}

/* MOC boxed homepage content */
#row1-Blocks .block .blocktitle {
	margin: 5px;
	font-size: 1.65em;
	color: #0099cc;
	font-weight: bold;
	font-family: 'Bitter', serif;
}

#row1-Blocks .region {
	padding-left: 18px;
	min-height: 250px;
	border-left: 1px dotted #D9D9D9;
}

#row1-Blocks .region.region-row1-b1 {
	border-left: none;
	padding-left: 0px;
}

#row1-Blocks .block .content {
	padding-bottom: 0px
}

#row1-Blocks p {
	margin-bottom: 5px;
}

#row1-Blocks .titlecontainer {
	border-top: 1px solid #0099CC;
	border-bottom: 1px solid #0099CC;
}

.see-all {
	margin-right: 20px;
	float: right;
}

/*
* ImageFlow for Infographics
*/

.imageflow {
	background: url('images/bg-imageflow.png');
	background-color: azure;
	box-shadow: #0099CC 1px 1px 3px;
	border-radius: 25px;
	margin-bottom: 1.5em;
}
.imageflow .slider,
.imageflow .previous,
.imageflow .next {
	background-color: #000;
}
.imageflow .slider {
	background-image: none;
}
.imageflow .navigation {
	position: absolute;
	bottom: -115px;
	z-index: 10001;
}
.view-infographics-imageflow .views-field-field-image {
	text-align: center;
}

/*
 * Chosen
 */
#row1-Blocks  .chosen-container {
	margin-bottom: 5px;
}
.chosen-container {
  max-width: 100%;
}
.chosen-container-single .chosen-single {
	padding: 2px 0 3px 8px;
	font-size: 1.15em;	
}
.chosen-container-single .chosen-single div b {
	background-position-y: 5px;
}
/* MOC 15-SEP-2014 Description after chosen should have same margein as text box */
.chosen-container+.description {
	margin-top: 9px;
}



/*****************************************************************
 *  Online cancer incidence pages
 *  Added by MOC on 08-JUL-2014
 *****************************************************************/
.inc_notice {
	position: relative;
}
/* Different shading for age-standardised rates */
div[id^='inc_table'] td:nth-last-of-type(4) {
	border-left: 1px dotted #0099cc;
}
div[id^='inc_table'] td:nth-last-of-type(-n+4){
	background-color: #F0F0F0;
}
div[id^='inc_table_age'] td:nth-last-of-type(-n+4){
	background-color: transparent;
}
/* Table categories for age groups */
div[id^='inc_table'] .table-cat td {
	color: ghostwhite;
	font-weight: normal;
}
div[id^='inc_table'] .table-cat td.table-cat-1 {
	background-color: #213240;
}
div[id^='inc_table'] .table-cat td.table-cat-2 {
	background-color: #90AEC6;
}
div[id^='inc_table'] .table-cat td.table-cat-3 {
	background-color: #10C8CD;
}
#inc_table_region table th:nth-child(2),
#inc_table_sex table th:nth-child(2),
#inc_table_iccc table th:nth-child(2) {
	width:70px;
}

/* Format the line chart container */
#inc_line_chart_stage,
#inc_line_chart_sex,
#inc_line_chart_age,
#inc_line_chart_region,
#inc_line_chart_iccc {
	min-height: 0px;
	margin-top: 1em;
}
/* border under highcharts container */
.highcharts-container {
	padding-bottom: 15px;
	border-bottom: 5px double #0099CC;
	margin-bottom: 15px;
}
/* For IE to show export button */
.highcharts-button {
	min-width: 16px;
}
/* The button control panel under the table */
.control-panel input {
	float: right;
}
/* The export container */
.highcharts-container hr {
	margin-top: 5px;
	margin-bottom: 5px;
}
/* Override the drupal element-invisible to stop overflow error */
.element-invisible {
	left: 0px;
}
#quicktabs-incidence_statistics .form-submit {
	background-image: url("images/icons/exec.png");
	background-repeat: no-repeat;
	background-position: 5px 6px;
	border: 1px solid #cccccc;
	vertical-align: middle;
	box-shadow: 1px 1px 3px #1F3D80;
	padding: 8px 8px 8px 33px;
	font-weight: bold;
	margin-top: 1.5em;
	float: right;
}
#quicktabs-incidence_statistics .form-submit.excel {
	background-image: url("images/icons/excel.png");
}
#quicktabs-incidence_statistics .form-submit.csv {
	background-image: url("images/icons/csv.png");
}
/* Ajax progress message */
#quicktabs-incidence_statistics .form-submit+.ajax-progress {
	float: right;
	background-color: #34DDDD;
	border-radius: 3px;
	color: white;
	width: 100%;
}
/* Format the incidence form */
#form-elements-inc {
	position: relative;
	margin: 15px;
}
#inc_table_text {
	font-size: 1.15em;
	line-height: 1.95em;
	color: #555;
	border-left: 20px solid #1F3D80;
	padding: 5px 22px;
	background-color: #fff;
	opacity: 0.90;
	width: 50%;
	margin: 1.5em 15px 5.5em 15px;
}
#form-elements-inc .form-item {
	float: left;
	margin-right: 1em;
}
#form-elements-inc .form-type-radios {
	margin-bottom: 1.5em;
}
/* IE7+ Issues with the description not clearing the floated buttons */
#form-elements-inc .form-type-radios .description {
	margin-top: 3.6em;
}
#form-elements-inc .form-item-cancer .chosen-container {
	width: 375px !important;
}
/* cancer sort link */
#form-elements-inc .cancer-sort {
	position: absolute;
	top: 14px;
	left: 80px;
}
/* Image backgrounds */
#ncri-incidence-sex-form {
	background: url("/sites/ncri/files/incidence/images/incidence-by-sex-new.jpg") repeat-y;
}
#ncri-incidence-stage-form {
	background: url("/sites/ncri/files/incidence/images/incidence-by-stage-new.jpg") repeat-y;
}
#ncri-incidence-region-form {
	background: url("/sites/ncri/files/incidence/images/incidence-by-region-new.jpg") repeat-y;
}
#ncri-incidence-age-form {
	background: url("/sites/ncri/files/incidence/images/incidence-by-age-new.jpg") repeat-y;
}
#ncri-incidence-iccc-form {
	background: url("/sites/ncri/files/incidence/images/incidence-childhood-cancer.jpg") repeat-y;
}
/* Tidy the error message */
#quicktabs-incidence_statistics .alert-error {
	margin: 4px;
}

/*
 * VIDEO FIELD
 */
.video-embed-description {
    text-align: center;
    font-size: 0.8em;
    font-weight: bold;
    color: #1F3d80;
    margin-bottom: 15px;
}
/******************** End online cancer incidence *********************
 
/*
 * MEDIA QUERIES
 */

.mobile-only,
.tablet-only,
.research-themes-small { 
	display: none;
}

.research-themes-large {
	display: block;
}

/* Smaller desktops and down */
@media (max-width: 1169px) {
	#newsRegion {
		font-size: 0.9em;
		margin-top: -9.5em;
		width: 43%;
	}
	/* MOC 13-AUG-2014 Hide the 3rd news item if screen smaller */
	#newsRegion .view-frontpage .views-row-3 {
		display: none;
	}
	#FooterRegion {
		font-size: 0.85em;
	}
	.group-left img {
		max-width: 80%
	}
	#FooterRegion .menu li {
		margin-left: 0.5em;
	}
	.research-themes-small {
		display: block;
	}
	.research-themes-large {
		display: none;
	}
	table th {
  		padding: 5px;
  	}
  	/* Performance indicators */
  	.view-performance-indicators #table1 tr td:nth-child(n+2):nth-child(-n+4),
  	.view-performance-indicators #table1 tr th:nth-child(n+2):nth-child(-n+4) {
  		display:none; 
  		visibility:hidden;
  	}
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {

	.tablet-only {
		display: block !important;
	}

	.tablet-hide {
		display: none !important;
	}

	/* Tidy the footer */
	#FooterRegion .block {
		padding-right: 0px;
	}

	#FooterRegion .span3 .region {
		padding-left: 5px;
	}

	#FooterRegion span.ext,
	.flex-pauseplay {
		display: none;
	}

	/* Row 1 blocks */
	#row1-Blocks .region {
		font-size: 0.9em;
	}

	#row1-Blocks .block .blocktitle {
		min-height: 58px;
	}

	/* Slider */
	#newsRegion {
		font-size: 0.8em;
		margin-top: -10.5em;
	}

	#newsRegion .tab-pane {
		padding-top: 10px !important;
	}

	#newsRegion li {
		line-height: 16px;
	}

	/* Right sidebar */
	#right-sidebar .region-right-sidebar{
		padding-left: 5px;
	}

	/*Left menu block */
	#contentAndSidebars .menu-block-wrapper .menu li a {
		padding-left: 10px;
		font-size: 0.9em;
	}
	#contentAndSidebars .menu-block-wrapper .menu li .menu li a {
		padding-left: 20px;
	}

	/* Quicktabs */
	ul.quicktabs-tabs.quicktabs-style-sky li a, 
	ul.quicktabs-tabs.quicktabs-style-sky li a:visited {
	  font-size: 0.95em;
		padding: 0px 3px;
	}
	ul.quicktabs-tabs.quicktabs-style-sky li.active a, 
	ul.quicktabs-tabs.quicktabs-style-sky li.active a:visited {
		font-size: 0.95em;
		padding: 0px 3px;
	}
	ul.quicktabs-tabs.quicktabs-style-sky li {
		height: 2.65em;
		min-height: 2.95em;
	}
	/* Alert */
	.alert {
		padding: 6px 25px 6px 6px;
	}
}

/* For main menu responsiveness, survival */
@media(max-width: 940px) {
	#buttonMenu {
    	float: none;
    	text-align: left;
  	}
 	.highcharts-button {
  		display: none;
  	}
  .survival-table-header {
  	display: block;
  	margin-bottom: 10px;
  }
  .survival-table-caption .micon {
  	margin: 5px !important;
  	float: none !important;
  }
  .WrapperWidth {
		padding: 0 5px;
	}
	#inc_table_text {
  	width: inherit;
  }
	/* Performance indicators */
  	.view-performance-indicators .simplelittletable tr td:nth-child(n+2):nth-child(-n+5),
  	.view-performance-indicators .simplelittletable tr th:nth-child(n+2):nth-child(-n+5),
  	.view-performance-indicators #table1 tr td:nth-child(n+6):nth-child(-n+7),
  	.view-performance-indicators #table1 tr th:nth-child(n+6):nth-child(-n+7) {
  		display:none; 
  		visibility:hidden;
  	}
  	.view-performance-indicators .proforma tr td:nth-child(n+4):nth-child(-n+5),
  	.view-performance-indicators .proforma tr th:nth-child(n+4):nth-child(-n+5) {
  		display: table-cell; 
  		visibility: visible;
  	}
}

/* Landscape phone and down */
@media (max-width: 767px) {

	.mobile-only {
		display: block !important;
	}
	.mobile-hide {
		display: none !important;
	}
	/* From original stylesheet */
	#texttitles {
    	float: none;
    	margin: 0;
  	}
  	#logocontainer{
    	float: none;
  	}
  	#headerRight ul.inline li{
    	padding: 0 10px 0 0;
  	}
  	#buttonMenu #secondary-menu-links{
    	height: auto;
    	padding-bottom: 15px;
    	padding-top: 15px;
  	}
  	/* Make some stuff invisible */
	#topMenu,
	#search-block-form .container-inline,
	.flexslider,
	#row1-Region,
	#footer2,
	#footer3,
	#footer4,
	.print_html,
	.portfolio-container .views-field-field-portfolio-text,
	#superfish-1,
	.twitter-timeline,
	#right-sidebar,
	#block-block-23,
	#block-block-21,
	#block-block-27,
	#block-block-31,
	.terms,
	.landing-intro > .span6 + .span6,
	div.feed-icon,
	ul.quicktabs-tabs.quicktabs-style-sky li,
	.horizontal-tabs ul.horizontal-tabs-list,
	.view-survival .view-content,
	.view-survival .item-list,
	#imageflow-1_previous,
	#imageflow-1_next,
	.form-item .description,
	#form-elements-inc .micon { 
		display: none !important; 
	}
  	/* Stop header flickering */
	#headerRight {
		min-height: 70px;
	}
	/* News region */
	#newsRegion {
		position: relative;
		width: 100%;
		margin-top: -10px;
		color: #000;
	}
	#newsRegion .region-news-content {
		margin: 0 2px 10px 2px !important;
	}
	#newsRegion .nav-tabs > li > a:hover {
		border-bottom-color: #1F3D80;
		color: #1F3D80;
	}
	#slider_container { 
		border-top: none;
		border-bottom: none
	}
	#FooterRegion {
		background: none;
		text-align: center;
	}
	#FooterRegion ul.menu {
		text-align: center;
	}
	#mainMenu { 
		margin: 0 0 10px 0;
		width: 100%;
		position: relative;
	}
	#searchFormSkifi #search-block-form {
		width: 95px;
		padding-top: 0.5em;
		position: absolute;
		z-index: 999999;
	}
	#search-bar {
		background: url('images/search-mobile.png') no-repeat transparent;
		height: 48px;
		line-height: 48px;
	}
	#searchFormSkifi { 
		float: left; 
	}
	#main_structure {
		margin: 0px 0px 0px 0px;
		box-shadow: none;
	}
	#contentAndSidebars, .front #contentAndSidebars {
   		padding-left: 5px !important;
   		padding-right: 5px !important;
  	}
  	/* Landing pages */
  	.portfolio-container .views-field-field-image .field-content img { 
  		border: none; 
  	}
  	.portfolio-container { 
  		text-align: center; 
  	}
  	.portfolio-container .views-field-field-image {
  		text-align: left; 
  	}
  	.view-display-id-portfolio6 .portfolio-container .views-row,
  	.view-display-id-portfolio7 .portfolio-container .views-row, 
  	.view-display-id-portfoliosub .portfolio-container .views-row {
  		margin-right: 0.2em;
  	}
  	.view-display-id-portfoliosub .img-mask {
  		display: block;
  	}
  	.view-display-id-portfoliosub .portfolio-container .views-field-field-image .field-content {
  		margin-left: auto;
  		margin-right: auto;
  	}
  	/* Home page mobile-specific area */
  	#highlightedRegion .block { 
  		padding: 0 5px 15px 5px; 
  	}
	#highlightedRegion a, #highlightedRegion a:hover { 
		color: #000; 
	}
	/* Display Suite mods */
	.ds-left-col .field {
		display: none;
	}
	.ds-left-col .field-type-image {
		display: block;
	}
	/* Side navigation */
	select.tinynav { 
		display: block;
		width: 100% !important;
		max-width: 100%;
		font-weight: bold;
	}
  	#block-menu-block-1 .menu { 
  		display: none 
  	}
  	.block-menu-block .content {
    	padding-bottom: 0px !important;
  	}
  	#contentAndSidebars .block {
  		margin-bottom: 3px;
  	}
  	/* Org chart */
  	.google-visualization-orgchart-table * {
  		padding: 1px !important;
  	}
  	.google-visualization-orgchart-node {
  		font-size: 0.7em !important;
  	}
  	/* Images */
  	.node img {
  		padding: 4px 0px 0px 4px;
  		box-shadow: none;
  		-webkit-box-shadow: none;
  	}
  	/* Imageflow */
  	.imageflow .navigation {
  		bottom: 5px;
  	}
  	/* Horizontal tabs (field groups) */
  	div.horizontal-tabs {
  		border: none;
  	}

	/* Incidence on smaller screens */
  	/* Tidy submit buttons */
  	#quicktabs-incidence_statistics .form-submit {
  		width: 100%;
  	}
  	/* Reduce some margins */
  	#form-elements-inc, 
  	#inc_table_text {
  		margin: 3px;
  	}
  	/* 
  		MOC 10-APR-2017
  		Video player width on mobile
  	*/
  	.view-video-gallery .ds-3col-stacked-fluid.group-one-sidebar > .group-middle {
  		width: 100%;
  	}
  	.view-video-gallery .ds-3col-stacked-fluid.group-one-sidebar > .group-middle .field {
  		padding: 0px;
  	}

}

/* landscape phones only */
@media (min-width: 501px) and (max-width: 767px) { 
	#header .span9 {
		position: absolute;
		top: 3em;
		right: 30px;
		width: 45%;
	}
}

/* portrait phones only */
@media (max-width: 500px) { 
	.ds-left-col, .group-right, 
	.ds-3col-stacked-fluid.node-central-staff > .group-left,
	.ds-2col-stacked-fluid.node-tro > .group-left,
	.ds-3col-stacked-fluid.node-central-staff.group-one-sidebar > .group-middle {
		width: 100% !important;
		float: none !important;
	}

	div .fluid-offset-2col .group-left .field, div .fluid-offset-2col .group-right .field {
		padding-left: 0px !important;
	}

	/* Scientific papers */
  #views-exposed-form-research-papers-page-1 .views-widget-per-page {
  	float: none;
  }
  /* Padding on submit button */
  #views-exposed-form-research-papers-page-1 .views-exposed-form .views-exposed-widget .form-submit,
  #views-exposed-form-projects-page .views-exposed-form .views-exposed-widget .form-submit,
  #views-exposed-form-maps-page .views-exposed-form .views-exposed-widget .form-submit,
  #quicktabs-survival_statistics .views-exposed-form .views-exposed-widget .form-submit {
  	margin-top: 0.1em;
  }

  /* Pager */
  .item-list .pager li {
  	padding: 0.1em;
  }

  /* Buttons */
  .btn-moc.pull-right {
  	margin-bottom: 5px
  }
  .btn {
  	max-width: 100%;
  }

  /* Controls */
  select, textarea, 
  input[type="text"], input[type="password"], input[type="datetime"], 
  input[type="datetime-local"], input[type="date"], input[type="month"], 
  input[type="time"], input[type="week"], input[type="number"], 
  input[type="email"], input[type="url"], input[type="search"], 
  input[type="tel"], input[type="color"], .uneditable-input
  {
    width: 98% !important;
    max-width: 100% !important;
  }

  #form-elements-inc .form-item-cancer {
  	float: none;
  }
  	/* Performance indicators */
  	.view-performance-indicators .simplelittletable:not(.proforma) tr td:nth-child(n+6):nth-child(-n+10),
  	.view-performance-indicators .simplelittletable:not(.proforma) tr th:nth-child(n+6):nth-child(-n+10) {
  		display:none; 
  		visibility:hidden;
  	}
}