/*
Theme Name: WS-theme
Theme URI: https://www.watsonsolutions.it/
Author: Watson Solutions
Author URI: https://www.watsonsolutions.it/
Description: Watson solutions starter theme based on Underscore.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wstheme
This theme, like WordPress, is licensed under the GPL.
*/

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

html,
body {
    height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #000;
    animation: fadeIn .9s ease-in-out;
}

.skip-link {
    display: none;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

.hamburger {
    display: none;
}

nav#site-navigation ul {
    padding: 0;
    margin: 0;
}

nav#site-navigation ul li {
    display: inline-block;
    margin-left: 30px;
}

nav#site-navigation ul li a {
    color: #fff;
    text-decoration: none;
}

/* GENERIC */
.page-padding {
    padding-top: 75px;
    padding-bottom: 100px;
}

.wi-standard-page {
    padding-top: 0;
    padding-bottom: 100px;
}

/* 404 */
.container-404 {
    padding-top: 150px;
    padding-bottom: 150px;
}

.container-404 h2,
.container-404 h3 {
    font-size: 1.5rem;
}

/* HEADER */
.wi-site-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    background-color: #384bb4;
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
    padding-left: 50px;
    padding-right: 50px;
}

img.wi-logo {
    position: absolute;
    left: 50px;
    top: 12px;
    height: 55px;
}

.page-template-06_ricerca .wi-header-page {
    height: 80px;
    margin-bottom: 0;
}

/* HOMEPAGE */
.wi-hp-provider {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.wi-hp-provider h2 {
    margin-bottom: 30px;
}

a.wi-btn-blue {
    display: inline-block;
    background-color: #384bb4;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 25px;
    border: none;
    padding: .375rem 45px;
    transition: .3s;
    margin: 0 5px;
}

a.wi-btn-blue:hover {
    background-color: #304097;
}

a.wi-btn-white {
    display: inline-block;
    background-color: #ffffff;
    color: #384bb4;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 25px;
    border: 2px solid #384bb4;
    padding: .375rem 45px;
    transition: .3s;
    margin: 0 5px;
}

a.wi-btn-white:hover {
    background-color: #e7e7e7;
}

/* MAIN FORM */
.wi-main-form {
    width: 100%;
    height: 100%;
    background-color: #384bb4;
    color: #fff;
    padding-top: 150px;
}

.wi-main-form h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.wi-main-form h2 {
    font-size: 1.6rem;
    font-weight: 400;
}

.wi-form-1 {
    width: 100%;
    margin-top: 50px;
    background-color: #fff;
    color: #000;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
    border-radius: 10px;
    padding: 30px;
}

.wi-form-1 .row {
    margin-bottom: 15px;
}

.wi-form-1 .row:last-child {
    margin-bottom: 0;
}

/* .wi-form-1-field {
    margin-bottom: 10px;
}

.wi-form-1-field label {
    display: block;
    color: #000;
} */

/* .wi-form-field-50 {
    display: flex;
    justify-content: space-between;
}

.wi-form-select {
    width: 49%;
    display: inline;
    position: relative;
}

.wi-form-select select {
    width: 100%;
    height: 60px;
    background-color: #f3f3f3;
    border-radius: 10px;
    border: 1px solid #dedede;
    padding-left: 30px;
    padding-right: 30px;
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none;
    font-size: 16px;
    cursor: pointer;
}

.wi-form-select select::-ms-expand {
    display: none;
}

.wi-form-select::after {
    content: '▾';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #384bb4;
} */

/* input.wi-form-1-loc {
    height: 60px;
    width: 80%;
    background-color: #f3f3f3;
    border-radius: 10px;
    border: 1px solid #dedede;
    padding-left: 30px;
    padding-right: 30px;
}

select.wi-form-1-dist {
    height: 60px;
    border-radius: 10px;
    border: 1px solid #dedede;
    padding-left: 20px;
    padding-right: 20px;
} */

input.wi-btn-form {
    background-color: #ff385c;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 25px;
    border: none;
    padding: .375rem 45px;
    transition: .3s;
}

input.wi-btn-form:hover {
    background-color: #fb5573;
}

button.wi-btn-form {
    background-color: #ff385c;
    color: #fff;
    font-weight: 500;
    font-size: 1.2rem;
    height: 60px;
    line-height: 58px;
    border-radius: 25px;
    border: none;
    padding: 0 60px;
    transition: .3s;
}

button.wi-btn-form:hover {
    background-color: #fb5573;
}

/* COURSE LIST */
.wi-search-results-header {
    background-color: #F7F7F7;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    padding-top: 50px;
    padding-bottom: 50px;
}

.wi-search-results-header h1 {
    font-size: 1.4rem;
    color: #707070;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 0;
}

.wi-search-results-header h1 strong {
    font-weight: 600;
}

h2.wi-search-title {
    font-size: 1.4rem;
    margin-top: 50px;
    margin-bottom: 50px;
}

h3.wi-search-back {
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 1rem;
}

.wi-list {
    margin-bottom: 100px;
}

h3.wi-list-default-title {
    margin-bottom: 30px;
}

.wi-list-course {
    position: relative;
    width: 100%;
    margin: 0 0 30px 0;
    background-color: #fff;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    border-top: 5px solid #3C4AAE;
    padding: 30px;
    cursor: pointer;
    transition: .3s;
}

.wi-list-course:hover {
    border-top: 10px solid #ff385c;
}

.wi-list h2 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

.wi-list p {
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 300;
    color: #707070;
    margin: 0 0 20px 0;
}

.wi-list p:last-child {
    margin: 0;
}

.wi-list p strong {
    font-weight: 400;
    color: #000;
}

p.wi-list-course-dates {
    position: absolute;
    right: 30px;
    top: 30px;
    margin: 0;
}

p.wi-list-course-org {
    position: absolute;
    right: 30px;
    bottom: 30px;
    margin: 0;
}

/* PAGE */
.wi-header-page {
    width: 100%;
    height: 120px;
    margin-bottom: 50px;
}

.wi-page-padding {
    padding-bottom: 100px;
}

/* SINGLE COURSE */
.wi-single-course {
    padding-bottom: 50px;
}

.wi-single-course h1 {
    font-size: 1.4rem;
    margin-bottom: 0;
}

p.wi-single-course-code {
    font-style: italic;
    font-weight: 300;
    font-size: .9rem;
    margin: 0;
}

.wi-single-course h2 {
    color: #707070;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.wi-single-course-content {
    padding-right: 15px;
}

.wi-single-course-content p {
    color: #707070;
    font-weight: 300;
}

.wi-single-course-content strong {
    font-weight: 400;
    color: #000;
}

.wi-single-course-cta p {
    color: #898989;
}

.wi-single-course-dates {
    background-color: #fff;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    border-top: 4px solid #3C4AAE;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 1rem;
}   

.wi-single-course-dates p {
    margin: 0;
}

p.wi-single-course-note {
    font-style: italic;
    font-size: .8rem;
    margin: 5px 0 0 0;
}

p.wi-single-course-info {
    margin: 30px 0 0 0;
}

/* CF7 SINGLE COURSE */
input.wi-form-text {
    height: 50px;
    width: 100%;
    font-size: .9rem;
    font-weight: 300;
    background-color: #f3f3f3;
    border-radius: 10px;
    border: 1px solid #dedede;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
}

textarea.wi-form-textarea {
    width: 100%;
    font-size: .9rem;
    font-weight: 300;
    background-color: #f3f3f3;
    border-radius: 10px;
    border: 1px solid #dedede;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
}

input.wi-btn-form-2 {
    background-color: #ff385c;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    height: 40px;
    line-height: 38px;
    border-radius: 25px;
    border: none;
    padding: 0 60px;
    margin-top: 15px;
    transition: .3s;
}

input.wi-btn-form-2:hover {
    background-color: #fb5573;
}

.wi-footer {
    background-color: #f7f7f7;
    padding-top: 100px;
}

.wi-copy {
    border-top: 1px solid #dedede;
    padding-top: 20px;
    padding-bottom: 20px;
}

.wi-copy p {
    font-size: .8rem;
    margin: 0;
}

/* DASHBOARD */
nav.wi-dashboard-navigation {
    position: absolute;
    left: 0;
    top: 80px;
    width: 100%;
    background-color: #F7F7F7;
    padding-top: 15px;
    padding-bottom: 15px;
}

nav.wi-dashboard-navigation ul {
    text-align: center;
    padding: 0;
    margin: 0;
}

nav.wi-dashboard-navigation ul li {
    display: inline-block;
    margin: 0 30px;
}

a.wi-header-logout {
    position: absolute;
    right: 30px;
    top: 94px;
    z-index: 999;
    font-size: .9rem;
}

span.wi-actions-edit a {
    color: #384bb4;
    font-weight: 500;
}

span.wi-actions-duplicate a {
    color: #44cb00;
    font-weight: 500;
}

span.wi-actions-delete a {
    color: #fa103b;
    font-weight: 500;
}

.wi-dashboard-table {
    /* border-radius: 10px; */
    border: 1px solid #d2d2d2;
    font-size: .8rem;
}

.wi-dashboard-table img {
    margin: 0 2px;
}

.wi-table-draft td {
    background-color: rgb(255, 200, 0) !important;
}

/* .wi-dashboard-table ul {
    border-radius: 10px;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 8px;
}

.wi-dashboard-table li {
    list-style-type: none;
    padding: 10px 15px;
    margin-left: 0;
}

.wi-dashboard-table li:first-child {
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.wi-dashboard-table li:nth-child(odd) {
    background-color: #f3f3f3;
} */

.wi-dashboard-form .row {
    margin-bottom: 10px;
}

.wi-table-pagination {
    text-align: center;
    font-size: .9rem;
    padding: 4px 0 10px 0;
    margin: 0;
}

/* UPLOAD COURSE */
.wi-dashboard-form {
    background-color: #fff;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    padding: 30px;
}

.wi-dashboard-form .wi-form-field {
    border: 1px solid #d2d2d2;
    background-color: #f3f3f3;
    border-radius: 10px;
    padding: 30px;
}

/* 
.wi-dashboard-form .wi-form-field-50 {
    display: flex;
    justify-content: space-between;
}

.wi-dashboard-form .wi-form-field select {
    width: 100%;
}

.wi-dashboard-form .wi-form-field-50 select,
.wi-dashboard-form .wi-form-field-50 input {
    width: 49%;
} */

.wi-dashboard-form label {
    margin-bottom: 0 !important;
}

.wi-dashboard-form span {
    display: block;
    font-size: .8rem;
    font-style: italic;
    margin-bottom: 10px;
}

/* .wi-dashboard-form input,
.wi-dashboard-form label,
.wi-dashboard-form textarea {
    width: 100%;
} */

.wi-form-spacer {
    display: block;
    width: 100%;
    margin: 40px 0;
}

span#wi-add-dates {
    display: inline-block;
    cursor: pointer;
    font-weight: 700;
    margin-top: 15px;
}

.wi-upload-corsi-date {
    position: relative;
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.wi-upload-corsi-date div {
    width: 49%;
    margin-top: 0;
}

span.wi-corso-data-orario-delete {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

.wi-upload-corsi-dates .wi-upload-corsi-date:first-of-type .wi-corso-data-orario-delete {
    display: none;
}

/* EDIT COURSE */
span.wi-form-edit-taxonomies strong i:last-child {
    display: none;
}

/* MOBILE */
@media only screen and (max-width: 992px) {

    .hamburger {
        display: block;
        position: absolute;
        right: 0;
        top: 10px;
        cursor: pointer;
        z-index: 99;
    }

    .hamburger-inner, 
    .hamburger-inner:after, 
    .hamburger-inner:before {
        background-color: #fff;
    }

    .hamburger.is-active .hamburger-inner, 
    .hamburger.is-active .hamburger-inner:after, 
    .hamburger.is-active .hamburger-inner:before {
        background-color: #fff;
    }

    nav#site-navigation {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: #384bb4;
    }

    nav#site-navigation ul {
        padding-top: 50px;
        padding-left: 50px;
    }

    nav#site-navigation ul li {
        font-size: 1.2rem;
        display: block;
        margin-left: 0;
        margin-bottom: 15px;
    }

    img.wi-logo {
        left: 5px;
    }

    .wi-main-form {
        height: auto;
        padding-bottom: 50px;
    }

    a.wi-header-logout {
        right: 80px;
        top: 28px;
        color: #fff;
    }

    nav.wi-dashboard-navigation ul li {
        width: 100%;
        margin-left: 0;
    }

    .wi-header-page {
        height: 180px;
    }

    p.wi-list-course-dates {
        position: relative;
        right: auto;
        top: auto;
        margin: 0 0 20px 0;
    }

    h3.wi-search-back {
        position: absolute;
        right: auto;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    p.wi-list-course-org {
        position: relative;
        right: auto;
        bottom: auto;
        margin-bottom: 20px;
    }

}

@media only screen and (max-width: 450px) {

    .wi-main-form {
        padding-top: 100px;
    }

}