/* Site Navigation
---------------------------------------------------------------------------------------------------- */

.genesis-nav-menu {
    clear: both;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    width: 100%;
}
.genesis-nav-menu .menu-item {
    display: inline-block;
    margin-bottom: 0;
    padding-bottom: 0;
    position: relative;
    text-align: center;
}
.genesis-nav-menu a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 23px 20px;
}
.genesis-nav-menu .sub-menu {
    left: -9999px;
    opacity: 0;
    position: absolute;
    width: 200px;
    z-index: 99;
}
.genesis-nav-menu > .menu-item:hover > .sub-menu {
    left: 50%;
    margin-left: -100px;
    opacity: 1;
}
.genesis-nav-menu .sub-menu:after,
.genesis-nav-menu .sub-menu:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    border-bottom-color: #000;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.genesis-nav-menu .sub-menu:after {
    border-width: 10px;
    margin-left: -10px;
}
.genesis-nav-menu .sub-menu:before {
    border-width: 11px;
    margin-left: -11px;
}
.genesis-nav-menu .sub-menu .sub-menu:after,
.genesis-nav-menu .sub-menu .sub-menu:before {
    display: none;
}
.genesis-nav-menu .sub-menu li a {
    background-color: #000;
    font-size: 14px;
    letter-spacing: 0;
    padding: 20px;
    position: relative;
    text-transform: none;
    width: 200px;
}
.genesis-nav-menu .sub-menu a:focus,
.genesis-nav-menu .sub-menu a:hover,
.genesis-nav-menu .sub-menu .current-menu-item > a:focus,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover {
    background-color: #fff;
    color: #5da44f;
}
.genesis-nav-menu .sub-menu .sub-menu {
    margin: -55px 0 0;
    width: 200px;
}
.genesis-nav-menu .menu-item:hover > .sub-menu > .menu-item:hover > .sub-menu {
    left: 199px;
    margin-left: 0;
    opacity: 1;
}
.genesis-nav-menu > .first > a {
    padding-left: 0;
}
.genesis-nav-menu > .last > a {
    padding-right: 0;
}
.genesis-nav-menu > .right {
    float: right;
}
.genesis-nav-menu > .highlight a {
    border-bottom: 3px solid #5da44f;
    padding-bottom: 20px;
}

.header-outer-block {
    background-color: #1B347F;
}

.header-small-logo{
    display: block;
    position: absolute;
    bottom: 5px;
    left: calc(50% - 490px);
    z-index: 9999;
}
.header-small-logo img{
    height: 0;
    transition-duration: .3s;
    transition-timing-function: linear;
}
body.small-header .header-small-logo img{
    height: 35px;
}

a.see-more-link.underline {
    text-decoration: underline;
}

.header-outer-block .site-header{
    overflow-y: hidden;
    transition-duration: .3s;
    transition-timing-function: linear;
}
body.small-header .header-outer-block .site-header{
    height: 0;
}
body .site-container .site-header{
    background-color: #2e4a9e;
    height: 120px;
}
.site-container .site-header .wrap{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.site-container .site-header .wrap .header-widget-area{
    margin-top: 0;
}

.header-outer-block .nav-primary{
    background-color: #1b347f;
    border: none;
}
.header-outer-block .nav-primary .sub-menu{
    background-color: #ffffff;
}
.header-outer-block .nav-primary ul.genesis-nav-menu{
    text-align: center;
    margin-bottom: 0;
    position: relative;
}
.header-outer-block .nav-primary ul .sub-menu-toggle{
    background-color: #ffffff;
    color: #494949;
}
.header-outer-block .nav-primary ul li{
    position: relative;
}
.nav-primary.genesis-nav-menu a:hover,
.header-outer-block .nav-primary .genesis-nav-menu .menu-item a:hover{
    text-decoration: none;
}

.site-container #genesis-mobile-nav-primary{
    font-family: 'Oswald', sans-serif;
    background-color: #1b347f;
    color: #ffffff;
}

.header-outer-block .nav-primary ul li.header-search-outer{
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    padding: 4px 0;
    transition-timing-function: linear;
    transition-duration: .3s;
    overflow: hidden;
}
.header-outer-block .nav-primary ul li.header-search-outer .input-container{
    overflow: hidden;
    flex: 1;
}
.header-outer-block .nav-primary ul li.header-search-outer .header-search-form{
    align-items: stretch;
}
.header-outer-block .nav-primary ul li.header-search-outer .search-btn{
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    font-family: FontAwesome;
    outline:0 !important;
}
.nav-primary ul li.header-search-outer .search-btn:before{
    content: "\f002";
}
.nav-primary ul li.header-search-outer input{
    border-radius: 0;
    flex: 1;
    transition-timing-function: linear;
    transition-duration: .3s;
}

.site-header .header-social-menu{
    position: absolute;
    right: 0;
    top: 0;
}

.site-header .header-social-menu li{
    float: left;
    padding-top: 22px;
    padding-bottom: 5px;
    width: 35px;
    text-align: center;
    background-color: #aa0f0f;
    margin-right: 5px;
    margin-bottom: 0;
}
.header-outer-block .header-social-menu li a{
    font-family: FontAwesome;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    padding: 0;
}
.header-outer-block .header-social-menu .facebook-link:before{
    content: "\f09a";
}
.header-outer-block .header-social-menu .twitter-link:before{
    content: "\f099";
}
.header-outer-block .header-social-menu .pinterest-link:before{
    content: "\f0d2";
}
.header-outer-block .header-social-menu .instagram-link:before{
    content: "\f16d";
}
.header-outer-block .menu .header-social-menu{
    margin-top: 10px;
}
.header-outer-block .menu .header-social-menu li{
    float: left;
    padding: 8px 0 5px 0;
    width: 35px;
    text-align: center;
    margin-right: 5px;
    margin-bottom: 0;
}
.header-outer-block .header-social-menu li:last-child,
.header-outer-block .menu .header-social-menu li:last-child{
    margin-right: 0;
}

.header-outer-block .nav-primary ul li.menu-item a,
.header-outer-block .nav-primary ul li.menu-item.current-menu-item a{
    color: #f6d50a;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    position: relative;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    background-color: transparent;
    padding: 15px 20px;
    letter-spacing: 1px;
}

/* Float Clearing
--------------------------------------------- */

.clearfix:before,
.entry:before,
.entry-content:before,
.footer-widgets:before,
.nav-primary:before,
.nav-secondary:before,
.pagination:before,
body:not(.single) .site-container:before,
.site-footer:before,
.site-header:before,
body:not(.single) .site-inner:before,
.widget:before,
.wrap:before {
    content: " ";
    display: table;
}

.clearfix:after,
.entry:after,
.entry-content:after,
.footer-widgets:after,
.nav-primary:after,
.nav-secondary:after,
.pagination:after,
body:not(.single) .site-container:after,
.site-footer:after,
.site-header:after,
body:not(.single) .site-inner:after,
.widget:after,
.wrap:after {
    clear: both;
    content: " ";
    display: table;
}

/* Defaults
---------------------------------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */

html {
    font-size: 62.5%; /* 10px browser default */
}

/* Chrome fix */
body > div {
    font-size: 1.8rem;
}

body {
    color: #444;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-size: 1.8rem;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    line-height: 1.625;
    margin: 0;
}

body .no-padding{
    padding: 0
}

html body.custom-background{
    margin: 0;
    background-color: #ffffff;
}

body.double-sidebars .site-inner,
body.full-width-content .site-inner {
    max-width: 100%;
    width: 100%;
}

a:hover,
a:focus {
    color: #000;
    text-decoration: none;
}

p {
    margin: 0 0 28px;
    padding: 0;
}
ol,
ul {
    /*margin: 0;*/
    padding: 0;
    margin: 0 0 28px;
}
li {
    list-style-type: none;
}
b,
strong {
    font-weight: 700;
}
em,
i {
    font-style: italic;
}
mark {
    background: #ddd;
    color: #000;
}
blockquote {
    font-family: 'Oswald', sans-serif;
    margin: 40px;
}
blockquote::before {
    content: "\201C";
    display: block;
    font-size: 30px;
    font-size: 3rem;
    height: 0;
    left: -20px;
    position: relative;
    top: -10px;
}
cite {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
mark {
    background: #f5f5f5;
    color: #000;
}
/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    /*margin: 0 0 10px;*/
    -webkit-backface-visibility: hidden;
}
h1 {
    font-size: 36px;
    /*font-weight: 400;*/
    line-height: 1.2;
    font-size: 4rem;
}
h2 {
    font-size: 30px;
    font-size: 3rem;
}
h3 {
    font-size: 24px;
    font-size: 2.4rem;
}
h4 {
    font-size: 20px;
    font-size: 2rem;
}
h5 {
    font-size: 18px;
    font-size: 1.8rem;
}
h6 {
    font-size: 16px;
    font-size: 1.6rem;
}
/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
    max-width: 100%;
}
img {
    height: auto;
}
figure {
    margin: 0;
}

.content-area iframe{
    margin: 0 auto;
    display: block;
}
/* Screen Reader Text
--------------------------------------------- */

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    position: absolute !important;
    overflow: hidden;
    word-wrap: normal !important;
}
.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.genesis-nav-menu .search input[type="submit"]:focus,
.widget_search input[type="submit"]:focus  {
    clip: auto !important;
    height: auto;
    width: auto;
    display: block;
    font-size: 1em;
    font-weight: bold;
    padding: 15px 23px 14px;
    color: #000;
    background: #fff;
    z-index: 100000; /* Above WP toolbar. */
    text-decoration: none;
    box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
}
.more-link {
    position: relative;
}

/* Structure and Layout
---------------------------------------------------------------------------------------------------- */

/* Site Containers
--------------------------------------------- */


.wrap {
    margin: 0 auto;
    max-width: 1280px;
}
.site-inner {
    clear: both;
    padding-top: 40px;
    word-wrap: break-word;
}

body .site-container{
    background-color: rgb(240,240,240);
}

body .site-container .site-inner {
    position: relative;
    padding-top: 65px;
}


.content-sidebar .site-inner,
.sidebar-content .site-inner{
    max-width: 1240px;
}
.sidebar-content-sidebar .content-sidebar-wrap, .sidebar-content .content-sidebar-wrap{
    width: 100%;
    float: right;
}
.content-sidebar .content,
.sidebar-content-sidebar .content {
    float: left;
}
.sidebar-content-sidebar .content{
    /*width: calc(100% - 500px);*/
}
.sidebar-content .content{
    width: calc(100% - 180px);
}
.sidebar-content-sidebar .category-container {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
}

/* Column Widths and Positions
--------------------------------------------- */

/* Content */

.content {
    float: right;
}
.content-sidebar .content {
    float: left;
}
.full-width-content .content {
    width: 100%;
}
/* Primary Sidebar */
.sidebar-primary {
    float: right;
    width: 320px;
    padding: 10px 10px 10px 10px;
}

.sidebar-content .sidebar-primary {
    float: left;
}

/* Secondary Sidebar */
.sidebar-secondary {
    height: 0;
    overflow: hidden;
    width: 180px;
    padding: 10px 10px 10px 10px;
    margin-bottom: 10px;
    display: none;
}

.sidebar-content-sidebar .content-sidebar-wrap .sidebar-secondary {
    min-height: 650px;
    height: auto;
    display: block;
    width: 180px;
    float: left;
}

.scrollable-left-sidebar,
.scrollable-right-sidebar {
    width: 320px;
    padding: 0 10px;
}

.scrollable-left-sidebar {
    text-align: right;
}

.sidebar-content .content-sidebar-wrap .sidebar-secondary {
    height: auto;
    display: block;
    width: 180px;
    float: left;
}

.sidebar-primary .widget,
.sidebar-primary .sidebar-widget {
    padding-right: 0;
    padding-left: 0;
}
.sidebar-primary .sidebar-widget .slideshow-nav{
    text-align: center;
}
.sidebar-primary .sidebar-widget .post-content{
    font-weight: 300;
}
.content-sidebar-wrap #post-bottom-widget-wrap{
    margin-top: 20px;
}
.content-sidebar-wrap .widget{
    margin-bottom: 0;
}
.sidebar-widget .btn-slideshow {
    color: #ffffff;
}

/* Genesis
--------------------------------------------- */

.after-entry,
.archive-description {
    background-color: #fff;
    font-size: 18px;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding: 20px;
}
.archive-title + p {
    margin-top: 20px;
}
.archive-description p:last-child {
    margin-bottom: 0;
}
.full-width-content .archive-description,
.full-width-content .breadcrumb {
    text-align: center;
}

/* Titles
--------------------------------------------- */

.entry-title {
    font-size: 36px;
    font-size: 3.6rem;
}
.entry-title a,
.sidebar .widget-title a {
    color: #000;
    text-decoration: none;
}
.entry-title a:hover,
.entry-title a:focus {
    color: #e36344;
}
.archive-description .entry-title,
.archive-title,
.widget-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    margin: 0;
}
.archive-title {
    margin-bottom: 0;
}
.large-title {
    font-size: 44px;
    font-size: 4.4rem;
    margin-bottom: 20px;
}

/* WordPress
--------------------------------------------- */

a.aligncenter img {
    display: block;
    margin: 0 auto;
}
a.alignnone {
    display: inline-block;
}
.alignleft {
    float: left;
    text-align: left;
}
.alignright {
    float: right;
    text-align: right;
}
a.alignleft,
a.alignnone,
a.alignright {
    max-width: 100%;
}
img.centered,
.aligncenter {
    display: block;
    margin: 0 auto 24px;
}
img.alignnone,
.alignnone {
    margin-bottom: 12px;
}
a.alignleft,
img.alignleft,
.wp-caption.alignleft {
    margin: 0 24px 24px 0;
}
a.alignright,
img.alignright,
.wp-caption.alignright {
    margin: 0 0 24px 24px;
}
.wp-caption-text {
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}
.entry-content p.wp-caption-text {
    margin-bottom: 0;
}
.entry-content .wp-audio-shortcode,
.entry-content .wp-playlist,
.entry-content .wp-video {
    margin: 0 0 28px;
}

/* Skip Links
---------------------------------------------------------------------------------------------------- */

.genesis-skip-link {
    margin: 0;
}
.genesis-skip-link li {
    height: 0;
    width: 0;
    list-style: none;
}
/* Site Header
---------------------------------------------------------------------------------------------------- */

.site-header {
    background-color: #fff;
}
.site-header > .wrap {
    padding: 20px 0;
}

/* Title Area
--------------------------------------------- */

.title-area {
    float: left;
    padding: 6px 0;
    width: 300px;
}
.header-image .title-area {
    margin: 0 auto;
    max-width: 300px;
    padding: 0;
}
.header-full-width .title-area {
    float: none;
    text-align: center;
    width: 100%;
}
.site-title {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-size: 4.2rem;
    line-height: 1.2;
}
.site-title a,
.site-title a:hover,
.site-title a:focus {
    color: #000;
    text-decoration: none;
}
.header-image .site-title > a, .header-image .site-title .header-logo-area a {
    background-position: center !important;
    background-size: contain !important;
    float: left;
    min-height: 80px;
    width: 100%;
}

.site-description {
    font-size: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}
.site-description,
.site-title {
    margin-bottom: 0;
}
.header-image .site-description,
.header-image .site-title {
    display: block;
    text-indent: -9999px;
}

/* Widget Area
--------------------------------------------- */

.site-header .widget-area {
    float: right;
    text-align: right;
    width: 800px;
}

/* Accessible Menu
--------------------------------------------- */

.menu .menu-item:focus {
    position: static;
}
.menu .menu-item > a:focus + ul.sub-menu,
.menu .menu-item.sfHover > ul.sub-menu {
    left: auto;
    opacity: 1;
}
.nav-primary .menu .menu-item > a:focus + ul.sub-menu,
.nav-primary .menu .menu-item.sfHover > ul.sub-menu,
.site-header .menu .menu-item > a:focus + ul.sub-menu,
.site-header .menu .menu-item.sfHover > ul.sub-menu  {
    left: 50%;
    margin-left: -100px;
}
.nav-primary .menu .menu-item ul.sub-menu .menu-item a:focus + ul.sub-menu,
.nav-primary .menu .menu-item.sfHover > ul.sub-menu > .menu-item.sfHover > ul.sub-menu,
.site-header .menu .menu-item ul.sub-menu .menu-item a:focus + ul.sub-menu,
.site-header .menu .menu-item.sfHover > ul.sub-menu > .menu-item.sfHover > ul.sub-menu {
    left: 199px;
    margin-left: 0;
    opacity: 1;
}
.sub-menu-toggle,
.menu-toggle {
    display: none;
    visibility: hidden;
}

/* Footer Navigation
--------------------------------------------- */
.site-footer .genesis-nav-menu a {
    padding: 0 20px;
}

.site-footer h5{
    color: #585858;
    font-weight: bold;
    text-align: left;
}
.site-footer .menu li{
    text-align: left;
}
.site-footer .menu-main-navigation-container .menu li{
    float: left;
    width: 50%;
}
.site-footer .menu li a{
    color: #f6d50a;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}
.site-footer .menu li.current-menu-item a{
    color: black;
}
.site-footer .menu-ydd-social-menu-container .menu li a{
    color: #ffffff;
    width: 40px;
    height: 40px;
    overflow: hidden;
    text-indent: 9999px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: block;
    position: relative;
    float: left;
    margin: 0 0 9px 9px;
}
.site-footer .menu-ydd-social-menu-container .menu li:first-child a{
    margin-left: 0;
}
.site-footer .menu-ydd-social-menu-container .menu li a:before{
    font-family: FontAwesome;
    text-decoration: none;
    font-size: 20px;
    position: absolute;
    top: 5px;
    left: 10px;
    text-indent: 0;
}
.site-footer .menu-ydd-social-menu-container .menu li.facebook-link a:before{
    content: "\f09a";
}
.site-footer .menu-ydd-social-menu-container .menu li.twitter-link a:before{
    content: "\f099";
}
.site-footer .menu-ydd-social-menu-container .menu li.pinterest-link a:before{
    content: "\f0d2";
}
.site-footer .menu-ydd-social-menu-container .menu li.instagram-link a:before{
    content: "\f16d";
}

/* Content Area
---------------------------------------------------------------------------------------------------- */

/* Entries
--------------------------------------------- */

.entry {
    background-color: #fff;
    margin-bottom: 10px;
    padding: 20px;
}
.full-width-content .entry-header {
    text-align: center;
}
.full-width-content .entry-header::after {
    border-bottom: 1px solid #000;
    content: '';
    display: block;
    margin: 0 auto 40px;
    padding-bottom: 10px;
    width: 80px;
}
.featured-content .entry-header::after,
.post-type-archive-books .entry-header::after,
.post-type-archive-portfolio .entry-header::after {
    display: none;
}
.entry-content ol,
.entry-content ul {
    margin-bottom: 28px;
    margin-left: 40px;
}
.entry-content ol > li {
    list-style-type: decimal;
}
.entry-content ul > li {
    list-style-type: disc;
}
.entry-content ol ol,
.entry-content ul ul {
    margin-bottom: 0;
}
.entry-content code {
    background-color: #000;
    color: #eee;
}

/* Entry Meta
--------------------------------------------- */

p.entry-meta,
p.book-author {
    color: #5a636c;
    font-size: 14px;
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 0;
}
.entry-header .entry-meta,
.entry-header p.book-author {
    margin-bottom: 24px;
}
.book-author .book-author-link,
.entry-header .entry-meta .entry-time,
.entry-header .entry-meta .entry-author-link {
    color: #5a636c;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 2px;
    margin-left: 4px;
    text-transform: uppercase;
    text-decoration: none;
}
.book-author .book-author-link:focus,
.book-author .book-author-link:hover,
.entry-header .entry-meta .entry-author-link:focus,
.entry-header .entry-meta .entry-author-link:hover {
    color: #e36344;
}
.entry-content .entry-image {
    margin-bottom: 30px;
}
.entry-footer .entry-meta {
    border-top: 1px solid #eee;
    padding-top: 24px;
}
.entry-categories,
.entry-tags {
    display: block;
}
.entry-comments-link::before {
    content: "\2014";
    margin: 0 6px 0 2px;
}

/* Sidebar
---------------------------------------------------------------------------------------------------- */

.sidebar {
    font-size: 1.6rem;
}
.sidebar .widget {
    padding-bottom: 5px;
}

/* Site Footer
---------------------------------------------------------------------------------------------------- */

.site-footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    font-size: 1.6rem;
    line-height: 1;
    padding: 70px 0 100px;
    text-align: center;
}
.site-footer p {
    margin-bottom: 0;
}

/* Single Post
---------------------------------------------------------------------------------------------------- */
#content-wrapper.spine-single-post-tmpl,
#content-wrapper  {
    color: #444;
    background-color: white;
    /*width: calc(100% - 20px);*/
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
}

.spine-sponsored-links-tmpl .after-entry,
.spine-single-post-tmpl .after-entry {
    padding: 20px;
}
.spine-sponsored-links-tmpl .content-area figure,
.spine-single-post-tmpl .content-area figure {
    margin: 0 auto;
    text-align: center;
}
.spine-sponsored-links-tmpl .post-area,
.spine-single-post-tmpl .post-area {
    padding: 0 20px 20px 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: normal;
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}
.spine-sponsored-links-tmpl .more-articles-block .posts-list,
.spine-single-post-tmpl .more-articles-block .posts-list {
    margin-top: 10px;
}
.spine-sponsored-links-tmpl .more-articles-block,
.spine-single-post-tmpl .more-articles-block {
    margin-top: 25px;
    padding: 0 20px;
}
.spine-sponsored-links-tmpl .more-articles-title,
.spine-single-post-tmpl .more-articles-title {
    font-size: 22px;
    letter-spacing: 1px;
    color: black;
    font-weight: 500;
}
.spine-sponsored-links-tmpl h1.story-title,
.spine-single-post-tmpl h1.story-title {
    font-size: 30px;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    letter-spacing: normal;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 5px;
}
.spine-sponsored-links-tmpl #post-info,
.spine-single-post-tmpl #post-info {
    font: 300 14px/14px 'Oswald',sans-serif;
    margin-bottom: 5px;
    /*width: 100%;*/
    color: #444;
    display: block;
}
.spine-sponsored-links-tmpl span.story-cat,
.spine-single-post-tmpl span.story-cat,
.single .story-cat {
    font-size: 14px;
    font-weight: 300;
    line-height: 100%;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.single .story-cat {
    margin-top: 0;
    float: left;
}
.spine-sponsored-links-tmpl .content-area iframe,
.spine-single-post-tmpl .content-area iframe {
    /*width: 100%;*/
    margin: 0 auto !important;
}

twitterwidget {
    margin: 0 auto;
}

.spine-sponsored-links-tmpl time.post-date,
.spine-single-post-tmpl time.post-date {
    color: #aaa;
    font: 300 14px/14px 'Oswald',sans-serif;
}
.spine-sponsored-links-tmpl span.author-credit,
.spine-single-post-tmpl span.author-credit {
    display: inline-block;
    color: #444;
    font: 300 14px/14px 'Oswald',sans-serif;
    margin-bottom: 5px;
}

.spine-sponsored-links-tmpl .spine-fb-share-btn-shortcode,
.spine-single-post-tmpl .spine-fb-share-btn-shortcode {
    margin: 20px 0;
}

.single .post-area {
    padding-top: 10px;
}

.post-area .content-area {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1.8;
    font-family: Helvetica, sans-serif;
}

/* Post Block
---------------------------------------------------------------------------------------------------- */
.relative{
    position: relative;
}
.spine-posts-block .load-more-btn,
.spine-posts-block .load-more-btn.disabled{
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 40px;
    text-transform: uppercase;
    color: #f6d50a;
    letter-spacing: 1px;
    line-height: 2;
}
.spine-posts-block .category-title-block{
    position: absolute;
    bottom: 20px;
    left: -10px;
    padding: 7px 13px;
    padding-bottom: 5px;
    line-height: 0;
}
.spine-posts-block .block-link{
    display: inline-block;
    height: 100%;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
}

.spine-posts-block .image-block{
    padding-bottom: 60%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.spine-posts-block .column-block-1 .image-block {
    padding: 0;
}

.spine-posts-block .column-block-1 .image-block img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

.spine-posts-block .category-title-block::after{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    width: 0;
    height: 0;
    border-right: 10px solid #485c98;
    border-top: 0 solid transparent;
    border-bottom: 8px solid transparent;
}
.spine-posts-block .category-title-block .category-title{
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    color: #f6d50a;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
}


.spine-posts-block .posts-list .thumbnail{
    border: none;
    padding: 0;
    background-color: transparent;
}
.spine-posts-block .posts-list .thumbnail .caption{
    padding: 0;
}
.spine-posts-block .posts-list .thumbnail .caption h4{
    color: #333333;
    font-size: 16px;
    margin-bottom: 5px;
    text-decoration: none;
    font-weight: 400;
    line-height: 1.4;
    font-family: HCo Gotham SSm,sans-serif;
}

.widget-wrap .spine-posts-block .posts-list .thumbnail .caption h4 {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.spine-posts-block .posts-list .column-block-1 .thumbnail .caption h4{
    font-size: 22px;
    font-weight: 700;
    color: #2e4a9e;
}

.spine-posts-block .posts-list .post-list-item.column-block-3:nth-of-type(3n+1) {
    clear: left;
}

.spine-posts-block .posts-list .post-list-item.column-block-2:nth-of-type(2n+1) {
    clear: left;
}

.spine-posts-block .post-list-item:nth-child(2n) .col-md-6 {
    float: right;
}

.spine-posts-block .posts-header{
    color: #f6d50a;
}

/* Contact Us
---------------------------------------------------------------------------------------------------- */

.modal-body .wpcf7-textarea,
.modal-body .wpcf7-text{
    width: 100%;
}

/* Other
---------------------------------------------------------------------------------------------------- */
.js-template-render {
    font-size: 18px;
    font-weight: 400;
    font-family: Helvetica, "times new roman", sans-serif;
    letter-spacing: normal;
    min-height: 600px;
}

.js-template-render img {
    max-height: 400px;
    width: auto;
}
@media (max-width: 1024px) {
    .js-template-render img {
        max-height: 300px;
    }

    .js-template-render {
        min-height: 400px
    }
}


.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
    /*background-color: #485c98;*/
}

.site-inner .panel-primary>.panel-heading {
    background-color: #1b347f;
}

.site-inner .pagination>.active>a, .site-inner .pagination>.active>a:focus, .site-inner .pagination>.active>a:hover, .site-inner .pagination>.active>span, .site-inner .pagination>.active>span:focus, .site-inner .pagination>.active>span:hover {
    background-color: #1b347f;
    color: #ffffff;
}

.site-inner .pagination>li>a, .site-inner .pagination>li>span {
    color: #1b347f;
}

.single-gallery .slideshow-navigation {
    margin-bottom: 25px;
}

.btn-progress::before {
    background-color: #2e4a9e;
}


/**
datepicker
 */
#ui-datepicker-div.ui-widget {
    font-size: .8em;
}
.ui-datepicker-header.ui-widget-header {
    background: #1b347f;
    color: #fff;
}

.ui-datepicker-header .ui-datepicker-prev .ui-icon:before {
    font-family: FontAwesome;
    content: "\f191";
    color: #f6d50a;
}

.ui-datepicker-header .ui-datepicker-next .ui-icon:before {
    font-family: FontAwesome;
    content: "\f152";
    color: #f6d50a;
}

.ui-datepicker-header .ui-datepicker-prev.ui-state-hover .ui-icon:before,
.ui-datepicker-header .ui-datepicker-next.ui-state-hover .ui-icon:before {
    color: #1b347f;
}

.ui-datepicker-header .ui-datepicker-prev .ui-icon {
    background: none;
    text-indent: 0;
    height: 14px;
    width: 14px;
    line-height: 14px;
    font-size: 14px;
    color: transparent;
    margin-left: -7px;
    margin-top: -7px;
}

.ui-datepicker-header .ui-datepicker-next .ui-icon {
    background: none;
    text-indent: 0;
    height: 14px;
    width: 14px;
    line-height: 14px;
    font-size: 14px;
    color: transparent;
    margin-left: -7px;
    margin-top: -7px;
}

.ui-datepicker-header .ui-datepicker-prev,
.ui-datepicker-header .ui-datepicker-prev.ui-state-hover {
    top: 3px;
    left: 3px;
}

.ui-datepicker-header .ui-datepicker-next,
.ui-datepicker-header .ui-datepicker-next.ui-state-hover {
    top: 3px;
    right: 3px;
}

.ui-datepicker-header .ui-datepicker-prev.ui-state-hover,
.ui-datepicker-header .ui-datepicker-next.ui-state-hover {
    background: #f6d50a;
}

#ui-datepicker-div.ui-widget-content .ui-state-default.ui-state-hover,
#ui-datepicker-div.ui-widget-content .ui-state-default.ui-state-active {
    background: #f6d50a;
}

#ui-datepicker-div.ui-widget-content .ui-state-default {
    background: transparent;
    color: #1b347f;
    border-color: #1b347f;
    text-align: center;
}


/* Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (min-width: 1024px) {
    .header-outer-block .menu .mob-social-menu-cont{
        display: none;
    }

    .header-outer-block .nav-primary ul li.header-search-outer.collapsed .search-btn{
        color: white;
    }
    .header-outer-block .nav-primary ul .header-search-outer.collapsed{
        width: 30px;
    }
    .header-outer-block .nav-primary ul li.header-search-outer.collapsed input{
        padding-left: 0;
        padding-right: 0;
        border-right: none;
    }
}

@media only screen and (max-width: 1340px) {
    .site-inner,
    .wrap {
        max-width: 1140px;
    }
    .site-header .widget-area {
        width: 800px;
    }
    .sidebar-primary {
        width: 320px;
    }
}

@media only screen and (max-width: 1280px) {
    .content-sidebar .site-inner,
    .sidebar-content .site-inner{
        max-width: 960px;
    }
    .sidebar-content-sidebar .site-inner{
        /*max-width: 960px;*/
    }
    .sidebar-content-sidebar .content-sidebar-wrap{
        /*width: calc(100% - 180px);*/
    }

    .site-header .widget-area {
        width: 630px;
    }
    .sidebar-content-sidebar .content{
        /*width: 440px;*/
        /*width: calc(100% - 500px);*/
        overflow: hidden;
    }
    .sidebar-content .content{
        /*width: 440px;*/
        width: calc(100% - 180px);
        overflow: hidden;
    }
    .sidebar-primary,
    .title-area {
        width: 320px;
    }
}


@media (max-width: 1255px) {
    .sidebar-content-sidebar .content-sidebar-wrap {
        max-width: initial;
    }
    .sidebar-content-sidebar .content{
        width: calc(100% - 320px);
    }
    .sidebar-content .content{
        width: calc(100%);
    }
    .sidebar-secondary {
        display: none !important;
    }
    .sidebar-content-sidebar .content-sidebar-wrap {
        width: 100%;
    }
}

@media (min-width: 1256px) and (max-width: 1356px) {
  .single .sidebar-content-sidebar .content{
    width: calc(100% - 320px);
  }
}

@media only screen and (max-width: 1200px) {
    .site-inner,
    .wrap {
        max-width: 960px;
    }

    .site-header .widget-area {
        width: 620px;
    }
}

@media (max-width: 1075px) {
    .sidebar-primary {
        display: none !important;
    }
    .sidebar-content-sidebar .content{
        width: 100%;
        overflow: hidden;
    }
    body.single .site-container, body.page:not(.home) .site-container {
        background: #FFF !important;
    }
    body.single #content-wrapper, body.page:not(.home) #content-wrapper {
        box-shadow: none !important;
    }
}

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

    .content,
    .js .genesis-nav-menu .sub-menu a,
    .js .genesis-nav-menu .sub-menu,
    .sidebar-primary,
    .site-header .widget-area,
    .title-area {
        width: 100%;
    }
    .site-header .widget-area {
        margin-top: 20px;
    }
    .site-header .wrap {
        padding-left: 5%;
        padding-right: 5%;
    }
    .genesis-nav-menu li,
    .header-image .title-area,
    .site-header ul.genesis-nav-menu,
    .site-header .search-form {
        float: none;
    }
    .genesis-nav-menu,
    .site-description,
    .site-header .title-area,
    .site-header .widget-area,
    .site-title {
        text-align: center;
    }
    .site-header .search-form {
        margin: 16px auto;
    }
    .header-outer-block nav{
        display: none;
        position: relative;
        top: 0;
    }
    .header-outer-block nav.nav-primary{
        border-width: 0;
        padding-bottom: 20px;
    }
    .menu-toggle,
    .sub-menu-toggle {
        border-width: 0;
        background-color: #fff;
        color: #000;
        display: block;
        margin: 0 auto;
        overflow: hidden;
        text-align: center;
        visibility: visible;
    }
    .menu-toggle {
        line-height: 20px;
        position: relative;
        right: 0;
        z-index: 1000;
        width: 100%;
    }
    .menu-toggle::before {
        margin-right: 10px;
        text-rendering: auto;
    }
    .sub-menu-toggle {
        float: right;
        padding: 8px;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 100;
    }
    .sub-menu-toggle:before {
        display: inline-block;
        text-rendering: auto;
        -webkit-transform: rotate( 0 );
        -ms-transform:     rotate( 0 );
        transform:         rotate( 0 );
    }
    .sub-menu-toggle.activated:before {
        -webkit-transform: rotate( 180deg );
        -ms-transform:     rotate( 180deg );
        transform:         rotate( 180deg );
    }
    .header-outer-block .genesis-nav-menu .menu-item {
        display: block;
        float: none;
        margin: 1px 0;
        position: relative;
    }
    .header-outer-block .genesis-nav-menu .menu-item:hover {
        position: relative;
    }
    .header-outer-block .genesis-nav-menu .menu-item a {
        background-color: #fff;
        border: none;
        color: #000;
        padding: 12px 8px;
        width: 100%;
    }
    .header-outer-block .genesis-nav-menu .menu-item a:focus,
    .header-outer-block .genesis-nav-menu .menu-item a:hover {
        color: #e36344;
    }
    .header-outer-block .genesis-nav-menu .sub-menu {
        border: none;
    }
    .header-outer-block .genesis-nav-menu .sub-menu:after,
    .header-outer-block .genesis-nav-menu .sub-menu:before {
        display: none;
    }
    .header-outer-block .genesis-nav-menu > .menu-item:hover > .sub-menu {
        left: auto;
        margin-left: 0;
    }
    .header-outer-block .genesis-nav-menu .menu-item > a:focus ul.sub-menu,
    .header-outer-block .genesis-nav-menu .menu-item > a:focus ul.sub-menu .sub-menu {
        left: 0;
        margin-left: 0;
    }
    .header-outer-block .genesis-nav-menu > .menu-item-has-children > a:after {
        content: none;
    }
    .header-outer-block .genesis-nav-menu .sub-menu {
        clear: both;
        display: none;
        margin: 0;
        opacity: 1;
        padding-left: 15px;
        position: static;
        width: 100%;
    }
    .header-outer-block .genesis-nav-menu .sub-menu .sub-menu {
        margin: 0;
    }

    .header-outer-block nav.nav-primary {
        display: none;
        position: relative;
        top: 0;
    }

    body.small-header nav.nav-primary{
        padding-bottom: 30px;
    }

    body .header-outer-block .site-header{
        height: 0;
    }
    body .header-small-logo img{
        height: 35px;
    }
    body .site-container .site-inner{
        padding-top: 55px;
    }
    body .header-outer-block .menu-toggle:before{
        font-size: 27px;
        line-height: 45px;
    }
    body .header-outer-block .menu-toggle{
        width: 30px;
        margin-right: 20px;
        line-height: 45px;
        padding: 0;
        height: 45px;
        position: relative;
        right: 0;
        outline:0 !important;
    }
    .header-outer-block .header-small-logo{
        top: 5px;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        margin-left: 0;
    }

    .header-outer-block .nav-primary ul li.menu-item a,
    .header-outer-block .nav-primary ul li.menu-item.current-menu-item a{
        padding: 12px 8px;
    }
    .header-outer-block .nav-primary ul li:after{
        display: none;
    }
    .header-outer-block .nav-primary ul li.header-search-outer .search-btn{
        display: none;
    }
    .header-outer-block .nav-primary ul li.header-search-outer{
        position: static;
        transition-duration: 0s;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 1020px) {
    .site-inner,
    .wrap {
        max-width: 800px;
    }
    .content,
    .sidebar-content-sidebar .content,
    .sidebar-content-sidebar .content-sidebar-wrap,
    .sidebar-primary,
    .sidebar-secondary,
    .site-header .widget-area,
    .title-area {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .site-footer .menu-main-navigation-container .menu li{
        float: none;
        width: auto;
    }
}

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

    body > div {
        font-size: 1.6rem;
    }
    body {
        font-size: 16px;
        font-size: 1.6rem;
    }
    .wrap {
        padding-left: 5%;
        padding-right: 5%;
    }
    .after-entry,
    .archive-description,
    .comment-respond,
    .entry,
    .entry-comments,
    .entry-pings,
    .sidebar .widget {
        padding: 30px 0;
        margin-bottom: 5%;
    }
    .sidebar {
        margin-bottom: 5%;
    }
    .pagination {
        margin: 5% auto;
    }
    .archive-pagination li a {
        margin-bottom: 4px;
    }
    .large-title {
        font-size: 36px;
        font-size: 3.6rem;
    }

}

@media only screen and (max-width: 1002px) and (min-width: 768px) {
    .spine-sponsored-links-tmpl h1.story-title,
    .spine-single-post-tmpl h1.story-title {
        font-size: 28px;
    }
}

@media only screen and (max-width: 767px){
    .site-footer .menu li.menu-item a{
        text-align: center;
    }
    .site-footer .menu li.menu-item{
        width: 49%;
        padding: 10px 0;
    }
    body.full-width-content .site-inner,
    body.sidebar-content-sidebar .site-inner{
        padding: 5% 2% 0;
        padding-top: 55px;
    }
    .pagination.pagination-sm-custom{-
    margin-top: 0;
    }
    .pagination.pagination-sm-custom li a{
        padding: 5px 10px;
        font-size: 12px;
        line-height: 1.5;
    }

    .site-container .site-header .wrap{
        align-items: flex-start;
        position: relative;
        padding-left: 2%;
        padding-right: 2%;
    }
    .site-container .site-header .wrap .title-area{
        margin: 0 auto;
        width: 235px;
    }
    .site-container .site-header .wrap .header-widget-area{
        margin-top: 0;
    }
    .site-header .header-social-menu{
        right: 2%;
    }
    .spine-sponsored-links-tmpl .post-area,
    .spine-single-post-tmpl .post-area {
        padding: 0;
    }

    .site-footer .menu li.menu-item a{
        text-align: center;
    }
    .site-footer .menu li.menu-item{
        width: 49%;
        padding: 10px 0;
    }
    .pagination.pagination-sm-custom{
        margin-top: 0;
    }
    .pagination.pagination-sm-custom li a{
        padding: 5px 10px;
        font-size: 12px;
        line-height: 1.5;
    }

    .spine-posts-block .posts-list .post-list-item:nth-of-type(3n+1) {
        clear: none;
    }

    .spine-posts-block .posts-list .post-list-item:nth-of-type(2n+1) {
        clear: left;
    }
}

@media only screen and (max-width: 600px) {
    .js-template-render {
        line-height: 2;
    }
}

@media screen and (max-width: 599px) {
    .spine-sponsored-links-tmpl h1.story-title,
    .spine-single-post-tmpl h1.story-title {
        font-size: 28px;
    }
}

@media only screen and (max-width: 400px) {
    .spine-posts-block .posts-list .post-list-item {
        width: 100%;
    }
}

.category-posts-block .image-block,
.category-posts-block .text-block {
    /*margin: 20px auto;*/
}

/***************** WOD ******************/
.spine-result-block .word-content,
.spine-result-block:hover .word-content,
.spine-result-block:active .word-content{
    color: #444;
    text-decoration: none;
}

.spine-post-slider .bx-slide .post-header .block-link {
    line-height: 1.2;
}

.spine-posts-block .posts-list .post-list-item {
    margin: 15px 0;
}

.category-posts-block .category-posts-list .category-single-post {
    margin: 50px 0;
}

.content-area ol li {
    list-style-type: decimal;
}

.content-area ul li {
    list-style-type: disc;
}

figure {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}
/***********************************/
/************Footer bottom*********/
.site-container{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.site-inner {
    flex: 1 1 auto;
}

/***********************************/

/**
    Error Template Css
 */

.error404 .content .entry{
    display: none;
}
.error404 .site-inner{
    padding-top: 10px;
}
.not-found-text{
    font-family: Gotham, sans-serif;
    font-weight: 500;
    color: #333;
    text-align: center;
}
.not-found-text .not-found-title{
    font-size: 110px;
    line-height: 1.1;
}
.not-found-text .not-found-descr{
    font-size: 28px;
    max-width: 725px;
}
.not-found-block .not-found-posts{
    margin-top: 100px;
}


/**
    Category template CSS
 */

.spine-featured-block, .category-single-post .clearfix{
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);

}

.category-posts-list .category-single-post .clearfix{
    display: block;
    width: calc(100% - 15px);
    margin-left: 15px;
    background-color: white;
}

@media (max-width: 991px){
    .category-posts-list .category-single-post .clearfix{
        width: calc(100% - 30px);
        margin-left: 15px;
        background-color: white;
    }

    .category-posts-block .content-outer .text-block .title{
        padding: 5px 10px;
    }

    .category-posts-block .content-outer .text-block .description{
        padding: 5px 10px 10px;
    }
}

.archive-description{
    display: none;
}
.category-posts-block{
    padding-bottom: 25px;
}
.category-posts-block .block-link{
    text-decoration: none;
    display: block;
}
.category-posts-block .block-link{
    margin-bottom: 25px;
}

.category-single-post .text-block {
    padding-top: 20px;
}

.category-posts-block .load-more-btn,
.category-posts-block .load-more-btn.disabled{
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 40px;
    text-transform: capitalize;
    color: white;
    letter-spacing: 2px;
}

.category-posts-block .content-outer .text-block .title{
    font-size: 24px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}
.category-posts-block .content-outer .text-block .description{
    color: #555;
    text-decoration: none;
    font: 400 14px/20px Helvetica,sans-serif;
}
.category-posts-block .content-outer .image-block img{
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.category-posts-block .content-outer .image-block .category-title-block{
    position: absolute;
    bottom: 20px;
    left: -10px;
    padding: 7px 13px;
    padding-bottom: 5px;
    line-height: 0;
}
.category-posts-block .content-outer .image-block .category-title-block::after{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    width: 0;
    height: 0;
    border-right: 10px solid #485c98    ;
    border-top: 0 solid transparent;
    border-bottom: 8px solid transparent;
}
.category-posts-block .content-outer .image-block .category-title-block .category-title{
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
}

/**
    Contact Us Template Css
 */




.wpcf7-form label {
    width: 100%;
}

/* Contact Us Templ CSS */

body .modal-backdrop{
    z-index: 1000000;
}
.spine-terms-page-tmpl{
    min-height: 260px;
}
.spine-terms-page-tmpl .wpcf-modal{
    z-index: 1000001;
}
.spine-terms-page-tmpl .feedback-buttons-block .contact-us-btn {
    padding: 10px 20px;
    font-size: 30px;
    background-color: white;
    margin: 20px 0;
    max-width: 260px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    width: 100%;
}
.spine-terms-page-tmpl .feedback-buttons-block .contact-us-btn:hover {
    color: white;
}

.wpcf-modal form input[type=text],
.wpcf-modal form input[type=email],
.wpcf-modal form input[type=tel],
.wpcf-modal form input[type=url] {
    padding: 5px 20px;
    font-size: 18px;
}

.wpcf-modal form input[type=submit] {
    padding: 10px 20px;
    display: block;
    margin: 0 auto;
    border: 2px solid transparent;
}

.wpcf-modal form input[type=submit]:hover {
    background: #ffffff;
}

.wpcf-modal .modal-header .modal-title {
    font-size: 24px;
    text-align: center;
}

.wpcf-modal .modal-header {
    padding: 15px 15px 0;
    border-bottom: none;
}

.wpcf-modal .modal-header .close {
    margin-top: -35px;
    opacity: 1;
    font-size: 30px;
}

.wpcf-modal .modal-footer .btn {
    color: #ffffff;
}

@media screen and (max-width: 767px) {
    .btn-contact-form {
        margin: 5px 0;
        font-size: 20px;
        padding: 5px 10px;
    }

    .page-contact-us .btn-container {
        text-align: center;
    }
}

figure {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/**
    Terms Template Css
 */

body.custom-background{
    background-color: white;
}

.spine-terms-page-tmpl .content-area {
    font-family: 'Oswald', sans-serif;
}

.spine-terms-page-tmpl .story-title {
    font-family: 'Oswald', sans-serif;
}

/**
    Search Template Css
 */

.archive-description{
    display: none;
}
.search-posts-block .load-more-btn{
    margin-bottom: 20px;
}
.search-tmpl-header{
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

.search-tmpl-header b{
    font-style: italic;
}
.search-posts-block .spine-posts-block .posts-list .thumbnail{
    margin-bottom: 10px;
}
.search-posts-block .spine-posts-block .posts-list .thumbnail .caption h4 a{
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: #333333;
}

.search-tmpl-header .definition-link {
    display: block;
    text-decoration: underline;
}

/**
    Featured Content CSS
 */

.spine-featured-block .no-padding{
    padding: 0
}
.spine-featured-block .block-link{
    text-decoration: none;
    display: block;
}
.spine-featured-block .featured-content-outer{
    overflow-y: hidden;
}
@media (min-width: 992px){
    .spine-featured-block .featured-content-outer{
        display: flex;
    }
}
.spine-featured-block .featured-content-outer .text-block{
    padding: 10px 25px 10px 10px;
}
.spine-featured-block .featured-content-outer .text-block .separator{
    height: 1px;
    background-color: white;
    float: right;
    width: 55px;
    margin: 10px 0 15px 0;
}
.spine-featured-block .featured-content-outer .text-block .title{
    font-size: 40px;
    color: white;
    font-family: 'Oswald', sans-serif;
    text-align: right;
    line-height: 39px;
}
.spine-featured-block .featured-content-outer .text-block .subtitle span{
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 13px;
    width: 80px;
    word-wrap: normal;
    text-transform: uppercase;
    text-align: right;
}
.spine-featured-block .featured-content-outer .image-block img{
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}
@media (min-width: 992px){
    .spine-featured-block .featured-content-outer .image-block img{
        min-height: 300px;
    }
}

.image-credit,
.post-area .wp-caption-text {
    margin-top: 9px;
    margin-bottom: 15px;
    font-family: Helvetica, georgia, "times new roman", sans-serif;
    font-size: 8px;
    font-weight: 300;
    text-align: center;
    color: #444;
}

.image-credit > span,
.image-credit > a {
    color: #444;
}

.image-credit > a:hover {
    color: #222;
}

/**
    Auto suggestion
 */

.results__suggestions {
    width: 100%;
    position: absolute;
    top:15px;
    border: 1px solid #2e4a9e;
    background-color: rgba(255,255,255,1);
    z-index: 999999;
    display: none;
    margin-top: 45px;
    box-shadow: 0 7px 17px -3px rgba(150,150,150,.9);
}

.results__suggestions .results__suggestions-item {
    padding: 10px;
    border-bottom: 1px solid #2e4a9e;
}

.results__suggestions .results__suggestions-item:last-child {
    border-bottom: 0;
}

.results__suggestions .results__suggestions-item:hover {
    background-color: #f2f2f2;
    cursor: pointer;
}

.word-of-the-day-widget.archive-description {
    display: block;
}
.gal-next-btn {
    background: #2e4a9e;
}
.gal-next-btn:hover {
    background: #395cc6;
}

.prev-and-next .prev-button a,
.prev-and-next .next-button a {
    background-color: #2e4a9e;
}
.prev-and-next .prev-button a:hover:active,
.prev-and-next .next-button a:hover:active {
    background-color: #485c98;
}
@media screen and (max-width: 768px){
    .prev-and-next.gallery.no-prev .next-btn a {
        background-color: #2e4a9e;
    }
    .prev-and-next.gallery.no-prev .next-btn a:hover:active {
        background-color: #485c98;
    }
}
/* video Template */
.video figure {
    position: relative;
}

.btn-video-cta {
    position: relative;
    display: block;
    background: #2e4a9e;
    color: #ffffff;
    padding: 0 20px;
    height: 65px;
    line-height: 65px;
    border-radius: 0;
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 600;
    font-size: 38px;
}

.btn-video-cta:hover {
    color: #ffffff;
}

/* About Site Block */
.about-site-information__content--title {
    color: #2e4a9e;
}

.image-error-button-wrapper button {
    background: #1b347f;
    color: white;
}

@media (min-width: 1256px) {
    .single-sponsored_links .content-sidebar-wrap .content {
        margin-left: 180px !important;
    }
}


.do-not-sell-link {
    background: inherit;
}

.do-not-sell-link:hover {
    background: white;
    border: 1px solid #1b347f;
    color: #1b347f;
}

/* Override layout */
body.single .site-container,
body.single .site-container .site-inner,
body.single .site-container .site-inner .content-sidebar-wrap,
body.single .site-container .site-inner .content-sidebar-wrap .sidebar,
body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .sidebar,
body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .sidebar,
body.single .site-container .site-inner .content-sidebar-wrap .content,
body.single .site-container .site-inner .content-sidebar-wrap .content #content-wrapper,
.slide-item .item-sidebar .sticky .mvp_ad_widget {
  position: static;
  float: none;
  display: block;
  -webkit-box-flex: none;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  /*width: unset;*/
  /*height: unset;*/
  max-width: unset;
  min-width: unset;
  max-height: unset;
  min-height: unset;
  padding: 0;
  margin: 0;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  overflow: visible;
  line-height: normal;
}

body.single .site-container {
  padding-top: 55px;
  background-color: #fff;
}

body.single .site-container .site-inner .content-sidebar-wrap,
body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap,
body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

body.single .site-container .site-inner .content-sidebar-wrap .content,
body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .content,
body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .content {
  max-width: 820px;
}

body.single .site-container .site-inner .content-sidebar-wrap .content #content-wrapper,
body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .content #content-wrapper,
body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .content #content-wrapper {
  background-color: #FFF;
  margin: 0 10px;
}

body.single .site-container .site-inner .content-sidebar-wrap .sidebar,
body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .sidebar,
body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .sidebar {
  display: none;
  width: 320px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

/*body.single .site-container .site-inner .content-sidebar-wrap .sidebar .sidebar-item {*/
/*  position: relative;*/
/*  -webkit-box-flex: 1;*/
/*  -webkit-flex-grow: 1;*/
/*  -ms-flex-positive: 1;*/
/*  flex-grow: 1;*/
/*}*/

/*body.single .site-container .site-inner .content-sidebar-wrap .sidebar .sidebar-item > * {*/
/*  position: relative; !* I am the fallback *!*/
/*  */
/*  !* Give it everything you got! (use an auto prefixer...) *!*/
/*  position: -webkit-sticky;*/
/*  position: -moz-sticky;*/
/*  position: -ms-sticky;*/
/*  position: -o-sticky;*/
/*  position: sticky;*/
/*  */
/*  top: 10px; !* Required  *!*/
/*}*/

/*body.single .site-container .site-inner .content-sidebar-wrap .sidebar .sidebar-item .sidebar-widget {*/
/*  display: block;*/
/*  margin: 0;*/
/*  padding: 0;*/
/*}*/

/*body.single .site-container .site-inner .content-sidebar-wrap .sidebar .sidebar-item .sidebar-widget .widget-ad {*/
/*  float: none;*/
/*}*/

/*body.single .site-container .site-inner .content-sidebar-wrap .sidebar .sidebar-item .sidebar-widget .ad-header,*/
/*body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .sidebar .sidebar-item .sidebar-widget .ad-header,*/
/*body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .sidebar .sidebar-item .sidebar-widget .ad-header {*/
/*  position: static;*/
/*  top: 0;*/
/*  left: 0;*/
/*  -webkit-transform: none;*/
/*  -ms-transform: none;*/
/*  transform: none;*/
/*  background-color: transparent;*/
/*}*/

body.single .site-container .site-inner .content-sidebar-wrap .content .spine-single-post-tmpl .post-area {
  /*padding: 4px 8px;*/
}

body.single .site-container .site-inner .content-sidebar-wrap .content .mvp_ad_widget {
  position: relative;
  display: block;
  
}

/*body.single .site-container .site-inner .content-sidebar-wrap .content .mvp_ad_widget .ad-header {*/
/*  width: 100%;*/
/*  position: static;*/
/*  -webkit-transform: none;*/
/*  -ms-transform: none;*/
/*  transform: none;*/
/*  top: 0;*/
/*  left: 0;*/
/*  white-space: normal;*/
/*}*/

body.single .site-container .site-inner .content-sidebar-wrap .content .slide-item {
  position: relative;
}

.slide-item .item-sidebar {
  display: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: 320px;
}

.slide-item .item-sidebar.left {
  left: -30px;
  transform: translate(-100%, 0);
}

.slide-item .item-sidebar.right {
  right: -30px;
  transform: translate(100%, 0);
}

.sticky {
  position: relative; /* I am the fallback */

  /* Give it everything you got! (use an auto prefixer...) */
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;

  top: 55px; /* Required  */
}

.slide-item .item-sidebar .sticky .mvp_ad_widget .ad-header + p {
  line-height: normal;
}

body.single .site-container .site-inner .content-sidebar-wrap .content .item-sidebar .mvp_ad_widget .ad-header {
  position: unset;
  transform: unset;
  top: unset;
  left: unset;
  white-space: normal;
  background-color: transparent;
}

body.single .site-container .site-inner .content-sidebar-wrap .content .mvp_ad_widget .inpost-ads-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

body.single .site-container .site-inner .content-sidebar-wrap .content .mvp_ad_widget .inpost-ads-container .side-by-side.ad {
  float: none;
}

@media (min-width: 336px) {
  body.single .site-container .site-inner .content-sidebar-wrap .content .mvp_ad_widget {
    max-width: unset;
  }
}

@media (min-width: 769px) {
  body.single .site-container {
    background-color: rgb(240, 240, 240);
  }
  
  body.single .site-container .site-inner {
    margin: 0 auto;
  }
  
  body.single:not(.single-page-quiz) .site-container .site-inner .content-sidebar-wrap .content #content-wrapper {
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .3);
    box-shadow: 0 0 15px rgba(0, 0, 0, .3);
    background-color: #FFF;
  }
  
  /*body.single .site-container .site-inner .content-sidebar-wrap .content .spine-single-post-tmpl .post-area {*/
  /*  padding-top: 10px;*/
  /*}*/
}

@media (max-width: 1466px) and (min-width: 1356px) {
  .scrollable-left-sidebar,
  .scrollable-right-sidebar,
  body.single .site-container .site-inner .content-sidebar-wrap .sidebar,
  body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .sidebar,
  body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .sidebar {
    width: 300px;
  }
  
  .scrollable-left-sidebar,
  .scrollable-right-sidebar {
    padding-left: 0;
    padding-right: 0;
  }
  
  .single .sidebar-content-sidebar .content,
  body.page-template-page-end-quiz .content-sidebar-wrap .content,
  body.page-template-page-end-gallery .content-sidebar-wrap .content {
    width: calc(100% - 600px);
  }
}

@media (max-width: 1075px) {
    body.single .site-container .site-inner .content-sidebar-wrap .content #content-wrapper,
    body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .content #content-wrapper,
    body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .content #content-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1075px) {
  body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .sidebar-primary,
  body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .sidebar-primary {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
    
    body.single .site-container .site-inner .content-sidebar-wrap .sidebar-primary,
.slide-item .item-sidebar.right {
        display: block;
    }
}

@media (min-width: 1356px) {
  .single .content-sidebar-wrap main.content {
      width: calc(100% - 600px);
  }
  body.page-template-page-end-quiz .site-container .site-inner .content-sidebar-wrap .sidebar-secondary,
  body.page-template-page-end-gallery .site-container .site-inner .content-sidebar-wrap .sidebar-secondary {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
    body.single .site-container .site-inner .content-sidebar-wrap .sidebar-secondary,
    .slide-item .item-sidebar.left {
        display: block;}
}
