/* 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 */
}


@font-face{
font-family:'Glyphicons Halflings';
src:url('../fonts/glyphicons-halflings-regular.eot');
src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/glyphicons-halflings-regular.woff') format('woff'),
url('../fonts/glyphicons-halflings-regular.ttf') 
format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}
.glyphicon{
position:relative;top:1px;display:inline-block;
font-family:'Glyphicons Halflings';
font-style:normal;
font-weight:normal;
line-height:1;
-webkit-font-smoothing:antialiased;
}
.glyphicon-asterisk:before{content:"\2a";}
.glyphicon-plus:before{content:"\2b";}
.glyphicon-euro:before{content:"\20ac";}
.glyphicon-minus:before{content:"\2212";}
.glyphicon-cloud:before{content:"\2601";}
.glyphicon-envelope:before{content:"\2709";}
.glyphicon-pencil:before{content:"\270f";}
.glyphicon-glass:before{content:"\e001";}
.glyphicon-music:before{content:"\e002";}
.glyphicon-search:before{content:"\e003";}
.glyphicon-heart:before{content:"\e005";}
.glyphicon-star:before{content:"\e006";}
.glyphicon-star-empty:before{content:"\e007";}
.glyphicon-user:before{content:"\e008";}
.glyphicon-film:before{content:"\e009";}
.glyphicon-th-large:before{content:"\e010";}
.glyphicon-th:before{content:"\e011";}
.glyphicon-th-list:before{content:"\e012";}
/* kommentoitu ettei näy formeissa .glyphicon-ok:before{content:"\e013";} */
.glyphicon-remove:before{content:"\e014";}
.glyphicon-zoom-in:before{content:"\e015";}
.glyphicon-zoom-out:before{content:"\e016";}
.glyphicon-off:before{content:"\e017";}
.glyphicon-signal:before{content:"\e018";}
.glyphicon-cog:before{content:"\e019";}
.glyphicon-trash:before{content:"\e020";}
.glyphicon-home:before{content:"\e021";}
.glyphicon-file:before{content:"\e022";}
.glyphicon-time:before{content:"\e023";}
.glyphicon-road:before{content:"\e024";}
.glyphicon-download-alt:before{content:"\e025";}
.glyphicon-download:before{content:"\e026";}
.glyphicon-upload:before{content:"\e027";}
.glyphicon-inbox:before{content:"\e028";}
.glyphicon-play-circle:before{content:"\e029";}
.glyphicon-repeat:before{content:"\e030";}
.glyphicon-refresh:before{content:"\e031";}
.glyphicon-list-alt:before{content:"\e032";}
.glyphicon-flag:before{content:"\e034";}
.glyphicon-headphones:before{content:"\e035";}
.glyphicon-volume-off:before{content:"\e036";}
.glyphicon-volume-down:before{content:"\e037";}
.glyphicon-volume-up:before{content:"\e038";}
.glyphicon-qrcode:before{content:"\e039";}
.glyphicon-barcode:before{content:"\e040";}
.glyphicon-tag:before{content:"\e041";}
.glyphicon-tags:before{content:"\e042";}
.glyphicon-book:before{content:"\e043";}
.glyphicon-print:before{content:"\e045";}
.glyphicon-font:before{content:"\e047";}
.glyphicon-bold:before{content:"\e048";}
.glyphicon-italic:before{content:"\e049";}
.glyphicon-text-height:before{content:"\e050";}
.glyphicon-text-width:before{content:"\e051";}
.glyphicon-align-left:before{content:"\e052";}
.glyphicon-align-center:before{content:"\e053";}
.glyphicon-align-right:before{content:"\e054";}
.glyphicon-align-justify:before{content:"\e055";}
.glyphicon-list:before{content:"\e056";}
.glyphicon-indent-left:before{content:"\e057";}
.glyphicon-indent-right:before{content:"\e058";}
.glyphicon-facetime-video:before{content:"\e059";}
.glyphicon-picture:before{content:"\e060";}
.glyphicon-map-marker:before{content:"\e062";}
.glyphicon-adjust:before{content:"\e063";}
.glyphicon-tint:before{content:"\e064";}
.glyphicon-edit:before{content:"\e065";}
.glyphicon-share:before{content:"\e066";}
.glyphicon-check:before{content:"\e067";}
.glyphicon-move:before{content:"\e068";}
.glyphicon-step-backward:before{content:"\e069";}
.glyphicon-fast-backward:before{content:"\e070";}
.glyphicon-backward:before{content:"\e071";}
.glyphicon-play:before{content:"\e072";}
.glyphicon-pause:before{content:"\e073";}
.glyphicon-stop:before{content:"\e074";}
.glyphicon-forward:before{content:"\e075";}
.glyphicon-fast-forward:before{content:"\e076";}
.glyphicon-step-forward:before{content:"\e077";}
.glyphicon-eject:before{content:"\e078";}
.glyphicon-chevron-left:before{content:"\e079";}
.glyphicon-chevron-right:before{content:"\e080";}
.glyphicon-plus-sign:before{content:"\e081";}
.glyphicon-minus-sign:before{content:"\e082";}
.glyphicon-remove-sign:before{content:"\e083";}
.glyphicon-ok-sign:before{content:"\e084";}
.glyphicon-question-sign:before{content:"\e085";}
.glyphicon-info-sign:before{content:"\e086";}
.glyphicon-screenshot:before{content:"\e087";}
.glyphicon-remove-circle:before{content:"\e088";}
.glyphicon-ok-circle:before{content:"\e089";}
.glyphicon-ban-circle:before{content:"\e090";}
.glyphicon-arrow-left:before{content:"\e091";}
.glyphicon-arrow-right:before{content:"\e092";}
.glyphicon-arrow-up:before{content:"\e093";}
.glyphicon-arrow-down:before{content:"\e094";}
.glyphicon-share-alt:before{content:"\e095";}
.glyphicon-resize-full:before{content:"\e096";}
.glyphicon-resize-small:before{content:"\e097";}
.glyphicon-exclamation-sign:before{content:"\e101";}
.glyphicon-gift:before{content:"\e102";}
.glyphicon-leaf:before{content:"\e103";}
.glyphicon-eye-open:before{content:"\e105";}
.glyphicon-eye-close:before{content:"\e106";}
.glyphicon-warning-sign:before{content:"\e107";}
.glyphicon-plane:before{content:"\e108";}
.glyphicon-random:before{content:"\e110";}
.glyphicon-comment:before{content:"\e111";}
.glyphicon-magnet:before{content:"\e112";}
.glyphicon-chevron-up:before{content:"\e113";}
.glyphicon-chevron-down:before{content:"\e114";}
.glyphicon-retweet:before{content:"\e115";}
.glyphicon-shopping-cart:before{content:"\e116";}
.glyphicon-folder-close:before{content:"\e117";}
.glyphicon-folder-open:before{content:"\e118";}
.glyphicon-resize-vertical:before{content:"\e119";}
.glyphicon-resize-horizontal:before{content:"\e120";}
.glyphicon-hdd:before{content:"\e121";}
.glyphicon-bullhorn:before{content:"\e122";}
.glyphicon-certificate:before{content:"\e124";}
.glyphicon-thumbs-up:before{content:"\e125";}
.glyphicon-thumbs-down:before{content:"\e126";}
.glyphicon-hand-right:before{content:"\e127";}
.glyphicon-hand-left:before{content:"\e128";}
.glyphicon-hand-up:before{content:"\e129";}
.glyphicon-hand-down:before{content:"\e130";}
.glyphicon-circle-arrow-right:before{content:"\e131";}
.glyphicon-circle-arrow-left:before{content:"\e132";}
.glyphicon-circle-arrow-up:before{content:"\e133";}
.glyphicon-circle-arrow-down:before{content:"\e134";}
.glyphicon-globe:before{content:"\e135";}
.glyphicon-tasks:before{content:"\e137";}
.glyphicon-filter:before{content:"\e138";}
.glyphicon-fullscreen:before{content:"\e140";}
.glyphicon-dashboard:before{content:"\e141";}
.glyphicon-heart-empty:before{content:"\e143";}
.glyphicon-link:before{content:"\e144";}
.glyphicon-phone:before{content:"\e145";}
.glyphicon-usd:before{content:"\e148";}
.glyphicon-gbp:before{content:"\e149";}
.glyphicon-sort:before{content:"\e150";}
.glyphicon-sort-by-alphabet:before{content:"\e151";}
.glyphicon-sort-by-alphabet-alt:before{content:"\e152";}
.glyphicon-sort-by-order:before{content:"\e153";}
.glyphicon-sort-by-order-alt:before{content:"\e154";}
.glyphicon-sort-by-attributes:before{content:"\e155";}
.glyphicon-sort-by-attributes-alt:before{content:"\e156";}
.glyphicon-unchecked:before{content:"\e157";}
.glyphicon-expand:before{content:"\e158";}
.glyphicon-collapse-down:before{content:"\e159";}
.glyphicon-collapse-up:before{content:"\e160";}
.glyphicon-log-in:before{content:"\e161";}
.glyphicon-flash:before{content:"\e162";}
.glyphicon-log-out:before{content:"\e163";}
.glyphicon-new-window:before{content:"\e164";}
.glyphicon-record:before{content:"\e165";}
.glyphicon-save:before{content:"\e166";}
.glyphicon-open:before{content:"\e167";}
.glyphicon-saved:before{content:"\e168";}
.glyphicon-import:before{content:"\e169";}
.glyphicon-export:before{content:"\e170";}
.glyphicon-send:before{content:"\e171";}
.glyphicon-floppy-disk:before{content:"\e172";}
.glyphicon-floppy-saved:before{content:"\e173";}
.glyphicon-floppy-remove:before{content:"\e174";}
.glyphicon-floppy-save:before{content:"\e175";}
.glyphicon-floppy-open:before{content:"\e176";}
.glyphicon-credit-card:before{content:"\e177";}
.glyphicon-transfer:before{content:"\e178";}
.glyphicon-cutlery:before{content:"\e179";}
.glyphicon-header:before{content:"\e180";}
.glyphicon-compressed:before{content:"\e181";}
.glyphicon-earphone:before{content:"\e182";}
.glyphicon-phone-alt:before{content:"\e183";}
.glyphicon-tower:before{content:"\e184";}
.glyphicon-stats:before{content:"\e185";}
.glyphicon-sd-video:before{content:"\e186";}
.glyphicon-hd-video:before{content:"\e187";}
.glyphicon-subtitles:before{content:"\e188";}
.glyphicon-sound-stereo:before{content:"\e189";}
.glyphicon-sound-dolby:before{content:"\e190";}
.glyphicon-sound-5-1:before{content:"\e191";}
.glyphicon-sound-6-1:before{content:"\e192";}
.glyphicon-sound-7-1:before{content:"\e193";}
.glyphicon-copyright-mark:before{content:"\e194";}
.glyphicon-registration-mark:before{content:"\e195";}
.glyphicon-cloud-download:before{content:"\e197";}
.glyphicon-cloud-upload:before{content:"\e198";}
.glyphicon-tree-conifer:before{content:"\e199";}
.glyphicon-tree-deciduous:before{content:"\e200";}
.glyphicon-briefcase:before{content:"\1f4bc";}
.glyphicon-calendar:before{content:"\1f4c5";}
.glyphicon-pushpin:before{content:"\1f4cc";}
.glyphicon-paperclip:before{content:"\1f4ce";}
.glyphicon-camera:before{content:"\1f4f7";}
.glyphicon-lock:before{content:"\1f512";}
.glyphicon-bell:before{content:"\1f514";}
.glyphicon-bookmark:before{content:"\1f516";}
.glyphicon-fire:before{content:"\1f525";}
.glyphicon-wrench:before{content:"\1f527";}


/*   VARIT   */

.mailcontent {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.42857143;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #F2EDE9;
  border: 1px solid #F2EDE9;
  border-radius: 4px;
}

.bg-light {
    background:#F2EDE9!important;
}

.text-white {
    color:#F2EDE9!important;
    font-size:20px;
}

.text-gray {
    color:#ccc;
}

.container {
  max-width: 960px;
}

/* TYPOGRAPHY */ 

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #ffffff;
    /*background:#268574;*/
    font-size:1rem;
    line-height:1.45;
    color:#000;
}

.logo { 
  font-family: "Grandiflora One", cursive;
  letter-spacing: 0em;
  color:#000;
  font-weight: bold;
}

section {
padding:3rem 0;
margin-top:30px;
}

footer {
box-shadow: 0 0 5px rgba(0,0,0,.7);
background-color: #F2EDE9;
}

@media (min-width:768px) {
    section {
        padding:5rem 0;
    }
    
    .d-md-flex {
        display: -webkit-box !important;      /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box !important;         /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox !important;      /* TWEENER - IE 10 */
        display: -webkit-flex !important;     /* NEW - Chrome */
        display: flex !important; 
    }
}

@media (min-width:1024px) {
    section {
        padding:7rem 0;
    }
    .logo_front { margin-left:80px; }
}

@media (max-width: 576px) {
    .gallery-grid {
        max-width: 400px;
    }
    .footer {
        text-align: center;
    }
}

@media (min-width: 576px) {
    .gallery-grid {
        max-width: 540px;
    }
    .logo {
    position: relative;
    top: 0px; 
    font-size:80px; 
    }
	
}

@media (min-width: 768px) {
    .gallery-grid {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        max-width: 1140px;
    }
}

.kansikuva {
    background: url('../images/code.jpg') no-repeat;
    background-size: cover;
    /*
    background-position: center;
    padding-top:4rem;
    padding-bottom:4rem;
    */
}
.background-cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center -80px;
}

@media (min-width:768px) {

    .kansikuva {
        padding-top:9%;
        padding-bottom:9%;
    }

    footer {
        padding:1rem 0;
    }
}


.img-fluid {
    max-width: 100%;
    height: auto;
}


/*
Forces carousel image to be 100% width and not max width of 100%
*/
.carousel-item .img-fluid {
  width:100%;
  height:100%;
}



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

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

a {
    color:#000;
}
a:hover, .btn-link:hover {
    color: #000;
    text-decoration: underline;
}

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

.footer {
 font-size: 16px; 
}

a[href^="tel"] {
  color: inherit; /* Inherit text color of parent element. */
  text-decoration: none; /* Remove underline. */
  /* Additional css `propery: value;` pairs here */
}

a[href^="mailto"] {
  color: inherit; /* Inherit text color of parent element. */
  text-decoration: none; /* Remove underline. */
  /* Additional css `propery: value;` pairs here */
}

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

p {
    margin-bottom: 1.3em;
    font-size: 1.2em; 
    /* letter-spacing: -0.015em;  */
}

h1, h2, h3, h4 {
  margin: 0.5em 0 0.5em;
  font-weight: inherit;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: -0.03em;
  /* color:#268574; */
}

@media (min-width:768px) {

h1 {
  margin-top: 0;
  font-size: 1.555em;
}

h2 {font-size: 1.555em;}

h3 {font-size: 1.111em;}

h4 {font-size: 1.0em;}

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

/*
    FORM
*/

.form-control {
    border: 1px solid #ba9486;
    background-color: #fff;
}
 
.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: .25rem;
  font-size: 80%;
  color:#dc3545;
}
.was-validated .form-control:invalid {
  border-color:#dc3545;
  box-shadow:0 0 0 .2rem rgba(220,53,69,.25);
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: .25rem;
  font-size: 80%;
  color: #ced4da;
}
 .was-validated .form-control:valid {
   box-shadow: none; 
   border-color: #ced4da;
}

/* Bootstrapvalidator errors */
  .help-block {
    color: #dc3545 !important;
  }

.btn-info {
	background-color: #ba9486 !important;
	transition: all 0.35s ease-in;
	border: 1px solid transparent;
	font-size:14px;
}
.btn-info:hover {
    color:#f8f8f8;
    background:#222;
    border:1px solid rgba(255,255,255,.2);
}

.btn-primary {
	color:#F2EDE9;
    background:#000;
    transition: all 0.35s ease-in;
    border:1px solid transparent;
	font-size:14px;
}
.btn-primary:hover {
    color:#f8f8f8;
    background:#222;
    border:1px solid rgba(255,255,255,.2);
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:active {
    color:#000;
    background:#ffc107;
    border:1px solid rgba(255,255,255,.2);
}

.btn-primary.focus,
.btn-primary:focus {
    color:#000;
    background:#ffc107;
    border:1px solid rgba(255,255,255,.2);
}

.btn-primary.disabled, .btn-primary:disabled {
	color: #fff;
	background-color: #888;
	border-color: #888;
}


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

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

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

.btn-link {
    color:#1D7868;
}

.btn-sm {
    font-size: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-outline-light {
    font-family: inherit;
}

.btn .material-icons {
    position: absolute;
    top:.75rem;
    right:4px;
    font-size:18px;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

.btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	white-space: normal !important;
}

.unread {
    font-family: inherit;
	font-weight: bold !important;
}

.thread.attachment::after {
  font-family: "FontAwesome";
  font-weight: 900;
  content: "\f0e6 \00a0 \f0c6"; /* Thread icon + space + Attachment icon */
  margin-left: 8px;
}

.thread::after,
.attachment::after {
  font-family: "FontAwesome";
  font-weight: 900;
  margin-left: 8px;
}

.thread::after {
  content: "\f0e6"; /* Thread icon */
}

.attachment::after {
  content: "\f0c6"; /* Attachment icon */
}

        .calendar {
            table-layout: fixed;
        }
        .calendar th, .calendar td {
            width: 14.28%; /* 7 days in a week */
            text-align: center;
            padding: 10px;
            border: 1px solid #ddd;
        }
        .calendar-header {
            background-color: #ba9486;
            color: white;
        }
        .today {
            background-color: #ffc107;
        }
		
		.holiday {
		  background-color: #ffc107;
		}
		
		.btn-primary.green {
			background:#28a745;
			transition: all 0.35s ease-in;
			border:1px solid transparent;
		}
		.btn-primary.green:hover {
			color:#F2EDE9;
			background:#218838;
			border:1px solid rgba(255,255,255,.2);
		}

		.btn-primary.red {
			background:#b0132b;
			transition: all 0.35s ease-in;
			border:1px solid transparent;
		}
		.btn-primary.red:hover {
			color:#F2EDE9;
			background:#cc0624;
			border:1px solid rgba(255,255,255,.2);
		}
		
.tooltip-inner {
    max-width: 150px !important;
	padding:10px;
}

#header {
    transition: top 0.2s ease-in-out;
}

.nav-up {
    top: -180px;
}

header a {
    color:#000;
    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 #000;
  text-decoration: none;
  color:#000;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 1rem;
  padding: .5rem 0;
  margin: .125rem 0 0;
  font-size: 1rem;
  color: #000;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #000;
    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: 14px; 
}

.dropdown-item:hover {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #fff;
    text-align: inherit;
    white-space: nowrap;
    background-color: #ba9486;
    border: 0;
        border-bottom-color: currentcolor;
        border-bottom-style: none;
        border-bottom-width: 0px;
        font-size: 14px; 
}

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


.nav-link {
	color: #fff;
	background-color: #ba9486;
	border: 1px solid #ddd !important;
	border-top-left-radius: .25rem;
	border-top-right-radius: .25rem;
	display: block;
	font-size:14px;
}

#header {
    width:100%;
    display:block;
    padding: 0.5rem 0;
    transition: all 0.5s ease-in-out;
    font-size:16px;
	background: #F2EDE9;
    /* background:linear-gradient(to bottom, rgba(0,0,0,0.5) 0px,rgba(0,0,0,0.1) 100px); */
} 

.navbar-brand {
	display: inline-block;
	padding-top: .3125rem;
	padding-bottom: .3125rem;
	margin-right: 1rem;
	font-size: 16px;
	line-height: inherit;
	white-space: nowrap;
}

@media (min-width 768px) {
    #header {
        padding: 1.6rem;
    }
}

.header-wrapper[data-emergence=hidden] header {
    padding-top: inherit;
    padding-bottom: inherit;
}

section[data-emergence=hidden], div[data-emergence=hidden] {
    opacity: 0;
    transition: opacity 1.5s ease;
}

section[data-emergence=visible], div[data-emergence=visible] {
    opacity: 1;
}

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

@media (max-width: 768px) {

    .navbar-collapse {
        position: absolute;
        top:0;
        left:0;
        width:100%;
        background:#fff;
		box-shadow: 0 0 5px rgba(0,0,0,.7);
		padding:0px;
		margin:0px;
    }
    .navbar-collapse a {
        color: #000;
    }
    .navbar-collapse a:hover {
        color: #000;
    }
    
    .navbar-collapse .active a {
        color: #000;
    }
   
    .nav-item {
    padding-top: .5rem!important;
    padding-bottom: .5rem!important;
    }
	
	.nav-item.active {
	background-color: #0056b3; /* Darker blue background on hover */
    color: #fff;
}
	
	.langlink {
    padding-left: 20px !important;
    }
}

.navbar {
	padding: .0rem 1rem; 
}

/*
 * Extra utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.flex-equal > * {
  -ms-flex: 1;
  -webkit-box-flex: 1;
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    -ms-flex: 1;
    -webkit-box-flex: 1;
    flex: 1;
  }
}

.overflow-hidden { overflow: hidden; }



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

.tooltip-inner {
    max-width: 350px;
    /* If max-width does not work, try using width instead */
    width: 350px; 
    font-size:12px;
}


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

.toolbar {
float:none;
}

.pagination {
float:right;
}

.dt-buttons {
	position: absolute;
	display: -ms-inline-flexbox;
	display: inline-flex;
	vertical-align: middle;
	right: 0px;
	top: -50px;
	margin-right:15px;
}

.dt-button-collection {
min-width:100px;
max-width:100px;
}
.dataTables_wrapper .dataTables_info {
    font-size: 22px;
}
.dataTables_wrapper {
    margin-top: 0px;
}

.editable {
    border: 10px solid #000;
    padding: 5px;
}

table.dataTable tr.odd { background-color: #F2EDE9; }

.table-hover tbody tr:hover {
  color:#212529;
  background-color: #ffc107 !important;
}

.dt-buttons .btn {
	padding: .75rem 1.75rem;
	position: relative;
	font-family: inherit;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.25rem;
	color: #F2EDE9;
	background: #000;
	transition: all 0.35s ease-in;
	border: 1px solid grey;
}

.dt-buttons .btn:hover {
    color:#f8f8f8;
    background:#222;
    border:1px solid rgba(255,255,255,.2);
}

/*==================================================
=            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;
}



/*==================================================
=            drag & drop upload           =
==================================================*/

.file-upload-area {
    border: 2px dashed #ba9486;
    padding: 30px;
    cursor: pointer;
    position: relative;
}

.file-drop-zone {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-message {
    font-size: 1.25rem;
    color: #ba9486;
}

.file-upload-area.dragover {
    background-color: #f1f1f1;
    border-color: #ba9486;
}

.file-preview img {
    width: 100px;
    margin: 10px;
}


/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/


/* Portrait phones and smaller */
@media (max-width: 480px) {
    
  .nav-item  {
      padding-bottom: .5rem !important;
      padding-top: .5rem !important;
  }
  
    .footer {
        padding:4rem 0;
		position: relative;
		bottom:0px;
    }
	
	.footer {
	 font-size: 1rem; 
	}
	
	.valkoinen-tausta {
	 margin-top: 4rem; 
	}
	   
}


