﻿/* templatestyle.css for template 219 overrides to TNG genstyle.css   */

/* Designed by Genealogy Web Templates
   http://genealogywebtemplates.com 
  
Main Colors used in this template
#14153a-dark color
#1f2159-medium color
#2a2d7a-light color
#f0f1fa-lightest color
#e5e7fd-lightest color on linear gradient & tngmsarea
#59491f-accent color
*/

@import url(https://fonts.googleapis.com/css?family=Merriweather|Raleway|Lora:400,400italic|Jura);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);
html {height: 100%;}
header, figure, figcaption, footer, nav, article, section, aside, summary {display: block;}
body {
	background: #fff;
	font-family: Verdana, Helvetica, sans-serif;
	color: #000000;
	text-align: left;
	margin: 0 auto;
	padding: 0;
	font-size: 16px!important;
}
/* ======================================================GENERAL STYLES====================================================== */
/* link: normal links, active: links in use */
a:link, a:active, div.icons a {color: #1f2159;}

/* visited: previously visited links */
a {color: #2a2d7a; font-weight: normal; text-decoration: none; outline: none;}
a:hover {color: #1f2159; text-decoration: none; font-weight: normal; outline: none;}
a:visited {color: #14153a;}

/* Horizontal Rules and Clear Floats */
hr {background-color: #2a2d7a; border: none; color: #2a2d7a; height: 1px; clear: both;}
hr.fancy {border-style: none;
	border-color: inherit;
	border-width: medium;
	background: url('../template219/img/hr.png') no-repeat center;
	color: #eee;  height: 40px;
}
hr.noshow {background-color: transparent; border: none; color: #fff; height: 0; clear: both; visibility: hidden;}
.clearfix:before, .clearfix:after, .breadcrumbs:before, .breadcrumbs:after, .group:before, .group:after,
.container:before, .container:after {display: table; content: "";}
.clearfix:after, .container:after {clear: both;}.white * {color: #ffffff;}
.clear {clear: both;}

/*  Lists = */
ul {margin: 10px 0 20px 0;	padding: 0 0 0 15px;}
ul li a {color: #2a2d7a; font-weight: normal; padding: 0;}
ul li a:hover {color: #59491f!important; font-weight: normal; text-decoration: none;}
ul.list1 li {list-style-type: none; position: relative; margin-left: -10px; padding-left: 20px;}
ul.list1 li:before {position: absolute; font-family: 'FontAwesome'; font-size: 14px; top: 1px; left: 0; content: "\f0a9"; color: #1f2159;}
.list-inline {list-style: outside none none; margin-left: -5px; padding-left: 0;}
.list-inline > li {display: inline-block; padding-left: 5px; padding-right: 5px;}

/* ====================================================== TYPOGRAPHY ============================================================ */
p a {word-wrap: break-word;}

/* ======== HEADINGS ======== */
h1 {font: 34px 'Merriweather', serif, Verdana, Helvetica, sans-serif; color: #1f2159; margin: .3em 0 .3em 0; 	letter-spacing: -1px;}
h2 {font: 32px 'Merriweather', serif, Arial, Verdana, Helvetica, sans-serif; color: #1f2159; font-weight:normal; text-align:center; margin: .3em 0; letter-spacing: 1px;}
h3 {font: 28px 'Raleway', Verdana, Helvetica, sans-serif; color: #14153a; padding: 0; letter-spacing: -1px; margin: 10px 0; padding: 5px 0;}
h4 {font: normal 24px 'Raleway', Verdana, Helvetica, sans-serif; text-align: center; color: #fff; font-variant:small-caps; background: #14153a; background: linear-gradient(#14153a, #2a2d7a, #14153a); padding: 5px; margin: 0; border-radius: 5px;}
h5 {font: normal 24px 'Raleway', Verdana, Helvetica, sans-serif; color: #777; margin: .3em 0; font-variant: small-caps;}
h6 {font: normal 24px 'Jura', Verdana, Helvetica, sans-serif; color: #41536f; margin: .3em 0;}

/* ======================================================HEADER AREA ======================================================*/
/* ========== Site Name ============== */
.title-area {width:100%; padding: 20px 0 0 0;}
.title-area, .title-area a, .title-area a:hover  {font: 38px 'Merriweather', Verdana, Helvetica, sans-serif;	color: #ffffff!important; letter-spacing: -1px; text-decoration: none; margin: 0; }
.logintext {float:right; color: #fff; font-size:10px; text-transform: none;}

/* ========== Top Nav Coding ========== */
.nav-primary { background-color:transparent; float: left; position: relative; margin: 16px 0 4px 0;}
.nav-primary .nav-menu  a { color:#ffffff; }
.nav-primary .nav-menu  a:hover { color:#f0f1fa;}
.nav-primary .nav-menu  a:active { color:#f0f1fa;}
.nav-primary .nav-menu .current-menu-item a {color:#fff;}
.nav-primary .nav-menu .current-menu-item a:hover {color:#f0f1fa;}

.nav-menu {clear:both; color:#222; font-size:14px; font-weight:400; text-transform:uppercase; width:100%; margin: -5px 0 -5px 0;}
.nav-menu .menu-item {display:inline-block;	text-align:left;}
.nav-menu a {border:none; color:#222; padding:5px 20px 10px 20px; position:relative;}
.nav-menu .menu-item:hover {position:static;}
.nav-menu>.first>a {padding-left:0;}
.nav-menu>.last>a {padding-right:0;}
.nav-menu>.right {color:#fff; display:inline-block; float:right; list-style-type:none; padding:25px 0; text-transform:uppercase;}
.nav-menu>.right>a {display:inline;	padding:0;}
.nav-menu>.rss>a {margin-left:48px;}
.nav-menu>.search {padding:7px 0 0;}
.nav-menu .search-menu-item {display:inline-block !important; text-align:right; float:right; color: #e5e7fd; padding: 12px 20px 8px 20px;}

/*styles top nav without icons from genstyles*/
.tngsmallicon {background: transparent; padding:.1em 0px 0px 18px; height:16px; line-height:1.5; font-size: 14px; font-weight: normal; color: #fff;}
.topsearchnav li {display: inline-block;}

/* ========== Main Nav Coding ========== */
.menucontainer {display: inline-block;}
.nav-menu {clear:none; display:inline-block; float: left!important;margin: 0; padding: 0; list-style: none;  text-transform: uppercase; background: #14153a; background: linear-gradient(#14153a, #1f2159, #14153a);
   	color: #ffffff; box-sizing: border-box; border-top: 1px solid #ffffff; height: 42px;}

div.icons {padding: 0;}
div.icons a {color: #fff;}
div.icons a:hover {color: #fff; background-color:#2a2d7a; border-radius: 5px;}

ul.tngdd {background-color:transparent; margin: 0 0 20px 0;}
ul.tngdd a {display:block; text-decoration:none; border-radius: 5px; color:#fff;}
ul.tngdd .menulink {font-size: 14px; font-weight: normal; color: #fff!important; background: url('img/ArrowDown.png') no-repeat 2px 11px; width:70px; border:none!important; padding-left: 30px; padding-right: 2px;  padding-top: 5px; padding-bottom: 8px;}
ul.tngdd .menuhover, .menulink:hover {background:url('img/arrowdown2.png') no-repeat 2px 11px; padding-top: 5px; padding-bottom: 8px;color:#fff; background: #2a2d7a!important; text-decoration:none; margin: 0 0 10px 0; border:none!important;}

ul.tngdd ul li a {color: #000; display:block; padding:6px 4px 6px; background-color:#eeeeee; color: #14153a!important; border-top:1px solid #ffffff; border-radius: 0px; text-transform:none;}
ul.tngdd ul li a:hover {background-color:#2a2d7a; color: #fff!important; text-decoration:none;}
ul.tngdd .sub {background: #2a2d7a url('img/arrow.png') no-repeat 146px 7px; color: #000;}
ul.tngdd .topline {border-top:1px solid #777;}

ul.tngdd .langmenu {background-color: transparent; border-radius: 0; border-color:transparent; margin-top: 2px;}
#newlanguage1 {color: #fff; background-color: #2a2d7a; border: 1px solid transparent; font-size:14px !important; text-transform:uppercase;}
.langmenu select option {background-color: #eeeeee; color: #000; font-size: 12px; border-radius: 5px;}

ul.tngdd .stubmenu  {background-color: transparent;); border-radius: 0; border: none;}
.slidedown { background-color:#fff; color: #000;}

div.icons-rt {font-size: 10px;	font-weight: normal;}
div.icons-rt a { color:#fff; background: transparent; border: 0 solid #fff; font-size:10px;}

/* ====================================== ADMIN PAGE CODING =============================================== */
.lightlink:link, .lightlink:visited {color: #f0f1fa; text-decoration: none;}
.lightlink:hover, .lightlink:active {color: #e5e7fd;text-decoration: none; }
a.lightlink3:link, a.lightlink3:visited, a.lightlink3:hover, a.lightlink3:active {color: #e5e7fd;}
.lightlink2:link, .lightlink2:visited {color: #e5e7fd;}
.admincell, .sideback {background-color:#2a2d7a; background-image:none; }
a.admincell:hover, a.leftlink:hover {background-color:#2a2d7a;} /* This is the Admin Cell for People, Families, etc */
.adminsubmsg {font-size: 12px;font-weight:bold;}

.tngmsgarea  {color: #14153a; background: #f0f1fa;text-shadow: 0px 0px 0px #000000;}/*styles "Important tasks" */
.tngmsgarea .adminsubhead, .yellow {color: #14153a;}
.tngmsgarea a, .tngmsgarea a:active, .tngmsgarea a:link, .tngmsgarea a:visited {color: #14153a;	text-decoration: none;  text-shadow: 0px;}
.tngmsgarea a:hover {color: #1f2159;}
div.tngmsgarea {color: #14153a;}

.adminnav .snlink {background-color: #2a2d7a;}
.snlink {background-color:#2a2d7a; border-bottom:1px solid #aaa; border-right:1px solid #aaa; color:#fff !important; font-weight: bold;}
.snlinkact, .adminnav .snlinkact {background-color:#1f2159; color:#fff;}/*same as "fieldnameback" background color */
a.snlink:hover {background-color:#2a2d7a!important; color:#fff; font-weight: bold;}
p a.snlink:hover {background-color:#2a2d7a!important; color:#fff; font-weight: bold;}
p a.snlink {line-height: 2.5em; background-color:#1f2159; color:#fff; font-weight: bold;}
.snlinkact {line-height: 2.5em; background-color:#2a2d7a; color:#fff; font-weight: bold;}
p a.snlink:hover {background-color:#2a2d7a; color:#fff; font-weight: bold;}

.subhead {color:#2a2d7a;}
.subheader {color:#2a2d7a;}

.databack {background-color:#f0f1fa;}

/*Tabs Coding - coded here instead of tngtabs2.css*/
ul#tngnav {margin:0 0px 0px 10px;}
#tngnav li {margin: 0 0 0 1px;}
#tngnav a {color:#fff!important; background:#2a2d7a; border-right:1px solid #444; padding: 0.45em 1em 0.35em 8px;border-radius: 4px 4px 0px 0px;}
#tngnav a:hover {background:#14153a; color:#fff;}/*active tab*/
#tngnav a.here {background:#14153a; color:#fff; border-right:1px solid #777; margin: 0;}/*active tab*/

#tabs div {margin:0 1px 0 0; padding: 0em 0em .3em 0px;}/*to keep older browsers happy*/
#tabs a {background: #e5e7fd; color:#444; padding: 0.4em 0.8em 0.4em 0.8em; border-right: 1px solid #aaa;} /*inactive tab*/
#tabs a:hover {background: #14153a; color:#ffffff;} /*active tab*/
#tabs .here {background: #14153a; color:#f0f1fa;} /*active tab*/

/*Family Tree Chart Box Coding*/
.pedbox {background-color: #f0f1fa!important;}
.fambox, .mfambox {background-color: #f0f1fa!important;}
/* fieldnameback: background color for column and row title sections */
.fieldnameback, .bar, .page, .LB_closeAjaxWindow, .tablesaw-cell-label {background-color:#2a2d7a; font-weight: normal; color: #fff!important;}
/* mmpadtop5 and .fbar-fixed are styled to correct the spacing on the Mod Manager page */
.mmpadtop5 {padding-top:0!important;}
.fbar-fixed {margin-top: 5px!important;}

.hiddenbox {background-color:#f0f1fa!important;}
.floverlr {background-color:transparent!important;}
	
input.minifield {background-color: #fff;}

/* ========== Popup windows ========== */
.LB_window {background:#f0f1fa; border:2px solid #000; color:#000;}
.LB_content {background:#f0f1fa;}

/* ========== Calendar ========== */
table.calendar {background-color:#f0f1fa!important; border: 1px solid #14153a!important;}
td.calDay {border-top: 1px solid #14153a!important; border-left: 1px solid #14153a!important; border-bottom: 2px solid #14153a!important; border-right: 2px solid #14153a!important;}
#calLegend {background-color: #f0f1fa!important; border: 1px solid #14153a!important; font-size: 9pt; font-weight: bold; margin-top: 8px; padding: 4px; text-align: center;}
a.hidden {background-color: #f0f1fa!important;}
td.calToday {background-color: #f0f1fa!important; border-top: 1px solid #14153a!important; border-left: 1px solid #14153a!important; border-bottom: 2px solid #14153a!important; border-right: 2px solid #14153a!important;}

/* ===================================================TEXT AREA CODING - WIDGETS ================================================= */
/*the header icons located at the top of the content area (sources, search, surname list, etc) */
.headericon {font-size: 28px; color: #1f2159; margin: 5px 10px 0 0;}
/*the h1 header text located at the top of the content area (sources, search, surname list, etc) */
.header {margin-top: 60px; margin-right: 5px; font-size: 28px; font-weight: normal; color: #14153a; line-height: 28px;}

.featured-content .entry-title a {border:none;}
.fambackground {background-color: #e5e7fd;}
.site-header .widget-area {float:right; text-align:right; width:728px;}
.titlebox, td.highlightedchild {background-color:#fbfbf9; box-shadow:4px 4px 6px 0 #777;}

/*  ===================================================== PARAGRAPHS ============================================================== */
.left {text-align: left;}
.center {text-align: center;}
.right {text-align: right;}
.tiny {font-size: 65%;}
.small {font-size: 85%;}
.medium {font-size: 90%;}
.large {font-size: 120%;}
.xlarge {font-size: 180%;}
.xxlarge {font-size: 52px; font-weight: bold;}
.lead2 {font-size: 22px; line-height: 22px; font-variant: small-caps;}
.project {font-size: 14px; line-height: 16px;}

/* Drop Caps ========== */
.dropcap {overflow: hidden;}
.dropcap:first-letter {color: #14153a;	display: block; float: left; font: 60px/50px Georgia, Garamond, serif;	padding: 6px 4px 0 0;}

/* ================================================== IMAGE STYLES ============================================================== */
img {border: none; box-sizing: border-box;}
.img-border {margin: 5px 10px 0 0; border: 1px #777 solid;}
.img-catalog {border: 1px #d0d0d0 solid; padding: 1%; margin: 1% 2%;	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);}
.img-frame {background: #ffffff; border: 1px #aaa solid; padding: 3px; margin: 4px 1px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);}
.img-frame-right {float: right; background: #ffffff; border: 1px #aaa solid; padding: 3px; margin: 4px 1px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);}
.img-curved {border-radius: 10px; margin: 4px 2px; border: 1px #444 solid;	box-shadow: 0 10px 15px -9px rgba(0, 0, 0, 0.5);}
.img-shadow {margin: 5px 0; box-shadow: 0 10px 15px -9px rgba(0, 0, 0, 0.5);}
.img-round {border-radius: 50%; border: 1px #444 solid; box-shadow: 0 10px 15px -9px rgba(0, 0, 0, 0.5);}
.img-round-left {border-radius: 50%; float: left; border: 1px #444 solid; box-shadow: 0 10px 15px -9px rgba(0, 0, 0, 0.5); margin-right: 10px;}
.img-round-right {border-radius: 50%; float: right; border: 1px #444 solid; box-shadow: 0 10px 15px -9px rgba(0, 0, 0, 0.5); margin-left: 10px;}
.img-small {max-width: 150px; height: auto;}
.img-right {margin: 5px 0 0 10px; float: right;}
.img-right-shadow {margin: 5px 0 0 10px; float: right; border-radius: 8px; box-shadow: 0 10px 15px -9px rgba(0, 0, 0, 0.5);}
.img-rotate-right {margin: 20px; transform: rotate(4deg);}
.img-right-border {margin: 5px 0 0 10px; float: right; border: 1px #777 solid;}
.img-rotate-left {margin: 20px; transform: rotate(-4deg);}
.img-left {margin: 5px 10px 0 0; float: left;}
.img-left-shadow {margin: 5px 10px 0 0; float: left; border-radius: 8px; box-shadow: 0 10px 15px -9px rgba(0, 0, 0, 0.5);}

/* ========================================== LAYOUT RULES and BLOCK ELEMENTS ================================================== */
.featured-content {font-size: 14px; clear:both; overflow:hidden;}
div.innercontainer {background-color: transparent; border-radius: 0; border: none; border-bottom:1px solid transparent;}

.container {width: 1200px; text-align:left; margin: 0 auto;}
.inside {width: 96%; padding: 10px 2%;}

/* ===================== FANCYBOX ==================== */
.fancybox {text-align:center; height: auto; min-height: 600px; background-image: url('../img/fancy.jpg'); background-position: 50% 50%; background-repeat: no-repeat; 
	background-size: cover; padding: 40px 1% 40px 1%; box-sizing: border-box; border: 1px solid #1f2159;}	
.fancybox p {font-family: "Merriweather", serif; font-size: 32px; line-height: 30px; text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8); color: #fff; text-align:center;}
.fancybox h1 {font: 38px 'Merriweather', serif, Arial, Verdana, Helvetica, sans-serif; color: #fff; font-weight:normal;	text-align:center; margin: .3em 0; margin-bottom: -10px;}
.fancybox h5 {color: #dbddf3; margin: .3em 0; font-variant: small-caps; text-align: center;}
.fancybox h6 {color: #dbddf3;}

/* ========  SNIP2 PHOTO - TEXT EDITING - Used in Parallax  ======== */
.snip2 {font-family: sans-serif; position: relative; overflow: hidden; max-height: 350px; max-width: 250px; margin: 0 auto; margin-bottom: 20px; width: 90%; color: #faece8; text-align: left;
	background-color: #000; border: 1px solid #404040; border-radius: 10px;}
.snip2 * {-webkit-box-sizing: border-box;  box-sizing: border-box;  -webkit-transition: all 0.45s ease;  transition: all 0.45s ease;}
.snip2 img {vertical-align: top; max-width: 140%; backface-visibility: hidden;}
.snip2 figcaption {position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1; padding: 30px; background-color: #000; -webkit-transform: translateX(-100%); transform: translateX(-100%); -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.5); box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);}
.snip2 p {margin-top: 12px;	color: #faece8!important; font-family: "Open Sans", serif!important; font-size: 14px!important;}
.snip2 h2 {margin: 0; font-family: "Raleway", serif; color: #fff; font-size: 24px; }
.snip2 h3 {color: #dbddf3; border-bottom: 1px #dbddf3 solid; font-family: "Open Sans", serif!important; font-size: 18px; font-weight: normal; letter-spacing: 1px; text-align:center; margin: 0;}
.snip2 a {position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1;}
.snip2:hover > img,
.snip2.hover > img {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
.snip2:hover figcaption, .snip2.hover figcaption {-webkit-transform: translateX(0%); transform: translateX(0%);}

/* ================================================ SECTION BLOCKS ============================================================== */
/* ======== LAYOUT RULES ======== */
/* ======== Row 1 is the header and footer row ======== */
.row1 {background: #14153a; background: linear-gradient(#14153a, #1f2159, #14153a); width: 100%; color: #fff;}
.row1 a:link, a:active, div.icons a {color: #fff;}

/* visited: previously visited links */
.row1 a:visited {color: #efefef;}
.row1 a {color: #ffe5e6; font-weight: normal; text-decoration: none; outline: none;}
.row1 a:hover {color: #fff; text-decoration: none; font-weight: normal; outline: none;}

/* ======== Row 2 is the light colored area used on the 3 boxes at the bottom of each page ======== */
.row2 {background: #eaecf8;color: #202020; border-bottom: 1px solid #d8dede; width: 100%; margin-top: 10px; padding-top: 16px;}

/* ======== HEADER AREA ======== */
header {background: #14153a; background: linear-gradient(#14153a, #2a2d7a); margin: 0; padding: 12px 0 0 0;}
.brand, .brand a, .brand a:hover  {font: 36px 'Merriweather', Verdana, Helvetica, sans-serif; color: #ffffff; text-decoration: none; margin: 0;}
.slogan {font-size: 18px; font-family: 'Merriweather', cursive, Verdana, Helvetica, sans-serif; color: #ffffff; padding: 10px; 	font-style:italic; 	margin: 0;}	

/* ========== Content Blocks ============== */
.contentBox2a {float: left; width: 48%; padding: 0; margin: 0 2% 0 0;}
.contentBox2b {float: right; width: 48%; padding: 0; margin: 0 0 0 2%;}

.contentBox3a {float: left; width: 31.33333%; padding: 0; margin: 0 0 5px 0;}
.contentBox3b {float: left; width: 31.33333%; padding: 0; margin: 0 1% 5px 1%;}
.contentBox3c {float: left; width: 31.33333%; padding: 0; margin: 0 0 5px 0;}

.contentBox4a {float: left; width: 23.5%; padding: 0; margin: 0 1% 0 0;}
.contentBox4b, .contentBox4c {float: left; width: 23.5%; padding: 0; margin: 0 1% 0 1%;}
.contentBox4d {float: left; width: 23.5%; padding: 0; margin: 0 0 0 1%;}

.contentBox5a {float: left; width: 18%; padding: 0; margin: 0 1% 0 0;}
.contentBox5b, .contentBox5c, .contentBox5d {float: left; width: 18%; padding: 0; margin: 0 1% 0 1%;}
.contentBox5e {float: left; width: 18%; padding: 0; margin: 0 0 0 1%;}

.sidebarLeft {float: left; width: 28%; padding: 0; margin: 0 1% 0 1%;}
.contentRight {float: right; width: 66%; padding: 0; margin: 0 1% 0 1%;}

.sidebarRight {float: right; width: 31.3333%; padding: 0; margin: 0 1% 0 1%;}
.contentLeft {float: left; width: 64.666%; padding: 0; margin: 0 1% 0 1%;}

.contentBox25Left  {float: left; width: 23%; padding: 10px 0; margin: 0;}
.contentBox25Right {float: right; width: 23%; padding: 10px 0; margin: 0;}
.contentBox75Left  {float: left; width: 73%; padding: 10px 0; margin: 0;}
.contentBox75Right {float: right; width: 73%; padding: 10px 0; margin: 0;}

/*  ========== Color Box in Sidebar ========== */
.callbox1 {color: #14153a; padding: 2px 26px; margin: 16px 0; background-color: #f0f1fc; border-radius: 10px;
	box-shadow: 0 0 0 5px #2a2d7a inset, 0 0 0 6px rgba(255, 255, 255, 0.6) inset, 0 0 40px #14153a inset, 0 10px 15px -10px rgba(0,0,0,0.6);}
.callbox1 h4 {text-align: center; color: #fff; font-variant:small-caps ;background: #14153a; background: linear-gradient(#14153a, #2a2d7a, #14153a); padding: 5px; margin: 16px; border-radius: 5px;}

.inside {width: 96%; padding: 0 2%;}

/* ====================================== FOOTER CODING =================================================== */
footer {clear: both; background: #14153a; background: linear-gradient(#2a2d7a,#14153a); width: 100%; color: #ffffff; font-size: 80%; padding: 20px 0 10px 0;}
footer a {color: #e5e7fd!important; font-weight: normal; text-decoration: none; outline: none;}
footer a:hover {color: #fff!important;}
.copyright {letter-spacing: 3px; text-align: center; font-size: 90%; color: #fff; margin: 0; padding:0;}

/* ======================================================BUTTONS & MISCELLANEOUS ================================================= */
.btn:hover, .btn:focus, .btn.focus {color: #fff; background-color: #1f2159 !important; text-decoration: none;}

.btn-detail {position: relative; font: normal 18px 'Raleway', Verdana, Helvetica, sans-serif; text-align: center; color: #fff!important; font-variant:small-caps; background: #14153a; background: linear-gradient(#14153a, #2a2d7a, #14153a); padding: 5px; margin: 0; border-radius: 5px;text-decoration: none; border-color: #1f2159; padding: 5px 35px 5px 5px; border-radius: 5px;}
.btn-detail:after {position: absolute; font-family: 'FontAwesome'; content: "\f0a9"; top: 7px; right: 10px;}
.btn-detail:hover {background-color: #222; background: linear-gradient(#555, #222); border-color: #222;	color: #fff; font-weight: normal; text-decoration: none;}
.btn-detail a {color: #ffffff;	text-decoration: none !important; font-weight: normal; outline: none;}

/* ======== BACK TO TOP FORMATTING ======== */
.scroll-to-top {display: none; position: fixed; bottom: 20px; right: 10px; z-index: 5; width: 30px; height: 30px; padding: 8px; text-align:center; color: #ffffff; text-decoration: none; 
	background-color: #1f2159; box-shadow: inset 0 0 10px #202020, 0 1px 1px rgba(0, 0, 0, 0.5); border-radius: 5px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); border-radius: 50%;}
.scroll-to-top:hover {text-decoration: none; background-color: #2a2d7a; box-shadow: inset 0 0 15px #000000, 0 1px 1px rgba(0, 0, 0, 0.5); text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);}
.scroll-to-top a, .scroll-to-top a:hover {text-decoration: none;}

/* Ticker============= */
#ticker {list-style: none outside none; margin: 0; min-height: 190px;}
#ticker li {margin: 0; background: none; padding: 0;}
#ticker p {color: #000;	font-size: 18px; padding-left: 20px; margin-top: 0; padding-top: 0;}
#ticker .tcontent {color: #000; padding: 20px; text-align: left;}
#ticker .author {color: #777; text-align: right; font-size: 0.90em; font-style: italic; letter-spacing: 2px; padding: 0 10px 20px 0;}
.testimonial {position: relative; color: #1f2159;}
.testimonial::before {
	position: absolute;
	color: #1f2159;
	font-family: 'FontAwesome';
	font-size: 24px; 
	content: "\f0e5"; top: 18px; left: -15px; text-shadow: 1px 2px 3px rgba(0,0,0,0.3);
}

/* WOW ========== */
.wow {opacity: inherit;}
/* ======== ANIMATION EFFECTS ======== 
Animate.css - http://daneden.me/animate
Licensed under the MIT license - http://opensource.org/licenses/MIT
Copyright (c) 2014 Daniel Eden
====================================== */
.animated {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
@-webkit-keyframes zoomIn {
  0% {opacity: 0; -webkit-transform: scale3d(.3, .3, .3); transform: scale3d(.3, .3, .3);  }
  50% {opacity: 1;} }
@keyframes zoomIn {
  0% {opacity: 0; -webkit-transform: scale3d(.3, .3, .3); transform: scale3d(.3, .3, .3);}
  50% {opacity: 1;} }
.zoomIn {-webkit-animation-name: zoomIn; animation-name: zoomIn;}

/* ================================================================================================================================== */
/* ================================================================= MEDIA QUERIES ================================================== */
/* ================================================================================================================================== */
                                               /* ================= SMALL DEVICE 01 ==================== */
/* ================================================================================================================================== */
@media screen and (max-width: 320px) {
	.container  {width: 95%; margin: 0 auto;}
	nav {float: none; margin: 0;}
	.nav-menu {height: auto;}
	div.icons-rt {margin-top: -20px;}
	ul.tngdd {float:left!important;}	
	.brand, .brand a, .brand a:hover  {font-size: 28px;}
	.slogan {font-size: 14px; padding: 0 0 20px 0;}
/* === content box coding ==== */
	.fancybox {width: 98%; margin: 1%; padding: 0;}
	.fancybox h1 {padding-top: 10px; font-size: 32px;}
 	.callbox1 {width: 200px; margin: 20px auto;}
  	.contentBox2a, .contentBox2b, 
   	.contentBox3a, .contentBox3b, .contentBox3c, 
   	.contentBox4a, .contentBox4b, .contentBox4c, .contentBox4d,
   	.contentBox5a, .contentBox5b, .contentBox5c, .contentBox5d, .contentBox5e {width: 98%; margin: 0 1% 20px 1%; padding: 0; float: none;}
   	.sidebarLeft, .sidebarRight {width: 98%; margin: 1%; padding: 0; float: none;}
   	.contentRight, .contentLeft {width: 98%; margin: 1%; padding: 0; float: none;}
	/* === miscellaneous coding ==== */
	h1 {font-size: 36px;}
	h2 {font-size: 32px}
	.text-align-right {text-align:center; padding-right: 0;}
	#charts { width: 300px !important; margin: 0 auto;}
	.focus-chart {width: 300px !important; height: auto !important;}
	.img-round-right {float: none; margin: 0 auto;}
	.medfield {width: 180px!important;} /*used for the search box length in the sidebar*/
}
/* ================================================================================================================================== */
                                   /* ================= SMALL DEVICE 02 ======================= */
/* ================================================================================================================================== */
@media screen and (min-width: 321px) and (max-width: 480px) {
	.container {width: 95%; margin: 0 auto;}
	nav {float: none; margin: 0;}
	.nav-menu {height: auto;}
	div.icons-rt {margin-top: -20px;}
	ul.tngdd {float:left!important;}	
	.brand, .brand a, .brand a:hover {font-size: 28px;}
	.slogan {clear: both;text-align: center;}
/* === content box coding ==== */
	.row2 {margin-top: 16px;}
	.fancybox {width: 98%; margin: 1%; padding: 0;}
	.fancybox h1 {padding-top: 10px; font-size: 32px;}
	.callbox1 {width: 230px; margin: 20px auto;}
   	.contentBox2a, .contentBox2b, 
   	.contentBox3a, .contentBox3b, .contentBox3c, 
   	.contentBox4a, .contentBox4b, .contentBox4c, .contentBox4d,
   	.contentBox5a, .contentBox5b, .contentBox5c, .contentBox5d, .contentBox5e {width: 98%; padding: 0; margin: 0 auto 20px auto; float: none; max-width: 450px;}
   	.sidebarLeft, .sidebarRight {width: 98%; margin: 1%; padding: 0;}
   	.contentRight, .contentLeft {width: 98%; margin: 1%; padding: 0;}
	/* === miscellaneous coding ==== */
	.text-align-right {text-align:center; padding-right: 0;}
	.img-round-right {float: none; margin: 0 auto;}
	.medfield {width: 200px!important;} /*used for the search box length in the sidebar*/
}
/* ================================================================================================================================== */
                                   /* =================== SMALL DEVICE 03 ===================== */
/* ================================================================================================================================== */
@media screen and (min-width: 481px) and (max-width: 623px) {
	.container {width: 97%; margin: 0 auto;}
	nav {float: none; margin: 0;}
	.nav-menu {height: auto;}
	div.icons-rt {margin-top: -20px;}
	ul.tngdd {float:left!important;}	
	div.icons-rt {margin-top: -20px;}
	ul.tngdd {float:left!important;}	
	/* === content box coding ==== */
	.row2 {margin-top: 16px;}
	.callbox1 {width: 280px; margin: 20px auto;}
   	.contentBox2a, .contentBox2b, 
   	.contentBox3a, .contentBox3b, .contentBox3c, 
   	.contentBox4a, .contentBox4b, .contentBox4c, .contentBox4d,
   	.contentBox5a, .contentBox5b, .contentBox5c, .contentBox5d, .contentBox5e {width: 98%; padding: 0; margin: 20px auto; float: none; max-width: 450px;}
   	.sidebarLeft, .sidebarRight {width: 98%; float: none; margin: 1%; padding: 0;}
   	.contentRight, .contentLeft {width: 98%; float: none; margin: 1%; padding: 0;}
	/* === miscellaneous coding ==== */
	.text-align-right {text-align:center; padding-right: 0;}
	.img-round-right {float: none; margin: 0 auto;}
	.medfield {width: 230px!important;} /*used for the search box length in the sidebar*/
}
/* ================================================================================================================================== */
                                    /* ====================== MID DEVICE 01 ====================== */
/* ================================================================================================================================== */
@media screen and (min-width: 624px) and (max-width: 669px) {
	.container {width: 97%; margin: 0 auto;}
	nav {float: none; margin: 0;}
	.nav-menu {height: auto;}
	div.icons-rt {margin-top: -20px;}
	ul.tngdd {float:left!important;}	
	/* === content box coding ==== */
	.row2 {margin-top: 16px;}
	.callbox1 {width: 280px; margin: 20px auto;}
   	.contentBox2a, .contentBox2b, 
   	.contentBox3a, .contentBox3b, .contentBox3c {width: 98%; padding: 0; margin: 0 auto 20px auto; float: none; max-width: 450px;}
   	.contentBox4a, .contentBox4b, .contentBox4c, .contentBox4d,
   	.contentBox5a, .contentBox5b, .contentBox5c, .contentBox5d, .contentBox5e {width: 98%; padding: 0; margin: 0 auto 0 auto; float: none; max-width: 450px;}
   	.sidebarLeft, .sidebarRight {width: 98%; margin: 1%; padding: 0;}
   	.contentRight, .contentLeft {width: 98%; margin: 1%; padding: 0;}
	/* === miscellaneous coding ==== */
	.text-align-right {text-align:center; padding-right: 0;}
	.medfield {width: 230px!important;} /*used for the search box length in the sidebar*/
}
/* ================================================================================================================================== */
                                                  /* ================== MID DEVICE 02 ================ */
/* ================================================================================================================================== */
@media screen and (min-width: 670px) and (max-width: 768px) {
	.container {width: 97%; margin: 0 auto;}
	nav {float: none; margin: 0;}
	.nav-menu {height: auto;}
	div.icons-rt {margin-top: -20px;}
	ul.tngdd {float:left!important;}	
	/* === content box coding ==== */
	.row2 {margin-top: 16px;}
	.callbox1 {width: 300px; margin: 20px auto;}
	.contentBox2a, .contentBox2b,
   	.contentBox3a, .contentBox3b, .contentBox3c {width: 98%; padding: 0;  margin: 0 auto 20px auto; float: none; max-width: 450px;}
   	.contentBox4a, .contentBox4b, .contentBox4c, .contentBox4d,
   	.contentBox5a, .contentBox5b, .contentBox5c, .contentBox5d, .contentBox5e {width: 98%; padding: 0; margin: 0 auto 0 auto; float: none; max-width: 450px;}
   	.sidebarLeft, .sidebarRight {width: 98%; margin: 1%; padding: 0;}
   	.contentRight, .contentLeft {width: 98%; margin: 1%; padding: 0;}
	section.module.parallax-2 p:nth-child(1) {font-size: 48px;}
	/* === miscellaneous coding ==== */
	.text-align-right {text-align:center; padding-right: 0;}
}
/* ================================================================================================================================== */
                                               /* ================== MID DEVICE 03 ================= */
/* ================================================================================================================================== */
@media screen and (min-width: 769px) and (max-width: 800px) {
	.container {width: 97%; margin: 0 auto;}
	.nav-menu {height: auto;}
	div.icons-rt {margin-top: -20px;}
	ul.tngdd {float:left!important;}	
	/* === content box coding ==== */
	.callbox1 {width: 300px; margin: 20px auto;}
   	.contentBox3a, .contentBox3b, .contentBox3c {width: 98%; padding: 0;  margin: 0 auto 20px auto; float: none; max-width: 450px;}
   	.contentBox4a, .contentBox4b, .contentBox4c, .contentBox4d,
   	.contentBox5a, .contentBox5b, .contentBox5c, .contentBox5d, .contentBox5e {width: 48%; margin: 1%; padding: 0;}
   	.sidebarLeft, .sidebarRight {width: 98%; margin: 1%; padding: 0;}
   	.contentRight, .contentLeft {width: 98%; margin: 1%; padding: 0;}
}
/* ================================================================================================================================== */
                                         /* ================== LG DEVICE 01 ================= */
/* ================================================================================================================================== */
@media screen and (min-width: 801px) and (max-width: 1024px) {
  	.container {width: 98%;	margin: 0 auto;}
	.nav-menu {height: auto;}
	div.icons-rt {margin-top: -20px;}
	ul.tngdd {float:left!important;}	
   	.parallax {height: 100%;}	
	.contentBox4a, .contentBox4b, .contentBox4c, .contentBox4d {width: 48%; margin: 1%; padding: 0;}
	.medfield {width: 98%!important;} /*used for the search box length in the sidebar*/
}
/* ================================================================================================================================== */
                                         /* ================== LG DEVICE 02 ================= */
/* ================================================================================================================================== */
@media screen and (min-width: 1025px) and (max-width: 1279px) {
	.container {width: 98%; margin: 0 auto;}
	div.icons-rt {margin-top: -20px;}
	.medfield {width: 220px!important;} /*used for the search box length in the sidebar*/
}














