/*
Theme Name: OceanWP Child
Version: 1.0.0
Author: Inti Casto
Author URI: http://www.inticasto.ch/
Description: IMPORTANTE: Eseguire gli aggiornamenti del tema solo in quello genitore!
Template: oceanwp
*/

/* TYPOGRAPHY */

.h1_light {
    font-size: 27px;
    font-weight: normal;
}

.page-title {
    font-weight: 600;
    font-style: normal;
    font-size: 33px;
    line-height: 1.2;
}

.div_page-title {
    color: #333333;
    font-weight: 600;
    font-style: normal;
    font-size: 33px;
    line-height: 1.2;
    display: none;
}

h2 {
    color: #666666;
}

.accordion-formazione h3 {
    transition: all 0.3s ease;
}

.accordion-formazione h3:hover {
    color: #0565af !important;
}

h3 {
    line-height: 1.3 !important;
}

h4 {
    letter-spacing: -0.1px !important;
}

.single-post h4 {
    margin-bottom: -15px !important;
}

.accordion-formazione h4 {
    margin-bottom: 8px !important;
}

p {
    font-size: 14px;
    line-height: 1.4 !important;
}

.breadcrumb br {
    display: none;
}

/* Text selection */
::selection {
  background: #009ee2; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #009ee2; /* Gecko Browsers */
}

/* Formazione in breve */
.elementor-93 .elementor-element.elementor-element-3328eee > .elementor-element-populated {
    border-top: 4px solid;
    -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    border-image: linear-gradient(90deg, #009ee2 0%, #ea5a9a 100%);
    border-image-slice: 1;
}

.elementor-93 .elementor-element.elementor-element-3328eee > .elementor-element-populated h2 {
    color: #555555;
    font-weight: 700;
    line-height: 1.1
}

.formazione-in-breve_wrap {
        margin: 0 4% 0 72% !important;
    }

.formazione-in-breve {
    position: absolute !important;
    border-top: 4px solid;
    -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    border-image: linear-gradient(90deg, #009ee2 0%, #ea5a9a 100%);
    border-image-slice: 1;
    margin-top: 60px;
    z-index: 1;
}

/* new */
.in-breve {
    border-top: 4px solid;
    -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    border-image: linear-gradient(90deg, #009ee2 0%, #ea5a9a 100%);
    border-image-slice: 1;
}

/* Internet Explorer 9 and below */
@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
    
    .formazione-in-breve {
        margin-top: 230px;
    }
}

/* list styles */

ul {
    margin: -7px 0 15px 15px;
}

.external-link_wrap ul, .formazione-in-breve ul {
    margin: 15px 0 15px 20px;
}

#elementor-tab-content-2064 ul, #elementor-tab-content-7364 ul, #elementor-tab-content-1234 ul, #elementor-tab-content-1624 ul, #elementor-tab-content-1874 ul, #elementor-tab-content-2014 ul, #elementor-tab-content-1604 ul, #elementor-tab-content-3954 ul, #elementor-tab-content-9914 ul, #elementor-tab-content-1923 ul, #elementor-tab-content-1954 ul, #elementor-tab-content-1894 ul, #elementor-tab-content-4913 ul, #elementor-tab-content-4084 ul, #elementor-tab-content-2443 ul, #elementor-tab-content-1902 ul, #elementor-tab-content-1463 ul, #elementor-tab-content-1211 ul {
    margin: 0px 0 15px 22px;
}

.formazione-in-breve li, .article-content li, .external-link_wrap li, #elementor-tab-content-2064 li, #elementor-tab-content-7364 li, #elementor-tab-content-1234 li, #elementor-tab-content-1624 li, #elementor-tab-content-1874 li, #elementor-tab-content-2014 li, #elementor-tab-content-1604 li, #elementor-tab-content-3954 li, #elementor-tab-content-9914 li, #elementor-tab-content-1923 li, #elementor-tab-content-1954 li, #elementor-tab-content-1894 li, #elementor-tab-content-4913 li, #elementor-tab-content-4084 li, #elementor-tab-content-2443 li, #elementor-tab-content-1902 li, #elementor-tab-content-1463 li, #elementor-tab-content-1211 li {
    list-style-image: url('../../uploads/2018/02/icon_external.svg');
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    line-height: 1.3;
}

/* new */
.accordion-formazione li {
    list-style-image: url('../../uploads/2018/02/icon_external.svg');
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    line-height: 1.3;
    margin-left: 8px;
}

/* new */
.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-closed {
    margin-top: 4px;
}

.article-content_wrap li {
    list-style: initial;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.6;
}

.article-content_wrap ul {
    margin: -10px 0 0 37px !important;
}

/* Downloads list */
.dlm-downloads {
    margin: -18px 0 -18px 20px !important;
}

.dlm-downloads li {
    list-style-image: url('../../uploads/2018/02/icon_download.svg') !important;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
}

.download-link {
    line-height: 1.5;
}

.formazione-in-breve .dlm-downloads {
    margin: -10px 0 15px 20px;
}

/* Titoli dei widget */
.sidebar-box .widget-title {
    border-left: 0;
    border-bottom: 4px solid;
    -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ffee2f 100%);
    -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ffee2f 100%);
    border-image: linear-gradient(90deg, #009ee2 0%, #ffee2f 100%);
    border-image-slice: 1;
    padding: 0 0 5px 0;
    margin-bottom: 25px !important;
}

#footer-widgets .widget-title {
    color: #333333 !important;
    border: none;
    font-family: "Raleway", Sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-transform: initial;
    margin-bottom: 8px !important;
}

.post_title {
    border-left: 0;
    border-bottom: 4px solid;
    -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    border-image: linear-gradient(90deg, #009ee2 0%, #ea5a9a 100%);
    border-image-slice: 1;
    padding: 0 0 5px 0;
}

.sf-menu li.menu-item {
white-space: normal;
}

/* LINK */

a {
    font-weight: 500;
}

.elementor_post-list a:hover {
    color: #0565af !important;
}

/* new */
.footer_links a {
    color: white;
}

.footer_links a:hover {
    color: white;
    opacity: 0.5;
}

/* SECTIONS */

.content-area {
    border: none;
}

/* Main navigation */
#site-header-inner {
    padding: 34px 0 0 0 !important;
}

#site-navigation-wrap {
    margin-top: 45px;
}

/* Mega menu */
.dropdown-menu .sub-menu {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.megamenu {
    padding: 15px 10px;
}

/* content */
.navigation .megamenu li a.menu-link .text-wrap {
    color: #333333;
}

/* column title */
.navigation .megamenu>li>a.menu-link {
    font-weight: bold;
}

.navigation .megamenu>li>a.menu-link:hover {
    background-color: white;
    cursor: default;
}

/* "CPS", "CENTRO SIMULAZIONE" menu link */
#menu-item-2006 .megamenu>li>a.menu-link, #menu-item-2028 .megamenu>li>a.menu-link {
    font-weight: 400 !important;
}

#menu-item-2006 .megamenu>li>a.menu-link:hover, #menu-item-2028 .megamenu>li>a.menu-link:hover {
    background-color: #f7f7f7 !important;
    cursor: pointer !important;
}

/* link */
/* ReCaptcha */
.grecaptcha-badge {
    z-index: 9999;
    display: none;
}

.navigation .megamenu li a.menu-link {
    padding: 10px 10px;
    text-transform: initial;
}

#site-navigation-wrap .dropdown-menu>li>a {
    cursor: pointer;
}

/* Related posts section below post content*/
#related-posts {
    display: none;
}

/* Post item */
#category-posts-2-internal .cat-post-item, #category-posts-3-internal .cat-post-item {
    border: none !important;
    margin: 10px 0 !important;
    padding: 0 !important;
}

/* Post title */
#category-posts-2-internal li > div, #category-posts-3-internal li > div {
    margin: 5px 0 10px 0 !important;
}

#category-posts-2-internal .cat-post-title, #category-posts-3-internal .cat-post-title {
    text-transform: uppercase;
    color: #333333;
    font-weight: bold !important;
}

/* Post content */
#category-posts-2-internal p, #category-posts-3-internal p {
    margin-top: -5px !important;
}

.elementor-post__excerpt {
    margin-bottom: 0 !important;
}

/* Header image wrapper */
.header-img_wrap {
    border-bottom: 4px solid;
    -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    border-image: linear-gradient(90deg, #009ee2 0%, #ea5a9a 100%);
    border-image-slice: 1;
    padding: 0 0 5px 0;
}

/* Article image wrapper */
.page-header {
    border-bottom: 4px solid;
    -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
    border-image: linear-gradient(90deg, #009ee2 0%, #ea5a9a 100%);
    border-image-slice: 1;
    padding: 0 0 5px 0;
}

/* Article image title */
.page-header .page-header-title, .page-header.background-image-page-header .page-header-title {
    margin: 100px 0 !important;
}

/* Article default breadcrumb */
.site-breadcrumbs {
    display: none !important;
}

/* Blog pages */

/* Navigation header */
#site-header {
    border-bottom: 4px solid;
    -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ffee2f 100%);
    -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ffee2f 100%);
    border-image: linear-gradient(90deg, #009ee2 0%, #ffee2f 100%);
    border-image-slice: 1;
}

/* SIDEBAR 
.sidebar-box {
    margin-top: 700px;
}*/

.sidebar-box .cat-post-title {
    line-height: 1.1;
    color: #009ee2 !important;
}

.sidebar-box .cat-post-title:hover {
    color: #0565af !important;
}

/* Page "Per gli utenti" 
.page-id-2008 .sidebar-box {
    margin-top: 20px;
}

/* Page "HOME", "Il CPS", "Per gli utenti", "CeSAMU", "FC" 
.page-id-6 .sidebar-box, .page-id-74 .sidebar-box, .page-id-2029 .sidebar-box, .page-id-3198 .sidebar-box {
    margin-top: 380px;
}

/* Page "CORSOSAM", "CORSIATS" 
.page-id-132 .sidebar-box, .page-id-128 .sidebar-box {
    margin-top: 540px;
}

/* Page "TECDM" 
.page-id-95 .sidebar-box {
    margin-top: 620px;
}

/* Page "OPAFS", "ASDDEN", "EST" 
.page-id-93 .sidebar-box, .page-id-89 .sidebar-box, .page-id-91 .sidebar-box {
    margin-top: 650px;
}

/* Page "MASS" 
.page-id-146 .sidebar-box {
    margin-top: 720px;
}

/* Page "ASSO", "ASSDP", "CORSOBCF" 
.page-id-130 .sidebar-box, .page-id-120 .sidebar-box, .page-id-126 .sidebar-box {
    margin-top: 730px;
}

/* Page "POD", "SA", "TSO", "ASSDC" 
.page-id-106 .sidebar-box, .page-id-108 .sidebar-box, .page-id-110 .sidebar-box, .page-id-142 .sidebar-box {
    margin-top: 960px;
}

/* Page "MASSMED" 
.page-id-102 .sidebar-box, .page-id-104 .sidebar-box {
    margin-top: 980px;
}

/* Footer */
.site-footer {
    margin-top: -70px;
}

/* Page "FC" */
.page-id-3198 .site-footer {
    margin-top: -10px;
}

/* Custom after footer */
#footer-widgets {
    padding: 0 !important;
}

#custom_after-footer_top {
    background: #009ee2;
    background: linear-gradient(to right, #009ee2 , #009658);
    background: -webkit-linear-gradient(to right, #009ee2 , #009658);
    background: -moz-linear-gradient(to right, #009ee2 , #009658);
    background: -o-linear-gradient(to right, #009ee2 , #009658);
    color: white;
}

#custom_after-footer_top h4 {
    color: white;
    border: none;
    font-family: "Raleway", Sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-transform: initial;
    margin-bottom: 8px !important;
}

#custom_after-footer_top a {
    color: white;
    opacity: 1;
}

#custom_after-footer_top a:hover {
    opacity: 0.5;
}

#custom_after-footer_bottom h4 {
    color: #333333;
    border: none;
    font-family: "Raleway", Sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-transform: initial;
    margin-bottom: 8px !important;
}

#custom_after-footer_top {
    width: 100%;
    margin: 0 auto;
    padding: 80px 6%;
}

#custom_after-footer_bottom {
    width: 100%;
    margin: 0 auto;
    padding: 60px 6%;
}

.after-footer_col-1 {
    display: inline-block;
    width: 24%;
    vertical-align: top;
    padding: 0 15px 0 0;
}

.after-footer_col-2 {
    display: inline-block;
    width: 24%;
    vertical-align: top;
    padding: 0 15px;
}

.after-footer_col-3 {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    padding: 0 0 0 15px;
}

#custom_after-footer_bottom img {
    display: block;
}

#img_quality {
    width: 60px;
}

#img_ti-logo {
    width: 170px;
    margin: 20px 0 40px 0;
    float: right;
}

/* Contact button */


/* Contact form */

.wpcf7-form p {
    display: inline;
}

#form_input-text, #form_input-email {
    background-color: white;
    border: none;
    border-radius: 0;
}

#form_input-text {
    padding-bottom: 100px;
    margin-bottom: 5px;
    margin-top: -2px;
}

#form_input-email {
    margin: 5px 10px 5px 0;
}

/* submit button */
#form_submit {
    background-color: #ea5a9a;
    font-family: Raleway, Helvetica, sans-serif;
    font-size: 13px;
    text-transform: capitalize;
    margin-top: 4px;
    width: 200px;
}

#form_submit:hover {
    background-color: #ff7ac3;
}

/* Sent message */
div.wpcf7-mail-sent-ok {
    margin: 0;
    padding: 0;
    border: none;
    color: white;
}

/* Error message */
div.wpcf7-response-output {
    margin: 0;
    padding: 0;
    border: none;
    color: white;
    margin-top: 20px;
}

/* Requirements message */
span.wpcf7-not-valid-tip {
    color: white;
    margin-bottom: 10px;
}

/* breadcrumb */
.breadcrumb p {
    font-size: 13px !important;
    margin: 0 !important;
}

.current-menu-item a {
    color: #009ee2 !important;
}

/* WP default article */

.single-post .entry-header {
    display: none;
}

.single-post .meta {
    display: none !important;
}

/* Post category "Corsi", "Corsi FC" */
.post-in-category-corsi .page-header, .post-in-category-corsi-fc .page-header {
    display: none;
}

/* Sticky button "Contatti" */
.sticky {
    max-width: 2010px;
    margin: 0 auto -70px auto;
    bottom: 0;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
}

.single-post .sticky {
    margin: 0 auto -50px auto;
}

.sticky div {
    margin: 0 4%;
    width: 186px;
}

.sticky h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    background-color: #009ee2;
    padding: 5px 20px;
}

/* RESPONSIVE */

/* Large devices */
@media screen and (max-width: 1202px) {
    
    /* Main navigation */
    #site-navigation-wrap {
        margin-top: 0;
    }
    
}

/* Medium devices */
@media screen and (max-width: 979px) {
    
    /* TYPOGRAPHY */
    
    h1 {
        font-size: 30px !important;
        line-height: 1.3;
    }
    
    .h1_light {
        font-size: 24px !important;
    }
    
    h2 {
        font-size: 22px !important;
    }
    
    h3 {
        font-size: 19px;
    }
    
    .breadcrumb br {
        display: block;
    }
    
    /* Main navigation */
    #site-header-inner {
        padding: 34px 0 !important;
    }
    
    #mobile-dropdown {
        -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    #mobile-dropdown ul li a {
        color: #555;
        font-weight: 600;
    }
    
    #sidr li, #sidr ul, #mobile-dropdown ul li, #mobile-dropdown ul li ul {
        border: none;
    }
    
    /* dropdown icon */
    #mobile-dropdown ul li a .dropdown-toggle:before {
        font-size: 40px;
        font-weight: 300;
    }
    
    /* "MENU" text */
    .oceanwp-text {
        color: #009ee2;
    }
    
    /* 1st sub menu */
    .sub-menu a {
        color: black !important;
    }
    
    /* 2nd sub menu links */
    .menu-item-100 a, .menu-item-99 a, .menu-item-98 a, .menu-item-97 a, .menu-item-140 a, .menu-item-139 a, .menu-item-138 a, .menu-item-137 a, .menu-item-136 a, .menu-item-135 a, .menu-item-134 a, .menu-item-116 a, .menu-item-115 a, .menu-item-114 a, .menu-item-113 a, .menu-item-112 a, .menu-item-154 a, .menu-item-153 a, .menu-item-152 a, .menu-item-151 a, .menu-item-85 a, .menu-item-2007 a, .menu-item-2010 a, .menu-item-2031 a, .menu-item-1195 a, .menu-item-2757 a, .menu-item-4300 a {
        background-color: #dedede !important;
        font-weight: 400 !important;
        color: black !important;
        border-bottom: solid 1px #cacaca;
        line-height: 1.4;
    }
    /*
    .widget-area.sidebar-primary {
        margin-top: 0;
    }
    
    /* Sidebar 
    .sidebar-box {
        margin-top: 0 !important;
    }*/
    
    .formazione-in-breve_wrap {
        margin: 0 4% 0 55% !important;
    }
    
    .formazione-in-breve {
        margin-top: -160px !important;
    }
    
    .formazione-in-breve li, .article-content li, .external-link_wrap li, #elementor-tab-content-2064 li, #elementor-tab-content-7364 li, #elementor-tab-content-1234 li, #elementor-tab-content-1624 li, #elementor-tab-content-1874 li, #elementor-tab-content-2014 li, #elementor-tab-content-1604 li, #elementor-tab-content-3954 li, #elementor-tab-content-9914 li, #elementor-tab-content-1923 li, #elementor-tab-content-1954 li, #elementor-tab-content-1894 li, #elementor-tab-content-4913 li, #elementor-tab-content-4084 li, #elementor-tab-content-2443 li, #elementor-tab-content-1902 li, #elementor-tab-content-1463 li, #elementor-tab-content-1211 li {
        margin-bottom: 10px !important;
    }
    
    .dlm-downloads {
        margin-bottom: -8px !important;
    }
    
    /* Page "FC" */
    .page-id-3198 .site-footer {
        margin-top: -60px;
    }
    /*
    .page-id-3198 .sidebar-box {
        margin-top: -40px !important;
    }*/
}

/* Small devices */
@media screen and (max-width: 768px) {
    
    /* SECTION */
    
    /* Formazione in breve */
    .elementor-93 .elementor-element.elementor-element-3328eee > .elementor-element-populated {
        border: none;
    }
    
    .elementor-93 .elementor-element.elementor-element-3328eee > .elementor-element-populated h2 {
        border-bottom: 4px solid;
        -moz-border-image: -moz-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
        -webkit-border-image: -webkit-linear-gradient(0deg, #009ee2 0%, #ea5a9a 100%);
        border-image: linear-gradient(90deg, #009ee2 0%, #ea5a9a 100%);
        border-image-slice: 1;
        line-height: 1.8;
    }
    
    /* TYPOGRAPHY */
    
    .div_page-title {
        display: block;
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 28px !important;
    }
    
    h2 {
        line-height: 1.3;
    }
    
    .h2_formazione-in-breve {
        display: none;
    }
    
    p {
        font-size: 16px !important;
        line-height: 1.4;
    }
    
    .breadcrumb br {
        display: none;
    }
    
    .article-content_wrap li {
        font-size: 16px;
        line-height: 1.4;
    }
    
    /* LINK */
    
    .elementor_post-list a {
        font-size: 16px !important;
    }
    
    /* main logo */
    #site-logo #site-logo-inner a img {
        width: 140px;
    }
    
    .formazione-in-breve_wrap {
        margin: 0 3% !important;
    }
    
    .formazione-in-breve {
        margin-top: 0 !important;
        width: 100% !important;
    }
    
    /* Article image title */
    .page-header .page-header-title, .page-header.background-image-page-header .page-header-title {
        margin: 50px 0 !important;
    }
    
    /* Footer */
    #footer-widgets {
        display: none;
    }
    
    .site-footer {
        margin-top: -50px;
    }
    
    /* Custom after footer */
    
    /* Page "FC" */
    .page-id-3198 .site-footer {
        margin-top: -50px;
    }
    /*
    .page-id-3198 .sidebar-box {
        margin-top: -30px !important;
    }*/
    
    #custom_after-footer_top, #custom_after-footer_bottom {
        padding: 50px 2%;
    }
    
    .after-footer_col-1 {
        width: 100%;
        padding: 0 15px;
    }

    .after-footer_col-2 {
        width: 100%;
        padding: 0 15px;
    }

    .after-footer_col-3 {
        width: 100%;
        padding: 0 15px;
    }
    
    #custom_after-footer_top .after-footer_col-3 {
        margin-bottom: -15px;
    }
    
    #custom_after-footer_bottom .after-footer_col-1 {
        margin-bottom: 20px;
    }
    
    #img_quality {
        margin: 0 auto 50px auto;
    }

    #img_ti-logo {
        float: none;
        margin: 0 auto;
    }
    
    /* Contact form */

    /* submit button */
    #form_submit {
        width: 100%;
    }
    
    /* Error message */
    div.wpcf7-response-output {
        margin-top: 0;
    }
    
    /* Sticky button "Contatti" */
    .sticky {
        display: none;
    }
    
}