/*
 Theme Name:   Child Theme
 Theme URI:    https://www.juridex.se/
 Description:  Child Theme
 Author:       Juridex.se
 Author URI:   https://www.juridex.se/
 Template:     Divi
 Version:      2022
*/

/**========== NOTES ========== **/





/**========== GENERAL ==========**/
body {
    font-weight: 300;
	font-size: 18px;
 } 


/* Adding dashed border-bottom to all articles .layoutforposts is set as a specific class in Post Template created in Theme Builder */
.layoutforposts.et_pb_post_content_0_tb_body h2 {
    text-decoration-style: solid;
    line-height: 1.2em;
    border-bottom: dashed thin slategray;
	margin-top:16px;
}

.et_pb_wc_description_0_tb_body h2 {
    border-bottom: dashed thin slategray;
	margin-bottom: 12px;
}





/* -margins for articles on large screen (2022-10-14) */
.postmarginminus {
    margin-top:-150px!important;
}

@media (max-width: 768px) {
.postmarginminus {
    margin-top:0px!important;
}
}

.postmarginminus-75 {
    margin-top:-75px!important;
}

@media (max-width: 768px) {
.postmarginminus-75 {
    margin-top:0px!important;
}
}

/* Layout for products "En Jurist upprättar..." (2023-05-06) */
.enjuristupprattar .et-dynamic-content-woo .price {
    color: #fff!important;
	font-weight: 300!important;

}

/* Layout for products "Granskning av..." (2023-05-06) */
.granskning .et-dynamic-content-woo .price {
    color: #fff!important;
	font-weight: 300!important;

}













.layoutforposts.et_pb_post_content_0_tb_body h3 {
    text-decoration-style: solid;
    line-height: 1.2em;
    border-bottom: dashed thin slategray;
}

.layoutforposts.et_pb_post_content_0_tb_body a {
    color: #343395;
    border-bottom: dashed thin slategray;
}  






	
	

.et_pb_post_content_0_tb_body h2 {
	text-decoration-style: solid;
    line-height: 1.2em;
    border-bottom: dashed thin slategray;
}

.et_pb_post_content_0_tb_body h3 {
	text-decoration-style: solid;
    line-height: 1.2em;
    border-bottom: dashed thin slategray;
}


.wp-block-image figcaption {
     line-height: 1.8!important;
	text-align: left;
}



/**========= HEADER ==========**/
#et-secondary-menu {
    float: none;
    text-align: center;
}

#top-header .et-cart-info {
    display: none;
}

#et-secondary-menu>ul>li a {
    padding-bottom: 1.25em;
    text-align: center;
	padding-top: 0.5em;
}


/* Notification Bar plugin */

#wpfront-notification-bar div.wpfront-message, #wpfront-notification-bar-editor li, #wpfront-notification-bar-editor p {
    color: #ffffff;
    font-family: 'Lato';
    letter-spacing: 1px;
	font-weight: 700;
    text-transform: uppercase;
    font-size: 14px!important;
	padding: 20px;
}

.wpfront-notification-bar a.wpfront-button {
display: inline-block;
    box-shadow: none!important;
    white-space: nowrap;
    font-size: 16px!important;
	text-transform: uppercase!important;
	font-family: 'Lato', sans-serif!important;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
    padding: 5px 20px!important;
    margin-left: 5px;
    border-radius: 5px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}

/**========== NAVIGATION ==========**/



/*adjust sub-sub menu*/

.nav li.et-reverse-direction-nav li ul {
    left: auto;
    right: 360px;
}

@media (min-width:981px){
#main-header .nav li:last-child ul {
    left: -340px;
}
}








/* Change width of submenus */
.nav li ul {
    padding: 20px 0;
     width: 390px!important;
}
	
#top-menu li li a {
    padding: 6px 20px;
    width: 360px!important;
}

@media (max-width: 1200px) {
#top-header, div#et-secondary-menu, ul#et-secondary-nav {
    display: block !important;
}
}

/**========== FRONTPAGE ==========**/


/**========== HERO ==========**/


/**========== MAIN ==========**/

/* Layout template for mallar (2023-04-29) */
.mallardescription h2 {
    border-bottom: dashed thin slategray!important;
	margin-bottom: 12px!important;
}




.articleimage-border {
	padding: 20px;
    border: thin solid #c5c5c5;
	margin-bottom: 80px;
}


 

@media (max-width: 768px) {
.et_pb_column_0_tb_body, .et_pb_column_1_tb_body {
    box-shadow: none!important;
}
}


@media (max-width: 768px) {
.et_pb_post_content_0_tb_body {
     box-shadow: none!important;
}
}

@media (max-width: 768px) {
.et_pb_column_0_tb_body {
     box-shadow: none!important;
}
}


@media (max-width: 768px) {
.et_pb_column_0_tb_body {
  
    box-shadow: none!important;
}
}


/**========== SIDEBAR ==========**/

.gravityforms-sidebar-fields .gfield_label {
       	font-size: 16px!important;
		padding-top: 0px!important;
		padding-bottom: 0px!important;
		margin-bottom: 0px!important;

}

input#input_33_1 {
    font-size: 16px!important;
}

input#input_33_3 {
    font-size: 16px!important;
}

input#input_33_4 {
    font-size: 16px!important;
}

#field_33_5 {
       	font-size: 16px!important;
		line-height: 1.5!important;

}


div#gform_33_validation_container {
    padding: 16px 8px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #c02b0a;
 
}




#gform_33_validation_container .validation_error {
    border-bottom: 0px solid #c02b0a;
    border-top: 0px solid #c02b0a;
    color: #c02b0a;
	margin-bottom: 0px;
    padding-bottom: 0px;
}

div#validation_message_33_1 {
    margin-top: 4px!important;
    padding-top: 0px;
}

div#validation_message_33_3 {
    margin-top: 4px!important;
    padding-top: 0px;
}

div#validation_message_33_4 {
    margin-top: 4px!important;
    padding-top: 0px;
}



input#gform_submit_button_33:hover {
    background-color: #1a588b!important;
        color: #ffffff;
    border-width: 2px;
    border-color: #2ea3f2!important;
    border-radius: 12px;
    font-family: 'Josefin Sans', Helvetica, Arial, Lucida, sans-serif!important;
    font-size: 20px!important;
    letter-spacing: 0px;
}
 



.et_pb_sidebar_0_tb_body.et_pb_widget_area h4:first-of-type {
       background-color: #03045e!important;
    padding: 40px 20px!important;
    line-height: 30px;
    margin-bottom: 20px;
	margin-top:0px;
}


#media_image-5, #media_image-9 {
    margin-bottom: 0px!important;
}

#media_image-6 {
    margin-bottom: 0px!important;
}

#media_image-7 {
    margin-bottom: 0px!important;
}

#media_image-8 {
    margin-bottom: 0px!important;
}

#media_image-9 {
    margin-bottom: 0px!important;
}

#media_image-10 {
    margin-bottom: 0px!important;
}

#media_image-11 {
    margin-bottom: 0px!important;
}




h3.rpwe-title {
    background: none!important;
    clear: none;
	font-family: lato, sans-serif!important;
    margin-bottom: 0!important;
    margin-top: 0!important;
    font-weight: 700!important;
    font-size: 16px!important;
    line-height: 1.5em;
    text-transform: uppercase!important;
    /*padding: 0 20px 10px 40px!important;*/
    text-align: left!important;
	border-bottom: none!important;
}

.rpwe-summary {
    font-size: 16px!important;
    line-height: 22px;
    margin-bottom: 20px;
	text-align: left;
}
 
/**========== FOOTER ==========**/





/**========== WOOCOMMERCE ==========**/


.woocommerce-error {
     background-color: #03045e!important;
}



/* Widen 1st column on checkout page (2022-06-22) */
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    float: left;
    width: 98%!important;
}


/* Remove second column on cart and checkout page - 2022-01-16 */
#customer_details .col-2 {display: none;}


/* Text input fields on checkout page */
.woocommerce form .form-row input.input-text {
    float: left;
	color: #222;
    font-size: 18px;
}



/* Space above text "Din beställning" */
#order_review_heading {
     margin-top: 40px;
}


.woocommerce form .form-row label {
    line-height: 2;
    font-size: 18px!important;
}

.woocommerce form .form-row select {
    cursor: pointer;
    margin: 0;
    font-size: 18px!important;
}






/**========== COMMENT SECTION ==========**/
/* Remove date from comment meta (2022-06-22) */
span.comment_date {display: none!important;}

/* Remove url from comment form (2022-06-22) */
.comment-form-url {display: none!important;}


/**========== MISC ==========**/


/* Divi css class, en jurist upprättar m fl (2023-06-20) */
.legalproduct.et_pb_post_content_0_tb_body ol li {
    margin-bottom: 1em;
}

.legalproduct ::marker {
    font-size: 48px;
}




.priceintext {
	font-size: 1.2em;
	 font-weight: 700;
	 color: #3b5a99; 
	 
}
  
 

 
 
 
 
 
 
 
 /* Change layout margin-left for index of content plugin (2022-05-09) */
.wp-block-uagb-table-of-contents ol.uagb-toc__list {
    margin-left: 0em!important;
    padding-left: 0px;
    margin-bottom: 0;
}  
 
 
 
 
 
 
/* Change format for name your price square */
input#nyp-1 {
    min-height: 30px!important;
    margin-bottom: 0px!important;
    margin-top: 20px!important;
    margin-left: 0px!important;
    line-height: 30px!important;
	font-size: 24px!important;
}

	
/* Float order button for Dokument Online to the right */

/* Enskilt testamente */
button#gform_submit_button_13 {float: right!important;}

/* Äktenskapsförord */
button#gform_submit_button_7 {float: right!important;}

/* Testamente */
#gform_submit_button_11 {float: right!important;}


/* Vårdnadstestamente */
button#gform_submit_button_20 {float: right!important;}

/* Fullmakt */
button#gform_submit_button_19 {float: right!important;}


/* Granskning av testamente */
button#gform_submit_button_23 {float: none!important; width: 100%;}

/* Samboavtal */
button#gform_submit_button_17 {float: right!important; width: 100%;}

/* Framtidsfullmakt */
button#gform_submit_button_10 {float: right!important; width: 100%;}

 


/**========== GRAVITY FORMS ==========**/




/* Padding form 23 - Granskning av testamente (2022-06-04) */



/* Formatting for description to fields (2022-05-25) */
.gform_wrapper.gravity-theme .gfield_description {
    background-color: #f5f5f5!important;
    margin-top: 30px!important;
    font-size: 17px!important;
    padding: 20px!important;
}
 


.gform_wrapper.gravity-theme .ginput_container_address .ginput_right {
    padding-left: 0%; 
}


.gform_wrapper.gravity-theme .gf_progressbar_title {
   color: #333;
    font-size: 16px;
    font-family: 'Lato', 'sans-serif';
    letter-spacing: 0px;
    font-weight: 600;
    line-height: 1!important;
    margin: 0 0 8px!important;
    padding: 0!important;
    clear: both;
    text-align: center;
    text-transform: uppercase;
    -moz-opacity: .6;
    -khtml-opacity: .6;
}
 


/* Layout for progress bar */
.gform_wrapper.gravity-theme .gf_progressbar_blue {
    background: #d2d6dc;
    padding: 8px!important;
    border-radius: 20px;
}

 
 .gform_wrapper.gravity-theme .gf_progressbar_blue {
    background: #d2d6dc;
    padding: 8px!important;
}
 
 
 

/* Layout for Forms after articles (2021-09-20) */


/* Äktenskapsförord */
div#gform_widget-13 {
    width: 100%!important;
}


#gform_widget-13 .widgettitle{
    background-color: #ef2b4f!important;
}

#gform_widget-13 .widgettitle{
    background-color: #ef2b4f!important;
}

#gform_widget-13 h4.widgettitle{
    background-color: #ef2b4f!important;
}




div#gform_widget-13 .widgettitle{
    background-color: #ef2b4f!important;
}

/* Default - Kontaktad av en jurist */
div#gform_widget-14 {
    width: 100%!important;
}
div#gform_widget-14 .widgettitle{
    background-color: #ef2b4f!important;
}

	/* Testamente */
div#gform_widget-15 .widgettitle{
    background-color: #ef2b4f!important;
}
div#gform_widget-15 {
    width: 100%!important;
}

	/* Framtidsfullmakt */
div#gform_widget-16 .widgettitle{
    background-color: #ef2b4f!important;
}
div#gform_widget-16 {
    width: 100%!important;
}



body .gform_wrapper .gform_body .gfield_label {
    font-size: 22px;
	padding-top: 26px;
}

.gform_wrapper.gravity-theme .gfield_radio label {
    font-size: 18px!important;
	    padding-left: 40px!important;
}

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    margin: 6px 0 0;
    padding: 16px 0;
    border-top: thin #c4c4c4 solid!important;
}



/* Diminish space between field header and field(2021-05-11) */
.gform_wrapper.gravity-theme .gfield_label {
     margin-bottom: 0px!important;
}









/* Layout for h3 headers in GF (första maken, andra maken etc)  */
.gform_page_fields h3 {
    font-size: 32px;
    font-weight: 600!important;
    line-height: 1em;
    margin-top: 1em;
    border-bottom: dotted 1px #848484!important;
}



.dokumentonlinegravity {
    font-weight: 600!important;
    font-size: 34px!important;
    color: #ffffff!important;
    text-align: center!important;
    background: #e02b20!important;
    margin: 0 auto 0!important;
    height: 100px!important;
    width: 100px!important;
    padding: 30px 0 20px 0!important;
    border-radius: 55px!important;
}

.dokumentonlinegravity.woocommerce-Price-amount.amount {
    font-weight: 600!important;
    font-size: 34px!important;
    color: #ffffff!important;
    text-align: center!important;
    background: #e02b20!important;
    margin: 0 auto 0!important;
    height: 100px!important;
    width: 100px!important;
    padding: 30px 0 20px 0!important;
    border-radius: 55px!important;
}

/* Layout for introtext (1,2,3...) regarding Dokument Online */

.gfintrorow {
 	width: 100%;
	float: left;
	display: flex;
	margin-bottom: 40px;

}


.gfintrocolumn1 {
	flex: 15%;
	vertical-align: middle;
	font-size: 80px;
	padding-right: 20px;
    padding-top: 20px;
}

.gfintrocolumn2 {
	flex: 85%;
	text-align:left!important;
}



.bignumber {
    font-size: 60px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background-color: #4682b4;
    max-width: 100px;
    min-height: 100px;
    border-radius: 50px;
    padding-top: 30px;
    margin: 0 auto 0;
}

.bigletter {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}



.gform_wrapper textarea.textarea
{
     font-size: 18px!important;
	 color: #333!important;
 }

   
.gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html {
    line-height: 1.7em!important;
	font-weight: 400!important;
}

body .gform_wrapper select {
    display: inline-block;
    height: 51px;
    font-size: 18px!important;
    color: #333!important;
    background: #eee;
    border: 0;
}

.gform_wrapper .gfield_radio li label {
    font-weight: 400!important;
	font-size: 20px!important;
}

.gfield_radio li label {
    margin: 2px 0 0 14px!important;
}


.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]){
    background-color: #eee;
    border: none;
    font-size: 20px!important;
    color: #666!important;
}



.gform_wrapper .gform_page_footer .button.gform_previous_button {
    margin-bottom: 0;
    float: left!important;
}



/* Layout for previous and next buttons on  */
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_page_footer .button.gform_previous_button, .gform_wrapper .gform_page_footer .button.gform_next_button {
    background-color: #0c71c3;
    color: #ffffff;
    border-width: 2;
    border-color: #fff;
	font-weight: 500;
    border-radius: 25px;
    font-family: 'Alegreya', serif;
    font-size: 18px;
    padding: 6px 40px 6px 40px!important;
    letter-spacing: 1px;
}
 

.gform_wrapper .gform_footer input.button:hover {
	background-color: #2ea3f2!important;
    color: #ffffff!important;
    border-width: 2;
    border-color: #fff;
    border-radius: 25px;
	font-weight: 500;
    font-family: 'Alegreya', serif;
    font-size: 18px;
    padding: 10px 40px 10px 40px;
    letter-spacing: 1px;
}


.fakta h3 {
    font-weight: 400;
    font-size: 30px!important;
    border: none;
    border-bottom: solid thin #333!important;
    background: 0 0;
    margin-top: 50px!important;
    margin-bottom: 10px!important;
	border-radius: 0px!important;	
}

.fakta h4 {
    font-size: 22px;
    font-weight: 700!important;
    border-bottom: dashed thin lightgrey;
}






.fakta {
line-height: 1.7em!important;
}

.faktatext h3 {
    font-weight: 400;
    font-size: 30px!important;
    border: none;
    border-bottom: solid thin #333!important;
    background: 0 0;
    margin-top: 50px!important;
    margin-bottom: 10px!important;
	border-radius: 0px!important;	
}

.faktatext {
line-height: 1.7em!important;
}


/* Make space for the previous and next buttons on small screens */
.gform_wrapper .gform_page_footer {
    overflow: hidden;
    text-align: right;
    min-height: 120px;
}


.gform_wrapper label.gfield_label {
    font-weight: 700!important;

}







body #gform_wrapper_4 .gform_footer input[type=submit] { background-color: #000000; } 












.ribbonaktenskapsforord {
  
  height: 329px;
  width: 617px;
  position: relative;
  float: left;
  margin-bottom: 30px;
  background: url(https://www.juridex.se/wp-content/images/products/aktenskapsforord-online-gf-617_329.png);
  background-size: cover;
  text-transform: uppercase;
  color: white;
}
.ribbonaktenskapsforord:nth-child(even) {
  margin-right: 4%;
    
  }
  
 
@media (max-width: 500px) {
  .ribbonaktenskapsforord {
    width: 100%;
	height: 219px;
  }
  .ribbonaktenskapsforord:nth-child(even) {
    margin-right: 0%;
  }
}
 
.wrap {
  width: 100%;
  height: 350px;
  position: absolute;
  top: -8px;
  left: 8px;
  overflow: hidden;
}

 
.wrap:before, .wrap:after {
  content: ""; 
  position: absolute;
}
.wrap:before {
  width: 40px;
  height: 8px;
  right: 100px;
  background: #4D6530;
  border-radius: 8px 8px 0px 0px;
}
.wrap:after {
  width: 8px;
  height: 40px;
  right: 0px;
  top: 100px;
  background: #4D6530;
  border-radius: 0px 8px 8px 0px;
}
 
.ribbon {
  width: 200px;
  font-size: 26px!important;  
  font-family: 'open sans', calibri, sans-serif;
  font-weight: 700;
  font-family: calibri, Arial, sans-serif;
  height: 50px;
  line-height: 40px;
  position: absolute;
  top: 30px;
  right: -50px;
  z-index: 2;
  overflow: hidden;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border: 1px dashed;
  box-shadow:0 0 0 3px #57DD43,  0px 21px 5px -18px rgba(0,0,0,0.6);
  background: #dd5f43;
  text-align: center;
  padding-top: 3px;	
}

/*Add dashed underline to mallar - class set in CSS ID & Classes in template for mallar (2022-05-21)*/
.contentmallar h2 {
	margin-top: 0.9em;
	border-bottom: 1px dashed #999;
}

.contentmallar h3 {
	margin-top: 0.9em;
	border-bottom: 1px dashed #999;
}

.contentmallar h4 {
	margin-top: 0.9em;
	border-bottom: 1px dashed #999;
}


/* Create space below table of contents in articles  */
.wp-block-uagb-table-of-contents {
    margin-bottom: 2em!important;
}


/* Layout for Example boxes in articles */
.uagb-notice-title {
    padding-left: 30px!important;
    padding-right: 15px;
    padding-top: 30px!important;
    padding-bottom: 30px!important;
    background-color: #4682b4!important;
    border-top-right-radius: 0px!important;
    border-top-left-radius: 0px!important;
	color: #fff!important;
} 

  
.uagb-notice-text {
	font-size: 0.8em!important;
 
	background-color: #fafaff!important;
    padding-left: 30px!important;
    padding-right: 30px!important;
    padding-top: 30px!important;
    padding-bottom: 30px!important;
    border: 1px solid #4682b4!important;
    border-bottom-left-radius: 0px!Important;
    border-bottom-right-radius: 0px!Important;
	margin-bottom: 45px!important;
	line-height:1.8em!important;
} 

.uagb-notice-text p {
    padding-bottom: 0em!important;
}




.uagb-inline_notice__outer-wrap.uagb-inline_notice__align-left {
    text-align: left;
	border-bottom-left-radius: 32px;
    border-bottom-right-radius:32px;
    box-shadow: 0px 5px 4px 2px #f5f5f5!important;
	margin-left: 20px!important;
	margin-right: 20px!important;
}



.page-id-23067 .et_pb_post_content_0_tb_body h2 {
     text-decoration-style: solid;
    line-height: 1.2em;
    border-bottom: dashed thin slategray;
 }


.page-id-23067.et_pb_post_content_0_tb_body h2 {
     text-decoration-style: solid;
    line-height: 1.2em;
    border-bottom: dashed thin slategray;
 }



.begin-chat {
    max-width: 500px!important;
	border-radius: 50px!important;
	margin: 0 auto 0!important;
	text-transform: uppercase;
	margin-top: 20px!important;
    margin-bottom: 40px!important;
	font-weight: 500;
    letter-spacing: 1px;
}

.begin-chat a {

	color:#fff;
	
}


.woocommerce #content table.cart td.actions .coupon, .woocommerce table.cart td.actions .coupon, .woocommerce-page #content table.cart td.actions .coupon, .woocommerce-page table.cart td.actions .coupon {
    float: left;
    display: none;
}