/*
A.BRE.MAR. - v. 0.5.5
2015-2016
css/theme.css
*/

@font-face {
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Lora-Regular-webfont.eot');
    src: local('Lora'), local('Lora-Regular'), url('../fonts/Lora-Regular-webfont.woff') format('woff'), url('../fonts/Lora-Regular-webfont.ttf') format('truetype');
}

@font-face {
    font-family: 'Lora';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/Lora-Italic-webfont.eot');
    src: local('Lora'), local('Lora-Italic'), url('../fonts/Lora-Italic-webfont.woff') format('woff'), url('../fonts/Lora-Italic-webfont.ttf') format('truetype');
}

body {
    background-color: #2A2E2E;

}

.wrap-header {
    background-color: #343838;
}

.navbar {
    margin-bottom: 0;
    border-bottom: 2px solid #343838;
}

.page-cont {
    padding-top: 30px;
    padding-bottom: 80px;
}


#cont h1, #cont h2, #cont h3, #cont h4 {
    font-family: 'Lora', 'Georgia', serif;
}

#cont h2 {
   font-size: 3em;
    margin-bottom: 1.5em;
}

#cont h3 {
    font-size: 2em;
    border-bottom: 1px solid #CCC;
    padding-bottom: 0.5em;
    margin-bottom: 0.7em;
}

#cont span {
    font-family: 'Georgia', serif;
    font-size: 1.3em;
}

#cont span.numeri {
     font-family: 'Lora', 'Times New Roman', serif;
    font-size: 1em;
}

#cont p {
    font-family: 'Georgia', serif;
    font-size: 1.3em;
    margin-bottom:  1.8em;
    text-align: justify;
}

#cont ul.stylez li {
    font-family: 'Georgia', serif;
    font-size: 1.3em;
}

.row-cont {
    margin-bottom: 30px;
}

.page-cont p {
    margin-bottom: 32px;
}

.rientro p {
    text-indent: 1.8em;
}

#pay-off {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    font-size: 1.5em;
    line-height: 57px;
    vertical-align: sub;
    color: #c3c3c3;
    font-style: italic;
    text-align: right;
}

#header {
    margin-top: 50px;
    margin-bottom: 50px;
}

#logo {
    min-width: 250px;
}

.main-nav li {
    display: inline;
    list-style-type: none;
    padding-right: 30px;
}

.main-nav {
    height: 50px;
    line-height: 50px;
    
}

#navigation {
    
}

.navbar-default {
  background-color: #e7e7e7;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
  border-top: 2px solid #e7e7e7;
}

.navbar-default .navbar-nav>.active>a:hover {
  border-top: 2px solid #e7e7e7;
  color: #555;
}

.navbar {
    border-radius: 0;
    margin-bottom: 0;
}


.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  border-top: 2px solid #e7e7e7;
  color: #333333;
}

.navbar-default .navbar-nav > li > a {
  border-top: 2px solid #e7e7e7;
}

.btn-success {
    color: #fff;
    background-color: #63cc3c;
    border-color: #4cae4c;
}

.btn-success:hover {
    color: #fff;
    background-color: #42c312;
    border-color: #4cae4c;
}

.navbar-brand>img {
    margin-top: -5px;
}

.foot {
    font-family: 'Lora', 'Georgia', serif;
    padding-bottom: 60px;  
    padding-top: 30px;
}

.foot h3 {
    color: #777;
}

#cont {
    background-color: #e7e7e7;
    padding-top: 30px;
    padding-left: 45px;
    padding-right: 45px;
    padding-bottom: 120px;
}

h3[id]:before { 
  display: block; 
  content: " "; 
  margin-top: -75px; 
  height: 75px; 
  visibility: hidden; 
}

.wrap {
    background-color: #343838;
    padding-top: 50px;
    padding-bottom: 60px;
}

ul.affix {
	position: fixed; 
	top: 65px;
    max-width: 260px;
}
ul.affix-top {
	position: static;
}
ul.affix-bottom {
	position: absolute;
}

#nav-box li > .active > a,
#nav-box li > .active:hover > a,
#nav-box li > .active:focus > a {
  font-weight: bold;
  color: #563d7c;
  background-color: transparent;
}

@media (max-width: 1200px) { 
    #pay-off {
        font-size: 1.2em;
        text-align: left;
    }
    
    #box-newsletter {
        padding-top: 10px !important;
        padding-bottom: 30px !important;
    }
}

@media (max-width: 767px) { 
   .wrap-cont {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    #cont p {
        font-size: 1.4em;
    }
    
    #cont span {
        font-size: 1.4em;
    }
    
    #cont span.numeri {
        font-family: 'Lora', 'Times New Roman', serif;
        font-size: 0.9em;
    }
    
    .side-box {
        padding-right: 20px !important;
        border-right: 0px !important;
    }
    
    .wrap {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

@media (max-width: 991px) { 
    #lang_descr {
        display: none;
    }
    .container {
    width: 100%;
    }
}

span {
    
}

.side-box {
    padding-right: 3em;
    border-right: 1px solid #CCC;
}
