/************************************************************************************
Theme Name: Allergi
Theme URL: http://www.allergisidan.se
*************************************************************************************/
/************************************************************************************
RESET
*************************************************************************************/
html, body, div, span,  object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
}

img {
	border: 0;
}

ol, ul, li {
	list-style: none;
}

:focus {
	outline: 0;
}

/************************************************************************************
GENERAL
*************************************************************************************/
html {
	background: #f2f2f2 url("images/bg.jpg") no-repeat center 0 fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
	color: #333333;
	font: 14px/22px Arial,Helvetica,sans-serif;
}

h1 {
    color: #333;
    font-size: 32px;
    line-height: 36px;
	margin-bottom: 10px;
}

h2 {
	font-size: 16px;
	line-height: 20px;
	margin-bottom: 10px;
}

h3 {
	font-size: 16px;
	line-height: 20px;
	margin-bottom: 10px;
}

p{
	font-size: 14px;
    margin: 0 0 20px 0;
}

strong {
    display: block;
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    margin: 0 0 20px;
}

a, a:visited {
    color: #0196F7;
    text-decoration: none;
	font-weight: bold;
}

a:hover {
    color: #1779B7;
    text-decoration: underline;
}

#content ul {
	margin-bottom: 20px;
}

#content li {
	padding-bottom: 5px;
	display: list-item;
	list-style: square;
	margin-left: 20px;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#wrap, #footer {
  width: 1100px;
}

#wrap {
	margin: 0 auto;
	min-height: 100%;	
	-webkit-box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.15);
}

#header {
  width: 100%;
  background: #fff;
  box-sizing: border-box;
  padding: 30px 20px 40px 20px;
  float: left;
}

#logo{
  float: left;
}

#main {
  background: none repeat scroll 0 0 #FFFFFF;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  float: left;
}

#info {
    float: left;
    width: 160px;
}

#content {
    float: left;
    margin-right: 20px;
    width: 790px;
}

.core {
    float: left;
    margin-right: 30px;
    width: 590px;
}

#rightcontent {
    float: right;
    width: 250px;
}

#footer {
    background: #111;
	 margin: 0 auto 30px;
    clear: both;
    color: #FFFFFF;
    display: block;
    font-size: 12px;
    position: relative;
    text-align: center;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

/************************************************************************************
TOP NAV
*************************************************************************************/
#nav {
  background: url("/theme/images/nav-bg.png");
  display: block;
  height: 36px;
  width: 100%;
  border-radius: 5px;
  box-shadow: 0px 1px 1px rgba(50, 58, 53, 0.28);
  float: left;
  margin-top: 10px;
}

#nav ul {
	padding: 3px 16px;
	list-style-type: none;
	height: 36px;
}

#nav ul li, #subnav ul li {
	float: left;
	text-align: left;
	margin-right: 10px;
}

#nav ul li a, #subnav ul li a {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 0;
	display: block;
}

#nav ul li a span {
	padding: 5px 10px 4px 10px;
	display: block;
}

#nav ul li a.selected , #nav ul li a:hover {
	text-decoration: none;
	color: #88AB32;
	background: url("/theme/images/nav-hover.png") no-repeat scroll right -40px transparent;
	display: block;
	margin: 0 4px 0 0;
}

#nav ul li a.selected span, #nav ul li a:hover span {
	margin: 0 8px 0 0;
	padding: 5px 0px 8px 8px;
	background: url("/theme/images/nav-hover.png") no-repeat scroll 0 0 transparent;
	display: block;
}

/************************************************************************************
SEARCH
*************************************************************************************/
#search {
  float: right;
  margin: 10px 0 0 0;
}

#search .text {
  margin-right: 5px;
  border-radius: 3px;
  border: 1px solid #dedede;
  padding: 5px;
}

#search .btn {
  border: 1px solid #dedede;
  padding: 5px 10px;
  background: #7AA41F;
  color: #fff;
  border-radius: 3px;
}

#search .btn:hover {
  background: #608117;
}

#searchresults h1 { font-size: 20px;}
#searchresults strong { font-size: 20px; display: inline; }
#searchresults h2 { padding-bottom: 7px;}

/************************************************************************************
NAV
*************************************************************************************/
#subnav { display: none;}
#icon {
  background: url("images/menu.png") no-repeat;
  display: none;
  position: relative;
}
#close-icon { background: url("images/cross.png") no-repeat; 
  display: none;
  width: 30px;
  height: 30px;
  margin: 28px auto 18px;
}


/************************************************************************************
INFO
*************************************************************************************/
#info #box {   
	background: none repeat scroll 0 0 #F5F5F5;
	-webkit-border-radius: 10px 0 10px 0;
	-moz-border-radius: 10px 0 10px 0;
	border-radius: 10px 0 10px 0;
    float: left;
    padding: 10px;
    width: 140px;
	margin: 0 0 20px 0;
}

#info #box ul {
    margin: 0;
    padding: 0 4px 0 4px;
    list-style-type: none;
}

#info #box ul li a {
    margin: 0;
    padding: 0 0 5px 0;
	display: block;
}

#info #box h4{
    font-size: 16px;
    line-height: 20px;
    margin: 5px 0;
}


/************************************************************************************
CONTENT
*************************************************************************************/
#content .strong {
	font-weight: bold;
}

#content #splash {
    position: relative;
}

#content #splash img{
	-webkit-border-radius:10px 0 10px 0;
	-moz-border-radius: 10px 0 10px 0;
	border-radius: 10px 0 10px 0;
}

#content #splash p {
    background: url("/theme/images/trans-w.png") repeat scroll 0 0 transparent;
    color: #333333;
    font-family: tahoma;
    font-size: 20px;
    left: 18px;
    line-height: 27px;
    margin: 0;
    padding: 3px 8px 5px;
    position: absolute;
    top: 80px;
	-webkit-border-radius: 0 5px 5px 5px;
	-moz-border-radius: 0 5px 5px 5px;
	border-radius: 0 5px 5px 5px;
}

#content #splash h1 {
    background: url("/theme/images/trans-w.png") repeat scroll 0 0 transparent;
    color: #333333;
    font-family: tahoma;
    font-size: 52px;
    font-weight: bold;
    left: 18px;
    line-height: 55px;
    padding: 0 10px 7px 10px;
    position: absolute;
    top: 18px;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

#content #splash img  {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#content img, #content iframe {
	margin: 0 0 10px 0;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	width: 100%;
}

#content #prognos {
    background: #FFE947;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
    color: #333;
    padding: 10px;
}

#content #prognos p {
	margin: 0;
}

/************************************************************************************
RIGHT CONTENT
*************************************************************************************/
#rightcontent .square p {
	margin: 0;
}

#rightcontent .square {
    height: auto;
    margin: 0 0 20px;
    padding: 21px;
    width: 208px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#rightcontent .square a {
	margin: 0;
	display: block;
}

#rightcontent .blue, #rightcontent .blue a  {
	background: none repeat scroll 0 0 #6F91C7;
    color: #FFFFFF;
    font-size: 14px;
}

#rightcontent .green {
    background: none repeat scroll 0 0 #80AA26;
}

#rightcontent .green a  {
	color: #fff;
	font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    padding: 7px 0;
}

#rightcontent .rounded img {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin-bottom: 20px;
  width: 100%;
  height: auto;
}


/* Ad */
#ad-bottom {
  margin: 40px auto 40px;
}

/************************************************************************************
CONTACT
*************************************************************************************/
#contact {
	float: left;
    width: 100%;
	margin-bottom: 20px;
}

#contact fieldset {
    border: medium none;
    margin: 0;
    padding: 0;
}
#contact ol li {
    margin: 0 !important;
    padding: 15px 0 0 !important;
}
#contact ol li {
    background: none repeat scroll 0 0 transparent !important;
    line-height: 1.1em;
    list-style: none outside none !important;
    margin: 5px 0 !important;
    padding: 0;
    text-align: left;
}
#contact label {
    display: inline-block;
    font: 12px arial;
    margin: 4px 10px 0 0;
    text-align: left;
    vertical-align: top;
    width: 90px;
}
#contact label span {
    display: block;
    width: 90px;
}
#contact textarea, #contact input {
    border: 1px solid #AAAAAA;
    border-radius: 2px 2px 2px 2px;
    font-family: arial;
    font-size: 12px;
    line-height: 16px;
    padding: 2px;
    width: 310px;
}
#contact textarea:hover, #contact input:hover {
    border: 1px solid #FFCC00;
}
#recaptcha_widget_div {
    display: inline-block;
}
#contact input {
    height: 23px;
}
#contact button {
    border-color: #ECECEC #ADADAD #ADADAD #ECECEC !important;
    border-image: none !important;
    border-style: solid !important;
    border-width: 1px !important;
    font-size: 13px;
    margin: 0;
    padding: 2px 1em;
    width: auto;
}
.error, .successmsg {
    background: none repeat scroll 0 0 #FEF4F1;
    border: 1px solid #F7A68A;
    border-radius: 4px 4px 4px 4px;
    color: #000000;
    font-size: 12px;
    margin-top: 15px;
    padding: 10px;
}

.successmsg {
    background: none repeat scroll 0 0 #F5FAF1;
    border: 1px solid #C2E1AA;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer #footerwrap {
	position: relative;
}

#footer #footerwrap p {
	padding: 10px 0 10px 0;
	font-size: 13px;
	line-height: 20px;
	margin: 0;
}

#footer a {
	color: #fff;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/  

@media screen and (min-width: 1366px) {
html {
	background: #f2f2f2 url("images/bg-large.jpg") no-repeat center 0 fixed;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
}

@media screen and (max-width: 1100px) {
html { background: #779367;  }
#wrap, #footer {max-width: 100%;}
#footer {border-radius: 0;}
#main, #content { width: 100%; margin: 0;}
#rightcontent { display: none;}
#subnav { display: block;}
.core {width: 100%;float: left;margin-right: -200px;}
.core-content { margin-right: 180px; }
#info { float: right;}
#logo { margin-top: -7px;}

.openNav #inner-wrapper {
float: left;
position: relative;
  left: 0;
  -webkit-transform: translate3d(60%, 0, 0);
  -moz-transform: translate3d(60%, 0, 0);
  -ms-transform: translate3d(60%, 0, 0);
  -o-transform: translate3d(60%, 0, 0);
  transform: translate3d(60%, 0, 0);
  -webkit-transition: -webkit-transform 500ms ease;
  -moz-transition: -moz-transform 500ms ease;
  -o-transition: -o-transform 500ms ease;
  transition: transform 500ms ease;
}

  /* When the panel is closed, transition the main back to the left */
  #inner-wrapper {
float: left;
position: relative;
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform 500ms ease;
    -moz-transition: -moz-transform 500ms ease;
    -o-transition: -o-transform 500ms ease;
    transition: transform 500ms ease;
  }

  nav {
  width: 60%;
  position: absolute;
  left: -60%;
  top: 0;
  height: 100%;
  background: #3E79B7;
  padding: 0 16px;
  box-sizing: border-box;
}

#close-icon {
  display: block;
}

#icon.open-panel {
  box-sizing: border-box;
  display: block;
  height: 34px;
  float: left;
  padding: 0 38px;
}

#icon.open-panel span {
position: absolute;
  top: 25px;
  left: -1px;
  color: #6F91C7;
}

#nav.menyblock, #subnav.menyblock {
  margin: 0;
  border: 0;
  background: none;
  text-transform: none;
  float: none;
  box-shadow: none;
  height: auto;
  width: 100%;
}

#nav.menyblock ul, #subnav.menyblock ul {
    list-style: none;
  padding: 0 0 0 10px;
}

#nav.menyblock ul li, #subnav.menyblock ul li {
  padding: 0;
  border-bottom: solid 1px rgba(255,255,255,0.1);
  width: 100%;
}

#nav.menyblock ul li a, #subnav.menyblock ul li a {
  line-height: normal;
  font-size: 14px;
  color: #fff;
  background: none;
  padding: 15px 16px;
    position: relative;
  text-decoration: none;
  display: block;
}
#nav ul li a span { padding: 0;}
#nav ul li a:hover span, #nav ul li a.selected span {background: none;margin: 0;padding: 0; }
#nav ul li a.selected, #nav.menyblock ul li a:hover{background: none;}
#nav.menyblock ul li a:hover, #subnav.menyblock ul li a:hover { background: #3168A3;}

}


@media screen and (max-width: 580px) {
#search { display: none;}
.core, .core-content  { margin: 0;}
#info { float: left; width: 100%;}
#info #box { width: 100%; box-sizing: border-box;}
#content #splash h1 { font-size: 30px; line-height: 34px; }
#content #splash p {   font-size: 12px;
  top: 59px;
  font-weight: bold; }
}

@media screen and (max-width: 340px) {
#icon.open-panel {  padding: 0 32px; }
}