/*
	Theme Name: Mjosklinikken
	Theme URI: https://comple.no
	Description: Comple Theme
	Version: 1.2
	Author: Michael Urrang
	Author URI: https://comple.no

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

html {
    font-size: 62.5%;
    -webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 400;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #101010;
    margin: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

.clear:before,
.clear:after {
    content:'';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

img {
	max-width: 100%;
    height: auto;
	vertical-align: bottom;
    -webkit-backface-visibility: hidden;
}

a {
	color: #101010;
	text-decoration: none;
}

a:hover {
	color: #101010;
}

a:hover,
a:active,
a:focus {
	outline: 0;
}

input, input:focus, input:active, input:hover {
	outline: 0;
    -webkit-appearance: none;
}

select:focus {
    outline: 0;
}

ul, li {
    padding: 0;
    margin: 0;
}

button, button:hover, button:active, button:focus {
    outline: 0;
    -webkit-appearance: none;
}

.alert {
    position: relative;
    background: #000;
    color: #FFF;
    text-align: center;
    padding: 10px;
    z-index: 200;
}

.alert a {
    color: #FFF;
}

/*------------------------------------*\
    THEME STRUCTURE
\*------------------------------------*/

.container {
    position: relative;
    margin: 0 auto;
    padding: 0 20px;
}

.container-s {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 20px;
}

.container-m {
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 20px;
}

.container-l {
    position: relative;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 20px;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.page-wrapper {
    position: relative;
    z-index: 1;
}

.wp-block-group__inner-container {
    max-width: 1100px !important;
    margin: 0 auto;
}

.wp-block-group.alignwide .wp-block-group__inner-container {
    max-width: none !important;
}

.wp-block-column {
    position: relative;
}

.entry-content .alignfull {
    margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width    : 100vw;
    padding: 0 2rem;
}

.entry-content .alignwide {
    margin: 0 calc(25% - 25vw);
}

.entry-content .wp-block-image.alignfull {
    padding: 0;
}

.entry-content h1 {
    margin: 0 0 2.5rem;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
    margin: 3rem 0 1rem;
}

.entry-content .wp-block-column p a, .entry-content .wp-block-group p a {
    text-decoration: underline;
}

.alignfull img {
    width: 100vw;
}

.wp-block-image figcaption {
    text-align: left !important;
    font-size: 0.9rem;
    background: transparent !important;
}

:where(figure) {
    margin: 0 0 1em;
}

:where(body .is-layout-flow) > * {
    margin-block-start: 1.2rem;
    margin-block-end: 0;
}

:where(body .is-layout-flow) > :first-child:first-child {
    margin-block-start: 0;
}

:where(body .is-layout-flow) > :last-child:last-child {
    margin-block-end: 0;
}

.editor-styles-wrapper :where(body .is-layout-flow) > :first-child:first-child {
    margin-block-start: 0;
}

.editor-styles-wrapper :where(body .is-layout-flow) > :last-child:last-child {
    margin-block-end: 0;
}

:root :where(.wp-element-button, .wp-block-button__link) {
    background-color: transparent;
    padding: 0;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/

.header .container {
    max-width: 1440px;
    display: flex;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
}

.header .logo {
    z-index: 9999;
}

.header .logo img {
    height: 48px;
}

.header .main-menu {
    margin-left: auto;
}

.header .nav-toggle {
    display: none;
}

.header .booking {
    padding: 12px 18px;
    border-radius: 40px;
    background-color: salmon;
    color: #000;
    margin-left: 30px;
    z-index: 9999;
}

.header .booking:hover {
    text-decoration: underline;
}

.main-menu .extra {
    display: none;
}

.search-form {
    display: none;
}

.btn-default a {
    padding: 12px 18px;
    border-radius: 40px;
    background-color: salmon;
    color: #000;
}

.btn-default a:hover {
    text-decoration: underline;
}

/*------------------------------------*\
    NAVIGATION
\*------------------------------------*/
    
.main-menu {
    background: transparent;
    position: relative;
    padding: 0;
    z-index: 10;
}
    
.main-menu ul li {
    position: relative;
    display: inline-block;
    margin-right: 2rem;
}

.main-menu ul li a {
    font-size: 20px;
}

.main-menu ul li a:hover {
    text-decoration: underline;
}

.main-menu ul li.current-menu-item a {
    text-decoration: underline;
}

.main-menu ul li.submenu-heading:hover>.sub-menu {
    display: block !important;
}

.main-menu ul li.submenu-heading {
    margin-right: calc(2rem + 18px);
}

.main-menu ul li.submenu-heading a:after {
    top: 7px;
    right: -15px;
}

.main-menu ul li ul.sub-menu {
    display: none;
    position: absolute;
    padding: 30px;
    text-align: left;
    border-radius: 8px;
    background: #EEE;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    top: calc(33px + 20px);
    min-width: 230px;
}

.main-menu ul li.submenu-heading:hover .sub-menu:before {
    content: '';
    display: block;
    height: 60px;
    position: absolute;
    top: -22px;
    width: 100%;
}
    
.main-menu ul li li {
    display: block;
}

.main-menu ul li.submenu-heading a {
    position: relative;
}

/* Inserts a drop down symbol to the submenu heading */
.main-menu ul li.submenu-heading a:after {
    content: '\002B';
    position: absolute;
    top: -4px;
    right: -18px;
    font-size: 20px;
    font-weight: 400;
    color: #101010;
}

/* Removes the same symbol for child menu items */
.main-menu ul li.submenu-heading ul li a:after {
    display: none;
}

.show {
    display: block !important;
}


/*------------------------------------*\
    PAGE = FRONT PAGE
\*------------------------------------*/

.hero.slider img {
    max-height: 650px;
    object-fit: cover;
}

.home-intro {
    position: relative;
    margin-top: -80px;
    background: #FFF;
    padding: 40px;
}

.home-intro:before {
    content: '';
    background: salmon;
    height: 10px;
    width: 100%;
    position: absolute;
    top: -10px;
    left: 0px;
}

.home-intro h2 {
    font-size: 3.6rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.home-intro h3 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-top: 0;
}

.home-intro p {
    font-size: 2rem;
}

.tjeneste-item {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 13px;
    padding: 25px;
    transition: all 0.3s;
}

.tjeneste-item:hover {
    transform: scale(1.05);
}

.tjeneste-tittel {
    background: salmon;
    display: inline-block;
    border-radius: 40px;
    padding: 15px 20px;
    font-weight: 400;
    margin-bottom: 30px !important;
}

.tjeneste-link {
    position: relative;
    text-decoration: underline;
}

.tjeneste-link:after {
    color: #000;
}

.list-item {
    background: salmon;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 40px;
}

/*------------------------------------*\
    TEMPLATE PART = CUSTOM
\*------------------------------------*/


/*------------------------------------*\
    SINGLE / PAGE
\*------------------------------------*/

.buble-wrap {
    position: relative;
    max-width: 1680px;
    margin: 0 auto;
}

.buble {
    background-image: url(http://mjosklinikken.wpenginepowered.com/wp-content/uploads/2025/08/blob-2.svg);
    height: 800px;
    width: 1000px;
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    left: -200px;
    top: -200px;
    opacity: 0.75;
}

.top-area {
    margin-top: 60px;
}

.title-wrapper {
    margin-bottom: 60px;
}

.page-title h1 {
    position: relative;
    display: inline-block;
    border-bottom: 5px solid salmon;
    margin-bottom: 30px;
}

.page-intro p {
    font-size: 2.4rem;
}

.pristabell {
    background: aliceblue;
}

.pristabell td:first-child {
    width: 70%;
}

.pristabell.col-3 td:first-child {
    width: 50%;
}

body .gform_wrapper .gform_footer input[type="submit"] {
  background: salmon !important;
  color: #000 !important;
  border-radius: 40px !important;
  padding: 10px 20px;
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/

.footer {
    margin-top: 100px;
}

.footer .container {
    max-width: 1280px;
    border-top: 1px solid #000;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
}

.footer .item {
    width: 33%;
}

.footer .item span {
    font-weight: bold;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

p {
    margin: 0 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

h1 {
    font-size: 5rem;
}

.title-wrapper h1 {
    margin-top: 0;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:1200px) {
    
    .main-menu {
        display: block !important;
    }
    
}

@media only screen and (max-width:1200px) {
    
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
    
    .entry-content .alignwide {
        margin: 0;
    }
    
/*------------------------------------*\
    HEADER
\*------------------------------------*/
    
    .header .main-menu {
        display: none;
    }
    
    .header .nav-toggle {
        position: relative;
        margin-left: auto;
        display: block;
        z-index: 9999;
        background: transparent;
        border: none;
        cursor: pointer;
        transition: all 0.3s;
    }    
    
    .header .nav-toggle-burger:before {
        content: '';
        background: #000;
        height: 2px;
        width: 35px;
        display: block;
        position: relative;
        transition: all 0.3s;
    }
    
    .header .nav-toggle-burger:after {
        content: '';
        background: #000;
        width: 35px;
        height: 2px;
        display: block;
        margin-top: 9px;
        position: relative;
        transition: all 0.3s;
    }
    
    .home .header .nav-toggle-burger:after, .page-template-page-cover-image .header .nav-toggle-burger:after {
        
    }
    
    .header .nav-toggle.is-active .nav-toggle-burger:before {
      
    }

    
    .header .nav-toggle.is-active .nav-toggle-burger:after {
      
    }
    
/*------------------------------------*\
    NAVIGATION
\*------------------------------------*/
    
    .main-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
        background: aliceblue;
        padding: 90px 20px 25px;
    }

    .main-menu ul li {
        display: block;
        list-style: none;
        margin: 0;
    }

    .main-menu ul li a {
        display: block;
        font-size: 2.2rem;
        padding: 8px 0;
        text-decoration: underline;
    }

    .main-menu ul li.submenu-heading a {
        position: relative;
    }
    
    .main-menu ul li ul.sub-menu {
        display: none;
        position: relative;
        top: 0;
        background: transparent;
        box-shadow: none;
        margin: 1rem;
        padding: 0;
    }
    
    .main-menu ul li li a {
        font-size: 18px;
    }

    /* Inserts a drop down symbol to the submenu heading */
    .main-menu ul li.submenu-heading a:after {
        font-size: 25px;
    }

    /* Removes the same symbol for child menu items */
    .main-menu ul li.submenu-heading ul li a:after {
        display: none;
    }

    .show {
        display: block !important;
    }

    .main-menu .extra {
        display: block;
        margin-top: 30px;
    }

    .main-menu .extra span {
        font-weight: bold;
    }

/*------------------------------------*\
    FRONT PAGE
\*------------------------------------*/

.hero.slider img {
    min-height: 220px;
    object-fit: cover;
}

.home-intro {
    width: calc(100% - 40px);
    padding: 20px 0;
    margin-top: -30px;
}

.home-intro h2 {
    font-size: 3rem;
}

.home-intro h3 {
    font-size: 2rem;
}

.home-intro p {
    font-size: 1.6rem;
}
    
}


@media only screen and (max-width:992px) {
    
    body {
        font-size: 1.6rem;
    }
    
/*------------------------------------*\
    HEADER
\*------------------------------------*/
    

}

@media only screen and (max-width:768px) {

    h1 {
        font-size: 3.5rem;
    }

.header .logo img {
    height: 28px;
}

.header .booking {
    margin-left: auto;
    padding: 8px 10px;
    font-size: 1.5rem;
}

.header .nav-toggle {
    margin-left: 10px;
}

.home-intro h2 {
    font-size: 2.5rem;
}

.top-area {
    margin-top: 30px;
}

.page-intro p {
    font-size: 2rem;
}

.title-wrapper {
    margin-bottom: 30px;
}

.footer .container {
    display: block;
    margin: 0 20px;
    padding-left: 0;
}

.footer .item {
    width: 100%;
}

}


/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    ALIGNMENTS
\*------------------------------------*/

.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
