body {
	background-color: #f2f2f2;
	color: #233642;
	font-family: 'Montserrat', 'sans-serif';
	margin: 0;
	/*background-image: url(/assets/img/logo-ghost.png);*/
    background-repeat: no-repeat;
    background-position: center bottom;
}

strong {
	font-weight: 600;
}

a {
	color: #0E1D38;
	text-decoration: none;
}

a:hover {
	color: #E21544;
}


/* HEADER STYLE */

header {
	background-color: #0E1D38;
	margin: 0;
	padding: 32px 0 0 0;
	min-height: 118px;
	position: relative;
	z-index: 1;
}

header .logo {
	background-image: url(../img/logo-small.png);
	background-size: contain;
	background-position: center left;
	background-repeat: no-repeat;
	width: 251px;
    height: 94px;
	float: left;
	cursor: pointer;
}

header .menu ul {
    list-style-type: none;
    padding-left: 0;
}

header .menu ul li {
	float: left;
}

header .menu {
	float: right;
	color: #233642;
	line-height: 44px;
	font-size: 14px;
}

header .menu a {
	color: #ffffff;
	margin-left: 32px;
	font-weight: 600;
}

header .menu a:hover {
	color: #E21544;
}

header .menu-burger {
    color: #fff;
    font-size: 20px;
    position: absolute;
    right: 20px;
    top: 60px;
	display: none;
	cursor: pointer;
	z-index: 20;
}

header .menu.mobile, header .menu.mobile.active {
	display: none;
}


#main {
	/*margin-top: 150px;*/
	min-height: 700px;
}

.container {
	margin: auto;
    width: 90%;
	position: relative;
}


footer {
	background-color: #0E1D38;
	margin: 30px 0 0 0;
	padding: 96px 0 32px 0;
	z-index: 1;
	color: #8A8B8D;
	font-size: 14px;
	line-height: 24px;
}

footer a {
	color: #8A8B8D;
}

footer .logo {
	background-image: url(../img/logo-small.png);
	background-size: contain;
	background-position: center left;
	background-repeat: no-repeat;
	width: 190px;
    height: 71px;
}


footer .container .column {
	float: left;
    width: 25%;
    padding: 0 4%;
}

footer .footer-bottom {
	clear: both;
	text-align: center;
	padding-top: 128px;
}


footer h3 {
	font-size: 18px;
	color: #fff;
	font-weight: 500;
	line-height:36px;
}

footer ul {
    list-style-type: none;
    padding-left: 0;
}

footer ul li {
    line-height: 36px;
}

.newsletter {
    width: 90%;
    padding: 5px;
    height: 38px;
    border-radius: 5px;
    text-align: left;
    border: 2px solid #8A8B8D;
}

.newsletter input {
    height: 18px;
    padding: 10px;
    border: none;
    width: 60%;
	background-color: transparent;
	color: #8A8B8D;
}
.newsletter input:focus, .newsletter button:focus {
    outline-width: 0;
}


.newsletter button {
    background-color: #E21544;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 5px;
    float: right;
    line-height: 18px;
	cursor: pointer;

}
#subscribeMessage {
	color: #fff;
}

#subscribeMessage .error { 
	color: #E21544;
}

/* GLOSSARY STYLE */

mark {
	background-color: rgba(226, 21, 68, 0.5);
}

.ad-space {
	margin: 30px auto 0 auto;
    max-width: 728px;
}

.ad-space img {
    width: 100%;
}

.letter-filter {
	text-align: center;
	margin-top: 20px;
	font-size: 20px;
	font-weight: 500;
}


.firstline {
	background-color: #0E1D38;
	color: #fff;
	text-align: center;
	padding-bottom: 50px;
	margin-top: -22px;
}

.textbox {
	text-align: center;
	font-size: 15px;
}

.textbox h1 {
	font-size: 33px;
	font-weight: 600;
}

.textbox h1 span {
	color: #E21544;
}

.search-bar {
    background-color: #fff;
    width: 90%;
    margin: 32px auto;
    padding: 10px;
	height: 38px;
    border-radius: 5px;
	text-align: left;
}

.search-bar input {
    height: 18px;
    padding: 10px;
    border: none;
    width: 60%;
}
.search-bar input:focus, .search-bar button:focus {
    outline-width: 0;
}


.search-bar button {
    background-color: #E21544;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 10px 40px;
    font-size: 15px;
    border-radius: 5px;
    float: right;
    line-height: 18px;
	cursor: pointer;
}

.letter-filter .filter {
	display: inline-block;
	text-align: center;
	padding: 0px;
	cursor: pointer;
	margin: 0 2px;
	border-radius: 5px;
	min-width: 24px;
}
.letter-filter .filter.active {
	color: #E21544;
	background-color: rgba(255,255,255,0.3);
}


#searchResult .alert {
	padding: 60px;
	text-align:center;
}

#searchResult.loading {
	background-image: url(/assets/img/loading.gif);
	height: 200px;
    width: 200px;
	background-repeat: no-repeat;
	background-position: center center;
	margin: auto;
}


.definition {
	padding: 20px;
	margin-top: 30px;
	background-color: #fff;
    border-radius: 5px;
	box-shadow: 2px 2px #eee;
}

.definition h2 {
    margin: 20px 0 30px 20px;
}

.definition table { width: 100%;  border-collapse: collapse; }
.definition table td { /*border: 1px solid #ccc;*/ width: 14%; text-align: center; }

.highlight { background-color: yellow; }

td.ltr {text-align: right; }

/* PAGES STYLE */

.page-content {
	padding: 40px 0;
	margin-right: 320px;
}

.sidebar {
	margin: 0;
	padding: 0 0 0 20px;
	width: 300px;
	position: absolute;
	height: 100%;
	overflow: auto;
	right: 0;
	top: 0;
}


/* CONTACT FORM STYLE */

.contact-form {
	width: 90%;
}

.contact-form label {
	font-size: 14px;
}

.contact-form .form-control {
	width: 100%;
	border: 1px solid #e5e6e9;
	border-radius: 0px;
	height: 48px;
	padding: 6px 12px 6px 18px;
	font-size: 14px;
	background-color: #fff;
	color: #8A8B8D;
	margin-bottom: 20px;
	font-family: 'Montserrat', 'sans-serif';
}

.contact-form .form-control.warning {
	border-color: #E21544;
}

.contact-form .form-control:focus {
	outline: 0;
	box-shadow: none;
}

.contact-form .form-control::placeholder {
	font-weight: 300;
	color: #999999;
}

.contact-form textarea {
	border-radius: 0px;
	height: 120px !important;
	padding-top: 22px !important;
}

.contact-form #formMessage {
    margin-top: 20px;
}

.contact-form button {
	background: #fff;
	color: #131313;
	display: inline-block;
	padding: 18px 44px;
	font-family: "Raleway", sans-serif;
	font-size: 14px;
	font-weight: 400;
	border: 0;
	border: 1px solid #F91842;
	letter-spacing: 3px;
	text-align: center;
	color: #F91842 !important;
	text-transform: uppercase;
	cursor: pointer;
    margin-top: 20px;
}
.contact-form button:hover {
	background: #F91842;
	color: #fff !important;
	border: 1px solid #F91842;
}
.contact-form button:focus {
	outline: none;
}


/* RESPONSIVE STYLE RULES */

@media only screen and (min-width: 1280px ) {

	.container {
		width: 70%;
	}
	.search-bar {
		width: 50%;
	}
	
}

@media only screen and (min-width:1025px) and (max-width:1740px) {

	.newsletter button {
	    padding: 10px 7px;
	}

}


@media only screen and (max-width:1024px) {
	footer .container .column {
		width: 92%; padding: 0 4%;
	}
}

@media only screen and (max-width:816px) {
	/*
	.definition br {
		display: none;
	}
	.definition img {
		float: left; 
	}*/
	footer .footer-bottom {
		padding: 32px 64px;
	}
	.page-content {
		margin: 0;
	}
	.sidebar {
		width: 90%;
		position:relative;
	}
	header .logo {
		float: none;
	}
	header .menu-burger {
		display: block;
	}
	header .menu {
		display:none;
	}
	header .menu.mobile.active {
		display: block;
		background-color: transparent;
		position: relative;
		width: 100%;
		z-index: 10;
		float: none;
		padding-bottom: 5px;
	}
	header .menu.mobile li {
		float: none;
		width: 100%;
	}
	header .menu.mobile a {
		width: 92%;
		display: block;
		text-align: right;
	}
	
	input#searchMe {width: 50%;}	
	
	.search-bar button {padding: 10px 20px;}
	.definition table td{display: block; width: 100%; padding-top: 20px;}
	.definition h2 {margin: 20px 0 30px 0px;text-align: center;}
	
	.newsletter input {width: 50%;}
	.textbox h1 {line-height: 33px;}

}

/* Style the navigation menu */
.topnav {
  overflow: hidden;
  background-color: #333;
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {
  background: black;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #4CAF50;
  color: white;
}