/*
Theme Name: Mannersons
Description:  
Version: 1.0
Author: Viktor Berthilson
Author URI: http://
Template: enfold
*/

#kontakt {display:none !important;}

/* Theme */

h1 {font-family: 'Palanquin', sans-serif !important; font-weight: 700 !important;}
h2 {font-family: 'Palanquin', sans-serif !important; font-weight: 700 !important;}
h3 {font-family: 'Palanquin', sans-serif !important; font-weight: 700 !important;}
h4 {font-family: 'Palanquin', sans-serif !important; font-weight: 700 !important;}



#top .flex_column_table {float:none !important;}

.widgettitle h3 {color: #00ff00 !important;}


.av-main-nav > li > a > .avia-menu-text {
   font-size: 19px !important;
   font-weight: lighter !important;
   font-family: Palanquin, sans-serif !important;
   font-weight: 300 !important; 

}

.sub-menu li a {    font-family: Palanquin, sans-serif !important;
                    font-weight: 300 !important; 
}

.main_color strong {
   color: #666666;
}



/* bakgrundsfärgen på förstasidan  */
.page-id-2 .main_color {
   background: #ffffff !important;
}

/* border under slider  */
.page-id-2 #layerslider_1 {
   border-bottom: 0px solid #1b99a3;
}

.container { padding: 0 !important; }

.av-logo-container {
   max-width:1024px !important;
}

.logo img {
   max-width:175px !important;
   margin-top:20px;
   width: 300px;
   height: 75px;
}

@media only screen and (max-width: 767px) {
   .logo img {
      max-width:200px !important;
      margin-top:20px;
      width: 200px;
      height: 50px;
   }}


#footer {
   max-width:1300px !important;
   margin:auto !important;
}



.menu-item-top-level {margin-left:20px !important;}

.av-share-link-description {display:none !important;}

.header_color .main_menu ul:first-child > #menu-item-search > a {
   font-size:25px !important;
}





@media only screen and (min-width: 768px) {
   #menu-item-321, #menu-item-1852, #menu-item-1853, #menu-item-4695, #menu-item-4754 {
      display: none;
   }
}


#top .fullsize .template-blog .post .entry-content-wrapper {
   text-align: left;
} 




@media only screen and (max-width: 767px) {
   #menu-item-search, #kontakt {
      display: none !important;
   }

   .page-id-2 .footer_color .flex_column { width: 100% !important;
                                           float: none !important;
   }

   .page-id-2 .flex_column_table { 
      margin-top:175px !important;
   }

   .page-id-2 #main .container {
      width: 100% !important;
      max-width: 100% !important;
   }}

.text-sep-date, .text-sep-cat, .blog-categories, .blog-author {display:none;}

.avia-content-slider .slide-entry-title {font-size: 1.5em !important;}



.avia-featureimage-slideshow .slideshow_caption h2 {
   text-shadow:none !important;
   color:white !important;}

#footer .widget {margin: 0 0 0 0 !important;}
#footer.container_wrap.footer_color {
   border-bottom: none!important;
   border-top: 0px solid !important;
}


.header_color .main_menu ul:first-child > #menu-item-search > a {font-size: 25px !important;}

#menu-item-search a { color: #666 !important; }


@media screen and (max-width: 600px) {
   #custom_html-2 {text-align:center !important;}
   #custom_html-7 { text-align:center !important;}
   #custom_html-6 {text-align:center !important;}
   #custom_html-5 {display:none; text-align:center !important;}
}
#zoom-social-icons-widget-2 h3 {text-align:center !important;}

.read-more {margin-top:15px;}

#top nav .social_bookmarks {top: 64% !important;}



@media only screen and (max-width: 767px){
   .responsive #top #header .social_bookmarks {
      display: inline!important;
      top:10px !important;
      right:-20px !important;
   }
}

.entry-content-wrapper{
   margin-bottom: 50px !important;
}



/* Subpages */
.emptyHeader{
   height: 250px;
}

.postImage, .postImage img{
   width: 100%;
   object-fit: cover;
   object-position: top;
   max-height: 640px;
   height: 640px;
}
.postImage>div{
   width: 100%;
}

.breadcrumb{
   font-family: 'Palanquin', sans-serif;
   text-align: center;
   font-size: 0.8em;
   text-transform: uppercase;
   font-weight: bold;
}

.headerContainer{
   margin-top: -80px;
   min-height: 80px;
   position: relative;
   background-color: #FFFFFF;
   width: 80%;
   max-width: 960px;
   margin-left: auto;
   margin-right: auto;
   padding-top: 20px;
   text-align: center;
}

.introContainer{
   font-family: 'Palanquin', sans-serif;
   width: 70%;
   font-weight: bolder;
   font-size: 1.2em !important;
   margin: auto !important;
   text-align: center;
   max-width: 660px;
}

.mainContainer{
   width: 60%;
   margin: auto;
   margin-top: 50px !important;
   float: initial;
   max-width: 760px;
}

.multiContainer{
   column-count: 2;
   column-width: 300px;
   column-gap: 4%;
   margin-bottom: 16px;
}

.page-id-69 .multiContainer{
	column-count: 3;
	column-width: 200px;
}

.multiContent{
   margin-bottom: 16px;
   break-inside: avoid;
}



/* Personnel */
.personnelList{
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(174px, 1fr));

}

.personnel{
   margin: 8px;
   overflow-wrap: break-word;
}

.headshotContainer{
   width: 100%;
}

.headshot{
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.personnelName{

}

.personnelProfession{
   color: #b08020;
}


/* Main Page */
.infoLine{
   width: 60px;
   margin: 20px auto;
   height: 4px;
   background-color: #479194;
}

.buttonContainer{
   transform: translateY(-50%);
   width: 80%;
   color: #000000;
   z-index: 1;
   border-radius: 6px;
   border-spacing: 12px;
   margin: auto;
   margin-bottom: 0px !important;
}

.selectionButton{
   border-radius: 4px;
}
.buttonIcon{
   color: #9b693e;
   font-size: 24pt;
   text-align: center;
   margin: 12px;
}
.buttonText{
   font-family: 'Palanquin';
   text-align: center;
   font-size: 14pt;
   color: #000000;
   margin: 12px;
   font-weight: 500;
}

#header_main > .container > .inner-container{
   display: flex;	
}


.news .aps-title{
   color: #000000 !important;
   text-align: left !important;
}

.news{
   margin-top: 80px;
   margin-bottom: 80px;
   font-family: 'Palanquin'
}


#aktuellt .aps-post-image{
   width: 100%;
   padding-top: 56.25%;
}
#aktuellt .adl-featured-img-link {
   position: absolute;
   top: 0px;
   height: 100%;
   border-radius: 8px;
}
#aktuellt .adl-featured-img-link > img {
   height: 100%;
   width: 100%;
   object-fit: cover;
}

#aktuellt .aps-post-info{
   background-image: linear-gradient(#00000000, #000000A0);
   color: #FFFFFF;
   width: 100%;
   border-radius: 0px 0px 8px 8px;
   padding-top: 12px;
   position: absolute;
   bottom: 0px;
}
#aktuellt .aps-post-date{
   font-size: 12pt;
   margin: 16px;
}
#aktuellt .aps-post-title{
   font-size: 16pt;
   margin: 16px;
   font-weight: 700;
}

#artiklar .aps-post-image{
   width: 100%;
   padding-top: 80%;
}
#artiklar .adl-featured-img-link {
   position: absolute;
   top: 0px;
   height: 100%;
   border-radius: 8px;
}
#artiklar .adl-featured-img-link > img {
   height: 100%;
   width: 100%;
   object-fit: cover;
}

#artiklar .aps-post-info {
   background-color: #e5ded1;
   color: #000000;
   width: 100%;
   border-radius: 0px 0px 8px 8px;
   position: absolute;
   bottom: 0px;
}
#artiklar .aps-post-title{
   font-size: 16pt;
   margin: 16px;
   font-weight: 700;
}
#artiklar .aps-post-more{
   font-size: 12pt;
   margin: 18px;
   color: #9b693e;
}



/*
Desktop Styles
================================================== */

@media only screen and (min-width: 768px) {
   /* Add your Desktop Styles here */

}



/*
Mid Styles
================================================== */

@media only screen and (max-width: 767px) {
   .mainContainer{
      width: 85%;
   }
}

/*
Mobile Styles
================================================== */
@media only screen and (max-width: 479px) {
}