/*CUSTOM STYLES */
.no-padding-left {
    padding-left: 0px !important;
}

.no-padding-right {
    padding-right: 0px !important;
}

.main-content {
    padding-left: 18%;
    padding-right: 18%;
    text-align: center;
}

.main-content .row {
    background-color: #ffffff;
    margin-left: -30px;
    margin-right: -30px;
    margin-top: 20px;
}

ul.scroll-menu {

}

.navbar-collapse {
    overflow-y: scroll !important;
}

/*MENU STYLES*/
.dropdown-menu {
    position: absolute;
    top: 75px;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 220px !important;
    padding: 6px 0;
    margin: 4px 0 0;
    list-style: none;
    background-color: #f5f5f5 !important;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    /*    overflow-y: scroll;
        max-height: 20px;*/

}

.navbar-brand {
    padding: 0 0 0 5px !important;
}

.home-logo > img {
    /*width: 100px;*/
    height: 90px;
}

.cerca:before {
    content: "\f002";
    color: #ffffff;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-left: 20px;
    /*  padding-left: 10px;
      padding-right: 10px;*/
}

.cerca, .socials {
    color: #ffffff;
    padding-top: 40px;
    cursor: pointer;
}

.socials:before {
    content: "\f1e0";
    color: #ffffff;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-left: 20px;
    /*  padding-left: 60px;
      padding-right: 40px;*/
}

/*SEARCH AND SOCIAL BUTTONS0*/
#search_section {
    display: none;
    position: fixed;
    right: 0;
    z-index: 1029;
    min-width: 150px;
}

#social_section {
    display: none;
    position: fixed;
    z-index: 100000;
}

/*SOCIAL ICONS*/
.twitter:before {
    content: "\f099";
    color: #0172ba;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.flickr:before {
    content: "\f16e";
    color: #0172ba;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

.fb:before {
    content: "\f09a";
    color: #0172ba;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.blogger:before {
    content: "\f310";
    font: normal normal normal 20px/1 Font-Awesome-Social;
    color: #0172ba;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.youtube:before {
    content: "\f167";
    color: #0172ba;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pinterest:before {
    content: "\f0d2";
    color: #0172ba;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.instagram:before {
    content: "\f16d";
    color: #0172ba;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.googleplus:before {
    content: "\f0d4";
    color: #0172ba;
    font: normal normal normal 20px/1 FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*Candidatura unesco*/
/*#candidaturaUnesco {
    display: none;
}*/

/*FOOTER STYLES*/
.footer-menu, .footer-text {
    background-color: #444545 !important;
    color: #ffffff !important;
    text-align: center;
}

.footer-menu {
    padding-bottom: 10px;
}

.footer-menu .nav > li > a:hover, .footer-menu .nav > li > a:focus {
    background-color: transparent;

}

.footer-menu .nav > li {
    padding-right: 20px;
}

.footer-logo {
    background-color: #0172ba;
    text-align: center;
    padding: 20px;
}

.footer-logo a {
    padding-right: 60px;
}

.footer-text {
    padding: 30px;
}

.nav-pills-footer li a {
    line-height: 5px !important;
    padding-top: 0px !important;
}

.nav-pills-footer {
    display: inline-block;
}

.navbar, .navbar .container {
    background-color: #0172ba !important;
}

@media only screen
and (min-width: 1280px) {

    /*MENU STYLES*/
    .navbar-collapse.collapse {
        text-align: center;
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }

    .navbar-brand > img {
        display: none;
    }

    .navbar, .navbar .container {
        background-color: #0172ba !important;
        padding: 0;
        line-height: 40px;
        margin-bottom: 10px;
    }

    .nav-child {
        text-align: left;
    }

    .navbar-extra-button {
        display: none;
    }

    .navbar .nav > li > a {
        text-transform: uppercase;
        font-size: 15px;
    }

    .navbar .nav > li {
        float: none;
        top: 0;
        vertical-align: middle;
    }

    .nav > li {
        position: relative;
        display: inline-block;
    }

    .nav.navbar-nav {
        display: inline-block;
        float: none;
        margin: 0;
    }

    .navbar-nav.main-menu > li > a {
        padding-bottom: 0px !important;
        /*    line-height: 85px;*/
    }

    .nav > li > a {
        padding: 10px 14px;
    }

    .navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
        color: #ffffff;
        text-decoration: none;
        background-color: transparent
    }

    .navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
        color: #ffffff;
        background-color: transparent;
        text-decoration: none;
        /*background-color: #e5e5e5;
        color: #555;*/
        -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
        -box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125)
    }

    .navbar .nav .dropdown-toggle .caret {
        margin-top: 8px
    }

    .navbar .nav > li > .dropdown-menu:after {
        position: absolute;
        top: -12px;
        left: 10%;
        display: inline-flex;
        border-right: 40px solid transparent;
        border-bottom: 13px solid #f5f5f5;
        border-left: 40px solid transparent;
        content: '';
    }

    .navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
        /* color: #555;*/
        /* background-color: #e5e5e5*/
        background-color: transparent;
        color: #ffffff;
    }

    li.dropdown a:hover, li.dropdown a:focus, .navbar .nav > li > a:hover {
        color: #FFFFFF !important;
        /*  font-weight: bold;*/
    }

    li.dropdown-submenu a:hover, li.dropdown-submenu a:focus, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        color: #0172ba !important;
        font-weight: bold;
        cursor: pointer;
    }

    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
        color: #0172ba;
        text-decoration: none;
        background-color: #f5f5f5;
        outline: 0;
        cursor: pointer;
    }

    .dropdown-menu > li > a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 20px;
        color: #333;
        /* white-space: nowrap*/
        white-space: pre-line !important;
    }

    .dropdown-submenu > a:after {
        display: block;
        float: right;
        width: 0;
        height: 0;
        margin-top: 5px;
        margin-right: -10px;
        border-color: transparent;
        border-left-color: #ccc;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        content: " "
    }

    li.dropdown-submenu a:hover, li.dropdown-submenu a:focus, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        color: #0172ba !important;
        font-weight: bold;
        cursor: pointer;
    }

    .nav-tabs .dropdown-toggle .caret {
        margin-top: 8px
    }

    /*.nav .active .dropdown-toggle .caret {
        border-top-color: #fff;
        border-bottom-color: #fff

    }*/
    .nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > li.dropdown.open.active > a:focus {
        color: #333333;
        background-color: #f5f5f5;
        border-color: #f5f5f5;
    }

    .nav > li.dropdown.open > a:hover {
        color: #0172ba !important;
    }

    .nav li.dropdown.open .caret, .nav li.dropdown.open.active .caret, .nav li.dropdown.open a:hover .caret, .nav li.dropdown.open a:focus .caret {
        border-top-color: #000000;
        border-bottom-color: #000000;
    }

    .dropdown .caret {
        margin-top: 8px !important;
        margin-left: 2px !important;
    }

    .nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
        background-color: transparent !important;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0 !important;
        left: 100%;
        margin-top: -6px !important;
        margin-left: -1px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    /*
        .dropdown-submenu:hover > .dropdown-menu {
            display: block;
            cursor: pointer;
        }*/
    .dropdown-submenu > a:after {
        display: block;
        float: right;
        width: 0;
        height: 0;
        margin-top: 5px;
        margin-right: -10px;
        border-color: transparent;
        border-left-color: #ccc;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        content: " "
    }

    .dropdown-submenu:hover > a:after {
        border-color: transparent transparent transparent #0172ba !important;
    }

    ul.dropdown-menu li > a:hover {
        color: #0172ba !important;
    }

    ul.unstyled, ol.unstyled {
        margin-top: 8px;
    }

    ul.unstyled li {
        font-size: 15px;
        padding: 4px;
        text-transform: initial;
    }

    .centered-logo {
        width: 85%;
    }

    .centered-logo span img {
        width: 70%;
    }

    .home-logo > img {
        height: 90px;
    }

    .custom-home {
        color: #ffffff;
    }

    .custom-home:before {
        content: "\f015";
        color: #ffffff;
        font: normal normal normal 20px/1 FontAwesome;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /*SEARCH STYLES*/
    .cerca, .socials {
        display: block;
    }

    #mod-search-searchword {
        width: 150px;
        height: 35px;
        padding: 5px;
        margin-right: 5px;
        color: #777777;
        border: none;
    }

    .search form .btn-primary {
        background-color: #ffbd00;
        color: #ffffff;
        border-radius : 0px;
        margin-left: -9px;
        font-weight: 500;
        border-radius: 0px;
        font-weight: 500;
        border: none;
        height: 35px;
        margin-top: -2px;
    }

    /*SOCIAL STYLES*/
    #socialDrop::after {
        border-bottom: 20px solid #eee;
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        content: "";
        display: block;
        height: 0;
        left: 0;
        position: absolute;
        top: -19px;
        width: 0;
        z-index: 100000;
    }

    ul#socialDrop li:first-child {
        padding-left: 0;
    }

    ul#socialDrop li {
        display: inline-block;
        float: left;
        list-style: outside none none;
        margin: 0 0 10px;
        padding: 0;
    }

    ul#socialDrop {
        background: #eee none repeat scroll 0 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        display: none;
        height: 140px;
        list-style: outside none none;
        margin: 0;
        padding: 15px 20px 20px;
        position: absolute;
        width: 100px;
    }

    ul#socialDrop li a {
        color: #bf3a0a;
        display: block;
        height: 20px;
        overflow: hidden;
        transition: transform 0.2s ease-in-out 0s;
        white-space: nowrap;
        width: 20px;
        text-decoration: none;
    }

    .lang-font {
        position: fixed;
        right: 220px;
        top: 31px;
        z-index: 1040;
    }

    .language:before {
        content: "\f0ac";
        color: #ffffff;
        font: normal normal normal 20px/1 FontAwesome;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-top: 40px;
    }

    .lang-it {
        margin-left: -5px;
    }

    /* GENERAL STYLES*/
    #header {
        /*background: url('../../../images/immaginisito/auguri-pasqua-2000x700.jpg') no-repeat;
        background:url('../../../images/immaginisito/auguri2016.jpg') no-repeat;
      background: url('../images/header/header_image.jpg') no-repeat;     */
        height: 700px;
        min-height: 200px;
        margin-top: 110px;
        background-size: 100% 700px;
    }

    #img_sitename {
        margin: 0 auto;
        /*max-width: 20%;*/
        max-width: 20%;
    }

    #weathermodule, #newsletter {
        padding-left: 0px;
        padding-right: 0px;
    }

    .main-highlights {
        padding-left: 18%;
        padding-right: 18%;
        margin-top: -30px;
    }

    #next {
        margin-right: 45px !important;
        margin-top: 45px !important;
    }

    #prev {
        margin-left: 20px !important;
        margin-top: 45px !important;
    }

    .rss img {
        width: 25px;
        margin-top: -15px;
    }
}

@media only screen
and (max-width: 1279px) {
    /*MENU STYLES*/
    /*  .dropdown-submenu:hover > .dropdown-menu {
          display: block;
      }*/
    .navbar-brand > img {
        display: none;
    }

    .navbar-toggle {
        background-color: #ffffff !important;
        float: left !important;
        margin-left: 10px;
    }

    .navbar-extra-button {
        display: none;
    }

    .navbar-nav > li {
        float: none;
        display: inline-block;
    }

    .navbar .nav > li {
        float: none;
        /*  top: 30px;
          height: 45px;*/
        height: 80px;
        vertical-align: middle;
        text-align: center;
        padding-top: 18px;
    }

    /*.navbar-nav > li#1023 {
        display: none;
    }*/

    .nav.navbar-nav {
        float: none;
        margin: 0;
    }

    .nav > li {
        position: relative;
        display: inline-block;
        width: 9%;
    }

    .navbar .nav > li > a {
        font-size: 12px !important;
    }

    li.dropdown a:hover, li.dropdown a:focus, .navbar .nav > li > a:hover {
        color: #FFFFFF !important;
        /*  font-weight: bold;*/
    }

    li.dropdown-submenu a:hover, li.dropdown-submenu a:focus, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        color: #0172ba !important;
        cursor: pointer;
    }

    .navbar .nav > li > a:focus, .navbar .nav > li > a:hover {
        color: #333;
        text-decoration: none;
        background-color: transparent
    }

    .navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus {
        color: #ffffff;
        background-color: transparent;
        text-decoration: none;
        /*background-color: #e5e5e5;
        color: #555;*/
        -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
        -box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125)
    }

    .nav > li > a {
        padding: 4px 7px;
    }

    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
        color: #0172ba;
        text-decoration: none;
        background-color: #f5f5f5;
        outline: 0;
        cursor: pointer;
    }

    .dropdown-menu > li > a {
        white-space: pre-line !important;

    }

    .dropdown-sub-menu-item {
        padding-left: 10px;
    }

    .dropdown-menu {
        top: 80px;
    }

    /* .navbar-nav.main-menu > li > a {
       margin-top: 15px;
   }
*/
    /*MAIN HIGHLIGHTS MODULE*/
    .main-highlights {
        padding-left: 0;
        padding-right: 0;
        margin-top: -30px;
    }

    /*SEARCH STYLES*/
    #search_section {
        top: 73px;
    }

    #mod-search-searchword {
        width: 150px;
        height: 35px;
        padding: 5px;
        margin-right: 5px;
        color: #777777;
        border: none;
    }

    .search form .btn-primary {
        background-color: #ffbd00;
        color: #ffffff;
        border-radius: 0px;
        margin-left: -9px;
        font-weight: 500;
        border-radius: 0px;
        font-weight: 500;
        border: none;
        height: 35px;
        margin-top: -2px;
    }

    /*SOCIAL STYLES*/
    /*
        #socialDrop::after {
            border-bottom: 20px solid #eee;
            border-left: 50px solid transparent;
            border-right: 50px solid transparent;
            content: "";
            display: block;
            height: 0;
            left: 0;
            position: absolute;
            top: -19px;
            width: 0;
            z-index: 100000;
        }*/
    ul#socialDrop li:first-child {
        padding-left: 0;
    }

    ul#socialDrop li {
        display: inline-block;
        float: left;
        list-style: outside none none;
        margin: 0 0 10px;
        padding: 0;
    }

    ul#socialDrop {
        background: #eee none repeat scroll 0 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        display: none;
        height: 140px;
        list-style: outside none none;
        margin: 0;
        padding: 15px 20px 20px;
        position: absolute;
        top: 0px;
        width: 100px;
        /*left: 70px;*/
    }

    ul#socialDrop li a {
        color: #bf3a0a;
        display: block;
        height: 20px;
        overflow: hidden;
        transition: transform 0.2s ease-in-out 0s;
        white-space: nowrap;
        width: 20px;
        text-decoration: none;
    }

    /* FOOTER */
    .pre-footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .pre-footer-content {
        min-height: 400px;
    }

    .gkwCurrent {
        padding-bottom: 15px !important;
    }

    #login {
        border-right: 1px solid #ffffff;
    }

    #shoppingmodule {
        border-right: 1px solid #ffffff;
        border-left: 1px solid #ffffff;
    }

    #weathermodule {
        border-left: 1px solid #ffffff;
    }

    /* COLUMNS */
    .col-sm-4 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /*GENERAL STYLES*/
    .home-logo > img {
        height: 60px;
        margin: 0 auto;
        margin-top: -15px;
    }

    .icon-bar {
        background-color: #0172ba !important;
    }

    .language:before {
        content: "\f0ac";
        color: #ffffff;
        font: normal normal normal 20px/1 FontAwesome;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        padding-top: 40px;
    }

    .menu-lang-it {
        width: 4% !important;
    }

    .menu-lang-en {
        width: 4% !important;
    }

    .lang-it {
        margin-left: -5px;
    }

    #sitename {
        padding-top: 90px !important;
    }

    .acymailing_module_form .acymailing_introtext {
        font-size: 18px !important;
    }

    h2 {
        font-size: 18px !important;
    }

    .custom-home {
        color: #ffffff;
    }

    .custom-home:before {
        content: "\f015";
        color: #ffffff;
        font: normal normal normal 20px/1 FontAwesome;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .cerca, .socials {
        display: block;
        /*   padding-top: 20px !important;*/
    }

    #header {
        /*margin-top: 0;*/
        /*background: url('../../../images/immaginisito/auguri-pasqua-1330x600.jpg') no-repeat;
      background:url('../../../images/immaginisito/auguri2016-1330.jpg') no-repeat;
        background: url('../images/header/header_image-1330.jpg') no-repeat;*/
        min-height: 200px;
        margin-top: 80px;
        background-size: 100% 600px;
        height: 600px;
    }

    #img_sitename {
        margin: 0 auto;
        max-width: 30%;
    }

    #next {
        margin-right: 45px !important;
        margin-top: 45px !important;
    }

    #prev {
        margin-left: 20px !important;
        margin-top: 45px !important;
    }

    .rss img {
        width: 25px;
        margin-top: -15px;
    }

    .nav-pills-footer > li {
        width: auto;
    }
}

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

    /*MENU STYLES*/
    .navbar-brand > img {
        width: 40px;
        padding: 6px 0px;
        display: block;
    }

    .navbar-extra-button {
        display: block;
        position: relative;
        float: right;
        padding: 9px 10px;
        margin-right: 10px;
        background-color: transparent;
        color: #ffffff;
        font-size: 24px;
    }

    .main-menu {
        width: 100%;
    }

    .main-menu > li.open > a {
        text-shadow: 0 0 0 !important;
    }

    .navbar .nav > li {
        height: auto;
        text-align: left;
    }

    .nav > li {
        position: relative;
        display: block;
        width: auto;
    }

    .nav.navbar-nav {
        display: block;
    }

    .home-logo {
        display: none !important;
    }

    .menu-home-logo {
        display: none !important;
    }

    .lang-it {
        margin-left: 0px;
    }

    /*Candidatura unesco*/
    #candidaturaUnesco {
        /*
                display: block;
        */
        margin-top: 50px;
    }

    /*GENERAL SETTINGS*/
    #header {
        /*background: url('../../../images/immaginisito/auguri-pasqua-770x500.jpg') no-repeat;
          background:url('../../../images/immaginisito/auguri2016-1330.jpg') no-repeat;
            background: url('../images/header/header_image-1330.jpg') no-repeat;*/
        margin-top: 50px;
        height: 500px;
        background-size: 100% 500px;
    }

    .menu-home-logo {
        display: none;
    }

    #img_sitename {
        margin: 0 auto;
        max-width: 35%;
    }

    .cerca, .socials {
        display: none !important;
    }

    /*MAIN HIGHLIGHTS MODULE*/
    .main-highlights {
        padding-left: 18%;
        padding-right: 18%;
        margin-top: -30px;
    }

    .col-xs-6 {
        width: 50% !important;
    }

    .ctaBoxes .ctaBox.columns {
        height: 300px !important;
    }

    .navBambini {
        height: 300px !important;
    }

    .navLavori {
        height: 300px !important;
    }

    .navViaggia {
        height: 300px !important;
    }

    .navAccessibilita {
        height: 300px !important;
    }

    h3.highlight-title {
        font-size: 14px;
    }

    h4.highlight-title {
        font-size: 12px;
    }

    .ctaOn img {
        margin-bottom: 15px !important;
    }

    #login {
        width: 100% !important;
        border-bottom: 1px solid #ffffff;
    }

    #shoppingmodule {
        border-top: 1px solid #ffffff;
        border-right: 1px solid #ffffff;
    }

    #weathermodule {
        border-top: 1px solid #ffffff;
        border-left: 1px solid #ffffff;
    }

    .footer-menu .nav > li {
        padding-bottom: 15px;

    }

    #form-login-remember label {
        position: relative;
        /*
                margin-left: -50px !important;
        */
    }

    /*
        #form-login-remember input.inputbox {
            float: left;
            margin-left: -53px !important;
        }*/
    #form-login-remember {
        /*
                padding: 15px;
        */
        margin-top: 0px;
    }

    /*  #form-login-remember input.inputbox {
          margin:0px !important;
      }*/
    /*SEARCH STYLES*/
    .extra-search:hover {
        color: #ffffff;
    }

    #mod-search-searchword {
        width: 150px;
        height: 35px;
        padding: 5px;
        margin-right: 5px;
        color: #777777;
        border: none;
    }

    .search form .btn-primary {
        background-color: #ffbd00;
        color: #ffffff;
        border-radius : 0px;
        margin-left: -9px;
        font-weight: 500;
        border-radius: 0px;
        font-weight: 500;
        border: none;
        height: 35px;
        margin-top: -2px;
    }

    /*SOCIAL STYLES*/
    .extra-share:hover {
        color: #ffffff;
    }

    ul#socialDrop li:first-child {
        padding-left: 0;
    }

    ul#socialDrop li {
        display: inline-block;
        list-style: outside none none;
        margin: 0 0 10px;
        padding: 0;
    }

    ul#socialDrop {
        background: #eee none repeat scroll 0 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        display: none;
        height: 140px;
        list-style: outside none none;
        margin: 0;
        padding: 15px 20px 20px;
        position: absolute;
        top: 0px;
        width: 105px;
    }

    #socialDrop::after {
        display: none;
    }

    ul#socialDrop li a {
        color: #bf3a0a;
        display: block;
        height: 20px;
        overflow: hidden;
        transition: transform 0.2s ease-in-out 0s;
        white-space: nowrap;
        width: 20px;
        text-decoration: none;
    }

    #next {
        margin-right: 0px !important;
        margin-top: 47px !important;
    }

    #prev {
        margin-left: -25px !important;
        margin-top: 50px !important;
    }

    /*PRE FOOTER SLIDER MODULE*/
    /*#mod_jfslideshow_wrapper {
        display: none;
    }*/
    .rss img {
        margin-top: -5px;
    }

    div#jbcookies.modal {
        width: 300px;
        margin: 0 auto;
        left: 0 !important;
    }
}

@media only screen
and (max-width: 480px) {
    table.acymailing_form, .acymailing_form thead, .acymailing_form tbody, .acymailing_form thead th, .acymailing_form tbody td, .acymailing_form tbody tr {
        display: block;
    }

    table.acymailing_form {
        width: 100%;
    }

}

@media only screen
and (max-width: 394px) {
    #header {
        /*background: url('../../../images/immaginisito/auguri-pasqua-400x180.jpg') no-repeat;
      background:url('../../../images/immaginisito/auguri2016-394.jpg') no-repeat;
        background: url('../images/header/header_image-394.jpg') no-repeat;*/
        margin-top: 50px;
        height: 180px;
        background-size: 100% 180px;
    }

    #img_sitename {
        max-width: 70%;
        /*  margin-top: -50px !important;*/
    }

    #sitename {
        padding-top: 20px !important;
    }

    #slider {
        display: none;
    }

    .main-highlights {
        display: none;
    }

    /*FOOTER*/
    ul.gkwNextDays {
        display: none !important;
    }

    #weathermodule, #shoppingmodule, #newsletter {
        height: 200px;
    }

    .shopping-cart-image {
        padding: 0 !important;
    }

    .envelope-image a img {
        width: 40px;
    }

    .gkwMainRight {
        display: none;
    }

    .pre-footer-content {
        height: 200px;
        min-height: 0px;
    }

    .gkwMain {
        padding: 22px !important;
    }

    .pre-footer-content h2 {
        margin-top: 2px;
    }
}
