/*---------------------------------------------------------------------------------

 Theme Name:   Satulacom
 Theme URI:    https://satulacom.wp2.codesense.fi/
 Description:  
 Author:       Telakka Graafinen suunnittelutoimisto
 Author URI:   https://www.krista.fi
 Template:     Divi

------------------------------ ADDITIONAL CSS HERE ------------------------------*/


#satula-akatemia .et-db #et-boc .et-l .et_pb_section {
	padding: 0px 0;
}
#satula-akatemia > .postsbycategory li:before {
	content: " \45";
	font-family: 'ETmodules';
	margin-right: 5px;
	position: relative;
}

#satula-akatemia > .widget_nav_menu li:before {
	content: " \45";
	font-family: 'ETmodules';
	margin-right: 5px;
	position: relative;
}

.lomakekuva img {
	display: flex;
	width: 70px;
	height:70px;
	padding: 0 10px 0 10px;
}

/*blog image aspect ratio landscape 16:9*/

.pa-blog-image-16-9 .entry-featured-image-url {
  padding-top: 56.25%;
  display: block;
}

.pa-blog-image-16-9 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/*------------------------------------------------------------
KOLUMNIT TUOTEMERKIT
------------------------------------------------------------*/
@media only screen and (max-width: 980px) {
    .three-columns .et_pb_column {
    width: 33%!important;
}
}

@media only screen and (max-width: 980px) {
    .two-columns .et_pb_column {
    width: 33%!important;
}
}
@media only screen and (min-width: 981px) {
.three-columns .et_pb_column {
    width: 25%!important;
}
}

@media only screen and (max-width: 980px) {
    .two-columns-footer .et_pb_column {
    width: 33%!important;
}    
}
@media only screen and (max-width: 640px) {
    .two-columns-footer .et_pb_column {
    width: 50%!important;
}    
}

.container.et_menu_container { 
     width: calc( 100% - 60px);
}

/*---sirretyt teeman editorista---*/
/*sivuvalikko-toimipaikka-tiedot*/
.sivuvalikko-toimipaikka a {
	font-weight: 800;
}
.sivuvalikko-toimipaikka li a {
	font-weight: 500;
}

/*links-navigation-bold-bgr*/
.et_mobile_menu .link-top-bold> a {
	background-color: rgba(0,0,0,.03);
	font-weight: 700;
}
.et_mobile_menu .link-top-regular > a {
	font-weight: 600;
}
.et_mobile_menu .link-top-regular a:hover, .nav ul li a:hover {
	opacity: .7;
	background-color: rgba(0,0,0,.03);
}
/*toimipisteiden palvelu-listaus*/
.palvelulistaus li {
	padding:5px;
	margin-bottom:3px;
	margin-top:3px;
	border-bottom: solid 1px gray;
list-style-type:none;
}

.palvelulistaus li::before {
	font-family: 'ETmodules';
    content: "\4e";
    vertical-align: center;
    font-size: 18px;
    float: left;
	margin-left:-35px;
}


/*CF7 - modifioinnit*/
.wpcf7-form-control.wpcf7-submit {
	font-size: 14px;
	background-color: #333;
	color: white;
	border: solid 5px;
	border-color: #333;
	width: auto;
	margin-bottom:10px;
  margin-top:10px;
cursor: pointer;
	padding: 15px 20px;
}

#reveal input[type="checkbox"] {
  transform: scale(1.5);
  margin-right: 10px;
}
#reveal select {
  height: 40px;
		width:100%;

}
#reveal .lev50 select {
	width:50%;
max-width:50%;
float: left;
margin-right:8px;}

.wpcf7-form-control.wpcf7-text input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea 
{
	padding: 12px;
	border: 1px solid #bbb;
	color: #4e4e4e;
	background-color: #fff;
	font-size: 13px;
	border-radius: 4px;
	text-transform: uppercase;
	width:100%;
}


/*satula-auto ajo-aikataulu*/
.et-ic a:before {
    font-family: 'ETmodules';
    content: "\e06e";
    margin-right: 10px;
    margin-top: -2px;
    font-size: 18px;
    float: left;
}


/*et icons in topmenu*/
.et-ic a:before {
    content: "\e06e";
    margin-right: 10px;
    margin-top: -2px;
    font-size: 18px;
    float: left;
}

.et-ic2 a:before {
	font-family: 'ETmodules';
    content: "\e07a";
    margin-right: 10px;
    margin-top: -2px;
    font-size: 18px;
    float: left;
}

 
.menu-home a:hover {
    color: #8dc63f!important;
}


/*footer navi*/
#et-footer-nav .container {
	text-align: center;
}

/*Yhteydenottolomake kolumni-tyylit*/
.one-half,
.one-third, .one-full {
    position: relative;
    margin-right: 4%;
    float: left;
        margin-bottom: 20px;
 
}
.one-full { width: 100%; }
.one-half { width: 48%; }
.one-third { width: 30.66%; }
 
.last {
    margin-right: 0 !important;
    clear: right;
}
 
@media only screen and (max-width: 767px) {
    .one-half, .one-third, .one-full {
        width: 100%;
        margin-right: 0;
    }
}



/*HIDE RECAPTCHA*/
.grecaptcha-badge {
        display: none !important;
    }

.et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post {
    width: 100%;
    padding: 20px 20px 10px 20px;
    margin: 5px 0 5px 0;
}
  .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-featured-image-url {
    width: 30%;
    float: left; }
  .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-title,
  .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .post-meta,
  .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .post-content {
    width: 65%;
    float: right; }
  @media all and (max-width: 479px) {
    .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-featured-image-url,
    .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .entry-title,
    .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .post-meta,
    .et_pb_module.image-on-the-left .et_pb_ajax_pagination_container article.et_pb_post .post-content {
      width: 100%;
      float: none; } }

.satulat iframe {
    display:block;
    width:100%;
    height:100vh;
}



/*----------Custom Divi Gallery
 
.et_overlay {
    display: none;
}
 
.mfp-title {
    display: none;
}
 
.et_pb_gallery_grid .et_pb_gallery_item img {
    transform: scale(1.03);
    transition: transform 0.5s, opacity 0.5s;
}
 
.et_pb_gallery_grid .et_pb_gallery_item img:hover {
    transform: scale(1.15);
    opacity: 1;
}
 
.et_pb_gallery_grid .et_pb_gallery_item {
    width: 48%!important;
    clear: right!important;
padding:1px;
}
*/

@media only screen and (max-width: 479px) {
.onko-logo-maarite .et_pb_column .et_pb_grid_item:nth-child(n) {
    width: 33%!important;
}
}


.autoaikataulu li {
border-bottom: 1px solid #333;
padding: 5px 0 5px 0;
}

.autoaikataulu li:before {
      font-family: ETmodules;
	content:  "\52"; /* FontAwesome Unicode */
display: inline-block;
  margin-left: -2em; /* same as padding-left set on li */
  margin-right: 8px;
	width: 1.3em; /* same as padding-left set on li */
}

.entry-content tr td, body.et-pb-preview #main-content .container tr td .toimipiste-table {
	padding: 6px 18px;
	border-top: 1px solid #eee;
}

/* satula-akatemia vimpain ulkoasu */
ul.postsbycategory { 
}
.postsbycategory li { 
padding-bottom:5px;
}
.postsbycategory img { 
margin-right:5px
}


