/*
Theme Name: 2Nomadi custom theme
Theme URI: https://2nomadi.it/
Author:  2Nomadi
Author URI: https://2nomadi.it/
Description: A custom WordPress theme for 2Nomadi website.
Version: 1.0
Text Domain: two-nomadi
*/

* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background-color: #fff;
}

.widget
{
	padding:0;
}
.html_header_top.html_logo_center .logo
{
	left:0;
}
.su-button-style-flat span {
    background: #fff !important;
}

.campaign-list-item_cta-btn
{
	color:#fff !important;
}

.campaign-list-item_logo img {
    object-fit: contain !important;
}

div#loader{display:none;}


body .two-nomadi-main-header {
    background-color: #284454 !important;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}

.two-nomadi-footer {
    text-align: center;
    background: #284454 !important;
    padding: 20px 0;
}

img.header-image.is-logo-image {
    width: 250px;
    height: auto;
    max-width: 100%;
}

img.custom-logo {
    max-width: 100%;
    width: 250px;
    height: auto;
}

.two-nomadi-content-area {
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 24px;
}

.two-nomadi-container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 20px;
}

.two-nomadi-content-area h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
}

.two-nomadi-content-area h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
}

.two-nomadi-content-area h3 {
    font-size: 25px;
    font-weight: bold;
    line-height: 35px;
}

.two-nomadi-content-area h4 {
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.two-nomadi-content-area h5 {
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
}

.two-nomadi-content-area h6 {
    font-size: 16px;
    font-weight: bold;
    line-height: 25px;
}

.two-nomadi-content-area ol li {
    list-style: decimal;
}

.two-nomadi-content-area ul li {
    list-style: disc;
}

.two-nomadi-content-area ol,
.two-nomadi-content-area ul {
    padding-left: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 10px 0 !important;
}

ol,
ul {
    box-sizing: border-box;
    padding: 0;
}

.two-nomadi-content-area table {
    border-collapse: collapse;
    width: 100%;
    margin: 25px 0;
}

.two-nomadi-content-area td,
.two-nomadi-content-area th {
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 16px;
}

.two-nomadi-content-area dl {
    margin: 20px;
    padding: 0;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.two-nomadi-content-area dt {
    font-weight: bold;
    margin: 10px 0 5px;
    padding: 10px;
    background-color: #eee;
    border-bottom: 1px solid #ddd;
}

.two-nomadi-content-area dd {
    margin: 0 0 10px 20px;
    padding: 10px;
    border-left: 2px solid #ddd;
    background-color: #fff;
}

.two-nomadi-content-area li {
    line-height: 30px;
}

.two-nomadi-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
    box-sizing: border-box;
	flex-wrap:wrap;
}

/* FontAwesome arrow for top-level menu items */
.menu-item-has-children>a::after {
    content: "\f078";
    font-family: "FontAwesome";
    margin-left: 5px;
    color: #fff;
    position: absolute;
    top: 0px;
    right: 0;
    font-size: 10px;
}

.two-nomadi-nav-menu li.menu-item-has-children:hover>a::after {
    transform: rotate(-180deg);
}

/* Hide arrow for nested submenu items */
.sub-menu .menu-item-has-children>a::after {
    display: block;
    right: 33px;
    top: 5px;
}

.two-nomadi-navigation {
    position: relative;
    display: inline-block;
}

.two-nomadi-navigation a {
    display: block;
    font-size: 17px;
    line-height: 40px;
    color: #fff;
    text-decoration: none;
}

.sub-menu li a {
    line-height: 24px;
    margin: 5px 0;
    color: #fff;
}

.two-nomadi-navigation li {
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.two-nomadi-nav-select {
    display: inline-block;
    width: 100%;
    text-align: right;
}

.two-nomadi-nav-select ul {
    padding-top: 30px;
    margin-bottom: 0px !important;
}

.two-nomadi-navigation a:hover,
.two-nomadi-navigation a:focus {
    color: #fff;
}

.two-nomadi-navbar-toggle-wrapper {
    display: none;
}

.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    background: #284454;
    width: 180px;
    text-align: left;
    padding: 10px 0;
    box-shadow: 0 0 6px #ddd;
    top: 34px;
    z-index: 999;
}

.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu li {
    width: 100%;
}

.sub-menu .sub-menu {
    left: auto;
    right: 100%;
    top: -10px;
}

.two-nomadi-nav-select .sub-menu>li>.sub-menu {
    display: none;
    position: absolute;
}

.two-nomadi-nav-select .two-nomadi-menu__list>li:hover>.sub-menu,
.two-nomadi-nav-select .sub-menu>li:hover>.sub-menu {
    display: block;
}


.aligncenter {
    clear: both;
    display: block;
    margin: auto;
}

.campaign-list-item_key-features ul li {
    list-style: none;

}

.campaign-list-item_key-features ul {
    padding-left: 0;
}

.two-nomadi-footer {
    text-align: center;
    background: #E5EDEA;
    padding: 20px 0;
}

.two-nomadi-footer p {
    color: #fff;
}

.agent-img {
    max-width: 250px;
}

@media only screen and (max-width: 590px) {
    .two-nomadi-content-area table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

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

    .menu-item-has-children>a::after,
    .sub-menu .menu-item-has-children>a::after {
        display: none;
    }

    .two-nomadi-table-auto {
        overflow-x: scroll;
        width: 100%;
    }

.two-nomadi-site-title a {
    display: block;
    width: 250px;
}

    .two-nomadi-navigation {
        position: absolute;
        right: 0;
        top: 100%;
        width: 100%;
        cursor: pointer;
        text-align: left;
        background: #284454;
        box-shadow: 0 0 4px #ddd;
        display: none;
        padding: 14px;
        z-index: 999;
    }

    ul#menu-header-menu li {
        border-top: 1px solid #fff;
    }

    .two-nomadi-navbar-toggle-wrapper {
        display: flex !important;
        background-color: #59a9cf;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 15px;
        right: 5px;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        cursor: pointer;
        color: transparent;
    }

    .two-nomadi-navbar-toggle-wrapper span {
        width: 20px;
        height: 2px;
        background-color: #fff;
        display: inline-block;
        position: relative;
        top: 0px;
        right: 0;
    }

    .two-nomadi-navbar-toggle-wrapper span::before,
    .two-nomadi-navbar-toggle-wrapper span::after {
        content: "";
        position: absolute;
        background-color: #fff;
        width: 100%;
        height: 2px;
        left: 0;
    }

    .two-nomadi-navbar-toggle-wrapper span::before {
        top: -7px;
    }

    .two-nomadi-navbar-toggle-wrapper span::after {
        top: 7px;
    }


    .two-nomadi-navigation li {
        position: relative;
        display: inline-block;
        Padding: 0 20px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;

    }


    .sub-menu {
        display: block;
        position: relative;
        left: 0;
        background: transparent;
        width: 100%;
        padding: 0 !important;
        box-shadow: none;
        top: auto;
    }

    .sub-menu .sub-menu {
        left: 0;
        right: 0;
        top: 0;
    }

    .two-nomadi-toggle-menu {
        position: absolute;
        right: -7px;
        width: 40px;
        height: 30px;
        font-size: 15px;
        top: 7px;
        cursor: pointer;
        z-index: 999;
        display: block;
        color: #fff;
        transform: rotate(0deg);
        text-align: center;
    }

    .two-nomadi-toggle-menu i {
        transition: transform 0.3s ease;
    }

    .two-nomadi-toggle-menu.on i {
        transform: rotate(180deg);
    }

    .two-nomadi-nav-select {
        display: inline-block;
        width: 100%;
        text-align: left;
        margin: 0;
    }

    .two-nomadi-nav-select .sub-menu>li>.sub-menu {
        display: block;
        position: relative;
    }

    .two-nomadi-nav-select .two-nomadi-menu__list>li:hover>.sub-menu,
    .two-nomadi-nav-select .sub-menu>li:hover>.sub-menu {
        display: block;
    }

}

.two-nomadi-site-title a {
    color: #59a9cf;
    text-decoration: none;
}

.two-nomadi-site-title a:hover {
    color: #59a9cf;
    text-decoration: none;
}

.two-nomadi-nav-menu a {
    color: #fff !important;
    text-decoration: none;
}

.two-nomadi-nav-menu a:hover {
    color: #59a9cf !important;
    text-decoration: none;
}

.two-nomadi-footer a {
    color: #59a9cf;
    text-decoration: none;
}

.two-nomadi-footer a:hover {
    text-decoration: underline;
}

.two-nomadi-page-content a {
    color: #59a9cf;
    text-decoration: none;
}

.two-nomadi-page-content a:hover {
    text-decoration: underline;
}

.campaign-list-item_cta-btn {
    background: #284454 !important;
}

.campaign-list-item_cta-btn:hover {
    background: #284454 !important;
    color: #000 !important;
}

i.fa.fa-angle-down:before {
    color: #fff;
}

.menu-item-has-children>a::after {
    color: #fff;
}

.two-nomadi-site-title a {
    line-height:28px;
    font-size: 25px;
    font-weight: bold;
}
.html_header_top.html_logo_center .logo{
    left: 100px !important;
}
@media only screen and (max-width: 767px) {
    .responsive .logo img {
        height: 55px !important;
        width: 160px !important;
        max-width: 100%;
        display: block;
        max-height: 80px;
    }
	.two-nomadi-nav-select ul{
		padding-top: 0;
	}
.html_header_top.html_logo_center .logo{
    left: 0px !important;
}
}

@media (min-width: 991px) and (max-width: 1164px) {
	.html_header_top.html_logo_center .logo {
    left: 70px !important;
}
}