/*
 Theme Name:   Koulutusalusta child
 Theme URI:    https://jj-net.site
 Description:  JJ-Net Theme child theme
 Author:       JJ-Net Group Oy
 Author URI:   http://example.com
 Template:     jj-net-theme
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  jjnet
*/

body { font-family: "Open Sans", sans-serif; color: #353C4B; }
h1,h2,h3,h4,h5,h6 { font-family: "Open Sans"; font-weight:700; color: #353C4B;}
h3 {font-size: 1.5rem;}

img {max-width: 100%; height: auto;}

.btn-custom { display:inline-block; padding: 17px 37px; border:0; background-color: #2A70C6; color: #fff; border: 1px solid #2A70C6;}
.btn-custom:hover,.btn-custom:focus,.btn-custom:active { text-decoration:none; background-color: #fff; color: #2A70C6; }

.navigation-container { background-color:#2a70c6 !important;}
.navigation-container .container {display: flex; justify-content: flex-start;}
.navbar-brand {width: 150px;}
.navigation-container nav#quadmenu {width: calc(100% - 150px);}

.banner-container .carousel-caption {left: 20%; right: 50%; text-align: left; bottom: 50%; transform: translateY(50%);}
.banner-container .carousel-caption a {display: inline-block; padding: 10px 15px; background: #52B49B; color: #fff;}
.carousel-caption h1, .carousel-caption h2 {color: #fff;}

.content {padding: 60px 0; z-index: 1; position: relative;}
.white-bg {background-color: #fff;}
.gray-bg {background-color: #F4F7FC;}
.light-blue-bg {background-color: #E7EEFA;}
.dark-blue-bg { color: #fff; background-color: #3B495A;}
.dark-blue-bg h2, .dark-blue-bg h3 {color: #fff;}

.col-icon_links > ul {justify-content: center;}
.col-icon_links a {display: inline-block; max-width: 150px; margin: 15px;}

.button-group {text-align: center;}
.button-group a { display:inline-block; padding: 17px 37px; border:0; background-color: #2A70C6; color: #fff; border: 1px solid #2A70C6;}
.button-group a:hover,.button-group a:focus,.button-group a:active { text-decoration:none; background-color: #fff; color: #2A70C6; }

.content-highlights-desc {margin-bottom: 50px;}
.col-content_highlights .content-highlight-container.row {display: flex;}
.col-content_highlights .content-highlight-container {box-shadow: none !important; margin-bottom: 50px;}
.col-content_highlights .content-highlight-inner {padding: 15px !important; text-align: left !important;}
.content-highlight-image img {box-shadow: 0 0 20px #888;}

.content-carousel-description {margin-bottom: 50px;}
/*.content-carousel-container .owl-carousel {display: block;}
.content-carousel-container .owl-carousel-item {display: none;}
.content-carousel-container .owl-carousel-item.activeslide {display: block;}*/
.content-carousel-container .owl-carousel-item .carousel-item-inner {position: absolute; top: 10%; bottom: 10%; right: 10%; left: 50%; background: #2A70C6; color: #fff; padding: 30px;}
.content-carousel-container .owl-carousel-item .carousel-item-inner .carousel-item-title h2 {color: #fff;}
.content-carousel-container .owl-carousel-item .carousel-item-inner .carousel-item-content {color: #fff;}
.col-content_carousel .content-carousel-container > .owl-carousel-arrow-left {left: -15px !important;}
.col-content_carousel .content-carousel-container > .owl-carousel-arrow-right {right: -15px !important;}
.col-content_carousel .content-carousel-container > .owl-carousel-arrow {width: 55px; height: 55px; padding-bottom: 5px; text-align: center; background: #52B49B; border-radius: 50%; top: 55% !important;}

.content-carousel-container .owl-carousel-item .carousel-item-inner .btn-custom { display:inline-block; padding: 17px 37px; border:0; background-color: #fff; color: #353C4B; border: 1px solid #fff;}
.content-carousel-container .owl-carousel-item .carousel-item-inner .btn-custom:hover,.btn-custom:focus,.btn-custom:active { text-decoration:none; background-color: #353C4B; color: #fff; border: 1px solid #353C4B;}

.footer-container {background: #2a70c6 !important; color: #fff !important;}
.footer-container a {color: #fff;}
.footer-container h2, .footer-container h3 {color: #fff;}
.bottombar-container {background: #2a70c6; color: #fff;}

.footer-logo img {height: 80px; margin-bottom: 15px;}

.w-db-cut { height: 90px; background-image: linear-gradient(to bottom right, #fff, #fff 49%, #3B495A 50%, #3B495A); }
.db-lb-cut { height: 90px; background-image: linear-gradient(to bottom right, #3B495A, #3B495A 49%, #E7EEFA 50%, #E7EEFA); }

@media (max-width: 1199px) {
	.content-carousel-container .owl-carousel-item .carousel-item-inner {left: 35%;}
	.banner-container .carousel-caption {right: 30%; text-shadow: 0 0 10px #333;}
}

@media (max-width: 991px) {
	.content-carousel-container .owl-carousel-item .carousel-item-inner {left: 13px; right: 13px; top: 0; bottom: 0; background: rgba(42,112,198,0.7); padding: 30px 40px;}
	.banner-container .carousel-caption {right: 15%; left: 15%;}
}

@media (max-width: 767px) {
	.content-carousel-container .owl-carousel-item .carousel-item-inner { padding: 10px 40px;}
	.content-carousel-container .owl-carousel-item .carousel-item-inner h2 {font-size: 1.3rem;}
	.col-content_carousel .owl-carousel-item .content-carousel-image {padding-bottom: 65% !important;}
	.banner-container .carousel-caption {left: 7%; right: 7%;}
	.carousel-caption h1, .carousel-caption h2 {font-size: 2rem;}
}