﻿/**
 * Control specific styles across both front and admin of site.
 * This file will be used for the new stylings in EngNet Controls.
 * Legacy Controls will be excluded, until they are ported to the new development guidelines.
 */


/****************
 * General      *
 ****************/

.button-right {
    text-align: right;
    float: right;
    display: block;
}

.button-left {
    text-align: left;
    float: left;
    display: block;
}

.button-center {
    text-align: center;
    margin: 0 auto;
    display: block;
}

.link-button {
    background-color: #68A620;
    border: 1px solid #707070;
    border-radius: 4px;
    padding: 5px;
    text-decoration: none;
    color: #efffff;
    font-weight: bold;
}

.link-button:hover {
    text-decoration: none;
    background-color: #ddd;
    color: #111;
}

.link-button.top {
    clear: both;
    margin-top: -35px;
    margin-bottom: 5px;
}

.link-button.bottom {
    margin-top: 10px;
}


/****************
 * Errors       *
 ****************/

.page-error h1 {
    color: #CF0000;
}

.formerror {
    color: red;
    font-size: 10px;
    border: 1px solid #e1de03;
    background-color: #ffffc0;
}

.formbar-error {
    color: red;
    font-size: 10px;
    border: 1px solid #e1de03;
    background-color: #ffffc0;
    padding: 5px;
    margin-bottom: 10px;
}

.formbar-success {
    color: green;
    font-size: 10px;
    border: 1px solid #e1de03;
    background-color: #ffffc0;
    padding: 5px;
    margin-bottom: 10px;
}

.innerbar2.textblack {
    color: #111;
}


/****************
 * master-table *
 ****************/

.master-table {
    width: 100%;
    border: 1px solid #BEBFB9;
    margin: 1em 0;
    border-collapse: collapse;
}

.master-table th {
    font-weight: bold;
    padding: .5em 1em;
    font-weight: bold;
    background: #E0E0E0;
    border: 0;
    border-bottom: 1px solid #BEBFB9;
    color: #111;
    border-right: 1px solid #BEBFB9;
}

.master-table th.last {
    border-right: 0;
}

.master-table td {
    padding: .75em .5em;
    border-right: 1px solid #BEBFB9;
    word-wrap: break-word;
}

.master-table td.last {
    border-right: 0;
}

.master-table tr.odd {
    background: #FEFEFE;
}

.master-table tr.even {
    background: #EFEFEF;
}

.master-table .text-right {
    text-align: right;
}


/****************
 * master-pager *
 ****************/

.master-pager {
    background: #F2F2F2;
    border: 1px solid #CCC;
    padding: .5em;
    font-size: 1.2em;
}

.master-pager ul {
    text-align: center;
    display: block;
    list-style: none;
    width: auto;
    margin: 0;
}

.master-pager li {
    display: inline-block;
    margin: 2px;
}

.master-pager .current {
    display: inline-block;
    padding: .25em .5em;
    font-weight: bold;
    background: #999;
    color: #FEFEFE;
}

.master-pager a {
    display: inline-block;
    padding: .25em .5em;
    background: #F5F5F5;
    color: #7C7C7C;
    border: 1px solid #CCC;
    text-decoration: none;
}

.master-pager a:hover {
    border-color: #999;
    background: #EAEAEA;
    text-decoration: none;
}

.master-pager .pager-prev {
    margin-right: 1em;
}

.master-pager .pager-next {
    margin-left: 1em;
}


/***************
 * Drop Button *
 ***************/

.drop-button {
    position: relative;
    min-height: 33px;
}

.drop-button-inner {
    position: absolute;
    z-index: 200;
    background-image: linear-gradient(-90deg, #FFF 0px, #EFEDED 100%);
    border: 1px solid #C8C8C8;
    border-radius: 3px;
    box-shadow: inset 0px 0px 1px #FFF;
    font-size: 14px;
    line-height: 1em;
    text-transform: capitalize;
}

a.button-link-twisty {
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 200;
    display: block;
    overflow: hidden;
    line-height: 0;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #424242;
    border-top: 6px solid transparent;
}

.drop-button-closed.drop-button-inner {
    z-index: 199;
}

a.button-link-twisty.twisty-up {
    top: 10px;
    border-bottom: 6px solid transparent;
    border-top: 6px solid #424242;
}

.drop-button ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
    margin-right: 30px;
    list-style-image: none;
    list-style-type: none;
}

.drop-button li,
.drop-button li a {
    display: block;
}

.drop-button li {
    border-top: 1px solid #E6E6E6;
}

.drop-button li.first {
    border-top: 0;
}

.drop-button li a {
    padding: .5em 0 .5em .5em;
    color: #424242;
    text-decoration: none;
    line-height: 1.33em;
    text-transform: capitalize;
    word-break: keep-all;
    white-space: nowrap;
}


/*********************
 * Drop Button Close *
 *********************/

a.ajax-link-close {
    float: right;
    clear: both;
    background: transparent url(../images/close.png) no-repeat 0 0;
    text-indent: 200%;
    display: block;
    overflow: hidden;
    white-space: pre;
    line-height: 2em;
    padding: 0;
    margin: 0;
    width: 16px;
    height: 16px;
    border: none;
}


/*********
 * Grids *
 *********/

.master-grid {
    max-width: 1000px;
    background-color: #EEE;
    border: 1px solid #D6D6D6;
}

.master-grid .container {
    display: table;
    padding: 0;
    margin: 0;
}

.master-grid .row {
    display: table-row;
    position: relative;
    padding: 0;
    margin: 0;
}

.master-grid .row::before,
.master-grid .row::after {
    content: "";
    margin: 6px;
    clear: both;
}

.master-grid [class*='cols-'] {
    background-color: #FFFFFE;
    text-align: center;
    vertical-align: bottom;
    color: #111;
    outline: 1px solid #CCC;
    margin: 7px;
    padding: 7px;
    position: relative;
    display: inline-block;
    -webkit-box-sizing: border-box;
    /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
    -moz-box-sizing: border-box;
    /* Firefox 1 - 28 */
    box-sizing: border-box;
    /* Safari 5.1+, Chrome 10+, Firefox 29+, Opera 7+, IE 8+, Android 4.0+, iOS any */
}

.master-grid .column-content {
    vertical-align: bottom;
    display: block;
}

.master-grid img.banner {
    width: 100%;
    padding-bottom: 0;
}

.master-grid .cols-5 {
    max-width: 175px;
    width: 175px;
}

.master-grid .cols-5.span-2 {
    max-width: 373px;
    width: 373px;
}

.master-grid .cols-5.span-3 {
    max-width: 548px;
    width: 548px;
}

.master-grid .cols-5.span-4 {
    max-width: 723px;
    width: 723px;
}

.master-grid .cols-5.span-5 {
    max-width: 972px;
    width: 972px;
}

.master-grid .cols-4 {
    max-width: 225px;
    width: 225px;
}

.master-grid .cols-4.span-2 {
    max-width: 480px;
    width: 480px;
}

.master-grid .cols-4.span-3 {
    max-width: 705px;
    width: 705px;
}

.master-grid .cols-4.span-4 {
    max-width: 972px;
    width: 972px;
}

.master-grid .cols-3 {
    max-width: 305px;
    width: 305px;
}

.master-grid .cols-3.span-2 {
    max-width: 650px;
    width: 650px;
}

.master-grid .cols-3.span-3 {
    max-width: 972px;
    width: 972px;
}

.master-grid .cols-2 {
    max-width: 474px;
    width: 474px;
}

.master-grid .cols-2.span-2 {
    max-width: 972px;
    width: 972px;
}

.master-grid .cols-1 {
    max-width: 972px;
    width: 972px;
}

.master-grid .grid-logo,
.master-grid .grid-label {
    padding-top: 5px;
    padding-bottom: 5px;
}

.master-grid .left-label,
.master-grid .left-image {
    text-align: left;
    width: 45%;
    float: left;
    clear: left;
    padding-bottom: 5px;
}


/*.master-grid .left-image,
.master-grid .right-image {
  height: 100px;
  width: 100px;
}*/

.master-grid .date-author,
.master-grid .summary,
.master-grid .right-label {
    float: right;
    text-align: left;
    width: 55%;
    clear: right;
    padding-bottom: 5px;
}

.master-grid .right-label,
.master-grid .left-label,
.master-grid .summary {
    font-size: 9pt;
}

.master-grid .date-author {
    font-size: 8pt;
    color: #999;
}

.master-grid .more-link {
    text-align: center;
    display: block;
    padding-bottom: 5px;
}


/********
 * Tabs *
 ********/

.master-tabs {
    background: url(../images/tabs-background.png) repeat-x 50% 50%;
    position: relative;
    padding: 0.2em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    min-height: 30px;
}

.master-tabs ul {
    margin: 0px;
    padding: 0.15em 0.2em 0px;
    color: #FFF;
    font-weight: bold;
    outline: 0px none;
    line-height: 1.3;
    text-decoration: none;
    font-size: 100%;
    list-style: outside none none;
    min-height: 0px;
}

.master-tabs ul li {
    list-style: outside none none;
    float: left;
    position: relative;
    top: 0px;
    margin: 1px 0.2em 0px 0px;
    border-bottom-width: 0px;
    padding: 0px;
    white-space: nowrap;
    font-weight: bold;
    line-height: 1.3;
    font-size: 115%;
    background: #D2E6F5;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.master-tabs ul li.tabs-active {
    margin-bottom: -1px;
    padding-bottom: 0.5em;
    font-weight: bold;
    color: #E17009;
    background: #FFFFFE;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.master-tabs ul li a {
    float: left;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #D2E6F5;
    color: #2E6E9E;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.master-tabs ul li.tabs-active a {
    cursor: text;
    color: #E17009;
    background: #FFFFFE;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}