@import 'css/reset.css';
@import 'css/rebuild.css';
@import 'css/wp-css';

/* Midlertidig fiks */
#external-ad-single-bottom,
#internal-ad-single-bottom {
    display:none;
}

/**
 * Structure
 */

/* Layout */
#access {
    display:none;
}

#main,
#kolofon,
#sponsors
{
    width:1000px;
    margin:auto;
    position:relative;
}
#main {
    margin-top:-20px;
}
#content {
    float:left;
    margin:50px 0 20px;
    width:950px;
    background: #ffffff;
    position:relative;
    padding:0 25px;
}

.page-medlemmer .column,
.home .column {
    width:425px;
    margin:0;
    padding:50px 25px;
    float:left;
}

.hentry {
    margin:0;
    width: 518px;
/*    overflow:hidden; */
    background:#ffffff;
    margin-bottom: 30px;
}

.single .hentry,
.archive #articles
{
    float:left;
    margin:50px 35px 50px 25px;
    width:540px;
}

.page-medlemmer .hentry {
    width:950px;
    margin:0;
}

.page-medlemmer .hentry h1 {
    margin:40px 50px 0;
}

#primary.sidebar,#secondary.sidebar {
    width:300px;
    float:left;
    padding:30px 25px 30px 25px;
}

.program #sorting {
    width:566px;
    float:left;
    margin:25px 25px 0;
}
.program #sorting li {
    padding-bottom:0 !important;
}
.program #program {
    float:left;
    width:566px;
    margin:0 25px 25px;
    background:#b8e2ed;
}

.program #program li,
.program #sorting li {
    display:block;
    overflow:hidden;
    padding:10px;
}

.program #program span,
.program #sorting span {
    display:block;
    float:left;
}

.program span.event-name {
    width:338px;
}
.program span.event-type {
    width:64px;
}
.program span.event-date {
    width:64px;
}
.program span.event-place {
    width:64px;
}

.program #primary.sidebar,.program #secondary.sidebar {
    width:282px;
}

* html #primary {
    left: 20px;
    position: relative;
}
.program-teaser {
    width:1000px;
    margin:auto;
}

/* end layout */

/* Header */
body.dns {
    background:#efefef;
}
/*body.dns */
#header {
    background:#191919 url('img/header-210x.png') repeat-x bottom;
}
#header {
    height:175px;
    margin-bottom:10px;
    overflow:hidden;
    position:relative;
}
.site-title {
    z-index:999
}
.site-title a {
    background: url('img/bannerindex-400.png') no-repeat -20px 0;
    display:block;
    height:63px;
    margin-top:20px;
    text-indent:-9999px;
    width:400px;
}

#quick-menu {
    color:#cccccc;
    font-size:13px;
    left:50%;
    margin-left:100px;
    position:absolute;
    text-align:right;
    top:5px;
    width:375px;
}
#quick-menu a {
    color:#ffffff;
}

#menu {
    position:absolute;
    bottom:35px;
    width:100%;
/*    padding-left:23%;*/
}
#header .site-title,
#header #menu ul ul,
#menu > ul {
    width:975px;
    margin:auto;
}
#menu ul,#menu li {
    list-style-type:none;
}
#menu li{
    float:left;
    margin-right:10px;
}
#menu li a{
    display:block;
    height:22px;
    padding:5px 13px 3px;
    text-decoration:none;
    color:#ffffff;
}
#menu ul div {
    bottom:-25px;
    left:0;
    position:absolute;
    margin:0;
    width:100%;
    border-top:none;
}
#menu ul ul li,
#menu ul ul li a {
    color:#ffffff;
}
#menu ul ul li a {
    padding-top:1px;
}

#menu > ul > li {
    -moz-border-radius-topleft:8px;
    -moz-border-radius-topright:8px;
    -webkit-border-top-left-radius:8px;
    -webkit-border-top-right-radius:8px;
    border-top-left-radius:8px;
    border-top-right-radius:8px;
}

#menu li div {
    display:none;
    height:25px;
}
#menu li.current div {
    display:block;
}
#menu li:hover div,
#menu li:focus div
{
    display:block;
    background:url('img/gradient-200x.png') repeat-x 0 -204px;
    z-index:9;
}

#menu li div {
    background-image: url(img/fade-to-black.png) !important;
}

#menu > ul > li,
#menu li div {
    background-color:#999999;
}
.section-forside #menu li#forside-meny,
#menu li#forside-meny:hover,
#menu li#forside-meny div {
    background:#2c69a6 url(img/gradient-white-to-transparent-x30.png) repeat-x 0 top;
}
.section-program #menu li#program-meny,
#menu li#program-meny:hover,
#menu li#program-meny div {
    background:#b64484 url(img/gradient-white-to-transparent-x30.png) repeat-x 0 top;
}
.section-foreninger #menu li#foreninger-meny,
#menu li#foreninger-meny:hover,
#menu li#foreninger-meny div {
    background:#23905b url(img/gradient-white-to-transparent-x30.png) repeat-x 0 top;
}
.section-forum #menu li#forum-meny,
#menu li#forum-meny:hover,
#menu li#forum-meny div {
    background:#ba3939 url(img/gradient-white-to-transparent-x30.png) repeat-x 0 top;
}
.section-inside #menu li#inside-meny,
#menu li#inside-meny:hover,
#menu li#inside-meny div {
    background: #6b43a2 url(img/gradient-white-to-transparent-x30.png) repeat-x 0 top;
}
.section-nyheter #menu li#nyheter-meny,
#menu li#nyheter-meny:hover,
#menu li#nyheter-meny div {
    background: #1c8a8e url(img/gradient-white-to-transparent-x30.png) repeat-x 0 top;
}

#header .aapningstider {
    color:#CCCCCC;
    font-size:12px;
    height:100px;
    left:50%;
    margin-left:300px;
    overflow:hidden;
    position:absolute;
    text-align:right;
    top:25px;
    width:175px;
}
#header .aapningstider table {
    position:absolute;
    right:0;
    bottom:0;
    text-align:left;
}

/* Header slutt */

/* Hoveddel */

.home .hentry {
    width:100%;
    padding:0;
    margin:0 0 40px;
    border:none;
    clear:both;
    overflow:hidden;
}

.home #more {
    height:0;
    text-align:right;
}
.home #more a {
    position:relative;
    top:-66px;
}

.info ul {
    background:#B8E2ED none !important;
    list-style-type:none;
    margin:0 0 3em;
    padding-bottom:10px;
    width:100%;
}
.info ul li {
    padding:10px;
}
.info ul li.alt,
.program #program li.alt
{
    background: #9DCBDB;
    left:-10px;
    padding:10px 20px 10px;
    position:relative;
    width:405px;
}
.program #program li.alt {
    width:548px;
}
.single .info ul li.alt {
    width:280px;
}
.info ul .term {
    float:left;
    font-weight:bold;
}
.home .info ul .term {
    width:50px;
}
.home .info ul .definition {
    padding-left:50px;
}
.single .info ul .term {
    width:60px;
}
.single .info ul .definition {
    padding-left:60px;
}

.hentry, .sidebar {
    margin-top:15px;
}
.entry-meta {
    margin: -12px 0 12px;
}
.vedlegg {
    float:right;
    margin:0 0 3px 10px;
    max-width:300px;
}
.caption {
    color:#333333;
    font-size:14px;
    line-height:1;
    margin-bottom:2em;
    text-align:center;
}
#vedlegg-2 .caption {
    margin-bottom:0.5em;
}

.campaign {
    width:425px;
    height:160px;
    background:black;
    margin: 40px 0;
}
.campaign a {
    display:block;
    width:100%;
    height:100%;
    text-indent:-99999px;
}
#campaign1 a {
    background: url('http://studentersamfundet.no/imageResize.php?pic=bilder/program/3960.jpg&maxwidth=425&maxheight=160&crop=1');
}
#campaign2 a {
    background: url('http://studentersamfundet.no/imageResize.php?pic=bilder/program/3705.jpg&maxwidth=425&maxheight=160&crop=1');
}
#campaign3 a {
    background: url('http://studentersamfundet.no/imageResize.php?pic=bilder/program/3693.JPG&maxwidth=425&maxheight=160&crop=1');
}

#internal-ad-single-bottom {
    width:540px;
    height:150px;
    background:black;
    margin-bottom:30px;
}

#external-ad-single-bottom {
    width:540px;
    height:300px;
    background:black;
}

.section-program .entry-content {
    margin-bottom: 1.5em;
}
.section-program #facebook-comments {
    clear:left;
}
.section-program .hentry .internal-ad {
    float:left;
    width:250px;
}
.section-program .hentry #newsletter.internal-ad {
    margin-right:40px;
}
.section-program .hentry .internal-ad .fancybox {
    max-width:198px;
}

.program #internal-ad-sidebar-insert a {
    width:282px;
}

#internal-ad-sidebar-insert a,
#internal-ad-content-top a,
.fancybox
{
    padding: 14px 25px 16px;
    color:#fff !important;
    font-family:Georgia,serif;
    font-size:25px;
    font-weight:bold;
    font-style:italic;
    line-height:1;
    text-decoration:none;
    text-align:center;
    text-shadow:0 -1px 1px rgba(0,0,0,0.45);
    cursor:pointer;
    overflow:visible;
    width:250px;
    background-color:green;
}
a.callToAction:hover,
a.callToAction:focus
{
    background-color:#111;
    color:#fff
}
a.callToAction:active {
    top:1px
}
.page-vis .internal-ad .fancybox {
    background-color: #B64484;
}
.page-foreninger #internal-ad-content-top a {
    background-color: #23905B;
}

.fancybox,
.info ul,
.info ul li.alt,
ul#program,
ul#program li.alt,
#internal-ad-sidebar-insert a,
#internal-ad-content-top a,
#content,
.join a
{
    display:inline-block;
    background-image: url(img/gradient-transparent-to-black-x100.png);
    background-repeat: repeat-x;
    background-position: center bottom;
    -webkit-border-radius:15px;
    -moz-border-radius:15px;
    border-radius:15px;
    -moz-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow:5px 5px 5px rgba(0, 0, 0, 0.25);
    box-shadow:5px 5px 5px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0,0,0,.25);
    border-bottom-color: rgba(0,0,0,.35);
    position:relative;
}
.small.fancybox,
.info ul li.alt,
ul#program li.alt,
#content {
    background-image:none;
}
.small.fancybox,
.info ul li.alt,
ul#program li.alt
{
    -webkit-border-radius:7px;
    -moz-border-radius:7px;
    border-radius:7px;
}
#content {
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -moz-box-shadow:0 1px 15px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow:0 1px 15px rgba(0, 0, 0, 0.25);
    box-shadow:0 1px 15px rgba(0, 0, 0, 0.25);
}
.fancybox:hover,
.fancybox:focus,
#internal-ad-sidebar-insert a:hover,
#internal-ad-sidebar-insert a:focus,
#internal-ad-content-top a:hover,
#internal-ad-content-top a:focus,
.join a
{
    background-image: url(img/gradient-white-to-transparent-x100.png);
    background-position:center top;
}

.join a,
.join a:visited {
    display:block;
    background-color:#B8E2ED;
    color:#333333;
    border-color:rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.2);
    font-family:Georgia,serif;
    font-size:34px;
    font-style:italic;
    line-height:1;
    padding-left:30px;
    padding-top:50px;
    position:absolute;
    top:-40px;
    left:-40px;
    width:145px;
    height:125px;
    -moz-border-radius:90px;
    -webkit-border-radius:90px;
    border-radius:90px;
    -webkit-box-shadow:4px 5px 5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow:4px 5px 5px rgba(0, 0, 0, 0.15);
    box-shadow:4px 5px 5px rgba(0, 0, 0, 0.15);
}
.join a:hover,
.join a:focus {
    background-color:#cdedf6;
}



/* Hoveddel slutt */

/* Sidebar */
.sidebar ul {
    list-style-type:none;
    margin-left:0;
    width:300px;
}
.sidebar .widget {
    margin-bottom:30px;
}

.events.widget li.event,
.news.widget li.article {
    margin:0 0 40px;
}

.fordeler.widget a#fordeler-call-to-action {
    background-color:lightGreen;
    bottom:50px;
    color:#333333;
    display:block;
    font-family:Georgia,serif;
    font-size:25px;
    font-style:italic;
    height:25px;
    padding:35px 0;
    position:absolute;
    text-align:center;
    width:300px;
}

/* Sidebar slutt */

/* Footer */

#sponsors .sponsor {
    float:left;
    text-align:center;
    width:16.6%;
}

#footer {
    background-color:black;
    color:#eeeeee;
    clear:both;
    padding-top:20px;
    overflow:auto;
}

#footer .credits {
    clear:both;
    display:block;
    text-align:center;
    width:100%;
}

#footer-about,
#flickr-images
{
    float:left;
    width:300px;
    margin-right:50px;
}

#facebook-followers {
    float:right;
}

#flickr-images > ul {
    list-style-type:none;
    margin:0;
}
#flickr-images > ul > li {
    display:block;
    float:left;
}

/* Footer slutt */

/**
 * Typography
 */
body, input, textarea {
    font: 14px Arial,sans-serif;
    line-height:1.5em;
    color:#333333;
}

p, ul, ol, dd, pre {
    margin-bottom:1.5em;
}
pre, code {
    font:14px Monaco, monospace;
    line-height:1.3;
}
a,a:visited {
    text-decoration:none;
    color:#9dcbdb;
}
a:hover, a:focus {
    text-decoration:underline;
}
a:focus { outline:thin dotted; }
a:hover, a:active { outline: none; }

abbr {
    border-bottom: 1px dotted;
}

h1 {
    font-style:normal;
    color: black;
    color: black !important;
}

h2,h3,h4,h5,h6 {
    font-family: Georgia, serif;
    font-style: italic;
}

h1,h2,h3,h4,h5,h6
{
    clear:none;
    color:#9dcbdb;
    margin-bottom:0.5em;
    text-decoration:none;
    line-height:1;
}

h4,h5,h6 {
    color:#d83e00;
}

.sidebar h1 a,
.sidebar h2 a,
.sidebar h3 a,
.sidebar h4 a,
.sidebar h5 a,
.sidebar h6 a {
    color:#D83E00;
}

.info ul a,
ul#program a
{
    color:#333333;
}

.entry-title {
    font-size: 34px;
}
h1 {
    font-size:34px;
}
h2 {
    font-size:25px;
}
h3 {
    font-size:23px;
}
h4 {
    font-size:16px;
}
h5 {
    font-size:16px;
}
h6 {
    font-size:16px;
}
.home h3,.home h3 a {
    font-size:28px;
    color:#9DCBDB;
    text-decoration:none;
}
.home .entry-title,
.home .entry-title a {
    font-size:18px;
    color:#d83e00;
}

.entry-meta {
    font-size:12px;
}

.sidebar {
    font-size:12px;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    padding:0;
}
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    padding-left:20px;
}
.entry-content ul {
    list-style: circle inside;
}
.entry-content ul ul {
    list-style: disc inside;
}
.entry-content ul ul ul {
    list-style: square inside;
}
.entry-content ul ul ul ul {
    list-style: circle inside;
}
.entry-content ul ul ul ul ul {
    list-style: disc inside;
}
.entry-content ul ul ul ul ul ul {
    list-style: square inside;
}
.entry-content ol {
    list-style: decimal inside;
}
.entry-content ol ol {
    list-style: upper-roman inside;
}
.entry-content ol ol ol {
    list-style: lower-roman inside;
}
.entry-content ol ol ol ol {
    list-style: decimal inside;
}
.entry-content ol ol ol ol ol {
    list-style: upper-roman inside;
}
.entry-content ol ol ol ol ol ol {
    list-style: lower-roman inside;
}

/* Quotes */
.entry-content blockquote {
    margin: 1em 2em;
    font-style:italic;
    background:#eeeeee;
    margin:1em 2em;
    padding:1px 19px;
}
.entry-content blockquote blockquote {
    border:1px solid #000000;
}
.entry-content cite {
    font-style:italic;
}

/* Images */
img {
    max-width:100%;
}
.entry-content img {
    margin: 0 0 10px;
}
.entry-content img.alignright {
    margin: 0 0 10px 10px;
}
.entry-content img.alignleft {
    margin: 0 10px 10px 0;
}

/************
 * Social *
 ***********/

#facebook-comments iframe {
    width:550px !important;
}
#facebook-comments .wallkit_form div.connect_area div.or {
    position:absolute;
    right:170px;
}
#facebook-comments .wallkit_form div.connect_area div.connect_button_text {
    position:absolute;
    right:16px;
}

#social-content-top {
    float:left;
}

#facebook-share-content-top {
    margin-bottom:10px;
    margin-right:6px;
}

#facebook-followers iframe {
    height:300px !important;
}

/******************************
 * Styles for inividual pages *
 *****************************/

.home #articles .post > a > img {
    float:left;
    margin:2px 10px 0 0;
    width:93px;
}

.home #frontpage-ads .ads-container {
    clear:both;
    padding:20px;
    margin:20px 0;
    background:#eee;
    overflow:hidden;
}
.home #frontpage-ads .ads-container .ad {
    float:left;
    margin:20px;
}

.home #lead-text h1 {
    margin:0.5em 0;
}

h2.jobb {
    background:#eeeeee;
    margin-top:0.5em;
    padding:10px 10px 5px;
}
.page-kontakt .entry-content h5 {
    margin-bottom:0.2em;
}

.page-kontakt .entry-content > ul {
    list-style-type:none;
    margin:0;
}

/* Fordeler.php */
.fordel {
    width:540px;
    height:405px;
    background-position:center center;
    position:relative;
}
.fordel p {
    background-color:white;
    bottom:0;
    color:#000000;
    font-size:20px;
    margin-bottom:0;
    opacity:0.6;
    padding:15px 20px;
    position:absolute;
    width:100%;
    padding:10px;
}

#fordel-1 { 
    background:url(http://studentersamfundet.no/imageResize.php?pic=bilder/nyheter/311.jpg&maxwidth=540&maxheight=405&crop=1);
}
#fordel-2 { 
    background:url(http://studentersamfundet.no/imageResize.php?pic=bilder/nyheter/311.jpg&maxwidth=540&maxheight=405&crop=1);
}
#fordel-3 { 
    background:url(http://studentersamfundet.no/imageResize.php?pic=bilder/nyheter/311.jpg&maxwidth=540&maxheight=405&crop=1);
}
#fordel-4 { 
    background:url(http://studentersamfundet.no/imageResize.php?pic=bilder/nyheter/311.jpg&maxwidth=540&maxheight=405&crop=1);
}
#fordel-5 { 
    background:url(http://studentersamfundet.no/imageResize.php?pic=bilder/nyheter/311.jpg&maxwidth=540&maxheight=405&crop=1);
}
#fordel-6 { 
    background:url(http://studentersamfundet.no/imageResize.php?pic=bilder/nyheter/311.jpg&maxwidth=540&maxheight=405&crop=1);
}
#fordel-7 { 
    background:url(http://studentersamfundet.no/imageResize.php?pic=bilder/nyheter/311.jpg&maxwidth=540&maxheight=405&crop=1);
}

.page-stillinger .entry-content strong {
    display:block;
}
