0/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
    .ska-menu {padding-top: 7px;}
    .ska-menu a:hover{color:#428bca !important;}
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .ska-menu {padding-top: 7px;}
    .ska-menu a:hover{color:#428bca !important;}
    .lead, .front .lead, p.lead, p {font-size:21px !important;}
    h1{font-size:32px !important;}
    h2{font-size:24px !important;}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .ska-menu {	margin-top: 40px !important;}
}
    
    
/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    #navbar {}
    #navbar * {
	border: none !important;
	padding: 0 5px 10px 5px;
    }
    #navbar * a:hover {
	border: none !important;
	box-shadow: none;
    }
    .ska-menu {
	padding-top: 7px;
	height: 35px;
    }
    .ska-menu ul {
	clear: both;
	margin-bottom: 10px;
    }
    .navbar-brand {
	float: none;
	width: 35%;
	margin-top: -5px;
    }
    .navbar-toggle {
	padding: 10px 2px 2px 2px;
    }
    figure{
	margin: 15px 0 15px 0;
    }
}


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    #navbar {}
    #navbar * {
	border: none !important;
	padding: 0 5px 10px 5px;
    }
    #navbar * a:hover {
	border: none !important;
	box-shadow: none;
    }
    .ska-menu {
	padding-top: 7px;
	height: 35px;
    }
    .ska-menu ul {
	clear: both;
	margin-bottom: 10px;
    }
    .navbar-brand {
	float: none;
	width: 35%;
	margin-top: -5px;
    }
    .navbar-toggle {
	padding: 10px 2px 2px 2px;
    }
    figure{
	margin: 15px 0 15px 0;
    }

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    #navbar {}
    #navbar * {
	border: none !important;
	padding: 0 5px 10px 5px;
    }
    #navbar * a:hover {
	border: none !important;
	box-shadow: none;
    }
    .ska-menu {
	padding-top: 7px;
	height: 35px;
    }
    .ska-menu ul {
	clear: both;
	margin-bottom: 10px;
    }
    .navbar-brand {
	float: none;
	width: 35%;
	margin-top: -5px;
    }
    .navbar-toggle {
	padding: 10px 2px 2px 2px;
    }
    figure{
	margin: 15px 0 15px 0;
    }
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
    #navbar * {
	border: none !important;
	padding: 0 2px 7px 2px;
	font-size: 12px;
    }
    .navbar-brand {
	float: none;
	width: 75%;
	margin-top: -10px;
	margin-left:0px;
    }
    .ska-menu {
	font-size: 12px;
    }
    .ska-menu ul {
	clear: both;
	margin-bottom: 10px;
    }
    .es-search {
	padding: 10px 0 0 0;
    }
    .lead, .front .lead, p.lead, p {
	font-size:18px !important;
    }
    h1{
	font-size:24px !important;
    }
    h2{
	font-size:21px !important;
    }
    figure{margin: 15px 0 15px 0;}
}


/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
    .navbar-brand {
	float: none;
	width: 45%;
	margin-top: 0px;
    }
}





.front a {
    color:#428bca;
}

.front a:hover{
    color:#2a6496; text-decoration:underline;
}

p.lead {
	font-family: 'Alegreya', georgia, serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 130%;
}

/* SKA-MENU LINE */
.ska-menu {
    font-family: 'Source Sans pro' sans-serif;
    /*border-bottom: 1px solid #ddd;*/
    text-transform: uppercase;
    height:auto;
}

.ska-menu + .container {
    margin-top: 30px;
}

.ska-menu * {
    color: #666 !important;
    font-family: 'Source Sans Pro', sans-serif;
}

.front {
    /* background-color: #7ad1f5; */
    padding-top: 40px;
}

.front .lead {
    font-family: Alegreya, georgia, serif;
    font-style: normal;
    font-size: 21px;
    line-height:145%;
}

.sidebar-block {
    font-family: 'Source Sans Pro', sans-serif;
    background: #7AD1F5;
    color: black;
    width: 290px;
    border-radius: 0px;
    padding: 10px;
    margin-top: 40px;
}

.es-search  {
	margin:-7px 0 0 0; padding:0; height: 20px;
}

.es-search * {
	border: none;
}

.es-search input {
	border-bottom: #ddd dotted 1px;
	box-shadow: none;
}

.es-search input:focus {
	outline:0px !important;
    -webkit-appearance:none;
    box-shadow: none;
}

/* MAP */
@media (max-width: 768px) { 
	#map {height: 200px !important;} 
	#dzi1 {height: 300px !important;}
	#dzi-control * { font-size: 10px !important;} 
	.main-body { padding-top: 0 !important; }
}

.map-wrap, #map-wrap { width: 100%; } 
#map {width: 100%; height: 450px;}
#places { margin-bottom: 20px;}
#map-monument {width: 100%; height: 650px;}

/* DISQUS */
#disqus_thread { min-height: 347px; margin-top: 50px; padding-top: 20px; border-top: dotted 1px #bbb; clear: both;}

/* DEPICTED */
#depicted { margin-bottom: 25px;}
#depicted .depicted { text-align: center; border: 1px solid #ddd; background-color: #fff; padding: 20px 10px 10px 10px; box-shadow: #ccc 0px 2px 2px}
#depicted .depicted img { margin-bottom: 10px; }

/* COLLETIONS */
.collections h5 {
	 border-bottom: 1px solid #ddd; padding-left:15px; padding-bottom: 5px;
}

/* SUBJECT LINKS */
span[itemprop="keywords"] a {
   color: #428bca;
}

/* WIKIPEDIA REFERENCING INFORMATION */
#wikipedia-reference *, spreadsheet-reference * { font-size: 0.9em; }

/* SPO view */
.full-metadata-div { margin: 15px 0;}
.table.resource_about caption { display: none; }

/* IMAGE STYLE */
.caption * { font-size: 1.3em; color: black; padding: 0 18px; }
.img-border { border: 1px solid #ccc; }
img.img-resource { margin: 10px 0 20px 0; border: #bbb solid 1px; padding: 10px; background-color: #fffffa; border: 1px solid #ccc; -moz-box-shadow: 0px 0px 10px #bbb; -webkit-box-shadow: 0px 0px 10px #bbb; box-shadow: 0px 0px 10px #bbb; }
.collection-logo { margin-bottom: 30px; }
/* iphone */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	img.img-resource { max-width: 98%; }
}

/* ipad */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
	img.img-resource { max-width: 98%; }
}
.thumbnail { margin-bottom: 30px; padding: 0; border: none;}
.thumbnail .caption {}
.thumbnail h3 { font-size: 1.2em; margin: 5px 0 0 0; }
.thumbnail img { margin: 0;}
.thumbnail {
    position:relative;
    overflow:hidden;
}
.caption-sm {
	font-size: 10px;
	padding: 0 !important;
}

.th-grid h4 { margin-left: 20px; }
.th-grid * .caption {
    position:absolute;
    top:0;
    right:0;
    background:rgba(255, 255, 255, 0.75);
    width:100%;
    height:100%;
    padding:2%;
    display: none;
    text-align:center;
    color:#fff !important;
    z-index:2;
}

.img-featurette { margin-top: 20px;}


.featurette-divider {
	margin: 60px 0;
}

.no-padding {padding: 0 !important; position: relative;}

/* DZI */

.digitalresource-block {
	margin-bottom: 20px;
}


.dzi-wrap {
	padding: 0 !important;
}
#dzi {
	background-color: #eee;
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
}
#dzi1 {
    height: 600px;
    width: 100%; 
    background-color: black;
    color: white;   /* for error messages, etc. */
}
#dzi-control {
	text-align: center;
	margin-top: 8px;
}
#dzi-control.fullpage {
    width:      100%;
    border:     none;
    position:   fixed;
    z-index:    999;
    left:       0;
    top:        0;
    background-color: #fff;
    text-align: left;
    margin-left: 20px;
}
#dzi-control.fullpage ul { left: 10px; top: 10px; }

input[id="pagenum"] {
  width: 85px;
  display: inline;
}

p.beta {
	cursor: hand;
	cursor: pointer;
}

/* IFRAME */
#transcription {
	margin-bottom: 20px;
	border: 2px solid #ccc;
}
iframe { 
	background-color: white;
	border: none;
	padding: 5px;
}

/*  TAB fix 
-------------------------------------------- */

.tab-content-zindex {z-index: 888;}

.dbpedia {
	border: #ddd 1.5px dashed;
}

/*  CAROUSEL
-------------------------------------------- */
carousel-caption {
	width: 400px;
	bottom: 10% !important;
	right: 20% !important;
}

.social .fa-pinterest { color: #cb2027; }

path {
  stroke: #fff;
  fill-rule: evenodd;
}
.node rect {
  cursor: pointer;
  fill: #fff;
  fill-opacity: .5;
  stroke: #3182bd;
  stroke-width: 1.5px;
}

.node text {
  font: 10px sans-serif;
  pointer-events: none;
}

path.link {
  fill: none;
  stroke: #9ecae1;
  stroke-width: 1.5px;
}

/*  TIMELINE
-------------------------------------------- */
.timeline {
    list-style: none;
    padding: 0;
    position: relative;
}

    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 0px;
        background-color: #ddd;
        border: 1px rgba(240, 144, 114, 1) solid;
        left: 50%;
        margin-left: -0px;
    }

    .timeline > li {
        margin-bottom: 20px;
        position: relative;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            width: 46%;
            float: left;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            position: relative;
            -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            
        }

            .timeline > li > .timeline-panel:before {
                position: absolute;
                top: 10px;
                right: -15px;
                display: inline-block;
                border-top: 15px solid transparent;
                border-left: 15px solid #ccc;
                border-right: 0 solid #ccc;
                border-bottom: 15px solid transparent;
                content: " ";;
            }

            .timeline > li > .timeline-panel:after {
                position: absolute;
                top: 11px;
                right: -14px;
                display: inline-block;
                border-top: 14px solid transparent;
                border-left: 14px solid #f4f4f4;
                border-right: 0 solid #f4f4f4;
                border-bottom: 14px solid transparent;
                content: " ";
            }

        .timeline > li > .timeline-badge {
            color: #fff;
            width: 18px;
            height: 18px;
            line-height: 60px;
            font-size: 1.2em;
            text-align: center;
            position: absolute;
            top: 18px;
            left: 50%;
            margin-left: -8px;
            background-color: #d96a48;
            z-index: 100;
            border-top-right-radius: 50%;
            border-top-left-radius: 50%;
            border-bottom-right-radius: 50%;
            border-bottom-left-radius: 50%;
        }

        .timeline > li.timeline-inverted > .timeline-panel {
            float: right;
        }

            .timeline > li.timeline-inverted > .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                right: auto;
            }

            .timeline > li.timeline-inverted > .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -14px;
                right: auto;
            }

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-heading {
    background-color: #f4f4f4;
	padding: 15px 15px 5px 15px;
}

.timeline-body {
	padding: 5px 15px 15px 15px;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

    .timeline-body > p + p {
        margin-top: 5px;
    }

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 17px;;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

        ul.timeline > li > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.timeline > li > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }
}

h1,h2,h3 {
    vertical-align:middle;
}

  h1>.badge, h2>.badge, h3>.badge {
    vertical-align:middle;
    margin-top: -0.5em;
}

/*  HIERARCHY LIST COLOUR SCHEME
-------------------------------------------- */
#hierarchy-list li:nth-child(2) {
	border-left: 4px solid #02AD9B;
	padding: 5px 0 5px 12px;
	margin-left: 7px;
}
#hierarchy-list li:nth-child(3) {
	border-left: 4px solid #FFF903;
	padding: 5px 0 5px 12px;
	margin-left: 7px;
}
#hierarchy-list li:nth-child(4) {
	border-left: 4px solid #FF6E03;
	padding: 5px 0 5px 12px;
	margin-left: 7px;
}
#hierarchy-list li:nth-child(5) {
	border-left: 4px solid #700DB8;
	padding: 5px 0 5px 12px;
	margin-left: 7px;
}
#hierarchy-list li:nth-child(6) {
	border-left: 4px solid #02AD9B;
	padding: 5px 0 5px 12px;
	margin-left: 7px;
}
#hierarchy-list li:nth-child(7) {
	border-left: 4px solid #FFF903;
	padding: 5px 0 5px 12px;
	margin-left: 7px;
}
#hierarchy-list li:nth-child(8) {
	border-left: 4px solid #FF6E03;
	padding: 5px 0 5px 12px;
	margin-left: 7px;
}

code.citation-block {
	display: block;
	padding: 15px;
	overflow-x: scroll !important;
	font-size: small;
}

hr.slim {margin: 10px 0 10px 0;}

.m-button-red { color: rgba(255, 60, 60, 0.93);}
.m-button-black { color: black;}

.all-data:hover .animated { 
    -webkit-animation-duration: 0.8s; 
    animation-duration: 0.8s; 
    -webkit-animation-fill-mode: both; 
    animation-fill-mode: both;
    animation-iteration-count:infinite; 
    -webkit-animation-iteration-count:infinite; 
} 

@-webkit-keyframes pulse { 
    0% { -webkit-transform: scale(1); } 
    70% { -webkit-transform: scale(1.35); } 
    100% { -webkit-transform: scale(1); } 
} 
@keyframes pulse { 
    0% { transform: scale(1); } 
    70% { transform: scale(1.35); } 
    100% { transform: scale(1); } 
} 
.all-data:hover .pulse { 
    -webkit-animation-name: pulse; 
    animation-name: pulse; 
}
.btn-link:hover { text-decoration: none !important;}
.btn-link a:hover { text-decoration: none !important; } 	

.facetview_search_options_container select { display: inline-block;}

.links.main-menu li.active a {
	color: #fff !important;
	background-color:#428bca !important;
	background:#428bca !important;
}

.view-nytt-i-skeivopedia * p {
  font-family: 'Alegreya', serif;
  font-size: 16px;
/*   height: 60px; */
  line-height: 25.6000003814697px;
}

.view-nytt-i-skeivopedia * h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0px;
}

.view-header {
background: url(https://skeivtarkiv.no/sites/all/themes/custom/skeivtarkiv/img/bg/hr.gif) 0 50% repeat-x;  background-origin: padding-box;
  background-size: auto;
  box-sizing: border-box;
  color: rgb(51, 51, 51);
  display: block;
  font-family: 'Alegreya', Times, serif;
  font-size: 14px;
  height: 33px;
  line-height: 20px;
  margin: 20px 0 20px 0;
    background-color: rgba(0, 0, 0, 0);	
}

.view-header h1 {
	box-sizing: border-box;
  color: rgb(17, 17, 17);
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 24px;
  font-weight: 600;
  height: 33px;
  letter-spacing: 0px;
  line-height: normal;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  text-transform: uppercase;
}

.view-header h1 span {
  background: #fff;
  padding: 0px 20px 0 0;
}

.footer-fix {
	margin-top: 200px;
}

.haspart {
  margin-bottom: 15px; 
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}
