/* STRUCTURAL */

* {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    color: #ccc;
    width: 100%;
}

a {
    outline: 0;
}

.hidden {
    display: none !important;
}

[class*="col-"] {
    float: left;
    padding: 15px;
    /*background-color: #330000;*/
    width: 100%;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}
#logoContainer{
    text-align: center;}
#blurb{
    line-height:25px;
    font-weight: bold;
}
.mainlink {
    text-align: center;
    color: white;
    margin: 10px;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(155, 0, 0, 1);
    background-color: #120000;
}
.sublink {
    text-align: center;
    color: white;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgb(93, 93, 93);
    background-color: #171717;
    width:calc(100% - 30px);
    margin-left:auto;
    margin-right:auto;
}
.sublink ~ div{
    background-color: #171717;
    border-radius: 12px;
    padding:16px;
    width:calc(100% - 30px);
    margin:10px 15px;
}
.ui-dialog-titlebar-close{
    color:transparent;
}.ui-dialog-titlebar-close span{
    color:#000000;
}

a:link, a:visited {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

a:hover, a:active, a:focus {
    text-decoration: underline solid #ff0000;
}

@font-face {
    font-family: Standout;
    src: url(SANicksonOne.otf);
}

a.standout {
    font-family: Standout, sans-serif;
    letter-spacing: 1px;
    font-size: 2.6em;
    color: #ccc !important;
}

.trisectiontext {
    line-height: 1.8em;
}

.centered {
    text-align: center;
}

#col1 {
    float: left;
    width: 250px;
    margin-left: 4%;
}

#col2 {
    float: left;
    width: 45%;
    margin-left: 2%;
}

#stats {
    width: 100%;
    height: 250px;
    border: 1px blue solid;
}

#completed {
    width: 100%;
    height: 1000px;
    border: 1px blue solid;
}

#todo {

}

label {
    cursor: pointer;
}

.editjob {
    cursor: pointer;
    height: 24px;
    width: 24px;
}

.leftmarg92 {
    margin-left: 92px;
}

.leftmarg46 {
    margin-left: 46px;
}

.left {
    text-align: left;
}

.task {
    height: auto;
    width: 588px;
    border: 2px solid #666;
    margin: 5px;
    position: relative;
    padding: 6px;
}

.priority {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 30px;
    width: 40px;
    height: 40px;
    background-color: #333;
    text-align: center;
    font-family: Arial Black, Gadget, sans-serif;
}

.paymentform {
    width: 300px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


.owner {
    margin-left: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.jobtitle {
    padding: 6px 15px 6px 15px;
    display: inline-block;
    background-color: #222;
    border: 1px solid #555;
    border-bottom: 1px solid #222;
    margin-bottom: -1px;
    z-index: 2;
}

.task div.desc {
    width: 550px;
    background-color: #222;
    overflow: hidden;
    color: #aaa;
    padding: 6px 15px 6px 15px;
    height: 80px;
    border: 1px solid #555;
    z-index: 1;
}
#indexNav div{
    padding: 0 15px;
}

.task.ongoing div.desc, .task.inprogress div.desc {
    height: auto;
}

.actions {
    height: 100px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.ongoing {
    background-color: #000;
    box-shadow: inset 0 0 20px 10px #070;
}

.inprogress {
    background-color: #000;
    box-shadow: inset 0 0 20px 10px #700;
}

.actionbutton {
    padding: 0;
    border: 1px solid #eee;
    height: 42px;
    width: 42px;
}

a:link, a:visited, a:active {
    color: #ca6666;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline solid #ff0000;
}

a:target {
    color: #ca6666;
    font-weight: bold;
}

#header, #nav {
    text-align: center;
}

#careab {
    background-color: rgba(100, 100, 100, 0.6);
    height: auto;
    border-radius: 18px;
    overflow: auto;
    border: 1px solid #666;
    z-index: 1;

}

.slimcontainer {
    padding: 0;
}

#nav1 {
    margin-top: 30px;
    padding: 0;
}

.tab {
    position: relative;
    top: 0;
    display: inline-block;
    margin: 10px 0;
    padding-top: 8px;
    font-weight: bold;
}

.tabinactive {
    background-color: rgba(35, 35, 35, 1);
    border: 1px solid #444;
    border-bottom: 0;
    z-index: 0;
    height: 30px;
    text-align: center;
    box-shadow: inset 0px -10px 5px -5px #000;
}

.tabactive {
    background-color: rgba(75, 75, 75, 1);
    border: 1px solid #666;
    border-bottom: 10px solid rgba(60, 60, 60, 1);
    z-index: 2;
    height: 30px;
    text-align: center;
    box-shadow: inset 0px 5px 5px -5px #fff;
}

pre {
    white-space: pre-wrap;

}

.viewbyjobstatus li {
    list-style-type: none;
    margin: 8px;
    font-weight: bold;
}

.viewbyjobstatus li.viewing {
    list-style-type: circle;
}

li.viewing a:link, li.viewing a:visited, li.viewing a:hover, li.viewing a:active {
    color: #fff;
}

.taskname {
    cursor: pointer;
}

.taskname:hover {
    text-decoration: underline;
}

div.paymentoptions {
    display: flex;
    flex-wrap: wrap;
}

div.paymentoptions div {
    background-color: #F0FBF0;
    border: 1px solid #50AA4B;
    border-radius: 8px;
    color: black;
    padding: 1em;
    vertical-align: top;
    width: auto;
    min-width: 220px;
    height: 250px;
    margin: 0.5em;
    flex: auto;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 220px;
}

div.paymentoptions div h1 {
    text-align: center;
    font-size: 1.2em;
}

table#inbox tr td {
    padding-top: 6px;
    border-bottom: 1px solid #333;
}

.medal_link div img {
    width: 100%;
    max-width: 128px;
    height: auto;
    margin: 0 auto;
}

.medal_link.logos .col-3 {
    position: relative;
    height: 180px;
    padding: 0;
}

.medal_link.logos .col-3 h3 {
    position: absolute;
    top: 148px;
    width: 100%;
    text-align: center;
}

.medal_link div {
    margin: 0 auto;
    text-align: center;
}

.QA p {
    width: 50%;
    margin: 18px auto 8px;
}
.quote{
/*    like sublink but yellow*/
    text-align: center;
    color: black;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgb(93, 93, 93);
    background-color: #f0b000;
    width:calc(100% - 30px);
    margin-left:auto;
    margin-right:auto;
    padding:16px;
    margin-top:30px;
}

.QA p:nth-child(odd) {
    padding-left: 20px;
    color: #a6a1a1;
}.QA p:nth-child(even) {
     color: #ce6666;
    margin-top:40px;
}

.QA p:last-child {
    padding-bottom: 100px;
}
.margTop15{
    margin-top:15px;
}
.margTop30{
    margin-top:30px;
}
#hamburger{
    cursor:pointer;
    font-size:2.6em;
    width:26%;
    margin-left:74%;
    text-align:center;
}
.row.portfolio div img{
    max-width:100%;
    height:auto;
    max-height:400px;
    margin:0 auto;
}
.portfolio h3  {
    margin:10px 0;

}
.portfolio p{
    color:#ca6666;
}
.portfolio ul {
    margin-left:30px;
}
.portfolio ul li{
    line-height:1.8em;
}

/* MOBILE RULES FOR TABLES */
@media only screen and (max-width: 900px) {

    table#joblist, table#joblist thead, table#joblist tbody, table#joblist th, table#joblist td, table#joblist tr,
    table#joblistactive, table#joblistactive thead, table#joblistactive tbody, table#joblistactive th, table#joblistactive td, table#joblistactive tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    table#joblist thead tr, table#joblistactive thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    table#joblist tr, table#joblistactive tr {
        border: 1px solid #bbb;
        margin-bottom: 5px;
    }

    table#joblist td, table#joblistactive td {
        /* Behave  like a row */
        border: none;
        border-bottom: 1px solid #666;
        position: relative;
        padding-left: 25%;
        padding-bottom: 5px;
        line-height: 18px;
    }

    table#joblist td:before, table#joblistactive td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 22%;
        padding-right: 10px;
        white-space: nowrap;
        line-height: 18px;
        color: #ca6666;
    }

    /*
    Label the data
    */
    table#joblist td:nth-of-type(1):before {
        content: "Website";
    }

    table#joblist td:nth-of-type(2):before {
        content: "Job";
    }

    table#joblist td:nth-of-type(3):before {
        content: "Created";
    }

    table#joblist td:nth-of-type(4):before {
        content: "Status";
    }

    table#joblist td:nth-of-type(5):before {
        content: "Cost";
    }

    table#joblist td:nth-of-type(6):before {
        content: "To Pay";
    }

    table#joblistactive td:nth-of-type(1):before {
        content: "Website";
    }

    table#joblistactive td:nth-of-type(2):before {
        content: "Job";
    }

    table#joblistactive td:nth-of-type(3):before {
        content: "Created";
    }

    table#joblistactive td:nth-of-type(4):before {
        content: "Priority";
    }

    table#joblistactive td:nth-of-type(5):before {
        content: "Status";
    }

    table#joblistactive td:nth-of-type(6):before {
        content: "Cost";
    }

    table#joblistactive td:nth-of-type(7):before {
        content: "To Pay";
    }

    .nomobile {
        display: none;
    }
    .clearMob{
        clear:both;
    }
}

/* TABLET STYLES*/
@media only screen and (min-width: 900px) and (max-width: 1800px) {

    .clearTab{
        clear:both;
    }
    #blurb{
        line-height:50px;
        width:auto;
        clear:none;
    }
    #indexNav > div{
        padding: 15px;
    }
    #indexNav #hamburger{
        display:none;
    }
    #logoContainer{
        width:25%;
    }
    body {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .col-1, .col-2, .col-3, .col-4, .col-5 {
        width: 50%;
    }

    .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
        width: 100%;
        clear:left;
    }

    .tab, .tabactive, .tabinactive {
        width: 25%;
    }

    .tab:first-child {
        margin-left: 100px;
    }


    a:link, a:visited, a:active {
        color: #ca6666;
    }

    table#joblist, table#joblistactive {
        width: 100%;
    }

    .tab {
        position: relative;
        top: 0;
        left: 20px;
        display: inline-block;
    }
}
/* DESKTOP STYLES */

@media only screen and (min-width: 1800px) {

    .clearDesk{
        clear:both;
    }
    #hamburger{
        display:none;
    }
    body {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    #indexNav{
        margin-bottom: 30px;
    }

    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }

    .tab, .tabactive, .tabinactive {
        width: 25%;
    }

    .tab:first-child {
        margin-left: 100px;
    }

    .mainlink {
        padding: 15px;
    }

    a:link, a:visited, a:active {
        color: #ca6666;
    }

    table#joblist, table#joblistactive {
        width: 100%;
    }

    .tab {
        position: relative;
        top: 0;
        left: 20px;
        display: inline-block;
    }

    .tabinactive {
        background-color: rgba(35, 35, 35, 1);
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        border: 1px solid #444;
        border-bottom: 0;
        z-index: 0;
        height: 38px;
        margin: 11px 2px 0px 20px;
        text-align: center;
        box-shadow: inset 0px -10px 5px -5px #000;
    }

    .tabactive {
        background-color: rgba(60, 60, 60, 1);
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        border: 1px solid #666;
        border-bottom: 0;
        z-index: 2;
        height: 38px;
        text-align: center;
        margin: 8px 2px 0px 20px;
        box-shadow: inset 0px 5px 5px -5px #fff;
        outline: 0;
    }

    .tabactive:after {
        content: "\a0";
        position: relative;
        top: 8px;
        left: -16px;
        width: 100%;
        z-index: 3;
        display: block;
        padding: 2px 15px;
        line-height: 3px;
        background-color: rgba(60, 60, 60, 1);
        border-left: 1px solid #666;
        border-right: 1px solid #666;
    }

    #nav1 {
        padding: 0px;
    }

    #careab {
        padding: 30px 66px;
    }


}