/*
Theme Name: Sito Istituzionale YI
Theme URI: http://yourinspiration.it
Version: 1.0.0
Description: Sito Istituzionale di Your Inspiration
Author: Your Inspiration
Author URI: http://yithemes.com/
*/

@font-face {
    font-family: 'Bariol Regular';
    src: url('assets/font/BariolRegular/Bariol_Regular.otf');
    src: url('assets/font/BariolRegular/bariol_regular-webfont.eot');
    src: url('assets/font/BariolRegular/bariol_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('assets/font/BariolRegular/bariol_regular-webfont.woff') format('woff'),
         url('assets/font/BariolRegular/bariol_regular-webfont.ttf') format('truetype'),
         url('assets/font/BariolRegular/bariol_regular-webfont.svg#bariol_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Bariol Bold';
    src: url('assets/font/BariolBold/bariol-bold-webfont.eot');
    src: url('assets/font/BariolBold/bariol-bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('assets/font/BariolBold/bariol-bold-webfont.woff') format('woff'),
    url('assets/font/BariolBold/bariol-bold-webfont.ttf') format('truetype'),
    url('assets/font/BariolBold/bariol-bold-webfont.svg#bariol_boldbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bariol Light';
    src: url('assets/font/BariolLight/bariol-light-webfont-webfont.eot');
    src: url('assets/font/BariolLight/bariol-light-webfont-webfont.eot?#iefix') format('embedded-opentype'),
    url('assets/font/BariolLight/bariol-light-webfont-webfont.woff') format('woff'),
    url('assets/font/BariolLight/bariol-light-webfont-webfont.ttf') format('truetype'),
    url('assets/font/BariolLight/bariol-light-webfont-webfont.svg#bariollight') format('svg');
    font-weight: normal;
    font-style: normal;
}



@font-face {
    font-family: 'Cristopher Hand';
    src: url('assets/font/CristopherHand/comesinhandy.ttf');
    src: url('assets/font/CristopherHand/comesinhandy-webfont.eot');
    src: url('assets/font/CristopherHand/comesinhandy-webfont.eot?#iefix') format('embedded-opentype'),
    url('assets/font/CristopherHand/comesinhandy-webfont.woff') format('woff'),
    url('assets/font/CristopherHand/comesinhandy-webfont.ttf') format('truetype'),
    url('assets/font/CristopherHand/comesinhandy-webfont.svg#christopherhandregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Jenna Sue';
    src: url('assets/font/JennaSue/JennaSue.ttf');
    src: url('assets/font/JennaSue/jennasue-webfont.eot');
    src: url('assets/font/JennaSue/jennasue-webfont.woff')
}

@font-face {
    font-family: 'FontAwesome';
    src: url('assets/font/font-awesome/fonts/fontawesome-webfont.eot');
    src: url('assets/font/font-awesome/fonts/fontawesome-webfont.ttf');
    src: url('assets/font/font-awesome/fonts/fontawesome-webfont.woff');
}

@font-face {
    font-family: 'Calibri';
    src: url('assets/font/Calibri/calibri-webfont.eot');
    src: url('assets/font/Calibri/calibri-webfont.woff') format('woff');
    src: url('assets/font/Calibri/calibri-webfont.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}



* {
    outline: 0 none !important;
}


:focus {
    outline: none;
    text-decoration: none !important;
}

::-moz-focus-inner {border-width:0 0 0 0;border:0;outline: 0 none !important;text-decoration: none !important;}

body{
    padding-top: 15px;
}

h1{
    font-family: 'Bariol Regular';
    font-size: 48px;
    margin: 47px 0;
    color: #000000;
}

h2{
    font-family: 'Bariol Bold';
    font-size: 30px;
    line-height: 32px;
    color: #f79802;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 21px;
}

h3{
    font-family: 'Lato',sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #f79802;
    text-transform: uppercase;
    margin: 0;
    font-weight: 900;
}

p{
    font-family: 'Lato',sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #555555;
    font-weight: 400;
    margin-bottom: 26px;
}

a{
    font-family: 'Lato',sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #f77502;
}

a:hover{
   text-decoration: none;
   color: #a92205;
}


.autosize{
    width: 100%;
    height: auto;
}


/*header */
#header{
    margin-bottom: 40px;
}

.wrap-navigation{
    background: none;
    border: none;
    margin-bottom: 0;
    margin-top: 40px;
}

#main-menu{
    float: right;
    display: inline-block;
}

#main-menu li a{
    color: #979797;
    font-size: 18px;
    line-height: 24px;
    padding-top: 0;
    font-family: 'Bariol Regular';
    font-weight: 400;
    margin-right: 12px;
}

#main-menu li.dropdown a.dropdown:after {
    content: "\f149";
    font-family: 'FontAwesome';
    margin-left: 15px;
    display: none;
}

#main-menu .current-menu-item > a,#main-menu .current_page_item > a,#main-menu .current-menu-parent > a{
    color: #f79802;
}

#main-menu li a:hover{
    color: #f79802;
}

#main-menu li.shop{
    background-color: #f79802;
    padding-left: 10px;
    margin-top: -2px;
    border-radius: 7px;
}

#main-menu li.shop a{
    padding-left: 20px;
    padding-bottom: 3px;
    margin-right: 0;
    margin-top: 2px;
    color: #fff;
}

#main-menu li.shop a:before{
    background-image: url('assets/images/icon/icona-shop.png');
    background-repeat: no-repeat;
    content: '';
    display: inline-block;
    position: absolute;
    top: 5px;
    left: 0;
    width: 12px;
    height: 14px;
}

#main-menu li.shop:hover{
    background-color: #e08900;
}

ul#main-menu ul.sub-menu li{
    margin: 10px 0;
}

ul#main-menu ul.sub-menu.dropdown-menu>li>a:hover{
    background: none;
}

ul#main-menu ul.sub-menu{
    padding-top: 15px;
    padding-bottom: 15px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s linear;
    min-width: 200px;
    position: absolute;
    display: block;
}

ul#main-menu > li:hover ul.sub-menu{
    visibility: visible;
    opacity: 1;
    /*display: block;*/
}


/* WPML SELECTOR */
/*#main-menu li.menu-item-language{*/
    /*position: relative;*/
    /*min-width: 100px;*/
/*}*/

/*#main-menu li.menu-item-language a{*/
    /*font-size: 13px;*/
    /*padding: 5px 7px;*/
    /*background: #fff;*/
    /*line-height: normal;*/
    /*vertical-align: middle;*/
    /*width: 55px;*/
    /*color: #808080;*/
    /*border: 1px solid #e3e2e2;*/
    /*margin-left: 13px;*/
/*}*/

/*#main-menu .sub-menu.submenu-languages{*/
    /*left: 13px;*/
    /*padding-left: 0;*/
    /*list-style-type: none;*/
    /*padding-top: 0;*/
/*}*/

/*#main-menu li.menu-item-language ul.sub-menu a{*/
    /*margin-left: 0;*/
    /*display: block;*/
/*}*/

/*ul#main-menu > li.menu-item-language ul.sub-menu{*/
    /*list-style-type: none;*/
/*}*/

/*ul#main-menu > li.menu-item-language:hover ul.sub-menu{*/
    /*padding-left: 0;*/
    /*padding-top: 0;*/
    /*list-style-type: none;*/
    /*min-width: auto;*/
/*}*/

/*ul#main-menu li.menu-item-language ul.sub-menu li{*/
    /*min-width: auto;*/
/*}*/

/*ul#main-menu > li.menu-item-language ul.sub-menu a:hover{*/
    /*background-color: #eeeeee;*/
/*}*/


.wrap-navigation{
    float: right;
}

#lang_sel{
    float: right;
    margin-top: 40px;
    width: 55px;
    padding: 0 6px 0 14px;
    height: auto;
}

#lang_sel ul li {
    width: auto;
}

#lang_sel ul li a {
    padding: 5px 7px;
    background: #fff;
    line-height: normal;
    vertical-align: middle;
    width: 50px;
    text-align: center;
    color: #808080;
    border: 1px solid #e3e2e2;
}

#lang_sel img.iclflag {
    float: left;
    width: 14px;
    height: 11px;
    border: 1px solid #eee8e8;
}

#lang_sel ul li ul {
    width: 50px;
    height: auto;
    /*top: 32px;*/
    border: 1px solid #eee;
    border-radius: 4px;
    display: block;
    visibility: visible;
    background: #fff;
    margin-top: -12px !important;
    -webkit-box-shadow: 1px 1.732px 4px 0 rgba(0,0,0,0.11);
    box-shadow: 1px 1.732px 4px 0 rgba(0,0,0,0.11);
    opacity: 0;
    left: 0!important;
    z-index: -1;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    -webkit-transition-property: opacity, margin-top, z-index;
    -o-transition-property: opacity, margin-top, z-index;
    transition-property: opacity, margin-top, z-index;
}

#lang_sel a:hover {
    color: #000;
    background: #eee;
}

#lang_sel ul li {
    width: auto;
}

#lang_sel ul li ul>li>a {
    border: 0;
    background: none;
}
#lang_sel ul li a {
    padding: 5px 7px;
    background: #fff;
    line-height: normal;
    vertical-align: middle;
    width: 50px;
    text-align: center;
    color: #808080;
    border: 1px solid #e3e2e2;
}

#lang_sel:hover ul li ul {
    left: auto;
    opacity: 1;
    margin-top: 0 !important;
    z-index: 10;
}

#lang_sel a.lang_sel_sel{
    background-image: none;
    border-radius: 6px;
    display: inline-block;
}

#lang_sel ul li ul>li>a:after{
    content: '';
    display: block;
    clear: both;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after{
    display: none;
}


.wpml-ls-legacy-dropdown .wpml-ls-flag+span{
    font-size: 11px;
    color: #444444;
    float: left;
}

.wpml-ls-legacy-dropdown a span.wpml-ls-display.icl_lang_sel_translated{
    display: none;
}


/******************************************************/

.navbar-nav>li{
    display: inline-block;
}


/* footer */
#footer{
    margin-top: 30px;
}
.error{
    border: 1px solid red;
}

#box-newsletter{
    text-align: center;
}

#box-newsletter h2{
    margin: 0;
}

#box-newsletter form{
    margin: 46px 68px 70px 68px;
}

#box-newsletter div.i-name{
    width: 33%;
    float: left;
    height: 60px;
}

#box-newsletter input#name-user{
    width: 100%;
    height: 100%;
    background-image: url('assets/images/icon/user3.png');
    background-repeat: no-repeat;
    background-position: 2% 50%;
    padding-left: 50px;
    background-repeat: no-repeat;
    background-position: 2% 50%;
    padding-left: 50px;
    border: 1px solid #c7af8b;
    color: #9a886f;
}

#box-newsletter div.i-email{
    width: 33%;
    height: 60px;
    float: left;
    margin: 0 5px;
}

#box-newsletter input#email{
    background-image: url('assets/images/icon/mail.png');
    background-repeat: no-repeat;
    padding-left: 65px;
    border: 1px solid #c7af8b;
    background-position: 3% 50%;
    color: #9a886f;
    width: 100%;
    height: 100%;
}

#box-newsletter button{
    line-height: 30px;
    text-transform: uppercase;
    font-family: 'Bariol Bold';
    color: white;
    border: 1px solid #d67e00;
    background: #ec9000;
    -webkit-box-shadow: inset 0px -4px 0px 0px rgba(214, 126, 0, 0.93);
    -moz-box-shadow:    inset 0px -4px 0px 0px rgba(214, 126, 0, 0.93);
    box-shadow:         inset 0px -4px 0px 0px rgba(214, 126, 0, 0.93);
    font-weight: 700;
    width: 33%;
    float: left;
    height: 60px;
    font-size: 17px;
}

#box-newsletter button:hover{
    background: #df8800;
}

::-webkit-input-placeholder { color:#9a886f;font-family: 'Bariol Regular';font-size: 18px; }
::-moz-placeholder { color:#9a886f;font-family: 'Bariol Regular';font-size: 18px } /* firefox 19+ */
:-ms-input-placeholder { color:#9a886f;font-family: 'Bariol Regular';font-size: 18px } /* ie */
input:-moz-placeholder { color:#9a886f;font-family: 'Bariol Regular';font-size: 18px }


#footer-bottom{
    border-top: 4px solid #dedede;
    padding: 28px 0;
}

#footer-menu{
    padding: 0;
    list-style: none;
}

#footer-menu li{
    display: inline-block;
    color: #f77909;
    font-size: 20px;
}

#footer-menu li:after{
    content: '/';
    margin-left: 7px;
}

#footer-menu li:last-child:after{
    display: none;
}

#footer-menu li a{
    font-family: 'Lato',sans-serif;
    font-size: 20px;
    line-height: 30px;
    color: #f77909;
}

#footer-menu li a:hover{
    color: #a92205;
}

#footer .copyright li{
    list-style: none;
}

#footer-menu li.current_page_item a{
    color: #a92205;
}

#footer .copyright p{
    font-family: 'Lato',sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #555555;
    margin-bottom: 0;
}

.wrap-socials li{
    list-style: none;
}

.wrap-socials li p{
    margin: 0;
    color: #f79802;
    text-transform: uppercase;
    font-size: 24px;
    text-align: right;
    margin-bottom: 23px;
    font-family: 'Bariol Bold';
}

.wrap-socials ul.list-socials{
    padding: 0;
    list-style: none;
    display: inline-block;
    float: right;
}

.wrap-socials ul.list-socials li{
    display: inline-block;
}

/* footer font-awesome */
ul.list-socials li a {
    display: table;
    text-align: center;
    width: 50px;
    height: 50px;
}

ul.list-socials li i {

    font-size: 30px;
    color: #fff;
    padding: 10px;
    display: table-cell;
    vertical-align: middle;
    background: #b5b5b5;
    border-radius: 50%;
}

ul.list-socials li .fa.fa-pinterest:hover{
    background: #781f22;
}

ul.list-socials li .fa.fa-behance:hover{
    background: #1766b0;
}

ul.list-socials li .fa.fa-facebook:hover{
    background: #334d7a;
}

ul.list-socials li .fa.fa-google-plus:hover{
    background: #bf402e;
}

ul.list-socials li .fa.fa-twitter:hover{
    background: #3099c8;
}

ul.list-socials li .fa.fa-youtube:hover{
    background-color: #ee0000;
}

ul.list-socials li .fa.fa-linkedin:hover{
    background-color: #2d7bbd;
}

/* stiky footer */
html, body {
    height: 100%;
}
.page-wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -170px;

}

#footer,#push {
    height: 170px;
    clear: both;
}



/* end footer */
.title-section{
    font-family: 'Bariol Regular';
    font-weight: bold;
    color: #f79802;
    font-size: 30px;
}


/*home */
.ri-grid-size-2{
    margin-top: 0;
}

section.main{
    margin-bottom: 36px;
}

a[title=About]{
    font-weight: 700;
}

#project-more{
    background: #f8eddd;
    margin-top: 36px;
    padding-top: 20px;
    margin-bottom: 28px;
}

#project-more figure img{
    width: 100%;
    height: auto;
}

.single-initiative{
    min-height: 180px;
    margin-bottom: 50px;
}

.single-initiative a{
    font-weight: 700;
}

.initiative-content p{
    margin-top: 10px;
}

#project-more h2{
    text-align: center;
    margin-bottom: 45px;
}

.home-sidebar h3{
    margin: 0;
    color: #cc844f;
    text-transform: uppercase;
    font-family: 'Bariol Bold';
    font-size: 24px;
    margin-bottom: 20px;
}

.home-sidebar .sidebar .recent-post {
    margin-bottom: 30px;
}

.home-sidebar .box-date {
    background: #f79802;
    width: 66px;
    height: 66px;
    text-align: center;
    font-family: 'Lato',sans-serif;
    color: #ffffff;
    border-radius: 38px;
}

.home-sidebar .box-date .day {
    font-size: 30px;
    font-weight: 900;
}

.home-sidebar .box-date .month {
    font-size: 14px;
    text-transform: uppercase;
    margin-top: -5px;
}

.home-sidebar  a.title-post {
    font-size: 16px;
    line-height: 24px;
    color: #555555;
    font-family: 'Lato',sans-serif;
    text-transform: none;
    font-weight: 400;
}

.home-sidebar .recent-post p.categories {
    font-size: 12px;
}

.home-sidebar li{
    list-style-type: none;
}

.home-sidebar .recent-post{
    margin-bottom: 26px;
}

.home-sidebar a:hover{
    color: #a92205;
}

.home-sidebar .widget-recent-posts p.categories a{
    font-size: 12px;
}

/*project */
.slogan{
    background-image: url('assets/images/background/slogan.jpg');
    background-size: cover;
    text-align: center;
    margin-bottom: 75px;
}

.project-image{
    width: 100%;
    height: auto;
}

.single-element{
    position: relative;
}

.container .single-element.shadow-bottom:after{
    content: '';
    background-image: url('assets/images/background/border-bottom-project.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 10px;
}

.events-wrap{
    padding-top: 58px;
}

.events-wrap:before{
    background-image: url('assets/images/project/arrow.png');
    width: 141px;
    height: 40px;
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    left: -14%;
}

#gallery-1 .gallery-item{
    text-align: left!important;
}

#gallery-1 img{
    border-width: 1px!important;
    width: 100%;
    height: auto;
}

#gallery-1 dt{
    margin-right: 15px;
}

.wrap-testimonial > p{
    font-family: 'Bariol Bold';
    text-transform: uppercase;
    font-size: 24px;
    color: #cc844f;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 60px;
}

div.section{
    margin-top: 100px;
}

dt.gallery-icon.landscape img{width: 90%;height: auto;border: none}

.single-element a{
    font-weight: 700;
}

.page-id-17 div.single-element,.page-id-576 div.single-element, .page-id-1104 div.single-element{
    margin-bottom: 46px;
}


.page-id-33 div.single-element{
    margin-bottom: 75px;
}


a.wrap-yi-post {
    border: 2px solid #d9d9d9;
    display: inline-block;
    font-weight: 400;
    margin-bottom: 20px;
    position: relative;
    -webkit-box-shadow: 4px 2px 0px 0px rgba(240, 240, 240, 1);
    -moz-box-shadow: 4px 2px 0px 0px rgba(240, 240, 240, 1);
    box-shadow: 4px 2px 0px 0px rgba(240, 240, 240, 1);
}

a.wrap-yi-post:hover{
    border-color: #fcd89e;
}

a.wrap-yi-post:hover span{
    color: #f79802;
}

a.wrap-yi-post:hover .overlay {
    display: block;
}

a.wrap-yi-post .post-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

a.wrap-yi-post span {
    display: inline-block;
    float: left;
    width: 77%;
    padding-left: 10px;
    font-family: 'Lato',sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #555555;
    font-weight: 400;
    margin-bottom: 26px;
}



a.alpha{
    display: inline-block;
    margin-bottom: 20px;
}


.page-id-17 h2,
.page-id-1104 h2{
    margin-top: 35px;
}


a.rotate-box{
    display: inline-block;
    padding: 3px;
    border: 2px solid #f0f0f0;
}

a.rotate-box img{
    width: 100%;
}

div.about-box-two img{
    width: auto;
    padding: 3px;
    border: 2px solid #f0f0f0;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

div.about-box-two{
    margin: 15px 0;
}

.team-box{
    background: #f8eddd;
    padding-top: 98px;
    padding-bottom: 40px;
    margin-top: 28px;
}

.team-box h4{
    margin-bottom: 10px;
}

img.team-image{
    border: 11px solid #eccfa5;
    border-radius: 50%;
    height: auto;
    width: 100%;
}

p.citazione:before {
    content: '\201C';
    font-size: 70px;
    font-family: 'Noticia Text',serif;
    float: left;
    padding-top: 16px;
    color: #ffa71c;
    margin-right: 5px;
}

h4{
    font-family: 'Bariol Bold';
    font-size: 23px;
    color: #cc844f;
    margin: 0;
}

.team-box h4 span{
    font-family: 'Jenna Sue';
    font-size: 36px;
    color: #e59907;
    float: right;
    font-weight: 400;
    margin-top: -8px;
}

.team-box p.user-quote{
    font-weight: bold;
    color: #cc844f;
}

.flip{
    float: right;
}

/* team */
.wrap-individual{
    margin-bottom: 59px;
}

.wrap-individual a{
    font-size: 16px;
    font-weight: 700;
}

.wrap-individual p {
    margin-bottom: 0;
}

.wrap-individual .socials{
    margin-top: 10px;
}

.wrap-individual p.developer{
    font-size: 11px;
    color: #fff;
    background: #b85d06;
    display: inline-block;
    padding: 3px 20px;
    border-radius: 6px;
    margin: 9px 0 17px 0;
}

div.socials a{
    width: 23px;
    height: 23px;
    display: inline-table;
    background: #b8b8b8;
    border-radius: 50%;
    margin-right: 2px;
}


div.socials a i{
    color: #fff;
    font-size: 16px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

div.socials a:hover{
    background: #e99a00;
}


/*single event */
.slogan.single-event{
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.slogan.single-event h1{
    font-size: 46px;
    margin-top: 34px;
    /*font-family: 'Bariol Regular';*/
}

.slogan h1{
    font-size: 48px;
    line-height: 48px;
    margin: 38px 0;
    color: #ffffff;
    font-family: 'Bariol Regular';
    text-transform: uppercase;
}


.slogan.single-event h1 p{
    font-family: 'Bariol Regular';
    font-size: 36px;
    color: #ffcb78;
    text-transform: none;
    margin-top: 20px;
    margin-bottom: 0;
}

figure.event-image img{
    width: 100%;
    height: auto;
}

#single-event-content{
    margin-top: 42px;
}

#single-event-content .wrap-testimonial{
    margin-top: 67px;
}

#single-event-content .wrap-testimonial p.title{
    font-family: 'Bariol Bold';
}

#single-event-content .testimonial{
    margin-bottom: 36px;
}

section.external-reference,section.gallery{
    margin-bottom: 55px;
}

#single-event-content div.testimonial:before{
    left: 0;
}

#single-event-content .value a{
    margin-top: 14px;
    display: inline-block;
}

.mobile-quick-info{
    background-color: #ececec;
    padding: 32px 0;
}

.mobile-quick-info p.title{
    text-align: center;
    font-family: 'Bariol Bold';
    font-size: 30px;
    color: #f79802;
    text-transform: uppercase;
    margin-top: 30px;
    line-height: 32px;
}

.mobile-quick-info .single-info{
    margin-bottom: 5px;
}

.mobile-quick-info .single-info:after {
    content: '';
    display: block;
    clear: both;
}

.mobile-quick-info span.info-type {
    display: inline-block;
    width: 24%;
    float: left;
    font-family: 'Lato',sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: rgb(215, 121, 0);
}

.mobile-quick-info span.info-content {
    width: 70%;
    float: left;
    font-family: 'Lato',sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #555555;
    font-weight: 400;
}

.mobile-quick-info a.download {
    cursor: pointer;
    background-color: #ec9000;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-family: 'Lato',sans-serif;
    text-align: center;
    width: 100%;
    height: 60px;
    display: inline-block;
    line-height: 5px;
    margin-top: 15px;
    -webkit-box-shadow: 0px 3px 0px 0px rgba(214, 126, 0, 1);
    -moz-box-shadow:    0px 3px 0px 0px rgba(214, 126, 0, 1);
    box-shadow:         0px 3px 0px 0px rgba(214, 126, 0, 1);
    font-weight: 800;
    padding: 26px;
}

.mobile-quick-info a.download:hover{
    background-color: #e17603;
    -webkit-box-shadow: 0px 3px 0px 0px rgba(183, 95, 1, 1);
    -moz-box-shadow:    0px 3px 0px 0px rgba(183, 95, 1, 1);
    box-shadow:         0px 3px 0px 0px rgba(183, 95, 1, 1);

}



.external-reference h4{
    text-transform: uppercase;
    margin-bottom: 28px;
    margin-top: 0;
    font-family: 'Bariol Bold';
}

div.quick-info{
    width: 485px;
    min-height: 462px;
    border: 16px solid #f2dea8;
    padding-left: 40px;
    padding-top: 40px;
    padding-right: 40px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: -430px;
}

div.quick-info h4{
    text-align: center;
    font-family: 'Bariol Bold';
    font-size: 30px;
    color: #f79802;
    text-transform: uppercase;
}

div.quick-info ul{
    padding: 0;
    list-style: none;
    margin-top: 13px;
    padding-left: 30px;
}

.quick-info ul li {
    margin-bottom: 7px;
}

div.quick-info ul li div.event-label {
    float: left;
    width: 33%;
    font-family: 'Lato',sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: rgb(215, 121, 0);
}

div.quick-info ul li .value{
    width: 60%;
    display: inline-block;
    font-family: 'Lato',sans-serif;
    font-size: 16px;
    color: rgb(87, 87, 87);
}

div.quick-info ul li .value p{
    margin-bottom: 0;
}

/* lavora con noi */

div.wpcf7 label{
    display: block;
    color: #4d4b4b;
    font-family: 'Lato',sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

div.wpcf7 input {
    width: 100%;
    height: 46px;
    border: 1px solid #cccccc;
    background-repeat: no-repeat;
    background-position: 97% 50%;
    padding: 0 42px 0 5px;
}


div.wpcf7 input#name{
    background-image: url('assets/images/icon/user.png');
}

div.wpcf7 input#mail{
    background-image: url('assets/images/icon/email.png');
}

div.wpcf7 input#phone{
    background-image: url('assets/images/icon/phone.png');
}

div.wpcf7 input#mail{
    margin-bottom: 0;
}

div.wpcf7 textarea{
    width: 100%;
    border: 1px solid #cccccc;
    background-image: url('assets/images/icon/smile.png');
    background-position: 97% 10%;
    background-repeat: no-repeat;
    padding: 5px 42px 0 5px;
}

div.wpcf7 input[type="submit"]{
    font-family: 'Open Sans',sans-serif;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    background: #e89222;
    border: none;
    padding: 10px 17px;
    text-transform: uppercase;
    /*float: right;*/
    margin-top: 4px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 3px 0px 0px rgba(205, 107, 2, 0.89);
    -moz-box-shadow: 0px 3px 0px 0px rgba(205, 107, 2, 0.89);
    box-shadow: 0px 3px 0px 0px rgba(205, 107, 2, 0.89);
}

div.wpcf7 p.button input:hover{
    background: #dc881c;
}

div.wpcf7.contact{
    width: 100%;
}

div.wpcf7 p.button{
    display: inline-block;
    float: right;
}

div.wpcf7 span{
    display: block!important;
}

.wpcf7 p{
    margin-bottom: 16px;
 }

div.wpcf7 br{
    display: none;
}

div.wpcf7-validation-errors{
    display: none!important;
}

div.wpcf7-mail-sent-ok{
    border: 2px solid #e89222;
    margin: 0;
    padding: 10px;
    text-align: center;
}

/* contatti */

div.contact div.wpcf7 textarea{
    background-image: url('assets/images/icon/message.png');
    background-position: 99% 10%;
}

.contact-sidebar h4{
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-sidebar .info{
    font-family: 'Lato',sans-serif;
}

div.wpcf7 textarea.contact-message{
    background-image: url('assets/images/icon/message.png');
    background-position: 99% 10%;
}

div.contact div.wpcf7{
    width: 100%;
}

div.contact div.wpcf7 span{
    margin-bottom: 20px;
}



/*sviluppo */

#development p{
    margin-bottom: 21px;
}

#development b.block{
    display: block;
    margin-bottom: 8px;
}

.yi-theme{
    position: relative;
    padding: 43px 0;
}


.yi-theme a.theme-image img{
    width: 100%;
    height: auto;
}

.yi-theme .text{
    position: absolute;
    top: 50px;
    right: 10px;
    width: 32%;
}

div.text:before {
    background-image: url('assets/images/left-arrow.png');
    content: '';
    display: block;
    width: 147px;
    height: 121px;
}

.yi-theme .text h4{
    font-size: 17px;
    margin-bottom: 22px;
    margin-top: 15px;
    text-transform: uppercase;
    font-family: 'Bariol Bold';

}

h2.bta{
    text-align: center;
    margin-top: 80px;
}

.equal-element{
    background: #f8eddd;
    /*padding: 50px 0;*/
}

.equal-element .yi-theme figure.theme-image{
    margin-left: 0;
}

.equal-element .yi-theme .text{
    left: 0;
}

.equal-element div.text:before{
    background-image: url('assets/images/right-arrow.png');
    width: 177px;
    height: 69px;
    background-repeat: no-repeat;
    float: right;
    margin-right: 33px;
}

.equal-element .yi-theme .text h4{
    padding-top: 40px;
}

div.more-info{
    text-align: center;
    margin-bottom: 78px;
}

div.more-info p{
    font-family: 'Jenna Sue';
    font-size: 60px;
    color: #e59907;
    margin-bottom: 78px;
    margin-top: 43px;
}

div.more-info a{
    font-family: 'Bariol Regular';
    font-weight: bold;
    font-size: 21px;
    color: #fff;
    text-transform: uppercase;
    padding: 30px 15px;
    display: inline-block;
    width: 43%;
}

div.more-info a.port-themeforest{
    background: #ec9000;
    margin-right: 25px;
    -webkit-box-shadow: 0px 5px 0px 0px rgba(214, 126, 0, 1);
    -moz-box-shadow:    0px 5px 0px 0px rgba(214, 126, 0, 1);
    box-shadow:         0px 5px 0px 0px rgba(214, 126, 0, 1);
    font-family: 'Bariol Bold';
}

div.more-info a.port-yithemes{
    background: #ef690f;
    -webkit-box-shadow: 0px 5px 0px 0px rgba(214, 86, 0, 1);
    -moz-box-shadow:    0px 5px 0px 0px rgba(214, 86, 0, 1);
    box-shadow:         0px 5px 0px 0px rgba(214, 86, 0, 1);
    font-family: 'Bariol Bold';
}

div.more-info a.port-yithemes:hover{
    background: #c65000;
}

div.more-info a.port-themeforest:hover{
    background: #db8601;
}

.out-left{
    margin-left: -22px;
}

/*blog */
.wrap-post{
    margin-bottom: 50px;
}

.wrap-post figure{
    position: relative;
}

.wrap-post figure img{
    width: 100%;
    height: auto;
}

.wrap-post .box-date{
    position: absolute;
    z-index: 10;
    top: 50%;
    left: -5%;
    margin-top: -33px;
    -webkit-box-shadow: 6px 3px 0px 0px rgba(255,255,255,0.3);
    -mox-box-shadow: 6px 3px 0px 0px rgba(255,255,255,0.3);
    box-shadow: 6px 3px 0px 0px rgba(255,255,255,0.3);
}

.wrap-post .post-title{
    text-transform: none;
    font-size: 24px;
    margin: 13px 0;
    color: #f77502;
    font-weight: 400;
    font-family: 'Bariol Regular';
}

.wrap-post .post-title:hover {
    color: #a92205;
}

.wrap-post p.info-post{
    font-size: 13px;
}

.wrap-post p.info-post b a{
    color: #555555;
    font-weight: 700;
}

.wrap-post p.info-post b a:hover{
    color: #f77502;
}

.wrap-post p.info-post a{
    font-size: 13px;
    color: #5c5c5b;
    font-weight: 400;
}

.wrap-post p.info-post a:hover{
    color: #a92205;
}

.wrap-post a.more-link{
    display: block;
    margin-top: 5px;
}

.wrap-post a[rel=category]{
    font-size: 13px;
    color: #5c5c5b;
    font-weight: 400;
    display: inline-block;
}

.wrap-post a[rel=category]:hover{
    color: #f77502;
}

.sidebar-blog li.widget{
    list-style-type: none;
}

.sidebar-blog li.widget:not(.widget_text){
    margin-bottom: 40px;
}

.sidebar-blog h3{
    color: #cc844f;
    margin-top: 0;
    margin-bottom: 15px;
}

div.general-pagination{
    text-align: center;
}

div.general-pagination a{
    border: 1px solid #555555;
    border-radius: 50%;
    width: 30px;
    display: inline-block;
    height: 30px;
    color: #555555;
    margin: 0 5px;
}

div.general-pagination a:hover{
    color: #f77502;
    border-color: #f77502;
}

/*single */
.single-post.wrap-post .post-thumbnail{
    display: inline-block;
    float: left;
    margin-right: 25px;
    margin-bottom: 24px;
}

.single-post.wrap-post a{
    font-weight: 700;
}

.wrap-post p.info-post{
    margin: 5px 0 10px 0;
}

.wrap-post p.info-post.without-thumbnail span{
    font-weight: 700;
}


/* privacy page */

#privacy-page h2 {
    text-transform: capitalize;
    font-size: 25px;
    margin-bottom: 10px;
    font-family: 'Lato',sans-serif;
}

#privacy-page h3 {
    text-transform: capitalize;
    font-size: 18px;
    color: #f79802;
    font-weight: 400;
    margin-bottom: 10px;
}

#privacy-page h4 {
    font-size: 16px;
    font-family: 'Lato',sans-serif;
    margin-bottom: 10px;
    color: #f79802;
}




 div.msg-error{
    font-size: 13px;
    font-family: 'Calibri';
    color: #e74c3c;
    display: none;
     margin-right: 10px;
     margin-top: 10px;
    text-align: left!important;
}


div.msg-error i{
    margin-right: 5px;
}

 div.msg-error-email{
    font-size: 13px;
    color: #e74c3c;
    font-family: 'Calibri';
    text-align: left!important;
     display: none;
     margin-top: 10px;
}

/* 404 */
#searchform-404 input#s {
    width: 290px;
    height: 50px;
    border-radius: 7px;
    border: 2px solid #eee2d1;
    padding-left: 12px;
    margin-right: 10px;
    float: left;
}

#searchform-404 input#searchsubmit {
    background-image: url('http://localhost/yi-site/wp-content/themes/yi-site/assets/images/icon/search2.png');
    width: 140px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: 12% center;
    color: #fff;
    background-color: #f79802;
    border-radius: 7px;
    border: none;
    font-family: 'Bariol Regular';
    font-size: 21px;
    padding-left: 30px;
}

#searchform-404 input#searchsubmit:hover{
    background-color: #e98f00;
}

#searchform-404 ::-webkit-input-placeholder{
    font-family: 'Bariol Regular';
    font-size: 16px;
    line-height: 22px;
    padding: 0;
    color: #6f6f6f;
}

#searchform-404 img{
    width: 100%
}
div.page-404 h1 {
    color: #f79802;
    text-transform: uppercase;
    margin: 0px 0 22px 0;
    font-family: 'Bariol Bold';
    font-size: 52px;
}

div.page-404 p {
    font-family: 'Baiol Regular';
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
}

div.page-404 h4{
    font-size: 17px;
    color: #f79802;
    text-transform: uppercase;
    margin-top: 25px;
    margin-bottom: 20px;
}

.error404 .wrap-content{
    background-color: #f8efe2;
    padding: 73px 0;
}

.error404 form{
    margin-top: 44px;
}

.page-404 img{
    width: 100%;
    height: auto;
}

.error404 #footer,.error404 #push {
    height: 140px;
    clear: both;
}

/* SINGLE */
.sidebar a,.sidebar-blog a{
    color: #555555;
}

.sidebar a:hover,.sidebar-blog a:hover{
    color: #f77502;
}

.sidebar li {
    list-style-type: none;
}

.sidebar li.widget{
    margin-bottom: 35px;
}

.sidebar li.widget:after{
    content: '';
    display: block;
    clear: both;
}

.widget_categories ul {
    padding: 0;
}

.widget_search #s {
    float: left;
    padding-left: 10px;
    width: 203px;
    height: 52px;
    border: 1px solid#cdb696;
    color: #cdb696;
}

.widget_search #searchsubmit{
    float: left;
    background-repeat: no-repeat;
    background-position: center center;
    width: 55px;
    height: 52px;
    margin-left: 4px;
    background-color: #ec9000;
    border: none;
    border-bottom: 3px solid #d67e00;
    background-image: url('assets/images/icon/magnify.png');
}

.widget_search #searchsubmit:hover{
    background-color: #e17603;
    border-bottom-color: #b75f01;

}

.sidebar li a{
    padding: 10px 0;
    font-size: 14px;
}

.sidebar h3{
    margin-bottom: 15px;
    font-family: 'Bariol Bold';
    font-size: 16px;
    color: #cc844f;
}

.sidebar ::-webkit-input-placeholder { color:#cdb696;font-family: 'Bariol Regular';font-size: 15px;line-height: 20px }
.sidebar ::-moz-placeholder { color:#cdb696;font-family: 'Bariol Regular';font-size: 24px } /* firefox 19+ */
.sidebar :-ms-input-placeholder { color:#cdb696;font-family: 'Bariol Regular';font-size: 24px } /* ie */
.sidebar input:-moz-placeholder { color:#cdb696;font-family: 'Bariol Regular';font-size: 24px }



/* SEARCH */
#search-page .single-post.wrap-post{
    width: 100%;
}

#search-page .single-post.wrap-post:after{
    display: block;
    content: '';
    clear: both;
}

#search-page .single-post.wrap-post .post-thumbnail{
    margin-right: 0;
}

body.search .slogan b{
    /*font-family: 'Bariol Bold';*/
    text-transform: capitalize;
}

#search-page p.message{
    font-size: 20px;
}

/* FANCY BOX */
div#fancy_title{display: none!important;}

/* BOOTSTRAP MENU FIX */
.navbar-toggle{
    float: none;
}

/* ARCHIVE */
.archive .wrap-post .post-title{
    cursor: pointer;
}


/* bubba */
div.gallery dt {
    background: #9e5406;
    position: relative;
}

div.gallery a{
    display: block;
}

div.gallery img {
    opacity: 0.7;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

div.gallery dt:hover img {
    opacity: 0.4;
}

div.gallery dt:hover a{
    background-image: url('assets/images/icon/magnify.png');
    background-repeat: no-repeat;
    background-position: center center;
}

div.gallery a::before,
div.gallery a::after {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

div.gallery a::before {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0,1);
    transform: scale(0,1);
}

div.gallery a::after {
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1,0);
    transform: scale(1,0);
}


div.gallery dt:hover a::before,
div.gallery dt:hover a::after {
    opacity: 0.6;
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* PAGE */
.page ul{
    margin-bottom: 26px;
}

.page ul li{
    font-family: 'Lato',sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #555555;
    font-weight: 400;
    margin-bottom: 10px;
}

