﻿

/*======================================================
  sitecontent.CSS
  ======================================================

    1.  TEXT STYLES
    2.  TABLES
    3.  FORMS
    4.  BUTTONS
    5.  HELPER CLASSES
    6.  MEDIA QUERIES

  ===================================================== */



/*======================================================
  1. TEXT STYLES
  ===================================================== */

body {
    /*font: 14px/18px Arial, Helvetica, sans-serif;
    color: #000;*/
}

#s4-workspace {
    font: 14px/18px Arial, Helvetica, sans-serif;
    color: #333;
}

#printArea {
	line-height: 1.286em;
}

h1, h2, h3, h4, h5 {
	font-family: Roboto, Arial, Helvetica, sans-serif;
    line-height: 1.286em;
    color: #333;
    font-weight: normal;
}

#printArea h1, #printArea h2, #printArea h3, #printArea h4, #printArea h5 {
	font-family: Roboto, Arial, Helvetica, sans-serif;
    line-height: 1.286em;
    color: #333;
    font-weight: normal;
}

#printArea h1 {
    font-size: 2.143em;
    font-weight: normal;
    padding: 0 0 25px 0;
    margin: 0;
    text-align: left;
    overflow: hidden;
}

#printArea h1 {
    margin: 0;
    padding: 0;
}

.pageHeading h1 {
    padding-top: 0;
}


#printArea h2 {
    font-size: 1.286em;
    font-weight: normal;
    padding: 15px 0;
    margin: 0;
}

#printArea h3 {
    font-size: 1.143em;
    font-weight: normal;
    padding: 15px 0;
    margin: 0;
}

#printArea h4,
#printArea h5,
#printArea h6 {
    font-size: 1em;
    font-weight: bold;
    padding: 10px 0;
    margin: 0;
}

#printArea .intro {
    font-size: 1.125em;
    color: #333;
}

#printArea .caption {
    font-size: 11px;
    font-style: italic;
    line-height: 15px;
}
#printArea p {
	color:#333
}
#printArea ul, 
#printArea ol {
	margin-bottom:15px;
}
#printArea ol li {
    display: list-item !important;
    color:#333;
    line-height: 1.6;
}
#printArea ol li:before { 
	display:none
}
#printArea ul li {    
	position:relative;
	color:#333;
	line-height: 1.6;
	display:block;
}
#div_26f71aa9-f991-40d5-8597-f938a6b8b3b6 .dfwp-list li {
	border:none
}
#printArea ul li:before {
    content: "•";
    color: #bdcc2f;
    font-size: 1.5em;
    position: absolute;
    top: -4px;
    left: -15px;
}
#printArea table {
	margin-top:20px;
	border:none
}
#printArea table th {
	background: rgba(0, 0, 0, 0.075);
    color: #fff;
    font-weight: 600;
    border-color: #005595;
    padding:10px;
}
#printArea table tr {
	border-bottom:1px solid #005595
}
#printArea table tr:nth-child(even) {
    background: #e5f2fa;
}
#printArea table tr td {
	border:none
}
.featured-image {
	float:left;
	padding-right:40px;
	padding-bottom:15px;
}
.eSolutionsGroupPhotoGalleryV2PlaceholderDiv .ad-image-description {
    margin: 0px !important;
}

/* Blockquotes */

blockquote {
}

    blockquote .quoteText {
        font-family: Georgia, sans-serif;
        font-size: 1.25em;
        line-height: 1.25em;
        margin-bottom: 20px;
    }

    blockquote .quoteSource {
        font-size: 1em;
        line-height: 1.75em;
        font-family: 'Helvetica Neue', sans-serif;
        text-align: right;
        padding-top: 20px;
        padding-right: 70px;
        border-top: solid 1px #ccc;
        background: url(../images/iconQuote2x.png) right bottom no-repeat;
        background-size: 58px auto;
    }

.no-backgroundsize blockquote .quoteSource {
    background: url(../images/iconQuote.png) right center no-repeat;
}

/* Link Colors */

a, a:link, a:visited {
    color: #005595;
    text-decoration: none;
}

    a:hover, a:active, a:focus {
        text-decoration: underline;
    }
.copyright a {
    color: white !important;
}

/* fix for showing bullets on photo gallery images */
#contentInt .ad-nav ul li {
    list-style: none !important;
}

/*======================================================
  2. TABLE STYLES
  ===================================================== */

.datatable {
    margin: 0px 0px 15px 0px;
    padding: 0;
    width: 100%;
}

    .datatable td {
        padding: 7px 10px;
        color: #333;
    }

    .datatable .titlerow {
        background: #c8d9e5;
        text-align: left;
        font-size: 1em;
        color: #333;
        font-weight: bold;
    }

        .datatable .titlerow td {
            color: #333;
        }

        .datatable .titlerow h2 {
            color: #333 !important;
        }

    .datatable caption {
        text-align: left;
        /*	height: 0px;
    visibility: hidden;
    display: none; */
    }

    .datatable .row {
        background: #dbe7f0;
    }

    .datatable .altrow {
        background: #fff;
    }

    .datatable td p, #printArea .datatable td p, td p, #printArea td p {
        margin: 7px 0 0 0;
    }

        .datatable td p:first-child, #printArea .datatable td p:first-child {
            margin: 0 !important;
        }

        td p:first-child, #printArea td p:first-child {
            margin: 0 !important;
        }

/******************************************* Custom SharePoint table ***************************************/

table.ms-rteTable-Newmarket {-ms-name:"Newmarket Custom Table";} /* sets the name of the table style */

.ms-rteTable-Newmarket{
    margin: 0px 0px 15px 0px;
    padding: 0;
    width: 100%;
}

.ms-rteTable-Newmarket td{
        padding: 7px 10px;
        color: #333;
}

.ms-rteTableHeaderRow-Newmarket{
        background: #c8d9e5;
        text-align: left;
        font-size: 1em;
        color: #333;
        font-weight: bold;
}

.ms-rteTableHeaderRow-Newmarket td {
            color: #333;
}

.ms-rteTableHeaderRow-Newmarket h2 {
            color: #333 !important;
}

.ms-rteTable-Newmarket  caption {
        text-align: left;
        /*	height: 0px;
    visibility: hidden;
    display: none; */
}

.ms-rteTableOddRow-Newmarket {
        background: #dbe7f0;
}
.ms-rteTableEvenRow-Newmarket {
        background: #fff;
}

.ms-rteTable-Newmarket td p, #printArea .ms-rteTable-Newmarket td p, td p, #printArea td p{ margin: 7px 0 0 0; }
.ms-rteTable-Newmarket td p:first-child, #printArea .ms-rteTable-Newmarket td p:first-child { margin: 0 !important; }
td p:first-child, #printArea td p:first-child { margin: 0 !important; }


sub {
    font-size: 80%;
}

sup {
    font-size: 80%;
}

hr {
    display: block;
    border: none;
    height: 1px;
    color: #ccc;
    background-color: #ccc;
    margin: 20px 0;
}

/*======================================================
  3. FORM STYLES (DEFAULT STYLES IN BASE.CSS)
  ===================================================== */

::-webkit-input-placeholder {
   color: #333;
}

:-moz-placeholder { /* Firefox 18- */
   color: #333;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #333;  
}

:-ms-input-placeholder {  
   color: #333;  
}

.formField {
    width: 100%;
    margin: 6px 0;
}

#printArea input[type="text"], #uber input[type="date"], select {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 7px;
     -webkit-appearance: none;
    border: solid 1px #a6a6a6;
}

#printArea textarea {
    width: 100%; /*width: 100% !important;*/
    min-height: 80px;
    padding: 7px;
    border: none;
    outline: none;
    -webkit-appearance: none;
    border: solid 1px #a6a6a6;
}

#printArea input[type="button"] {
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
}

#printArea select[multiple] {
    min-height: 185px;
}


/*======================================================
  4. BUTTONS
  ===================================================== */

    .button, a.button, button {
        cursor: pointer;
        border: none;
        display: inline-block;
        padding: 10px;
        margin: 5px 3px 5px 0;
        color: #333;
        text-align: center;
        font-size: .9em;
        font-weight: bold;
        background: #c8d9e5;
        -webkit-transition: background 0.1s ease-in;
        -moz-transition: background 0.1s ease-in;
        -ms-transition: background 0.1s ease-in;
        -o-transition: background 0.1s ease-in;
        transition: background 0.1s ease-in;
        -webkit-backface-visibility: hidden;
        -webkit-appearance: none;
    }

.button:hover, .button:active, a.button:hover, a.button:active, button:hover, button:active {
    text-decoration: none;
    background: #becdd8;
}

/*======================================================
  5. HELPER CLASSES
  ===================================================== */

.ic-container-fluid img {
    max-width: 100%;
}

img.ImageLeft {
    float: left;
    margin: 0 20px 20px 0;
    border: 1px solid #ccc;
    padding: 1px;
}

img.ImageRight {
    float: right;
    margin: 0 0 20px 20px;
    border: 1px solid #ccc;
    padding: 1px;
}

.alignCenter {
    text-align: center;
}

.alignLeft {
    text-align: left;
}

.alignRight {
    text-align: right;
}

.inline {
    display: inline;
}

.inlineBlock {
    display: inline-block;
}

.noMarginTop {
    margin-top: 0;
}

.noMarginBottom {
    margin-bottom: 0;
}

.noMarginLeft {
    margin-left: 0;
}

.noMarginRight {
    margin-right: 0;
}

.width100 {
    width: 100%;
}

.headingBackgroundColour {
    background-color: #c8d9e5 !important;
	color: #333;
}

.displayTable {
    display: table;
    width: 100%;
}


/*======================================================
  6. MEDIA QUERIES
  ===================================================== */

@media only screen and (max-width : 991PX) {
    select[multiple] {
        min-height: 0;
    }   
}

@media only screen and (max-width : 767px) {
    .ic-form-group {
        text-align: left;
    }

    .xsPadding40 {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .xsPadding20 {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .xsNoGutter {
        padding-left: 0;
        padding-right: 0;
    }

    #footerWrapper a[href^=tel] {
        color: #fff;
    }

    .hideXs {
        display: none;
    }

}



/*  Edit Ribbon format */
#s4-ribbonrow .ms-cui-ctl-thin, #s4-ribbonrow .ms-cui-gallerybutton-a{
    height: 50px;
}

#s4-ribbonrow  input.ms-cui-cb-input{
    height: 19px !important;
}
    /* ----- END OF TEMPLATE ----- */

/* SHAREPOINT EDIT MODE FIXES */

.ms-webpart-controlBox .ms-webpart-menuLink {
    box-sizing: content-box !important;
}

.ms-webpart-controlBox .ms-webpart-menuLink img {
    max-width: none !important;
}

.ms-webpart-controlBox input {
    width: auto !important;
   -webkit-appearance:checkbox !important;
}

/* ----------------------------------------------------- 
// ACCORDIONS 
// ----------------------------------------------------- */

#uber .accordion {
    margin-bottom: 5px;
    overflow: hidden;
}

#uber a.accordionTrigger {
    display: block;
    padding: 8px;
    min-height: 34px;
    overflow: hidden;
    padding-right: 60px;
    position: relative;
    color: #006699;
    border: solid 1px #ccc;
    font-family: Arial, Arial, Helvetica, sans-serif;
    font-weight: normal;
   /* text-transform: uppercase; */
    background: #fff url(../images/structure/accordion-open.png) 99% center no-repeat;
    border-radius: 3px;
    transition: background-color .2s ease-in-out;
}

    #uber a.accordionTrigger:hover, #uber a.accordionTrigger:focus {
        background-color: #f7f7f7;
        text-decoration: none;
        cursor: pointer;
    }

    #uber a.accordionTrigger:active {
        background-color: #eaeaea;
        text-decoration: none;
        cursor: pointer;
        box-shadow: none;
    }

    #uber a.accordionTrigger.open {
        border: solid 1px #ccc;
        background: #fff url(../images/structure/accordion-close.png) 99% center no-repeat;
        border-radius: 3px 3px 0 0;
        box-shadow: none;
    }

    #uber a.accordionTrigger h1, #uber a.accordionTrigger h2, #uber a.accordionTrigger h3, #uber a.accordionTrigger h4, #uber a.accordionTrigger h5, #uber a.accordionTrigger h6, #uber a.accordionTrigger p {
        margin: 0;
        font-family: $bold-text-font-family;
        font-size: 14px;
        font-weight: bold;
        line-height: 1.25;
    }

#uber .accordionContent {
    display: none;
    padding: 10px;
    border: solid 1px #ccc;
    border-top: none;
    overflow: hidden;
    background: #f1f1f1;
    border-radius: 0 0 3px 3px;
}

#uber .accordionContent .accordion {
    padding-top: 20px;
}

#uber .accordionContent .accordionContent {
    background: #fff !important;
}



#uber .ms-rtestate-write .accordionContent {
    display: block !important;
}

