/* ====================================================+
|   GLOBAL STYLES with Google Fonts                    |
+===================+=================================*/
html {
    height: 100%;
    min-height: 100%;
}

body {
    background: url('https://www.csub.edu/directory/img/bg.jpg') no-repeat center fixed;
    /*background: url('/img/bg0.jpg') no-repeat center fixed;*/
    font-size: 16px;
    background-size: cover;
    height: 90%;
    font-family: 'News Cycle', sans-serif;
}

.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0;
    content: '';
    background: transparent url('https://www.csub.edu/selfservice/images/pattern.png') repeat top left;
}

    .bg li {
        list-style: none;
    }

a:hover {
    text-decoration: none;
    color: #a38809;
    cursor: pointer;
}

button {
    transition: all 0.3s ease 0s;
}

.container {
    margin-top: 120px;
    max-width: 950px;
    color: #272525;
    font-weight: 600;
}

section {
    background: #fbfeff;
    min-height: 450px;
    opacity: 0.94;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px; /* future proofing */
    -khtml-border-radius: 10px; /* for old Konqueror browsers */
    transition: ease;
    padding-left: 25px;
    padding-right: 25px;
    /*padding-bottom: 120px;*/
}

.page-header {
    font-family: 'Courgette', cursive;
    padding-top: 20px;
    padding-left: 20px;
    font-size: 32px;
}

/* ====================================================+
|   SKIP NAVIGATION                                    |
+===================+=================================*/
#skip a, #skip a:hover, #skip a:visited {
    position: absolute;
    left: 100px;
    margin-top: 5px;
    width: 0px;
    height: 0px;
    overflow: hidden;
    color: #164b7e;
    padding: 2px 2px 2px 2px;
}

    #skip a:active, #skip a:focus {
        position: absolute;
        left: 100px;
        margin-top: 5px;
        width: auto;
        height: auto;
        overflow: hidden;
        color: #164b7e;
        font-weight: 700;
        background-color: rgba(255, 210, 0, 0.80);
        padding: 2px 2px 2px 2px;
    }


/* ====================================================+
|   SEARCH BOX                               |
+===================+=================================*/
.search {
    transition: all 0.3s ease 0s;
    border: solid #9f9c9c;
    border-width: thin;
    border-radius: 5px;
    color: #343232;
    font-weight: bold;
}

#searchTip {
    transition: all 0.3s ease 0s;
    border: solid #28921f;
    border-width: thin;
    border-radius: 5px;
    color: #343232;
    font-weight: bold;
    padding: 2px 5px 5px 8px;
    background-color: #e2e7e8;
}

.example {
    color: #1d556d;
    font-style: italic;
    font-size: 14px;
}

.empName {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
}

.col-sm-5 {
    text-align: right;
}

@media (max-width: 768px) {
    .col-sm-5 {
        text-align: left;
    }
}

/* ====================================================+
|   SEARCH ANGULAR STYLE                               |
+===================+=================================*/
.employee.ng-enter.ng-enter-active,
.employee.ng-leave {
    opacity: 1;
    height: 80px;
    overflow: hidden;
    transition: ease;
}

    .employee.ng-leave.ng-leave-active,
    .employee.ng-enter {
        opacity: 0;
        height: 0;
        overflow: hidden;
    }

/* ====================================================+
|   NAVIGATION BAR                                     |
+===================+=================================*/
.navbar-default {
    /* fallback */
    background: #24C6DC; /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, rgba(0, 0, 0, 0.8), #005DAA); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), #005DAA); /*W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    font-family: 'Oswald', sans-serif;
    min-height: 70px;
}

    .navbar-default .navbar-nav > li > a {
        font-family: 'Oswald', sans-serif;
        font-size: 2.5vh;
        color: white !important;
    }

        .navbar-default .navbar-nav > li > a:hover {
            background: rgba(255, 210, 0, 0.80) !important;
            font-size: 2.5vh;
        }

    .navbar-default .navbar-header > a {
        font-family: 'Alegreya', serif;
        color: #FFD200;
        font-size: 2.5vh;
        margin-top: 0px !important;
        padding-top: 10px !important;
    }

        .navbar-default .navbar-header > a:hover, .navbar-default .navbar-header .active > a:hover {
            font-family: 'Alegreya', serif;
            color: white;
            font-size: 2.5vh;
        }


    .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
        background-color: rgba(255, 210, 0, 0.80) !important;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-nav {
        margin: 10px;
    }

    .navbar-collapse {
        margin-top: 11px 0 0 0;
    }

.dropdown-menu {
    background: white !important;
}

    .dropdown-menu > li:hover {
        background: rgba(255, 210, 0, 0.25) !important;
    }

    .dropdown-menu > li > a {
        color: #0b6dac !important;
        background: white !important;
    }

        .dropdown-menu > li > a:hover {
            background-color: transparent !important;
        }

#navBtn {
    background-color: rgba(251, 251, 251, 0.95);
    color: black;
}

.table {
    margin-bottom: 0px !important;
    padding-bottom: 4px !important;
    padding-right: 4px !important;
}

        .table > tbody > tr > td {
            border: 1px solid #dddddd;
            border-top-width: 0px;
            border-right-width: 0px;
            border-left-width: 0px;
        }

        .table > tbody > tr:last-child {
            border: 0px solid #dddddd;
            border-top-width: 0px;
            border-right-width: 0px;
            border-left-width: 0px;
            border-bottom-width: 0px;
        }

/* ====================================================+
|  FLIP CARD DESIGN                                    |
+===================+=================================*/
/* entire container, keeps perspective */
.card-container {
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 800px;
    margin-bottom: 30px;
}
    /* flip the pane when hovered */
    .card-container:not(.manual-flip):hover .card,
    .card-container.hover.manual-flip .card {
        -webkit-transform: rotateY( 180deg );
        -moz-transform: rotateY( 180deg );
        -o-transform: rotateY( 180deg );
        transform: rotateY( 180deg );
    }


    .card-container.static:hover .card,
    .card-container.static.hover .card {
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        transform: none;
    }
/* flip speed goes here */
.card {
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    -o-transition: -o-transform .5s;
    transition: transform .5s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
}

/* hide back of pane during swap */
.front, .back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.14);
}

/* front pane, placed above back */
.front {
    z-index: 2;
}

/* back, initially hidden pane */
.back {
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
    z-index: 3;
}

    .back .btn-simple {
        position: absolute;
        left: 0;
        bottom: 4px;
    }
/*        Style       */
.card {
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 6px;
    color: #444444;
}

.card-container, .front, .back {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.card .cover {
    height: 100px;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}

    .card .cover img {
        width: 100%;
    }

.card .user {
    border-radius: 60%;
    display: block;
    height: 120px;
    margin: -55px auto 0;
    /* overflow: hidden; */
    width: 110px;
}

    .card .user img {
        background: none repeat scroll 0 0 #FFFFFF;
        border: 5px solid #FFFFFF;
        width: 100%;
    }

.card .content {
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    padding: 0px 10px 10px;
}

    .card .content .main {
        min-height: 200px;
    }

.card .back .content .main {
    height: 320px;
}

    .card .back .content .main h4 {
        margin-top: -25px;
    }

.card .name {
    font-size: 22px;
    line-height: 28px;
    margin: 10px 0 0;
    text-align: center;
    text-transform: capitalize;
}

.card h5 {
    margin: 5px 0;
    font-weight: 400;
    line-height: 20px;
}

.card .profession {
    color: #999999;
    text-align: center;
    margin-bottom: 20px;
}

.card .footer {
    border-top: 1px solid #EEEEEE;
    color: #999999;
    margin: 10px 0 0;
    padding: 5px 10px 10px 0;
    text-align: center;
    min-height: 45px;
}

    .card .footer .social-links {
        font-size: 18px;
    }

        .card .footer .social-links a {
            margin: 0 7px;
        }

.card .header {
    padding: 15px 20px;
    height: 90px;
}

.card .motto {
    border-bottom: 1px solid #EEEEEE;
    color: #999999;
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 10px;
    text-align: left;
}

.space-50 {
    height: 50px;
    display: block;
}

.space-200 {
    height: 200px;
    display: block;
}

.white-board {
    background-color: #FFFFFF;
    min-height: 200px;
    padding: 60px 60px 20px;
}

.ct-heart {
    color: #F74933;
}

pre.prettyprint {
    background-color: #ffffff;
    border: 1px solid #999;
    margin-top: 20px;
    padding: 20px;
    text-align: left;
}

.atv, .str {
    color: #05AE0E;
}

.tag, .pln, .kwd {
    color: #3472F7;
}

.atn {
    color: #2C93FF;
}

.pln {
    color: #333;
}

.com {
    color: #999;
}

.btn-simple {
    opacity: .8;
    color: #666666;
    background-color: transparent;
    font-weight: 700;
}

    .btn-simple:hover,
    .btn-simple:focus {
        background-color: transparent;
        box-shadow: none;
        opacity: 1;
    }

    .btn-simple i {
        font-size: 16px;
    }

.grid {
    width: 800px;
    height: 400px;
}

/* ====================================================+
|   FOOTER CONTAINER STYLES                            |
+===================+=================================*/
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    margin-top: 60px;
    text-align: center;
    font-size: small;
    color: white;
    background: #1b2338; /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, rgba(0, 0, 0, 0.6), #1b2338); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, rgba(0, 0, 0, 0.6), #1b2338); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    opacity: 0.95;
    z-index: 99;
}

    #footer p {
        padding: 8px;
        z-index: 99;
    }

/* ====================================================+
|   DETAIL FORM STYLES                                |
+===================+=================================*/
.reqForm {
    max-width: 95%;
    text-align: left;
    padding-top: -10px;
}

    .reqForm h3, .reqForm label {
        font-family: 'News Cycle', sans-serif;
        font-size: 14px;
    }

.form_hint, .required_notification {
    font-size: 10px;
}

.reqForm ul {
    list-style-type: none;
    list-style-position: outside;
    margin: 0px;
    padding-top: 0px;
    padding-left: 2px;
    padding-bottom: 5px;
}

.reqForm li {
    padding-left: 4px;
    padding-top: 4px;
    position: relative;
}

.reqForm h3 {
    margin: 0;
    display: inline;
}

.required_notification {
    color: #d45252;
    margin: 5px 0 0 0;
    display: inline;
    float: right;
}

.reqForm textarea {
    border: 1px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius: 2px;
    -moz-transition: padding .25s;
    -webkit-transition: padding .25s;
    -o-transition: padding .25s;
    transition: padding .25s;
}

    .reqForm textarea:focus {
        background: #fff;
        border: 1px solid #555;
        box-shadow: 0 0 3px #aaa;
        padding-right: 70px;
    }

.reqForm label {
    margin-top: 2px;
    display: inline-block;
    padding: 2px;
}

.reqForm input {
    height: 25px;
    padding: 4px 4px;
    padding-right: 10px;
}

textarea:required, textarea:invalid, input:required, input:invalid {
    background: #fff;
}

.reqForm textarea:focus:invalid { /* when a field is considered invalid by the browser */
    background: #fff;
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535;
}

.reqForm input:focus:invalid { /* when a field is considered invalid by the browser */
    background: #fff;
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535;
}

.reqForm textarea:required:valid { /* when a field is considered valid by the browser */
    background: #fff url(images/valid.png) no-repeat 98% center;
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}

.reqForm input:required:valid { /* when a field is considered valid by the browser */
    background: #fff url(images/valid.png) no-repeat 98% center;
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}

.form_hint {
    background: #d45252;
    border-radius: 3px 3px 3px 3px;
    color: white;
    margin-left: 8px;
    padding: 1px 6px;
    z-index: 999; /* hints stay above all other elements */
    position: absolute; /* allows proper formatting if hint is two lines */
    display: none;
}

    .form_hint::before {
        content: "\25C0"; /* left point triangle in escaped unicode */
        color: #d45252;
        position: absolute;
        top: 1px;
        left: -6px;
    }

#submit {
    margin-left: 10px;
    margin-top: 10px;
}

#submitBtn, #resetBtn {
    width: 80px;
    height: 30px;
    background: #0c3858; /* fallback for old browsers */
    background: -webkit-linear-gradient(to left,#0c3858, #1b2338); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #0c3858, #1b2338); /*W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border: 1px solid #1b2338;
    border-bottom: 1px solid #1b2338;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    color: white;
    font-weight: bold;
    padding: 6px 2px;
    text-align: center;
    /*text-shadow: 0 -1px 0 #1b2338;*/
    font-size: small;
}

    #submitBtn:hover, #resetBtn:hover {
        opacity: .85;
        cursor: pointer;
    }

.reqForm input:focus + .form_hint {
    display: inline;
}

.reqForm input:required:valid + .form_hint {
    background: #28921f;
}
    /* change form hint color when valid */
    .reqForm input:required:valid + .form_hint::before {
        color: #28921f;
    }

/* ====================================================+
|   FIX BUGS FOR IE                                    |
+===================+=================================*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .front, .back {
        -ms-backface-visibility: visible;
        backface-visibility: visible;
    }

    .back {
        visibility: hidden;
        -ms-transition: all 0.2s cubic-bezier(.92,.01,.83,.67);
        transition: all 0.2s cubic-bezier(.92,.01,.83,.67);
    }

    .front {
        z-index: 4;
    }

    .card-container:not(.manual-flip):hover .back,
    .card-container.manual-flip.hover .back {
        z-index: 5;
        visibility: visible;
    }
}


/* ====================================================+
|   FIX RELATED USERS LAYOUT ON MOBILE                 |
+===================+=================================*/
@media (max-width: 990px) {
    #related {
        margin-top: 520px;
    }
}