/**
Theme Name: Silvanderson
Author: Magnus Holmgren
Author URI: https://effectsoft.se
Description: Silvanderson - Astra child theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silvanderson
Template: astra
*/

/* 
 BREAKPOINTS 
> 1200 px Screen 130
< 1200 px Tablet 120
< 767 px Mobil 95
*/


/* Lato fonts */
@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
body {
	font-family: 'Lato'!important;
	color: #505751;
	--ast-global-color-0: #ffffff!important;
    --ast-global-color-1: #006255!important;
    --ast-global-color-2: #ffffff!important;
    --ast-global-color-3: #505751!important;
    --ast-global-color-4: #ffffff!important;
    --ast-global-color-5: #ffffff!important;
    --ast-global-color-6: #278B7E8F!important;
    --ast-global-color-7: #F2F3F3!important;
    --ast-global-color-8: #E85719!important;
}

h1,h2,h3,h4,h5{
	color: #006255;
}

/* Header and Menu */
.site-header {
    border-bottom-width: 2px;
    border-bottom-color: #006255;
    border-bottom-style: solid;
}
.main-header-bar {
    border:none;
}
ul.main-header-menu{
	font-weight: 600;
}
ul.main-header-menu .current-menu-item a:after {
    content: '';
    width: 40%;
    position: absolute;
    left: 30%;
    bottom: 20%;
    border-width: 0 0 2px;
    border-style: solid;
}

ul.sub-menu a {
	font-size: 18px!important;
}
ul.sub-menu a:after{
	content: none!important;
}

.ast-grid-right-section {
    justify-content: flex-start;
}

.site-primary-header-wrap .ast-builder-grid-row {
	grid-template-columns: 33% 66%;
}

.ast-search-menu-icon .search-field {
	border:initial;
	background-color:initial;
}

.ast-header-search .astra-search-icon {
    font-size: 25px;
}

@media screen and (max-width: 1200px) {
	.main-header-menu .menu-link, .main-header-menu>a {
		padding: 0 0.5em
	}
}
@media screen and (max-width: 921px) {
	.site-primary-header-wrap .ast-builder-grid-row {
		grid-template-columns: auto auto;
	}
	.ast-grid-right-section {
		justify-content: flex-end;
	}
	.current-menu-item a {
		color: #E85719!important;
		font-weight:bolder;
	}
	.current-menu-item a:after {
		content: none;
	}
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    width: 40px;
    height: 40px;
}
.slide-search.ast-dropdown-active form {
	border: solid 1px #006255;
}

/* HOME PAGE */

/* Call to action */
.home-cta-container h2 {
	font-weight: bolder;
	font-style: normal;
	font-size:42px;
}
.home-cta-container {
	padding-top: 8%!important;
    padding-right: 5%!important;
    padding-bottom: 8%!important;
    padding-left: 5%!important;	
}
.btn-inverted a {
	border: solid 1px #E85719!important;
    background-color: #fff!important;
    color: #006255!important;
	box-shadow: 0px 3px 6px #00000030!important;
}
.btn-inverted a:hover {
	color: #E85719!important;
	box-shadow: 0px 6px 8px #00000045!important;
}
@media screen and (min-width: 768px) {
    	.home-cta-container {
			background: linear-gradient(90deg, #ffffff 65%, #006255 0%);
	}
}
@media screen and (max-width: 767px) {
	.home-cta-container h2 {
		text-align: center;
	}
}
/* Texts */
.home .entry-content p {
    margin-bottom: 0px!important;
}

/* Pelsis Group */
.pelsis-group-container figure {
	box-shadow: 0px 3px 6px #00000030!important;
}
.pelsis-group-container figure:hover {
	box-shadow: 0px 6px 8px #00000045!important;
}
@media screen and (max-width: 767px) {
	.pelsis-group-container img {
		min-width: 85px;
		max-width: 95px;
	}
}
@media screen and (min-width: 768px) {
	.pelsis-group-container img {
		min-width: 85px;
		max-width: 120px;
	}
}
@media screen and (min-width: 1200px) {
	.pelsis-group-container img {
    	min-width: 85px;
    	max-width: 130px;
	}
}

/* Retail Catalogue */
.retail-catalogue-img-container {
	padding-top:0;
	padding-right:0;
	padding-bottom:0;
	padding-left:0;
}
@media screen and (min-width: 921px) {
	.retail-catalogue-img-container {
		min-height:600px;
	}
}
.retail-catalogue-img-container img {
	object-position:50% 20%;
}

/* Contact us */
.contact-home h2,
.contact-home label,
.contact-home .wpforms-field-limit-text {
	color: #ffffff;
}
.contact-home input[type=text],
.contact-home input[type=email],
.contact-home textarea {
	background-color: #278B7E8F;
	border-radius: 5px;
	color:#fff;
}
.contact-home input:focus,
.contact-home textarea:focus,
.contact-home input[type=submit]:hover {
	border: 1px solid #ffffff!important;
	color:#fff;
}

.contact-home button[type=submit] {
	border-radius:35px!important;
	background-color: #E85719;
	width:98%;
	transition: all 0.3s ease-in-out;
}

.contact-home button[type=submit]:hover{
	transform: scale(1.04);
}
.contact-home textarea {
	height:10em;
}

.contact-home .wpforms-submit-container {
	text-align: center;
}
.contact-home input::placeholder,
.contact-home input::-webkit-input-placeholder,
.contact-home input:-moz-placeholder,
.contact-home input::-moz-placeholder,
.contact-home input:-ms-input-placeholder,
.contact-home input::-ms-input-placeholder {
	color: #fff;
}

/* Footer */
footer,
h5,
.ast-footer-copyright {
	background-color: #006255;
	color: #ffffff!important;
}
.ast-footer-copyright img {
	max-width: 100px;
	margin-left:10px
}

/* HELPERS */
.radius-35px,
.radius-35px img,
.radius-35px a{
	border-radius:35px!important;
}

.dark-bkg{
	background-color: var(--ast-global-color-7);
}