/*
Theme Name: Salient KS Child Theme
Description: This is a custom child theme for Salient
Author: S Steel
Author URI:  https:simonsteel.co.uk
Template: salient
Version: 1.0
*/


#top nav{padding-bottom: 6px;}
#top #logo{font-family: 'Helvetica-Neue' !important;  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size:16px; line-height: 37px; color:#00529b !important; letter-spacing: 0.1px; font-weight:100 !important;vertical-align:middle;}
hr{border-top:none; border-color: #e1e1e1;}
.current-page-ancestor a span{color: #00529b;}
.slide-icon{max-width:35px !important; bottom: 25px;}
#front-image .row-bg{background-size: cover !important;}
#jafn-text{color:white;margin: 0; position: absolute; z-index: 99999999; bottom: -600px; right: 10px; text-shadow: 3px 4px 12px rgba(0,0,0,0.9); text-transform: uppercase;}
.img-with-aniamtion-wrap{z-index:9999 !important;}
#news-front .post .excerpt{text-align: justify !important;}
#news-front .post .post-header .title{color:#00529b;}
small{font-size: 12px;}
.subpage-nav .menu{margin-left: 0px; width:fit-content;}

.subpage-nav .sub-menu{margin-left: 17px; display:none;}
.subpage-nav .sub-menu li{border-bottom: none;}

.subpage-nav .current_page_item.menu-item-has-children .sub-menu, .current-menu-ancestor .sub-menu{display: block;}

.subpage-nav li{list-style: none; line-height: 40px; border-bottom: 1px dotted #ccc;}
.subpage-nav .current_page_item > a, #mb-nav .current_page_item > a{color:#005399 !important; font-weight:550;}

.subpage-nav .current_page_item > a:first-child::after, #mb-nav .current_page_item > a:first-child::after{
  font-family: 'FontAwesome';
  content: '\f100';
  font-size: 24px;
  margin-left: 3px;
  vertical-align: sub;
  font-weight: 300;
}
.ks-title h1{color:#005399 !important; border-bottom: 1px solid #e1e1e1;font-size:40px; margin-bottom:25px !important; font-family: 'Oswald';}

.info-box{padding:10px; font-size: 16px; padding-left:20px;}
.info-box [class^="icon-"].icon-tiny{line-height:13px; font-size:20px;}
.info-box .fa-phone{margin-top: 1px; transform: rotate(23deg);}

.frm_pro_form .form-field{margin-bottom: 1.5em;}
.frm_pro_form button{min-width:250px;}
.frm_pro_form .frmsvg{max-width:5%; display:block; margin: 0 auto;}
.frm_dropzone.frm_single_upload{width: 100%; max-width: 100%;}

.meta-category{display:none;}
.article-content-wrap{padding: 6% !important;}
.row .col img {min-width: 100%;}
.table-striped thead tr{background-color:#005399ad !important; color:white; font-size: 14px;}
.table-striped thead tr th{border: none !important;font-size:16px !important; font-weight:normal !important;}
.table-striped tbody tr:nth-child(2n) {
  background-color: #e4ebff9c !important;
}
.table-striped a i{ margin: 0 auto; display: block; text-align: center; margin-right: auto !important; font-size:20px !important;}
.table-striped tbody tr td:first-of-type{font-family: Helvetica, Arial, Sans-Serif; font-size: 16px;}
.table-striped td{vertical-align: middle !important; border: none !important;}
.ks-thumbs {padding: 0 15px;}
.wpb_tabs_nav{margin-bottom:40px !important;}
#logo-ft::before{font-family: 'icomoon'; content:'\e604'; font-size: 60px; padding-bottom: 40px; width:100%; display:block;}

#block-18{width: fit-content; margin: 0 auto;}

#block-22{padding:0 20px}

.wide{width:100%; max-width:500px;}

.post .post-content p{font-size: 18px;}

.no-comments{visibility: hidden;}
.no-comments:before{content: "Engin ummæli"; visibility: visible;}

.tabbed p{text-align:justify; font-size: 16px;}

.tabbed ul{font-size:16px; line-height:30px;} 

.label{background:#005399ad !important; color: white !important;}
.label div{font-size:16px !important; font-weight:normal !important;}
.staff-member{width:100%; display: flex; gap: 1%; font-size: 16px; padding: 10px 7px; margin:0 auto;}
.staff-member:nth-child(odd){background: #e4ebff9c;}
.staff-member .name{font-weight:450; font-family: Helvetica, Arial, Sans-Serif; margin-left: 5px;}
.staff-member .name, .staff-member .title{width: 20%; display: inline-block; flex:2;}
.staff-member .title{ font-size:14.5px;}
.staff-member .phone, .staff-member .mobile{flex:1; text-align: center;}
.staff-member .email{flex:0.75; text-align: center;}
.staff-member .email a i:before{font-size:25px !important; line-height: 10px; color: #00529b;}

@media only screen and (max-width: 700px) {
	.stafflist{margin-top:80px;}
	.stafflist::before{position: absolute; top: -40px; width: 100% !important; background: #005399ad !important; content:"Starfsfólk"; color: white; text-align: center; font-size:20px; padding: 6px 0px;}
	.label{display: none !important;}
	.staff-member{flex-direction:column; display: block; position: relative; padding:30px 0px;}
	.staff-member .name{width:100%; text-align: center; font-size:20px;}
	.staff-member .title{text-align:center; width: 100%; position: absolute; top:56px; left: 0;}
	.staff-member .phone{width: fit-content; margin: 0 auto; margin-top:40px;}
	.staff-member .mobile{width:fit-content; margin: 0 auto; margin-top:15px;}
	.staff-member .email{margin-top:20px;width:100%; font-size:40px !important;}
}

#block-18 .location::before{font-family: 'linecons'; content:'\e627';}
#block-18 .location{font-size:15px;}
input[type="submit"]{min-width:250px;}
.country-tabs ul .tab-item:nth-of-type(1){	background: url(/wp-content/uploads/2023/11/iceland.png);}
.country-tabs ul .tab-item:nth-of-type(2){	background: url(/wp-content/uploads/2023/11/polish-1.png);}
.country-tabs ul .tab-item:nth-of-type(3){	background: url(/wp-content/uploads/2023/11/UK.png);}
.country-tabs ul .tab-item{background-size: 30px !important; background-repeat: no-repeat !important; background-position: center !important;}
.country-tabs ul .tab-item span{visibility:hidden;}
#footer-widgets h5{margin-bottom:8px !important;}
#front-image{height: 600px; position: relative;}
#front-image .row-bg{background-position: center center !important;}

#footer-outer[data-using-bg-img="true"][data-bg-img-overlay="0.9"]::after {
  opacity: 0.95 !important;
}

@media (max-width: 480px) {

	}

@media (max-width: 689px) {
	#footer-widgets, #copyright{text-align: center;}
	input[type="submit"]{width:100%;}
	.frm_pro_form button{width:100%;}
	#top #logo{font-size: 13px;}
}
@media (min-width: 690px) and (max-width: 999px) {
	#footer-widgets .container .row .span_4:last-child{width:100%;}	
	#block-18{width: 50%; margin: 0;}
	.blog-recent{max-width: 550px; margin: 0 auto;}
	.ks-thumbs {max-width: 550px !important; margin: 0 auto;}
}
@media (max-width: 999px){
	#front-image{max-height:300px !important;}
}

	}
	body[data-header-resize="1"] .container-wrap, body[data-header-resize="1"] .project-title{padding-top:80px;}
	#mb-nav #menu-starfsemi-clone li{display: none;}
	#mb-nav{background-color: #226aa6a1; position: fixed; height: 50px; top: auto; margin-top:17px; width: 100%; left: 0; z-index: 99999; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);   
  }
	#mb-nav{cursor: pointer;}
	#mb-nav::before{content: "Valmynd ㊂"; color: white; text-align: center; width: 100%; display: inline-block; line-height: 50px; font-size: 17px; }
	#menu-starfsemi-clone li{background-color: #fdfdfdd4; padding-left: 25px; line-height:40px;-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);}
	#menu-starfsemi-clone{ max-height: calc(100vh - 120px);overflow-y: scroll; height: fit-content; margin-left: 0; margin-bottom: 0;}
	#menu-starfsemi-clone .sub-menu li{background:transparent !important}
	#menu-starfsemi li:last-of-type{border-bottom: 10px solid  #226aa6a1;} 
}
@media (min-width: 1000px){
#footer-widgets p{margin-bottom:20px !important;}
	#mb-nav{display:none;}
}