/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Web Font Import */
@font-face {
    font-family: 'blackwood_castleregular';
    src: url(webfont/blackwood_castle-webfont.woff2) format('woff2'),
         url(webfont/blackwood_castle-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Global / Reset */
html {
    font-size: 18px;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
.center-col .vc_col-sm-4.wpb_column:first-child {
    margin-left: auto !important;
}
.center-col .vc_col-sm-4.wpb_column:last-child {
    margin-right: auto !important;
}

/* Header / Navigation */
#top a#logo {
    font-family: 'blackwood_castleregular';
    font-size: 1.75rem;
    font-weight: normal !important;
    line-height: 3.5rem;
    letter-spacing: -0.025em;
    color: #FFCC00 !important;
    min-width: 169px;
}
#top:before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 200%;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(180deg, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1); 
}
#top nav ul.sf-menu li#social-in-menu {
    order: -1;
    margin-right: 5%;
}
#top nav ul.sf-menu li {
    min-width: fit-content;
}
#top nav ul.sf-menu li a, 
#top nav ul.sf-menu li a span {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: color 0.3s ease;
}
#top nav ul.sf-menu li a:hover, 
#top nav ul.sf-menu li a:hover span {
    color: rgba(255, 255, 255, 1) !important;
}
#top nav ul.sf-menu li.current_page_item a, 
#top nav ul.sf-menu li.current_page_item a span, 
#header-outer #social-in-menu a i::after {
    color: #fc0 !important;
}
#slide-out-widget-area-bg.fullscreen {
    background-color: #000;
}
#slide-out-widget-area.fullscreen .inner-wrap > .inner {
    margin: 20% auto auto !important;
}
.icon-salient-threads::before, 
.icon-salient-threads::after {
    width: 20px !important;
}
.icon-salient-threads::before {
    display: block;
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 30.6 26.9"><defs><style> .st0 { fill: %23fff; } </style></defs><path class="st0" d="M6.6,1.8c3.5,2.6,7.3,8,8.7,10.8,1.4-2.9,5.2-8.2,8.7-10.8,2.5-1.9,6.6-3.4,6.6,1.3s-.5,7.8-.8,9c-1.1,3.9-5.1,4.9-8.6,4.3,6.2,1.1,7.8,4.5,4.4,8-6.5,6.6-9.3-1.7-10-3.8-.1-.4-.2-.6-.2-.4,0-.2,0,0-.2.4-.7,2.1-3.5,10.4-10,3.8-3.4-3.5-1.8-7,4.4-8-3.5.6-7.5-.4-8.6-4.3-.3-1.1-.8-8-.8-9C0-1.6,4.1,0,6.6,1.8h0Z"/></svg>') !important;
    height: 20px;
    background-size: 20px 20px;
    transform: translateX(50%);
}
.icon-salient-threads::after {
    display: block;
    content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 30.6 26.9"><defs><style> .st0 { fill: %23fc0; } </style></defs><path class="st0" d="M6.6,1.8c3.5,2.6,7.3,8,8.7,10.8,1.4-2.9,5.2-8.2,8.7-10.8,2.5-1.9,6.6-3.4,6.6,1.3s-.5,7.8-.8,9c-1.1,3.9-5.1,4.9-8.6,4.3,6.2,1.1,7.8,4.5,4.4,8-6.5,6.6-9.3-1.7-10-3.8-.1-.4-.2-.6-.2-.4,0-.2,0,0-.2.4-.7,2.1-3.5,10.4-10,3.8-3.4-3.5-1.8-7,4.4-8-3.5.6-7.5-.4-8.6-4.3-.3-1.1-.8-8-.8-9C0-1.6,4.1,0,6.6,1.8h0Z"/></svg>') !important;
    height: 20px;
    background-size: 20px 20px;
    transform: translateX(50%) !important;
}


/* Typography / Buttons / Widgets */
hr {
    color: #444 !important;
    border-top: 0 !important;
    border-bottom: 1px solid #444 !important;
}
.light p {
    line-height: 1.67;
    color: #bbb;
    font-weight: 400;
}
.col.span_12.light .wpb_text_column > .wpb_wrapper > ul {
    color: #bbb;
}
h1 {
    font-family: 'blackwood_castleregular', serif;
    font-size: 4rem;
    letter-spacing: -.025em;
    font-weight: 400;
}
.light h1 {
    color: #bbb !important;
}
h3 {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    line-height: 1.8;
}
.light h3 {
    color: #fff !important;
}
.wpb_text_column.larger > .wpb_wrapper > p {
    color: #fff;
    font-size: 1.25rem;
}

a.nectar-button {
    background-color: #675a1c !important;
    background-image: url(images/bg-wood.png);
    background-size: contain;
    color: #FFCC00;
    border: 2px solid black;
    border-radius: .25em;
    box-shadow: .025rem .05rem 0 black !important;
}
a.nectar-button.jumbo {
    font-size: 1.5rem;
}

.nectar-fancy-box {
    height: 10rem;
    line-height: 1.125;
    position: relative;
    display: block;
}
.nectar-fancy-box .box-bg {
    border: 9px double black;
    box-shadow: inset 2.25px 2.25px 0 #3f3711, inset 4.5px 4.5px 0 #000, 2.25px 2.25px 0 #3f3711, 4.5px 4.5px 0 #000;
}
.nectar-fancy-box .inner {
    min-height: 0 !important;
    position: absolute;
    bottom: 7.5%; left: 7.5%;
    font-size: .875rem;
    line-height: 1;
    color: #00cccc !important;
    transition: all 200ms ease;
}
.nectar-fancy-box .inner strong {
    display: block;
    margin-left: 0;
    font-size: 250%;
    color: rgba(255,255,255,0.75);
    text-shadow: 0.025em 0.05em 0 #003333;
    text-transform: uppercase;
    transition: all 200ms ease;
}
.nectar-fancy-box:hover .inner {
    left: 12%;
}
.nectar-fancy-box:hover .inner strong {
    margin-left: 5%;
    color: #00cccc;
    text-shadow: none;
}
.nectar-fancy-box[data-style="color_box_basic"] .box-bg::before {
    background-color: rgba(119, 119, 102, 0.875);
}
.nectar-fancy-box[data-style="color_box_basic"]:hover .box-bg::before {
    background-color: rgba(119, 119, 102, 0.875);
    opacity: 0.9;
}
body:not(.home) .img-with-aniamtion-wrap .hover-wrap {
    border: 9px double #000;
    box-shadow: inset 2.25px 2.25px 0 #3f3711, inset 4.5px 4.5px 0 #000, 2.25px 2.25px 0 #3f3711, 4.5px 4.5px 0 #000;
}

.nectar-flip-box {
    background-image: url("https://00r.b4d.mytemp.website/wp-content/uploads/2015/05/bg-grain.jpg");
    max-height: 390px;
    overflow: hidden;
}
.nectar-flip-box .flip-box-front {
    background-color: transparent !important;
    background-size: 66% auto;
    background-repeat: no-repeat;
    max-height: 390px;
}
.nectar-flip-box[data-v_text_align="center"] .flip-box-front .inner {
    padding: 60px 10px;
    text-align: center;
    top: inherit;
    bottom: 0;
    transform: none !important;
}
.nectar-flip-box .flip-box-back {
    height: 100% !important;
    max-height: 390px;
}
.nectar-flip-box .flip-box-back .inner, 
.nectar-flip-box .flip-box-back .inner p, 
.nectar-flip-box .flip-box-back .inner strong {
    font-size: 14.5px;
}
.nectar-flip-box .flip-box-back .inner, 
.nectar-flip-box .flip-box-back .inner p {
    color: #ddd;
}
.nectar-flip-box .flip-box-back .inner {
    padding: 14px 14px 0 14px;
}
.nectar-flip-box .flip-box-back .inner p {
    padding-bottom: 16px;
}
.nectar-flip-box .flip-box-back .inner strong {
    color: #FC0;
}
.nectar-flip-box[data-v_text_align="center"] .flip-box-back, 
.nectar-flip-box[data-v_text_align="center"] .flip-box-back .inner {
    top: 0;
}
body:not(.using-mobile-browser) .nectar-flip-box[data-flip-direction="vertical-to-bottom"] .flip-box-back {
    transform: translateY(-100%) !important;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(0.190, 1.000, 0.220, 1.000);
}
.nectar-flip-box[data-v_text_align="center"][data-flip-direction="vertical-to-bottom"] .flip-box-back .inner {
    transform: none !important;
}
body:not(.using-mobile-browser) .nectar-flip-box[data-flip-direction="vertical-to-bottom"] .flip-box-back .inner {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.65s;
    transition-timing-function: ease;
    transition-delay: 0.1s;
}
body:not(.using-mobile-browser) .nectar-flip-box[data-flip-direction="vertical-to-bottom"]:hover .flip-box-front {
    transform: none !important;
}
body:not(.using-mobile-browser) .nectar-flip-box[data-flip-direction="vertical-to-bottom"]:hover .flip-box-back {
    transform: translateY(0) !important;
}
body:not(.using-mobile-browser) .nectar-flip-box[data-flip-direction="vertical-to-bottom"]:hover .flip-box-back .inner {
    opacity: 1;
}

.nectar-hor-list-item {
    background-color: #111;
    border-bottom: none !important;
    margin-bottom: 5px !important;
}
.nectar-hor-list-item .nectar-list-item {
    font-size: 1.1em;
    color: #FFD633 !important;
}

div.backer-names {
    text-align: center;
}
div.backer-names p {
    font-size: 0.8em;
    width: 33.333%;
    float: left;
    padding-bottom: 0;
    margin-bottom: 1em;
}
.nectar-flickity[data-controls*="arrows_overlaid"]:not(.masonry) .flickity-viewport {
    margin: 14px 0 !important;
}
.nectar-flickity[data-shadow="small_depth"] .cell {
    border: 9px double #000;
    box-shadow: inset 2.25px 2.25px 0 #3f3711, inset 4.5px 4.5px 0 #000, 2.25px 2.25px 0 #3f3711, 4.5px 4.5px 0 #000;
    opacity: 0.33 !important;
}
.nectar-flickity[data-shadow="small_depth"] .cell.is-selected {
    opacity: 1 !important;
}
.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button.previous, 
.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button.next {
    transform: scale(1.5);
    top: 40% !important;
}
.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button.previous {
    box-shadow: 5px 5px rgba(0,0,0,0.5);
}
.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button.next {
    box-shadow: -5px 5px rgba(0,0,0,0.5);
}
.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button.previous:hover {
    box-shadow: 5px 9px rgba(0,0,0,0.5);
}
.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button.next:hover {
    box-shadow: -5px 9px rgba(0,0,0,0.5);
}
.nectar-flickity[data-controls*="arrows_overlaid"] .flickity-prev-next-button::before {
    background-color: #fc0 !important;
    border-radius: 2px !important;
}

/* Footer */
.nectar-global-section.before-footer {
    background-color: black;
    padding-top: 40px;
    padding-bottom: 150px;
}
.nectar-global-section.before-footer:before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 50%;
    left: 0; bottom: 100%;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1); 
}
.nectar-global-section.before-footer .widget_nav_menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.nectar-global-section.before-footer .widget_nav_menu ul li {
    position: relative;
    display: inline-block;
}
.nectar-global-section.before-footer .widget_nav_menu ul li a {
    font-size: 0.875rem;
    padding: 0 1rem !important;
    color: #b38f00;
}
.nectar-global-section.before-footer .widget_nav_menu ul li a:hover {
    color: #FFCC00 !important;
}
.nectar-global-section.before-footer .widget_nav_menu ul li:first-child a {
    padding-left: 0 !important;
}
.nectar-global-section.before-footer .widget_nav_menu ul li:last-child a {
    padding-right: 0 !important;
}
.nectar-global-section.before-footer .wpb_text_column {
    font-size: 0.875rem;
}
.nectar-global-section.before-footer .wpb_raw_code {
    text-align: right;
}
.nectar-global-section.before-footer .wpb_raw_code a {
    display: inline-block;
    color: #fff;
    opacity: 1;
    line-height: 22px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    transition: transform .25s ease, opacity .2s ease;
    overflow: hidden;
}
.nectar-global-section.before-footer .wpb_raw_code a span.screen-reader-text {
    height: 1px;
}
.nectar-global-section.before-footer .wpb_raw_code a i {
    font-size: 18px;
    width: 36px;
    top: 0;
    background-color: transparent;
    text-align: center;
    line-height: 24px;
    height: 22px;
    position: relative;
    transition: transform .25s ease, opacity .2s ease;
}
.nectar-global-section.before-footer .wpb_raw_code a i:after {
    display: block;
    text-decoration: inherit;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translate3d(0,0,0);
    width: 100%;
    color: #FFCC00;
    font-family: icomoon;
}
.nectar-global-section.before-footer .wpb_raw_code a i.icon-salient-x-twitter:after {
    content: '\e918';
}
.nectar-global-section.before-footer .wpb_raw_code a i.fa-facebook:after {
    content: '\e60d';
}
.nectar-global-section.before-footer .wpb_raw_code a i.fa-youtube-play:after {
    font-family: FontAwesome;
    content: '\f16a';
}
.nectar-global-section.before-footer .wpb_raw_code a i.icon-salient-discord:after {
    content: '\e90c';
}
.nectar-global-section.before-footer .wpb_raw_code a:hover i {
    transform: translateY(-100%);
}
#copyright {
    display: none;
    visibility: hidden;
}

.hide-desktop {
    display: none;
    visibility: hidden;
}
.hide-mobile {
    display: block;
    visibility: visible;
}

/* Responsive */
/* 1000px & UP - DESKTOPS & TVS */
@media only screen and (min-width: 1000px) {
    #header-outer[data-format="default"] #top .span_3 {
        margin-right: 5%;
    }
    #header-outer[data-format="default"] #top .span_9 {
        margin-left: 0;
        width: 84%;
    }
  }
@media only screen and (max-width: 999px) {
    .hide-desktop {
        display: block;
        visibility: visible;
    }
    .hide-mobile {
        display: none;
        visibility: hidden;
    }
}
/* 999px to 690px - SMALL DESKTOPS & TABLETS */
  @media only screen and (min-width: 691px) and (max-width: 999px) {
    .home .img-with-aniamtion-wrap .inner {
        min-width: 350px !important;
    }
    .home .nectar-fancy-box {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    #gameplay .img-with-aniamtion-wrap > .inner {
        max-width: 80%;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #town-roles .nectar-flip-box {
        max-width: 66%;
        margin-left: auto;
        margin-right: auto;
    }

    body .nectar-global-section.before-footer .vc_row-fluid .vc_col-xs-12[class*="vc_col-xs-"] {
        width: 50%;
    }
  }
/* 690px & BELOW - MOBILE */
  @media only screen and (max-width: 690px) {
    .home .img-with-aniamtion-wrap .inner {
        min-width: 280px !important;
    }

    body .nectar-global-section.before-footer #menu-footer-navigation, 
    body .nectar-global-section.before-footer #menu-footer-secondary-navigation, 
    body .nectar-global-section.before-footer .wpb_text_column > .wpb_wrapper, 
    body .nectar-global-section.before-footer .wpb_raw_html {
        text-align: center;
    }

    .nectar-global-section.before-footer:before {
        height: 20%;
    }
  }