@font-face {
    font-family: Montserrat;
    src: url('../fonts/Montserrat-Regular.otf');
}

html {
    overflow-y: scroll;
}

html, body {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    text-align: center;
    height: 100%;
}

body {
    margin: 0;
    background-color: #f1f1f1 !important;
    color: #2D397F !important;
    text-align: center;
    font-family: Montserrat, sans-serif;
}

#navbar {
    top: 0;
    width: 100%;
    z-index: 1;
    color: #fff !important;
    background-color: #20295B;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
    text-align: left !important;
    font-size: 18px !important;
    overflow: hidden;
}

#navbar ul {
    padding: 0;
    margin: 0;
}

#navbar li {
    display: inline-block;
}

#navbar a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: none;
    padding: 14px 24px;
}

#navbar a:hover {
    background-color: white;
    color: black;
    transition: background-color .25s,color .15s,box-shadow .15s,opacity .25s,filter .25s,border .15s;
}

#links {
    float: left;
}

#links li:first-child a {
    background-color: white !important;
    color: black !important;
}

#links li:first-child a:hover {
    background-color: #FF4107 !important;
    color: white !important;
    transition: background-color .25s,color .15s,box-shadow .15s,opacity .25s,filter .25s,border .15s;
}

#lang {
    float: right;
}

.button {
    color: #fff !important;
    background-color: #FF4107 !important;
    padding: 12px 0 !important;
    margin: 16px 0 !important;
    font-size: 18px !important;
    border: none;
    outline: 0;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
    min-width: 250px;
}

.button:hover {
    -webkit-filter: opacity(85%);
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

hr {
    height: 0;
    border: 0;
    border-top: 1px solid #A9A9A9;
    margin: 16px 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: #0066cc;
    border-bottom: 1px solid #b3b3b3;
    text-decoration: none;
}

a:visited {
    color: #660066;
}

a:visited:hover {
    border-bottom: 1px solid #660066;
}

.allProfsLink {
    display: inline-block;
    padding: 10px;
    font-size: 20px;
}

#allProfsList {
    margin-bottom: 50px;
    text-align: center;
}

#allProfsUl {
    list-style: none;
    padding: 0;
}

input[type="text"] {
    text-align: center;
    color: #303030;
    box-sizing: border-box;
}

input[type='text'], textarea {
    font-size: 16px;
    border: 1px solid #bfbfbf;
    border-radius: 3px;
}

input[type='submit'] {
    min-width: 250px;
}

input[type=text]:focus {
    border-color: #A5C2D9;
    box-shadow: 0 0 10px #A5C2D9;
}

textarea:focus {
    border-color: #A5C2D9;
    box-shadow: 0 0 10px #A5C2D9;
}

.uniAndCourse {
    text-align: left;
    font-size: 14px;
    padding: 8px 16px;
    max-width: 80%;
}

.uniAndCourse td {
    vertical-align: top;
}

.university, .course {
    text-transform: uppercase;
}

.comment {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

.commentText {
    padding: 8px 16px;
}

.addCommentForm {
    min-width: 320px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background-color: #FFF;
    margin-top: 10px;
    margin-bottom: 80px;
    padding-top: 8px;
    box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    padding-bottom: 15px;
}

.addCommentForm input[type='text'] {
    width: 90%;
    height: 50px;
    box-sizing: border-box;
}

.addCommentForm input[type="text"], .addCommentForm textarea {
    font-size: 18px;
}

#searchForm {
    text-align: center;
    min-width: 320px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#addProfForm {
    text-align: center;
    min-width: 320px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background-color: #FFF;
    margin-top: 10px;
    margin-bottom: 80px;
    padding-top: 8px;
    box-shadow:0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    padding-bottom: 15px;
}

#searchForm div.awesomplete {
    width: 100%;
}

#searchForm input[type='text'] {
    width: 100%;
    height: 50px;
    font-size: 22px;
    box-sizing: border-box;
}

#addProfForm input[type='text']  {
    width: 90%;
    height: 50px;
    font-size: 22px;
    box-sizing: border-box;
}

.commentArea {
    width: 90%;
    height: 200px;
    font-size: 22px;
    color: #303030;
    box-sizing: border-box;
}

#slogan {
    margin: 48px 16px !important;
    font-size: 46px !important;
}

.enterName {
    font-size: 28px !important;
    display: block;
    padding: 10px;
}

#databaseLink {
    display: inline-block;
    margin: 30px;
    font-size: 18px;
}

#error {
    margin-left: 5px;
    margin-right: 5px;
    color: #cc0000;
}

:focus {
    outline: none;
}
::-moz-focus-inner {
    border: 0;
}

::-moz-selection {
    background-color: #8995d6;
}

::selection {
    background-color: #8995d6;
}

.specialHeading {
    margin-top: 30px;
    margin-bottom: 30px;
}

.shadowed {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.blackOnWhite {
    color: #303030;
    background-color: #FFF;
}

.centered {
    text-align: center;
}

#userUni {
    color: #00A300;
}

.date {
    font-size: 12px;
    padding: 8px 16px;
}

#lastComments {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    border-radius: 3px;
    text-align: center;
}

#lastComments td, th {
    padding: 7px 20px;
    border: 1px solid #b2b2b2;
}

#lastComments th {
    text-align: center;
}

.shortComment {
    text-align: left;
}

.content {
    margin-bottom: 50px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.content p {
    padding-left: 15px;
    padding-right: 15px;
}

.addCommentForm select {
    width: 90%;
    background-color: #fff;
    color: #303030;
    height: 50px;
    border: 1px solid #bfbfbf;
    border-radius: 3px;
}

.dateTime {
    text-align: center !important;
    width: 30%;
}

#searchResults a {
    display: inline-block;
    margin: 10px;
    font-size: 22px;
}

label {
    padding: 10px;
    display: inline-block;
}

.emoticon {
    font-size: 30px;
    position: absolute;
    right: 10px;
    top: 5px;
    padding: 0;
    margin: 0;
}

.divider {
    width: 500px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.divider hr {
    margin-left: auto;
    margin-right: auto;
    width: 45%;

}

.hrLeft {
    float: left;
}

.hrText {
    color: #8c8c8c;
    font-size: 18px;
}

.hrRight {
    float: right;
}

#impressionRadioButtons {
    font-size: 18px;
}

#faq h2, #faq h3 {
    padding-left: 15px;
    padding-right: 15px;
}

#faq ol {
    margin-left: 15px;
    margin-right: 15px;
}

#faq h2 {
    border-bottom: 1px solid #2D397F;
    margin-top: 40px;
}

#contact {
    text-align: center;
}

#why {
    margin-bottom: 100px;
}

.active {
    color:#FFF !important;
    position:relative;
}

.active:after {
    width: 0;
    height: 0;
    position: absolute;
    content: "";
    display: block;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #fff;
    left: 50%;
    margin-left: -4px;
    margin-top: 3px;
}

.active:hover {
    color: #000 !important;
}

.active:hover:after {
    border-top:3px solid #000;
}

#links li:first-child a.active:after {
    border-top:3px solid #000 !important;
}

#links li:first-child a.active:hover:after {
    border-top:3px solid #fff !important;
}

/* Small screens */

@media only screen and (max-width:1099px){
    #lang {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width:799px){

    .enterName {
        font-size: 16px! important;
        margin: 0;
    }

    #pipe {
	display: none;
    }

    #navbar {
	display: flex;
	flex-flow: row wrap;
    }

    #links, #lang {
	flex: 1 100%;
	margin-top: 10px;
	margin-bottom: 10px;
    }

    #links {
        width: 100%;
        text-align: center;
    }

    #links > li:nth-child(1) > a:nth-child(1) {
        font-size: 30px;
        padding-left: 10px;
        background-color: #20295B;
        color: #fff;
    }

    #links > li > a:hover {
        background-color: #20295B;
        color: #fff;
    }

    #lang > li > a:hover {
        background-color: #20295B;
        color: #fff;
    }

    #navbar li a{
        padding: 10px 0;
    }

    #lang li a {
        padding-left: 15px;
        padding-right: 15px;
    }

    #slogan {
        font-size: 18px !important;
        margin: 15px !important;
    }

    body {
	font-size: 13px;
    }

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

    h1 {
	font-size: 16px;
    }

    h2 {
	font-size: 14px;
    }

    h3 {
	font-size: 12px;
    }

    #slogan {
	font-size: 16px;
    }

    .specialHeading {
	margin-top: 5px;
	margin-bottom: 5px;
    }

    #navbar {
	font-size: 14px;
	padding-bottom: 5px;
	padding-top: 5px;
    }

    #links li {
	display: block;
	width: 100%;
	position:relative;
    }

    #links li a {
	display: block;
	border: none;
	width:auto;
    }

    .button {
	font-size: 12px;
        margin: 15px !important;
    }

    .addCommentForm {
        width: 100%;
        margin-bottom: 0;

    }

    #searchForm {
        width: 100%;
    }

    #searchForm div.awesomplete {
        width: 280px;
    }

    #addProfForm {
        width: 100%;
        margin-bottom: 0;
    }

    #lastComments {
        table-layout: fixed;
        width: 100%;
    }

    #lastComments table,  #lastComments thead,  #lastComments tbody,  #lastComments td,  #lastComments tr {
	width: 100% !important;
	display: block;
	text-align: center !important;
    }


    #lastComments tr {
	border-bottom: 1px solid #b2b2b2;
    }

    #lastComments td, th {
        padding: 5px 0px;
        border: none;
        white-space: wrap;
        word-wrap: break-word;
    }

    #lastComments th {
	display: none;
    }

    .dateTime {
        width: 100%;
    }

    #impressionRadioButtons {
	font-size: 12px;
    }

    .divider {
        display: none;
    }

    .uniAndCourse {
        text-align: left !important;
    }

    #why {
        margin-left: 5px;
        margin-right: 5px;
    }

    .addCommentForm input[type="text"], .addCommentForm textarea {
        font-size: 16px;
    }

    .active:hover {
        color: #fff !important;
    }

    .active:hover:after {
        border-top:3px solid #fff !important;
    }

    #links li:first-child a {
        background-color: #20295B !important;
        color: #fff !important;
    }

    #links li:first-child a:hover {
        background-color: #20295B !important;
        color: white !important;
    }

    #links li:first-child a.active:after {
        border-top:3px solid #fff !important;
    }
}

/* Custom awesomplete CSS */

div.awesomplete > ul {
    background: hsla(0,0%,100%,.95) !important;
}

div.awesomplete > ul > li {
    font-size: 18px;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
}

div.awesomplete > ul > li:hover {
    background: hsl(232, 47%, 79%) !important;
}

div.awesomplete > ul > li[aria-selected="true"] {
    background: hsl(231, 48%, 48%) !important;
    color: #fff;
}

div.awesomplete mark {
    background: hsl(231, 48%, 24%) !important;
    color: #fff;
}

div.awesomplete li[aria-selected="true"] mark {
    background: hsl(231, 48%, 24%) !important;
}

.comment.response {
    background-color: hsl(136, 100%, 89%);
}

.comment.suspicious {
    background-color: hsl(56, 100%, 90%);
}

.response-text, .suspicious-text {
    font-weight: bold;
    font-style: oblique;
    padding: 0 3rem;
}
