/* Styles common to all screen sizes unless overridden in media queries */
#confirmUpdate {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    display: none;
    position: absolute;
}

/*General elements styling*/

body {
    font-family: 'Open Sans', sans-serif;
    font-weight:400;
    font-size: 110%;
    line-height: 1.5em;
}

h1,h2,h3{
    font-family:roboto,sans-serif;
    font-weight:700;
}

h1 {
    color: #000;
    font-size: 1.3em;
    line-height: 1.3em;
   /* margin-bottom: -0.3em;*/
}

h2 {
    color: #000;
    font-size: 1.2em;
    line-height: 1em;
    margin-bottom:-0.3em;
}

h3 {
    color: #000;
    font-size: 1em;
    line-height: 1em;
}

a, a:link {
    color: #009933;
}

input[type="text"] {
    padding-left: 30px;
    width: 100%;
}

button, input, optgroup, select, textarea {
    font-family: 'Open Sans', sans-serif;
    font-size:110%;
}

/*form {
    margin-left: 5%;
    margin-right: 5%;
}*/

footer {
    background: #ffffff url('../GraphicsResponsive/nav_bg.gif') repeat-x left top;
}

table {
    border: 1px solid black;
    border-collapse: collapse;
    border: none;
}


tr {
    /*border: 1px solid black;*/
    border: none;
}

td {
    display: block;
    border: none;
}

/*table ul {
    padding-left: 0;
}*/

.pager {
    text-align: center;
    border: 1px solid #d9dde2;
    /*background: url(../GraphicsResponsive/publ-search-pages-bg.png) repeat-x;*/
    padding-top: 10px;
    padding-bottom: 10px;
}

    .pager a {
        border: brown solid 1px;
        padding: 5px 15px 5px 15px;
        background-color: #009E39;
        color: white;
    }

/*Styles for specific ID:s, classes and their derivatives*/


/*General*/

/*Login control creates a table with a limited width*/
#ctl00_main_Login1 {
    width: 100%;
}

#map{
    height:400px;
    border:1px solid gray;
    margin-top:5px;
    margin-bottom:5px;
}

#filterBox {
    background: url(../GraphicsResponsive/contentBackground.png) repeat-x top left;
    padding-top: 0.4em;
    padding-bottom: 1.3em;
    border: 3px double #CCCCCC;
    margin: 1px;
    min-height: 10em;
    background-color: White;
    line-height: 1.7em;
    margin-top: 0.4em;
}

.filterItem {
    text-align: center;
    font-size: 1.1em;
}

    .filterItem > select {
        width: 100%;
        height: 35px;
        font-size: 1em;
        text-align: center;
        text-align-last: center;
    }

        .filterItem > select > option {
            text-align: center;
        }

.filterSearchButton input[type="submit"] {
    width: 100%;
    height: 35px;
}

.filterItemBig {
    text-align: center;
}

#filterButton, #publ-info-button {
    /*text-align: center;
    border: #9B8748 1px solid;
    background: url(../GraphicsResponsive/on_bg.png) repeat-x;
    background-color: #FF6900;
    margin-bottom: 5px;
    padding: 0;
    height: 50px;
    cursor: pointer;
    padding-top: 15px;*/
    padding: 14px;
    background-color: #EB6E08;
    cursor: pointer;
    margin-bottom: 10px;
    border: 1px solid gray;
    color: white;
    line-height:1.7em;
    text-align:center;
}

    #filterButton > a, #publ-info-button > a {
        text-decoration: none;
        color: white;
    }

/*#publ-info-text {
    font-size: 1.2em;
}*/

#listBox {
    background: url(../GraphicsResponsive/contentBackground.png) repeat-x top left;
    /*border: 3px double #CCCCCC;*/ /*margin: 1px;*/
    background-color: White;
    /*line-height: 1.7em;*/
    margin-top: 0.4em;
    padding:10px;
}

    #listBox table h2 {
        font-size: 1.2em;
        line-height: 1.2em;
    }
    /*Removed 2018-10-17*/
    /*#listBox p, #listBox h1, #listBox h2, #listBox h3, #listBox img {
        padding-right: 7px;
        padding-left: 7px;
    }

    #listBox .ctabs_panels h2 {
        padding-left:0;
    }*/

    #listBox .publimg {
        width: 100%;
        padding-top: 1em;
        max-width: 10000px;
        display: block;
    }

#welcomeBox {
    padding-top: 1.3em;
    border: 3px double #CCCCCC;
    margin: 1px;
    background-color: White;
    /*line-height: 1.6em;*/
}

    #welcomeBox img {
        width: 100%;
        min-width: 5em;
        max-width: 10em;
    }

    #welcomeBox h1 {
        font-size: 1.5em;
        font-weight: bold;
        color: #009933;
        line-height: 1.3em;
        margin: 0;
        text-align: center;
    }

    #welcomeBox .underTitle {
        font-weight: bold;
        margin: 0;
        margin-bottom: 1em;
        text-align: center;
    }

/*.def-mob-welcome-logo{
    min-width:2em !important;
  padding-right:0.3em;
}*/


.welcome-text {
    margin-top: 0;
}

#header-end {
    background: url(../GraphicsResponsive/agriFoodTwoLines.gif) repeat-x;
    margin-top:0.4em;
}

.rightColumnBoxOuter {
    border: 1px solid #CCCCCC;
    position: relative;
    float: left;
    margin-top: 0.7em;
    padding: 1px;
    margin-bottom: 1em;
    width: 100%;
}

.rightColumnBoxInner {
    position: relative;
    float: left;
    border: 1px solid #EAEAEA;
    padding: 0.5em;
    background: url(../GraphicsResponsive/newsBackground.png) repeat-x top left;
    width: 100%;
}

    .rightColumnBoxInner p {
        margin-top: 0.7em;
        margin-bottom: 0.7em;
        /*font-size: 110%;*/
        /*line-height:1.6em;*/
    }

.outerwrapper-content {
    /*gradient background*/
    background: #ffffff url("../GraphicsResponsive/content-bg.png") repeat-x TOP left;
    padding-top: 5px;
    width: 100%;
}

#footer {
    /*background-color: #ddd;*/ /*border-top: solid 1px #666;  Sets the top border properties for an element using shorthand notation */
    padding: 1.5em 0.5em 0.5em 0.5em; /* Sets the padding properties for an element using shorthand notation (top, right, bottom, left) */
    background: url(../GraphicsResponsive/agriFoodTwoLines.gif) repeat-x;
}

#footer {
    margin-top: 2em;
    background: url(../GraphicsResponsive/agriFoodTwoLines.gif) repeat-x;
}

    #footer #footerInfo {
        font-size: 0.8em;
    }

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.centerMarginBottom{
    margin-bottom:0.3em;
}

.left {
    text-align: left;
}

.strong {
    font-weight: bold;
}

.no-strong{
    font-weight:normal;
}

.no-gutter-right {
    padding-right: 0;
}

.no-gutter-left {
    padding-left: 0;
}

.left-padding{
    padding-left:7px;
}

.margin-top{
    margin-top:0.3em;
}
.no-padding-left {
    padding-left: 0 !important;
}

/*Table publications*/
.tableHeaders {
    display: none;
}

#staffTable {
    padding: 0;
    border: 0;
    border-collapse: collapse;
    width: 100%;
}

    #staffTable ul {
        padding-left: 0;
        -webkit-margin-before: 0; /*To make authors closer to title; overrules user agent stylesheet*/
    }

    #staffTable li {
        display: inline;
    }

#listBox table td {
    
    vertical-align:baseline;
}

#listBox table {
   /*margin-top: 1em;*/ 
    margin-bottom: 2em;
    width:100%;
}

.even {
    background-color: #DDDDDD;
}

/*Table staff*/
.td-inline-mob {
    display: inline;
    padding-right: 0 !important;
}

#projectsTable{
    margin-top:0.5em;
}


.s-big {
    font-size: 1.25em;
}



#Tr1 > td {
    padding-bottom: 0;
}

/*Tables with alternating colours*/
#staffTable td, #projectsTable td, #staffTable th, #TableTabbed td{
    padding:10px;
}


/*Order*/
.button, .search-page input[type="submit"]{
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.search-page input[type="submit"]{
    margin-top:16px;
    margin-bottom:16px;
}

#orderButtons {
    text-align: right;
}

.HyperLinkOrderFinalize {
    display: block;
    border: 1px solid gray;
    margin-top: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-decoration: none;
    color: white !important;
    background-color:#EB6E08;
    margin-bottom: 10px;
}

/*Table order*/
.s-tbl-neutral tr {
    display: table-row;
}

.s-tbl-neutral td {
    display: table-cell;
    border-collapse: collapse;
}

.s-tbl-neutral .tableHeaders th {
    font-size: 110%;
    background-color: #808080;
    color: #FFFFFF;
}

/*order-form*/
fieldset#order-form [class*='col-'] {
    padding-bottom: 0;
}

fieldset#order-form .row {
    padding-bottom: 1em;
    /*font-size: 1.2em*/;
}



fieldset#order-form input {
    font-family: 'Open Sans', sans-serif;
    /*font-size: 1.2em;*/
    padding:7px;
    line-height:normal;
}

    fieldset#order-form input[type='submit'] {
        width: 100%;
    }

/*Navigation*/

#selected {
    background: #fff url(../GraphicsResponsive/on_bg.png) repeat-x top left;
}

.navigation > ul {
    /*Check why I have this*/
    z-index: -1;
    height: 2.7em;
    list-style-type: none; /* Remove default margin and padding on ul */
    padding: 0;
    margin: 0;
    height: auto;
    padding-bottom: 20px;
}

    .navigation > ul > li {
        border: 1px black solid;
        font-family: 'open sans', sans-serif;
        /*font-weight: bold;*/
        font-size: 1em; /*border-bottom: none;*/
        margin-bottom: 5px;
        height: 50px;
        border: #9B8748 1px solid; /*padding-top: 5px;*/
        /*background: url("../GraphicsResponsive/button-grey-grdient-big.png");*/
        background-color: lightgray;
    }

        .navigation > ul > li > a {
            text-decoration: none; /* display: block to make the whole area clickable */
            display: block;
            text-align: center;
            padding: 0.7em 0.6em 0.7em 0.6em;
            color: #333;
            height: 100%;
        }

#nav > a {
    text-decoration: none;
}

.nav-mob {
    /*margin-bottom: 20px;*/
}

.hamburger {
    /*padding: 0;*/
    padding-right: 10px;
    text-align: center;
    padding-top:0;
    
}

    .hamburger > a, #magnifier-mob a {
        text-decoration: none;
        font-size: 1em;
        font-weight:bold;
        text-align:right;
    }

        .hamburger > a > img {
            width: 25px; /*vertical-align: -5px;             display:block;*/ /*width:30px;*/
            margin-top:20px;
            margin-right:10px;
            /*padding-bottom: 5px;*/
        }
#magnifier-mob{
    text-align:center;
    padding-top:0
}

#magnifier-mob > a > img {
    height: 25px;
    margin-top:20px;
    margin-right:10px;
}

#navigation a:hover, span#publications .publications, span#projects .projects, span#models .models, span#staff .staff, span#default .default, span#about .about, span#areas .areas {
    color: white;
    border-color: #727377;
    /*background: #fff url('../GraphicsResponsive/on_bg.png') repeat-x top left;*/
    background-color: #EB6E08;
}

    span#publications .publications a, span#projects .projects a, span#models .models a, span#staff .staff a, span#default .default a, span#about .about a, span#areas .areas a{
        color:white;
    }

    /*Search*/
    .find {
        font-size: 0.8em;
        padding: 0.5em;
    }

.searchBox, .zoom_searchbox {
    /*width: 100%;*/
    height: 40px;
    font-family: 'open sans',sans-serif;
    background: url(../GraphicsResponsive/magnifyingGlass.gif) no-repeat left;
    background-size:25px;
    color: gray;
    background-color:white;
}

.searchButton {
    background-color: #EB6E08;
    color: white;
    /*width: 50px;*/
    height: 40px;
    border: 1px solid gray;
    font-family: roboto,sans-serif;
}

/*Textboxes*/
.input-text, .search-page input[type="text"] {
    height: 40px;
    font-family: 'open sans', sans-serif;
    font-size: 1.2em;
   
}

/*TextArea accessibility*/
.input-text-accessibility{
    height: 40px;
    font-family: 'open sans', sans-serif;
    font-size: 1em;
}

/*Logo*/

.big-logo {
    background: #ffffff url("../GraphicsResponsive/logoWithText.gif") no-repeat left center;
    height: 100%;
}

.logo {
    text-align: center;
}

    .logo > img {
        width: 140px;
        height: auto;
    }

#logo-mob > img {
    width: 175px;
    margin-top:14px;
}

/*Tabs VS*/
/*To make tabs look ok despite box-sizing:border-box;*/
.tabs_override .ajax__tab_default, .tabs_override .ajax__tab_tab {
    overflow: visible !important;
    margin-right: 0 !important;
    display: inline !important;
    font-family:'open sans',sans-serif !important;
}

/*Images*/
.img-mob {
    width: 40%;
    max-width: 150px;
}

#listBox table td.no-padding-top {
    padding-top: 0;
}

#splitContentLeft {
    border: 3px double #CCCCCC;
    line-height: 1.7em;
    min-height: 40em;
}

/*Start page*/
.news-item {
    border: 3px double #EAEAEA;
    background: url(../GraphicsResponsive/newsBackground.png) repeat-x top left;
    /*line-height: 1.6em;*/
    /*font-size: 1em;*/
    margin-top: 1em;
    padding: 10px;
}

.news-item-left {
    padding-right:0;
    padding-left: 0 !important;
}

.news-item-right {
    padding-left: 0.2em;
    padding-right: 0 !important;
}

.puff-area {
    text-align: center;
    border: 2px double #EAEAEA;
    background: url(../GraphicsResponsive/newsBackground.png) repeat-x top left;
}

    .puff-area img {
        width: 100%;
        border:1px solid #949494;
    }

    .puff-area h1 {
        color: #009933;
        font-size: 1em;
        margin-bottom:0.4em;
        margin-top:0.4em;
    }

    .puff-area a {
        text-decoration: none;
    }

/*Other stuff*/
.ingress {
    font-style: italic;
}
    /*Image on about page*/
    .ingress img {
        display: block;
        width: 100%;
        margin-bottom: 1em;
    }

    .breakable{
        word-break:break-word;
    }
/*Accordion VS*/
.accordion {
    font-size: 80%;
}

.accordionHeader {
    background-image: url('../Graphics/panelBackground.png');
    background-repeat: repeat-x;
    color: #FFFFFF;
    font-size: 110%;
    padding-left: 12px;
   

}

    .accordionHeader a:link, .accordionHeader a:visited, .accordionHeader a:active, .accordionHeader a:hover {
        color: white;
        font-weight: bold;
        text-decoration: none;
        letter-spacing:0.05em;
    }

/*Simple accordion*/
.jquery_accordion_wrapper {
    /*min-height: 40em;*/
    border: 1px solid gray;
    /*margin-left:-1em;
    margin-right:-1em;*/
}

.jquery_accordion_title {
    padding: 14px;
    background-color: #EB6E08;
    text-align:center;
    cursor: pointer;
    margin-bottom: 3px;
    border: 1px solid gray;
    color: white;
}

.jquery_accordion_content {
    display: none;
    padding: 1px 8px;
}

.active {
    display: block;
}



/*When page loads for mobile no accordion panes should be expanded
.page-load{
    display:none;
}*/

/*CSS for tab component*/

/*Author: Kristian Sundström*/

.ctabs_panels {
    border: 1px solid black;
    margin-top: 2px;
    position:relative;
    z-index:1;
    background-color:white;
}

.ctabs_panels h2 {
    margin-bottom: 0.3em;
}
.ctabs_panel {
    display: none;
    padding: 1em;
}

.ctabs_active {
    display: block;
}

.ctabs_tabs {
    margin-top: 15px;
}

    .ctabs_tabs ul {
        margin: 0;
        padding: 0;
        line-height:1.5em;
    }

        .ctabs_tabs ul > li {
            list-style-type: none;
            display: inline;
        }

.ctabs_tabBtn {
    text-decoration: none;
    padding: 6px 15px;
    background-color: lightgray;
    color: black !important;
    border-right: 1px solid black;
    border-left: 1px solid black;
    border-top: 1px solid black;
    border-radius: 3px 3px 0 0;
    font-size:80%;
}

.ctabs_activeBtn {
    background-color: white;
    padding-bottom: 7px;
    position:relative;
    z-index:2;
}

/* Component cookie-consent */

/* CSS */

/* Author: Kristian Sundström (2019) */

#cookie-consent {
    background-color: beige;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
}

#accept-cookies {
    position: relative;
    float: right;
}

/*Adjusting horizontal bar problem*/

#cookie-consent,
#cookie-consent:before,
#cookie-consent:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
}


/*Additional small screen items*/
.s-center {
    text-align: center;
}

.about_about_img{
    float:left;
    margin-top:1.4em;
    margin-right:0.5em;
    border:1px solid gray;
}

@media screen and (min-width: 400px) {
    .ctabs_tabBtn {
        font-size:110%;
    }
    .ctabs_panels{
        margin-top:5px;
    }
    }


    /* Styles specific to large screen sizes  */
    @media screen and (min-width: 900px) {
        /*To make main content a certain min-height on bigger screens*/

        .ctabs_tabBtn {
            font-size: 100%;
        }


        body, .rightColumnBoxInner p {
            font-size: 90%;
        }

        .rightColumnBoxInner h2 {
            font-size: 1.1em;
            line-height: 1.2em;
        }

        .news-item {
            font-size: 100%;
            padding: 1em;
        }

        #mainContent {
            min-height: 40em;
        }

        #selected {
            padding-bottom: 0.85em;
            background: #fff url(../GraphicsResponsive/on_bg.png) repeat-x top left;
        }

        #links-above-search {
            font-weight: 600;
        }

        .searchBox, .zoom_searchbox {
            height: 25px;
            background-size: auto;
        }

        .searchButton {
            height: 25px;
            font-size: 0.95em;
        }

        .input-text, .search-page input[type="text"] {
            height: auto;
            vertical-align: middle;
        }

        .search-page input[type="submit"] {
            padding-top: 1px;
            padding-bottom: 1px;
            width: auto;
        }
        /*Normalize font-size in forms for larger devices*/
        input[type="text"] {
            font-size: 14.4px !important;
            width: auto;
        }

        .filterItem {
            text-align: left;
            font-size: 0.9em;
        }

            .filterItem > select {
                height: auto;
                text-align: left;
                text-align-last: left;
            }

                .filterItem > select > option {
                    text-align: left;
                }

        .filterItemBig {
            text-align: left;
        }

        .filterSearchButton input[type="submit"] {
            width: auto;
            height: auto;
        }

        tr {
            display: table-row;
        }

        td {
            display: table-cell;
            border-collapse: collapse;
        }

        .tableHeaders {
            display: table-row;
            text-align: left;
            font-weight: bold;
            font-size: 110%;
            background-color: #808080;
            color: #FFFFFF;
        }

        #staffTable li {
            display: list-item;
        }

        #staffTable img {
            width: 26px;
        }

        /*Table staff*/
        .td-inline-mob {
            display: table-cell;
            padding: 6.4px;
        }


        /*Removed 2018-10-17*/
        /*#listBox{
        border:3px double #CCCCCC;
        padding-right:1em;
        padding-left:1em;
    }

        #listBox table td.no-padding-top {
        padding-top: 0.5em;
    }

        #listBox table td {
            vertical-align: middle;
        }

        #listBox p, #listBox h1, #listBox h2, #listBox h3, #listBox img, #listBox .left-padding {
            padding-right: 0;
            padding-left: 0;
        }



    */
        #listBox {
            border: 3px double #CCCCCC;
            vertical-align: middle;
        }

            #listBox table td {
                padding: 10px;
            }

        /*Order*/
        .button, input[type="submit"] {
            padding-top: 1px;
            padding-bottom: 1px;
            width: auto;
            vertical-align: middle;
            font-size: 14.4px;
        }

        .HyperLinkOrderFinalize {
            margin-top: 100px;
            display: inline;
            border: none;
            text-decoration: underline;
            color: #009933 !important;
            background: none;
        }

        fieldset#order-form input {
            height: auto;
            font-size: inherit;
            padding: 0;
            padding-left: 0.4em;
        }




        .dateName {
            font-size: 80%;
        }

        .navigation ul {
            margin-left: 1%;
            margin-right: 1%;
            margin-top: 0px;
            height: 2.7em;
            background: #ffffff url("../GraphicsResponsive/nav_bg.gif") repeat-x left bottom;
        }

        .navigation > ul > li {
            width: 25%;
            float: left;
            background: none;
            background-color: #efefef;
            height: 37px;
            margin-bottom: 0;
            padding-top: 0;
            font-size: 0.95em;
        }

            .navigation > ul > li > a {
                padding: 0.23em 0.6em;
            }

        .nav > a {
            display: none;
        }

        .logo {
            text-align: left;
            margin-top: 10px;
        }

            .logo > img {
                width: 211px;
                height: auto;
            }

        .navigation {
            padding-left: 0;
        }

            .navigation > ul > li {
                width: auto;
                margin-bottom: 0.2em;
                margin-right: 1px;
                border: #9B8748 1px solid;
                border-bottom: none;
                height: auto;
            }

        #welcomeBox h1 {
            text-align: left;
        }

        #welcomeBox .underTitle {
            text-align: left;
        }

        .news-item {
            height: 18em;
        }

        .news-item-left {
            padding-right: 0.2em;
        }

        span#publications .publications a, span#projects .projects a, span#models .models a, span#staff .staff a, span#default .default a, span#about .about a, span#areas .areas a {
            color: #333;
            padding-bottom: 0.9em;
            border-color: #727377;
            /*background: #fff url('../GraphicsResponsive/on_bg.png') repeat-x top left;*/
            background-color: #EB6E08;
            color: white;
        }

        #navigation > ul > li > a:hover {
            padding-bottom: 0.9em;
        }

        #navigation {
            font-weight: 600;
        }

        .l-show-block {
            display: block;
        }

        .ingress img {
            display: inline;
            float: right;
            width: auto;
            margin-bottom: 0;
        }

        .dt-float-left {
            float: left;
        }

        .accordion img {
            margin-right: 1em;
        }



        /*When page loads for desktop first accordion pane should be expanded
    .page-load {
        display: block;
    }*/

        .s-big {
            font-size: inherit;
        }

        .l-right {
            text-align: right;
        }
    }
