/*
    a drop in replacement for the stuff I use from bootstrap.
   then remove bootstrap and restyle
*/

.jumbotron p {
    line-height: 1.4;
}

/* Normal */
@media only screen and (min-width : 1020px) {
    body {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        /* background-color: lightgreen; */
    }

    .col-md-2 {
        width: 16.666666666666664%;
    }

    .col-md-4 {
        width: 33.33333333333333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-8 {
        width: 66.66666666666666%;
    }

}
/* big mobile */
@media only screen and (min-width:720px) and (max-width : 1020px) {
    body {
        max-width: 100%;
        margin-left: 5%;
        margin-right: 5%;
        /* background-color: lightblue; */
    }

    .col-md-2 {
        width: 50%;
    }

    .col-md-4 {
        width: 50%;
    }

    .col-md-6 {
        width: 90%;
    }

    .col-md-8 {
        width: 90%;
    }
}

@media only screen and (min-width: 720px){
    .jumbotron h1 {
        font-size: 3rem;
        line-height: 1;
    }
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* small mobile */
@media only screen and (max-width : 720px) {
    body {
        max-width: 100%;
        margin-left: 0.5em;
        margin-right: 0.5em;
        /* background-color: lightgrey; */
    }

    .col-md-2 {
        width: 90%;
    }

    .col-md-4 {
        width: 90%;
    }

    .col-md-6 {
        width: 100%;
    }

    .col-md-8 {
        width: 100%;
    }

    h1{
        font-size: 2rem;
    }
    h2{
        font-size: 1.5rem;
    }

    .container{
        padding-right: 0.5em;
        padding-left: 0.5em;
        margin-right: auto;
        margin-left: auto;
    }
}


.col-md-2, .col-md-4, .col-md-6, .col-md-8{
    float: left;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}



.row {
    margin-right: -15px;
    margin-left: -15px;
}

h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6{
    font-weight: 500;
    line-height: 1.1;
}

h2{
    box-sizing: border-box;
}

h3{
    font-size:1.5rem;
}

.row:after{
    clear: both;
}

.row:before, .row:after {
    display: table;
    content: " ";
}



blockquote {
    background: #c8eeff;
    padding: 10px 20px;
    margin: 0 0 20px;
    border-left: 5px;
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

img {
    vertical-align: middle;
}

/* forms */

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, button, select, textarea {
    /* font-family: inherit; */
    font-size: inherit;
    line-height: inherit;
}


/* pagination icons */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination>li {
    display: inline-grid;
    padding: 0;
}

.pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus {
    color: #999;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.428571429;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

/* this fixes a multitude of layout sins */

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.container:before, .container:after {
    display: table;
    content: " ";
}
.container:after {
    clear: both;
}


/* buttons */

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.btn-primary {
    background-image: -webkit-linear-gradient(top,#428bca 0,#2d6ca2 100%);
    background-image: linear-gradient(to bottom,#428bca 0,#2d6ca2 100%);
    background-repeat: repeat-x;
    border-color: #2b669a;
    color: #fff;
    background-color: #428bca;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca',endColorstr='#ff2d6ca2',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-success {
    background-image: -webkit-linear-gradient(top,#5cb85c 0,#419641 100%);
    background-image: linear-gradient(to bottom,#5cb85c 0,#419641 100%);
    background-repeat: repeat-x;
    border-color: #3e8f3e;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c',endColorstr='#ff419641',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    color: #fff;
    background-color: #5cb85c;
}

.btn-danger {
    background-image: -webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);
    background-image: linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);
    background-repeat: repeat-x;
    color: #fff;
    border-color: #b92c28;
    background-color: #d9534f;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f',endColorstr='#ffc12e2a',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-warning {
    border-color: #db9617;
    color: #fff;
    background-color: #ba7700;
}

.btn-info {
    color: #fff;
    background-color: #00aee1;
    border-color: #46b8da;
}

.btn:hover, .btn:focus {
    text-decoration: underline;
}


.btn-default, .btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger {
    text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 1px 1px rgba(0,0,0,0.075);
}


.btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px;
}

a.btn{
    text-decoration: none;
}