﻿/*
 * NUCLEUS RWD CUSTOM CSS
 */

/* Generic */

a {
  -webkit-transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  -o-transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
a:hover,
a:focus {
  color: #2952a3;
}

.row p, 
.row ul, 
.row ol {
  margin-top: 0;
  line-height: 1.428571429;
 }
.row p {
  margin-bottom: 21px;
 }

.go:after {
  content: ' →';
  white-space: nowrap;
}

.ms-webpartzone-cell {
  margin-top: 0 !important;
}
.ms-webpart-zone,
.panel {
  max-width: 100%;
  width: 100%;
}


/* BX Slider resize fix */
.page-homepage .ms-webpart-zone,
.page-homepage .ms-webpart-cell-vertical,
.page-homepage .ms-webpart-chrome-vertical {
  display: block !important;
}

/* Fix for last popup being cut on details page */
.row {
  overflow: visible;
}


/* CBS list */

.cbs-List, 
.cbs-List * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.cbs-List {
  width: 100% !important;
}
.cbs-List, 
.cbs-List li {
  margin: 0;
  padding: 0;
}

/* dfwp-list */

.dfwp-column,
.dfwp-list, 
.dfwp-list li, 
.dfwp-list li .item, 
.dfwp-list li .item .link-item, 
.dfwp-list li .item .link-item a {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dfwp-list li {}
.dfwp-list li .item {}
.dfwp-list li .item .link-item {}
.dfwp-list li .item .link-item a {
  display: block;
  padding: 4px 0;
}
.touch .dfwp-list li .item .link-item a {
  padding: 6px 0;
}
.dfwp-list li .item .link-item .description {}


/* Homepage Slider */

.bx-slider h3 {
  line-height: 1.25;
}


/* Homepage List */

.page-homepage #MSOZoneCell_WebPartWPQ3 {
  margin-top: 30px;
}
.page-homepage #MSOZoneCell_WebPartWPQ2 h2.ms-webpart-titleText {
  border-top: 5px solid #e8e8e8;
  padding-top: 10.5px;
  margin-bottom: 15px !important;
}
.featured-resources {
  margin: 0 -15px;
}
.featured-resources [class*="col-"] {
  margin-bottom: 10px;
}
.featured-resources a {
  display: block;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  line-height: 1.35;
}
.featured-resources a img {
  right: 0 !important;
  position: static;
  float: left;
  width: 90px;
  height: auto;
  margin: 3px 15px 10px 0;
  padding: 5px;
  line-height: 1.42857143;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  display: inline-block;
}
.featured-resources span {
  display: block;
  overflow: hidden;
  width: auto;
  position: static;
}

/* Homepage Sidebar List */

.page-homepage #MSOZoneCell_WebPartWPQ3 {
  margin-bottom: 21px;
  background-color: #f3f3f3;
  border-top: 5px solid #d9d9d9;
}
.page-homepage #MSOZoneCell_WebPartWPQ3 .ms-webpart-chrome-title {
  padding: 10px 15px;
  border-bottom: 1px solid #d9d9d9;
}
.page-homepage #MSOZoneCell_WebPartWPQ3 .ms-webpart-titleText {
  margin: 0;
  font-size: 18px;
}
.page-homepage #MSOZoneCell_WebPartWPQ3 .ms-WPBody {
  padding: 10px 15px;
}
.page-homepage #MSOZoneCell_WebPartWPQ3 .dfwp-list:first-child {
  margin-top: -4px;
}

/* Catalogue list */
 
.cbs-picture3LinesDataContainer,
.cbs-picture3LinesContainer,
.cbs-Detail {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  float: none;
}
.cbs-picture3LinesContainer {
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.cbs-picture3LinesContainer:before {
  content: " ";
  display: table;
}
.cbs-picture3LinesContainer:after {
  clear: both;
}

.cbs-picture3LinesLine1 {
  font-size: 20px;
  margin: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.cbs-picture3LinesLine2 {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  font-size: 15px;
  height: auto;
  max-height: none;
  margin: -3px 0;
}
.cbs-picture3LinesDataContainer > div > div {
  font-size: 14px;
  padding-right: 15px !important;
}
.cbs-picture3LinesDataContainer > div > div > a {
  display: inline-block;
  padding: 5px 0;
}
.cbs-picture3LinesImageContainer {
  width: 110px;
  height: auto;
  padding: 0;
  margin: 0 15px 15px 0;
  float: left;
  overflow: visible;
}
.cbs-pictureImgLink > img {
  position: static;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  height: auto !important;
  padding: 5px;
  line-height: 1.428571429;
  background-color: #fff;
  border: 1px solid #d9d9d9;
}

/*
.cbs-picture3LinesImageContainer {
  float: left;
  margin: 3px 15px 10px 0;
}
.cbs-picture3LinesDataContainer {
  overflow: hidden;
  float: left;
}
*/


/* Catalogue filter */

.main-sidebar-first .ms-webpart-titleText {
  font-size: 15px;
  font-weight: bold;
}
.main-sidebar-first .ms-ref-refiner {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}
.main-sidebar-first .ms-ref-refiner #Container {
  padding-bottom: 15px;
}
.main-sidebar-first .ms-ref-refinername {
  width: 100%;
  margin: 0;
  padding: 10px 0 6px 0;
  border-top: 1px solid #ddd;
  font-size: 18px;
}
.main-sidebar-first .ms-ref-refiner #Value {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}
.main-sidebar-first .ms-ref-ellipsis {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.main-sidebar-first #FilterLink {
  display: block;
  padding: 3px 0;
}
.touch .main-sidebar-first #FilterLink {
  padding: 5px 0;
}
.main-sidebar-first .ms-ref-name {
  color: #555;
}
.main-sidebar-first #FilterLink:hover .ms-ref-name {
  color: #333;
}
.main-sidebar-first .ms-ref-filterSel .ms-ref-name, 
.main-sidebar-first .ms-ref-filterSel:hover .ms-ref-name {
  color: #6c9bfc !important;
}


/* Catalogue Details Page */

.table-resource input,
.table-resource select, 
.table-resource textarea {
  max-width: 100% !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.table-resource textarea.ms-input {
  width: 100% !important;
}
.table-resource > tbody > tr > th {
  white-space: nowrap;
}
.thumbnail-resource {
  margin-bottom: 15px;
}
.thumbnail-resource > img {
  width: 100%;
  height: auto;
}
.resource-popover {
  cursor: pointer;
}

.popover {
  max-width: 60%;
}
.popover-content {
  padding: 15px 20px;
}
.popover ul {
  margin: 0;
  padding-left: 1em;
  font-size: 14px;
}
.popover li {
  margin: 0;
}
.popover li + li {
  margin-top: 6px;
}

/* Media queries */

@media (min-width: 481px) {
  .thumbnail-resource {
    float: right;
    margin-left: 15px;
  }
  .thumbnail-resource > img {
    width: auto;
  }
}
@media (max-width: 480px) {
  .popover {
    max-width: 90%;
  }
  .cbs-picture3LinesImageContainer {
    width: 90px;
    margin: 5px 0 10px 10px;
    float: right;
  }
  .cbs-picture3LinesLine1 {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .table-resource > tbody > tr > th, 
  .table-resource > tbody > tr > td {
    display: block !important;
    width: 100% !important;
  }
  .lt-ie10 .table-resource > tbody > tr > th, 
  .lt-ie10 .table-resource > tbody > tr > td {
    float: left;
    clear: left;
  }
  .table-resource > tbody > tr > td {
    border-top: 0;
    padding-top: 0;
  }
  .table-resource > tbody > tr > th {
    padding-bottom: 2px;
    white-space: normal;
  }
}


/* for GNSSN only */

/* Table */
.ms-rteTable-default {
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #ddd;
	font-size: 9pt !important;
}
.ms-rteTable-default th {
	background: #ddd;
	text-align: left;
	vertical-align: top;
	font-weight: bold;
	color: #333 !important;
	padding: 4px 5px;
	border: 1px solid #ddd;
}
.ms-rteTableFirstCol-default, 
.ms-rteTableFooterFirstCol-default,
.ms-rteTableLastCol-default, 
.ms-rteTableFooterLastCol-default {
	background-color: #efefef !important;
}
.ms-rteTable-default td {
	padding: 4px 5px;
	color: #333 !important;
	vertical-align: top;
	border: 1px solid #ddd;
}
.ms-rteTableEvenRow-default td {
	background-color: #f3f3f3;
}
.ms-rteTableFooterRow-default td {
	border-top-width: 2px;
	border-top-color: #ccc !important;
	font-weight: bold;
}

.header .navbar ul.root > li:first-child > a,
.header .navbar ul.root > li:first-child > span 
{
  display: block !important;
  float:left !important;  
}
.header ul.static {
  display: inline !important;
}

/* added for GNSSN 2013 
.ms-displayInlineBlock{
 display: none;
}
Commented out the entire style due to issue in search refinement panel display.
*/

/*Changing sub menu styles for top navigation into white color */
.header .navbar ul.root li ul li span.ms-core-listMenu-item {
  color: #fff !important;
}

.bullet { 
  padding-left:10px !important;  
}


/*--This class is added to hide the heading---VAIBHAV--*/

#DeltaPlaceHolderPageTitleInTitleArea{display:none;}


/*--Bug 6415:RCF - right hand entities over the page border---VAIBHAV--*/

.table-responsive{width:auto!important;}
	
.table-responsive > table > tbody > tr > td {white-space:normal;}	

.ms-rtestate-field img
{
	max-width:none !important;
	width:auto !important;
}

