@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300);

html,
body                    { overflow-x: hidden; }
body 					{ font: normal 400 18px 'Open Sans', sans-serif;  color: #32322f; background-color: #f3f3f3; }

img 					{ max-width: 100%;  }

a, .link				{ color: #49b4d1; cursor: pointer; }
a:hover, .link:hover	{ color: #059ac2; }
a, .a, .feature *       { -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; -ms-transition: all 0.2s ease; -o-transition: all 0.2s ease; }


h1, h2, h3				{ display: inline-block; }
h1, h2, .navbar-brand	{ font-family: 'Lato', sans-serif; font-weight: 700; text-transform: uppercase; }
.jumbotron h1			{ font-size: 70px; font-weight: 300; margin-top: 30px; width: 100%; background-color: #fff; }
.jumbotron h1 .large    { font-size: 160px; line-height: 150px; font-weight: 600; color: #fff; background-color: #259faa; width: 100%; display: block; padding: 0 0 5px; }
.jumbotron h1 small     {  color: #259faa; padding-right: 20px; padding-left: 20px; }
.jumbotron h1, .navbar-brand, .continue { color: #259faa; }
h3, #articles h3        { color: #49b4d1; }
h2						{ font-size: 45px; line-height: 58px; }
h3,
#articles h3			{ font-family: 'Lato', sans-serif; font-weight: 700; font-size: 24px; }
h1 small, h2 small, h3 small { font-size: 28px; font-family: Georgia, sans-serif; text-transform: none; font-style: italic; color: #32322f; display: block; line-height: 1.3em; padding-top: 20px; margin-top: 20px; }
h2 small, h3 small 		{ border-top: 1px solid; }
h4                      { font-size: 24px; font-weight: 600; line-height: 1em; color: #059ac2; margin: 20px 0; }

p.georgia, .georgia     { font: normal 400 14px Georgia, serif; text-transform: uppercase; }

.vertical-center 		{ display: flex; align-items: center; }

ul li 	 				{ border-bottom: 1px solid; padding: 10px 0; }
ul li i 				{ margin-right: 20px; }

.btn                    { display: inline-block; padding: 15px 70px; font-size: 16px; font-weight: 600; line-height: 1em; text-transform: uppercase; border-radius: 0; }
.btn.btn-outlined       { background: transparent; border: solid 2px #333; color: #333 !important; }
.btn.btn-outlined:hover { border-color: #88b927; background: #88b927; color: #fff !important; }


/* sections */

.navbar					{ margin-bottom: 0; min-height: 40px; max-height: 40px; background-color: white; overflow: hidden; border-bottom: solid 1px #e5e5e5; }
.navbar-header          { width: 100%; line-height: 30px; }
.navbar-brand 			{ font-size: 24px; height: 40px; padding: 8px 15px; text-shadow: none; }
.navbar-brand-link		{ font-size: 20px; height: 40px; padding: 5px 15px 9px; text-shadow: none; float: right; margin-right: -15px; }
.navbar-title           { font-size: 15px; text-transform: uppercase; padding: 5px 0 0; }
.navbar.footer          { border: solid 1px #e5e5e5; border-width: 1px 0; }
.navbar.footer .navbar-brand { padding-top: 10px; }

.jumbotron              { background: white; margin-bottom: 0; text-align: center; padding-top: 45px; padding-bottom: 90px; position: relative; }
.jumbotron .container	{ position: relative; }
#share-aivot            { position: absolute; top: -40px; right: 10px; }
#share-aivot *,
#share-article *        { border: 0; }

.row.no-margin          { margin-right: 0; margin-left: 0; }

.feature.light *		{ color: #4c4c4c; border-color: #4c4c4c; }
.feature.dark *			{ color: #cccccc; border-color: #cccccc; }
.feature.darker * 		{ color: white; border-color: white; }

/* feature-artikkelilaatikot*/

.feature				{ padding: 0; min-height: 600px; height: 600px; background-color: #1b1b1b; background-position: 50% 50%; background-size: cover; background-repeat: no-repeat; font-size: 20px; }
.feature:not(.feature-full) { display: table; }
.feature .inner			{ padding: 0 100px; display: table-cell; vertical-align: middle; }
.feature .inner p       { margin: 0 0 20px; }
.feature-full .inner    { padding-left: 0 !important; padding-right: 0 !important; }
.feature-full a:hover   { color: #222; }

.feature.dark .btn-outlined { border-color: #fff; color: #fff !important; }
.feature.light .btn-outlined { border-color: #333; }
.feature.dark .btn-outlined:hover { border-color: #fff; background-color: #fff; color: #333 !important; }
.feature.light .btn-outlined:hover { border-color: #333; background-color: #333; color: #fff !important; }

#feature-peli			{ background-image: url(../img/aivot-feature-peli.jpg); }
#feature-varitesti		{ background-image: url(../img/aivot-feature-varitesti.jpg); }
#feature-musiikki		{ background-image: url(../img/aivot-feature-musiikki.jpg); }

/* story feature artikkelit */

.story-feature			{ border-radius: 10px; margin: 90px 0 30px; }
.story-feature .story-feature-image 	{ height: auto; min-height: 450px; background: url(../img/aivot-feature-juha.jpg) no-repeat scroll 50% 50% / cover; border-radius: 10px 0 0 10px; }
.story-feature .story-feature-text 		{ height: auto; min-height: 450px; background-color: white; border-radius: 0 10px 10px 0; }
.story-feature .story-feature-text h3 	{ margin: 10px 0; }
.story-feature .story-feature-text h3.story-feature-title { font-size: 30px; }
.story-feature .story-feature-text a 	{ display: block; }

/* artikkelikorttigrid */

@media screen and (min-width: 1px) and (max-width: 599px){
    #columns[data-columns]::before {
        content: '1 .col-xs-12';
    }
}
@media screen and (min-width: 600px) and (max-width: 767px){
    #columns[data-columns]::before {
        content: '2 .col-xs-6';
    }
}
@media screen and (min-width:768px) and (max-width: 9999px){
    #columns[data-columns]::before {
        content: '3 .col-sm-4';
    }
}

/* Video embeds */

.embed                  { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } 
.embed iframe, 
.embed object, 
.embed embed            { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* footer */

body > footer				{ background-color: #ececec; color: #4c4c4c; margin-top: 90px; padding: 40px 0 80px; border-top: solid 1px #ccc; }
body > footer h2            { color: #999; }
body > footer .credits      { margin-top: 40px; line-height: 1.5em; }

/* Comments section */

#comments               { background-color: #fff; }
#comments h4            { margin-bottom: 0; }
#comments .small        { font-size: 14px; color: #ccc; }

/* Responsivity */

@media only screen and (min-width: 768px ) {

.jumbotron 							{ }

}


@media screen and (max-width: 1199px){

.jumbotron h1                       { font-size: 90px; }
.feature .inner 					{ padding: 60px; }

}

@media screen and (max-width: 991px){

.jumbotron                          { padding-left: 0; padding-right: 0; background-position-y: -80px; }
.jumbotron h1                       { font-size: 70px; font-weight: 300; margin-top: 48px; }
.jumbotron h1 .large                { font-size: 130px; line-height: 120px; }
.feature .inner 					{ padding: 40px; }
.story-feature .story-feature-image { border-radius: 10px 10px 0 0; }
.story-feature .story-feature-text 	{ border-radius: 0 0 10px 10px; min-height: 0; }

}


@media only screen and (max-width: 767px ) {

.navbar-title                       { display: none; }
.jumbotron                          { padding-bottom: 70px; }
.jumbotron h1						{ font-size: 60px; }	
h1 small, h2 small, h3 small 		{ font-size: 24px; }
h1 br, h2 br 						{ display: none; }
#comments > .container > h4         { margin: 20px 0 10px; }

}


@media only screen and (max-width: 599px ) {

.jumbotron                          { padding-top: 50px; background-position-y: -105px; }
.jumbotron img                      { width: 435px; }
.jumbotron h1                       { font-size: 50px; margin-top: 52px; }    
.jumbotron h1 .large                { font-size: 100px; line-height: 100px; }
.feature .inner						{ padding: 40px 0; }
h2                                  { font-size: 36px; line-height: 48px; }

}


@media only screen and (max-width: 479px ) {

.navbar-brand-link        			{ display: none; }
.jumbotron                          { padding-top: 50px; padding-bottom: 50px; background-position-y: -105px; }
.jumbotron img                      { width: 250px; }
.jumbotron h1                       { font-size: 40px; margin-top: 40px; }    
.jumbotron h1 .large                { font-size: 70px; line-height: 70px; }
h2                                  { font-size: 30px; line-height: 40px; }

.feature                            { min-height: inherit; height: auto; }
.feature .inner                     { padding: 60px 0; }

}





