@font-face {
    font-family: googleroboto;
    src: url(/fonts/Roboto-Thin.ttf)
}

@font-face {
    font-family: kiteoneregular;
    src: url(/fonts/KiteOne-Regular.ttf);
}

/* layout */

html {
    overflow-x: hidden;
}

body {
    font-family: 'Helvetica Neue',Helvetica,Arial,Sans-Serif;
    padding-bottom: 100px;
}

.logo_mobile_wrapper {
    padding-bottom: 5px;
}

.logo_mobile_wrapper .row .col-xs-12 > div {
    background-color: rgb(248,248,248);
    padding-bottom: 5px;
    padding: 0 5px 5px 5px;
}
@media (max-width: 991px) {
    .navbar {
        border-radius: 0;
        box-shadow: none !important;
    }
}



.logo_mobile_wrapper img {
    width: 100%;
}

header {
    position: relative;
}

header .logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.motto {
    height: 200px;
    font-size: 90px;
    font-family: googleroboto;
}

.motto * {
    vertical-align: middle;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 5;
    border: 0 !important;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35px;
    z-index: 210;
    font-size: 16px;
}

.background {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    opacity: 0.3;
    z-index: -1;
}

.content .container {
    position: relative;
    z-index: 200;
    margin-bottom: 60px;
}

@media (max-width: 990px) {
    .contentWrapper {
        margin-top: 200px;
    }
}


/* navigation bar */

@media (min-width: 991px) {
    header {
        height: 230px;
        position: relative;
    }
}


.navbar-brand {
    padding-left: 30px;
}

.bgmenu {
    position: absolute;
    top: 0;
    left: 0;
    margin-top: -175px;
    z-index: -1;
}

.logo {
    margin: 0 0 0 60px;
}

@media (min-width: 768px) {
    .navbar-custom .nav {
        width: 100%;
    }

    .navbar-custom .nav > li {
        width: 14%;
    }
}

.nonmobilemenu {
    padding-top: 20px;
    margin-left: 280px;
    width: 890px;
    font-family: kiteoneregular;
}

.nonmobilemenu > ul > li {
    float: left;
    list-style-type: none;
    border-radius: 7px;
    width: 13%;
    text-align: center;
    padding: 5px 8px;
    height: 37px;
}

.nonmobilemenu > ul > li.dropdown {
    padding: 3px 0;
    height: 37px;
}


.nonmobilemenu > ul > li a {
    width: 100%;
    display: block;
}

@media (max-width: 1199px) and (min-width: 1119px) {   

    .nonmobilemenu > ul > li {
        width: auto;
    }
    
    .nonmobilemenu > ul > li + li {
        margin-left: 10px !important;
    }
    
}

@media (max-width: 1118px) and (min-width: 769px) {   

    .nonmobilemenu > ul > li {
        width: auto;
    }
    
    .nonmobilemenu > ul > li + li {
        margin-left: 3px !important;
    }

}


.nonmobilemenu > ul > li.active.dropdown > a:before {
    content: "-";
}

.nonmobilemenu > ul > li.active.dropdown > a:after {
    content: "-";
}

.nonmobilemenu > ul > li.active-child > a:before {
    content: "" !important;
}

.nonmobilemenu > ul > li.active-child > a:after {
    content: "" !important;
}

.nonmobilemenu > ul > li > ul > li.active > a:before {
    content: "-";
}

.nonmobilemenu > ul > li > ul > li.active > a:after {
    content: "-";
}

.nonmobilemenu > ul > li.active, .nonmobilemenu > ul > li.open {
    height: 54px;
}

.nonmobilemenu > ul > li.active .submenu, .nonmobilemenu > ul > li.open .submenu {
    display: block;
} 

.nonmobilemenu > ul {
    padding-left: 30px;
}

.nonmobilemenu > ul > li + li {
    margin-left: 10px;
}

.nonmobilemenu > ul > li > a {
  padding: 3px 8px;
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.nonmobilemenu > ul > li > ul {
    padding-left: 0;
    display: none;
}

.nonmobilemenu > ul > li > ul > li {
    list-style-type: none;
    display: block;
    text-align: center;
}

.nonmobilemenu > ul > li > ul > li > a {
    color: white;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .nonmobilemenu > ul > li + li {
        margin-left: 18px;
    }    
}


/* content */

@media (max-width: 991px) { 
    .content {
        padding-right: 5%;
        padding-left: 5%;
        padding-bottom: 50px;
    }
    
    footer {
        font-size: 14px !important;
    }
}

/* footer */

@media (max-width: 768px) {
    footer {
	font-size: 10px !important;
    }
}

@media (max-width: 600px) {
    footer .facebook-link {
	display: none;
    }
    
    footer .ltext, footer .rtext {
        display: block;
    }
    
    footer .text {
        line-height: 15px !important;
    }
    
}

footer {
    background-color: #f9b135;
    color: white;
    text-align: center;
    padding-right: 50px;
    font-size: 15px;
}

footer .text {
    vertical-align: bottom;
    line-height: 35px;
}

@media (min-width: 993px) {
    footer .ltext {
        margin-right: 30px;
    }

    footer .rtext {
        margin-left: 30px;
    }
}
.facebook-link {
}

@media (min-width: 768px) {
    footer {
        border-radius: 15px;
    }
}

/* home page */

.homepage {
}

.homepage .round-frame {
    padding-bottom: 17px;
    padding-right: 0;
    position: relative;
}

.newsbox {
    position: relative;
}

.newsbox .approfondisci {
    color: #9992c6;
    font-weight: bold;
}

.newsbox .roundimage {
    position: absolute;
    left: 0px;
    top: 0px;
}

.newsbox-inner {
    height: 220px;
    margin-left: 110px;
    padding-left: 120px;
    padding-right: 10px;
    padding-top: 10px;
    background-color: white;
}

@media (max-width: 767px) {
    .newsbox-inner {
        margin-left: 0;
        padding-left: 10px;
    }
}

.newsbox h2, .newsbox .title  {
    font-family: kiteoneregular;
    font-size: 25px;
}

.newsbox h3  {
    font-size: 20px;
}

.newsbox .date {
    font-family: kiteoneregular;
    font-size: 14px;
    float: right;
    line-height: 25px;
}

.carousel .dx {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.carousel .sx {
    position: absolute;
    right: 40px;
    bottom: 10px;
}

.carousel .sx img, .carousel .dx img {
    height: 28px;
}


.document-frame {
    padding: 0 25px !important;
}

@media (max-width: 767px) {
    
    .homepage .document-frame .round-box {
        visibility: hidden;
    }

    .newspage {
	float: none !important;
    }
}

.homepage .document-frame a {
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -0.65em;
}

/* contact page */

.contacts {
    position: relative;
    padding-left: 60px !important;
}

.contacts h2 {
    border-bottom: none;
}


.contacts .frame_inner {
    border-radius: 15px;
    overflow: hidden;
    border: solid 4px #9992c6;
    position: relative;
    z-index: 2;
    height: 180px;
}

.contacts iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.contacts .roundimage {
    position: absolute;
    top: -80px;
    left: -160px;
}

.maps_address {
}

.maps_address p {
    margin-bottom: 3px;
}

.contact-form label {
    font-size: 16px;
    font-weight: normal;
}

.contact-form .submit-button {
    border-radius: 150px;
    width: 80px;
    font-size: 18px;
    margin-top: 20px;
    background-image: none !important;
    background-color: #f2950c;
}

.contact-form .submit-button:hover {
    background-color: #FF7E00;
}

.contact-form input[type=text],.contact-form textarea {
    background-color: #f2950c;
    border-radius: 15px;
}

/* news page */

.single-news + .single-news {
    margin-top: 100px;
}

.single-news .date {
    font-family: kiteoneregular;
    font-size: 14px;
    float: right;
    line-height: 25px;
}

.newspage .date {
    font-family: googleroboto;
    font-size: 12px;
    color: #3ea838;
    padding-top: 8px;
}

.newsmodal {
    padding: 40px;
}

.newsmodal .title {
    line-height: 24px;
    margin-bottom: 10px;
}

.news-content {
    border-bottom: solid thin #f2950c;
}


/* gallery page */

.gallery {
    position: relative;
    z-index: 200;
    text-align: right;
}

.gallery .responsive-image-wrapper {
    width: 260px;
    height: 200px;
    padding: 15px 5px;
    background-color: white;
    border-radius: 5px;
    display: inline-block;
    margin-left: 20px;
    margin-bottom: 20px;
}

.gallery .responsive-image {
    width: 250px;
    height: 170px;
    position: relative;
    overflow: hidden;
}

.gallery .responsive-image img {
    width: 240px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

@media (max-width: 992px) {
    .gallery {
        margin-top: 120px;
    }
}

/* generic page */

.page-title {
    padding-left: 60px;
}

.page-content {
    position: relative;
    padding-left: 60px;
    min-height: 100px;
}

.page-content .roundimage {
    position: absolute;
    left: -210px;
    top: -140px;.
}

@media (max-width: 1199px) {
    
    .page-wrapper {
        margin-top: 80px;
    }
}

/* misc elements */
h2, .title {
    font-family: kiteoneregular;
    font-size: 20px;
    color: #534e46;
    border-bottom: solid thin #f9b135;
}

.privacy {
    font-size: 11px;
}

.errorSummary {
    color: red;
}

.errorSummary ul {
    list-style-type: none;
}

.round-frame {
    border-radius: 15px;
    background-color: white;
    opacity: 0.9;
    padding: 25px;
}

.no-margin-top {
    margin-top: 0 !important;
}

.margin-top-very-big {
    margin-top: 120px;
}

.margin-top-big {
    margin-top: 60px;
}

.margin-top-medium {
    margin-top: 20px;
}
.margin-bottom-medium {
    margin-bottom: 20px;
}

.margin-top-small {
    margin-top: 7px;
}
.margin-bottom-small {
    margin-bottom: 7px;
}

.approfondisci a {
    color: #3ea838;
}

.approfondisci-orange a {
    color: #f2950c;
}

.grey-link, .grey-link:hover, .grey-link:active, .grey-link:focus  {
    color: grey;
}

.bigger {
    font-size: 130%;
}

.round-box {
    border-radius: 15px;
    padding: 5px 10px;
    text-align: center;
    width: 200px;
    position: relative;
    right: -25px;
}

.orange {
    background-color: #f2950c;
}

.green {
    background-color: #3ea838;
}

.white {
    background-color: white;
}

.border-bottom {
    border-bottom: solid thin #3ea838;
}

/* thumbnails */

figure.thumb {
   border-radius: 15px;
   overflow: hidden;
   width: 100%;
}

figure.thumb img {
    width: 100%;
}


/* round image effect */

.roundimage {
    border-radius: 50%;
    border: solid  10px #9992c6;
    width: 220px;
    height: 220px;
    overflow: hidden;
    outline: none !important;    
}


.roundimage > img {
    width: 100%;
}

/* separators */

.separator {
    border-bottom: solid thin #f9b135;
    margin: 10px 0;
}

