/* Paging  */
div.paging {
    display: block;
    float: left;
    width: 100%;
    margin: 30px auto 0;
    text-align: center;
}

#placeholder-content  div.paging  ul {
    display: inline-block;
    margin: 0 auto;
}

div.paging ul > li {
    float: left;
    background-color: #F0F0F0;
}

div.paging li.page > span {
    display: block;
    padding: 6px 14px;
    font-size: 1em;
    color: #fff;
    background: #27415D;
    border-radius: 4px;
    border: 1px solid #aea9a9;
}

div.paging li.page > a,
div.paging span.active,
div.paging span.regular,
div.paging li.next > a,
div.paging li.previous > a {
    display: block;
    padding: 6px 14px;
    font-size: 1em;
    color: #000000;
    border-radius: 4px;
    border: 1px solid #aea9a9;
}

div.paging li.page + li.page,

div.paging li.next {
    margin-left: 6px;
}

div.paging li.previous {
    margin-right: 6px;
}

div.paging li.next > a,
div.paging li.previous > a,
div.paging li.first > span {
    color:#FFF;
    font-weight: 600;
}

div.paging li.next,
div.paging li.previous,
div.paging li.first {
    background-color: #ABAAA9;
    border-radius: 4px;
    border: 1px solid #000000;
}

div.paging li > a:hover {
    text-decoration: underline;
    background-color: #C4C4C4;
    color: #000;
    cursor: pointer;
}

div.paging span.status {
    font-size: 0.9em;
}

/* End Paging */


/* Skjema ting */
td.ctwebform-element-container-validationerror {
    color: #ff0000;
}

span.ctwebform-element-validationerror {
    color: #ff0000;
}

td.ctwebform-element-container-validationerror input[text]:before {
    content: "*";
    color: #ff0000;
}

/* Skjemamal */
div#form {
    display: block;
    width: 100%;
    float: left;
    max-width: 660px;
}

div.formElement {
    float: left;
    display: block;
    width: 100%;
    font-weight: 300;
    margin-bottom: 10px;
}

#placeholder-content div.formElement > h3 {
    font-size: 1.5em;
    padding-top: 18px;
    margin-bottom: 0px;
    padding-bottom: 0px;

}

div.formElement label {
    display: block;
    float: left;
    padding-right: 5px;
}

div.formElement label.regular-text {
    width: 35%;
}

div.formElement label[for="orderedArticles-18"] {
    font-size: 1.5em;
}

div.formElement label[for="orderedArticles-18"] table {
    font-size: 0.6em;
}

div.formElement input[type="text"] {
    width: 55%;
    max-width: 50%;
    height: 1.7em;
}

div.formElement textarea[name="orderedArticles"] {
    display: none;
}

div.formElement input[type="radio"] {
    float: left;
    display: block;
    margin-top: 5px;
}

div.formElement table {
    width: 100%;
    display: block;
    float: left;
    margin-top: 10px;
}

div.formElement select {
    height: 30px;
    font-size: 15px;
    padding-top: 5px;
    width:385px;
    padding-right: 5px;
    padding-bottom: 2px;
}

div.formElement textarea {
    max-width: 94%;
}

div.formElement tr:nth-child(even) {

}

div.formElement tr:nth-child(odd) {

}

div.formElement tr {
    width: 100%;
    display: block;
}

div.formElement th {
    background-color: #ebebeb;
    color: #000;
}

div.formElement td.artid input[type="text"] {
    width: 100%;
    min-width: 120px;
}

div.formElement td.beskrivelse input[type="text"] {
    width: 100%;
    min-width: 390px;
}

div.formElement td.antall input[type="text"] {
    width: 100%;
    min-width: 60px
}

div.formElement th {
    font-weight:bold;
}
div.formElement td.artid,
div.formElement th.artid {
    width: 22%;
}

div.formElement td.beskrivelse,
div.formElement th.beskrivelse {
    width: 60%;
}

div.formElement td.antall,
div.formElement th.antall {
    width: 15%;
}
div.formElement th.artid {
    padding-left: 7px;
}
div.formElement th.antall {
    padding-left: 23px;
}
div.formElement th.beskrivelse {
    padding-left:0px;
}

div.formElement a.additionalLine {
    font-size: 0.6em;
}

div#form div.elementBlock {
    display: block;
    width: 50%;
    float: left;
    margin-bottom: 10px;
    height:auto;
    min-height:10px;
}
div#form div.formElement input[type="button"],
div#form div.formElement input[type="submit"] {
    background-color: rgb(224, 82, 6);
    color: rgb(238, 238, 238);
    width: 150px;
    height: 35px;
    border: 0px none;
    padding: 10px;
    cursor: pointer;
    position: relative;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 300;
    float: right;
    right: 35px;
}
input#submitfield-17-17 {
    margin-top:-50px;
}

@media (max-width: 1300px) {
    div.formElement input[type="submit"] {
        right: 75px;
    }
}

/* Skjema form/mal */
#placeholder-content .article-content .ctform table {
    border-collapse: collapse;
    border-spacing: 15px;
}

#placeholder-content .article-content .ctform table tbody tr:nth-child(even),
#placeholder-content .article-content .ctform table tbody tr:nth-child(odd),
#placeholder-content .article-content .ctform table tbody  tr {
    background-color: #FFF;
    /*padding-bottom:20px;*/
    padding-bottom: 15px;
    padding-top: 15px;
}


#placeholder-content .article-content .ctform table#orderLines {
    margin-top: 0px;

    border-spacing: 0px;
}

#placeholder-content .article-content .ctform table#orderLines input[type="text"] {
    max-width: 95%;
}

#placeholder-content .article-content .ctform table#orderLines tbody tr:nth-child(even),
#placeholder-content .article-content .ctform table#orderLines tbody tr:nth-child(odd) {
    padding: 0px 0px 0px 0px;
}

#placeholder-content .article-content .ctform table tbody  tr td {
    padding: 3px 10px 3px 3px;
}

#placeholder-content .article-content .ctform table tbody  tr > td > h3 {
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: -10px;
    font-size: 2em;
}

/* Decrease margin-top for first tr on .ctform's */
#placeholder-content .article-content .ctform > table  tbody  tr.first >  td > h3 {
    margin-top: -52px;
}

#placeholder-content .article-content .ctform table tbody tr td.ctwebform-element-unlabeled.first {
    border-top: 2px solid #fff;

}

/*#placeholder-content .article-content .ctform table tbody tr td input[type="text"] {
    height: 30px;
    font-size: 20px;
    font-weight: 300;
    font-family: open sans, sans;
}*/
/* */

div.formElement input[type="checkbox"] {
    float:left;
    margin-top:5px;
}
div#formDefault  div.formElement {
    width:50%;
}
div#formDefault  div.formElement label {
    width:35%;
}
div#formDefault  div.formElement label.checkbox {
    width:auto;
    max-width:20%;
}



/* Default skjema */
td.ctwebform-label label {
    vertical-align: top !important;
}

table.ctwebform-table input[type="text"] {
    height: 2em;
    width: 100% !important;
}
table.ctwebform-table select {
    height: 2em;
    width: 100%;
}
table.ctwebform-table input[type="checkbox"] {

}

div.error.searchresult-message {
    display: block;
    float: left;
    width: 100%;
}
div#suggestionform div.suggestionform {
    display:block;
    width:100%;
}
div#suggestionform h3 {
    font-size:1.8em;
}
div.suggestionform span {
    display:block;
    float:left;
    width:100%;
}
div.suggestionform input[type=text] {
    height:30px;
    font-size:15px;
    width:100%;
}
div.suggestionform label {
    width:100%;
}
div.suggestionform textarea {
    width:100%;
}


.search-result .digest p > em {
    font-weight: bold;
}

.linktoolbar li a  span {
    display:none;
}

.socialmedia li:hover {
    cursor:pointer;
}

.socialmedia li.facebook {
    background: url(/images/socialmedia/icons.png) no-repeat scroll 0px -90px;
}

.socialmedia li.twitter {
    background: url(/images/socialmedia/icons.png) no-repeat scroll -146px -90px;
}

.socialmedia li.linkedin {
    background: url(/images/socialmedia/icons.png) no-repeat scroll -71px -90px;
}

.socialmedia li.youtube {
    background: url(/images/socialmedia/icons.png) no-repeat scroll -218px -90px;
}

.socialmedia li.facebook:hover {
    background: url(/images/socialmedia/icons.png) no-repeat scroll 0px 0px;
}

.socialmedia li.twitter:hover {
    background: url(/images/socialmedia/icons.png) no-repeat scroll -146px 0px;
}

.socialmedia li.linkedin:hover {
    background: url(/images/socialmedia/icons.png) no-repeat scroll -71px 0px;
}

.socialmedia li.youtube:hover {
    background: url(/images/socialmedia/icons.png) no-repeat scroll -218px 0px;
}

/* Youtube fix responsive */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
