/*
Theme Name: R-ettan
Description: Hemsida gjord för R-ettan
Version: 1.0
Author: Creative Works Sweden AB
Author URI: creativeworks.se
Template: r-ettan
*/


.goog-te-combo{
	float:left;
}

.goog-logo-link, .goog-logo-link:link, .goog-logo-link:visited, .goog-logo-link:hover, .goog-logo-link:active{
	color:#fff !important;
}

.goog-te-gadget{
	color:#fff !important;
	margin-top:4px;
}

.google-translator-container{
	width: calc(100% - 146px);
	position:relative;
}
#google_language_translator{
	position: absolute;
	right: 0px;
	width:200px !important;
}
.html_av-overlay-side #top #wrap_all .av-burger-overlay li a{
	padding: 15px 30px;
}
.html_av-overlay-side #top #wrap_all .av-burger-overlay li li a{
	padding-left:40px;
}

#main a, #main p{
	font-size:20px !important;
}

/*Add your own styles here:*/


#main h1, #main h2, #main h3, #main h4, #main h5, #main h6, #main .document-container .pdf-name{
	font-family: abril-text, serif !important;
	font-weight: 700;
}

#main p, #main a, #main #footer h3, #avia-menu a, input[type=button], input[type=submit]{
	font-family: mr-eaves-modern, sans-serif !important;
}

h2{
	margin:40px 0px 40px;
	
}

.logo{
	width:130px !important;
	height:auto;	
}

#av-burger-menu-ul a{
	font-size: 20px;
	font-weight: 700;
}

.sub-menu li a{
	background-color:#fff !important;
	color:#000 !important;
	border-color: #cdcdcd !important;
}
.sub-menu li a:hover{
	background-color:#cdcdcd !important;
}

.top-image{
	display:flex;
	width:100%;
	height:200px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.top-vid video{
	object-fit: cover;
}

.top-subpage{
	display: flex;
	align-items: center;
	justify-content: center;
	position:relative;
	overflow:hidden;
}
.top-subpage h1{
	display: block;
	color:#fff;
	position:relative;
	z-index:2;
}
.top-subpage .top-image-overlay{
	width:100%;
	height:100%;
	background-color: rgba(0, 0, 0, 0.1);
	position: absolute;
	z-index:1;
}
.thin-ingress{
}
.bold-ingress{
	font-weight:600;
}

.page-template-template-landingpage .narrow-content-container{
	max-width:650px;
	margin:0 auto;
}

.single-post #main .container_wrap{
	padding-bottom:80px;
}

.container.container-padding{
	padding:60px 6% !important;
	background-color: #fff;
}
.container.container-padding.landing-news{
	padding-top:0px !important;
}
.landing-news .information-posts{
	margin-top:0px !important;
}

.single-post-title{
	margin-top:10px;
}

.template-single-blog{
	padding-top:40px;
}
a.all-information{
	display: block;
	margin-bottom:20px;
	font-weight: 600;
}
#main p.single-post-date{
	margin:0px;
	font-size: 16px !important;
}

.navigation-container{
	position:relative;
	height:50px;
	margin-top:60px !important;
}

.navigation-container .nav-previous, .navigation-container .nav-next{
	position: absolute;
}
.navigation-container .nav-previous{
	left:50px;
}
.navigation-container .nav-next{
	right:50px;
}

.post-navigation img{
	width:50px;
}	

.outer-background{
	background-color: #DDDDDD;
}
#main p.call{
	font-size: 26px !important;
	font-weight: 600;
}

.centered-content h1, .centered-content p{
	text-align: center;
}
.document-container{
	display: block;
	width:170px;
	float:left;
	 margin-right:40px;
}
.document-container img{
	width:120px;
}
.documents-outer-container{
	display: flex;
	flex-direction: column;
}
.documents-container{
	display: block;
	position:relative;
	float:left;
}

.documents-container h3{
	margin-top:40px;
}

#main .document-container .pdf-name{
	font-size: 16px !important;
}

p.latest-update{
	display: block;
	width: 100%;
	float:left;
}

#custom_html-2 a{
	display: block;
	clear:left;
}
.widget_text{
	text-align: center;
}

.subpage-link-container{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.subpage-link-container > div{
	max-width:400px;
	width:100%;
}

.subpage-link-container h3{
	max-width:400px;
	margin:10px 0px;
	display: flex;
}

.subpage-link-container h3 a{
	color:#fff !important;
	background-color: #e94949;
	width:100%;
	border-radius: 50px;
	padding:10px;
	text-align: center;
	display: flex;
	justify-content: center;
	position:relative;

}
.subpage-link-container h3 a:after{
	content:'';
	display: inline-block;
	width:20px;
	height:20px;
	background-image:url('http://r-ettan.se/wp-content/uploads/2020/06/pil.svg');
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	right: 20px;
}
.logout-button{
	border-radius: 50px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 40px;
	display: block;
	margin: 0px auto 20px;
}
input[type=submit]{
	border-radius: 50px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 40px;
	display: block;	
}
#top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select{
	border-color:#FCC446 !important;
	border-radius: 10px;
	border-width: 4px;
}

#main .information-posts{
	margin-top:40px;
}

#main .information-item{
	margin-bottom:10px;
	padding:20px 120px 20px 60px;
	background-color:#FCC446 !important;
	position:relative;
}

#main .information-item .post-date{
	font-size: 14px !important;
	margin: 0px;
}

#main .information-item h2{
	margin-top:0px !important;
	margin-bottom:20px !important;
}

.information-read-more{
	display: block;
	height:36px;
	width:36px;
	background-image: url('//r-ettan.se/wp-content/uploads/2020/06/Cirkel.svg');
	background-repeat: no-repeat;
	background-size: cover;
	position:absolute;
	right:20px;
  	top: 50%;
  	transform: translateY(-50%);
}

.fact-container{
	max-width:600px;
	display: flex;
	flex-direction: column;
	margin-bottom:60px;
}
.fact-inner-container{
	display: flex;
	flex-direction: row;


}
.fact-topic{
	font-weight:bold;
	width:100px;
	margin-right:20px;
}
.images-container{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width:100%;
}

.single-image-container{
	width:190px;
	margin-right:20px;
	margin-bottom:20px;
	background-size: cover;
	background-position: top center;
}

.table-container{
    display: block;
    width:100%;
    height:auto;
    max-width:600px;
}
.table-container th{
    text-transform: none !important; 
}

.single-image-container:nth-child(4n){
	margin-right:0px;
}

.top-contact-container{
	margin-bottom:80px;
}
.single-contact-container{
    margin-bottom:60px;
}
.contacts{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.contact-container{
	margin-bottom:60px;
	min-width:183px;
}

.contact-info-category{
	font-weight: bold;
}
.contact-info-category a{
	font-weight: 400;
}

.document-policy-container{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 40px;
}
.doc-pol-container-link *{
	display: inline-block;
}
.doc-pol-container-link a,
.doc-pol-container-link p{
	font-weight: 600;
}
.doc-pol-container-link p{
	margin:0px;
	margin-bottom:4px;
}
.doc-pol-container-link{
	white-space: nowrap;
	text-decoration: none;
}
.doc-pol-container-link img{
	width:20px;
	position: relative;
	top:2px;
	margin-right:5px;
}
.doc-pol-container-link:hover{
	text-decoration: none;
}
.doc-pol-container-link:hover p{
	text-decoration: underline;
}
.doc-pol-container-link p::before{
	content:'';
	display: inline-block;
	width:20px;
	height:23px;
	position: relative;
	top:2px;
	margin-right:6px;
	background-image: url('http://r-ettan.se/wp-content/uploads/2020/06/Rettan_PDF.svg');
	background-repeat: no-repeat;
	background-size: contain;
}
#footer .av_one_third{
	margin-bottom:0px !important;
}
.footer-logo-container{
	display: block;
	width:100%;
}

.footer-logo-container .footer-logo{
	display: block;
	width:150px;
	margin:0 auto;
	padding-bottom:40px;
}

.images-container a{
	display: block;
	height:190px;
}

#avia-menu .menu-item.boka-tvattid-knapp{
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
}
#avia-menu .menu-item.boka-tvattid-knapp a,
a.boka-tvattid-knapp{
	color: #fff !important;
    background-color: #e94949 !important;
    width: auto;
	height: 30px !important;
    border-radius: 50px;
    padding: 0px 10px 0px 10px !important;
    text-align: center;
    justify-content: center;
    position: relative;
	font-size: 14px !important;
	line-height: 14px !important;
	text-transform: uppercase;
    display: flex !important;
    align-items: center;
}
.boka-tvattid-knapp a .avia-bullet{
	display: none !important;
}
.boka-tvattid-knapp a .avia-menu-fx{
	display: none !important;
}

a.boka-tvattid-knapp{
	text-decoration: none;
	max-width: 170px;
	height: 40px !important;
}

.page-id-20 a.boka-tvattid-knapp{
    display: inline-block !important;
    position: static;
    padding: 13px 20px !important;
    margin: 0px !important;
    height: auto !important;
}

/* Min-width */

@media (min-width: 600px) {

}

@media (min-width: 768px) {
	h1 br{
		display: none;
	}
	.logo{

	}	
	#top .av-main-nav{
		font-size: 16px;
	}
	.contacts{
		justify-content: flex-start;
	}
	.information-read-more{
		display: block;
		height:50px;
		width:50px;
		background-image: url('//r-ettan.se/wp-content/uploads/2020/06/Cirkel.svg');
		background-repeat: no-repeat;
		background-size: cover;
		position:absolute;
		right:20px;
	  	top: 50%;
	  	transform: translateY(-50%);
	}
}
@media (min-width: 990px) {
	#avia-menu .menu-item a, .children .menu-item a{
		font-size: 18px !important;
		font-weight: 400;
	}
	.top-image{
		height: 400px;
	}
}
@media (min-width: 1024px) {
	.subpage-link-container > div{
		max-width:395px;
	}
	.subpage-link-container > div:last-child{
		margin-right:0px;
	}
	
}

/* Max-width */
@media (max-width: 989px) {
	#av-burger-menu-ul .boka-tvattid-knapp{
		padding-left:30px;
		padding-top: 10px;
	}
	#av-burger-menu-ul .boka-tvattid-knapp a{
		color: #e94949 !important;
		background-color: #fff !important;
		width: auto;
		max-width: 170px;
		height: 40px !important;
		border-radius: 50px;
		padding: 0px 10px 0px 10px !important;
		text-align: center;
		justify-content: center;
		position: relative;
		font-size: 16px !important;
		line-height: 16px !important;
		text-transform: uppercase;
		display: flex !important;
		align-items: center;
		border: none;
		margin-top:20px;
	}
}
@media (max-width: 767px) {
	.google-translator-container{
		width:278px;
		float:left;
	}
	#google_language_translator{
		position:relative;
		margin:4px auto;
		display: block;
	}
    #main .table-container h3{
        font-size: 16px !important;
        text-transform: none;
    }
	.responsive #top #wrap_all .container {
		width: 90%;
		max-width: 90%;
	}
	.container.container-padding {
		padding: 60px 6% !important;
		background-color: #fff;
	}
	/*.responsive #top.page-template-template-information #wrap_all .container {
		width: 100%;
		max-width: 100%;
	}*/
	.contact-container{
		width:48%;
		padding:0px;
	}
	#main .information-item{
		margin-bottom:10px;
		padding:20px 60px 20px 40px;
		background-color:#FCC446 !important;
		position:relative;
	}
	.template-blog .content{
		padding:0px 25px;
		width:calc(100% - 50px) !important;
	}
	.navigation-container .nav-previous{
		left:25px;
	}
	.navigation-container .nav-next{
		right:25px;
	}
	#footer .widget{
		margin: 12px 0 2px 0;
	}
	.document-policy-container{
		display: grid;
		grid-template-columns: 1fr;
		grid-gap: 40px;
	}
}

@media (max-width: 570px) {
	#main h1{
		font-size:26px;
	}
	#main h2{
		font-size:23px !important;
	}
	#main h3{
		font-size:20px !important;
	}
	.contact-container{
		width:100%;
		padding:0px;
	}
     #main .table-container h3{
        font-size: 16px !important;
        text-transform: none;
    }
}

@media (max-width: 375px) {
	#main h1{
		font-size:22px;
	}
	#main h2, #main h3{
		font-size:20px !important;
	}
    #main .table-container h3{
        font-size: 16px !important;
        text-transform: none;
    }
}

@media (max-width: 320px) {
	#main h1{
		font-size:18px;
	}
	#main h2, #main h3{
		font-size:16px !important;
	}
	#main p, #main a{
		font-size: 16px !important;
	}
     #main .table-container h3{
        font-size: 16px !important;
        text-transform: none;
    }
}