﻿@-ms-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
    padding: 60px 15px 0;
}

.container .text-muted {
    margin: 20px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

.logo {
    width: 90%;
}

.navbar-default {
    border-bottom: 1px solid rgba(141, 153, 174, 0.5);
    padding: 0 70px;
    background-color: #efe2ba;
    -moz-box-shadow: 1px 0px 5px #efe2ba;
    -webkit-box-shadow: 1px 0px 5px #efe2ba;
    box-shadow: 1px 0px 5px #efe2ba;
    height: 100px;
}

.footer {
    border-top: 1px solid #485562;
    color: #fff;
    background-color: #000000;
}


.btn-primary {
    background-color: #d79922 !important;
    border-color: #d79922 !important;
    color: white;
}

.form-control, .btn {
    height: 45px;
    border-radius: 0;
}

.marginBottom {
    margin-bottom: 1em;
}

.main-featured-text {
    text-align: center;
}

a:hover,
a:focus, .ActiveUl, .navbar-default .navbar-nav > li > a:hover {
    text-decoration: none;
    outline: none;
    color: white !important;
    background-color: #d79922;
}

.navbar-nav > li > a {
    line-height: 5 !important;
}

.logosmall {
    display: none !important;
}

.navbar-default .navbar-nav > li > a {
    color: #2e2e2e;
}

.directory-searcher {
    text-align: center;
    border: 1px solid #d8d8d8;
    padding: 1em;
    margin-bottom: 2em;
}

.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

 .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #dd4814;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

@media (max-width:768px) and (min-width:320px) {
    .nav {
        background: #efe2ba;
    }

    .navbar-nav > li > a {
        line-height: 2 !important;
    }

    .logo {
        display: none !important;
    }

    .logosmall {
        display: block !important;
        position: absolute;
        left:1em;
    }
}

@media (max-width:1000px) and (min-width:769px) {
    .logo {
        display: none !important;
    }

    .logosmall {
        display: block !important;
        position: absolute;
         left:1em;
    }
}
.card-box {
    border: 1px solid #dbdbdb;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 2px;
    background-color: #f8f8f8;
}



.navbar-fixed-top {
    top: 40px !important;
}
