

/*======================================================
  sitecontent.CSS
  ======================================================

    1.  TEXT STYLES
    2.  TABLES
    3.  FORMS
    4.  BUTTONS
    5.  HELPER CLASSES
    6.  MEDIA QUERIES

  ===================================================== */



/*======================================================
  1. TEXT STYLES
  ===================================================== */

body {
   /*font: 15px/20px "Roboto", "Helvetica Neue", Arial, Helvetica, sans-serif;
    color: #000;*/
}

#s4-workspace {
    /*font: 15px/20px "Roboto", "Helvetica Neue", Arial, Helvetica, sans-serif;
    color: #000;*/
}

#printArea {
    line-height: 1.333em; /* set for Text Sizer */
}

h1, h2, h3, h4, h5 {
    line-height: 1.2em;
    color: #000;
    font-weight: normal;
    /*font: 15px/20px "Roboto", "Helvetica Neue", Arial, Helvetica, sans-serif;*/
}

#printArea h1, #printArea h2, #printArea h3, #printArea h4, #printArea h5 {
    line-height: 1.2em;
    color: #000;
    font-weight: normal;
    font: 15px/20px "Roboto", "Helvetica Neue", Arial, Helvetica, sans-serif;
}

#printArea h1 {
    font-size: 1.800em;
    font-weight: normal;
    padding: 20px 0;
    margin: 0;
    text-align: left;
}

#printArea h1 {
    margin: 0;
    padding: 7px 0;
}

#pageHeading h1 {
    padding-top: 0;
    padding-bottom: 14px !important;
}


#printArea h2 {
    font-size: 1.333em;
    font-weight: normal;
    padding: 20px 0;
    margin: 0;
}

#printArea h3 {
    font-size: 1.15em;
    font-weight: normal;
    padding: 10px 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: #000;
}

#printArea .caption {
    font-size: 11px;
    font-style: italic;
    line-height: 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: #006699;
    text-decoration: none;
}

    a:hover, a:active, a:focus {
        text-decoration: underline;
    }


/* 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: #1780ca;
        text-align: left;
        font-size: 1em;
        color: #fff;
        font-weight: bold;
    }

        .datatable .titlerow td {
            color: #fff;
        }

        .datatable .titlerow h2 {
            color: #fff !important;
        }

    .datatable caption {
        text-align: left;
        /*	height: 0px;
    visibility: hidden;
    display: none; */
    }

    .datatable .row {
        background: #eef6fd;
    }

    .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-NewmarketEcoDev {-ms-name:"Newmarket EcoDev Custom Table";} /* sets the name of the table style */

.ms-rteTable-NewmarketEcoDev{
    margin: 0px 0px 15px 0px;
    padding: 0;
    width: 100%;
}

.ms-rteTable-NewmarketEcoDev td{
        padding: 7px 10px;
        color: #333;
}

.ms-rteTableHeaderRow-NewmarketEcoDev{
        background: #1780ca;
        text-align: left;
        font-size: 1em;
        color: #fff;
        font-weight: bold; /* Change Below */
}

.ms-rteTableHeaderRow-NewmarketEcoDev td {
    color: #fff;
}

.ms-rteTableHeaderRow-NewmarketEcoDev h2 {
	color: #fff !important;
}

.ms-rteTable-NewmarketEcoDev  caption {
        text-align: left;
        /*	height: 0px;
    visibility: hidden;
    display: none; */
}

.ms-rteTableOddRow-NewmarketEcoDev {
    background: #eef6fd;
}
.ms-rteTableEvenRow-NewmarketEcoDev {
    background: #fff;
}

.ms-rteTable-NewmarketEcoDev td p, #printArea .ms-rteTable-NewmarketEcoDev td p, td p, #printArea td p{ margin: 7px 0 0 0; }
.ms-rteTable-NewmarketEcoDev td p:first-child, #printArea .ms-rteTable-NewmarketEcoDev 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;
}

input[type="text"], input[type="date"], select {
    width: 100%;
    height: 44px;
    line-height: 44px;
    padding: 0 7px;
     -webkit-appearance: none;
    border: solid 1px #ccc;
}

textarea {
    width: 100% !important;
    min-height: 144px;
    padding: 7px;
    border: none;
    outline: none;
    -webkit-appearance: none;
    border: solid 1px #ccc;
}

input[type="button"] {
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
}

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: #fff;
        text-align: center;
        font-size: .9em;
        font-weight: 700;
        background: #1780ca;
        -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: #1677bc;
}

/*======================================================
  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: #1780ca !important;
}



/*======================================================
  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;
    }

}


/* ----------------------------------------------------- 
// 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;
}


/*  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;
}