/*
  Theme Name: Ackermann
  Author: Archaeovision
  Author URI: http://archaeovision.eu/
  Version: 1.9
  Text Domain: ackermann
*/


.sketchfab .sketch-id-cover-wrap iframe,
.sketchfab .colrecmodel,
.sketchfab .colrecmodel iframe{
    width: 100%;
    height: 100%;
}
/*
.modal-title-layer h3 {
    font-family: 'Playfair Display';
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    margin: 0;
    padding-bottom: 15px;
    padding-top: 15px;
}

*/

.modal-title-layer p {
    font-size: 12px;
}

#gallery_modals .modal {
    min-height: 100%;
}

.modal .modal-content,
.modal .modal-body,
.modal .modal-carousel-wrapper,
.modal .modal-carousel-wrapper .carousel.slide,
.modal .modal-carousel-wrapper .carousel-inner,
.modal .modal-carousel-wrapper .carousel-inner .item {
    height: 100%;

}

.modal .modal-carousel-wrapper .carousel-inner > .item > img {
    max-height: 100%;
    max-width: 100%;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.modal .carousel-caption {
    width: 100%;
    font-family: "Akzidenz-Grotesk Pro";

}

.modal .gallery-counter {
    color: #ffd236;
    font-size: 30px;
    float: left;
    margin-right: 10px;
}


#gallery_modals .modal .modal-dialog.modal-text-carousel,
#investigate_modals .modal .modal-dialog.modal-text-carousel {
    width: 100%;
    height: 100%;
    margin:0;
    padding:0;
}

#investigate_modals .modal .modal-investigate-wrapper,
#investigate_modals .modal .modal-investigate-wrapper .tab-pane{
    height: 100%;
}

.tab-pane.tp-right {
  width: 50%;
  }

.carousel-wrap.works .carousel .carousel-inner>.item>img {
    max-width: 100%;
    overflow: hidden;
    margin: auto;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tmblr-full,
article .entry img {
    max-width: 100%;
    height: auto;
    margin: 5px auto;
}

img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}
img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}
img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Tumblr like grid */






@media (min-width: 1200px) {
    .container {
        width: 1260px;
        padding-left: 0;
        padding-right: 0;
    }
}

.tmblr-full img,
.entry-summary img {
    width: 100%;
}



article iframe {
    width: 100%;
}

i, em {
    font-style: italic;
}

/* Jetpack Sticky Footer - we do not need it */
#infinite-footer {
    display: none;
}

/* Page loader animation */

footer {
    text-align: center;
    margin: auto;
    font-family: "Akzidenz-Grotesk Pro";

}
footer img {
    margin: 10px;
}


/* ADD TO main_style.css */
.modal .modal-dialog .modal-content .modal-body .modal-close {
    /* background: none; commented by Ivan */
    width: 50px;
    height: 50px;
}

/* ADD TO main_style.css */
.looming-page .loom-main-slider .card-list-wrap .card-list-inner .card-list .card-txt .card-date {
    font-size: 40px;
}

/* ADD TO main_style.css - removing padding */
/*.modal .modal-dialog .modal-content .modal-body.out-top-info {
    padding-top: 0;
}*/

/* Let's hide for now */
/*
.fullscreen-btn {
    display: none;
}
*/
.carousel-wrap.works {
    min-height: 320px;
    vertical-align: middle;
    margin: 30px 0;
}

.elulugu-page .carousel .carousel-container .carousel-left-layer{
    overflow: auto;
}

.modal .modal-dialog .modal-content .modal-body .txt-side {
    max-height: 100%;
    height: 100%;
}

/* hidden untli content is loaded*/
.looming-page {
    display: none;
}

.sub-cab {
    font-size: 12px;
    display: block;
}
/* \--  Gallery popover realte */


/* bootsrap grid redefinition */
@media (min-width: 1200px) {
    .container {
        width: 1260px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
        margin-left: 0;
    }
}

/* --- bootsrap grid redefinition */


h3 {
    font-family: 'Playfair Display';
    font-size: 25px;
    font-weight: bold;
    color: #1d1b1a;
    line-height: 35px;
}

.page li {
    line-height: 27px;
}
/* Chanege of plan, we want to have one column instead of 2 */

.elulugu-page .text-layer p {
    margin-bottom: 15px;
}

.elulugu-page .text-layer {
    /*padding: 0 40px;*/
    padding: 0;
    columns: 1;
}
/*
.elulugu-page .carousel .carousel-container .carousel-left-layer .txt-wrap p {
    font-size: 16px;
    font-family: "Akzidenz-Grotesk Pro";
}

@media screen and (max-width: 1200px) {
    .elulugu-page .carousel .carousel-container .carousel-left-layer .txt-wrap p  {
        font-size: 13px;
    }
}
*/
/* moving gallery slider itro text to correspond to 1260 width layout */
@media screen and (min-width: 1200px) {
    .elulugu-page .carousel .carousel-container {
        margin-left: -630px;
    }
}

.modal .modal-dialog.modal-text-carousel {
    width: 100%;
}

.modal .modal-dialog {
    margin: 0;
}

/* responsive video */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
    margin: 34px 0;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.entry-content img,
.entry-content iframe,
.entry-content object,
.entry-content embed {
        max-width: 100%;
}
/* Breadcumbs */
/* moved to scss
.breadcrumbs {
    display: inline-block;
    border: 2px solid #000;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Akzidenz-Grotesk Pro';
}
.breadcrumbs span {
    padding: 10px;
    display: inline-block;
}
.breadcrumbs .bc_name {
    background-color: #000;
    color: #ffd236;
}*/
/* Timeline slider - new color */
/* moved to scss
.mCustomScrollbar.horizontalScrollTopBar .mCSB_scrollTools_horizontal .mCSB_draggerContainer .mCSB_draggerRail {
    border-top:  2px dashed #000;

}
*/
/* Investigate popover */
/* moved to scss
div.image-container .imagePlacerPoint>div {
    color: #000;
    }
.modal .modal-dialog .modal-content .modal-body .modal-investigate-wrapper ul.modal-tabs > li > a,
.modal .modal-dialog .modal-content .modal-body .modal-investigate-wrapper ul.modal-tabs li:hover a,
.modal .modal-dialog .modal-content .modal-body .modal-investigate-wrapper ul.modal-tabs li.active a {
    font-weight: bold;
    }
.modal .modal-dialog .modal-content .modal-body .modal-carousel-wrapper .carousel span[class^=icon-] {
    border-width: 4px;
    }
.modal .modal-dialog .modal-content .modal-body .modal-investigate-wrapper .modal-tab-content .txt-side {
    height: 100%;
    }*/
.osd_toolbar,
.osd_toolbar_fp.fullpage {
    border: none;
    margin: 0px;
    position: absolute;
    display: inline-block;
    touch-action: none;
    z-index: 300;
    width: 100%;
    text-align: center;
    }
.osd_toolbar {
  left:15px;
  text-align: inherit;
    }
.osd_toolbar span,
.osd_toolbar_fp.fullpage span {
    display: inline-block;
    vertical-align: top;
    height: 52px;
    padding: 0 7px;
    }
.osd_toolbar span.imgTools,
.osd_toolbar_fp.fullpage span.imgTools {
    background: #1e2121 !important;
    border-bottom-left-radius: 5px;
    }
.osd_toolbar span.imgNav,
.osd_toolbar_fp.fullpage span.imgNav {
    background: #ffd236;
    border-bottom-right-radius: 5px;
    }
/*.osd_toolbar span img {
    padding: 10px 5px;
    }*/
.osd_toolbar span.currentpage,
.osd_toolbar_fp.fullpage span.currentpage {
    font-size: 27px;
    font-weight: 700;
    font-family: Akzidenz-Grotesk Pro;
    margin: 10px 0;
    }

.modal-backdrop.fade {
    opacity: 0.9;
    }
.openseadragon-container.fullscreen {
    background-color: black;
    }
/* For Safari - fullscreen OSD bg color*/
/*
.openseadragon-container  {
    background-color: black !important;
    }*/
.osd_toolbar_fp.fullpage {
    position: absolute !important;
    z-index: 400;
    width: 100%;
    text-align: center;
    }
.inv_viewer .nav>li>a {
    display: inline-block;
    }
.inv_viewer .nav {
    text-align: right;
    }

.imagePlacerPoint[data-point="7178"],.imagePlacerPoint[data-point="7239"] {
	display:none;
}