/*
Theme Name: Rue Grafisk Design Child Theme
Theme URI: http://www.ruegrafiskdesign.dk
Template: Divi
Author: Rue Grafisk Design
Author URI: http://www.ruegrafiskdesign.dk
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 3.0.66.1502289322
Updated: 2017-08-09 16:35:22

*/


/*-------------------------------------- 404 --------------------------------------*/

.error404 .et_builder_inner_content {
background-color: #E8E8E8!important;
}

/*-------------------------------------- Misc --------------------------------------*/

@media only screen and (min-width: 940px) {
	.rain-ovom{
		display: none !important;
	}
}

@media only screen and (max-width: 939px) {
	.rain-ohom{
		display: none !important;
	}
}


.rain-icon-sizing{
	width: 80px;
	margin-bottom: 20px;
}



.rain-buttons-styling{
  width: 100%;
  height: 50px;
  color: #FFFFFF !important;
  border-width: 0px !important;
  border-radius: 6px;
  letter-spacing: 0.5px;
  font-size: 14px;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  background-color: #006DFF;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.rain-buttons-styling-white{
  color: #222222 !important;
  background-color: #FFFFFF;
}



.rain-buttons-styling span{
transition: top 0.5s;
}
.rain-btn-text-one {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.rain-btn-text-two {
  position: absolute;
  width: 100%;
  top: 150%;
  left: 0;
  transform: translateY(-50%);
}

.rain-buttons-styling:hover .rain-btn-text-one {
  top: -100%;
}

.rain-buttons-styling:hover .rain-btn-text-two {
  top: 50%;
}


/*-------------------------------------- Modules --------------------------------------*/



@media only screen and (max-width: 980px) {
	.rain-reverse-order{
	   display: flex;
    flex-direction: column-reverse;
	}

	body .et_pb_row .reverse-order-margin{
		margin-bottom: 3rem !important;
	}
}



@media only screen and (max-width: 980px) {
	body .et_pb_column {
		margin-bottom: 0 !important;
	}
}

@media only screen and (min-width: 430px) {
	.rain-align-bottom{
		display: flex !important;
		align-items: end;
		
	}
}

.rain-zindex-high{
	z-index: 99999;
}

.rain-flex-align-center{
	display: flex !important;
	align-items: center;
	justify-content: center;
}

@media only screen and (min-width: 431px) {
	.rain-gap{
		gap:30px;
	}
}

@media only screen and (min-width: 431px){
	.rain-gap.et_pb_row:after, .rain-gap.et_pb_row_inner:after{
		content:none!important;
	}
}


@media (max-width: 980px){
	.et_pb_column .et_pb_row_inner, .et_pb_row{
		padding: 0 !important;
	}
}


.rain-udvalgt-case{
	aspect-ratio: 2 / 1; /* Set the aspect ratio to 2:1 */
}


.rain-team-column{
	aspect-ratio: 3 / 4; 
}



.rain-udvalgt-case{
	 cursor: url('https://spunk.raincreative.dk/wp-content/uploads/2024/02/Label.svg'), auto;
}


.rain-fluid-text.rain-udvalgt-case-text h2{
	margin-bottom: 0.25em;
}


.rain-udvalgt-case-list ul{
	list-style: none;
	padding: 0;
	margin: 0;
}

.rain-udvalgt-case-list ul li{
	display: inline-block;
    padding: 10px !important;
    margin-right: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}

.rain-udvalgt-case-list ul li h5{
	margin-bottom: 0;
	padding-bottom: 0;
}


.rain-column-case-flex{
	display: flex;
	flex-direction: column;
	justify-content: space-between; /* This pushes the first child to the top and the second to the bottom */
	height: 100%; 
}


/*-------------------------------- Tekst rettelser --------------------------------*/

/*-------------------------------- https://clamp.font-size.app/?config=eyJyb290IjoiMTYiLCJtaW5XaWR0aCI6IjFweCIsIm1heFdpZHRoIjoiMTQ0MHB4IiwibWluRm9udFNpemUiOiIwLjZyZW0iLCJtYXhGb250U2l6ZSI6IjQ4cHgifQ%3D%3D--------------------------------*/

.rain-fluid-text p{
	font-size: clamp(0.796875rem, 0.7326rem + 0.2485vw, 0.95625rem) !important;
	line-height: 1.5 !important;
}


.rain-fluid-text h1{
	font-size: clamp(1.875rem, 1.1184rem + 2.924vw, 3.75rem) !important;
	line-height: 1 !important;
	padding: 0 !important;
}

.rain-fluid-text h2{
	font-size: clamp(1.40625rem, 0.7632rem + 2.4854vw, 3rem) !important;
	line-height: 1 !important;
	margin-bottom: 0.5em;
}

.rain-fluid-text h3{
	font-size: clamp(1.875rem, 1.7237rem + 0.5848vw, 2.25rem) !important;
	line-height: 1 !important;
	padding: 0 !important;
}

.rain-fluid-text h4{
	font-size: clamp(0.9375rem, 0.8618rem + 0.2924vw, 1.125rem) !important;
	line-height: 1 !important;
	padding: 0 !important;
}

.rain-fluid-text h5{
	font-size: 10.5px!important;
	line-height: 1 !important;
	padding: 0 !important;
	margin-bottom: 1em;
}

@media only screen and (max-width: 430px) {
	.rain-fluid-text h1{
		margin-bottom: .5em;
	}
}

.rain-fluid-text .rain-fluid-span{
	font-size: clamp(0.4375rem, 0.3492rem + 0.3411vw, 0.65625rem) !important;
	line-height: 1.5 !important;
	padding: 0 !important;
}

.rain-fluid-text-special p{
	font-size: clamp(0.796875rem, 0.7754rem + 0.0828vw, 0.85rem) !important;
	line-height: 1.5 !important;
}

.rain-fluid-text-special h4{
	font-size: clamp(0.9375rem, 0.8618rem + 0.2924vw, 1.125rem) !important;
	line-height: 1 !important;
}

/*.rain-udvalgt-case .rain-fluid-text h2{
	font-size: clamp(1.25rem, 0.1404rem + 4.2885vw, 4rem) !important;
	line-height: clamp(1.25rem, 0.1404rem + 4.2885vw, 4rem) !important;
}*/

/*.rain-udvalgt-case .rain-fluid-text h5{
	font-size: clamp(0.625rem, 0.5241rem + 0.3899vw, 0.875rem) !important;
	line-height: clamp(0.625rem, 0.5241rem + 0.3899vw, 0.875rem) !important;
}*/

/*.rain-udvalgt-case .rain-fluid-text li h5{
	font-size: clamp(0.4375rem, 0.261rem + 0.6823vw, 0.875rem) !important;
	line-height: clamp(0.4375rem, 0.261rem + 0.6823vw, 0.875rem) !important;
}
*/


@media (min-width: 431px) and (max-width: 980px)  {

	.rain-two-column .et_pb_text_inner{
	  -webkit-column-count: 2; /* Chrome, Safari, Opera */
	  -moz-column-count: 2;    /* Firefox */
	  column-count: 2;         /* standard syntax */

	  -webkit-column-gap: 30px; /* Chrome, Safari, Opera */
	  -moz-column-gap: 30px;    /* Firefox */
	  column-gap: 30px;         /* standard syntax */
	}

}

@media (min-width: 1250px) {
	.rain-two-column .et_pb_text_inner{
	  -webkit-column-count: 2; /* Chrome, Safari, Opera */
	  -moz-column-count: 2;    /* Firefox */
	  column-count: 2;         /* standard syntax */

	  -webkit-column-gap: 30px; /* Chrome, Safari, Opera */
	  -moz-column-gap: 30px;    /* Firefox */
	  column-gap: 30px;         /* standard syntax */
	}

}

.rain-blue-contact-box h2{
	margin-bottom: 0 !important;
}

.rain-blue-contact-box a{
	top: -12px;
}


.rain-blue-contact-box .wp-image-305{
	margin-bottom: 90px;
}


@media only screen and (max-width: 830px) {
	.rain-blue-contact-box .et_pb_button_2_wrapper{
		position: relative !important;
		margin-top: 30px;
	}
}

/*-------------------------------------- Menu --------------------------------------*/

.rain-menu-row{
	align-items: center;
}


#menu-hovedmenu li.current-menu-item, #menu-hovedmenu li:hover{
	background-color: #f8f8f8;
}

#menu-hovedmenu li{
	margin-top: 0 !important;
	padding: 12px 16px;
	margin: 0 10px !important;
	border-radius: 6px;
	transition: all 0.5s ease-in-out;
}


#menu-hovedmenu li a{
	padding-bottom: 0 !important;
}

@media only screen and (min-width: 981px) {
	.rain-kontakt-os-mobile{
		display: none !important;
	}
}

@media only screen and (max-width: 980px) {
	.rain-kontakt-os-desktop{
		display: none !important;
	}

	.rain-menu-row{
		display: flex !important;
	}

	.rain-menu-center .et_pb_menu__wrap{
		justify-content: right !important;
	}
}


/*-------------------------------------- Footer --------------------------------------*/

.rain-fluid-text.rain-footer.rain-footer-info h5{
	margin-bottom: 2em;
}

.rain-fluid-text.rain-footer.rain-footer-link h6{
	margin-bottom: 1.5em;
}

.rain-fluid-text.rain-footer.rain-footer-link h5{
	margin-bottom: 2.5em;
}

.rain-fluid-text.rain-footer a{
	display: inline-block;
}

.rain-fluid-text.rain-footer a:after{
	position: relative;
	display: block;
	bottom: -3px;
	left: 0;
	width: 0%;
	border-bottom: 1px solid blue;
	content:"";
	transition: all .3s ease-in-out;
}

.rain-fluid-text.rain-footer a:hover:after{
	width: 100%;
}

@media only screen and (max-width: 1310px) {
	.rain-footer-section .et_pb_column{
		width: 20%;
	}
	.rain-footer-section .et_pb_column:first-child{
		width: 40%;
	}	
}

@media only screen and (max-width: 980px) {
	.rain-footer-section .et_pb_column{
		width: 33% !important;
	}
	.rain-footer-section .et_pb_column:first-child{
		width: 100% !important;
		margin-bottom: 60px !important;
	}	
}

@media (min-width:520px) and (max-width:980px) {
	.rain-footer-cookie-row .et_pb_column{
			width: 50% !important;
	}
}

/*-------------------------------------- Video --------------------------------------*/


.rain-blackbars_gone video, .rain-blackbars_gone embed, .rain-blackbars_gone iframe, .rain-blackbars_gone object, { 
	width:101% !important;
}

/*-------------------------------------- Services --------------------------------------*/

.rain-flex-column{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


.rain-services-list ul{
	list-style: none;
	padding: 0;
}

.rain-services-list ul li{
    border-bottom: 1px solid #E8E8E8;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.5rem 0;
}

.rain-services-list ul li:last-child{
	border: none;
}

.rain-services-list h4{
	margin-bottom: 1rem;
}

.rain-services-list{
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
}

.rain-services-list .et_pb_column{
	flex: 1 0 auto; 
	width: calc(33.333% - 3%) !important; /* 3 children per row with gap */
	margin-right: 0 !important;
	margin-bottom: 3rem !important;
}

.rain-services-list:after{
	content: none !important;
}

@media only screen and (max-width: 980px) {
	.rain-services-list .et_pb_column{
		width: calc(50% - 3%) !important; /* 3 children per row with gap */
	}
}

@media only screen and (max-width: 750px) {
	.rain-services-list .et_pb_column{
		width: calc(100%) !important; /* 3 children per row with gap */
	}
}

.rain-case-section {
  overflow: hidden;
  transition: height 0.7s ease;
}

.case {
  opacity: 1;
  transition: all 0.7s ease;
}

body .case:not(.active-case) {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0 !important;
}

.active-case {
  opacity: 1;
  max-height: 1000px;
}

.rain-cases-button-lists ul{
	list-style: none;
	padding: 0;
	margin: 0;
}

.rain-cases-button-lists ul li{
	display: inline-block;
    margin-right: 15px;
   
}


.rain-cases-button-lists ul li h5{
	margin-bottom: 0;
	padding: 10px !important;
 background-color: #F8F8F8;
    border-radius: 4px;
cursor: pointer;

}

.rain-cases-button-lists ul li{
	margin-bottom: 15px !important;
}

@media only screen and (min-width: 1270px) {
	.rain-align-bottom-cases{
		display: flex !important;
		align-items: end;
		gap:30px;
		
	}
}

@media only screen and (min-width: 1271px){
	.rain-align-bottom-cases.et_pb_row:after, .rain-align-bottom-cases.et_pb_row_inner:after{
		content:none!important;
	}
}

.rain-align-bottom-cases .et_pb_column{
	width: 100% !important;
}

@media only screen and (max-width: 1270px){
	.rain-cases-heading{
		margin-bottom: 30px !important;
	}
}


.rain-cases-button-lists ul li h5.active-toggle{
		background-color: #006DFF;
		color: #fff;
}



/*-------------------------------------- Om os --------------------------------------*/


.rain-vores-team ul li{
    border-bottom: 0px!important;
}

@media only screen and (max-width: 399px) {
	.rain-vores-team ul {
		display: none;
	}
}

/*-------------------------------------- Single Cases --------------------------------------*/

.case-intro-table, .case-intro-table td{
	border: none !important;
	border-top: 0px solid #000 !important;
	margin: 0 !important;
	padding: 0 !important;
	vertical-align: top;
	min-width: 80px;
}

.case-intro-table{
	margin-bottom: 30px !important;
}

.rain-case-intro-table-grey{
	color:#666666;
}

@media only screen and (max-width: 981px){
	.rain-reverse-order{
		display: flex;
		flex-direction: column-reverse;
	}

	.rain-reverse-order .et_pb_column_2 .et_pb_text_1{
		max-width: 1200px;
		margin-bottom: 45px !important;
	}

	.rain-reverse-order .et_pb_column{
		width: 100%;
	}


}

.rain-single-case-2-2-layout{
	gap:16px;
	display: flex;
	flex-direction: row;
}

.rain-single-case-2-2-layout:after{
	content: none!important;
}

/* Hide all images initially */
.rain-image {
  opacity: 0;
}

/* Only show the image that has the 'rain-image-visible' class */
.rain-image-visible {
  opacity: 1;
}

.rain-1-1-ratio{
	aspect-ratio: 1/1;
	border-radius: 12px;
	overflow: hidden;
}

.rain-2-1-ratio{
	aspect-ratio: 2/1;
	border-radius: 12px;
	overflow: hidden;
}

.rain-2half-1-ratio {
	aspect-ratio: 2.5/1;
	border-radius: 12px;
	overflow: hidden;
}


::selection {
  background: #006DFF;
  color: white;
}

/*-------------------------------------- Contact form --------------------------------------*/

.rain-contact-row label{
	font-size: clamp(0.625rem, 0.5746rem + 0.1949vw, 0.75rem) !important;
	text-transform: uppercase;
}

.rain-contact-row label input, .rain-contact-row label textarea{
	margin-top: 8px !important;
	margin-bottom: 14px !important;
	padding: 20px 24px;
  border-radius: 6px;
  border: 1px solid #E8E8E8;
  width: 100%;
}

.rain-contact-row label input::placeholder, .rain-contact-row label textarea::placeholder{
	color: #999;
}

.rain-contact-row label textarea{
	height: 140px;
}

.rain-contact-row.rain-gdpr-checkbox label input{
	width: auto;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	position: relative;
	width: 10px;
	height: 10px;
	padding: 10px;
	overflow: hidden;
}

.rain-contact-row.rain-gdpr-checkbox .wpcf7-list-item-label {
	position: absolute;
	width: 300px !important;
	top: -19px;
	left: 35px;
}

.rain-contact-row.rain-gdpr-checkbox label input[type='checkbox']::before{ 
	content: '';
  color: #fff;
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 4px;
  background-color: transparent;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 2px;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: -webkit-transform 0.25s ease-in-out;
  transition: -webkit-transform 0.25s ease-in-out;
  transition: transform 0.25s ease-in-out;
  transition: transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
 	background-image: url("data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQ0OCIgaGVpZ2h0PSI0NDgiIHZpZXdCb3g9IjAgMCA0NDggNDQ4Ij4KPHRpdGxlPjwvdGl0bGU+CjxnIGlkPSJpY29tb29uLWlnbm9yZSI+CjwvZz4KPHBhdGggZD0iTTQxNy43NSAxNDEuNWMwIDYuMjUtMi41IDEyLjUtNyAxN2wtMjE1IDIxNWMtNC41IDQuNS0xMC43NSA3LTE3IDdzLTEyLjUtMi41LTE3LTdsLTEyNC41LTEyNC41Yy00LjUtNC41LTctMTAuNzUtNy0xN3MyLjUtMTIuNSA3LTE3bDM0LTM0YzQuNS00LjUgMTAuNzUtNyAxNy03czEyLjUgMi41IDE3IDdsNzMuNSA3My43NSAxNjQtMTY0LjI1YzQuNS00LjUgMTAuNzUtNyAxNy03czEyLjUgMi41IDE3IDdsMzQgMzRjNC41IDQuNSA3IDEwLjc1IDcgMTd6Ij48L3BhdGg+Cjwvc3ZnPgo=");
}

.rain-contact-row.rain-gdpr-checkbox label input[type='checkbox']:checked::before {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.wpcf7 form.sent .wpcf7-response-output, .wpcf7 form .wpcf7-response-output { 
	border-color:#006DFF;
}

.rain-contact-row.rain-gdpr-checkbox span.wpcf7-list-item{
	margin-left: 0;
}

.rain-contact-row.rain-contact-submit input{
  width: 100%;
  height: 50px;
  color: #FFFFFF !important;
  border-width: 0px !important;
  border-radius: 6px;
  letter-spacing: 0.5px;
  font-size: 14px;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  background-color: #006DFF;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-top: 15px;
}