/*   
Theme Name: Caroliner Theme
Theme URI: https://safelybackontheroad.se
Description: The official Caroliner Wordpress Theme
Author: Ola Eborn
Author URI: https://eborninteractive.se
Version: 1.0
*/

/* CSS Document */

/* 

Färger:



*/

@font-face {
    font-family: 'Proxima Nova Extra Condensed Regular';
    src: url('fonts/ProximaNovaExtraCondensedRegular.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Extra Condensed SemiBold';
    src: url('fonts/ProximaNovaExtraCondensedSemibold.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Extra Condensed Bold';
    src: url('fonts/ProximaNovaExtraCondensedBold.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Proxima Nova Extra Condensed ExtraBold';
    src: url('fonts/ProximaNovaExtraCondensedExtraBold.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
}


* {
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}

:root {
	--black: #000;
	--white: #fff;
	--darkgray: #3C3C3B;
	--blue: #005FAA;	
	--bluegray-light: #E5E6E8;
	--bluegray: #CED2D6;
	--red: #ed1b25;	
}

body {
	background:var(--white);
	color:var(--svart);
	margin:0;
	padding:0;
	font-family: 'Proxima Nova Extra Condensed Regular', Helvetica ,Arial,  sans-serif;
	line-height:1.5;
	font-size:60px;
}

.bluegray-light-back {
	color: var(--black);
	background: var(--bluegray-light);
}

.bluegray-back {
	color: var(--black);
	background: var(--bluegray);
}

.blue-back {
	color: var(--white);
	background: var(--blue);
}

.block.blue-back h2 {
	color: var(--white);
}

h1,h2,h3,h4,h5,h6 {
	text-transform: uppercase;
	color: var(--blue);
	font-family: 'Proxima Nova Extra Condensed ExtraBold';
	font-weight: normal;
}

h1,h2 {
	font-size: 110px;
	position: relative;
}

h1 span {
	position: static;
}

h1 span.line {
    background: var(--blue);
    width: 70%;
    height: 4px;
    position: absolute;
    bottom: 0px;
    left: 15%;
    bottom: -20px;
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong, h1 b, h2 b, h3 b, h4 b, h5 b, h6 b {
	font-family: 'Proxima Nova Extra Condensed Bold';
	font-weight:normal;
	color: var(--blue);
}

#page-wrap {
	width:100%;
	position:relative;
}

.inner-content {
	margin:0 auto;
	overflow:hidden;
	max-width:1400px;
	width:90%;
	position:relative;
}

header {
	background:var(--darkgray);
}

header .inner-content {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 39px 20px 42px 20px;
}


header .inner-content #logo {
	width: 235px;
}

/* top block */

.block.top-block h1 {
	line-height: 0.9 !important;
}

.block.top-block .inner-content {
	text-align: center;
	padding: 120px 0 110px 0;
}


.eventinfo-container {
	margin: 110px auto 0 auto;
	width: 100%;
	max-width: 600px;
}

.eventinfo {
	display: flex;
	border: 4px solid var(--blue);
	margin-right: 0;
}

.eventinfo div {
	padding: 6px 30px;
	border-left: 2px solid var(--blue);
	text-transform: uppercase;
	font-family: 'Proxima Nova Extra Condensed SemiBold';
	font-size: 26px;
	flex: 1;
}

.eventinfo div:first-child {
	border-left: none;
}

.btn-container {
	margin: 20px auto 40px auto;
}

a.btn {
	display: inline-block;
	padding: 6px 80px;
	background: var(--blue);
	color: var(--white);
	text-transform: uppercase;
	font-family: 'Proxima Nova Extra Condensed SemiBold';
	font-size: 34px;
	border-radius: 5px;
}

a.btn.btn-arrow span {
	background:url(images/btn-arrow.svg) no-repeat;
	width: 17px;
	height: 21px;
	display: inline-block;
	margin-left: 7px;
	background-size:contain;
}


.reddot span {
	position: relative;
}

.reddot span:before {
	content:"";
	width: 12px;
	height: 12px;
	background: var(--red);
	border-radius: 50%;
	position: absolute;
	left: -20px;
	top: 9px;
}

/* end top block */

/* grid block */
/* Grids */

.grid-container {
        display: grid;
        grid-template-columns: repeat(18,1fr);
        grid-template-rows: repeat(18,1fr);
        gap: 4px;
        height: 50vw;
        min-height: 500px;
        position: relative;
}

.item {
    position: relative;
    padding: 25px 20px 30px 30px;
    font-size: 16px;
}

.item p {
	margin-bottom: 0 !important;
}

.item h2 {
    font-size: 17px;
    font-weight: var(--bold);
    margin-bottom: 3px !important;
}

.item img {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:cover;	
}

.item1 {
    grid-area: 1 / 1 / 7 / 7;
}

.item2 {
    grid-area: 1 / 7 / 7 / 13;
}

.item3 {
    grid-area: 1 / 13 / 13 / -1;
}

.item4 {
    grid-area: 7 / 1 / -1 / 7;
}

.item5 {
    grid-area: 7 / 7 / 13 / 13;
}

.item6 {
    grid-area: 13 / 7 / -1 / 13;
}

.item7 {
    grid-area: 13 / 13 / -1 / -1;
}

/* end grids */

/* end grid block */

/* centertext block */
.centertext-block {
	text-align: center;
	margin-top: -27px;
}

.centertext-block h2 {
	opacity: 0;
	transition:1.2s all ease;
	transform: translate(0,-70px);
}

.centertext-block.showtext h2 {
	opacity: 1;
	transform: translate(0,0);
}

.block h2 {
	font-size:64px;
	max-width: 1000px;
	text-transform: none;
	font-family: 'Proxima Nova Extra Condensed Regular', Helvetica ,Arial,  sans-serif;
	color: var(--black);
	margin: 0 auto;
	line-height: 1.2 !important;
}


.block.centertext-block .inner-content {
	padding: 260px 0 290px 0;
}

/* end centertext block */

/* twocol block */
.cols {
	display: flex;
}

.cars .cols {
	min-height: 350px;
}

.col {
	width: 50%;
	padding-top: 30px;
	padding-bottom: 30px;
}

.twocolumn-block .col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.col:first-child {
	padding-right: 60px;
	border-right: 2px solid var(--black);
}

.col:last-child {
	padding-left: 60px;
}
/* end twocol block */

/* signup form block */
.signup-form {
	margin: 80px auto 0 auto;
	max-width: 1000px;
}

body .wpcf7-form-control-wrap {
	height: 32px;
	display: flex;
	flex: 1;
}

/*.home .signup-form .row {
	display: flex;
	border: 6px solid var(--white);
	margin-top: -6px;
}*/

.signup-form .row p {
	display: flex;
	border: 6px solid var(--white);
	margin-top: -6px;
	margin-bottom: 0;
	align-items: center;
	justify-content: flex-start;
}

.signup-form .row label {
	display: block;
	padding: 10px 25px;
	text-transform: uppercase;
	font-size: 34px;
	font-family: 'Proxima Nova Extra Condensed SemiBold';
	width: 160px;
	border-right: 3px solid var(--white);
	text-align: left;
}

.signup-form .row input[type=text], .signup-form .row input[type=email] {
	flex: 1;
	border: 0;
	padding: 0 20px;
	font-size: 32px;
	background: transparent;
	color:var(--white);
	font-family: 'Proxima Nova Extra Condensed Regular';
	padding-bottom: 1px;
	width: 100%;
	height: 100%;
}

.signup-form .row input:focus {
	border: none;
	outline:none;
}

.signup-form .submit-row {
	margin-top: 40px;
	display:flex;
	align-items: center;
	justify-content: center;
}

.signup-form .calicon {
	padding-right: 40px;
}

.signup-form input[type=submit] {
	background: var(--white);
	color:var(--blue);
	padding: 8px 80px 6px 80px;
	font-family: 'Proxima Nova Extra Condensed SemiBold';
	text-transform: uppercase;
	font-size: 46px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.signup-form input[type=submit]:active, a.btn:active {
	transform: scale(0.98,0.98);
}

.signup-form .submit {
	position: relative;
}

.signup-form .submit p {
	display: inline;
}


.signup-form .submit:after {
	content:url(images/submit-arrow.svg);
	position: absolute;
	top: -5px;
	right: 30px;
	width: 16px;
}

.signup-block {
	margin-top: -27px;
}

.signup-block .signup-form .submit:after {
	right: 100px;
}

.wpcf7-not-valid-tip {
    font-size: 21px;
    font-weight: normal;
    display: block;
    background: var(--white);
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1;
    padding: 4px 4px 3px 4px;
    position: absolute;
    top: -15px;
    right: 4px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 0;
    border: none;
    font-size: 31px;
    text-transform: uppercase;
}

.wpcf7-spinner:after {
    content:url(images/preloader.svg);
    opacity: 1;
    width: 24px;
    height: 24px;
    top: -40px;
    left: 0;
    position: absolute;
}

.wpcf7-spinner {
    position: absolute;
    top: 35px;
}

.wpcf7-spinner {
    background-color: transparent;
    opacity: 1;
}

.wpcf7-spinner::before {
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 6px 6px;
}
/* end signupform block */

/* two column block */
.twocolumn .inner-content {
	display: flex;
}

.twocolumn .col:first-child	{
	border-right: 2px solid var(--black);
}

.twocolumn .cars {
	margin-top: 15px;
	max-width: 600px;
}

.twocolumn .col {
	display: flex;
	flex-direction: column;
	align-items: space-between;
	justify-content: space-between;
}

.block.centertext-block.twocolumn .inner-content {
    padding: 130px 0 160px 0;
}

/* dend two column block */

span.underline {
	text-decoration: underline;
	text-decoration-thickness: 4px;
	text-underline-offset: 8px;
}

#main-content .inner-content {
	
}

.block {
	position: relative;
}

.anchor {
	position: absolute;
	top: 0;
	left: 0;
}

.block .inner-content, .centertext-block.signup-block .inner-content {
	text-align: center;
	padding: 120px 0 160px 0;
}



footer {
	background: var(--black);
	color:var(--white);
	font-size: 26px;
}

footer .inner-content {
	padding: 50px 0;
	margin: 0 auto;
	text-align: center;
}

.pin-spacer {
	background:var(--bluegray);
}

.langswitcher {
	position: absolute;
	right: 30px;
	top: -6px;
}

select {
	border: none;
	height: 38px;
	font-size: 18px;
	font-family: 'Proxima Nova Extra Condensed Regular';
	padding: 0 6px;
	border-radius:4px;
	-webkit-appearance: none;
}