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

 Theme Name:   Sadelmagasinet
 Theme URI:    https://sadelmagasinet.wp1.codesense.fi/
 Description:  
 Author:       Telakka Graafinen suunnittelutoimisto
 Author URI:   https://www.krista.fi
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

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

.lomakekuva img {
	display: flex;
	width: 70px;
	height:70px;
	padding: 0 10px 0 10px;
}
@media screen and (max-width: 981px) {
#page-container {
    top: 169px !important;
    padding-top: 169px !important;
}
}

/*main navi alavalikon linkin leveys*/


.nav li ul {
   width: 280px !important; /* Width of the dropdown menu */
}

.nav li li ul {
   left: 280px !important; /* Use the same size as above */
}

#top-menu li li a {
   width: 240px; /* Make this 40 less then the width of the dropdown menu */
}


/*------------------------------------------------------------
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: 15px;
	background-color: #333;
	border-radius: 50px;
	padding: 15px 20px;
	color: white;
	margin-bottom:10px;
  margin-top:10px;
	cursor: pointer;
}

#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;
}

/*mobile menu fixed - jotta logo ei siirry menun päälle*/
.et_header_style_centered #et_mobile_nav_menu {
	float: none;
	position: relative;
	margin-top: 30px !important;
	margin-bottom: 10px !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;
}
@media only screen and (min-width: 600px) {
.et_header_style_centered #logo {
	max-height: 45px;
}
	}
@media only screen and (max-width: 980px) {
.et_header_style_centered #logo {
	max-height: 45px;
}
	}

/*----------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 */
}



