﻿/* General */
body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.dds-text-right {
    text-align: right;
}
.dds-text-nowrap {
    white-space: nowrap;
}
.dds-display-none {
    display: none;
}

.dds-center {
    text-align: center;
}

.dds-margin-top-5 {
    margin-top: 5px;
}

.dds-margin-top-10 {
    margin-top: 10px;
}

.dds-pull-right {
    float: right;
}

.dds-pull-left {
    float: left;
}

.dds-clearfix::after {
    content: "";
    clear: both;
    display: table;
}
/*Alerts*/
.dds-alert {
    padding: .5rem .75rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.dds-alert-error {
    background-color: #f2dede;
    border-color: #ebcccc;
    color: #a94442;
}

.dds-alert-warning {
    background-color: #FFCDD2;
    border-color: #990100;
    color: #990100;
}

.dds-alert-success {
    background-color: #dff0d8;
    border-color: #d0e9c6;
    color: #3c763d;
}
/* Forms Inputs */

.dds-ctrl {
    background-color: #fafafa;
    border: 1px solid #888;
    padding: .4em;
    width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

    .dds-ctrl:focus {
        background-color: aliceblue;
    }

    .dds-ctrl:disabled {
        background-color: #e6e6e6;
    }

.dds-ddl {
    background-color: #fafafa;
    border: 1px solid #888;
    padding: .33em;
    width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

label {
    text-wrap: none;
    display: inline-block;
    margin-bottom: .1em;
    margin-top: .2em;
}
/*Show Icon over input*/
/* enable absolute positioning */
.dds-inner-addon {
    position: relative;
}

    /* style glyph */
    .dds-inner-addon .dds-glyphicon {
        position: absolute;
        padding: .3em;
        padding-top: .4em;
        pointer-events: none;
    }

/* align glyph */
.dds-left-addon .dds-glyphicon {
    left: 0px;
}

.dds-right-addon .dds-glyphicon {
    right: 0px;
}

/* add padding  */
.dds-left-addon input {
    padding-left: 1.9em;
}

.dds-right-addon input {
    padding-right: 1.9em;
}


/* The Modal  */
.dds-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.dds-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.dds-modal-content-sm {
    background-color: #fefefe;
    margin: auto;
    padding: .2em;
    border: 1px solid #888;
    width: 50%;
}



.dds-close-modal {
    color: #aaaaaa;
    float: right;
    font-size: 1.3em;
    font-weight: bold;
}

    .dds-close-modal:hover,
    .dds-close-modal:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }
/* Responsive Grid */

.dds-row {
    position: relative;
    width: 100%;
}

    .dds-row [class^="dds-col"] {
        float: left;
        padding: .1em;
        min-height: 0.125rem;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box; /* Firefox, other Gecko */
        box-sizing: border-box; /* Opera/IE 8+ */
    }

.dds-row-sm {
    position: relative;
    width: 100%;
}

    .dds-row-sm [class^="dds-col"] {
        float: left;
        padding: .1em;
        min-height: 0.125rem;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box; /* Firefox, other Gecko */
        box-sizing: border-box; /* Opera/IE 8+ */
        margin-top: -5px;
    }

.dds-col-1,
.dds-col-2,
.dds-col-3,
.dds-col-4,
.dds-col-5,
.dds-col-6,
.dds-col-7,
.dds-col-8,
.dds-col-9,
.dds-col-10,
.dds-col-11,
.dds-col-12 {
    width: 100%;
}

.dds-col-1-sm {
    width: 8.33%;
}

.dds-col-2-sm {
    width: 16.66%;
}

.dds-col-3-sm {
    width: 25%;
}

.dds-col-4-sm {
    width: 33.33%;
}

.dds-col-5-sm {
    width: 41.66%;
}

.dds-col-6-sm {
    width: 50%;
}

.dds-col-7-sm {
    width: 58.33%;
}

.dds-col-8-sm {
    width: 66.66%;
}

.dds-col-9-sm {
    width: 75%;
}

.dds-col-10-sm {
    width: 83.33%;
}

.dds-col-11-sm {
    width: 91.66%;
}

.dds-col-12-sm {
    width: 100%;
}

.dds-row::after {
    content: "";
    display: table;
    clear: both;
}

.dds-hidden-sm {
    display: none;
}

.dds-hidden-md {
    display: none;
}

.dds-hidden-lg {
    display: none;
}

.dds-show-md{
    display:block;
}

@media only screen and (min-width: 33.75em) { /* 540px */
    .dds-container {
        width: 80%;
    }

    .dds-hidden-sm {
        display: block;
    }
}

@media only screen and (min-width: 45em) { /* 720px */
    .dds-col-1 {
        width: 8.33%;
    }

    .dds-col-2 {
        width: 16.66%;
    }

    .dds-col-3 {
        width: 25%;
    }

    .dds-col-4 {
        width: 33.33%;
    }

    .dds-col-5 {
        width: 41.66%;
    }

    .dds-col-6 {
        width: 50%;
    }

    .dds-col-7 {
        width: 58.33%;
    }

    .dds-col-8 {
        width: 66.66%;
    }

    .dds-col-9 {
        width: 75%;
    }

    .dds-col-10 {
        width: 83.33%;
    }

    .dds-col-11 {
        width: 91.66%;
    }

    .dds-col-12 {
        width: 100%;
    }

    .dds-hidden-sm {
        display: block;
    }
}

@media only screen and (min-width: 60em) { /* 960px */
    .dds-container {
        width: 75%;
        max-width: 60rem;
    }

    .dds-hidden-md {
        display: block;
    }

    .dds-show-md{
        display:none;
    }
}

@media only screen and (min-width: 90em) { /* 960px */
    .dds-container {
        width: 50%;
        max-width: 60rem;
    }

    .dds-hidden-lg {
        display: block;
    }
}

/* Buttons*/
/**
 * Obvious Buttons 0.1
 * https://github.com/skidding/obvious-buttons
 *
 * (c) 2014+ Ovidiu Cherecheș
 * http://skidding.mit-license.org
 */
.button {
    display: block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    height: 40px;
    padding: 0 14px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.15);
    font-size: 18px;
    line-height: 37px;
    -webkit-transition-property: background-color;
    -webkit-transition-duration: 0.2s;
    -webkit-transition-timing-function: linear;
    -moz-transition-property: background-color;
    -moz-transition-duration: 0.2s;
    -moz-transition-timing-function: linear;
    -ms-transition-property: background-color;
    -ms-transition-duration: 0.2s;
    -ms-transition-timing-function: linear;
    -o-transition-property: background-color;
    -o-transition-duration: 0.2s;
    -o-transition-timing-function: linear;
    transition-property: background-color;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    background: #D0CECF;
    color: #222222;
}

    .button i {
        line-height: 37px;
    }

    .button:active,
    .button:active i {
        line-height: 40px;
    }

    .button.button-primary,
    .button.button-info,
    .button.button-success,
    .button.button-warning,
    .button.button-danger,
    .button.button-inverse {
        -webkit-box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.2);
        -moz-box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.2);
    }

    .button:hover,
    .button:focus {
        background: #e6e6e6;
        color: #222222;
    }

    .button:disabled,
    .button[disabled] {
        cursor: not-allowed;
        opacity: 0.4;
    }

    .button.button-primary {
        background: #3AA285;
        color: #fafafa;
    }

        .button.button-primary:hover,
        .button.button-primary:focus {
            background: #1D9775;
            color: #fafafa;
        }

    .button.button-info {
        background: #888;
        color: #fafafa;
    }

        .button.button-info:hover,
        .button.button-info:focus {
            background: #666666;
            color: #fafafa;
        }
    .button.button-carrot {
        background: whitesmoke;
        color: #935116;
    }

        .button.button-carrot:hover,
        .button.button-carrot:focus {
            background: ghostwhite;
            color: black;
        }

    .button.button-success {
        background: #5bb75b;
        color: #fafafa;
    }

        .button.button-success:hover,
        .button.button-success:focus {
            background: #47a247;
            color: #fafafa;
        }

    .button.button-warning {
        background: #faa732;
        color: #fafafa;
    }

        .button.button-warning:hover,
        .button.button-warning:focus {
            background: #f9960a;
            color: #fafafa;
        }

    .button.button-danger {
        background: #990100;
        color: #fafafa;
    }

        .button.button-danger:hover,
        .button.button-danger:focus {
            background: #820100;
            color: #fafafa;
        }

    .button.button-inverse {
        background: #363636;
        color: #fafafa;
    }

        .button.button-inverse:hover,
        .button.button-inverse:focus {
            background: #222222;
            color: #fafafa;
        }

    .button span {
        pointer-events: none;
    }

    .button:hover {
        text-decoration: none;
    }

    .button:focus {
        text-decoration: none;
        outline: none;
    }

    .button:active {
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }

.button-small {
    height: 30px;
    padding: 0 10px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.15);
    font-size: 14px;
    line-height: 28px;
}

    .button-small i {
        line-height: 28px;
    }

    .button-small:active,
    .button-small:active i {
        line-height: 30px;
    }

    .button-small.button-primary,
    .button-small.button-info,
    .button-small.button-success,
    .button-small.button-warning,
    .button-small.button-danger,
    .button-small.button-inverse {
        -webkit-box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.2);
        -moz-box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.2);
    }

.button-large {
    height: 50px;
    padding: 0 18px;
    border-radius: 6px;
    -webkit-box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.15);
    font-size: 22px;
    line-height: 46px;
}

    .button-large i {
        line-height: 46px;
    }

    .button-large:active,
    .button-large:active i {
        line-height: 50px;
    }

    .button-large.button-primary,
    .button-large.button-info,
    .button-large.button-success,
    .button-large.button-warning,
    .button-large.button-danger,
    .button-large.button-inverse {
        -webkit-box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.2);
        -moz-box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.2);
    }

.button-xlarge {
    height: 60px;
    padding: 0 22px;
    border-radius: 7px;
    -webkit-box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.15);
    font-size: 26px;
    line-height: 55px;
}

    .button-xlarge i {
        line-height: 55px;
    }

    .button-xlarge:active,
    .button-xlarge:active i {
        line-height: 60px;
    }

    .button-xlarge.button-primary,
    .button-xlarge.button-info,
    .button-xlarge.button-success,
    .button-xlarge.button-warning,
    .button-xlarge.button-danger,
    .button-xlarge.button-inverse {
        -webkit-box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.2);
        -moz-box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 -5px 0 0 rgba(0, 0, 0, 0.2);
    }

.button-inline {
    display: inline-block;
    vertical-align: middle;
}

.dds-table-striped {
    border-spacing: 0;
    width: 100%;
    empty-cells: show;
    border-collapse: collapse;
}

    .dds-table-striped th {
        background-color: #666666;
        color: white;
        text-align: left;
        padding:.4em .2em;
    }

    .dds-table-striped tr:nth-child(even) {
        background: #f2f2f2
    }

    .dds-table-striped td  {
        border: 1px solid gainsboro;
        padding: .1em;
    }

.dds-table {
    border-spacing: 0;
    width: 100%;
    empty-cells: show;
    border-collapse: collapse;
    font-size: smaller;
}

    .dds-table th {
        padding:0 1.5em;
    }

    .dds-table td {
        border-top: 1px solid gainsboro;
        padding: .1em;
    }

    .dds-table-no-border td {
        border:none;
        padding: .1em;
    }


.dds-table-warning th {
    background-color: blanchedalmond;
    color: black;
    text-align: left;
}

.dds-table-warning tr:nth-child(even) {
    background: #F7F1E8
}

.dds-table-warning td {
    border: 1px solid #F4E5D0;
    padding: .1em;
}