/*TYPOGRAPHY*/

@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700&display=swap');
html {
  font-size: 1rem;
}

body {
  font-weight: 400;
  font-size: 0.9rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #1b1e24;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga", "kern";
  text-rendering: optimizelegibility;
}

a {
  color:  #5f0f4e ;  font-weight: 400;
}

a:hover {
  color:#0f405b ;  font-weight: 400;
}

a:focus {
  outline: none;
}

p a {  text-decoration: underline;
  text-decoration-color: #007d3f;color: #873487  /*5f0f4e*/;
   }
footer a {  text-decoration:none;  }
.underline li a{text-decoration: underline}

h1 {
  font-size: 1.6rem; }
.h1_home {
  font-size: 2rem;color: #007d3f; margin-top: 0 }
h2 {
  font-size: 1.275rem; }

h3 {
  font-size: 1.125rem; }

h4 {
  font-size: 1rem; font-weight:700 }

h5 {
  font-size: 1rem; }

h6 {
  font-size: 0.875rem; font-weight: 700; }

h1,
h2,
h3,
h4,
h5,

.h1,
.h2,
.h3,
.h4,
.h5
 { font-family: 'Roboto Slab', serif;margin-top:0.8rem; margin-bottom:0.8rem;  color:#0f405b/*810343-7b2981*/
}

h6,.h6{font-family: "Open Sans", sans-serif;}

.font-light {
  font-weight: 300; }

.font-regular {
  font-weight: 400; }

.font-heavy {
  font-weight: 700; }

/*colors*/

.green{ color:#007d3f  /*2b9746*/}
.blu{ color:#0f405b}
.purple{ color:#810343}

.bg-form {background-color: #D3E1D8; border:0}




/*cards*/
.card  h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
{ margin: 0
}
 .card { margin-bottom: 40px;
}
.more{text-transform:uppercase; font-size:0.7rem; margin-top:0} 


table{ font-size:0.8rem}
  
  
.w-40 {
    width: 40%!important;
}

.w-30 {
    width: 30%!important;
}

.container { max-height: 100%;
  height: 100%;
}

/*
.photo_cut img{
   width:150%;
   min-height:80px;
}*/

 
 .newscontent > p > img {
  vertical-align:middle;border-style:none;width: 100%;height: auto;
}
/* -------------NAVBAR*/

#row-top {border-top:10px solid #810343;border-bottom:1px solid #007d3f;}

.logo { margin-top: 15px; margin-bottom: 20px; height: 60px;
   }
.navbar{ padding:0; }
.nav-item {font-size: 0.8rem; padding-right: 7px;border-left:#e2e2e2 1px solid }

#main_navbar .active {background-color:#007d3f; color: #fff;font-family: "Open Sans", sans-serif;  }
#main_navbar .active > a {color: #fff; }


.dropdown-menu {
    margin-top: 1px; border:0px;background: #f8f9fa; border-radius: 0;font-size: 0.8rem;
}
.dropdown-menu .dropdown-toggle::after {
    vertical-align: middle;
    /*border-left: 4px solid;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;*/
}
.dropdown-menu .dropdown .dropdown-menu {
    left: 100%;
    top: 0%;
    margin:0 20px;
    border-width: 0; background: #f8f9fa
}
.dropdown-menu li{
     border-bottom:1px solid #efefef;;
}
.dropdown-menu > li a:hover,
.dropdown-menu > li.show {
	background: #fff;
	color: #000;
}
.dropdown-menu > li.show > a{
	color: #000;
}

@media (min-width: 768px) {
    .dropdown-menu .dropdown .dropdown-menu {
        margin:0;
        border-width: 1px;
    }
}


/* ------------- HOME --------------------*/

/*  HOMe news Cards*/

.home-card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
   
    background-clip: border-box;
    border: 0;}

  .home-card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding-top: 1.25rem;
}

.home-card-img-top {
    width: 100%; max-height: 50%
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}
/* zoom*/

/* Chrome, Safari, Opera */
@-webkit-keyframes zoom {
    from {
    	-webkit-transform: scale(1,1);
    }
    to {
    	-webkit-transform: scale(1.5,1.5);
    }
}

/* Standard syntax */
@keyframes zoom {
   from {
        transform: scale(1,1);
   }
   to {
        transform: scale(1.5,1.5);
   }
}


.img-zoom {
    -webkit-animation: zoom 50s; /* Chrome, Safari, Opera */
    animation: zoom 50s;
}





/* carousel transiction */

.carousel-fade .carousel-item {
    opacity: 0;
      -webkit-transition: width 8s; /* Safari prior 6.1 */
  transition: width 8s;
    transition-property: opacity;
}


/*--TAB CONTENT--*/

.tab-home-container {
    padding: 6px;
    height:250px;
    /*background-color: #EDEDF0;*/
    overflow-y: scroll;
    clear: both;
}

/*----------------------------------
  Tabs
------------------------------------*/
.nav-tabs--v1 .nav-item {
  margin-right: 3px; 
}



.nav-tabs--v1 .nav-item:last-child {
  margin-right: 0;
}

.nav-tabs--v1 .nav-link {
  border-top-width: 3px;
}

.nav-tabs--v1 .nav-link:hover, .nav-tabs--v1 .nav-link:focus {
  border-color: transparent;
}

.nav-tabs--v1 .nav-link.active,
.nav-tabs--v1 .nav-item.show .nav-link {
  border-top-color: #59287a;
}

.nav-tabs--v1 .nav-link.active:hover, .nav-tabs--v1 .nav-link.active:focus,
.nav-tabs--v1 .nav-item.show .nav-link:hover,
.nav-tabs--v1 .nav-item.show .nav-link:focus {
  border-left-color: #e6e7e9;
  border-right-color: #e6e7e9;
  border-top-color: #59287a;
}

.tab-content--v1 {
  padding: 1.25rem 1rem;
  margin-top: -1px;
  border: solid 1px #e6e7e9;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.tab-content--v1 p:last-of-type {
  margin-bottom: 0;
}


.breadcrumb{ padding-left:5px; font-size:0.8rem }	
	
/* -------------FOOTER*/
footer p {
    font-size: 0.8rem;
    font-weight: 200;
    line-height: 1.2;margin-bottom: 0.3rem;
}

footer {padding-top: 0.3rem; 
    width: 100%;
    margin: 20px 0 10px 0;  flex: 0 0 50px;  }
	

/* ------------- bottoni--------*/

.btn-blu{color:#fff;background-color:#0f405b;border-color:#007bff}
.btn-blu:hover{color:#fff;background-color:#5f0f4e;border-color:#0062cc}
.btn-blu.focus,.btn-blu:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}
.btn-blu.disabled,.btn-blu:disabled{color:#fff;background-color:#007bff;border-color:#007bff}
.btn-blu:not(:disabled):not(.disabled).active,.btn-blu:not(:disabled):not(.disabled):active,.show>.btn-blu.dropdown-toggle{color:#fff;background-color:#0062cc;border-color:#005cbf}.btn-blu:not(:disabled):not(.disabled).active:focus,.btn-blu:not(:disabled):not(.disabled):active:focus,.show>.btn-blu.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,123,255,.5)}



.btn-green{color:#fff;background-color:#2b9746;border-color:#28a745}.btn-green:hover{color:#fff;background-color:#218838;border-color:#1e7e34}.btn-green.focus,.btn-green:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}.btn-green.disabled,.btn-green:disabled{color:#fff;background-color:#28a745;border-color:#28a745}.btn-green:not(:disabled):not(.disabled).active,.btn-green:not(:disabled):not(.disabled):active,.show>.btn-green.dropdown-toggle{color:#fff;background-color:#1e7e34;border-color:#1c7430}.btn-green:not(:disabled):not(.disabled).active:focus,.btn-green:not(:disabled):not(.disabled):active:focus,.show>.btn-green.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(40,167,69,.5)}
a.btn-green {color:#fff;}



.btn-fb {
    color: #fff;
    background-color: #3b5998!important;
}

.btn-tw {
    color: #fff;
    background-color: #55acee!important;
}


/*----search------*/

 .form-control {font-size: 0.8rem;
   height: 30px
       
    }
/*----languages------*/
.lang-select {text-transform: uppercase;
    display: block;
    padding:0.25rem;
    font-size: 0.6rem;
    line-height: 1.5;
    color: #495057;letter-spacing: 1px;
    }
.lang-select .btn{
   font-size: 0.6rem; margin-left: 5px; width:60px;border: 0
    }	
	
.btn_search {
   font-size: 0.6rem; margin-left: 5px; width:30px;border: 0
    }






/*----Table collapse------*/	
	
	.toggle-box {
  display: none;
}

.toggle-box + label {
  cursor: pointer;
/*  display: block;*/
  font-weight: bold;
  line-height: 21px;
  margin-bottom: 5px; margin-left: 344px
}

.toggle-box + label + div {
  display: none;
  margin-bottom: 10px; border-right: 1px solid #2b9746;/* border-left: 1px solid #dddddd;*/ padding: 0 10px; 
	width: 356px;
	float: right;
    margin-right: 30px;
}

.toggle-box:checked + label + div {
  display: block;
}

.toggle-box + label:before {
  background-color: #2b9746;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: #FFFFFF;
  content: "+";
  display: block;
 /* float: right;*/
  font-weight: bold;
  height: 20px;
  line-height: 20px;
  margin-right: 5px;
  text-align: center;
  width: 20px;
}

.toggle-box:checked + label:before {
  content: "\2212";
}
   /*----Table hover ----*/
.table-hover tbody tr:hover{background-color:rgba(43,151,70,.05)}
   



 /*----Home carousel resources ----*//*
 .carousel-control-next-icon, .carousel-control-prev-icon {
     display: inline-block;
     width: 40px;
     height: 40px;
     background: white;
     background-size: 10% 100%;
     border-radius: 50%;
 }
 */
.carousel-control-prev-icon {
 background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

 
.carousel-caption{ /*background-color: #810343;*/
  background-color:rgba(81, 03, 43, 0.7); 
  position: absolute; 
  left: 0;
  right:0;
  /*left: 0;
  width:40%; 
  top:60px; 
  height:50%;*/ 
  bottom:0px; 
  padding:20px; 
  text-align: left; 
  font-size: 0.8rem; 
  font-weight: 100; 
  font-family: 'Roboto Slab', Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
}


.carousel .carousel-indicators li {
    width: .625rem;
    height: .625rem;
    cursor: pointer;
    border-radius: 50%;
}
.carousel-caption2{ 
	background-color: #810343; 
	position: absolute; 
	left: 0;
	width:100%; 
	bottom:35px; 
	height:13%; 
	padding:12px; 
	text-align: left;
	font-size: 1.1rem; 
	font-weight: 100; 
	color: white;
	font-family: 'Roboto Slab', Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif"}

.controls-bottom
{position: absolute;
    right: 0;
    bottom: 30px;
    left: 0;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}

.controls-middle
{position: absolute;
    right: 0;
    bottom: 50%;
    left: 0;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}


.carousel-indicators {
    position: absolute;
    right: 0;
	bottom: 2px;}
	
	
	
 /*----slider cover home----*/

.slider {
 height: 100%;
position: relative;
  overflow: hidden; background-color:#efefef; border-radius: .25rem;border: 1px solid rgba(0,0,0,.125);
}
.slider-card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
   
}

.slider_image{
  max-width: 50%; margin-left: auto; margin-right: auto; margin-top: 20px; box-shadow: 0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)!important;
}

.slider_txt {

	text-align: center;  font-size: 0.8rem

	 }


.card_height {  height:378px;  
     }


/*hover effect*/
/*ZoomIn Hover Effect*/
    .hover-zoomin -a {
      display: block;
      position: relative;
      overflow: hidden;
    }
    .hover-zoomin img {
      width: 100%;
      height: auto;
      -webkit-transition: all 0.5s ease-in-out;
      -moz-transition: all 0.5s ease-in-out;
      -o-transition: all 0.5s ease-in-out;
      -ms-transition: all 0.5s ease-in-out;
      transition: all 0.5s ease-in-out;
    }
    .hover-zoomin:hover img {
      -webkit-transform: scale(1.2);
      -moz-transform: scale(1.2);
      -o-transform: scale(1.2);
      -ms-transform: scale(1.2);
      transform: scale(1.2);
    }


/*ZoomIn Hover NEWS ARCHIVE or LIST*/
    .hover-zoomin2 a {
      display: block;
      position: relative;
      overflow: hidden;
    }
    .hover-zoomin2 img {
      width: 100%;
      height: auto;
      -webkit-transition: all 0.5s ease-in-out;
      -moz-transition: all 0.5s ease-in-out;
      -o-transition: all 0.5s ease-in-out;
      -ms-transition: all 0.5s ease-in-out;
      transition: all 0.5s ease-in-out;
    }
    .hover-zoomin2:hover img {
      -webkit-transform: scale(1.2);
      -moz-transform: scale(1.2);
      -o-transform: scale(1.2);
      -ms-transform: scale(1.2);
      transform: scale(1.2);
    }

/*pagination*/
.page-link{border:0}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #007d3f;
    border-color: #ddd;
    border-color: #ddd;
}

.bg-cover {
  background-attachment: static;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* STORIES*/

.text_1 {
  font-size: 1.1rem;
  
}

.text_2 {
  font-size: 1.2rem;
}
.script {
  font-family: 'Roboto Slab', serif; 
}
div.has-dropcap:first-letter {
  font-family:'Roboto Slab', serif;
  float: left;
  font-size: 6rem;
  line-height: 0.65;
  margin: 0.1em 0.1em 0.2em 0; color: #007d3f
}
.story-caption {font-size: 0.85rem; color: #848484
}
span.date {
    font-size: 15px;
    line-height: 1.7;
    margin-right: 8px;
    color: #999999;
    margin-bottom: 0.5em;
    display: inline-block;
}
