/*
Theme Name:     Ronneby Child Theme
Theme URI:      http://themes.dfd.name/ronneby/
Description:    ronneby - Highly Functional Multifaceted WP Theme
Author:         DFD
Author URI:     http://wpsaloon.com/
Template:       ronneby
Version:        1.0.0
*/

.embed_sigup_new {
    border: 1px solid #484848;
    padding: 10px 10px;
    border-radius: 3px;
    float: left;
    width: 100%;
}
.embed_sigup_new_input {
    width: 85%;
    float: left;
}
.embed_sigup_new_input input {
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    margin-bottom: 0px !important;
    height: 45px !important;
}
.embed_sigup_new_button {
    width: 15%;
    float: left;
}
.embed_sigup_new_button input {
    background: #1e1e1e !important;
    width: 100% !important;
    padding: 5px !important;
    height: 45px !important;
    margin-bottom: 0 !important;
    font-size: 12px !important;
}
.embed_sigup_new_button input:hover {
    background: #111 !important;
}
#main-content a {
    text-decoration: underline !important;
}
.home_posts_grid h3 {
    font-family: "texgyreadventorregular" !important;
}
div.page-title-inner.page-title-inner-bgcheck .page-title {
    text-transform: uppercase;
    color: #28262b !important;
}
.header_with_image div.page-title-inner .page-title {
    color: #fff !important;
}
.search div.page-title-inner,
.page div.page-title-inner,
.archive div.page-title-inner,
.category div.page-title-inner {
    min-height: auto !important;
    height: auto !important;
    margin-top: 80px;
}
.search div.page-title-inner h1,
.page div.page-title-inner h1,
.archive div.page-title-inner h1,
.category div.page-title-inner h1 {
    float: left;
    display: block;
    width: 100%;
}
.search .entry-thumb img,
.page .entry-thumb img,
.archive .entry-thumb img,
.category .entry-thumb img {
    min-height: auto !important;
}
.single-post #stuning-header {
    height: 100% !important;
    background-size: cover !important;
}
.stuning-header-inner div.page-title-inner .page-subtitle {
    z-index: 5;
    white-space: nowrap;
    font-weight: 700;
    font-family: "Tangerine" !important;
    color: #28262b !important;
    visibility: inherit;
    transition: none;
    line-height: 55px !important;
    border-width: 0px;
    margin: 0px;
    padding: 0px 0 15px 0 !important;
    letter-spacing: 0px;
    font-size: 40px;
    min-height: 0px;
    min-width: 0px;
    max-height: none;
    max-width: none;
    opacity: 1;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform-origin: 50% 50% 0px;
}

.header_with_image div.page-title-inner .page-subtitle {
    color: #fff !important;
}
.page div.page-title-inner.page-title-inner-bgcheck .page-subtitle,
.archive div.page-title-inner.page-title-inner-bgcheck .page-subtitle,
.category div.page-title-inner.page-title-inner-bgcheck .page-subtitle {
    color: rgb(76, 76, 76) !important;
}
.single-post .entry-date {
    float: none !important;
    text-align: center !important;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 600;
    font-family: "texgyreadventorbold" !important;
    letter-spacing: 5px;
}
.dfd-single-style-advanced .post .dfd-single-post-heading .dfd-news-categories .byline.category a {
    float: none;
    text-align: center !important;
    display: inline !important;
}
.entry-meta > * {
    color: #1e1e1e;
}
.post .entry-meta {
    text-align: center !important;
}
.byline.category {
    text-align: center !important;
}
.byline.category a {
    float: none !important;
}
.post .entry-content p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.post .entry-content p.fullwide {
    max-width: 100%;
}
.post .entry-content p.fullwide img,
.post .entry-content div.fullwide img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}
.pagination ul.page-numbers li .current {
    color: #fff !important;
}
section#comments,
section#respond {
    margin-left: auto !important;
    margin-right: auto !important;
}
#change_wrap_div > div#stuning-header {
    border-bottom: 0 none !important;
}
.dfd-single-style-advanced .post .dfd-single-post-heading .dfd-news-categories .byline.category {
    font-style: italic;
    color: #7b7b7b !important;
    margin-bottom: 30px !important;
}
.dfd-single-style-advanced .post .dfd-single-post-heading .dfd-news-categories .byline.category a {
    padding: 2px 0px !important;
    color: #7b7b7b !important;
    background: transparent !important;
    font-style: italic;
}
.dfd-single-post-heading {
    padding: 30px 0 0 0;
    margin-top: 40px;
    border: 2px solid black;
    border-left: 0;
    border-right: 0;
    border-top-width: 2px;
}
.dfd-subscribe-module {
    padding-right: 10% !important;
    padding-left: 10% !important;
}
.vc_custom_1449404763736 .dfd-subscribe-module {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
div.page-title-inner .page-title-inner-wrap {
    top: 45% !important;
    -webkit-transform: translateY(-50%) !important;
    -moz-transform: translateY(-50%) !important;
    -o-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
}
.dfd-single-style-advanced .post .entry-content img {
    border: none !important;
}
#comments h5,
#respond > h5 {
    font-size: 15px !important;
    font-weight: 600;
}
#comments .commentlist li .reply a {
    color: #8a8f6a !important;
}
#respond form .button {
    background: #8a8f6a !important;
}
#respond form .button:hover {
    background: #7c805f !important;
}
#left-sidebar,
#right-sidebar,
#left-sidebar:before,
#right-sidebar:before,
#left-sidebar:after,
#right-sidebar:after {
    background-color: transparent !important;
}
#layout.single-post #left-sidebar .dfd-socicon-module .widget.soc-icons a,
#layout.single-post #right-sidebar .dfd-socicon-module .widget.soc-icons a {
    width: 16.26%;
}
.dfd-single-style-advanced .post .dfd-meta-container {
    clear: both !important;
}
.stuning-header-inner .ubtn {
    margin-top: 30px;
    padding: 10px 45px;
}
.tp-caption a.tp-button {
    border-radius: 0px !important;
}
.hide_date .vc_gitem-post-data-source-post_date {
    display: none;
}
.dfd-single-style-advanced .post .dfd-single-post-heading .entry-meta {
    margin-bottom: 0px !important;
}
.header_with_image .stuning-header-inner {
    background: rgba(0, 0, 0, 0.3) !important;
}
.entry-share-popup {
    display: block !important;
}
.dfd-meta-container {
    border-bottom: 1px dotted #e8e8e8;
    width: 100%;
    float: left;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.wp_rp_wrap {
    float: left;
    float: left;
    border-top: 1px dotted #e8e8e8;
    padding-top: 20px;
}
.post_social_box .dfd-socicon-module {
    float: left;
    width: 100%;
}
#grid-posts .dfd-blog-title {
    margin-bottom: 25px;
}
.search .header_with_image {
    background-image: none !important;
    color: #28262b !important;
}
.search .header_with_image .stuning-header-inner {
    background: transparent !important;
}
.search .header_with_image div.page-title-inner .page-title {
    color: #28262b !important;
}
.search #layout.blog-page #main-content {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.post.no-results.not-found header p.heading {
    margin-top: -100px !important;
}
.color_gray_title .vc_gitem-post-data-source-post_title h3 {
    text-transform: uppercase !important;
    font-family: "texgyreadventorregular" !important;
}
.home_scroll_div {
    z-index: 999;
    position: relative;
}
.home_scroll_div a {
    color: #fff !important;
    text-transform: uppercase !important;
    font-family: texgyreadventorregular !important;
    font-style: normal !important;
    letter-spacing: 5px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}
.search .page-subtitle {
    display: none !important;
}
.dfd-meta-container,
#wp_rp_first,
#comments,
#respond {
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.ult-carousel-wrapper.ult_horizontal:not(.dfd-carusel-center-mode) {
    margin: 0 !important;
}
#custom_subs {
    padding-right: 10%;
    padding-left: 10%;
}
#custom_subs form {
    display: block;
    float: left;
    position: relative;
    width: 100%;
}
.wpb_wrapper #subscribe-email label {
    color: #fff;
}
.wpb_wrapper #subscribe-email input {
    height: 65px;
    background: transparent;
    border-radius: 3px;
    border-color: rgba(255, 255, 255, 0.2);
    padding: 7px 15px 7px;
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    width: 100%;
    margin: 0 0 13px;
}
.wpb_wrapper #subscribe-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    height: 45px;
    margin-right: 0;
    margin-top: -28.5px;
    display: block;
}
.wpb_wrapper #subscribe-submit input {
    height: 45px;
    display: block;
    padding: 0 35px;
    transition: min-width .3s ease, right .5s ease, margin-right .5s ease;
    background: #1e1e1e;
    border: 1px solid #1e1e1e;
    color: #fff;
    border-radius: 2px;
    font-size: 12px;
    font-family: "texgyreadventorregular";
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.wpb_wrapper #subscribe-submit input:hover {
    border: 1px solid #111;
    background: #111;
}
#change_wrap_div > div#stuning-header {
    /* background-image: none !important; */
}
.category .header_with_image .stuning-header-inner {
    background: rgba(0, 0, 0, 0) !important;
}
.category .stuning-header-inner div.page-title-inner .page-subtitle {
    display: none !important;
}
@media only screen and (min-device-width: 320px) and (max-device-width: 640px) {
    .single-post #stuning-header {
        /* background-size: auto auto !important; */
        background-attachment: initial !important;
    }
    .single-post .stuning-header-inner div.page-title-inner .page-title {
        font-size: 12px;
        letter-spacing: 5px;
        line-height: 15px;
    }
    .single-post .stuning-header-inner div.page-title-inner .page-subtitle {
        font-size: 24px;
        line-height: 30px;
    }
    .stuning-header-inner .ubtn {
        margin-top: 15px;
        font-size: 8px;
        padding: 2px 10px;
    }
    .home body-back-to-top,
    .home_scroll_div a {
        display: none;
    }
}
@media only screen and (max-width: 40em) {
    .embed_sigup_new_button {
        margin-left: -50px;
    }
}
@media only screen and (min-device-width: 640px) and (max-device-width: 800px) {
    .vc_grid-container .vc_col-sm-4 {
        width: 49% !important;
        padding-right: 15px !important;
    }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 992px) {
    .dfd-single-post-heading {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 98% !important;
    }
    .single-post .stuning-header-inner div.page-title-inner .page-title {
        font-size: 20px;
        letter-spacing: 9px;
        line-height: 29px;
    }
    .single-post .stuning-header-inner div.page-title-inner .page-subtitle {
        font-size: 26px;
        line-height: 35px;
    }
    .stuning-header-inner .ubtn {
        margin-top: 15px;
        font-size: 12px;
    }
}
@media only screen and (min-device-width: 800px) {
    .c-map > .wpb_wrapper > div > div {
        height: 550px !important;
    }
    .single-post #stuning-header {
        background-size: cover !important;
    }
    #layout.single-post #left-sidebar {
        padding-top: 30px;
        padding-right: 0;
    }
    #layout.single-post #right-sidebar {
        padding-top: 30px;
        padding-left: 0;
    }
    #layout.single-post #left-sidebar > * {
        padding-right: 0;
    }
    #layout.single-post #right-sidebar > * {
        padding-left: 0;
    }
    .dfd-meta-container,
    #wp_rp_first,
    #comments,
    #respond {
        padding-left: 0px;
        padding-right: 0px;
    }
}
/* end media 800px min */

@media screen and (min-color-index: 0) and (-webkit-min-device-pixel-ratio: 0) and (min-device-width: 320px) and (max-device-width: 640px) {
    .single-post #stuning-header {
        /* background-size: auto auto !important; */
        background-attachment: initial !important;
    }
    .single-post .stuning-header-inner div.page-title-inner .page-title {
        font-size: 12px;
        letter-spacing: 5px;
        line-height: 15px;
    }
    .single-post .stuning-header-inner div.page-title-inner .page-subtitle {
        font-size: 24px;
        line-height: 30px;
    }
    .stuning-header-inner .ubtn {
        margin-top: 15px;
        font-size: 8px;
        padding: 2px 10px;
    }
    .home body-back-to-top,
    .home_scroll_div a {
        display: none;
    }
}
@media screen and (min-color-index: 0) and (-webkit-min-device-pixel-ratio: 0) and (min-device-width: 640px) and (max-device-width: 800px) {
    .vc_grid-container .vc_col-sm-4 {
        width: 49% !important;
        padding-right: 15px !important;
    }
}
@media screen and (min-color-index: 0) and (-webkit-min-device-pixel-ratio: 0) and (min-device-width: 768px) and (max-device-width: 992px) {
    .dfd-single-post-heading {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 98% !important;
    }
    .single-post .stuning-header-inner div.page-title-inner .page-title {
        font-size: 20px;
        letter-spacing: 9px;
        line-height: 29px;
    }
    .single-post .stuning-header-inner div.page-title-inner .page-subtitle {
        font-size: 26px;
        line-height: 35px;
    }
    .stuning-header-inner .ubtn {
        margin-top: 15px;
        font-size: 12px;
    }
}
@media screen and (min-color-index: 0) and (-webkit-min-device-pixel-ratio: 0) and (min-device-width: 800px) {
    .c-map > .wpb_wrapper > div > div {
        height: 550px !important;
    }
    .single-post #stuning-header {
        background-size: cover !important;
    }
    #layout.single-post #left-sidebar {
        padding-top: 30px;
        padding-right: 0;
    }
    #layout.single-post #right-sidebar {
        padding-top: 30px;
        padding-left: 0;
    }
    #layout.single-post #left-sidebar > * {
        padding-right: 0;
    }
    #layout.single-post #right-sidebar > * {
        padding-left: 0;
    }
    .dfd-meta-container,
    #wp_rp_first,
    #comments,
    #respond {
        padding-left: 0px;
        padding-right: 0px;
    }
}
/* end media 800px min */
/* END RESPONSIVE CSS */

/* side image layout */
.side-caption-layout {
    display: block;
    max-width: 100%;
    width: 900px;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border: none;
}

.side-caption-layout tbody {
     display: block;
}

.side-caption-layout tr {
     display: flex;
     flex-direction: row;
}

.side-caption-image {
     display: inline-block !important;
     vertical-align: top;
     padding: 0;
     flex: 0 1 auto;
}

.side-caption-caption {
     margin-left: 10px;
     margin-top: auto;
     padding: 0;
     flex: 0 1 auto;
}

@media (max-width: 920px){
     .side-caption-layout tr { display: block; }
     .side-caption-image,
     .side-caption-image img { width: 100%; }
     .side-caption-caption  {
          display: block;
          max-width: 600px;
          margin: 20px auto;
     }
}

/* Share links fix */
.entry-share-link-pinterest {
		cursor: pointer;
}

.entry-share-popup {
    position: static !important;
}

.dfd-share-popup-wrap .entry-share-popup li:first-child {
    padding-left: 0;
}

.blog-section .dfd-meta-container {
    padding-bottom: 45px;
}

.dfd-share-popup-wrap .dfd-share-popup,
.dfd-single-share.left .box-name,
.dfd-single-tags {
    display: none;
}

/* Mobile background image fix */
@media (max-device-width: 1024px){
    .single-post #stuning-header {
        background-attachment: initial !important;
    }
}
