.s-container { width: 100%; margin: 0px auto; position: relative; height: auto; }
.s-row.display-flex { display: flex; flex-wrap: wrap; }
.s-row.display-flex > [class*='col-'] { display: flex; flex-direction: column; }
.s-row { margin: auto; margin: auto -10px; }
.s-title { font-size: 16px; text-align: left; display: block; font-weight: bold; margin: 10px 20px; }
.sis-text { position: relative; color: #665c5c; text-align: justify; margin: auto 20px; margin-bottom: 50px; line-height: 24px; font-size: 13px; }
.img-link { display: none; font-size: 20px; color: blue; font-family: sans-serif; text-align: center; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; height: 50px; cursor: pointer;/*text-decoration: none;*/ }
.s-cont { text-align: center; padding: 0px !important; }
.read-link { text-align: center; display: block; font-size: 13px; }
.s-grid-in { height: 100%; align-content: flex-start; display: grid; background: #fff; -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25); -ms-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25); -o-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25); box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25); overflow: hidden; position: relative; }
.s-grid-in:hover { }
.s-grid-in a { color: #000; text-decoration: none; }
.s-grid-in a:hover { color: blue; text-decoration: none; }
.s-grid-1-5, .s-grid-1-4, .s-grid-1-3, .s-grid-1-2, .s-grid-1-1, .s-grid-1-3-4 { margin: 0 auto; padding: 10px; position: relative; }

/* Global Styling */
.sis-image { width: auto; height: 100%; overflow: hidden; background-repeat: no-repeat; background-size: cover; background-position: center; height: 300px; }
.prnt { background-position: center; position: relative; display: inline-block; cursor: pointer; width: 100%; background-size: cover; background-repeat: no-repeat; height: 100%; transition-duration: 1s; }
.prnt:hover { -ms-transform: scale(1.2); -moz-transform: scale(1.2); -webkit-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2); -webkit-transition: all 1s; -moz-transition: all 1s; -o-transition: all 1s; transition: all 1s; }
.sis-overlay { position: absolute; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.4); overflow: hidden; width: 100%; height: 100%; -webkit-transform: scale(0); transition: .3s ease; -ms-transform: scale(0); -ms-transition: .3s ease; }
.sis-image:hover .sis-overlay { transform: scale(1); -ms-transform: scale(1); }
.text { color: white; font-size: 20px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); text-align: center; }
.aw-fa { padding: 10px; margin: 5px; background: #fff; color: #000000 !important; border-radius: 25px; }
.bg-content { padding: 0px; text-align: center; z-index: 2; position: relative; color: #fff; }
.my-bg { position: relative; background: #d1bfbf; overflow: hidden; }
.my-bg:before { content: ' '; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.4; background-image: url('/wp-content/uploads/2018/10/Installasjon-av-smarthus-løsninger-Service-i-næringsbygg.jpg'); background-repeat: no-repeat; background-position: 50% 0; -ms-background-size: cover; -o-background-size: cover; -moz-background-size: cover; -webkit-background-size: cover; background-size: cover; background-attachment: fixed; filter: blur(5px); }
.my-bg2 { position: relative; background: #E12516; overflow: hidden; }
.my-bg2:before { content: ' '; display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.4; background-image: url('/wp-content/uploads/2018/03/bg-001.jpg'); background-repeat: no-repeat; background-position: 50% 0; -ms-background-size: cover; -o-background-size: cover; -moz-background-size: cover; -webkit-background-size: cover; background-size: cover; background-attachment: fixed; }
.nor-cont { position: relative; text-align: center; top: 50%; transform: translateY(-50%); z-index: 1; color: #fff; width: 400px; margin: 0 auto; background: rgb(0, 0, 0, 0.5); padding: 10px; border-radius: 2px; box-shadow: 1px 0px 5px #dbc4c4; }
.nor-img { height: 300px; width: 100%; background-size: cover; background-position: center }
.nor-title { color: #fff; font-size: 20px; font-weight: bolder }
.nor-content { color: #fff }
.butt { background-color: #4CAF50; border: none; color: #fff; text-align: center; text-decoration: none; font-size: 16px; border-radius: 5px; transition-duration: .4s; cursor: pointer; height: 100px; width: 100px; padding: 10px 0; margin: 20px auto; }
.butt-1 { background: transparent; color: #000; border: 1px solid #605d59; z-index: 0; position: absolute; }
.butt-1:hover { background-color: #686560; color: #fff }
.size { font-size: 20px; color: #e77413; align-self: center; }
.size:hover { font-size: 20px; color: #fff }
.sis-button { background-color: #d32800; border: none; color: #fff; padding: 10px 30px; text-align: center; text-decoration: none; display: inline-block; font-size: 13px; transition-duration: .4s; cursor: pointer; border-radius: 2px; }
.sis-button:hover { background-color: #ff3000; color: #fff; }
.sis-post-button { background-color: #ffa602; border: none; color: #fff; padding: 5px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 13px; transition-duration: .4s; cursor: pointer; border-radius: 2px; font-weight: bold; margin: 10px; border: solid 2px #ffa602; float: left; }
.sis-post-button:hover { background-color: transparent; color: #ffa602; border: solid 2px #ffa602; }
.about-img { height: 100%; width: auto; object-fit: cover; box-shadow: 10px 10px 0 #efefef; }
.sis-about-button { background-color: #ef4836; border: none; color: #fff; padding: 10px 50px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 30px 0 0 0; transition-duration: .4s; cursor: pointer; border-radius: 50px; font-weight: bold; }
.sis-about-button:hover { color: #efefef; background: #212121; }
.sis-normal-button { background-color: rgba(255, 255, 255, 0.6); border: none; color: #000; padding: 10px 50px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 10px 5px; transition-duration: .4s; cursor: pointer; border-radius: 2px; font-weight: bold; border: solid 2px rgba(255, 255, 255, 0.6); }
.sis-normal-button:hover { color: #fff; border: solid 2px #fff; background: transparent; }
.sis-about-col { background: transparent; align-self: center; height: 100%; }
.sis-about-title { text-align: left; font-size: 32px; margin: 0 0 20px 0; display: none; }
.sis-about-content { text-align: justify; line-height: 24px; }
.sis-grid-button { border: none; outline: 0; display: inline-block; padding: 8px; color: #fff; background-color: #9097f4; text-align: center; cursor: pointer; width: 100%; font-size: 13px; position: absolute; bottom: 0 }
.sis-grid-button:hover { background-color: #e7e7e7 }
.top-corner { width: 0; height: 0; border-top: 50px solid #efefef; border-right: 50px solid transparent; position: absolute; }
.i-cont { font-size: 15px; color: #fff; padding-left: 55px; margin: 0; margin: 20px auto; }
.s-social-button a, .s-social-button a:hover { color: #fff !important; }
.s-social-button { background-color: #ea1810; border: none; color: #fff; padding: 2px 5px; text-align: center; text-decoration: none; display: inline-block; text-transform: none; margin: 5px 2px; transition-duration: .4s; cursor: pointer; border-radius: 2px; }
.s-social-button:hover { background-color: #ed2839; color: #fff; text-decoration: none; }
.state { position: absolute; top: 0; left: -100vw; }
.state:checked ~ .content { -webkit-transform: none; -ms-transform: none; transform: none; }
.state:checked ~ .backdrop { bottom: 0; opacity: 1; z-index: 1; }
.sis-lightbox { position: fixed; top: 20%; right: 0; left: 0; height: 0; padding: 0 20px; z-index: 999; }
.sis-lightbox .content { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; overflow: hidden; position: relative; z-index: 2; max-width: 500px; max-height: 95vh; margin: 20px auto; padding: 20px; background: #847070; -webkit-transform: translateY(-750%); -ms-transform: translateY(-750%); transform: translateY(-750%); -webkit-transition: 0.3s -webkit-transform ease-in-out; transition: 0.3s transform ease-in-out; border: 1px solid rgba(0, 0, 0, 0.1); }
.sis-lightbox .sis-header, .sis-lightbox .sis-footer { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; }
.sis-header img { height: auto; width: 100%; max-width: 450px; max-height: 375px; }
.sis-lightbox .sis-header .h, .sis-lightbox .sis-footer .h { margin: 0; }
.sis-lightbox .sis-header .button:not(:first-child), .sis-lightbox .sis-footer .button:not(:first-child) { margin-left: auto; }
.sis-lightbox .sis-header { padding-bottom: 0px; display: flex; margin: auto; -moz-box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5), 0px 2px 10px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5), 0px 2px 10px rgba(0, 0, 0, 0.5); box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5), 0px 2px 10px rgba(0, 0, 0, 0.5); }
.sis-lightbox .sis-footer { padding-top: 20px; }
.sis-lightbox .main { -webkit-box-flex: 1; -webkit-flex-grow: 1; -ms-flex-positive: 1; flex-grow: 1; overflow: scroll; }
.sis-lightbox .backdrop { position: fixed; z-index: -1; top: 0; right: 0; bottom: 100%; left: 0; opacity: 0.5; background: rgba(0, 0, 0, 0.3); -webkit-transition: 0.3s opacity ease-in-out; transition: 0.3s opacity ease-in-out; }
.page-numbers { border: solid 1px aqua; padding: 10px 15px; background: #808080; color: #fff; }
.page-numbers:hover { background: #d32800; text-decoration: none; }
.s-pagination a { text-decoration: none; color: #fff !important; }
.s-pagination { margin: 15px auto; }
.s-pagination span { background: #000000; }
.sis-sis-header img { max-width: 100%; max-height: 425px; -moz-box-shadow: 0px 2px 5px rgba(122, 97, 97, 0.5), 0px 2px 3px rgba(144, 119, 119, 0.5); -webkit-box-shadow: 0px 2px 5px rgba(122, 97, 97, 0.5), 0px 2px 3px rgba(144, 119, 119, 0.5); box-shadow: 0px 2px 5px rgba(122, 97, 97, 0.5), 0px 2px 3px rgba(144, 119, 119, 0.5); }
.sis-news-main { display: flex; flex-wrap: wrap; }
.sis-news-textarea { text-align: left; padding: 0 20px; width: 66.666%; }
.sis-header img { width: 100%; }
.sis-cd { display: inline-block; width: 100%; }
.sis-cd .sis-icon { display: flex; align-items: center; padding: 10px; margin-bottom: 15px; color: gray; border: solid 1px #6c6565; font-weight: 600; transition-duration: .5s; }
.sis-cd:hover .sis-icon { color: #fff; background: gray; border: solid 1px #6c6565; transition-duration: .5s; letter-spacing: 2px; }
.sis-cd .sis-icon-btn { background-color: transparent; width: 50px; text-align: center; font-size: 30px; border-radius: 0px; margin-right: 10px; color: #ffa602;	/*border: solid 1px #ffa602;*/ height: 50px; display: grid; align-content: center; font-weight: 600; transition-duration: .5s; }
.sis-cd a { }
.sis-cd:hover .sis-icon-btn { -webkit-transform: scale(1.5); transform: scale(1.5); color: #fff; }
.prnt img, .sis-news-image img { object-fit: cover; width: 100%; height: 100%; }
.sis-news-textarea a:hover { color: #d32800 !important; }

/*---------------*/

/***** port *****/

/*---------------*/

.s-port { position: relative; text-align: center; }
.s-port portfolio { position: relative; overflow: hidden; max-height: 360px; background: #a7ccd8; text-align: center; cursor: pointer; width: 100%; height: 400px; }
.s-port portfolio img { position: relative; display: block; min-height: 100%; max-width: 100%; opacity: 0.8; height: 100%; width: 100%; object-fit: cover; }
.s-port portfolio portcaption { padding: 2em; color: #fff; text-transform: uppercase; font-size: 1.25em; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.s-port portfolio portcaption::before, .s-port portfolio portcaption::after { pointer-events: none; }
.s-port portfolio portcaption, .s-port portfolio portcaption > a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.s-port portfolio portcaption > a { z-index: 1000; text-indent: 200%; white-space: nowrap; font-size: 0; opacity: 0; }
.s-port portfolio h2 {
text-transform: none; }
.s-port portfolio h2 span { font-weight: 800; }
.s-port portfolio h2, .s-port portfolio p { margin: 0; }
.s-port portfolio p { letter-spacing: 1px; font-size: 68.5%; }
portfolio.effect-port portcaption::before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: -webkit-linear-gradient(top, rgba(72, 76, 97, 0) 0%, rgba(72, 76, 97, 0.8) 75%); background: linear-gradient(to bottom, rgba(72, 76, 97, 0) 0%, rgba(72, 76, 97, 0.8) 75%); content: ''; opacity: 0; -webkit-transform: translate3d(0, 50%, 0); transform: translate3d(0, 50%, 0); }
portfolio.effect-port h2 { position: absolute; top: 50%; left: 0; width: 100%; color: #fff; -webkit-transition: -webkit-transform 0.35s, color 0.35s; transition: transform 0.35s, color 0.35s; -webkit-transform: translate3d(0, -50%, 0); transform: translate3d(0, -50%, 0); }
portfolio.effect-port portcaption::before, portfolio.effect-port p { -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; }
portfolio.effect-port p { position: absolute; bottom: 0; left: 0; padding: 2em; width: 100%; opacity: 0; -webkit-transform: translate3d(0, 10px, 0); transform: translate3d(0, 10px, 0); text-transform: none; }
portfolio.effect-port:hover h2 { color: #fff; -webkit-transform: translate3d(0, -50%, 0) translate3d(0, -40px, 0); transform: translate3d(0, -50%, 0) translate3d(0, -40px, 0); }
portfolio.effect-port:hover portcaption::before, portfolio.effect-port:hover p { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }

/*---------------*/

/***** grid *****/

/*---------------*/

.sis-grid { display: inline-block; text-align: center; position: relative; }
.sis-grid figure { overflow: hidden; margin: 0; position: relative; }
.sis-grid a:hover { text-decoration: none; }
.sis-grid img { display: block; width: 100%; height: 250px; object-fit: cover; opacity: 0.95; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: scale3d(1.05, 1.05, 1); transform: scale3d(1.05, 1.05, 1); }
.sis-grid:hover img { -webkit-transform: scale(1.3); transform: scale(1.3); }
.sis-grid figcaption::before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.15); content: ''; -webkit-transition: -webkit-transform 0.6s; transition: transform 0.6s; -webkit-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -100%, 0); transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -200%, 0); }
.sis-grid:hover img { opacity: 0.6; -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); }
.sis-grid:hover figcaption::before { -webkit-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 100%, 0); transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 200%, 0); }
figure.grid-in { background: #2e5d5a; }
figure.grid-in img { max-width: none; width: -webkit-calc(100% + 60px); width: calc(100% + 60px); opacity: 1; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(-30px, 0, 0) scale(1.12); transform: translate3d(-30px, 0, 0) scale(1.12); -webkit-backface-visibility: hidden; backface-visibility: hidden; height: 300px; object-fit: cover; }
figure.grid-in:hover img { opacity: 0.5; -webkit-transform: translate3d(0, 0, 0) scale(1); transform: translate3d(0, 0, 0) scale(1); }
figure.grid-in h2 { position: absolute; right: 0; bottom: 0; padding: 1em 1.2em; color: #fff; text-shadow: 2px 2px 2px #212121; }
figure.grid-in p { padding: 0 10px 0 0; width: 50%; border-right: 1px solid #fff; text-align: right; opacity: 0; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(-40px, 0, 0); transform: translate3d(-40px, 0, 0); font-size: 13px; }
figure.grid-in:hover p { opacity: 1; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
figure span { padding: 2em; color: #fff; text-transform: uppercase; font-size: 1.25em; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
figure span::before, figure span::after { pointer-events: none; }
figure span, figure span > a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
figure span > a { z-index: 1000; text-indent: 200%; white-space: nowrap; font-size: 0; opacity: 0; }
#myImg { border-radius: 5px; cursor: pointer; transition: 0.3s; }
#myImg:hover { opacity: 0.7; }

/* The Modal (background) */
.modal { display: none; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ padding-top: 100px; /* Location of the box */ left: 0; top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0, 0, 0); /* Fallback color */ background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */ }

/* Modal Content (image) */
.modal-content { margin: auto; display: block; width: 80%; max-width: 700px; }

/* Caption of Modal Image */
#caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; height: 150px; }

/* Add Animation */
.modal-content, #caption { -webkit-animation-name: zoom; -webkit-animation-duration: 0.6s; animation-name: zoom; animation-duration: 0.6s; }
@-webkit-keyframes zoom {
	from { -webkit-transform: scale(0) }
	to { -webkit-transform: scale(1) }
}
@keyframes zoom {
	from { transform: scale(0) }
	to { transform: scale(1) }
}

/* The Close Button */
.close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; }
.close:hover, .close:focus { color: #bbb; text-decoration: none; cursor: pointer; }
.sis-social { font-size: 18px !important; width: 35px; text-align: center; text-decoration: none; margin: 5px 2px; height: 35px; align-content: center; border-radius: 50px; display: grid !important; }
.sis-social:hover { opacity: 0.7; }
.sis-social-prnt .fa-facebook { background: #3B5998; color: white; }
.sis-social-prnt .fa-twitter { background: #55ACEE; color: white; }
.sis-social-prnt .fa-google-plus { background: #dd4b39; color: white; }
.sis-social-prnt .fa-linkedin { background: #007bb5; color: white; }
.sis-social-prnt .fa-youtube { background: #bb0000; color: white; }
.sis-social-prnt .fa-instagram { background: #125688; color: white; }
.sis-social-prnt .fa-pinterest { background: #cb2027; color: white; }
.sis-social-prnt .fa-snapchat-ghost { background: #fffc00; color: white; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; }
.sis-social-prnt .fa-skype { background: #00aff0; color: white; }
.sis-social-prnt .fa-android { background: #a4c639; color: white; }
.sis-social-prnt .fa-dribbble { background: #ea4c89; color: white; }
.sis-social-prnt .fa-vimeo { background: #45bbff; color: white; }
.sis-social-prnt .fa-tumblr { background: #2c4762; color: white; }
.sis-social-prnt .fa-vine { background: #00b489; color: white; }
.sis-social-prnt .fa-foursquare { background: #45bbff; color: white; }
.sis-social-prnt .fa-stumbleupon { background: #eb4924; color: white; }
.sis-social-prnt .fa-flickr { background: #f40083; color: white; }
.sis-social-prnt .fa-yahoo { background: #430297; color: white; }
.sis-social-prnt .fa-soundcloud { background: #ff5500; color: white; }
.sis-social-prnt .fa-reddit { background: #ff5700; color: white; }
.sis-social-prnt .fa-rss { background: #ff6600; color: white; }
.read-mer { position: absolute; bottom: 10px; left: 10px; background: #017bc3; width: calc(100% - 20px); overflow: hidden; }
.read-mer p { margin: 0; margin-left: 20px; font-size: 13px; padding: 10px 0; color: #fff; }
.read-mer .fa { transition-duration: .5s; margin-left: 5px; color: #017bc3; position: absolute; right: 70%; z-index: 999; }
.pgrid:hover .read-mer p { }
.pgrid:hover .fa { right: 20px; visibility: visible; color: #fff; }
.read-mer .read-in { display: flex; align-items: center; position: relative; }
.pgrid:hover .read-in { }
.read-mer .arrow { width: 100px; height: 100px; position: absolute; right: -90px; bottom: -80px; background: #a1a1a1; transform: rotate(-45deg); transition-duration: .5s; }
.pgrid:hover .arrow { right: -50px; bottom: -50px; }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width:700px) {
	.modal-content { width: 100%; }
}
@media (max-width:550px) {
	.sis-news-image { height: 200px; }
	.sis-news-textarea { width: 100%; }
}

/* Media Queries */
@media (max-width:991px) {
	.about-img { height: 300px; }
	.nor-cont { width: 100%; }
	.s-grid-1-5, .s-grid-1-4, .s-grid-1-3, .s-grid-1-2, .s-grid-1-1, .s-grid-1-3-4 { width: 100%; }
}
@media (min-width:992px) {
	.s-grid-1-5 .s-grid-1-4 .s-grid-1-3 .s-grid-1-2 .s-grid-1-1 .s-grid-1-3-4 { float: left; }
	.s-grid-1-1 { width: 100%; }
	.s-grid-1-2 { width: 50%; }
	.s-grid-1-3 { width: 33.333%; }
	.s-grid-1-4 { width: 25%; }
	.s-grid-1-5 { width: 20%; }
	.s-grid-1-3-4 { width: 75%; }
}
