/* Layout */



.page-wrapper{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top:10px;
}

.admin-page-wrapper{
    padding: 1em 1em;
}



.container {
    background-color: #fff;
   
    /* max-width: 1080px; */
    /* padding: 0 2rem; */
}

.site-container {
    background-color: #fff;
    margin: 0px auto;
    padding: 30px;
    border: 1px solid #edebeb;
    width: 100%;

}

.admin-site-container{
    background-color: #fff;
    padding: 0 1.5em;
    border: 1px solid #edebeb
}


@media only screen and (min-width: 1080px) {
    .site-container {
        width: 1080px; 
    }
    .top-container {
        width: 1080px;
    }
    .footer-container {
        width: 1080px;
    }
    .page-wrapper{
        width: 1080px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* 
.flex-container{
    display: flex;
    height: 100%;
}

.flex-item-center-vertical{
    display: block;
    align-self: center;
} */



.top-container {
    margin-top: 10px;
    margin-bottom: 0px;
    padding: 0px;
   /* background-color: #777;*/
    margin: 0 auto;
    text-align: right;
    width: 100%;
    display: block;
}



/* #Region Top-Container */
.top-container,
.top-container ul,
.top-container ul li,
.top-container ul li a,
    .top-container ul li span,
    .top-container ul li form {
    
    margin: 0px;
    padding: 0px;
    border: 0px;
    list-style: none;
    line-height: 0px;
    display: inline-block;
   
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* .top-container ul{
    display: flex;
    justify-content: end;
} */ 

/* .top-container:after,
.top-container ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
} */
.top-container ul li {
    display: inline-block;
}
  .top-container.align-right ul li {
     float: right; 
} 

.top-container.align-center ul {
    text-align: center;

}  

/* .top-container ul li a {
    font-size: 14px;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    border-left: 1px solid #fff;
}
 */

     .top-container ul li a {
        background-color: #edebeb;
        /* border-right: 5px solid #f7f7f7; */
        margin-left: 5px;
        color: #333;
        font-size: 11px;
        padding: 14px;
        text-decoration: none;
        text-transform: uppercase;
        }
    .top-container ul li:hover a,
    .top-container ul li a:hover,
    .top-container ul li.current a {
        text-decoration: underline;

    } 






@media all and (max-width: 300px) {
    .top-container {
        padding: 0;
        border-radius: 3;
        border: 0;
       
    }
    .top-container ul li,
    .top-container ul li a,
    .top-container.align-center,
    .top-container.align-right {
        display: block;
        width: 100%;
        margin: 0;
        
    }

    .top-container ul li span img {
        display: inline;
        margin-left: 5px;
    }
    .top-container ul{
        width: 100%;
        
    }
    .top-container * {
        width: 100%;
        
    }

    .page-wrapper{
        padding:0;
    }

    .top-container ul li.top-name{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .top-container ul li.top-name span{
        margin-bottom: 0.5em;
    }
    .top-container ul li{
        border-bottom: 1px solid #ccc;
    }
}

@media all and (max-width: 700px) {
    .site-container{
        padding: 1em;
    }
}

@media only screen and (max-width: 1050px) {
    /* .admin-menu-bars{
        display: block;
    }*/  
    /* .admin-menu{
        flex-direction: column;
    }
    .admin-menu-dropbtn{
        display: block;
    }  */
}

/* Footer */
.footer-container {
    text-align: center;
    color: #999;
    font-size: 0.9em;
    line-height: 1.2em;
    margin: 0 auto;
    width: 100%;
    background-color: #edebeb;
    clear: both;
    padding: 0.8rem;
    text-align: center;

}

.footer-container a {
    color: #999;
}

.footer-container p {
    padding: 5px;
    
    margin: auto;

}

.header {
    width: 100%;
    height: 128px;
    clear: both;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
    padding: 10px 0 5px;
    position: relative;
}

.admin-header {
    display: flex;
    width: 100%;
    /* height: 60px; */
    clear: both;
    border-bottom: 1px solid #999;
    margin-bottom: 0px;
    padding: 5px 0 5px;
    /* position: relative; */
}

.admin-menu{
    align-self: flex-end;
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
}
.admin-menu > li {
    list-style-type: none; 
}
.admin-menu-dropbtn:hover{
    /*color: #FDC82F;*/
    text-decoration: underline;
}

.admin-logo{
    display: inline-block;
}

.admin-menu-bars{
    display: none;
}

.top-container-form-control {
    width: 100%;
    margin-bottom: -1px;
    padding: 0.1rem;
    border: 1px solid #ccc;
    /* border-radius: 4px; */
    box-sizing: border-box;
    resize: vertical;
    font: inherit;
  }


/*--------------------------------Admin dropdown head-------------------------------*/

@media screen {
    
    /* Style The Dropdown Button */

    .admin-menu-dropbtn li {
 
        font-size: 11px; 
    }
    .dropdown-content a {
        font-size: 14px; 
    }

    .admin-menu-dropbtn {
        background-color: #F5F5F5;
        /*color: white;*/
        padding: 13px;
        font-size: 11px;
        text-transform: uppercase;
        border: none;
        cursor: pointer;
    }

    /* The container <div> - needed to position the dropdown content */
    .admin-menu-dropdown {
        position: relative;
        display: inline-block;
        margin-left: 0.5em;
        margin-top: 0.2em;
    }

    /* Dropdown Content (Hidden by Default) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 2;
    }

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

    /* Change color of dropdown links on hover */
    .dropdown-content a:hover {background-color: #f1f1f1}

    /* Show the dropdown menu on hover */
    .admin-menu-dropdown:hover .dropdown-content {
        display: block;
    }

    /* Change the background color of the dropdown button when the dropdown content is shown */
    .admin-menu-dropdown:hover .admin-menu-dropbtn {
        background-color: #edebeb;
    }

}







.inner-container {
    clear: both;
    padding-bottom: 30px;
    display: table;
    padding-top: 10px;

    width: 100%;
    /* nytt*/

}



.sidebar-1 {
    width: 12em;
    /* width: 160px; */
    float: left;
    margin-right: 2em;
    padding-top: 5px;
    /* nytt*/
}

@media only screen and (min-width: 1080px) {

}



.sidebar-2 {
    width: 286px;
    float: left;
    padding-top: 10px;
}


/* Sidebar - 2 */
.sidebar-2 .box{
    width: 100%;
    margin-bottom: 20px;
}
.sidebar-2 .box .box-header{
    padding: 15px 5px 6px 10px;
    font-size: 1.3em;
    color: #999;
}
.sidebar-2 .box .box-body{
    padding: 5px 10px 5px;
}
.sidebar-2 .box.gray{
    background-color: #f2f1ef;
}


.main {
    width: 523px;
    float: left;
    border-left: 1px solid #999;
    padding: 0 50px 0 30px;
    min-height: 500px;
}

.main-extended {
    width: 820px;
    float: left;
    border-left: 1px solid #999;
    padding: 0 30px 0 30px;
    min-height: 500px;
}


@media screen and (max-width: 783px) {
    .menu {
        display:none;
    }
    .sidebar-1 {
        position: relative;
        width:100%;
    }
    .main{
        border-left: 0px;
        width:100%;
    }
    .header{
        margin-bottom:0;
    }
    div.sm-menu-hidden {
        display:none;
    }
}
@media screen and (min-width: 784px) {
    .menu-bars{
        display:none;
    }
}

@media screen and (max-width: 1066px) {
    .sidebar-2{
        margin-top:1em;
        border-top: 0.1em solid #999;
        display: block;
        width: 100%;
        justify-content: center;
        padding: 1em 50px;
    }
}

.menu-display{
    display:block;
    margin-bottom:1em;
}


/* Header */
.header {
     display: table;
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap; */
}

.header a {
    text-decoration: none;
}

.header .logo,
.header .current-conference {
    display: table-cell;
    vertical-align: bottom;
    left: 0px;
}

.header .current-conference {
    text-align: right;
    width: 40%; 
    
}
@media screen and (max-width: 500px) {
    .header .logo,
    .header .current-conference,
    .header .current-conference a {
        display: block;
        width: 100%;
        
    }
    .header .current-conference a {
        text-align:right;
    }
}
/* .header .current-conference a {
    float: right; 
} */

.header.conference-header .current-conference {
    text-align: left;
    width: 100%;
}

.header.conference-header .current-conference a {
    float: left;
}


.header .current-conference-logo,
.header .current-conference-tagline {
    display: table-cell;
    vertical-align: middle;

}

.header .current-conference-logo {
    width: 20%;
}

.header .current-conference-tagline {
    width: 80%;
}

.header .current-conference-tagline h2 {
    font-size: 18px;
    line-height: 24px;
    float: right;
}

.header.conference-header .current-conference-tagline h2 {
    margin-left: 20px;
}


.header .logo-r {
    float: right;
    position: absolute;
}

.header .tagline {
    float: right;
}

.header .location-date-banner {
    position: absolute;
    right: 0px;
    top: 80px;
}

.header-current .location-date-banner {
    position: absolute;
    right: 0px;
    top: 115px;
}



/* Menu */

.menu-item {
    background: #fff;
    width: 180px;
}

/*Menu Header Styles*/
.menu-home h4 {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    padding: 0px 12px;
    /*background: #a90329;*/
}

.menu-home h4 a {
    color: #666;
    display: block;
    text-decoration: none;
    width: 140px;
}

.menu-home:hover {
    height: 20px;
}

.menu-home ul li.current a {
    /*color: #0039A6;*/
    text-decoration: underline;
}

.menu-item h4 {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    padding: 0px 12px;
    /*background: #a90329;*/
}

.menu-item h4 a {
    color: #666;
    display: block;
    text-decoration: none;
    width: 140px;
}

.menu-item:hover {
    height: 175px;
}

/*ul Styles*/
.menu-item ul {
    background: #fff;
    font-size: 14px;
    line-height: 1.5em;
    height: 0px;
    /*Collapses the menu*/
    list-style-type: none;
    overflow: hidden;
    padding: 0px;


    /*Animation*/
    /*  -webkit-transition: height 1s ease;
             -moz-transition: height 1s ease;
               -o-transition: height 1s ease;
              -ms-transition: height 1s ease;
                  transition: height 1s ease;*/
}

.menu-item ul a {
    margin-left: 15px;
    text-decoration: none;
    color: #0039A6;
    display: block;
    width: 160px;

}

.menu-item:hover ul {
    height: 175px;
}


/*li Styles*/
/*.menu-item li {*/
/*border-bottom: 1px solid #eee;
        text-indent: -25px ;*/
/*}*/

/*.menu-item li:hover {*/
/*background: #eee;*/
/*}*/

.menu-item ul li.current a {
    /*color: #0039A6;*/
    text-decoration: underline;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu a {
    display: block;
    width: 100%;
    /*color: #0039A6;*/
    color: #666;
    text-decoration: none;
    font-weight: 300;
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.5em;
}

.menu .top-menu>li {
    border-bottom: 1px dashed #ccc;
}

.menu .top-menu a {
    font-weight: 600;
}

.menu .sub-menu li a {
    font-weight: 300;
    margin-left: 5px;
}

.menu .sub-menu li ul li a {
    margin-left: 10px;
}

.menu ul ul {
    display: none;
    margin-left: 10px;
}

.menu ul li a:hover {
    color: #0039A6;
}

.menu .current>a {
    color: #0039A6;
    text-decoration: none;
}

.menu ul ul .current>a:before {
    content: ">";
    margin-left: -15px;
    display: inline-block;
    vertical-align: top;
    line-height: normal;
    width: 15px;
}

.menu .expanded ul {
    display: block;
}

.currentmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nonactive ul {
    color: #666;
}

.currentmenu ul li a {
    display: block;
    width: 100%;
    color: #0039A6;
    text-decoration: none;
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5em;
}

.currentmenu ul li a:hover {
    color: #0039A6;
}

.currentmenu ul li.current a {
    color: #0039A6;
    text-decoration: underline;
}

.sponsormenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sponsormenu ul li a {
    display: block;
    width: 100%;
    color: #0039A6;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.15em;
    margin-bottom: 15px;
    line-height: 1.3em;
}













