﻿html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    height: 100%;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    height: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.app-footer {
    height: 50px;
    background: #333;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    padding: 0 1rem;
    bottom: 0;
    width: 100%;
}

.text-mutedd {
    color: #fff;
}

.ml-auto, .mx-auto {
    margin-left: auto !important;
}

.text-separator {
    color: #fff;
    margin: 0 3px;
}

@media (max-width:700px) {
    .need-hide {
        display: none;
    }
}

@media (max-width:700px) {
    .start-hide {
        width: 100%;
        float: none;
    }
}

@media (min-width:700px) {
    .start-hide {
        float: left;
        width: 50%;
    }
    .start-hide1 {
        float: left;
        width: 40%;
    }
}

@media (max-width:700px) {
    .bottom-hide {
        width: 100%;
        float: none;
    }
    .bottom-hide1 {
        width: 100%;
    }
}

@media (min-width:700px) {
    .bottom-hide {
        float: right;
        width: 50%;
    }
    .bottom-hide1 {
        float: right;
    }
}

@media (max-width:700px) {
    .itemactive {
        max-height: 200px;
    }
}
@media (mix-width:700px) {
    .carousel-inner {
        max-height: 400px;
    }
}

@media (max-width:700px) {
    .hide-row {
        display: none;
    }

    .article-body {
        font-size: 20px;
    }

    .article-content {
        font-size: 14px;
    }

    .article-title {
        font-size: 16px;
    }

    .trrtt {
        text-align: center;
    }
}






a {
    text-decoration: none;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

    a:hover {
        text-decoration: none;
        transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    }

div, h2, p, figure {
    margin: 0;
    padding: 0;
}

.main {
    margin: 0 auto;
    max-width: 1040px;
    padding: 10px;
}

.column {
    flex: 1;
    flex-direction: column;
}

.article {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    color: #666;
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-basis: auto;
    margin: 10px;
}

    .article:hover,
    .article:focus {
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
        color: #444;
    }

.article-image {
    background: #eee;
    display: block;
    padding-top: 55%;
    position: relative;
    width: 100%;
}

    .article-image img {
        display: block;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    .article-image.is-3by2 {
        padding-top: 66.6666%;
    }

    .article-image.is-16by9 {
        padding-top: 56.25%;
    }

.article-body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

@media (min-width:700px) {
    .article-title {
        color: #333;
        flex-shrink: 0;
        font-size: 1.4em;
        font-weight: 700;
        line-height: 1.2;
    }
}

    .article-content {
        flex: 1 0 auto;
        margin-top: 5px;
    }

    .article-info {
        display: flex;
        font-size: 0.85em;
        justify-content: space-between;
        margin-top: 10px;
    }

    @media screen and (min-width: 800px) {
        .columns,
        .column {
            display: flex;
        }
    }

    @media screen and (min-width: 1000px) {
        .first-article {
            flex-direction: row;
        }

            .first-article .article-body {
                flex: 1;
            }

            .first-article .article-image {
                order: 2;
                padding-top: 0;
                width: 400px;
            }

        .main-column {
            flex: 3;
        }

        .nested-column {
            flex: 2;
        }
    }

@media (max-width:700px) {
    .text h1{
        font-size: 20px;
    }
}

@media (min-width:700px) {
    .text h1{
        font-size: 40px;
    }
}
