/* cmsms stylesheet: buddy013-main modified: perjantai 12. maaliskuuta 2021 4.16.40 */
@charset "utf-8";

/* DEFINE MAIN COLOR HERE */

span.accesskey {
  text-decoration: none;
}

.accessibility {
  position: absolute;
  top: -999em;
  left: -999em;
}

dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}

dl, dt, dd, ol, ul {
  margin: 0;
	padding: 0 0  0 15px;
}
li {margin: 0; padding: 0 0 0 0px;
}

::selection {
	background: #e6382f;
	color: #FFF;
	text-shadow: none;
}

::-moz-selection {
	background: #e6382f; /* Firefox */
	color: #FFF;
	text-shadow: none;
}

::-webkit-selection {
	background: #e6382f; /* Safari */
	color: #FFF;
	text-shadow: none;
}

:active,
:focus { outline: none !important; }

/* Typography 
================================================== */

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%:
  color: #666;  
}

h1, 
h2, 
h3, 
h4, 
h5, 
legend {
  font-weight: 700;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  line-height: 150%;
  text-transform: uppercase;
  color: #bf0b0b; 
letter-spacing: 1px;
}
h6, 
legend {
  font-weight: 700;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  line-height: 150%;
  text-transform: none;
  color: #333;
  letter-spacing: 1px;
}

h1 { font-size: 30px; }

h2 { font-size: 24px; }

h3 { font-size: 20px; color: #333; }

.feature-content h3 {margin: 14px 0;font-size: 22px;}
.subtitle + h3 {margin: 0 0 14px 0;}
  
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 15px; font-weight: 600; }

.home-title {
  margin-bottom: 15px;
  text-align: center;
}
.home-title:after {
  display: block;
  height: 1px;
  width: 150px;
  content: '';
  margin: 10px auto 0;
  background-color: #e6382f;
}

p,
pre,
ul,
ol,
dl,
dd,
blockquote,
address,
table,
fieldset,
form { margin-bottom: 15px; }

small { font-family: 'Lato', sans-serif; }

p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

a {
	text-decoration: none !important;
	color: #e6382f;
}

a:hover { color: #333; }

a img { border: none; }

img { max-width: 100%; }

iframe { border: none !important; }

.error_message { color: red; }

.textCenter { text-align: center; }

.noScroll { overflow: hidden; }

.subtitle {
    display: block;
    margin: 16px 0 6px 0;
    text-transform: initial;
    font-family: 'Crete Round', serif;
    font-style: italic;
    font-weight: 400;
    color: #bf0b0b;
    letter-spacing: 0;
    line-height: 120%;
}

/* Layout 
================================================== */

.wrapper {
  position: relative;
	float: none;
	width: 100%;
	margin: 0;
	background-color: #FFF;	
}

header {
  width: 100%;
  z-index: 1000;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #ff7011;  
border-bottom: 1px solid rgba(0,0,0,.1);
  -webkit-transition: all .3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

header .container-fluid { 
padding: 0 15px 0 20px; 
/*background-color:#e6382fb;*/
background-color:#ff7011;
}

.content-wrapper { padding: 20px 0; }
section.content { padding: 20px 0; }
section.grey { background-color: #f6f6f6; }

/* Header smaller (page scroll) */

header.header-smaller {
  height: 60px;
  box-shadow: 0 0 10px rgba(0,0,0,0.12);
  background-color: #e6382f;
}
.header-smaller .logo a img {
  height: 60px;
}
.header-smaller .main-title {
  margin-top: 60px;
}
.header-smaller .search-trigger {
  height: 60px;
}

.header-smaller .search-trigger i {
  top: 37%;
}

.header-smaller .search-input form {
  height: 60px;
}

.home-heading {
  padding-bottom: 2px;
  margin-bottom: 10px;
  position: relative;
}

.home-heading h1 {
  text-align: center;
  margin: 20px 0;
  text-transform: uppercase;
}

.home-heading:after {
  display: block;
  height: 12px;
  width: 50px;
  content: '';
  bottom: 0px;
  position: absolute;
  margin-left: -25px;
  left: 50%;
background-color: #e6382f;
}

.home-heading span {
    display: block;
    text-align: center;
    font-weight: 300;
    color: #777;
    font-size: 22px;
    margin-bottom: 20px;
}
.home-heading1:after {
  
}
.main-menu {
  margin-right: 50px;
  opacity: 1;
}

.main-title {
	position: relative;
	padding: 25px 0 5px 0;
	background-color: #F5F5F5;
  border-bottom: 1px solid #EEE;
  margin-top: 60px;
  -webkit-transition: all .3s ease;
  -ms-transition: all 0.3s;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.main-title .container { position: relative; }

.main-title h1 {
	padding: 0;
	margin: 0;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 1px;
	color: #bf0b0b;
	font-size: 26px;
	text-transform: uppercase;
}

.main-title .main-subtitle {
	display: block;
	margin-top: 10px;
	font-weight: 400;
	color: #bf0b0b;
	font-size: 18px;
}

.main-title.parallax {
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  padding: 120px 0;
  transition: 0s linear;
  transition-property: background-position;
}
.main-title--dark h1,
.main-title--dark span,
.main-title--dark .main-subtitle,
.main-title--dark .breadcrumbs,
.main-title--dark .breadcrumb,
.dark, .dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6, .dark p {
  color: rgba(255,255,255,0.9);
}

.dark .home-title:after {
  background-color: rgba(255,255,255,.9);
}

.main-title.margin-smaller {
  margin-top: 60px;
}

/* Footer */

footer {
  background-color: #212121;
  border-top: 4px solid rgba(0,0,0,0.2);
  line-height: 1.8;
  font-size: 14px;
}

footer a {
  color: #bdbdbd;
  border-bottom: 1px dotted #666;
}

footer a:hover {
  color: #eee;
  border-bottom: 1px dotted #eee;
}

.footer-big {
  padding: 20px 0;
}

.footer-small {
  padding: 20px 0;
}

footer.dark {
  background-color: #212121;
  color: #CCC;
  border-top-color: rgba(0,0,0,0.2);
}

footer.dark .footer-small {
  background-color: #212121;
  color: rgba(255,255,255,0.3);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.feater-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  margin-bottom: 25px;
}

.feature-icon i {
  font-size: 44px;
  color: #e6382f;
}

.feature-content, .feature-content p {  
  line-height: 1.8;
}

/* Logo */

.logo {
	position: relative;
	float: left;
	font-family: 'Raleway', sans-serif;
	font-size: 36px;
	line-height: 100%;
  margin-right: 40px;
  padding-right: 30px;
  margin-right: 30px;
  border-right: 0px solid rgba(0,0,0,.1);
  opacity: 1;
}

.logo a {
	display: block;
	color: #000;
}

.logo a img {
	display: block;
  max-width: 100%;
  height: 70px;
  -webkit-transition: all .3s ease;
  -ms-transition: all 0.3s;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.logo a.standard-logo { display: block; }
.logo a.retina-logo { display: none; }

.logo img.logo-default { display: block; }
.logo img.logo-inverse { display: none; }
.logo.dark img.logo-default { display: none; }
.logo.dark img.logo-inverse { display: block; }

.header-smaller .logo img.logo-default { display: block !important; }
.header-smaller .logo img.logo-inverse { display: none !important; }

/* Breadcrumbs */

.breadcrumbs	{
  display: inline-block;
	margin: -19px 0 0 0 !important;
	background-color: transparent !important;
	padding: 0 !important;
	font-size: 12px;
}

.breadcrumb {
	margin-bottom: 0;
	background-color: transparent;
  padding: 8px 10px;
  display: inline-block;
}

.breadcrumb-text {
  font-size: 12px;
	margin-left: 6px;
}

.home-parallax {
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  min-height: 500px;  
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
}

.home-parallax h3 {
  font-size: 32px;
}

/* Search */

.search-wrapper {
  position: absolute;
  top: 0;
  right: 70px;
}

.search-trigger {
	position: relative;
	display: block;
	width: 70px;
	height: 70px;
  color: #000;
  z-index: 10;
  text-align: center;
  border-left: 1px solid rgba(0,0,0,.1);
	-webkit-transition: all .3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.search-trigger:hover {
  color: #666;
}

.search-trigger i {
  position: absolute;
  top: 37%;
  right: 40%;
	text-shadow: none;
}

.search-input form {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 15px;
  margin: 0;
  z-index: -2;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.search-input form input {
  box-shadow: none !important;
  pointer-events: none;
  border-radius: 0;
  border: 0;
  outline: 0 !important;
  font-size: 24px;
  padding: 10px 80px 10px 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #333;
  font-weight: 700;
  margin-top: 0 !important;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 1px;
}

.search-trigger i.fa-times, 
.show-search i.fa-search,
.show-search .logo, 
.show-search .main-menu,
.show-search .mobile-nav-trigger { opacity: 0; }

.show-search i.fa-times, 
.show-search .search-input form { opacity: 1; }

.show-search .search-input form { z-index: 9; }

.show-search i.fa-times { z-index: 11; }

.show-search .search-input form input {
    pointer-events: auto;
}

.show-search .search-wrapper {
  right: 0;
}

/* To top link, shows on scroll */

.totoplink a	{
	display: none;
	z-index: 999; 
	position: fixed;
	right: 20px;
	bottom: 20px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	width: 40px;
	height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: rgba(0,0,0,.3);
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

.totoplink i {
  font-size: 20px;
	color: white;
}

.totoplink a:hover	{
	background-color: #e6382f;
}

/* Swiper 4.0.7
 ================================================== */

.slider {
  position: relative;
  margin-top: 60px;
  -webkit-transition: all .3s ease;
  -ms-transition: all 0.3s;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.slider.margin-smaller {
  margin-top: 60px;
}

.slider .error_message {
  margin-top: 150px;
  text-align: center;
}

.swiper-container {
	width: 100%;
	height: 500px;
	overflow: hidden;
}

.slider-fullscreen .slider {
  height: 100vh;
  margin-top: 0;
}

.slider-fullscreen .swiper-container {
  height: 100%;
}

.slider-fullscreen header {
  background-color: transparent;
}

.slider-fullscreen header.header-smaller {
  background-color: #FFF;
}

.slider-fullscreen header.dark {
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.slider-fullscreen header.dark:not(.header-smaller) .search-trigger {
  border-left: 1px solid rgba(255,255,255,.25);
  color: white;
}

.slider-fullscreen header.dark:not(.header-smaller) .logo {
  border-right: 1px solid rgba(255,255,255,.25);
}

.slider-fullscreen header.dark:not(.header-smaller) .search-input form input,
.slider-fullscreen header.dark:not(.header-smaller) .search-input form input::placeholder {
  color: white;
}

.swiper-slide {
  text-align: center;
  font-size: 24px;
  background: #f2f2f2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
  margin: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.slider-caption {
  font-weight: 300;
  line-height: 1.4;
  opacity: 1;
z-index:100;
}

.slider-caption h2 {
  display: none;
  font-size: 38px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;  
  margin-top: 0;
  -webkit-animation-delay: .3s;
	-moz-animation-delay: .3s;
	animation-delay: .3s;
color: #FFFFFF;
/*text-shadow: 3px 2px 0 #7A7A7A;
text-shadow: -1px -1px 1px rgba(255,255,255,.1), 1px 1px 1px rgba(0,0,0,.5);*/
text-shadow: 2px 2px 0px rgba(51,51,51,1), 
               2px -2px 0px rgba(51,51,51,1), 
			   -2px 2px 0px rgba(51,51,51,1), 
			   -2px -2px 0px rgba(51,51,51,1), 
			   2px 0px 0px rgba(51,51,51,1), 
			   0px 2px 0px rgba(51,51,51,1), 
			   -2px 0px 0px rgba(51,51,51,1), 
			   0px -2px 0px rgba(51,51,51,1);
}

.slider-caption p {
  display: none;
  font-size: 18px;
  -webkit-animation-delay: .5s;
	-moz-animation-delay: .5s;
	animation-delay: .5s;
}
.swiper-next, .swiper-prev {
  position: absolute;
  top: 50%;
  left: 0;
  cursor: pointer;
  z-index: 10;
  margin-top: -26px;
  background-color: rgba(0,0,0,0.15);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0 3px 3px 0;
  -webkit-transition: background-color .25s ease-in-out;
  -o-transition: background-color .25s ease-in-out;
  transition: background-color .25s ease-in-out;
}

.swiper-next {
  left: auto;
  right: 0;
  border-radius: 3px 0 0 3px;
}

.swiper-next:hover, .swiper-prev:hover {
  background-color: rgba(0,0,0,0.45);  
}

.swiper-next i, .swiper-prev i {
  line-height: 50px;
  width: 34px;
  height: 52px;
  color: #DDD;
  color: rgba(255,255,255,0.6);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
  font-size: 34px;
  text-align: center;
  margin-left: 7px;
  -webkit-transition: color .25s ease-in-out;
  -o-transition: color .25s ease-in-out;
  transition: color .25s ease-in-out;
}

.swiper-next:hover i, .swiper-prev:hover i {
  color: #F6F6F6;
  color: rgba(255,255,255,.95);
}

.swiper-next i {
  margin-left: 12px;
}

.btn-slider {
  display: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 2px;
  border: none;
  opacity: 1;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.4);
  background-color: #e6382f;
  color: white;
  -webkit-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
  -webkit-animation-delay: .7s;
	-moz-animation-delay: .7s;
	animation-delay: .7s;
}
.btn-slider:hover,
.btn-slider:focus {
  color: white;
  opacity: 0.4;
}
.btn-slider:active {
  box-shadow: inset 0 2px 0 rgba(0,0,0,0.4);
}

/* News
------------------------------------------------- */

.NewsSummary {
  margin-bottom: 30px;
}

.NewsSummaryLink h4 {
  font-size: 24px;
  line-height: 120%;
  font-weight: 600;
}

.NewsSummaryLink a {
  color: #333;
}

.NewsSummaryLink a:hover {
  text-decoration: none;
  color: #e6382f;
}

.NewsSummaryPostdate, .NewsSummaryCategory, .NewsSummaryAuthor,
.NewsPostDetailDate, .NewsPostDetailCategory, .NewsPostDetailAuthor {
  font-size: 14px;
  font-family: 'Crete Round', serif;
  color: #aaa;
  display: inline-block;
  margin-right: 14px;
}

.NewsSummarySummary p,
.NewsPostDetailSummary p {
  margin: 10px 0 15px 0;
}

.NewsSummaryMorelink a {
  font-weight: 600;
}

h3 + .NewsSummary {
  margin-top: 20px;
}

.NewsPostDetailSummary {
  font-weight: 600;
}

.NewsSummaryField, .NewsDetailField {
  margin-bottom: 30px;
}

/* Footer News */

.footer-big .NewsSummary {
  margin-bottom: 0;
}

.footer-big .NewsSummary + .NewsSummary {
  margin-top: 20px;
}

.footer-big .NewsSummary a {
  color: #aaa;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px dotted #666;
  line-height: 1.4;
}

.footer-big .NewsSummary a:hover {
  color: #eee;
  border-bottom: 1px dotted #eee;
}

.footer-big .NewsSummaryPostdate {
  color: #777;
  margin-top: 6px;
}

/*
 * jQuery Superfish Menu Plugin
 * Copyright (c) 2013 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 *  http://www.opensource.org/licenses/mit-license.php
 *  http://www.gnu.org/licenses/gpl.html
 ------------------------------------------------- */

/*** ESSENTIAL STYLES ***/

.sf-menu, .sf-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-menu li {
  position: relative;
}

.sf-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  width: 220px;
  background-color: #000;
  box-shadow: 0px 13px 42px 11px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #e6382f;
  height: auto;
  z-index: 199;
  margin: 0;
}

.sf-menu > li {
  float: left;
}
Š
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
  display: block;
}

.sf-menu a {
  display: block;
  position: relative;
}

.sf-menu ul ul {
  top: -4px !important;
  left: 100%;
}

/*** Menu link ***/

.sf-menu a {
  padding: 3px 15px;
  text-decoration: none;
  zoom: 1; /* IE7 */
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  text-shadow: none;
}

.sf-menu a.menuactive {
/* color: #e6382f !important;*/
color: #000;  
font-weight: bold;
}

.sf-menu a:hover,
.sf-menu .sfHover > a {
/* color: #e6382f !important;
color: #bf0b0b; */
color: #000; 

}

.sf-menu li li a:not([href]):not([tabindex]), 
.sf-menu li li li a:not([href]):not([tabindex]) {
  color: #000;
}

/*** first level ***/

.sf-menu > li > a {
  font-size: 14px;
  font-weight: bold;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 39px 16px;
  line-height: 22px;
/*  color: #444;*/
 color: #fff;
}


.header-smaller .sf-menu > li > a {
  padding: 19px 16px;
/*  color: #444;*/
color:#fff;
}

.header-smaller .sf-menu > li > a:hover {
/*  color: #e6382f;*/
color:#000;
}

.header-smaller.dark .sf-menu > li > a {
  color: #444;
}

/*** dark background ***/

.dark .sf-menu > li > a {
  color: blavwhite;
}

.dark .sf-menu > li > a:hover {
/* color: #e6382f;*/
/*color: #bf0b0b; */
color: #000;
}

.sf-menu ul li {
/*  background-color: rgba(255,255,255,.97);*/
background-color: rgba(101 90 90 / 97%);
}

.sf-menu ul li:first-child {
  border-top: none;
}

.sf-menu ul ul li {
  background-color: rgba(255,255,255,.97);
}

.sf-menu li:hover,
.sf-menu li.sfHover {
  /* only transition out, not in */
  -webkit-transition: none;
  transition: none;
}

.sf-menu li.sectionheader > a,
.sf-menu .sectionheader {
  cursor: default;  
}

.sf-menu li.separator hr {
  border-top: 1px solid #777;
}

/*** arrows (for all except IE7) **/

.sf-arrows .sf-with-ul {
  padding-right: 2.2em !important;
  *padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}

/* styling for both css and generated arrows */

.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  top: 50%;
  right: 1em;
  margin-top: -3px;
  width: 32px;
  font-size: 14px;
  display: inline-block;
  text-align: right;
  font: normal 14px/.5 FontAwesome;
}

/* styling for right-facing arrows */

.sf-arrows ul .sf-with-ul:after {
  content: "\f105" !important;
}

.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
  border-top-color: #333; /* IE8 fallback colour */
}

.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
  border-left-color: #333;
}

@media screen and (max-width: 1280px) {
  .sf-menu > li:last-child ul ul {
    left: -100%;
  }
}

/*** Mobile navigation ***/

section.mobile-navigation {	
  position: fixed;
  padding: 0;
  top: 70px;
  bottom: 0;
  overflow-y: auto;
  z-index: 10000;
  width: 100%;
  display: none;
}

.mobile-nav {
  display: block;
  list-style: none; 
  margin: 0;
  padding:10px 6px;
  background-color: #202020;
  width: 100%;
}

.mobile-nav li {
  margin: 0;
  padding: 0;
  float: none;
}

.mobile-nav li a {
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  padding: 7px 10px;
  display: block;
  color: #fff;
}

.mobile-nav li a.menuactive {
  color: #e6382f;
}

.mobile-nav li a:hover {
  text-decoration: none;
  background-color: #2c3e50;
}

.mobile-nav li a .sectionheader {
  color: #aaa;  
}

/* second level */

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav ul li a {
  padding-left: 30px;
}

/* third level */

.mobile-nav ul ul {
  list-style: none;
}

.mobile-nav ul ul li a {
  padding-left: 60px;
}

/*** Footer navigation ***/

.footerNav {
  list-style: none;
}

.footerNav a {
  color: #aaa;
  border: none;
}

.footerNav a:hover {
  color: #eee;
  border: none;
}

.footerNav .activeparent,
.footerNav .currentpage {
  color: white !important;
}

.footerNav .sectionheader {
  color: #808080;
}

.footerNav li .fa {
  margin-right: 10px;
}

.portfolio-gallery {
  border-bottom: 1px solid white;
}

.portfolio-gallery .img {
  position: relative;
  overflow: hidden;
}

.portfolio-gallery .img .image-overlay {
  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0);
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
	opacity:0;
  overflow:hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-gallery .img:hover .image-overlay {
		opacity:1;
		background-color: rgba(255,255,255,.6);
}

.portfolio-gallery .img img {
  width: 100%;
  -webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

.portfolio-gallery .img:hover img {
  -webkit-transform: translateY(-20px);
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -o-transform: translateY(-20px);
  transform: translateY(-20px);
}

.portfolio-gallery .img .image-overlay h4 {
  color: #333;
  background-color: white;
	position: absolute;
	bottom: -60px;
	left: 0px;
  right: 0px;
  min-height: 60px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: initial;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

.portfolio-gallery .img:hover .image-overlay h4 {
  bottom: 0;
}

.portfolio-gallery .img .image-overlay .overlay-icon {
  width: 50px;
  height: 50px;
  display:block;
  border-radius: 50%;
  opacity:0;
  background-color: white;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-gallery .img:hover .image-overlay .overlay-icon {
  opacity:0.85;
}

.portfolio-gallery .img .image-overlay .overlay-icon i {
  font-size: 20px;
  color:#e6382f;
  margin: 14px 0 0 16px;
}

.gallerynavigation, .pagenavigation {
  display: flex;
}

.pagenavigation div {
  margin-right: 10px;
  font-size: 16px;
}

.pagelinks {
  font-size: 16px;
}

.pagelinks > * {
  margin: 0 4px;
}

.parentlink {
  margin-right: 20px;
}

.footer-big .portfolio-gallery {
  border: none;
}

.footer-big .portfolio-gallery .img:hover img {
  -ms-transform: scale(1.1, 1.1); /* IE 9 */
  -webkit-transform: scale(1.1, 1.1); /* Safari */
  transform: scale(1.1, 1.1);
}

.footer-big .portfolio-gallery .img {
  margin-bottom: 30px;
}

.footer-big .portfolio-gallery .img .image-overlay .overlay-icon {
  width: 40px;
  height: 40px;
}

.footer-big .portfolio-gallery .img .image-overlay .overlay-icon i {
  margin: 10px 0 0 11px;
}

.footer-big .parentlink a {
  color: #e6382f;
}

.footer-big .img a,
.footer-big .img a:hover {
  border: none;
}

/*** Social icons footer ***/

.social-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

a.social-icon {
  width: 32px;
  height: 32px;
  border: none;
  color: #666;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

a.social-icon:hover {
  border: none;
  color: #eee;
}

a.social-icon:hover.facebook { background-color: #3B5998; }
a.social-icon:hover.twitter { background-color: #00ACEE; }
a.social-icon:hover.linkedin { background-color: #0E76A8; }

/*** Google map fix ***/

[id^="cggm_map_"] {
	width: 100% !important;
	margin: 0;
}

[id^="cggm_map_"] img {
	max-width: none;
}

/*** Form ***/

.form-group {
  margin: 1rem 0;
}

.form-group label {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*** Bootstrap overwrites ***/

.btn {
  border-radius: 0.125rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, opacity 0.15s ease-in-out;
}

.btn-primary, .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled):active {
  background-color: #e6382f;
  border-color: #e6382f;
}

.btn-primary:hover {
  opacity: 0.85;
}

.form-group .btn + .btn {
  margin-left: 8px;
}

/*** Mobile navigation trigger ***/

.mobile-nav-trigger {
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 70px;
  text-indent: -9999px;
  border-left: rgba(0,0,0,.1) solid 1px;
  overflow: hidden;
}

.mobile-nav-trigger span {
  position: relative;
  display: block;
}

.mobile-nav-trigger span:before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 20px;
  height: 3px;
  background: #000;
  box-shadow: 0 6px 0 0 #000, 0 12px 0 0 #000;
}

.mobile-nav-trigger.active {
  background-color: #6c757d;
  border-right: none;
  height: 70px;
}

.mobile-nav-trigger.active span:before {
  background: #fff;
  box-shadow: 0 6px 0 0 #fff, 0 12px 0 0 #fff;
}

.dark:not(.header-smaller) .mobile-nav-trigger {
  border-left: rgba(255,255,255,.25) solid 1px;
}

.dark:not(.header-smaller) .mobile-nav-trigger span:before {
  background: #fff;
  box-shadow: 0 6px 0 0 #fff, 0 12px 0 0 #fff;
}

/*** Media Queries
================================================== */

/* Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) { 
 /* code here */
}

/* Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) { 
  /* code here */
}

/* Large devices (desktops, 992px and up) */

@media (min-width: 992px) {
  header .container-fluid { 
    padding: 0 30px 0  30px; 
  }
  .search-wrapper {
    right: 0;
  }

  .search-trigger,
  header,
  .logo a img, 
  .search-input form,
  .mobile-nav-trigger {
    height: 100px;
  }

  .slider,
  .main-title {
    margin-top: 100px;
  }
  
  .slider-caption h2 {
    font-size: 62px;
  }
  
  .slider-caption p {
    font-size: 24px;
  }
  
  .search-trigger i {
    top: 41%;
  }
  section.content { 
    padding: 20px 0; 
  }
  .footer-big {
    padding: 20px 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* code here */
}

/* Retina CSS */

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

	.logo a.standard-logo { display: none; }

	.logo a.retina-logo { display: block; }
}
