/* 
 Theme Name:     Child for Divi
 Author:         Morten Balle
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 


.post .postie-image-div {
    width: 80%;
    margin: 30px auto 50px auto;
}
.post .postie-attachments .postie-image-div {
    width: 100%;
    margin: 10px auto;
    min-height: 375px;
}
.post .postie-attachments {
    margin-top: 50px;
    display: flex;
}
.post .et_post_meta_wrapper {
    display: flex;
    flex-flow: column-reverse;
}

/*.post .et_post_meta_wrapper h1.entry-title {
    margin-top: 30px;
}*/
.post .et_post_meta_wrapper img {
    width:80%;
    margin:0 auto;
}


.divibars-body > p {
	display:none;
}

.single .et_pb_post {
    text-align: center;
}
figcaption h2 {display:none;}
figcaption:hover h2 {display:block;}
h2 {
    padding: 20px 0 10px 0;
}

.ds-verstical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}
.ds-verstical-align .et_pb_blurb { 
	padding: 20px 20px;
}
.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 
.ds-vertical-align .et_pb_blurb { 
	padding: 20px 20px;
}
blockquote {
    text-align: center;
    letter-spacing: 1px;
    padding: 15px 0px 15px 30px !important;
    border-radius: 10px !important;
    border: none !important;
    text-transform: uppercase !important;
    font-weight: 300 !important;
    color: #333 !important;
    font-size: 1.35em !important;
    line-height: 110% !important;
}
blockquote p:last-of-type {
    padding-bottom: 0;
    padding-top: 10px;
    font-style: italic;
    font-size: 0.7em;
}

.foogallery-masonry.masonry-layout-3col .masonry-gutter-width {
    width: 0.5%;
}
.foogallery-masonry.masonry-layout-3col .item {
    margin-bottom: 0.5%;
}
/*
.foogallery-container {
    margin: 20px 0 10px 30px;
}	
*/
#SA-art-img {
    background-color:#fff;
}
#SA-art-img .et_pb_image_wrap img:hover {
    -webkit-transform: scale3d(0.95,0.95,1);
    transform: scale3d(0.95,0.95,1);
}
#SA-art-img .et_pb_image_wrap img {
    opacity: 0.95;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

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

}

@media only screen and (max-width: 981px) {
/***[Switch column order on mobile]***/

	
.et_pb_section .et_pb_row:nth-child(even) {
    display: flex;
    flex-direction: column-reverse;
}

a.et_pb_button {
    margin-bottom: 25px;
}
.sa-txt {
	margin-top:20px;
	}
nav#top-menu-nav {
    display: none;
}
}