/*
 Theme Name:   Tulipallotyöryhmän Entrance-Child Theme
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Tulipallotyoryhman Entrance-Child Theme
 Author:       Jaakko Visuri, Ursa ry
 Author URI:   http://www.ursa.fi
 Template:     entrance
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  ursa
*/

@import url("../entrance/style.css");


/*
#################################################
DOMAIN-NAVIGATION ASETUKSET
#################################################
*/
#domain-navigation {
	/*position: fixed;
	top: 0px;
    height: 30px;
	width: 100%;
	background-color: #FFFFFF;
    margin: 0 auto 0 auto;
	z-index:1000;
	border-top: solid 1px #FFFFFF;*/  /*TÄMÄ AKTIIVISEKSI KUN KONSERNIPALKKI JÄÄDYTETTÄÄN YLÄREUNAAN*/
	
	z-index:1000;
    height: 120px;
	background-color: #FFFFFF;
    margin: 1px auto 0 auto;
	min-width: 100%;
}
.dom-nav-upper, .dom-nav-lower, .dom-nav-header{
	width: 100%;
}
.dom-nav-upper{
	box-shadow: 0px 2px 10px -5px #666666;
}
.dom-box{
	height: 60px;
	max-height: 60px;
	max-width: 1296px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.company-logo{
	display: inline-block;
	width: 144px;
	height: 60px;
	float: left;
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
}
.company-logo a img{
	width: 90px;
	height: auto;
	position: relative;
	top: 15px;
	left: 15px;
}

.dom-links{
	height: 60px;
	width: 446px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: inline-flex;
	vertical-align: top;
}
.dom-links .section-panel{
	display: inline-flex;
}
.dom-links a{ 
	text-align: center;
    display: table-cell;
	vertical-align: middle;
    height: 23px;
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
	color: black;
	font-size: 1.3rem;
	font-weight: 600;
}
.dom-links .section-panel{ 
	text-align: center;
    display: table-cell;
	vertical-align: middle;
    height: 60px;
	margin-left: auto;
	margin-right: auto;
	color: black;
	font-size: 1.3rem;
	font-weight: 600;
}
.domain-join{
	height: 60px;
	display: inline-block;
	float:right;
	width: 144px;
	vertical-align: middle;
}
.join-button{
	font-weight: 600;
	position: relative;
	top: 13px;
	color: white;
	height: 34px;
	width: 116px;
	border: solid white 3px;
	border-radius: 6px;
	background-image: linear-gradient(90deg, #1f1f7a, #000000);
}
.domain-join .join-button a{
	color: #FFFFFF;
}

.company-empty{
	display: inline-block;
	width: 144px;
	height: 60px;
	float: left;
}
.dom-links.navi{
	width: 685px;
}
.dom-nav-header{
	width: 100%;
	height: 200px;
	background-image: url('77.png');
	background-size: cover;
	background-position: 80% 50%;
	background-repeat: no-repeat;
}
.dom-box.header{
}
.dom-links.navi a{
	font-weight: 400;
	color: #666;
	z-index: 999 !important;
}
.section-panel .sub-panel .Header-nav-sub{
	z-index: -1;
}
.section-panel a{
	position: relative;
	top: 18px;
	z-index: 999 !important;
}
.section-panel .sub-panel .Header-nav-sub a{
	position: relative;
	top: 0px;
}
.section-panel:after{
	position: absolute;
	top: 0;
	bottom: 0;
	height: 14.5px;
	width: 100%;
	bottom: 100%;
}
.section-panel:hover{
	z-index: 999;
}
.dom-links.navi .last-item{
	margin-top: 0px;
	padding-top: 15.5px;
	border-top: solid black 4px;
}

#last_element{
	margin-top: 0px;
	padding-top: 13.5px;
	border-top: solid black 5px;
}
.Header-nav-sub{
	background-color:#fff !important;
	border: solid #eeeeee 2px;
	border-radius: 3px;
	color: #666;
	font-weight: 100;
	width: 240px;
	position: absolute;
	z-index: 999;
	display: block;
	top: 120px;
}
.Header-nav-item a{
	font-family: Titillium Web,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
	font-size: 16px;
	line-height: 1.5;
	padding-left: 20px;
	height: 40px;
}
.Header-nav-sub .emptyline{
	height: 16px;
}
#domain-navigation ul li a{
	color: #000000;
}
#domain-navigation a:hover{
	color: #000000;
}
#domain-navigation header{
	font-family: Titillium Web,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;
	position: relative;
	top: 40px;
}
#domain-navigation header h1, #domain-navigation header p {
	font-size: 60px !important;
	line-height: 1.16129 !important;
}
#domain-navigation header h1 a, #domain-navigation header p a{
	color: white !important;
	text-shadow: -1px 0 #555555, 0 1px #555555, 1px 0 #555555, 0 -1px #555555;
}
#domain-navigation header h2{
	color: white !important;
	text-shadow: -1px 0 #555555, 0 1px #555555, 1px 0 #555555, 0 -1px #555555;
}
div .container{
	position: relative;
	top: 30px;
}


/*
#################################################
URSA-NAVI ASETUKSET
#################################################
*/
#banneri{
	position: relative;
	z-index: 1000;
	max-height: 165px;
	max-width: 960px;
	height: 165px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-top: 0px;
	background-image: url('https://www.ursa.fi/fileadmin/ursa2010/template/kuvat/ursa-header.png');
	background-size: contain 250px;
	background-position: top;
	background-repeat: no-repeat;
}
#logo{
	position: relative;
	top: 30px;
	left: 30px;
	height: 96px;
	width: 336px; 
	min-width: 336px;
	background-size: 336px 96px;
	background-position: middle;
	background-repeat: no-repeat;
}
/*
#################################################
URSA-NAVI ASETUKSET
#################################################
*/

#nav {
    height: 22px;
	max-width: 960px;
    /*background-color: #0b2b4e;*/
	background-image: url('https://www.ursa.fi/fileadmin/ursa2010/template/kuvat/ursa_bg_navi.jpg');
	background-size: auto 22px;
	background-position: top;
	/*border-top: solid 0px #FCFCFC;
	border-bottom: solid 2px #FFFFFF;*/
    margin: 0px auto 0 auto;
}
#nav ul {
	background-color: #0b2b4e;
	list-style-type: none;
	max-width: 960px;
    margin: 0px auto 0px 5px;
    padding: 0;
    /*width: 100%;*/
}
#nav li {
	display:inline;
    float: left;
    position: relative;
	top: -3px;
    line-height: 22px;
}
#nav li a {
    color: #ffffff;
	font: bold 14px/1.4 Arial,Helvetica,sans-serif;
    display: block;
	padding:4px 5px 4px 5px;
	margin-right:10px;
    text-align: center;
}
#nav li a#last_element {
    border-right: none;
}
#nav li a:hover {
    color: #70bbed;
    font-weight: bold;
}

/*#domain-navigation li a.active,*/
/*
#domain-navigation li a#last_element {
    color: #70bbed;
    font-weight: bold;
}*/

/*WRAPPER OFF!!*/
div#wrapper {
	margin-top: 0px;
	padding-top: 0px;
	}

header#top{
	margin-top: 20px;
	margin-bottom: 20px;
}


/*LIIAN PIENET MOBIILI-IKKUNAT 767*/
@media screen and (max-width: 970px){
/*DOMAIN-NAVIGATION FONTTIKOKO*/
/*#domain-navigation li a {
    font-size:10px;
}*/
.dom-nav-upper, .dom-nav-lower{
	display:none
}
div#wrapper{
	position: relative;
	top: 80px;
}

#nav {
	display: none;
}
#logo{
	width: 80%;
	max-width: 336px;
	min-width: 100px;
}
#logo a{
	width: 100%;
}
#logo a img{
	top: 0px;
	display: inline;
	width:100%;
}

}
