/* BEGIN TC STYLES */

#widthInfo {
    background-color: rgba(0,0,0,0.7);
    color: white;
    border: 1px solid black;
    border-radius: 2px;
    padding: 3px;
    z-index: 10000;
    position: fixed;
    right: 0;
    bottom: 0;
    line-height: 16px
}

html, body {
    min-height: 100vh;
    margin: 0
}


div.body-content {
    min-height: 500px;
    overflow: hidden;
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit
}

::-webkit-input-placeholder {
    color: silver
}

:-ms-input-placeholder {
    color: silver
}

::-ms-input-placeholder {
    color: silver
}

::placeholder {
    color: silver
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 150%;
    color: #343333;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

#mainContent {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background-color: white
}

.row {
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding-right: 20px;
    padding-left: 20px
}

.rowHalf {
    max-width: 480px;
    padding-left: 20px;
    padding-right: 20px
}

header .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 16px;
    padding-bottom: 28px
}

#TCHeaderLogo {
    margin-top: 31px
}

#TCHeaderRight {
    margin-top: 38px
}

    #TCHeaderRight p {
        float: right;
        text-align: center
    }

#TCHeaderCenter {
    width: 100%;
    text-align: center;
    margin-right: 70px;
    margin-left: 100px
}

#TCHeaderCenterLogo {
    width: 70%;
    max-width: 226px;
    height: auto;
    margin-top: 53px;
    margin-bottom: 10px;
    display: none
}

#TCHeaderCenter p:nth-child(2) {
    height: 28px;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    margin: 27px auto 24px
}

    #TCHeaderCenter p:nth-child(2) img {
        width: 21px;
        height: 28px;
        vertical-align: -9px
    }

#TCHeaderCenter p:last-child {
    font-weight: 700;
    margin-top: 4px;
    font-size: 14px;
    display: none
}

#TCHeaderCenter p a {
    font-weight: 900;
    color: #d80032
}

#TCHeaderSearchBox {
    border: 2px solid #353333;
    width: 100%;
    height: 35px;
    background: url(/images/tc-search.png) no-repeat right bottom;
    text-align: left;
    font-size: 14px;
    padding-left: 10px;
    padding-top: 3px
}

#TCMenu {
    background-color: #343333;
    color: white;
    padding-top: 3px;
    padding-bottom: 3px;
    -webkit-box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.25)
}

    #TCMenu a {
        color: white;
        text-decoration: none;
        font-weight: 400;
        padding: 8px 30px;
        display: inline-block
    }

        #TCMenu a:hover {
            background-color: #d70031
        }

#TCMainContent {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 100%;
    max-width: 1400px;
    box-shadow: 10px 10px;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.4);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.4);
    margin-left: auto;
    margin-right: auto
}

    #TCMainContent iframe {
        /*
        width: 100%;
        border-style: none;
        min-height: 800px;
        overflow: hidden;
            */
        height: 0;
        max-height: 100%;
        max-width: 100%;
        min-height: 100%;
        min-width: 100%;
        width: 0;
        margin-top: 40px
    }

#TCIFMainContent {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 30px
}

#TCIFHeader {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

    #TCIFHeader h1 {
        margin: 0 0 30px;
        padding: 0
    }

#TCIFMember {
    font-size: 14px;
    text-align: right
}

    #TCIFMember a.logout {
        display: inline-block;
        background-color: #fcfcfc;
        border: 1px solid #e5e5e5;
        font-size: 12px;
        text-decoration: none;
        padding: 0 10px;
        margin-left: 8px;
        color: #666464
    }

#TCIFMenu {
    margin-left: -30px;
    margin-right: -30px;
    background-color: #d70031;
    padding-right: 30px;
    padding-left: 30px
}

    #TCIFMenu a {
        display: inline-block;
        text-decoration: none;
        color: #5f5f5f;
        padding: 10px 20px;
        font-weight: 400
    }

    #TCIFMenu a {
        display: inline-block;
        text-decoration: none;
        color: white;
        padding: 10px 20px;
        font-weight: 400
    }

        #TCIFMenu a:hover {
            background-color: #b20027;
            color: white
        }

        #TCIFMenu a.selected {
            background-color: #902;
            color: white
        }

#TCIFDashboard {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 40px
}

.TCIFDashboardItem {
    background-color: #fcfcfc;
    border: 1px solid #e5e5e5;
    width: 30%;
    text-align: center;
    padding: 40px 20px 30px;
    margin-bottom: 14px
}

.TCIFDashboardItemButton {
    text-decoration: none;
    color: white;
    background-color: #d70031;
    font-weight: 500;
    padding: 10px 20px;
    display: inline-block;
    margin-top: 10px
}

    .TCIFDashboardItemButton:hover {
        background-color: #b20027
    }

.TCIFNote {
    text-align: center;
    margin-top: 40px
}

footer {
    background-color: #0c6c41;
    color: white;
    padding-top: 20px
}

    footer .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

.TCFooterItem {
    width: 18%;
    margin-right: 2%;
    line-height: 130%
}

    .TCFooterItem h2 {
        font-size: 19px;
        margin-bottom: 13px
    }

    .TCFooterItem a {
        color: white;
        text-decoration: none;
        display: block;
        margin-bottom: 13px
    }

#TCFooterButton {
    background-color: #343333;
    text-align: center;
    padding: 10px;
    max-width: 200px;
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 500
}

#TCFooterCopyright {
    background-color: #343333;
    color: white;
    font-size: 13px;
    text-align: center;
    padding: 10px;
    margin-top: 20px
}

@media only screen and (max-width: 1024px) {
    header {
        border-bottom: 2px solid #343333
    }

        header .row {
            background: url(/images/tc-mobile-menu.png) no-repeat 15px 6px
        }

    #TCHeaderCenter {
        margin-right: 0;
        margin-left: 50px
    }

        #TCHeaderCenter p:last-child {
            display: block
        }

    #TCHeaderRight {
        display: none
    }

    /*
    #TCMenu {
        display: none
    }
    */

    #TCMainContent {
        -webkit-box-shadow: none;
        box-shadow: none
    }
}

@media only screen and (max-width: 990px) {
    footer .row {
        display: block
    }

    .TCFooterItem {
        width: 100%;
        margin-bottom: 50px
    }
}

@media only screen and (max-width: 984px) {
    #TCIFDashboard {
        display: block
    }

    .TCIFDashboardItem {
        width: 100%
    }

    #TCIFMenu {
        padding-left: 0;
        padding-right: 0;
        background-color: #fbfcfc
    }

        #TCIFMenu a {
            display: block;
            text-align: center;
            color: #4c4c4c;
            border-bottom: 1px solid #e5e5e5
        }

            #TCIFMenu a:hover {
                background-color: #fcfcfc;
                color: #4c4c4c
            }

            #TCIFMenu a.selected {
                background-color: #333;
                color: white;
                border-bottom-color: #333
            }
}

@media only screen and (max-width: 768px) {
    #TCHeaderLogo {
        display: none
    }

    #TCHeaderCenter {
        margin-left: 0
    }

    #TCHeaderCenterLogo {
        display: block;
        margin-left: auto;
        margin-right: auto
    }
}

@media only screen and (max-width: 728px) {
    #TCIFHeader {
        display: block
    }

        #TCIFHeader h1 {
            text-align: center
        }

    #TCIFMember {
        margin-top: -20px;
        margin-bottom: 12px;
        margin-right: -20px;
        text-align: center
    }

        #TCIFMember .memberName {
            display: none
        }

        #TCIFMember a.logout {
            margin: 0
        }
}

/* END TC STYLES */

body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


#portal-frame {
    /*width: 100%;*/
    /*height: 680px;*/
    min-width: 100%;
    width: 0;
    border: none;
}


div.jumbotron {
    margin-top: 40px;
}
