/**
 * Tyler Theming Framework v0.1
 *
 * Description: The Tyler Theming Framework is used to assist in the Front-End Development process.
 *
 * This stylesheet uses the Idiomatic CSS guidelines. https://github.com/necolas/idiomatic-css
 */

/* ==========================================================================
   Global Layout Structure :: Fluid/Responsive Layout
   ========================================================================== */

/**
 * Column layout for responsive websites.
 *
 * This creates a wrapper element that tells all next child siblings to
 * be browsed horizontally within their parent.
 *
 * Example HTML:
 *
 * <div id="content" role="main" class="tyler-layout-fluid tyler-cols-2">
 *     <div></div>
 *     <div></div>
 * </div>
 *
 * Note: You can specify column spans as well.
 *
 * <div id="content" role="main" class="tyler-layout-fluid tyler-cols-4">
 *     <div class="tyler-span-3"></div>
 *     <div></div>
 * </div>
 *
 */

/**
 * Parent container must contain 2 types of classes
 * Must container .tyler-layout-fluid and the column number .tyler-cols-2
 */

/* Parent container and default values
   ========================================================================== */

.tyler-layout-fluid {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.tyler-layout-fluid > * {
    float: left;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.tyler-layout-fluid:before,
.tyler-layout-fluid:after {
  display: table;
  line-height: 0;
  content: "";
}
.tyler-layout-fluid:after {
  clear: both;
}
.tyler-layout-fluid > * {
    margin-right: 2.5%;
    width:100%;
}
.tyler-layout-fluid.tyler-cols-2 > .tyler-span-2,
.tyler-layout-fluid.tyler-cols-3 > .tyler-span-3,
.tyler-layout-fluid.tyler-cols-4 > .tyler-span-4,
.tyler-layout-fluid.tyler-cols-5 > .tyler-span-5,
.tyler-layout-fluid.tyler-cols-6 > .tyler-span-6 {
    width: 100%;
}

/* Condensed Layout Overrides */
.tyler-layout-fluid.tyler-layout-fluid-condensed > * {
    margin-right: 0;
}

/* 2 column layout
   ========================================================================== */

.tyler-layout-fluid.tyler-cols-2 > * {
    width: 48.75%;
}
.tyler-layout-fluid.tyler-cols-2 > *:nth-child(even) {
    margin-right: 0;
}

/* Condensed Layout Overrides */
.tyler-layout-fluid-condensed.tyler-cols-2 > * {
    width: 50%;
}

/* 3 column layout
   ========================================================================== */

.tyler-layout-fluid.tyler-cols-3 > * {
    width: 31.66666666666667%;
}
.tyler-layout-fluid.tyler-cols-3 > *:nth-child(3n) {
    margin-right: 0;
}
.tyler-cols-3 > .tyler-span-2 {
    width: 65.8333333333333%;
}

/* Condensed Layout Overrides */
.tyler-layout-fluid-condensed.tyler-cols-3 > * {
    width: 33.3333333333%;
}
.tyler-layout-fluid-condensed.tyler-cols-3 > .tyler-span-2 {
    width: 66.6666666666%;
}
#content.tyler-cols-3 .portlet-header h2 {
  font-size: 18px;
  padding: 10px 0;
  background: inherit;
}
#content.tyler-cols-3 .portlet-controls a {
  height: 42px;
}
#content.tyler-cols-3 .portlet-settings h3 {
  font-size: 16px;
}
#content.tyler-cols-3 .portlet-settings ul {
  margin-left: 10px;
}
#content.tyler-cols-3 .portlet-settings ul label {
  font-size: 12px;
}
#content.tyler-cols-3 .portlet-body h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
#content.tyler-cols-3 .portlet-body .tyler-toggle-container label {
  font-size: 14px;
}
#content.tyler-cols-3 .portlet-body .sounds-like {
  width: 100%;
  margin-bottom: 4px;
}
#content.tyler-cols-3 .portlet-body .sounds-like~p {
  width: 100%;
  margin: 0;
}
#content.tyler-cols-3 .portlet-body .sounds-like label {
  font-size: 14px;
}
.portlet-body h3 span {
  float: right;
}

/* 4 column layout
   ========================================================================== */

.tyler-layout-fluid.tyler-cols-4 > * {
    width: 23.125%;
}
.tyler-layout-fluid.tyler-cols-4 > *:nth-child(4n) {
    margin-right: 0;
}
.tyler-cols-4 > .tyler-span-2 {
    width: 48.75%;
}
.tyler-cols-4 > .tyler-span-3 {
    width: 74.375%;
}

/* Condensed Layout Overrides */
.tyler-layout-fluid-condensed.tyler-cols-4 > * {
    width: 25%;
}
.tyler-layout-fluid-condensed.tyler-cols-4 > .tyler-span-2 {
    width: 50%;
}
.tyler-layout-fluid-condensed.tyler-cols-4 > .tyler-span-3 {
    width: 75%;
}

/* 5 column layout
   ========================================================================== */

.tyler-layout-fluid.tyler-cols-5 > * {
    width: 18%;
}
.tyler-layout-fluid.tyler-cols-5 > *:nth-child(5n) {
    margin-right: 0;
}
.tyler-cols-5 > .tyler-span-4 {
    width: 79.5%
}
.tyler-cols-5 > .tyler-span-3 {
    width: 59%
}
.tyler-cols-5 > .tyler-span-2 {
    width: 38.5%
}

/* Condensed Layout Overrides */
.tyler-layout-fluid-condensed.tyler-cols-5 > * {
    width: 20%;
}
.tyler-layout-fluid-condensed.tyler-cols-5 > .tyler-span-4 {
    width: 80%
}
.tyler-layout-fluid-condensed.tyler-cols-5 > .tyler-span-3 {
    width: 60%
}
.tyler-layout-fluid-condensed.tyler-cols-5 > .tyler-span-2 {
    width: 40%
}

/* 6 column layout
   ========================================================================== */

.tyler-layout-fluid.tyler-cols-6 > * {
    width: 14.58333333333333%;
}
.tyler-layout-fluid.tyler-cols-6 > *:nth-child(6n) {
    margin-right: 0;
}
.tyler-cols-6 > .tyler-span-5 {
    width: 82.916666666666667%;
}
.tyler-cols-6 > .tyler-span-4 {
    width: 65.83333333333334%;
}
.tyler-cols-6 > .tyler-span-3 {
    width: 48.75000000000001%;
}
.tyler-cols-6 > .tyler-span-2 {
    width: 31.66666666666668%;
}
.tyler-layout-fluid > *:last-child {
    margin-right: 0 !important;
}

/* Condensed Layout Overrides */
.tyler-layout-fluid-condensed.tyler-cols-6 > * {
    width: 16.6666666667%;
}
.tyler-layout-fluid-condensed.tyler-cols-6 > .tyler-span-5 {
    width: 83.3333333333%;
}
.tyler-layout-fluid-condensed.tyler-cols-6 > .tyler-span-4 {
    width: 66.66666666666667%;
}
.tyler-layout-fluid-condensed.tyler-cols-6 > .tyler-span-3 {
    width: 50%;
}
.tyler-layout-fluid-condensed.tyler-cols-6 > .tyler-span-2 {
    width: 33.33333333333333%;
}

/* ==========================================================================
   CSS Helpers
   ========================================================================== */

.tyler-rounded-5 {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
}
.tyler-rounded-5-5-0-0 {
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}
.tyler-rounded-0-0-5-5 {
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
}
.tyler-rounded-0-5-5-0 {
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
    overflow: hidden;
}
.tyler-rounded-10 {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}
.tyler-shadow-outer-below {
    -webkit-box-shadow: 0 1px 5px -2px #333333;
    -moz-box-shadow: 0 1px 5px -2px #333333;
    box-shadow: 0 1px 5px -2px #333333;
}
.tyler-shadow-outer {
    -webkit-box-shadow: 0 0 4px 0px #333333;
    -moz-box-shadow: 0 0 4px 0px #333333;
    box-shadow: 0 0 4px 0px #333333;
}
.tyler-shadow-inner {
    -webkit-box-shadow: inset 0 0 4px 0px #333333;
    -moz-box-shadow: inset 0 0 4px 0px #333333;
    box-shadow: inset 0 0 4px 0px #333333;
}
.tyler-shadow-inner-below {
    -webkit-box-shadow: inset 0 -1px 4px -1px #333333;
    -moz-box-shadow: inset 0 -1px 4px -1px #333333;
    box-shadow: inset 0 -1px 4px -1px #333333;
}
.tyler-no-margin {
    margin: 0;
}
.tyler-no-padding {
    margin: 0;
}
.tyler-padding-10 {
    padding: 10px;
}
.tyler-padding-15 {
    padding: 15px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.tyler-btn,
.k-button /* tyler change, don't remove at merge */ {
    display:inline-block;
    padding: 6px 30px;
    color: #333;
    text-align: center;
    vertical-align: middle;
    border: 0;
    cursor: pointer;
    background: #F5F5F5;
    overflow: hidden;
    -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), inset 0 -1px 3px rgba(0, 0, 0, 0.3), 0 1px 5px -2px #333333;
    -moz-box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), inset 0 -1px 3px rgba(0, 0, 0, 0.3), 0 1px 5px -2px #333333;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), inset 0 -1px 3px rgba(0, 0, 0, 0.3), 0 1px 5px -2px #333333;
    position: relative;
}
.tyler-btn:hover,
.tyler-btn:focus {
    text-decoration: none;
    background: #e6e6e6;
    color: #333;
    outline: none;
}
.tyler-btn:visited {
    color: #333;
}
.tyler-btn-primary {
    color: #FFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    background: #1483ca;
}
.tyler-btn-primary:hover,
.tyler-btn-primary:focus,
.tyler-btn-primary.over {
    background: #11527c;
}
.tyler-btn-secondary {
    color: #FFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    background: #e19f20;
}
.tyler-btn-secondary:hover,
.tyler-btn-secondary:focus {
    background: #bf810a;
}
.tyler-btn-success {
    color: #FFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    background: #51A351;
    border: 0;
}
.tyler-btn-success:hover,
.tyler-btn-success:focus {
    background: #499249;
}
.tyler-btn-warning {
    color: #FFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    background: #A35151;
    border: 0;
}
.tyler-btn-warning:hover,
.tyler-btn-warning:focus {
    background: #963535;
}
.tyler-btn-muted {
    color: #FFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    background: #a0aab7;
    border: 0;
}
.tyler-btn-muted:hover,
.tyler-btn-muted:focus {
    background: #7b848f;
}
.tyler-btn-primary:hover,
.tyler-btn-primary:visited,
.tyler-btn-primary:focus,
.tyler-btn-secondary:hover,
.tyler-btn-secondary:visited,
.tyler-btn-secondary:focus,
.tyler-btn-success:hover,
.tyler-btn-success:visited,
.tyler-btn-success:focus,
.tyler-btn-warning:hover,
.tyler-btn-warning:visited,
.tyler-btn-warning:focus,
.tyler-btn-muted:hover,
.tyler-btn-muted:visited,
.tyler-btn-muted:focus {
    color: #FFF;
}
.tyler-btn.disabled {
  color: #CCC;
  background-color: #999;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  text-shadow: none;
  -webkit-text-shadow: none;
  cursor: auto;
}
.tyler-btn span.carat-white {
    float: right;
    height: 33px;
    background: transparent url('images/sprite-carat.png') center -83px no-repeat;
    padding: 0 13px;
    margin: -6px -30px -6px 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}
.tyler-btn.open span.carat-white {
    background: transparent url('images/sprite-carat.png') center -51px no-repeat;
    background: rgba(0, 0, 0, 0.5) url('images/sprite-carat.png') center -51px no-repeat;
}
.tyler-btn span.carat {
    float: right;
    height: 33px;
    background: transparent url('images/sprite-carat.png') center -20px no-repeat;
    padding: 0 13px;
    margin: -6px -30px -6px 16px;
    border-left: 1px solid #D6D6D6;
}
.tyler-btn.open span.carat {
    background: transparent url('images/sprite-carat.png') center 13px no-repeat;
    background: rgba(255, 255, 255, 0.5) url('images/sprite-carat.png') center 13px no-repeat;
}

span.carat {
    width: 12px;
    height: 6px;
    display: inline-block;
    margin: 0 10px 3px 10px;
    background: transparent url('images/sprite-carat.png') left -33px no-repeat;
}
span.carat-white {
    width: 12px;
    height: 6px;
    display: inline-block;
    margin: 0 10px 3px 10px;
    background: transparent url('images/sprite-carat.png') left -97px no-repeat;
}
span.carat.open {
    background: transparent url('images/sprite-carat.png') left top no-repeat;
}

.tyler-tooltip {
  display: inline-block;
  background-color: #CCC;
  border-radius: 8px;
  height: 16px!important;
  width: 16px!important;
}

/*.tyler-tooltip {
    display: inline;
    position: relative;
}
.tyler-tooltip:hover:after {
    background: #333;
    background: rgba(0,0,0,.8);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    bottom: 26px;
    color: #fff;
    text-decoration: none;
    content: attr(title);
    left: 20%;
    padding: 5px 10px;
    position: absolute;
    text-align: left;
    z-index: 98;
    min-width: 150px;
}
.tyler-tooltip:hover:before {
    border: solid;
    border-color: #333 transparent;
    border-width: 6px 6px 0 6px;
    bottom: 20px;
    content: "";
    left: 50%;
    position: absolute;
    z-index: 99;
}
.tyler-btn.tyler-tooltip:hover:after {
    bottom: 31px;
}
.tyler-btn.tyler-tooltip:hover:before {
    bottom: 25px;
}*/


/* ==========================================================================
   Tables
   ========================================================================== */

.tyler-table {
    display: table !important;
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
}
.tyler-table th {
    border-top: 1px solid #dddddd;
    background: #d6d6d6;
    padding: 12px 8px;
    line-height: 20px;
    vertical-align: top;
}
.tyler-table td {
  padding: 8px;
  line-height: 20px;
  vertical-align: top;
}
.tyler-table th {
  font-weight: bold;
}
.tyler-table thead th {
  vertical-align: bottom;
}
.tyler-table .label {
    font-weight: bold;
}
.tyler-table caption + thead tr:first-child th,
.tyler-table caption + thead tr:first-child td,
.tyler-table colgroup + thead tr:first-child th,
.tyler-table colgroup + thead tr:first-child td,
.tyler-table thead:first-child tr:first-child th,
.tyler-table thead:first-child tr:first-child td {
  border-top: 0;
}
.tyler-table tbody + tbody {
  border-top: 2px solid #dddddd;
}
.tyler-table-condensed th,
.tyler-table-condensed td {
  padding: 4px 5px;
}
.tyler-table-bordered {
  border: 1px solid #dddddd;
  border-collapse: separate;
  *border-collapse: collapse;
  border-left: 0;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}
.tyler-table-bordered th,
.tyler-table-bordered td {
  border-left: 1px solid #dddddd;
}
.tyler-table-bordered caption + thead tr:first-child th,
.tyler-table-bordered caption + tbody tr:first-child th,
.tyler-table-bordered caption + tbody tr:first-child td,
.tyler-table-bordered colgroup + thead tr:first-child th,
.tyler-table-bordered colgroup + tbody tr:first-child th,
.tyler-table-bordered colgroup + tbody tr:first-child td,
.tyler-table-bordered thead:first-child tr:first-child th,
.tyler-table-bordered tbody:first-child tr:first-child th,
.tyler-table-bordered tbody:first-child tr:first-child td {
  border-top: 0;
}
.tyler-table-bordered thead:first-child tr:first-child th:first-child,
.tyler-table-bordered tbody:first-child tr:first-child td:first-child {
  -webkit-border-top-left-radius: 5px;
          border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
}
.tyler-table-bordered thead:first-child tr:first-child th:last-child,
.tyler-table-bordered tbody:first-child tr:first-child td:last-child {
  -webkit-border-top-right-radius: 5px;
          border-top-right-radius: 5px;
  -moz-border-radius-topright: 5px;
}
.tyler-table-bordered thead:last-child tr:last-child th:first-child,
.tyler-table-bordered tbody:last-child tr:last-child td:first-child,
.tyler-table-bordered tfoot:last-child tr:last-child td:first-child {
  -webkit-border-radius: 0 0 0 5px;
     -moz-border-radius: 0 0 0 5px;
          border-radius: 0 0 0 5px;
  -webkit-border-bottom-left-radius: 5px;
          border-bottom-left-radius: 5px;
  -moz-border-radius-bottomleft: 5px;
}
.tyler-table-bordered thead:last-child tr:last-child th:last-child,
.tyler-table-bordered tbody:last-child tr:last-child td:last-child,
.tyler-table-bordered tfoot:last-child tr:last-child td:last-child {
  -webkit-border-bottom-right-radius: 5px;
          border-bottom-right-radius: 5px;
  -moz-border-radius-bottomright: 5px;
}
.tyler-table-bordered caption + thead tr:first-child th:first-child,
.tyler-table-bordered caption + tbody tr:first-child td:first-child,
.tyler-table-bordered colgroup + thead tr:first-child th:first-child,
.tyler-table-bordered colgroup + tbody tr:first-child td:first-child {
  -webkit-border-top-left-radius: 5px;
          border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
}
.tyler-table-bordered caption + thead tr:first-child th:last-child,
.tyler-table-bordered caption + tbody tr:first-child td:last-child,
.tyler-table-bordered colgroup + thead tr:first-child th:last-child,
.tyler-table-bordered colgroup + tbody tr:first-child td:last-child {
  -webkit-border-top-right-radius: 5px;
          border-top-right-radius: 5px;
  -moz-border-radius-topright: 5px;
}
.tyler-table-striped tbody tr:nth-child(even) td,
.tyler-table-striped tbody tr:nth-child(even) th {
  background-color: #eeeeee;
}
.tyler-table-hover tbody tr:hover td,
.tyler-table-hover tbody tr:hover th {
  background-color: #f5f5f5;
}

.tyler-table tr.tyler-color-muted {
    background: #999;
    color: #FFF;
}
.tyler-table tr.tyler-color-warning {
    background: #ffaa00;
    color: #FFF;
}
.tyler-table tr.tyler-color-error {
    background: #fd4a4a;
    color: #FFF;
}
.tyler-table tr.tyler-color-success {
    background: #18b21b;
    color: #FFF;
}


/* ==========================================================================
   Typography
   ========================================================================== */

/* Headings
   ========================================================================== */

h1 {
    font-size: 30px;
    font-size: 1.875rem; /* 30px / 16px */
    color: #4d4d4d;
    margin: 0 0 14px 0;
    clear:both;
}
h2 {
    font-size: 23px;
    font-size: 1.4375rem; /* 23px / 16px */
    color: #40548f;
    margin:0 0 10px 0;
}
h3 {
    font-size: 18px;
    font-size: 1.125rem; /* 18px / 16px */
    color: #8f9b49;
    margin: 0 0 8px 0;
}
h4 {
    font-size: 16px;
    font-size: 1.0rem; /* 16px / 16px */
    margin: 0 0 6px 0;
}
h5 {
    font-size: 14px;
    font-size: 0.875rem; /* 14px / 16px */
    margin: 0 0 5px 0;
}
h6 {
    font-size: 12px;
    font-size: 0.75rem; /* 12px / 16px */
    color: #999;
    margin: 0 0 4px 0;
}

/* Emphasis Colors
   ========================================================================== */

.tyler-color-muted {
    color: #999;
}
.tyler-color-warning {
    color: #ffaa00;
}
.tyler-color-error {
    color: #fd4a4a;
}
.tyler-color-success {
    color: #18b21b;
}

/* Typography Helpers
   ========================================================================== */

.tyler-text-align-right {
    text-align: right;
}
.tyler-text-align-left {
    text-align: left;
}
.tyler-text-align-center {
    text-align: center;
}
.tyler-text-transform-uppercase {
    text-transform: uppercase;
}

/* ==========================================================================
   Base HTML Element Styling
   ========================================================================== */

hr { /* For Internet Explorer */ clear:both; height: 2px; color: #d6d6d6; /* light grey */ border: none; margin-bottom:1.0em; }
html > body hr { /* For Gecko-based browsers */ clear:both; height: 2px; background-color: #d6d6d6; border: none; margin-bottom:1.0em; }
html > body hr { /* For Opera and Gecko-based browsers */ clear:both; height: 2px; background-color: #d6d6d6; border: 0 solid #d6d6d6; margin-bottom:1.0em; }
img { border: 0; }
p,
ul,
ol,
dl {
    margin: 0 0 1.1em 0;
    padding: 0;
    font-size: 14px;
    font-size: 0.875rem; /* 14px / 16px */
    line-height: 1.5em;
}
ul,
ol {
    margin: 0 0 1.5em 25px;
}
ul li,
ol li {
    font-size: inherit;
    margin-bottom:0.2em;
}
ul ul {
    margin: 0 0 0 25px;
}
dl dt {
    font-weight:bold;
}
dl dd {
    margin:0 0 0.5em 0;
}
a {
  cursor: pointer;
}
input,
textarea,
select,
td,
th {
    font-size: 1.0em;
}
acronym,
abbr {
    border-bottom: 1px dotted black;
    cursor: help;
}
sup {
    font-size: 0.9em;
}
code {
    font: 1.1em 'Courier New', Courier, Fixed;
}
blockquote {
    margin: 1.0em 30px 1.0em 10px;
    padding-left: 20px;
    font-style:oblique;
}
blockquote cite {
    margin: 5px 0 0;
    display: block;
    font-style:normal;
}
code,
pre {
    padding: 0 3px 2px;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    font-size: 12px;
    color: #333;
}
code {
    padding: 2px 4px;
    color: #D14;
    background-color: #F7F7F9;
    border: 1px solid #E1E1E8;
}
pre {
    display: block;
    padding: 10px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 20px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre;
    white-space: pre-wrap;
    background-color: #F5F5F5;
    border: 1px solid #CCC;
}
iframe {
    border: 0;
    width: 100%;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 16px;
}
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"] {
    border: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: textfield;
    display: inline-block;
    width: 100%;
    height: 40px;
    font-size: 16px;
    padding: 0 13px;
    background: #e9e9e9;
    -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #E9E9E9;
    position: relative;
}

textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus {
  border: 1px solid #2b7eb7;
  background: #daecf6;
  outline: none;
}
input[type="time"] {
  line-height: 2.1rem;
}
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: 1px solid #2b7eb7;
}
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  cursor: not-allowed;
  background: #BABABA;
}
select {
    border: 1px solid #e9e9e9;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    -webkit-appearance: menulist;
    -webkit-box-align: center;
    width: 100%;
    background: #e9e9e9;
    line-height: 39px; /* This is for Safari */
    -webkit-box-align: center;
    -webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.4);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 8px 13px;
    position: relative;
}
input.tyler-datepicker {
    background: #e9e9e9 url('images/icon-calendar.png') 94% center no-repeat;
    padding-right: 40px!important;
    white-space: nowrap;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    overflow: hidden;
}
input.tyler-datepicker:focus {
    border: 1px solid #2b7eb7;
    background: #daecf6 url('images/icon-calendar.png') 94% center no-repeat;
}
textarea {
  padding-top: 10px;
  height: 60px;
}

/* Error Validation Styling */

div.validation-summary-valid {
  display: none;
}
select.input-validation-error,
textarea.input-validation-error,
input[type="text"].input-validation-error,
input[type="password"].input-validation-error,
input[type="datetime"].input-validation-error,
input[type="datetime-local"].input-validation-error,
input[type="date"].input-validation-error,
input[type="month"].input-validation-error,
input[type="time"].input-validation-error,
input[type="week"].input-validation-error,
input[type="number"].input-validation-error,
input[type="email"].input-validation-error,
input[type="url"].input-validation-error,
input[type="search"].input-validation-error,
input[type="tel"].input-validation-error,
input[type="color"].input-validation-error {
    border: 1px solid #FF4545;
    -moz-box-shadow: inset 1px 1px 3px #FF8A8A;
    -webkit-box-shadow: inset 1px 1px 3px #FF8A8A;
    box-shadow: inset 1px 1px 3px #FF8A8A;
}
input[type="checkbox"],
input[type="radio"] {
    margin: 3px 7px 0 7px;
}
input[type="checkbox"].input-validation-error,
input[type="radio"].input-validation-error {
    outline: 1px solid #fd4a4a;
}
input.tyler-datepicker.input-validation-error {
    background: #E9E9E9 url('images/icon-calendar.png') 94% center no-repeat;
    border: 1px solid #FF4545;
    -moz-box-shadow: inset 1px 1px 3px #FF8A8A;
    -webkit-box-shadow: inset 1px 1px 3px #FF8A8A;
    box-shadow: inset 1px 1px 3px #FF8A8A;
}
.input-validation-error::-webkit-input-placeholder {
   color: #333;
}
.input-validation-error:-moz-placeholder {
   color: #333;
}
div.validation-summary-errors {
    color: #fd4a4a;
    border-bottom: 1px solid #fd4a4a;
    margin-bottom: 12px;
    padding-bottom: 10px;
}
div.validation-summary-errors > *:last-child {
    margin-bottom: 0;
}

/* pseudo placeholder */
.input-placeholder-wrapper {
  position: relative;
}
.input-placeholder {
  font-size: 16px;
  color: #aaa;
  position: absolute;
  left: 14px;
  top: -3px;
  z-index: 1;
  -ms-text-overflow: ellipsis;
  overflow: hidden;
  width: 90%;
  white-space: nowrap;
  display: inline;
  width: 200px;
  cursor: text;
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */

.tyler-float-left {
    float: left;
}
.tyler-float-right {
    float: right;
}
.tyler-display-block {
    display: block;
}
.tyler-display-inline-block {
    display: inline-block;
}
.tyler-display-inline {
    display: inline;
}
.tyler-container-align-center {
    margin-left: auto;
    margin-right: auto;
}
.tyler-absolute-bottom {
    position: absolute;
    bottom:0;
    left:0;
}
.tyler-absolute-right {
    position: absolute;
    right:0;
    top:0;
}
.tyler-absolute-left {
    position: absolute;
    left:0;
    top:0;
}
.tyler-hide {
    display: none;
}
.tyler-show {
    display: block;
}

/* ==========================================================================
   Tyler Toggable Containers
   ========================================================================== */

.tyler-toggle-controller {
    cursor: pointer;
}
.tyler-toggle-container {
    display: none;
}
.tyler-toggle-controller.toggle-disabled {
    cursor: default;
}
.tyler-toggle-controller.toggle-disabled .carat {
    background: none;
}
.tyler-toggle-controller.disabled {
  cursor: inherit;
}
.tyler-toggle-controller.disabled span.carat {
  background: none;
}
/* ==========================================================================
   Tyler Draggable Containers using jQuery UI Sortables
   ========================================================================== */

/*.ui-sortable-placeholder {
    visibility: visible !important;
    border: 2px dashed #2b7eb7;
    background: rgba(255, 255, 255, 0.5) !important;
}*/
.portlet-container:not(.tyler-sortable-disabled) .tyler-sortable-handle {
    /*cursor: move;*/
}

/* ==========================================================================
   Clearfix Helper
   ========================================================================== */

.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}
.clearfix:after {
  clear: both;
}

.hidden {
    display: none;
}

/* ==========================================================================
   Font Helpers
   ========================================================================== */
.tyler-bold {
    font-weight: bold;
}