/* == global */
body {
	font-weight: 400; font-size: 14px; line-height: 20px; min-width: 320px;
	font-family: 'Montserrat', sans-serif; color: #23242d; background-color: #FFF;
}
p, ul, ol, pre, table, blockquote { margin-top: 10px; margin-bottom: 10px; }
p:first-child, ul:first-child { margin-top:0; }
ul ul, ol ol, ul ol, ol ul { margin-top: 0; margin-bottom: 0; }
ul.unlist { list-style-type: none; padding-left:0; margin-bottom:0; }
a { color: #ea3137; }
a:hover, a:focus { color: #ea3137; }
div.ccm-page img { max-width: 100%; height: auto; }
div.ccm-page .image-circle { border-radius: 50%; }
.inline-block { display: inline-block !important; }

h1,h2,h3,h4 { font-family: 'Raleway', sans-serif; } /*'Source Serif Pro'*/
h1 { font-size: 24px; font-weight: 400; color: #005696; }
h2 { font-size: 37px; font-weight: 400; text-transform: none; }
h3 { font-size: 22px; }
h4 { font-size: 16px; }
@media (min-width: 768px) {
	body { font-size: 16px; line-height: 26px; }
	h1 { font-size: 44px; line-height: 50px; }
	h2 { font-size: 37px; }
	h3 { font-size: 28px; }
	h4 { font-size: 22px; }
}

/* == Forms & Buttons */
.btn, input[type=submit] {
    background: #ea3137; color: #fff; padding: 6px 12px; font-size: 1em; line-height: inherit; border: none; border-radius: 0;
    display: inline-block; font-weight: 400; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer;
}
.btn:hover, .btn:focus, .btn.focus, input[type=submit]:hover, input[type=submit]:focus { background: #ea3137; color: #fff; }
.btn.btn-lg { padding: 10px 16px; }
.input-group-btn .btn { border: none; }
.input-group-lg>.form-control, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.btn { height: 52px; line-height: 32px; }
.form-control { border-color: rgba(0, 0, 0, .1); box-shadow: none; }
.form-control, .input-group-lg>.form-control, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.btn { border-radius: 0; }
.input-group-lg>.form-control, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.btn { padding: 10px 20px; }
.c5wrapper input[type=text], .c5wrapper input[type=email], .c5wrapper input[type=tel], .c5wrapper input[type=number],
.c5wrapper input[type=password], .c5wrapper input[type=url], .c5wrapper select {
    box-shadow: none; border-radius: 0; display: block; width: 100%; height: 38px; padding: 5px 12px; font-size: 14px; line-height: 1.42857143;
    color: #555; background-color: #fff; background-image: none; border: 1px solid rgba(0, 0, 0, .1);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=number]:focus, input[type=password]:focus,
input[type=url]:focus, textarea:focus, .form-control:focus { box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .15); border-color: #ccc; outline: none; }
input[type=number] { padding: 0; }
textarea {
	display: block; width: 100%; height: auto; font-size: 14px; line-height: 1.42857143; color: #555; background-color: #fff;
	background-image: none; border: 1px solid rgba(0, 0, 0, .1); padding: 5px 12px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.select2-container .select2-choice { border: 1px solid rgba(0, 0, 0, .1); }
label { font-weight: 700; }


/* == header */
.site-header { position: relative; z-index: 10; background-color: #FFF; color: #888; border-bottom: 1px solid #eee; }
.scrolled .site-header { position: fixed; width: 100%; top: -40px; }
.scrolled .site-content { margin-top:110px; }
.scrolled.user-logged-in .site-header { top: 8px; }
.edit-mode .site-header { z-index: 899; }
.site-name a { color: #ea3137; text-decoration: none; /*display: flex;*/ display: block; position:relative; padding: 5px 0 10px; }
.site-name .title { color: #005696; font-size: 35px; line-height: 23px; font-weight: 400; margin: 8px 0 2px 0; }
.site-name .subtitle { font-size: 10px; line-height: 14px; margin: 0; color: #888; }
.site-name img { max-height: 70px; /*margin:0 10px 0 0;*/ }
.site-name .logotxt { /*padding: 6px 0;*/ position:absolute; left: 43px; bottom: 3px; }
.navbar-brand { padding:0; margin:0; flex-grow: 1; }

/* == Primary Nav */
.primary-nav, .primary-nav a { color: #888; text-decoration: none; }
.primary-nav .navbar { border: none; margin: 0px; padding: 0px; background: transparent; }
.primary-nav .navbar .navbar-nav { margin-bottom: 10px; }
.primary-nav .navbar .navbar-nav>li>a, .primary-nav .navbar .navbar-nav>.open>a {
    line-height: 20px; font-size: 14px; font-weight: 300; background-color: transparent;
}
.dropdown-menu { box-shadow: 0 3px 6px rgba(0, 0, 0, .1); padding: 0; border-radius: 0; font-size: 16px; }
.dropdown-menu>li>a { padding: 8px 20px; }
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover, .dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    background: transparent; color: inherit;
}
.primary-nav .navbar .navbar-nav>.active>a, .primary-nav .navbar .navbar-nav>.active>a:focus, .primary-nav .navbar .navbar-nav>.active>a:hover {
    color: #ea3137; background: transparent;
}
.navbar-toggler { padding: 5px 0; color: #005696; }
@media (min-width: 768px) and (max-width: 1024px) {
	.site-header>.primary-nav .navbar { display:block; }
	.primary-nav .navbar .navbar-nav { margin-left:-15px !important; flex-grow: 1; margin-top: -5px; }
}
@media (min-width: 768px) {
	.primary-nav .navbar .navbar-nav { margin-bottom:0; }
	.primary-nav .navbar .navbar-nav>li>a:hover { color: #005696; }
    .primary-nav .navbar .navbar-nav>li>a {  padding: 0 15px; }
    .primary-nav .navbar .navbar-nav>li>a, .primary-nav .navbar .navbar-nav>.open>a { line-height: 40px; }
}

/* == Secondary Nav */
.top-nav { font-size: 13px; background-color: #005696; color: #FFF; min-height: 38px; line-height: 38px; }
.top-nav a { color: #FFF; font-weight: 300; display: inline-block; padding: 0 8px; }
.top-nav a:hover, .top-nav a:focus { background: #FFF; color: #005696; text-decoration: none; }
.top-nav p, .top-nav h1, .top-nav h2, .top-nav h3, .top-nav h4, .top-nav h5, .top-nav h6 { margin-top: 0; margin-bottom: 0; }
.top-nav .btn, .top-nav input[type=submit] { line-height: 26px; vertical-align: top; }
.top-nav div.ccm-block-switch-language-flags { display:inline; }
.top-nav div.ccm-block-switch-language-flags-label { display:none; }
.top-nav div.ccm-block-switch-language-flags a { margin:0; padding:0 5px; float:none; opacity:1; }
.top-nav div.ccm-block-switch-language-flags a.ccm-block-switch-language-active-flag { display:none; }
.top-nav .nav { display: inline; }
.top-nav .nav>li { display: inline-block; }
.top-nav .nav>li>a { text-decoration: none; }
.top-nav .nav>li>a:focus, .top-nav .nav>li>a:hover, .top-nav .nav .open>a, .top-nav .nav .open>a:focus, .top-nav .nav .open>a:hover {}

/* == Slider */
.slider { height:50vh; }
.slider .image { background-position:center 25%; background-size: cover; height:100%; }
.slider .caption {  }

/* == Content */
#content { /*background: #f7f7f7;*/ }
.ccm-image-slider-title { color: inherit; }
.page-header-container > h1 { padding-top: 20px; }
.page-footer-container { padding-top: 26px; }
.main-container { padding-top: 20px; padding-bottom: 20px; }
@media (min-width: 768px) {
   .main-container { padding-top: 40px; padding-bottom:40px; }
}

/* == Sidebar content */
.bordered { border: 10px solid #f7f7f7; padding:30px; }
.aside { font-size: 14px; font-weight: 300; }
.aside h2, .aside h3, .aside h4 { margin-top:10px; margin-bottom:10px; }
.aside h2:first-child, .aside h3:first-child, .aside h4:first-child, .aside p:first-child { margin-top:0; }

/* == Footer */
.site-footer { background: #005696;/* #1d1f27;*/ color: #FFF; padding: 40px 0; font-size: 13px; line-height: 20px; }
.site-footer a { color:#FFF; text-decoration: underline; }
.site-footer a.btn { text-decoration: none; }
.site-footer .nav { display:block;  }
.site-footer .nav>li>a { color: #FFF; line-height: 27px; }
.site-footer a:hover, .site-footer .nav>li>a:focus, .site-footer .nav>li>a:hover { background:none; color: #ea3137; text-decoration: none; }
.site-footer a.btn:hover { background: #ea3137; color: #fff; }
.site-footer .col-sm-3 { padding-top: 13px; padding-bottom: 13px; }
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6,
.site-footer p, .site-footer ul, .site-footer ol, .site-footer pre, .site-footer table, .site-footer blockquote {
    margin-top: 13px; margin-bottom: 13px;
}
.site-footer h3:after { content: ' '; clear: both; width: 30px; display: block; height: 2px; margin: 10px 0 0; background-color: #ea3137; }
.bottom-footer { background:#2f3038; color:#FFF; font-size:11px; padding: 15px 0; }
.bottom-footer a { color: #FFF; }
.bottom-footer a:hover { color: #ea3137; text-decoration: none; }
.bottom-footer .nav { display: inline; }
.bottom-footer .nav li { display: inline-block; padding: 0 8px; }
@media (min-width: 768px) {
	.site-footer { padding: 80px 0 40px 0; }
}

/* specific footer styling */
.site-footer .googleMapCanvas { height: auto!important; display: block; width: 100%; padding: 0; overflow: hidden; }
.site-footer .googleMapCanvas:before { content: ''; display: block; padding-top: 100%; }
.site-footer .ccm-block-social-links .fa { font-size:20px; width: 40px; text-align: center; height: 40px; line-height: 40px; border: 1px solid #FFF; }

/* == Pagination */
.pagination>li>a, .pagination>li>span { color: inherit; font-weight: 400; }
.pagination-lg>li:first-child>a, .pagination-lg>li:first-child>span, .pagination-lg>li:last-child>a, .pagination-lg>li:last-child>span {
    border-radius: 0;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus,.pagination>li>span:hover {
	background-color: #f9f9f9; border-color: rgba(0, 0, 0, .1);
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span,
.pagination>.active>span:focus, .pagination>.active>span:hover { background-color: #ccc; border-color: #ccc; }

/* Search Block */
.site-header>.primary-nav>.container { position:relative; }
.site-header>.primary-nav .navbar { position:relative; z-index: 2; background:#FFF; }
.site-header .searchform {
	position: absolute; padding: 0 15px 10px 15px; left:0; width:100%; bottom: 0; background: none;
	border-bottom: 1px solid #EEE; transition: bottom .3s ease-out;
}
.site-header .searchform.active { bottom: -49px; }
.site-header .ccm-search-block-form { position: relative; display: flex; width: 100%; }
.site-header .ccm-search-block-submit { float: right; }
.c5wrapper .ccm-search-block-form .ccm-search-block-text, .c5wrapper .site-header .ccm-search-block-form .ccm-search-block-text:focus {
    border: 1px solid #ededed; line-height: 26px; width: auto; vertical-align: top; display: inline-block;
}
.c5wrapper .site-header .ccm-search-block-form .ccm-search-block-text,
.c5wrapper .site-header .ccm-search-block-form .ccm-search-block-text:focus {
    padding: 10px 10px 10px 35px; box-shadow: none; min-width: 190px; height: 38px; margin: 0; flex-grow: 1;
}
.site-header .ccm-search-block-form:before {
    content: "\f002"; font-family: FontAwesome; font-weight: 400; font-style: normal; display: inline-block; position: absolute;
    left: 14px; line-height: 38px; text-decoration: inherit; color: #cbcbcb;
}
.navbar-collapse .search-btn { display:none; }
.navbar>.search-btn { display: inline-block; padding: 3px; color: #005696;  }
@media (min-width: 768px) {
	.site-header .searchform { right: 1px; left:auto; width:auto; z-index: 1; padding: 15px; }
	.site-header .searchform.active { bottom: -67px; }
	.navbar-collapse .search-btn { display:inline-block; color: #005696; padding-left: 5px; padding-right:2px; }
	.navbar>.search-btn { display:none; }
}

/* == Auto Nav Block - Breadcrumbs */
.breadcrumb { background: none; border-radius: none; padding: 0; }
.breadcrumb>.active { color: inherit; }
.site-header .breadcrumb { margin: 0; }

/* == Breadcurmb Trail Block */
.top-nav .breadcrumb-trail strong { font-weight: 400; }

/* = home */
.blue-container {
	background: #eef9fd; margin-top: 30px; padding: 50px 0; border-top: 3px solid #d4d4d4; margin-bottom: 30px; border-bottom: 3px solid #d4d4d4;
}
.blue-container .image img { max-width: 320px; width: 100%; }
.blue-container h1 { font-size: 51px; margin-bottom: 5px; }
.blue-container h2 { font-size: 26px; line-height: 28px; margin-bottom: 5px; }
.blue-container p { margin-bottom:15px; line-height: 24px; }
.blue-container .aside h2 { font-size: 26px; }
.blue-container .aside h3 { font-size:16px; margin-top: 3px; }
.blue-container .aside p { line-height: 19px; font-size: 13px; }

/* = news op home */
.card-embed  { background-position: 50% 50%; background-size: cover; }
.news { margin: 60px auto; }
.news h2 { margin-bottom: 15px; }
.news .more-news { margin-top:5px; }
.news .post { border:none; color: #444;  font-size:13px; line-height:22px; }
.news .card-img-top { border-radius:0; }
.news .card-img-top img { opacity:1; transition:opacity .3s ease-out; }
.news .card-img-top:hover img { opacity:.6; }
.news .card-body { position:relative; padding-top: 40px; border:none; background-color: rgba(0, 0, 0, 0.03); }
.news .postIcon { position:absolute; top: -20px; background: #005696; width: 40px; text-align: center; border-radius: 50%; line-height: 40px; left: 20px; }
.news .postIcon a { color:#FFF; }
.news .card-title { font-size: 25px; margin-bottom: 5px; color: #000; }
.news .card-title:hover { text-decoration: none; }
.news .card-text { margin-top: 0; margin-bottom: 1em; }
.news .card-link {  }
.news .card-footer {  border: none; border-radius:0; color: #888; }
.news .card-footer a {  color: #888; }
@media (min-width: 576px) {
	.news .post { flex: auto; }
}
@media (min-width: 768px) {
	.news .post { flex: 1 0 0%; }
}

/* sidebar news */
.sidebar-news .news-item { position:relative; border-radius: 0; margin-bottom: 10px; }
.sidebar-news a { display: block; }
.sidebar-news a:hover { text-decoration: none; }
.sidebar-news .card-body {
	display: flex; align-items: center; position: absolute; top: 0; bottom: 0; left: 0; right: 0;
	background: rgba(255, 255, 255, 0.81); transition: background .3s ease-out;
}
.sidebar-news .card-inner { }
.sidebar-news .card-title { color: #005696; }
@media (min-width: 768px) {
	.sidebar-news .news-item:hover .card-body { background:#FFF; }
}
