/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v27-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v27-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v27-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v27-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v27-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* STURCTURE */ 

html,
body,
.wrapper {
  min-height: 100%;
}

.wrapper .content-wrapper {
  min-height: calc(100vh - calc(3.5rem + 1px) - calc(3.5rem + 1px));
}

.main-sidebar {
	height: inherit;
	min-height: 100%;
	position: absolute;
	top: 0;
	height: 100vh;
	overflow-y: hidden;
	z-index: 1;
}   

.main-sidebar, .main-sidebar::before {
	transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
}

.main-sidebar .sidebar {
	overflow-y: auto;
}
.sidebar {
	height: calc(100% - (3.5rem + 1px));
	overflow-x: hidden;
	overflow-y: initial;
	padding-bottom: 0;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	padding-top: 0;
	scrollbar-color: #a9a9a9 transparent;
	scrollbar-width: none;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
}

#sidebar.active {
    margin-left: -250px; 
}

.nav-sidebar {
	position: relative;
}

.flex-column {
	-ms-flex-direction: column !important;
	flex-direction: column !important;
}

.nav {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.nav-sidebar > .nav-item {
	margin-bottom: 0;
}

.nav-sidebar .nav-item > .nav-link {
	position: relative;
}

.nav-sidebar .nav-item > .nav-link {
	margin-bottom: .2rem;
}

.nav-pills .nav-link {
	color: #6c757d;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-link {
	display: block;
	padding: 0.5rem 1rem;
}

.content-wrapper {
	transition: margin-left 0.3s ease-in-out;
	margin-left: 250px;
}

.wrapper .content-wrapper {
	min-height: calc(100vh - calc(3.5rem + 1px) - calc(3.5rem + 1px));
}
.content-wrapper {
	height: 100%;
}

.content-wrapper > .content {
	padding: 0 0.5rem;
}     


.item-title { 
  font-size: 1.5rem;
  margin: 1.414em 0 0.5em;
  margin-bottom:0px;
  text-transform: uppercase;
}

.item-ingress { 
  font-size: 0.97em;
  margin-top: 5px;
}

.item-description {
  font-size: 12px;
}

.zoom:hover {
transform: scale(1.03); 
transition: all 0.1s ease-in-out;
}

@media (max-width:992px) {

    .content-wrapper {
  	margin-left: 0px;
    }
    
    .main-sidebar {
      left: -250px;
    }
    
    .main-sidebar.active {
      left: 0px;
      background: #fff;
    }

    #sidebar {
        margin-left: -250px;
    }
    
    #sidebar.active {
        margin-left: 0;
        background: #fff;
    }
    
    .item-ingress { 
      font-size: 15px;
      margin-top: 5px;
    }
        
    .item-description {
  	font-size: 13px;
    }

}



.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	color: #707070;
	background-color: #ededed;
}

body {
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
    font-size:14px;
    line-height:1.45;
    color:#707070;
}

.navbar-brand { 
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
}

.footer_logo { 
  font-family: 'Open Sans', sans-serif;
}

.header_txt { 
  font-family: 'Open Sans', sans-serif;
}

a {
    color:#484848;
}
a:hover, .btn-link:hover {
    color: #000000;
    text-decoration: none;
}

.footer a {
    color:#f2ede9 !important
}
.footer a:hover {
    color:#268574;
    text-decoration: underline;
}

.somelinkki:hover {
    background:rgba(0,0,0,.05);
    transition: all 0.5s ease;
}

p {
    margin-bottom: 1.3em;
    font-size: 0.97em; 
    letter-spacing: -0.015em;
}

h1, h2, h3, h4 {
  margin: 1.414em 0 0.5em;
  font-weight: inherit;
  line-height: 1.2;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: -0.03em;
  color: #707070;
}

@media (min-width:768px) {

h1 {
  margin-top: 0;
  font-size: 3.157em;
  line-height: 1;
}

h2 {font-size: 2.369em;}

h3 {font-size: 1.777em;}

h4 {font-size: 1.555em;}

small, .font_small {font-size: 0.75em;}
    
}


/*
    FORM
*/

.btn-primary.green {
    background:#1D7868;
    transition: all 0.35s ease-in;
    border:1px solid transparent;
}
.btn-primary.green:hover {
    color:#F2EDE9;
    background:#268574;
    border:1px solid rgba(255,255,255,.2);
}

.btn-primary.brown {
    background:#2bb8c2;
    transition: all 0.35s ease-in;
    border:1px solid transparent;
}

.btn-primary.brown:hover {
    background:#21929a;
    color:#fff;
    border:1px solid transparent;
}

.btn-primary.red {
    background:#dc143c;
    transition: all 0.35s ease-in;
    border:1px solid transparent;
}

.btn-primary.red:hover {
    background:#b22222;
    color:#fff;
    border:1px solid transparent;
}

.btn-info {
    background:#2bb8c2;
    transition: all 0.35s ease-in;
    border:1px solid transparent;
}

.btn-info:hover {
    background:#21929a;
    color:#fff;
    border:1px solid transparent;
}


.btn-default {
    background:#2bb8c2;
    transition: all 0.35s ease-in;
    border:1px solid transparent;
}

.btn-default:hover {
    background:#21929a;
    color:#fff;
    border:1px solid transparent;
}

.form-control {
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 14px;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control {
    border: 1px solid transparent;
    background-color: rgba(0,0,0,.05);
}

label{
    font-size: 0.75em;
    text-transform: none;
    margin-bottom:0.25rem;
}

.btn-primary, .btn-info, .btn-default {
    padding: .75rem 1.75rem;
    position:relative;
    font-family: inherit;
}

.btn-outline-primary {
    padding: .5rem 1.25rem;
    border: 1px solid #1D7868;
}

.btn-warning {
    color:#fff;
}

.btn-warning:hover {
    color:#fff;
}


.btn-primary, .btn-warning, .btn-dark, .btn-info, .btn-default  {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom:0.25rem;
}

header a {
    color:#F2EDE9;
    font-family: 'Open Sans', sans-serif;
    border-bottom: 1px solid transparent;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
}

nav a:hover {
  border-bottom: 1px solid #F2EDE9;
  text-decoration: none;
    color:#F2EDE9;
}

nav .active a {
  border-bottom: 1px solid #F2EDE9;
  text-decoration: none;
    color:#F2EDE9;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #6c757d !important;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: 0px;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
}


.navbar-toggler {
    padding: .25rem;
    border-radius:0;
    position: absolute;
    top:0;
    right:0;
    z-index:9999;
}


.dropdown-item.active, .dropdown-item:active {
	color: #212529;
	text-decoration: none;
	background-color: #F2EDE9;
}    

.overflow-hidden { overflow: hidden; }

/*==========================================================*/
/* Slider
/*==========================================================*/

.carousel-indicators .active {
    background-color: #707070;
    opacity: 0.5;
}

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

.carousel-indicators-thumbs {
	position: absolute;
	right: 0;
	bottom: -100px;
	left: 0;
	z-index: 15;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding-left: 0;
  padding-right: 0;
	margin-right: 15%;
	margin-left: 15%;
	list-style: none;
}

@media (max-width:992px) {

  .carousel-indicators {
  	bottom: -85px;
  }

  .carousel-indicators-thumbs {
  	bottom: -80px;
  }
}

.carousel-indicators li {
	position: relative;
	width: 80px;
	height: 1px;
	margin-right: 9px;
	margin-left: 9px;
  list-style: none;
	background-color: rgba(255,255,255,.5);
}

.carousel-indicators-thumbs li {
  position: relative;
  width:80px;
  margin-right: 10px;
  margin-left: 10px;
  list-style: none;
  border: 0px solid #ddd;
}



.carousel-indicators-thumbs li:hover {
display: inline-block;
opacity: 0.5;
}

.carousel-control.left,
.carousel-control.right {
	opacity: 1;
	filter: alpha(opacity=100);
	background-image: none;
	background-repeat: no-repeat;
	text-shadow: none;
	position: absolute;
	top: 45%;
	z-index: 5;
	display: inline-block;
}

.carousel-control-next, .carousel-control-prev {
	position: absolute;
	top: 0;
	bottom: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	color: #fff;
	text-align: center;
	opacity: .5;
}

.carousel-control-prev,
.carousel-control-next {
  color: #707070;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  color: #777777;
}



/* Carousel Header Styles */
.header-text {
    position: absolute;
    top: 20%;
    width: 96.66666666666666%;  
}
  
.header-text h1 {
    font-size: 44px;
    color: #fff;
    margin-bottom:20px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.header-text p  {
  font-size: 18px;
	color: #fff;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5); 
}

#bs-gdpr-cookies-modal-advanced-types  li {
list-style-type: none;
}

.cke_button__source_label {
    display: none !important;
}

/*==================================================
=            CKEditor                             =
==================================================*/


.cke_editable {
    background: #fff;
}

.cke_editable p {
    font-size: 1em;
}

.cke_editable a {
    text-decoration: none;
}

.cke_editable h1, .cke_editable h2 {
    margin: 0em 0 0.5em;
    font-weight: inherit;
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: -0.03em;
    color: #000;
}

.cke_editable h3, .cke_editable h4 {
    margin: 1.414em 0 0.5em;
    font-weight: inherit;
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: -0.03em;
    color: #000;
}


/*==========================================================*/
/* Typeahed
/*==========================================================*/  

span.twitter-typeahead .tt-menu,
span.twitter-typeahead .tt-dropdown-menu {
  cursor: pointer;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 100%;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
span.twitter-typeahead .tt-suggestion {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #484848;
  white-space: nowrap;
}
span.twitter-typeahead .tt-suggestion.tt-cursor,
span.twitter-typeahead .tt-suggestion:hover,
span.twitter-typeahead .tt-suggestion:focus {
  color: #484848;
  text-decoration: none;
  outline: 0;
  background-color: #ddd;
}
.input-group.input-group-lg span.twitter-typeahead .form-control {
  height: 46px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}
.input-group.input-group-sm span.twitter-typeahead .form-control {
  height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
span.twitter-typeahead {
  width: 100%;
}
.input-group span.twitter-typeahead {
  display: block !important;
  height: 34px;
}
.input-group span.twitter-typeahead .tt-menu,
.input-group span.twitter-typeahead .tt-dropdown-menu {
  top: 32px !important;
}
.input-group span.twitter-typeahead:not(:first-child):not(:last-child) .form-control {
  border-radius: 0;
}
.input-group span.twitter-typeahead:first-child .form-control {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group span.twitter-typeahead:last-child .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.input-group.input-group-sm span.twitter-typeahead {
  height: 30px;
}
.input-group.input-group-sm span.twitter-typeahead .tt-menu,
.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
  top: 30px !important;
}
.input-group.input-group-lg span.twitter-typeahead {
  height: 46px;
}
.input-group.input-group-lg span.twitter-typeahead .tt-menu,
.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
  top: 46px !important;
}

span.twitter-typeahead .form-control-feedback {
    position: absolute;
    top: 0;
    right: -32px;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

.form-control:disabled, .form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
  cursor: not-allowed;
}

/*==========================================================*/
/* Select2
/*==========================================================*/ 


.select2-container--bootstrap4 .select2-selection {
  background-color: #ddd;
}

.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
  background-color:#ddd;
  color: #495057;
}

.select2-container--default .select2-selection--single {
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	display: block;
	width: 100%;
	font-size: 14px;
	line-height: 1.5;
	color: #495057;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  border: 1px solid transparent;
  background-color: rgba(0,0,0,.05);
}

.select2-container .select2-selection--single {
	box-sizing: border-box;
	cursor: pointer;
	display: block;
	height: 34px;
	user-select: none;
	-webkit-user-select: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #444;
	line-height: 30px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
     background-color: #2bb8c2;
     color: #fff; 
}

.border-dark {
	border-color: #2bb8c2 !important;
}


/*==========================================================*/
/* Datatable
/*==========================================================*/ 
 
 
 table.dataTable {
	border-collapse: collapse !important;
}


/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #fff;
}
 
  
.toolbar {
float:left;
margin-right:60px;
}

.dt-buttons{
float:right;
}

.dt-button-collection{
min-width:100px;
max-width:100px;
}


.button-page-length{
margin-left: 15px;
}

      
.dataTables_filter{
float:left;
margin-left:150px;
padding-top:4px;
}

.dataTables_info {
float:left;
}

.pagination {
float:right;
}

.page-item.active .page-link  {
background-color: #2bb8c2 !important;
border-color: #2bb8c2 !important;
color: #fff !important;

}

.page-link {
	position: relative;
	display: block;
	padding: .5rem .75rem;
	margin-left: -1px;
	line-height: 1.25;
	color: #2bb8c2 !important;
	background-color: #fff;
	border: 1px solid #dee2e6;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover  {
background-color: #2bb8c2;
border-color: #2bb8c2;
}

ul.dt-button-collection.dropdown-menu > * {
	-webkit-column-break-inside: avoid;
	break-inside: avoid;
  font-size:14px;
}
