/*  
Theme Name: Torchlight
Description: ETTS custom site design with mobile-friendliness.
Version: 1.0 (oct '22)
Author: UDC
Author URI: http://udc.ee
*/

body {
	margin: 0px;
	padding: 0px;
	font-family: Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Tahoma,sans-serif; 
	font-size: 14px;
	color: #333;
	background-image: url("images/bg.jpg");
	background-repeat: repat-x;
	background-attachment: fixed;
	
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	color: #000;
}

h1 {
	font-size: 2em;
}

h2 {

	font-size: 1.6em;
	color: #113970;
	margin-bottom:5px;
}

h3 {
	color: #000;
	font-size: 1.1em;
	line-height:2em;
	border-top: 1px solid #113970;
	margin-bottom:5px;
}

h4 {
	color: #999;
	font-size: 1.6em;

}

h5 {
	color: #333;
	font-size: 1.1em;
    line-height:2em;
	border-left: 2px solid #1987e0;
	margin:15px 0px 10px 0px;
    padding-left:5px;
	
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	text-decoration: underline;
	color: #113970;
}

a:hover {
	color: #006699;
}


/* whole page wrap*/

.wrap {
	position:relative;
	margin: auto;
	width:70%;
	
}

/* Header */
#header {
	
	width:100%;
	float:left;
	

}

.langs {
	position: absolute;
	right: 0px;
	width:80px;
	margin-top:-25px; 
}

.langs img{margin: 0px 5px 0px 5px;}



/* Logo */

#logo {
	margin: 10px 0px 10px 0px;
	float:left;
	width: 90%;
	
}

#fblink {
	
	float:right;
	margin-top:70px;
	
}
/* Menu */

	/*mobile menu*/
.slicknav_menu {
	display:none;
	
}
.slicknav_nav .langs {
	display:inline;
	
}

.slicknav_nav .langs  li{
    float:left;
}
.slicknav_nav .langs li a {
    display: block;
    color: white;
    text-align: center;
    padding: 5px 2px 5px 2px;
    text-decoration: none;
	
}
	/*mobile menu end*/
	
/*sticky navbar for scroll */
@media screen and (max-width: 1000px) {
	.js #menu {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
		
	}
	
}

.navbar-fixed {
    top: 0;
    z-index: 100;
	position: fixed;
    width: 100%;
	border-bottom:2px #eee solid;
}


#menu {

	width: 100%;
	float: left;
	padding: 0;
	background-color:#000;
	border-bottom: 3px #113970 solid;
	height:42px;
	
}

	
#menu ul {

	list-style: none;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0; 
}

#menu li {

	float: left;
}

#menu a {

	text-decoration:none;
}

/* menu itself */

#main {
	
	margin: 0;
	padding: 0;
	background: #000;
	height: 35px;
	list-style: none;
}


#main > li {

	float: left;
	height: 100%;

}

#main > li > a {
	height: 35px;
	display: block;
	padding: 10px 15px 0px 15px;
	text-align: center;
	font-family: Geneva,Tahoma,Verdana,sans-serif; 
	font-size: 15px;
	color: #fff;
	border: none;
}
#main > li.current_page_item{
	background-color:#113970;
	height: 42px;
}

#main > li > a:hover {
	font-size:15px;
	color: #fff;
	background-color:#113970;
}

#main > li.page_item_has_children {
	position: relative;
}

#main > li.page_item_has_children ul {
	 width: 12em;
	 margin: 0;
	 padding: 0;
	 list-style: none;
	 background: #e2edf1;
	 position: absolute;
	 top: -1000em;
	 border-left:2px solid #113970;
	 z-index:1;
	 box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	line-height: 1.4;
}

#main > li.page_item_has_children ul li {
	 width: 100%;
	 margin: 0 auto 0 auto;
}

#main > li.page_item_has_children ul li a {
	 height: 100%;
	 display: block;
	 padding: 7px;
	 color: #000;
	 text-decoration: none;
}

#main > li.page_item_has_children ul li a:hover {
	 background: #113970;
	 color: #fff;
	 
}
#main > li.page_item_has_children ul li.current_page_item { 
	background: #e2edf1;
}

#main > li.page_item_has_children:hover ul {
	top: 3em;
}


/* Page */

#wrapper {
	margin: 0 auto;
	
	
}

#page {
	margin: 0 auto;
	padding: 0px 0px 0px 0px;
}

/* Content */

#content {
	width:100%;
	padding: 10px 0px 0px 0px;
	color:#333;
	background-color:#fff;
	overflow: hidden;
	min-height:600px;
}

#content  img{
	border:none;
	padding: 5px;
}

/* text wider for small screens */
@media screen and (max-width: 1000px) {
	
	#content {
		
	margin-left:3%;
	width:97%;
	
	}
	
	.wrap {
	position:relative;
	margin: auto;
	width:90%;
	
	}
}

#map {
	margin: auto;
	height:550px;
	width:1025px;
	z-index:9999;
	
}

.post {
	margin-bottom: 20px;
}

.post .title {
	height: 21px;
	padding: 7px 0px 10px 10px;
	letter-spacing: -1px;
}

.post .title a {
	color: #fff;
	border: none;
}

.post .meta {
	margin-bottom: 20px;
	padding: 0px 30px 0px 30px;
	text-align: left;
	font-family: Calibri,Candara,Segoe,"Segoe UI",Optima,Arial,sans-serif;
	font-size: 13px;
	font-weight: bold;
	font-style: italic;
}

.post .meta .date {
	float: left;
}

.post .meta .posted {
	float: right;
}

.post .meta a {
}

.post .entry {
	padding: 0px 20px 10px 20px;
	padding-bottom: 10px;
	text-align: justify;
}

.links {
	padding-top: 20px;
	font-size: 12px;
	font-weight: bold;
}


/* Footer */

#footer {
	max-width:1000px;
	margin: -10px 0 0 174px;
	font-size: 11px;
	text-align: center;
	

}
#legal { float:right;
	color: #d6d6d6;}

#support { 
	color: #666;}

#footer a {
	color: #d6d6d6;
	text-decoration:none;
}

.pagetitle {
	padding: 0px 0px 30px 0px;
	letter-spacing: -3px;
	font-size: 36px;
}

.navigation {
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

/* tornid list page*/

.tornid-wrapper {
	
	padding-bottom:30px;
	
}

.tornid-wrapper table {
	
	width:95%;
	margin-left: auto;
	margin-right: auto;
	
}
.tornid-wrapper table th {

	padding-bottom:10px;
	border-bottom:2px #000 solid;
}

.tornid-wrapper table td {

	padding-top:5px;
	text-align:center;
}

/*torni details page*/

.single-list {
	
	
	float:left;
	text-align:left;
	margin-left:15px;
	margin-right:15px;
	
}
.torni_jutt {
	float:left;
	padding:20px 15px 20px 15px;
	
}