/*
Theme Name:     DFD Ronneby Child Theme
Theme URI: 		http://rnbtheme.com/
Description:    ronneby - Highly Functional Multifaceted WP Theme
Author:         DFD
Author URI:		http://rnbtheme.com/
Template:       dfd-ronneby
Version:        1.1.0
*/

/* Portfolio premier élément pleine largeur 
.dfd-portfolio-module .portfolio-item:first-child,
.dfd-portfolio-listing .portfolio-item:first-child {
    width: 100% !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
}*/

@font-face {
    font-family: 'NeutraText-Light';
    src: url('fonts/Madera-Light.eot?#iefix') format('embedded-opentype'), url('fonts/Madera-Light.otf') format('opentype'),
    url('fonts/Madera-Light.woff') format('woff'), url('fonts/Madera-Light.ttf') format('truetype'), url('fonts/Madera-Light.svg#Madera-Light') format('svg');
    /*
    src: url('NeutraText-Light.eot?#iefix') format('embedded-opentype'),  url('NeutraText-Light.otf')  format('opentype'),
         url('NeutraText-Light.woff') format('woff'), url('NeutraText-Light.ttf')  format('truetype'), url('NeutraText-Light.svg#NeutraText-Light') format('svg');
    */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeutraText-Demi';
    src: url('fonts/Madera-Thin.eot?#iefix') format('embedded-opentype'), url('fonts/Madera-Thin.otf') format('opentype'),
    url('fonts/Madera-Thin.woff') format('woff'), url('fonts/Madera-Thin.ttf') format('truetype'), url('fonts/Madera-Thin.svg#Madera-Thin') format('svg');
    /*
    src: url('NeutraText-Demi.eot?#iefix') format('embedded-opentype'),  url('NeutraText-Demi.otf')  format('opentype'),
         url('NeutraText-Demi.woff') format('woff'), url('NeutraText-Demi.ttf')  format('truetype'), url('NeutraText-Demi.svg#NeutraText-Demi') format('svg');
    */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeutraText-Book';
    src: url('fonts/Madera-Medium.eot?#iefix') format('embedded-opentype'), url('fonts/Madera-Medium.otf') format('opentype'),
    url('fonts/Madera-Medium.woff') format('woff'), url('fonts/Madera-Medium.ttf') format('truetype'), url('fonts/Madera-Medium.svg#Madera-Medium') format('svg');
    /*
    src: url('NeutraText-Book.eot?#iefix') format('embedded-opentype'),  url('NeutraText-Book.otf')  format('opentype'),
         url('NeutraText-Book.woff') format('woff'), url('NeutraText-Book.ttf')  format('truetype'), url('NeutraText-Book.svg#NeutraText-Book') format('svg');
    */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NeutraText-Bold';
    src: url('fonts/Madera-Bold.eot?#iefix') format('embedded-opentype'), url('fonts/Madera-Bold.otf') format('opentype'),
    url('fonts/Madera-Bold.woff') format('woff'), url('fonts/Madera-Bold.ttf') format('truetype'), url('fonts/Madera-Bold.svg#Madera-Bold') format('svg');
    /*
    src: url('NeutraText-Bold.eot?#iefix') format('embedded-opentype'),  url('NeutraText-Bold.otf')  format('opentype'),
         url('NeutraText-Bold.woff') format('woff'), url('NeutraText-Bold.ttf')  format('truetype'), url('NeutraText-Bold.svg#NeutraText-Bold') format('svg');
    */
    font-weight: normal;
    font-style: normal;
}

.uvc-sub-heading h3.widget-sub-title {
    color: #FFFFFF !important;
}

section#header {
    /*opacity: 0.75;*/
}

#header-container.header-style-1:not(.small) #header .header-wrap {
    /*background-color: #2f4253 !important;*/
    /*background-color: #393d85 !important;*/
}

#footer,
#sub-footer {
    /*background-color: #2f4253 !important;*/
    /*background-color: #393d85 !important;*/
    background-color: #000000 !important;
}

body.home {
    /*background-color: #c4d9ec !important;*/
}

body.admin-bar .sidr {
    /*background-color: #2f4253 !important;*/
    /*background-color: #393d85 !important;*/
    background-color: #000000 !important;
}

#header-container.header-style-1:not(.small) #header .header-wrap .nav-menu .mega-menu-item:before, #header-container.header-style-1:not(.small) #header .header-wrap .nav-menu .mega-menu-item .item-title:after {
    background-color: transparent !important;
}

#header-container.header-style-1:not(.small) #header .header-wrap .nav-menu .mega-menu-item:before, #header-container.header-style-1:not(.small) #header .header-wrap .nav-menu .mega-menu-item .item-title:after {
    border: 1px solid white !important;
}

.nav-prev {
    display: none !important;
}

.nav-next {
    display: none !important;
}

.nav-menu .mega-menu-item.menu-item-depth-0:before {
    content: none !important;
    display: block;
    width: 1px;
    height: 13.2px;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -6.6px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.current-menu-item {
    border: solid 1px #FFF;
}

.nav-menu .mega-menu-item .item-title {
    line-height: 30px !important;
    height: 30px !important;
    font-size: 15px !important;
    padding: 0 10px !important;
    font-weight: 500 !important;
}

.mega-menu-item {
    margin-top: 4px !important;
}


/*http://stackoverflow.com/questions/18240844/css-full-page-width-horizontal-menu-and-horizontal-submenu*/
.filter .active {
    /*background-color: #2f4253!important;*/
    /*background-color: #393d85 !important;*/
    background-color: #000000 !important;
    color: white !important;
}

.filter ul {
    /*position: absolute;*/
    /*display:none;*/
    /*float: none!important;*/
}

.filter ul li {
    /*display:none;*/
    float: left;
}

.filter ul li:hover > ul {
    display: block;
}

.filter li div { /* nested div (containing the sub nav) will be hidden by default */
    background-color: #ccc;
    width: 100%;
    position: absolute;
    /*left: -9999px;*/
}

.filter li div li {
    /*display:none;*/
    float: left;
    display: inline-block;
}

.filter > li.selected > div {
    display: inline;
}

.filter .sub-menu {
    color: white;
    /*background-color: #2f4253;*/
    /*background-color: #393d85;*/
    background-color: #000000;
    position: relative;
    /*height: 39px;*/
    position: absolute;
    margin-top: 35px;
    width: 100%;
    left: 0;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.filter .sub-menu {


}

.filter .sub-menu li {
    color: white;
    text-align: center;
}

.row {
    width: 100% !important;
    max-width: 100% !important;
    /* min-width: 768px; */
    margin: 0 0 !important;
    /* position: relative; */
    /* display: block; */
}

#portfolio-page .columns {
    float: left;
    min-height: 1px;
    padding: 0 0px !important;
    padding-right: 3px !important;
    position: relative;
}

#layout.portfolio-page #grid-folio.grid-folio-full-width-bordered {
    margin-top: none !important;
}

/*.filter > li:first{
  background-color: #FFF;
  color: #333;
}*/


.backBt {
    background-color: #333;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    font-weight: bold;
}

#layout.single-folio .folio-info.desc-left:before, #layout.single-folio .folio-info.desc-right:before {
    background-color: white !important;
}

#right-sidebar > * {
    padding-left: 30px;
    /*background-color: #2f4253;*/
    /*background-color: #393d85;*/
    background-color: #000000;

}

.widget h3.widget-title, .module .widget h3.widget-title {
    padding-top: 20px;
    color: white !important;
    margin-bottom: 10px !important;
}

.widget ul li a {
    color: white !important;
}

.form-search {
    padding: 0px !important
}

#layout .widget + .widget {
    margin-top: 0px !important;
}

#layout .widget .search-query {
    /*background-color: #990000;*/
    border-radius: 0px;

    padding: 10px;
    height: 30px;
    width: 90%;
}

#layout .widget ul li {
    color: white !important;
    border-bottom: 0px solid #e8e8e8;
    line-height: 20px;
}

#layout .widget ul {
    padding-bottom: 20px;
}

.filter li a {
    display: block !important;
}

#layout.portfolio-page #portfolio-page {
    padding-top: 0px !important;
    padding-bottom: 70px;
}

.RSicons {
    float: right;
}

.widget.soc-icons.dfd-soc-icons-hover-style-14 {
    float: right;
}

nav.mega-menu {
    min-width: 100% !important;
    width: 100%;
    padding-right: 260px;
}

.widget.soc-icons.dfd-soc-icons-hover-style-14 a {
    width: 30px !important;
    height: 30px !important;
    line-height: 20px !important;
    color: #FFF !important;
}

.widget.soc-icons.dfd-soc-icons-hover-style-14 {
    margin-top: -28px;
    z-index: 999999;
}

.text {
    line-height: normal;
    font-family: 'arial';
}

.panel {
    display: none;
}

#bricks .bricks-content .brick {
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.22);
    overflow: hidden;
    display: block;
    float: left;
    width: 236px;
    border-radius: 0px !important;
    margin: 0 0 10px 0;
    position: relative;
    background: #fff;
    color: #FFF !important;
}

#bricks .bricks-content .twitter {
    background-color: #55ACEE !important;
    color: white !important;
}

#bricks .bricks-content .facebook {
    background-color: #3b5998 !important;
    color: white !important;
}

#bricks .bricks-content .text {
    color: white !important;
    font-size: 12px
}

#bricks .bricks-content .text a {
    color: #0B2C72 !important;
    font-weight: bold;
}

#bricks .bricks-buttons {
    display: none;
}

#bricks .bricks-content .counts ul li {
    color: white !important;
    font-size: 14px;
    padding-top: 5px;
}

.brick .panel {
    display: none;
}

.brick footer .txt, .brick footer .txt small {
    color: white !important;
}

.brick footer a:hover {
    background: none;
}

.brick footer a {
    border: none;
}

.filter li a:before {
    content: none !important;
}

@media only screen and (max-width: 799px) {
    .widget {
        margin-bottom: 0px !important;
    }
}

.lang-sel {
    display: none !important
}

.widget_search form input[type="submit"] {
    /*line-height: 36px!important;
    width:86px!important;
    right: 14px!important;
    top: -12px!important;*/
}

@media only screen and (max-width: 1100px) {
    #header-container {
        background-color: #000;
    }
}

.post .entry-media .post-like-wrap, .search-results #main-content .post .entry-media .post-like-wrap, .search-results #main-content article .entry-media .post-like-wrap {
    display: none !important;
}

.post .entry-meta .entry-comments a, .search-results #main-content .post .entry-meta .entry-comments a, .search-results #main-content article .entry-meta .entry-comments {
    display: none !important;
}

#sub-footer {
    display: none !important;
}

article .dfd-meta-container {
    display: none;
}

.home #change_wrap_div .wpb_text_column .wpb_wrapper {
    max-width: 70%;
    min-width: 550px;
    margin: 0 auto;
    text-align: justify;
}

.home #change_wrap_div .wpb_text_column .wpb_wrapper h1 {
    /*font-family: 'Helvetica', 'Times New Roman', Times, serif;*/
    font-family: 'NeutraText-Light';
    font-size: 110px;
    font-weight: 300;
    line-height: 1em;
    margin-bottom: 30px;
    /*color: #2f4253;*/
    color: #000000;
}

.home #change_wrap_div .wpb_text_column .wpb_wrapper p {
    /*max-width: 550px;*/
    margin: 0 auto;
    /*font-family: 'Helvetica', 'Times New Roman', Times, serif;*/
    font-family: 'NeutraText-Light';
    font-size: 18px;
    line-height: 22px;
    /*color: #2f4253;*/
    color: #000000;
    /*color: #393d85;*/
    /*padding-bottom: 20px;*/
    margin-bottom: 10px;
    text-align: justify;
    position: relative;
    display: inline;
}

.home #change_wrap_div .wpb_text_column .wpb_wrapper p strong {
    font-family: 'NeutraText-Book';
    /*margin-left: 20%;*/
}

.sidr {
    /*background-color: #2f4253 !important;*/
    /*background-color: #393d85 !important;*/
    background-color: #000000 !important;
}

.sidr .form-search-container .search-query {
    border: 1px solid #ffffff !important;
    background-color: #ffffff !important;
}

.icon-mobile-menu.dfd-sidr-close span.icon-wrap {
    background: #ffffff !important;
}

.logo-for-panel .inline-block a img {
    height: initial !important;
}

.wpb_wrapper a {
    color: #ffffff !important;
}

@media only screen and (max-width: 1100px) {
    .home #change_wrap_div .wpb_text_column .wpb_wrapper h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }

    .home #change_wrap_div .wpb_text_column .wpb_wrapper {
        min-width: 0;
        max-width: 80%;
    }

    .home #change_wrap_div .wpb_text_column .wpb_wrapper p {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

#portfolio-page .project .cover .entry-tags ul li a,
#grid-folio .project .cover .entry-tags ul li a {
    /*color: #393d85 !important;*/
    color: #000000 !important;
}

#portfolio-page .project,
#grid-folio .project {
    transition: none;
}

.subtitle {
    /*color: #393d85 !important;*/
    color: #000000 !important;
}

.more-button.slide-up {
    /*text-shadow: 0 0 #393d85, 0 16px #28262b !important;*/
    text-shadow: 0 0 #000000, 0 16px #28262b !important;
}

.more-button.slide-up:hover {
    color: transparent;
    /*text-shadow: 0 -16px #393d85, 0 0 #28262b !important;*/
    text-shadow: 0 -16px #000000, 0 0 #28262b !important;
}

.feature-title {
    font-size: 18px !important;
}

.vc_column_container > .vc_column-inner {
    /*padding-bottom: 25px;*/
}

.dfd-team-box {
    overflow: initial !important;

}


/* hide entry tag */
#portfolio-page .entry-tags {
    display: none;
}

/* override team effect */

.dfd-team-box .dfd-team-front .image-wrap img {
    width: 100%;
}

.dfd-team-box:hover .dfd-team-front .hover-mask {
    /*
    visibility: hidden !important;
    opacity: 0 !important;
    */
}

.dfd-team-box:hover .dfd-team-front .soc-icon-aligment {
    visibility: hidden !important;
}

.dfd-team-box:hover .dfd-team-front .dfd-team-box-heading {
    top: initial !important;
    transform: none !important;
}

.dfd-team-box:hover .dfd-team-front .dfd-team-box-heading .feature-title {
    color: #000 !important;
}

.dfd-team-box:hover .dfd-team-front .dfd-team-box-heading .subtitle {
    color: #000 !important;
}

@media (min-width: 768px) {
    .lequipe .wpb_column.vc_column_container.vc_col-sm-2 {
        width: 25%;
        padding: 10px;
    }
}

.wpb_wrapper .smaller h1 {
    font-size: 18px;
}

.wpb_wrapper .smaller p {
    font-size: 11px;
}

.wpb_wrapper .smaller a {
    font-size: 11px;
    color: inherit !important;
}

.wpb_wrapper p a {
    color: inherit !important;
}

.wpb_wrapper p {
    line-height: 1.6;
}

#footer {
    text-align: center;
}

#footer .ubtn-ctn-center {
    margin-bottom: 0 !important;
}

#footer .ubtn-ctn-center a {
    padding: 15px 0;
    display: block;
}

#footer .ubtn-ctn-center a button {
    background: inherit !important;
    text-transform: uppercase;
}

#header .header-top-panel {
    position: absolute;
    right: 0;
    top: 31px;
    z-index: 9999;
}

@media only screen and (min-width: 1101px) {
    #header-container.header-style-1 #header .header-top-panel {
        background: transparent !important;
        color: #fff !important;
    }

    #header-container.logo-position-left:not(.small) #header .header-wrap > .row:last-child .header-main-panel .logo-for-panel .inline-block img {
        z-index: 9999;
    }
}

@media only screen and (max-width: 1100px) {
    #header-container #header .header-top-panel {
        position: absolute;
        right: 70px;
        padding: 0 !important;
    }

    #header-container:not(.small) #header .header-wrap > .row:last-child .columns.header-main-panel .header-col-left {
        height: 74px !important;
    }

    #header-container:not(.small) #header .header-wrap > .row:last-child .columns.header-main-panel .header-col-right {
        height: 65px !important;
    }

    #header-container:not(.small) #header .header-wrap > .row:last-child .columns.header-main-panel .header-col-right .header-icons-wrapper {
        height: 40px !important;
    }

    .sidr .sidr-inner > ul > li > a {
        font-size: 12px !important;
        font-family: "NeutraText-Book" !important;
    }

    #header-container.header-style-1 #header .header-top-panel .header-info-panel .soc-icons a:before {
        color: #fff;
    }
}

@media only screen and (max-width: 799px) {
    #footer .columns {
        margin: 0 !important;
    }
}

.widget.soc-icons.dfd-soc-icons-hover-style-14 {
    margin-top: 0;
}

#footer .ubtn {
    font-size: 10px;
    line-height: 12px;
}

#footer .ubtn-ctn-center a {
    cursor: pointer;
}

#footer .ubtn-ctn-center a button {
    cursor: pointer;
}

.dfd-masonry-container-wrap {
    display: none;
}

.widget.widget_dfd_category ul li a, .widget.widget_categories ul li a, .widget.widget_archive ul li a, .widget.widget_crum_cat_arch ul li a {
    font-family: inherit;
}

#header-container.small.dfd-header-buttons-disabled #header .header-wrap > .row:last-child .header-main-panel .header-col-fluid nav.mega-menu:not(#top_left_mega_menu),
#header-container:not(.small).dfd-header-buttons-disabled #header .header-wrap > .row:last-child .header-main-panel .header-col-fluid nav.mega-menu:not(#top_left_mega_menu),
#header-container.small.dfd-header-buttons-disabled.logo-position-left #header .header-wrap > .row:last-child .header-main-panel .header-col-fluid nav.mega-menu:not(#top_left_mega_menu),
#header-container:not(.small).dfd-header-buttons-disabled.logo-position-left #header .header-wrap > .row:last-child .header-main-panel .header-col-fluid nav.mega-menu:not(#top_left_mega_menu) {
    margin-left: -206px;
}

#header-container.small.dfd-header-buttons-disabled #header .header-wrap > .row:last-child .header-main-panel .header-col-fluid nav.mega-menu:not(#top_left_mega_menu) ul.nav-menu,
#header-container:not(.small).dfd-header-buttons-disabled #header .header-wrap > .row:last-child .header-main-panel .header-col-fluid nav.mega-menu:not(#top_left_mega_menu) ul.nav-menu,
#header-container.small.dfd-header-buttons-disabled.logo-position-left #header .header-wrap > .row:last-child .header-main-panel .header-col-fluid nav.mega-menu:not(#top_left_mega_menu) ul.nav-menu,
#header-container:not(.small).dfd-header-buttons-disabled.logo-position-left #header .header-wrap > .row:last-child .header-main-panel .header-col-fluid nav.mega-menu:not(#top_left_mega_menu) ul.nav-menu {
    padding-left: 0;
}

#header-container.header-style-1 #header .header-top-panel .header-info-panel .soc-icons a:before {
    color: #fff;
}

.post .entry-media .post-comments-wrap {
    display: none;
}

.button.wc-backward:not(.ubtn), button:not(.ubtn), .button:not(.ubtn), #wp-submit:not(.ubtn), #commentform #submit:not(.ubtn) {
    height: auto;
}

#tarteaucitron .tarteaucitronH1, #tarteaucitron .tarteaucitronH2, #tarteaucitron .tarteaucitronH3, #tarteaucitron .tarteaucitronH4, #tarteaucitron .tarteaucitronH5, #tarteaucitron .tarteaucitronH6 {
    line-height: 1em;
}

.youtube_player {
    position: relative;
    height: 0;
    padding-top: 56.25%;
}

.youtube_player iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.youtube_player p {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.youtube_player .tac_activate_youtube {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.youtube_player .tac_activate_youtube .tac_float {
    color: #fff;
}

.pagination.ajax-pagination #ajax-pagination-load-more {
    font-family: "NeutraText-Bold" !important;
    color: #242424 !important;
    border: 1px solid #242424 !important;
    font-weight: 700 !important;
    border-radius: 0;
    line-height: 2.8em;
}

.pagination.ajax-pagination #ajax-pagination-load-more:hover {
    color: #c39f76 !important;
}

#portfolio-page .columns {
    float: unset !important;
}
