/*
 Theme Name:     Fortuna Child
 Description:    Fortuna Child Theme
 Author:         BlueOwlCreative
 Version:        1.10
 Template:       fortuna

*/
 
 

/* Theme customization starts here */

/* General style */
/* Button */
a.button.custom-button {
    display: table;
    margin: 0 auto;
    border: none !important;
    color: #2d2d2d !important;
    background-color: transparent;
}
a.button.custom-button:hover{
    background-color: transparent !important;
}
a.button.custom-button::after {
    content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    background: #2d2d2d;
    bottom: 0;
    left: 0;
}
/* Text */
.title-text-content {
    text-transform: initial;
    font-size: 26px;
    position: relative;
    margin-bottom: 30px !important;
    color: #333;
}
.title-text-content:after {
    content: "";
    position: absolute;
    bottom: -17px;
    height: 1px;
    width: 70px;
    background: #e3e3e3;
    left: 0;
    transform: none;
}
.title-text-content.center:after {
    content: "";
    position: absolute;
    bottom: -17px;
    height: 1px;
    width: 70px;
    background: #e3e3e3;
    left: 50%;
    transform: translateX(-50%);
}
.subtitle-text-content {
    color: #2d2d2d;
    font-size: 20px;
    margin-bottom: 12px !important;
}
.text-content {
    color: #7b7b7b;
}
/* Arrows */
.icon-angle-right-circle:before {
    content: "\e684" !important;
}
.icon-angle-left-circle:before {
    content: "\e686" !important;
}
.owl-nav .icon,
.img_slider.owl-theme .owl-controls .owl-nav div,
.img_slider.owl-theme .owl-controls .owl-nav div:hover {
    color: #fff;
    background: #ee1c25;
    border-radius: 50%;
}
.owl-theme .owl-dots .owl-dot.active span {
    background: #ee1c25;
}
.owl-dots {
    margin-top: 20px;
}

/* Box posts */
.content-box-post {
    overflow: hidden;
}
.column-box-posts .vc_column-inner {
    height: 500px;
}
.content-box-post .wpb_wrapper {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    padding-top: 380px;    
    transition: all 0.5s ease;
}
.content-box-post .wpb_wrapper:hover {
    padding-top: 325px;
}
.content-box-post .wpb_wrapper:hover-off {
    transition: all 0.5s ease;
}
.subtitle-box-post {
    color: #fff !important;
    font-size: 12px;
    margin: 5px !important;
}
.title-box-post {
    color: #fff !important;
    text-transform: initial;
    min-height: 95px;
    display: flex;
    align-items: flex-end;
}
.row-box-posts a.button.custom-button {
    color: #fff !important;
}
.row-box-posts a.button.custom-button::after {
    background: #fff;
}
/* Home box posts */
.row-home-box-posts .content-box-post .wpb_wrapper {
    padding-top: 410px;
}
.row-home-box-posts .content-box-post .wpb_wrapper:hover {
    padding-top: 350px;
}
.row-home-box-posts .title-box-post,
.row-home-box-posts .content-box-post .wpb_wrapper {
    min-height: inherit;
}
.row-home-box-posts a.button.custom-button {
    color: #fff !important;
}
.row-home-box-posts a.button.custom-button::after {
    background: #fff;
}
/* Small home box posts */
.row-small-box-posts .column-box-posts .vc_column-inner {
    height: 300px;
}
.row-small-box-posts .content-box-post .wpb_wrapper {
    padding-top: 210px;
}
.row-small-box-posts .content-box-post .wpb_wrapper:hover {
    padding-top: 155px;
}
.row-small-box-posts .title-box-post,
.row-small-box-posts .content-box-post .wpb_wrapper {
    min-height: inherit;
}
.row-small-box-posts a.button.custom-button {
    color: #fff !important;
}
.row-small-box-posts a.button.custom-button::after {
    background: #fff;
}

/* Posts */
.post .page_heading h1,
.single-post .page_heading h1,
.archive .page_heading h1 {
    text-transform: initial;
    font-family: Georgia;
    font-weight: 400;
    font-size: 25px;
}
.post .page_title_bgr .full_container_page_title,
.single-post .page_title_bgr .full_container_page_title,
.archive .page_title_bgr .full_container_page_title {
    background: #fff;
    border: none;
    margin: 100px 0 30px 0;
}
.calendar_date {
    border: none;
}
.post .author, .post .comments,
.archive .author, .archive .comments {
    display: none;
}

.post_item.section {
    display: flex;
    align-items: flex-start;
}
.post_item .pic {
    width:30%;
    padding-right: 10px;
}
.post_list_left {
    float: none;
    margin-top: 0;
}
.post_list_right {
    margin-left: 0;
    padding-top: 0;
    width: 70%;
    flex-grow: 1;
    padding-left: 10px;
    word-break: break-word;
}
@media all and (max-width:768px) {
    .post_item.section {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .post_item .pic {
        width: 100%;
        padding-right: 0px;
        padding-bottom: 15px;
    }
    .post_title {
        font-weight: 600;
    }
}



/* Posts grid */
.cascadeContainer {
    display: grid;
    grid-gap: 40px;
    grid-template-areas: "a b a";
    grid-template-columns: 
      [a] minmax(20%,1fr)
      [b] minmax(40%,2fr)
      [a] minmax(20%,1fr);
    grid-auto-rows: 30px;
    width: 1200px;
    margin: 10px auto;
    list-style-type: none;
    margin-bottom: 70px;
}
.element {
    position: relative;
}
.element:nth-child(5n-4),
.element:nth-child(5n) {
    grid-row-end: span 5;
}
.element:nth-child(5n-3) {
    grid-row-end: span 11;
}
.element:nth-child(5n-2),
.element:nth-child(5n-1) {
    grid-row-end: span 6;
}
  
.element .container {
    position: relative;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}
.element:nth-child(5n-4) .container,
.element:nth-child(5n) .container {
    height: 84%;
}
.element:nth-child(5n-3) .container {
    height: 93%;
}
.element:nth-child(5n-2) .container,
.element:nth-child(5n-1) .container {
    height: 87%;
} 
.element .container .content {
    width: 80%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-height: 100px;
    padding: 5px 10px;
}
.element:nth-child(5n-4) .container .content,
.element:nth-child(5n) .container .content {
    top: 80%;
}
.element:nth-child(5n-2) .container .content,
.element:nth-child(5n-1) .container .content {
    top: 84%;
}
.element:nth-child(5n-3) .container .content {
    top: 91%;
}
#loadMore {
    transition: .3s;
}
#loadMore:hover {
    color: grey;
    background-color: #fff;
    border: 1px solid grey;
    text-decoration: none;
    cursor: pointer;
}

.cascadeContainerRecent .title-box,
.cascadeContainer .title-box {
    position: relative;
    text-transform: initial;
    text-align: center;
    font-family: 'Georgia';
    font-weight: 400;
    font-size: 17px;
}
.cascadeContainer .title-box {
    line-height: 1.3em;
    margin-bottom: 20px;
    text-align: center;
    display: block;
    color: #333;
}

.element:nth-child(5n-3) .container .content .title-box {
    font-size: 27px;
}
.element:nth-child(5n-4) .container .content .title-box::after,
.element:nth-child(5n) .container .content .title-box::after,
.element:nth-child(5n-2) .container .content .title-box::after,
.element:nth-child(5n-1) .container .content .title-box::after,
.element:nth-child(5n-3) .container .content .title-box::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 70px;
    background-color: #e5e5e5;
}

.cascadeContainerRecent .post-category-box,
.cascadeContainer .post-category-box {
    text-transform: uppercase;
    text-align: center;
    font-size: 10px;
    margin: 10px auto 5px;
    color: #f2575d;
    display: block;
}
.cascadeContainer .post-category-box {
    font-family: 'Montserrat';
    font-weight: 500;
    line-height: 1.3em;
}
.cascadeContainerRecent .post-date-box,
.cascadeContainer .post-date-box {
    text-align: center;
    font-size: 12px;
    color: #9e9e9e;
    margin: 4px;
}

/* Post grid recent posts */
.cascadeContainerRecent {
    display: grid;
    grid-gap: 40px;
    grid-template-areas: "a b a";
    grid-template-columns: 
        [a] minmax(30%,1fr) 
        [b] minmax(30%,1fr) 
        [a] minmax(30%,1fr);
        grid-auto-rows: 40px;
    width: 1200px;
    margin: 10px auto;
    list-style-type: none;
    margin-bottom: 70px;
}
.cascadeContainerRecent .element:nth-child(5n-4),
.cascadeContainerRecent .element:nth-child(5n),
.cascadeContainerRecent .element:nth-child(5n-3),
.cascadeContainerRecent .element:nth-child(5n-2),
.cascadeContainerRecent .element:nth-child(5n-1) {
    grid-row-end: span 6;
}
.cascadeContainerRecent .container {
    height: 90% !important;
}
.cascadeContainerRecent .element .container .content {
    top: 80% !important;
}
.cascadeContainerRecent .element .container .content .title-box {
    font-size: 15px !important;
}

/* Cascade gallery */
#gridGallery {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
    grid-auto-rows: 1px;
    margin-bottom: 40px;
}
.gridItem {
    background-color: #ffffff;
    display: none;
}
.gridItem img {
    width: 100%;
    min-height:100%;
}
.photothumb{
    width: 100%;    
}


/* Row boxes */
.row-boxes a.button.custom-button {
    color: #fff !important;
}
.row-boxes a.button.custom-button::after {
    background: #fff;
}
.column-box .content-box-post .wpb_wrapper {
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 30px;
}

/* End general style */

/* Fonts */
.title-header,
.title-box-post,
.title-text-content,
/* .title-content-salone-tab, */
.title-patents,
#footer .col.span_1_of_3 .textwidget:nth-child(2) {
    font-family: 'Georgia';
    font-weight: 400;
}
.row-quote .text-content {
    font-family: Georgia;
    font-style: italic;
}
/* .subtitle-home-contacts, */
.text-content,
.text-content-salone-tab .wpb_text_column.wpb_content_element p,
.resp-tabs-list li.resp-tab-item,
#footer .col.span_1_of_3 .textwidget:nth-child(3),
.subtitle-text-content,
.header-contacts p {
    font-family: 'Montserrat';
    font-weight: 400;
}
.subtitle-header,
.subtitle-patents,
.subtitle-box-post,
.post-category-box,
.post-date-box {
    font-family: 'Montserrat';
    font-weight: 500;
}
#footer h3,
#menu > ul > li > a {
    font-family: 'Montserrat';
    font-weight: 600;
}
.header-contacts .text p {
    margin: 0;
    line-height: 1.3;
}
a.button.custom-button,
.header-contacts p strong {
    font-family: 'Montserrat';
    font-weight: 700;
}

/* Menu */
.custom_menu_4 #menu {
    position: absolute;
    width: 100%;
    left: 0;
    top: 100px;
}
.block_header #menu > ul {
    display: table;
    margin: auto;
}
/* #menu ul {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
} */
#menu > ul > li > a {
    line-height: 50px;
}
/* #menu > ul > li.current-menu-item a:active,
#header.scrolled #menu > ul > li.current-menu-item a:active {
    color: #bb2127 !important;
} */
#menu > ul > li.current-menu-item > a,
#menu.arrow_effect > ul > li ul > li.current-menu-item > a > span,
.custom_menu_4 #menu > ul > li ul > li > a:hover {
    color: #bb2127 !important;
}
.custom_menu_4 #menu > ul > li ul > li > a:hover {
    background-color: transparent !important;
}
.main_menu_underline_effect #menu > ul > li > a:after {
    background-color: #bb2127 !important;
}
#header.scrolled #menu > ul > li > a {
    line-height: 60px;
    color: #fff !important;
    font-size: 12px;
}
.page-id-278 #header:not(.scrolled),
.page-id-302 #header:not(.scrolled),
.page-id-313 #header:not(.scrolled) {
    box-shadow: none !important;
}
.page-id-278 #menu a,
.page-id-302 #menu a,
.page-id-313 #menu a {
    color: #000 !important;
}
.page-id-278 #menu .sub-menu li a,
.page-id-302 #menu .sub-menu li a,
.page-id-313 #menu .sub-menu li a {
    color: #fff !important;
}


/* Header */
#header.scrolled .custom-sub-header {
    display: none;
}
.custom-sub-header {
    position: absolute;
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    left: 50%;
    transform: translateX(-50%);
    /* z-index: 999; */
}
.custom-sub-header > div {
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
}
.header-contacts a,
.socials a {
    height: 50px;
    width: 50px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

/* .header-contacts a,
.socials a {
    border: 1px solid #000;
} */
.header-contacts p {
    color: #fff;
    text-transform: uppercase;
}

#header .section.rel_pos {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#header.scrolled .section.rel_pos {
    justify-content: space-between;
}
#header.transparent_header:not(.scrolled) {
    background: rgba(255,255, 255, 0) !important;
}
#custom-header {
    position: relative;
}
.header-container {
    width: 100%;
    max-width: 1200px;
    margin: auto!important;
    padding: 200px 0 120px 0;
}
.subtitle-header {
    font-size: 16px;
    text-transform: uppercase;
    color: #fff !important;
}
.title-header {
    color: #fff !important;
    font-size: 50px;
    text-transform: inherit;
}
.header-container .custom-button span {
    color: #fff;
}
.header-container .custom-button .icon {
    color: #fff;
}
.header-container .custom-button::after {
    background-color: #fff !important;
}
#header.scrolled #menu {
    position: unset;
}
li.boc_search_border {
    display: none;
}


/* Home carousel (under header) */
#home-carousel {
    margin-top: -98px;
}

/* Home page */
#home-carousel .owl-carousel .owl-item {
    background-repeat: no-repeat;
    background-size: cover;
}
#home-carousel .owl-carousel .owl-item .pic,
#home-carousel .owl-carousel .owl-item .img {
    height: 200px;
}
/* Home Contacts */
.resp-tabs-list li.resp-tab-item.resp-tab-active {
    color: black!important;
}
.resp-tabs-list li.resp-tab-item {
    color: #7b7b7b;
}
.text-content-salone-tab .title-text-content::after {
    left: 0;
    transform: none;
}
.text-content-salone-tab .subtitle-text-content {
    text-transform: initial;
}
/* .title-content-salone-tab {
    text-transform: capitalize;
    font-size: 30px;
    position: relative;
    margin-bottom: 50px !important;
}
.title-content-salone-tab:after {
    content: "";
    position: absolute;
    bottom: -26px;
    left: 0;
    height: 1px;
    width: 70px;
    background: #e8e8e8;
} */
/* .subtitle-home-contacts {
    text-transform: initial;
    font-size: 20px;
} */
.text-content-salone-tab .wpb_text_column.wpb_content_element p,
.text-content-salone-tab .wpb_text_column.wpb_content_element a {
    color: #9d9d9d;
    font-size: 16px;
    margin: 0;
}
.text-content-salone-tab a.button.custom-button {
    margin: 0;
}

/* Tabs saloni */
.tabs-salone .resp-tab-content {
    border: none;
    padding: 0;
}
.content-salone-tab {
    margin-bottom: 0 !important;
}
.text-content-salone-tab.wpb_column.vc_column_container.vc_col-sm-3 {
    padding: 40px;
    background: #fbfbfb;
}
/*.tabs-salone .owl-theme .owl-controls {
    text-align: center;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
}
.tabs-salone .img_slider.owl-theme .owl-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
} */
.tabs-salone .owl-stage-outer {
    height: 520px;
}
.tabs-salone .resp-tabs-list {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    width: 80%;
    margin: 0 auto;
}
.tabs-salone .resp-tabs-list li, 
.tabs-salone .resp-tabs-list li.resp-tab-active {
    border-left: none;
    border-top: none;
    border-right: none;
    background: transparent;
    color: #7b7b7b;
    font-size: 18px;
    padding: 0 40px;
    height: 100%;
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tabs-salone .resp-tabs-list li:hover {
    background: transparent;
}
.tabs-salone .resp-tabs-list li.resp-tab-active {
    border-bottom: 2px solid #ee1c25;
    border-top: none !important;
}

/* Home Row Logos */
.row-logos {
    margin: 40px 0px;
}

/* Hair page */
.row-hair {
    margin-top: -98px;
}
.row-hair .wpb_column.vc_column_container {
    background-color: #fff;
    -webkit-box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
    -moz-box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
    box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
}
.row-hair .title-text-content::after {
    left: 0;
    transform: translateX(0);
}
.row-hair .wpb_column.vc_column_container:nth-child(1) {
    padding: 60px;
}
/* Appearance page */
.row-appearance {
    margin-top: -98px;
}
.row-appearance .wpb_column.vc_column_container {
    background-color: #2d2d2d;
}
.row-appearance .title-text-content::after {
    left: 0;
    transform: translateX(0);
    background: #ee1c25;
}
.row-appearance .wpb_column.vc_column_container:nth-child(1) {
    padding: 60px;
}
.row-appearance .title-text-content {
    color: #fff !important;
}
.row-appearance .subtitle-text-content {
    color: #fff;
}
.row-massages .wpb_column.vc_column_container {
    background-color: #f1eee5;
}
.row-massages .title-text-content::after {
    left: 0;
    background: #cacaca;
    transform: translateX(0);
}
.row-massages .wpb_column.vc_column_container:nth-child(2) {
    padding: 60px;
}
.row-massages .title-text-content ul {
    list-style-image: url('/wp-content/themes/fortuna-child/images/arrow-right-red.png');
}

/* Patent page */
.row-patent {
    margin-top: -98px;
}
.row-patent .wpb_column.vc_column_container {
    background-color: #fff;
    -webkit-box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
    -moz-box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
    box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
}
.row-patent .title-text-content::after {
    left: 0;
    transform: translateX(0);
}
.row-patent .wpb_column.vc_column_container:nth-child(1) {
    padding: 60px;
}
.row-patent .wpb_column.vc_column_container {
    background-color: #fff;
}
/* list of patents */
.row-patents .container-patents {
    height: 450px;
    position: relative;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.container-patents .vc_column-inner {
    padding-top: 0;
}
.box-patents {
    background-color: #fff;
    height: 80%;
    width: 80% !important;
    position: absolute !important;
    top: 80%;
    left: 50%;
    transform: translatex(-50%);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 25px;
    z-index: 999;
}
.box-patents:hover {
    top: 10%;
}
.subtitle-patents {
    font-size: 12px;
    color: #c0332c !important;
    margin-bottom: 0 !important;
    line-height: 1.7em;
}
.title-patents {
    text-transform: inherit;
    margin-bottom: 30px !important;
    position: relative;
}
.title-patents::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 70px;
    background-color: #e3e3e3;
}

/* "I love curletto" page */
.row-love-curl {
    margin-top: -98px;
}
.row-love-curl .wpb_column.vc_column_container {
    background-color: #fff;
    -webkit-box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
    -moz-box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
    box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
}
.row-love-curl .title-text-content::after {
    left: 0;
    transform: translateX(0);
}
.row-love-curl .wpb_column.vc_column_container:nth-child(1) {
    padding: 60px;
}
.row-love-curl .wpb_column.vc_column_container {
    background-color: #fff;
}
/* list of patents */
.row-patents .container-patents {
    height: 450px;
    position: relative;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.row-description-curletto {
    padding: 10px 45px;
}
.row-description-curletto .wpb_column.vc_column_container {
    padding: 15px;
}
.row-description-curletto .title-text-content::after {
    left: 0;
    transform: inherit;
}
.row-agency-curletto {
    padding: 60px;
    -webkit-box-shadow: 2px 10px 28px 4px rgba(245,245,245,1);
    -moz-box-shadow: 2px 10px 28px 4px rgba(245,245,245,1);
    box-shadow: 2px 10px 28px 4px rgba(245,245,245,1);
}
.row-agency-curletto .title-text-content::after {
    left: 0;
    transform: inherit;
}
.row-love-curletto {
    position: relative;
    border-bottom: 1px solid #e3e3e3;
    margin: -1px;
    padding: 40px;
}
.row-love-curletto .title-text-content::after {
    left: 0;
    transform: inherit;
}
.row-love-curletto .two-col {
    columns: 2;
}

/* Franco Curletto page */
.row-paragraph .title-text-content::after {
    left: 0;
    transform: inherit;
}
.row-quote {
    background-color: #2d2d2d;
    padding: 60px 80px 80px;
    position: relative;
}
.row-quote .text-content {
    text-align: center;
    color: #575757;
    font-size: 25px;
    line-height: 1.3;
}
.row-quote .text-content::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 70px;
    background-color: #ee1c25;
}
.row-paragraph-shadow .title-text-content::after {
    left: 0;
    transform: inherit;
}
.row-paragraph-shadow .wpb_column.vc_column_container:nth-child(1) {
    padding: 60px;
    background-color: #fff;
    -webkit-box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
    -moz-box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
    box-shadow: -2px 7px 13px -4px rgba(230,230,230,1);
}
.row-paragraph a.button.custom-button {
    margin: unset;
}

/* Magazine page */
.page-id-278 #custom-header,
.page-id-302 #custom-header,
.page-id-313 #custom-header {
    height: 200px;
}
.page-id-278 .header-container,
.page-id-302 .header-container,
.page-id-313 .header-container {
    top: 58%;
}
.page-id-278 .subtitle-header,
.page-id-302 .subtitle-header,
.page-id-313 .subtitle-header {
    color: #7b7b7b !important;
}
.page-id-278 .title-header,
.page-id-302 .title-header,
.page-id-313 .title-header {
    color: #2d2d2d !important;
}

/* Archive */
.archive-button {
    margin-bottom: 50px !important;
}
/* Contacts */
.row-contatti .text-content-salone-tab {
    padding: 0 85px;
}

/* Footer */
#footer {
    padding: 0;
}
.logo-footer {
    width: 280px;
    height: 34px;
    margin: 40px auto 40px;
    background-image: url('/wp-content/uploads/2019/05/logo-footer.png'); /* change with the corrent link */ 
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
#footer h3 {
    color: #bb2127;
    text-align: center;
    margin-bottom: 6px;
}
#footer .col {
    margin-bottom: 0;
}
#footer .col.span_1_of_3 .textwidget:nth-child(2) {
    color: #fff;
    text-align: center;
    font-size: 20px;
    padding: 0;
}
#footer .col.span_1_of_3 .textwidget:nth-child(3),
#footer .col.span_1_of_3 .textwidget a {
    color: #a1a1a1;
    text-align: center;
}
#footer .col.span_1_of_3 .textwidget a:hover {
    color: #bb2127;
}
#custom-footer {
    display: flex;
    justify-content: space-between;
    width: 275px;
    margin: 0 auto;
}
#custom-footer p,
#custom-footer a {
    margin-bottom: 0;
    color: #c0c0c0;
}
#custom-footer p:hover,
#custom-footer a:hover {
    color: #bb2127;
}

/* Single post */
.single-post .full_container_page_title {
    margin-top: 70px;
}

#menu > ul > li > a {padding: 4px 10px 0px 10px;}

#header:not(.scrolled) {
    height: 160px;
    background-color:black;
}
.full_container_page_title {
    margin: 0px 0 30px 0!important;
    background-image: url(/wp-content/uploads/2019/06/header-capelli.jpg)!important;
    background-size: cover!important;
    padding: 40px 0px!important;
    background-position: center center!important;
    position: relative;
}
.full_container_page_title:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    position: absolute;
    bottom: 0;
}
.page_heading h1 {
    color: white;
    position: relative;
    z-index: 99;
}

/* Media query */
@media only screen and (max-width: 1280px) {
    /* Header style */
    #logo {
        width: 245px;
    }
    #header.scrolled #menu > ul > li > a {
        font-size: 11px;
    }
    .custom-sub-header a {
        height: 40px;
        width: 40px;
    }

    /* General style */
    .title-box-post {
        font-size: 30px;
    }
    /* Posts grid */
    .cascadeContainer {
        grid-template-columns: [a] minmax(30%,1fr) [b] minmax(30%,2fr) [a] minmax(30%,1fr);
        width: 940px;
    }
    .element:nth-child(5n-3) {
        grid-row-end: span 7;
    }
    .element:nth-child(5n-3) .container .content .title-box {
        font-size: 17px;
    }
    .cascadeContainerRecent {
        grid-template-columns: [a] minmax(30%,1fr) [b] minmax(30%,2fr) [a] minmax(30%,1fr);
        width: 940px;
    }


    /* Home carousel (under header) */
    #home-carousel {
        margin-top: -73px;
    }

    /* Home Contacts */
    .tabs-salone .vc_row.vc_row-flex .content-salone-tab .wpb_column.vc_column_container:nth-child(1) {
        flex-direction: column;
    }
    .content-salone-tab .wpb_column.vc_column_container:nth-child(1) {
        width: 100%;
        height: 400px;
    }
    .tabs-salone .resp-tabs-list li, .tabs-salone .resp-tabs-list li.resp-tab-active {
        padding: 0px 33px;
        font-size: 15px;
    }
    .content-salone-tab .wpb_column.vc_column_container:nth-child(2)  {
        width: 50%;
        padding: 0 40px;
    }
    .content-salone-tab .wpb_column.vc_column_container:nth-child(3) {
        width: 50%;
    }
}
/*
@media only screen and (max-width: 1045px) {
    .page-id-278 #custom-header,
    .page-id-302 #custom-header,
    .page-id-313 #custom-header {
        height: 150px;
    }
    #menu {
        display: none;
    }
    #m_nav_menu .m_nav_ham.button_closed, .m_nav_ham {
        background: #000;
    }
    #header .section.rel_pos {
        justify-content: space-between;
    }    
    #logo {
        width: 50%;
    }
    #mobile_menu_toggler {
        display: flex !important;
        justify-content: flex-end;
        width: 50%;
    }
    .custom-sub-header {
        display: none;
    }
}
*/
@media only screen and (max-width: 1024px) {
    .custom-sub-header {display: none;}
    #header:not(.scrolled) {height: auto;}
    /* Fonts */
    .subtitle-header {
        font-size: 13px;
    }
    .title-header {
        font-size: 40px;
    }
    a.button.custom-button {
        font-size: 11px;
    }
    .title-text-content {
        font-size: 23px;
    }
    .subtitle-text-content {
        font-size: 18px;
    }
    .text-content {
        font-size: 15px;
    }

    /* Header */
    #m_nav_menu .m_nav_ham.button_closed, .m_nav_ham {
        background: #fff;
    }
    #header {
        position: sticky!important;
    }
    #header .rel_pos {
        background: #000;
    }
    #mobile_menu_toggler {
        margin-top: 10px;
    }

    /* General */
    .header-container {
        padding: 40px 0 60px 0;
    }
    /* Posts */


    /* Posts grid */
    .cascadeContainer {
        grid-template-columns: [a] minmax(40%,1fr) [b] minmax(40%,1fr);
        margin-bottom: 30px;
        width: 720px;
    }
    .element:nth-child(5n-3) {
        grid-row-end: span 7;
    }
    .element .container .content .title-box {
        font-size: 16px !important;
    }
    .element:nth-child(5n-4) .container .content .title-box::after, 
    .element:nth-child(5n) .container .content .title-box::after, 
    .element:nth-child(5n-2) .container .content .title-box::after, 
    .element:nth-child(5n-1) .container .content .title-box::after, 
    .element:nth-child(5n-3) .container .content .title-box::after {
        bottom: -10px;
    }
    .cascadeContainer .post-date-box,
    .cascadeContainerRecent .post-date-box {
        font-size: 10px;
        margin: 0px;
        line-height: 1.2;
    }
    .cascadeContainerRecent {
        grid-template-columns: [a] minmax(40%,1fr) [b] minmax(40%,1fr);
        margin-bottom: 30px;
        width: 720px;
    }

    /* Box posts */
    .title-box-post {
        font-size: 28px;
        margin-bottom: 5px !important;
        min-height: 125px;
    }
    .column-box-posts .content-box-post .wpb_wrapper {
        padding-top: 243px;
    }
    .column-box-posts .content-box-post .wpb_wrapper:hover {
        padding-top: 200px;
    }
    .column-box-posts .vc_column-inner {
        height: 380px;
    }
    /* Home box posts */
    .row-home-box-posts .content-box-post .wpb_wrapper {
        padding-top: 305px;
    }
    .row-home-box-posts .content-box-post .wpb_wrapper:hover {
        padding-top: 260px;
    }
    /* Small home box posts */
    .row-small-box-posts .column-box-posts .vc_column-inner {
        height: 250px;
    }
    .row-small-box-posts .content-box-post .wpb_wrapper {
        padding-top: 180px;
    }
    .row-small-box-posts .content-box-post .wpb_wrapper:hover {
        padding-top: 135px;
    }

    /* page in general */
    .row-patent,
    .row-hair,
    .row-appearance,
    .row-love-curl {
        margin-top: -50px;
    }

    /* Home page */ 
    #home-carousel {
        margin-top: -52px;
        margin-bottom: 0;
    }
    .boc_google_map {
        height: 400px !important;
    }

    /* Franco Curletto */ 
    .row-patent,
    .row-paragraph-shadow {
        display: flex;
        flex-direction: column;
    }
    .row-patent > div,
    .row-paragraph-shadow > div {
        width: 100%;
    }
    .row-patent .wpb_column.vc_column_container:nth-child(2),
    .row-paragraph-shadow .wpb_column.vc_column_container:nth-child(2) {
        height: 400px;
    }
    .row-patent .wpb_column.vc_column_container:nth-child(1),
    .row-paragraph-shadow .wpb_column.vc_column_container:nth-child(1) {
        padding: 30px 20px;
    }

    /* Hair style page */
    .row-hair {
        display: flex;
        flex-direction: column;
    }
    .row-hair > div {
        width: 100%;
    }
    .row-hair .wpb_column.vc_column_container:nth-child(2) {
        height: 400px;
    }
    .row-hair .wpb_column.vc_column_container:nth-child(1) {
        padding: 30px 20px;
    }

    /* Appearance page */
    .row-appearance,
    .row-massages {
        display: flex;
        flex-direction: column;
    }
    .row-appearance > div,
    .row-massages > div {
        width: 100%;
    }
    .row-appearance .wpb_column.vc_column_container:nth-child(2) {
        height: 400px;
    }
    .row-appearance .wpb_column.vc_column_container:nth-child(1) {
        padding: 30px 20px;
    }
    
    .row-massages .wpb_column.vc_column_container:nth-child(1) {
        height: 400px;
    }
    .row-massages .wpb_column.vc_column_container:nth-child(2) {
        padding: 30px 40px;
    }

    /* Patent page */
    .row-patent {
        display: flex;
        flex-direction: column;
    }
    .row-patent > div {
        width: 100%;
    }
    .row-patent .wpb_column.vc_column_container:nth-child(2) {
        height: 400px;
    }
    .row-patent .wpb_column.vc_column_container:nth-child(1) {
        padding: 30px 20px;
    }
    .row-patents {
        margin: 0 !important;
    }
    .row-patents .container-patents {
        margin-bottom: 35px;
        padding: 0 !important;
    }
    .container-patents > .vc_column-inner {
        margin: 0 12px;
    }
    .box-patents {
        padding: 20px;
    }
    .title-patents {
        font-size: 24px;
        margin-bottom: 25px !important;
        line-height: 100%;
    }
    .title-patents::after {
        bottom: -12px;
    }

    .text-patents {
        font-size: 1em;
        line-height: 1.2em;
    }
    .box-patents:hover {
        top: 5%;
    }
    .box-patents {
        height: 90%;
        width: 90% !important;
    }

    /* I love Curl */
    .row-love-curl {
        display: flex;
        flex-direction: column;
    }
    .row-love-curl > div {
        width: 100%;
    }
    .row-love-curl .wpb_column.vc_column_container:nth-child(2) {
        height: 400px;
    }
    .row-love-curl .wpb_column.vc_column_container:nth-child(1) {
        padding: 30px 20px;
    }
    .row-description-curletto {
        display: flex;
        flex-direction: column;
    }
    .row-description-curletto > div {
        width: 100%;
    }
    .row-agency-curletto .vc_row.wpb_row.vc_inner.vc_row-fluid > div {
        width: 100%;
    }
    .row-agency-curletto .vc_row.wpb_row.vc_inner.vc_row-fluid > div:nth-child(1) {
        margin-bottom: 15px;
    }
    .row-love-curletto {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
    }
    .row-love-curletto > div {
        width: 100%;
    }
    .row-love-curletto .wpb_column.col-love-curletto:nth-child(1) {
        height: 400px;
    }
    .row-love-curletto .wpb_column.col-love-curletto:nth-child(2) {
        padding: 0px 20px 35px;
    }
    .row-description-curletto {
        padding: 10px 0;
    }
    .row-agency-curletto {
        padding: 30px 20px;
    }
    /* Magazine */
    .page-id-278 .header-container,
    .page-id-302 .header-container,
    .page-id-313 .header-container {
        top: 50%;
    } 
    /* Footer */
    #footer a {
        height: 0;
    }
    #footer h3 {
        font-size: 12px;
    }
    #footer .col.span_1_of_3 .textwidget:nth-child(2) {
        font-size: 16px;
    }
    #footer .col.span_1_of_3 .textwidget:nth-child(3), 
    #footer .col.span_1_of_3 .textwidget a {
        font-size: 13px;
    }    
    #powered,
    #custom-footer p, #custom-footer a {
        font-size: 12px;
    }
    #powered img {
        width: 95px;
    }
}   

@media only screen and (max-width: 768px) {
    /* Header */
    .page-id-278 #custom-header, .page-id-302 #custom-header, .page-id-313 #custom-header {
        height: 100px;
    }

    /* General style */
    .column-box-posts {
        width: 400px !important;
        margin: 0 auto;
    }
    .row-small-box-posts .content-box-post .wpb_wrapper {
        padding-top: 135px;
    }
    .row-small-box-posts .content-box-post .wpb_wrapper:hover {
        padding-top: 135px;
    }
    .row-home-box-posts .content-box-post .wpb_wrapper {
        padding-top: 265px;
    }
    .row-home-box-posts .content-box-post .wpb_wrapper:hover {
        padding-top: 265px;
    }
    .row-box-posts .content-box-post .wpb_wrapper {
        padding-top: 203px;
    }
    .row-box-posts .content-box-post .wpb_wrapper:hover {
        padding-top: 203px;
    }

    /* Posts */


    /* Posts grid */
    .cascadeContainer {
        grid-template-columns: [a] minmax(100%,1fr);
        margin-bottom: 30px;
        width: 440px;
    }
    .element:nth-child(5n-4),
    .element:nth-child(5n),
    .element:nth-child(5n-2),
    .element:nth-child(5n-1),
    .element:nth-child(5n-3) {
        grid-row-end: span 6;
    }
    .element .container {
        height: 90% !important;
    }
    .element .container .content {
        top: 85% !important;
    }
    .cascadeContainerRecent {
        grid-template-columns: [a] minmax(100%,1fr);
        margin-bottom: 30px;
        width: 440px;
    }

    /* Home page */ 
    ul.resp-tabs-list {
        display: none !important;
    }
    .content-salone-tab .wpb_column.vc_column_container:nth-child(2) {
        width: 100%;
        padding: 40px;
    }
    .content-salone-tab .wpb_column.vc_column_container:nth-child(3) {
        width: 100%;
        padding: 0;
    }
    .newtabs .resp-tab-content {
        padding: 0 !important;
    }
    /* Patent page */
    .container-patents > .vc_column-inner {
        margin: 0;
    }
    /* I love Curl */
    .row-love-curletto {
        margin: 35px 0 0 0;
    }
    .row-love-curletto .wpb_column.col-love-curletto:nth-child(1) {
        height: 200px;
    }
    .col-love-curletto .text-content.two-col {
        columns: 1;
    }
    .col-love-curletto .vc_row.wpb_row.vc_inner.vc_row-fluid .wpb_column:nth-child(1) {
        margin-bottom: 30px;
    }
    .resp-tabs-container .resp-accordion {
        border: none !important;
        background-color: #fff;
    }
    .resp-tabs-container .resp-accordion.resp-tab-active {
        border-top: none !important;
        border-left: none;
        border-right: none;
        background-color: #fff;
        border-bottom: 1px solid #ee1c25 !important;
    }
    .content-salone-tab .wpb_column.vc_column_container:nth-child(1) {
        width: 100%;
        height: 300px;
    }
    h2.resp-accordion,
    h2.resp-accordion.resp-tab-active {
        text-align: center;
        text-transform: initial;
    }
}

@media only screen and (max-width: 480px) {
    /* Header */
    .header-container .title-header {
        font-size: 38px;
    }
    /* I love curletto page */
    .row-love-curl .wpb_column.vc_column_container:nth-child(2) {
        height: 200px;
    }

    /* Posts grid */
    .cascadeContainer {
        width: 300px;
    }
    .cascadeContainerRecent {
        width: 300px;
    }

    /* Home */
    .column-box-posts {
        width: inherit !important;
    }
    /* Quote */
    .row-quote {
        padding: 20px 30px 50px;
    }
    .row-quote p {
        font-size: 20px;
    }
}

li.lnk_login a:before {
    content: "\e6d7";
    font-family: 'icomoon';
    margin-right: 3px;
    line-height: 100%;
    display: inline-block;
    font-weight: 100;
}
.dwl_row_descr strong {color: black;}
.dwl_row_descr {
    color: #7b7b7b;
    font-size: 16px;
    font-family: montserrat;
}
.dwl_row_lnk a:hover {
    background: #ee1c25;
    color: white!important;
}
.dwl_row_lnk a:before {
    content: "\e762";
    font-family: 'icomoon';
    margin-right: 8px;
}
.dwl_row_lnk a {
    border: 2px solid #ee1c25;
    border-radius: 6px;
    padding: 2px 20px;
    display: table;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 30px!important;
    font-weight: bold;
}
#header.scrolled #menu > ul > li > a {
    font-size: 10px;
}

.wp-video {
    display: table;
    margin: auto;
    width: 100%!important;
}
.mejs-container {
    clear: both;
    width: 100%!important;
    height: auto!important;
    padding-top: 56.25%;
}
/*
    CSS FOOTER LEGALS ALIGN
*/
.footer_btm_inner {
    display: flex;
    align-items: center;
}
#footer_btm_legal {flex-grow: 2;}
#footer_btm_legal span {padding: 0 10px;}

#footer, #footer a {
    color: #dbdbdb;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    font-weight: 100;
}
#footer .textwidget strong {
    font-family: 'georgia';
    font-size: 18px;
    font-weight: 100;
    color: white;
}

#footer #powered > a > img {
    display: inline-block;
    vertical-align: middle;
}
.footer_soc_icon, #powered {
    float: none;
    margin: auto;
}
@media all and (max-width:768px) {
    .footer_btm_inner {
        display: table;
        padding-bottom: 10px;
    }
    #footer_btm_legal {
        padding: 5px 0 15px 0;
    }
    #footer_btm_legal span {
        padding: 0 4px;
        font-size: 12px;
    }
}