/* GENERAL STYLING */
html { position: relative; min-height: 100%; background-color: #262b37; }
body { background-color: #ecf0f4; font-family: 'Raleway', sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { line-height: 1.5; text-transform: uppercase; }
p { color: #262b37; line-height: 2; }
a, a:hover, a:visited, a:link { text-decoration: none; }
/*select { -webkit-border-radius: 0; -moz-border-radius: 0; -webkit-appearance: none; }*/
.divider { background-color: #262b37; margin-left: auto; margin-right: auto; height: 1px; width: 100%; opacity: 0.2; }
.close, .close:hover { color: white; opacity: 1; }
.panel-group .panel+.panel { margin-top: 10px; }
.form-control { border-radius: 0; }
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover { background-color: black; }
.nav-pills a { color: black; }
.container img { display: block; max-width: 100%; height: auto; }

/* SOME PRESETS AND OTHER STYLING */
.shadow { box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.36); }
.corners { border-radius: 2px; }
.btn { padding: 2px 12px; }
.btn-darkblue, .btn-darkblue:active, .btn-darkblue:focus { background-color: #262b37; border-color: black; color: white; }
.btn-darkblue:hover { color: white; background: #161922; text-decoration: none; }
.btn-red { background-color: #f44a4a; border-color: #f44a4a; color: white; }
.btn-red:hover { color: white; background: #d42e2e; text-decoration: none; }
.bg-red { background-color: #f44a4a; color: white; }
.bg-darkblue { background-color: #262b37; color: white !important; }

/* THE HEADER AND THE NAV */
#top_stripe { background: #c6232a; height: 15px; }
#header { width: 100%; position: fixed; background: white; z-index: 500; top: 0; }
#header .topline { margin: 0; font-size: 16px; font-weight: bold; text-transform: uppercase; font-style: italic; }

/* Right slide-in menu */
#right-menu { display: none; background: white; padding: 10px 15px; right: 0; position: fixed; z-index: 500; width: 0; height: 100%; }
#right-menu a, #right-menu a:link, #right-menu a:visited, #right-menu a:hover { color: black; border-radius: 0; margin-top: 5px; }
#right-menu .nav-stacked>li+li { margin-top: 5px; }
#right-menu .nav-pills>li.active>a, #right-menu .nav-pills>li.active>a:focus, #right-menu .nav-pills>li.active>a:hover { color: white; background-color: #262b37; border-radius: 0; }
#right-menu .fa { width: 15px; }

/* SOME SPECIAL STYLES FOR THE FRONTPAGE */
.frontpage_top_background { min-height: 200px; padding-bottom: 15px; margin: 20px 0 0 0; color: white; background-color: #222b4c; background-image: url('/img/frontpage_top_background.jpg'); background-position: top center; background-size: cover; }
.frontpage_top_background .page-header { text-align: center; color: white; border: none; margin: 0; }
.frontpage_top_background p { color: white !important; }
.frontpage-headline { margin-top: 0; }
.frontpage-image { margin: 10px 0; }

/* STYLES FOR THE FOOTER */
#footer { background-color: #262b37; margin-top: 20px; padding-top: 10px; width: 100%; color: white; }
#footer p { margin: 11px; line-height: 1.5; color: white; }
#footer a, #footer a:hover, #footer a:visited, #footer a:link { color: #d5b85f; }
#footer a:hover { text-decoration: underline; }

/* OFFER STYLES */
#filters { width: 100%; background-color: white; table-layout: fixed; margin-bottom: 15px; font-size: 11px; }
#filters tr { height: 50px; }
#filters td { cursor: pointer; text-align: center; vertical-align: middle; border-right: 1px solid #eee; }
#filters td:hover { background-color: #eee; }
#offers .accepted { background-color: #dfffdd !important; }
#offers small { font-size: 10px; }
.offer { background-color: white; margin-bottom: 30px; padding: 5px; }
.offer table { width: 100%; table-layout: fixed; }
.offer table tr { height: 100%; height: 50px; }
.offer table td { padding: 0 5px 0 5px; text-align: center; vertical-align: middle; /*border-right: 1px solid #eee; */ }
.badge-flag { color: white; background: #7abcff; background: linear-gradient(to bottom, #7abcff 0%,#60abf8 16%,#4096ee 100%); padding: 3px; font-size: 10px; border-radius: 0px 200px 200px 0px; border: 0; }

/* ARTICLES */
.article-well { margin-bottom: 10px; }
.article-well a { word-break: break-word; }
.article-well img { margin-bottom: 10px; }
.article-headline { font-weight: bold; margin-bottom: 10px; }
.article-separator { margin: 5px 0; }
.article-form { margin: 30px auto 40px; max-width: 650px; padding-top: 20px; background-color: white; border-radius: 5px; }

/* MOBILE */
@media (max-width: 767px) {

	body { margin-top: 72px; }

	/* THE HEADER AND THE NAV */
	#header { height: 72px !important; }
	#header table { height: 60px; }
	#header .container { padding: 5px 0 0; }
	#header .container img { max-height: 60px; }
	#header .scroll { display: block !important; }

	.slider-group { margin-bottom: 50px; }
	.badge-flag { color: white; background: #7abcff; background: linear-gradient(to bottom, #7abcff 0%,#60abf8 16%,#4096ee 100%); padding: 3px; font-size: 10px; border-top-left-radius: 90px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 90px; }
	.offer { margin-bottom: 15px; }

	.divider { margin-top: 20px; margin-bottom: 20px; }

	/* Right slide-in menu */
	/*#right-menu { top: 90px !important; }*/
	#right-menu a, #right-menu a:link, #right-menu a:visited, #right-menu a:hover, #right-menu .nav-stacked>li+li { margin-top: 0; }

	h1 { font-size: 26px; }
	h2 { font-size: 20px; }

	.article-well { padding: 10px; margin: 0 -7px 7px; }
	.article-form { margin-right: -10px; margin-left: -10px; }

}

/* DESKTOP */
@media (min-width: 768px) {

	body { margin-top: 110px; }

    /* THE HEADER AND THE NAV */
    #header { height: 110px; }
    #header .container { padding: 8px 0 0; }
    #header .container img { max-width: 300px; }
    #header .scroll { display: none; }

	.slider-group { margin-bottom: 70px; }
    .divider { margin-top: 40px; margin-bottom: 40px; }

}

/* MEDIUM DESKTOP */
@media (min-width: 992px) {
	#header .topline { font-size: 28px; }
}

/* LARGE DESKTOP */
@media (min-width: 1200px) {
	#header .topline { font-size: 36px; }
}
