/* Reset */
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}td:not([align]),th:not([align]){text-align:left}

/* Main */
#body { font-size: 16px; font-family: Roboto,sans-serif; line-height: 1.4; color: #666; font-weight: 100; overflow: hidden; }

/* Loader */
.page-loader.documentready.show { display: block; }
.page-loader.documentready.redirect .loader-content { left: 50%; opacity: 1; }
.page-loader.documentready.redirect .loader-background { display: block; }
.page-loader.documentready.redirect .loader-mask { left: 0; width: 100%; overflow: hidden; }

/* Header */
#header { position: fixed; top: 0px; left: 0px; width: 100%; padding: 20px 30px; padding-bottom: 15px; border-bottom: 1px solid #eee; background-color: #fff; z-index: 500; }
#header .logoetp { float: left; padding-right: 25px; }
#header .logoetp .link { background-image: url(/images/wmi/encyklopedia-teatru-polskiego.svg); display: block; width: 233px; height: 42px; background-size: contain; background-repeat: no-repeat; text-indent: -9999px;  }
#header .logowmi { float: left; }
#header .logowmi .link { text-decoration: none; color: #5f75a6; font-weight: 600; font-size: 26px; letter-spacing: 0.5px; line-height: 40px; display: block; width: 382px; }

#header .flags { padding: 9px 0px; float: right; width: 78px; padding-left: 25px; }
#header .flags .link { display: inline-block; width: 24px; height: 24px; background-size: cover; background-position: center center; background-repeat: no-repeat; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
#header .flags .link:hover { filter: saturate(1.5) contrast(1.2); }
#header .flags .link.en { background-image: url(/images/wmi/flags/uk.png); }
#header .flags .link.pl { background-image: url(/images/wmi/flags/pl.png); }

#header .search { width: calc(100% - 718px); padding-left: 25px; float: right; margin-top: 2px; }
#header .search .form { border: 1px solid #ccc; height: 38px; }
#header .search .text { border: none; padding: 10px 20px; float: left; width: calc(100% - 38px); }
#header .search .submit { cursor: pointer; border: none; border-left: 1px solid #d5d5d5; background: url(/images/wmi/search.png) no-repeat center center; background-size: 22px; height: 38px; width: 38px; float: right; }

@media (max-width: 1100px) {
    #header .logowmi { clear: left; }
    #header .search { width: calc(100% - 460px); }
}

@media (max-width: 870px) {
    #header .logoetp { float: none; padding-right: 0px; margin: 0 auto; width: 233px; }
    #header .logowmi { float: none; text-align: center; }
    #header .logowmi .link { display: inline-block; }
    #header .search { float: none; padding-left: 0px; margin: 0 auto; margin-top: 5px; width: 100%; max-width: 500px; }
}

@media (max-width: 500px) {
    #header { position: absolute; top: 0; width: 100%; padding-left: 15px; padding-right: 15px; }
    #header .logowmi .link { font-size: 18px; display: inline; }
}

/* Content */
#content { padding: 20px 30px; padding-top: 104px; }

/* Footer */
#footer { border-top: 1px solid #eee; font-size: .8125rem; position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; padding: 2.25rem; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; }
#footer a { color: #4990E2; text-decoration: none; }
#footer .it-logo { margin-right: 1.5rem; margin-bottom: 0; margin-left: auto; -webkit-box-ordinal-group: 2; -webkit-order: 1; -ms-flex-order: 1; order: 1; display: inline-block; }
#footer .social { position: static; bottom: .75rem; right: 1.125rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; padding: 0; list-style: none; -webkit-box-ordinal-group: 3; -webkit-order: 2; -ms-flex-order: 2; order: 2; margin: 0; }
#footer .social li { margin-left: .75rem; }
#footer .links { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin-bottom: 0; padding: 0; list-style: none; }
#footer .links li { margin-right: .75rem; }

@media (max-width: 870px) {
    #footer { display: block; }
    #footer .it-logo { margin-bottom: 5px; }
    #footer .social { margin-top: 15px; }
    #footer .social li:first-child { margin-left: 0px; }
}

@media (max-width: 500px) {
    #footer { padding-left: 15px; padding-right: 15px; }
}

/* Additional */
input:focus, select:focus, textarea:focus, button:focus { outline: none; }

/* Homepage */
.homepage #content { position: relative; /*background: url(/images/wmi/homepage/sketch.jpg) no-repeat center right;*/ background-color: #fcfcfc; background-size: 60%; padding: 20px 0px; padding-top: 104px; padding-bottom: 102px; }
.homepage #content::after { content: ""; clear: both; display: table; }
.homepage #content .intro-text { float: left; width: 40%; padding: 40px 30px; padding-right: 60px; }
.homepage #content .intro-text .title { font-weight: 600; font-size: 24px; line-height: 36px; margin-bottom: 25px; text-tranform: uppercase; }
.homepage #content .intro-text .paragraph { margin-bottom: 20px; font-size: 18px; }

.homepage #content .object { float: right; width: calc(60% - 20px); margin-right: 20px; height: 100%; }
.homepage #content .object .model { width: 100%; height: 100%; }
.homepage #content .object iframe, .homepage #content .object div { width: 100%; height: 100%; }

.homepage #content .bottom-link { position: absolute; bottom: 0; left: 0; width: 100%; }
.homepage #content .bottom-link .link { margin-top: 40px; background-color: #4A4069; color: #fff; display: block; text-decoration: none; text-align: center; padding: 15px 25px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; font-size: 20px; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.homepage #content .bottom-link .link .text { display: inline-block; line-height: 32px; }
.homepage #content .bottom-link .link .text .btn { margin-right: 10px; float: left; width: 32px; height: 32px; display: inline-block; background: url(/images/wmi/homepage/timeline-btn-gold.svg) no-repeat center center; background-size: 32px; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.homepage #content .bottom-link .link:hover { background-color:#ddd; color: #4A4069; }
.homepage #content .bottom-link .link:hover .text .btn { background-image: url(/images/wmi/homepage/timeline-btn-purple.svg); }

@media (max-width: 1100px) {
    .homepage #content { padding-top: 144px; }
    
    .homepage #content .object { width: calc(50% - 20px); }
    .homepage #content .intro-text { width: 50%; }
    
    .homepage #content .bottom-link { position: static; }
    
}

@media (max-width: 870px) {
    .homepage #content { padding-top: 184px; }
    .homepage #content .intro-text { float: none; width: 100%; height: auto !important; }
    .homepage #content .object, .homepage #content .object div, .homepage #content .object iframe { float: none; width: 100%; height: 300px !important; } 
}

@media (max-width: 500px) {
    .homepage #content .intro-text { padding-left: 15px; padding-right: 15px; }
}

/* Timeline */
.timeline #content { background-color: #fcfcfc; }
.timeline .timeline-body { position: relative; padding: 25px 0px; }
.timeline .line { position: absolute; top: 0px; height: 100%; border-left: 1px dashed #666; width: 1px; left: calc(50% - 0.5px); }

.timeline .timeline-elements { }
.timeline .timeline-elements .year { background-color: #eee; color: #777; text-align: center; margin: 0 auto; width: 80px; font-weight: bold; font-size: 17px; margin-top: 60px; margin-bottom: 0px; padding: 8px 20px; position: relative; }
.timeline .timeline-elements .year:first-child { margin-top: 0px; }

.timeline .timeline-elements .item  { background-color: rgba(255, 255, 255, 0.25); display: block; margin: 0 auto; width: 100%; max-width: 650px; margin-top: 15px; margin-bottom: 15px; padding: 25px 25px; position: relative; color: #666; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.timeline .timeline-elements .item.active:hover { background-color: rgba(255, 255, 255, 1); }
.timeline .timeline-elements .item::after { content: ""; clear: both; display: table; }
.timeline .timeline-elements .item.inactive { opacity: 0.6; cursor: default; }
.timeline .timeline-elements .day { display: block; left: calc(50% - 6px); position: absolute; color: #4A4069; font-weight: bold; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.timeline .timeline-elements .item.inactive .day { color: #ccc; }
.timeline .timeline-elements .item.inactive .right .title { color: #ccc; }
.timeline .timeline-elements .item.inactive .right .author { color: #ccc; }
.timeline .timeline-elements .item.inactive .right .theatre { color: #ccc; }
.timeline .timeline-elements .item.inactive .day::before { background-color: #ccc; }
.timeline .timeline-elements .item.inactive .left .image { opacity: 0.5; }
.timeline .timeline-elements .item.lazyload { opacity: 0; transform: translateY(100px); }
.timeline .timeline-elements .item.lazyload.visible { opacity: 1; transform: translateY(0px); }
.timeline .timeline-elements .day::before { width: 11px; height: 11px; top: 5px; background-color: #4A4069; border-radius: 100%; content: ''; position: absolute; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.timeline .timeline-elements .day .text { display: block; padding-left: 26px; }

.timeline .timeline-elements .left { display: block; float:left; width: calc(50% - 20px); }
.timeline .timeline-elements .left .image { width: 100%; height: 186.666px; display: block; background-position: center center; background-repeat: no-repeat; background-size: cover; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.timeline .timeline-elements .item.active:hover .left .image { filter: contrast(1.2) brightness(1.1) saturate(1.2); }

.timeline .timeline-elements .right { margin-top: 30px; display: block; float:right; width: calc(50% - 20px); }
.timeline .timeline-elements .right  .title { display: block; font-size: 34px; line-height: 44px; font-weight: bold; margin-bottom: 10px; margin-top: 3px; }
.timeline .timeline-elements .right  .author { display: block; margin-bottom: 2px; }
.timeline .timeline-elements .right  .theatre { display: block; }
.timeline .timeline-elements .right  .button { display: inline-block; padding: 10px 40px; background-color: #4A4069; color: #FFC562; font-weight: bold; margin-top: 30px; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.timeline .timeline-elements .item.inactive .right  .button { background-color: #777; color: #fff; }
.timeline .timeline-elements .item.active:hover .right .button { background-color: #FFC562; color: #4A4069; }
.timeline .timeline-elements .item.active:hover .right .button:hover { background-color: #4A4069; color: #FFC562; }

.timelinepanel { display: block; top: 50%; transform: translate(0px, -50%); right: 50px; position: fixed; width: 62px; height: 252px; z-index: 99; user-select: none; }
.timelinepanel-path { position: absolute; left: 50%; transform: translate(-50%, 0px); width: 100%; height: 186px; top: 32px; overflow: hidden; }
.timelinepanel-handle { position: absolute; top: 50%; left: 50%; margin-top: -20px; margin-left: -20px; width: 40px; height: 40px; transform: none; border-width: 1px; border-style: solid; border-color: #4A4069; background-color: #4A4069; border-image: initial; border-radius: 100%; transition: all 0.8s cubic-bezier(0, 0.7, 0.4, 1) 0s; }
.timelinepanel-handle::before, .timelinepanel-handle::after { position: absolute; left: 50%; transform: translate(-50%, 0px); content: ""; width: 1px; height: 200px; background: repeating-linear-gradient(transparent, transparent 2.5px, #4A4069 2.5px, #4A4069 5px); }
.timelinepanel-handle::before { bottom: 100%; }
.timelinepanel-handle:after { top: 100%; }
.timelinepanel-years { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); clip-path: ellipse(30px 30px at 30px 30px); width: 100%; height: 100%; overflow: hidden; }
.timelinepanel-years, .timelinepanel-year { list-style: none; margin: 0px; padding: 0px; }
.timelinepanel-years::before { background-color: #4A4069; content: ""; width: 101%; height: 101%; opacity: 0; position: absolute; top: 0px; left: 0px; transform: scale(0); border-radius: 100%; transition: all 0.8s cubic-bezier(0, 0.7, 0.4, 1) 0s; }
.timelinepanel-year { font-size: 13px; margin-left: -1px; font-weight: normal; letter-spacing: 0px; color: #fff; display: block; width: 40px; opacity: 0; position: absolute; top: 0%; text-align: center; user-select: none; line-height: 40px !important; transition: transform 0.8s cubic-bezier(0, 0.7, 0.4, 1) 0s, opacity 0.8s cubic-bezier(0, 0.7, 0.4, 1) 0s, -webkit-transform 0.8s cubic-bezier(0, 0.7, 0.4, 1) 0s; }
.timelinepanel-year.active { opacity: 1; }
.timelinepanel-track { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.timelinepanel-up, .timelinepanel-down { cursor: pointer; position: relative; }
.timelinepanel-handle:hover .timelinepanel-years::before { opacity: 1; transform: scale(1); }
.timelinepanel-up:hover circle, .timelinepanel-down:hover circle { fill: #4A4069; }
.timelinepanel-up:hover polyline, .timelinepanel-down:hover polyline { stroke: #fff; }
.timelinepanel-up circle, .timelinepanel-up polyline, .timelinepanel-down circle, .timelinepanel-down polyline { -webkit-transition: 0.8s cubic-bezier(0, 0.7, 0.4, 1); transition: 0.8s cubic-bezier(0, 0.7, 0.4, 1); }

@media (max-width: 1100px) {
    .timeline #content { padding-top: 144px; }
}

@media (max-width: 870px) {
    .timelinepanel { right: 15px; }
    .timeline #content { padding-right: 75px; padding-top: 184px; }
    
    .timeline .timeline-elements .right .title { font-size: 28px; line-height: 36px; }
}

@media (max-width: 500px) {
    .timelinepanel { display: none; }
    .timeline #content { padding-left: 7.5px; padding-right: 7.5px; }
    .timeline .timeline-elements .item { padding: 7.5px 7.5px; }
    .timeline .timeline-elements .right .title { font-size: 24px; line-height: 32px; }
}

/* Play */
.play #content { padding-left: 20px; padding-right: 20px; min-height: calc(100vh - 130px); }

.play .maininfo { padding-left: 20px; padding-right: 20px; }
.play .maininfo::after { content: ""; clear: both; display: table; }

.play .maininfo .description { float: left; width: calc(25% - 22.5px); min-height: 50vh; }
.play .maininfo .description .title { display: block; font-size: 34px; line-height: 44px; font-weight: bold; margin-bottom: 20px; margin-top: 3px; }
.play .maininfo .description .title .year { font-weight: normal; }
.play .maininfo .description .author { letter-spacing: 1.2px; font-size: 14px; }
.play .maininfo .description .text { display: none; overflow-y: auto; }
.play .maininfo .description .text p { margin-top: 15px; padding-right: 10px; }
.play .maininfo .description .text p:first-child { margin-top: 0px; }

.play .maininfo .object { float: left; width: calc(50% - 15px); margin-left: 30px; margin-right: 30px; min-height: 50vh; }
.play .maininfo .object .model { width: 100%; height: 400px; background-color: #fafafa; }
.play .maininfo .object .Hotspot { opacity: 0.7; background: #4A4069; border-radius: 32px; border: 0; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); box-sizing: border-box; cursor: pointer; height: 24px; padding: 8px; position: relative; transition: opacity 0.3s; width: 24px; }
.play .maininfo .object .Hotspot:not([data-visible]) { background: transparent; border: 4px solid #fff; box-shadow: none; height: 32px; pointer-events: none; width: 32px; }
.play .maininfo .object .Hotspot:focus { opacity: 1; border: 4px solid #FFC562; height: 32px; outline: none; width: 32px; }
.play .maininfo .object .Hotspot>* { opacity: 1; transform: translateY(-50%); }
.play .maininfo .object .HotspotAnnotation { opacity: 0.4; background: #fff; border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); color: rgba(0, 0, 0, 0.8); display: block; font-size: 16px; font-weight: 700; left: calc(100% + 1em); max-width: 128px; padding: 0.5em 1em; position: absolute; top: 50%; width: max-content; }
.play .maininfo .object .Hotspot:focus .HotspotAnnotation { opacity: 1; }
.play .maininfo .object .Hotspot:not([data-visible])>* { opacity: 0; pointer-events: none; transform: translateY(calc(-50% + 4px)); transition: transform 0.3s, opacity 0.3s; }

.play .maininfo .object.video iframe { width: 100%; min-height: 350px; }

.play .maininfo .object.image img { width: 100%; }

.play .maininfo .object.sketchfab iframe { width: 100%; min-height: 350px; }
.play .maininfo .object.sketchfab p { display: none; }

.play .maininfo .links { float: left; width: calc(25% - 22.5px); min-height: 50vh; }
.play .maininfo .links .link { display: block; padding: 10px 40px; background-color: #eee; color: #4A4069; font-weight: bold; margin-top: 7px; text-align: center; text-decoration: none; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .maininfo .links .link.gold { background-color: #FFC562; }
.play .maininfo .links .link:hover { cursor: pointer; color: #FFFFFF; background-color: #4A4069; }
.play .maininfo .links .link:first-child { margin-top: 0px; }

.play .maininfo .links .group { display: none; padding-top: 12px; }
.play .maininfo .links .group::after { content: ""; clear: both; display: table; }
.play .maininfo .links .group .item { cursor: pointer; width: calc(50% - 5px); height: 120px; margin-left: 10px; margin-bottom: 10px; float: left; background-position: center center; background-size: cover; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .maininfo .links .group .item:hover { filter: opacity(1.1) contrast(1.2) saturate(1.3); }
.play .maininfo .links .group .item:nth-child(2n+1) { margin-left: 0px; }

.play .boxes { margin-top: 50px; padding: 0px 20px; }
.play .boxes::after { content: ""; clear: both; display: table; }
.play .boxes .box { float: left; width: calc(25% - 22.5px); margin-left: 30px; margin-bottom: 30px; background-color: #fcfcfc; position: relative; }
.play .boxes .box:nth-child(4n+1) { margin-left: 0px; clear: both; }
.play .boxes .box .title { padding: 8px 16px; letter-spacing: 1px; }
.play .boxes .box .arrow { cursor: pointer; z-index: 10; top: calc(50% - 10px); opacity: 0.6; width: 40px; height: 40px; position: absolute; background-size: cover; background-position: center center; background-repeat: no-repeat; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .boxes .box .arrow.left { background-image: url(/images/wmi/arrow-left.svg); left: 0px; }
.play .boxes .box .arrow.right { background-image: url(/images/wmi/arrow-right.svg); right: 0px; }
.play .boxes .box .arrow:hover { opacity: 1; }
.play .boxes .box .items { padding: 8px 16px; height: 250px; position: relative; }
.play .boxes .box .items .item { display: block; cursor: pointer; display: block; z-index: 1; opacity: 0; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center center; background-repeat: no-repeat; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .boxes .box .items .item:hover { filter: opacity(1.1) contrast(1.2) saturate(1.3); }
.play .boxes .box .items .item.active { opacity: 1; z-index: 3; }
.play .boxes .box .items .item .description { position: absolute; bottom: 0; left: 0; width: 100%; background-color: rgba(255, 197, 98, 0.8); color: #4A4069; font-size: 14px; font-weight: 400; padding: 5px 10px; }

.play .documentviewer { visibility: hidden; opacity: 0; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 900; background: url(/images/wmi/loading.svg) center center no-repeat rgba(0, 0, 0, 0.8); background-size: 44px 44px; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .documentviewer.visible { opacity: 1; visibility: visible; }
.play .documentviewer .close { opacity: 0.8; float: right; margin: 8px; background: url(/images/wmi/return.png) center 8px no-repeat #fff; width: 42px; height: 42px; cursor: pointer; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .documentviewer .close:hover { opacity: 1; }
.play .documentviewer .viewer { opacity: 0; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
.play .documentviewer .viewer.visible { opacity: 1; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }

.play .documentviewer .short { width: 100%; height: 100%; }
.play .documentviewer .short .info { background-color: rgba(255, 255, 255, 0.95); }
.play .documentviewer .short .info .description { padding: 10px 12px; padding-top: 1px; }
.play .documentviewer .short .image { text-align: center; }
.play .documentviewer .short .image img { width: auto; height: auto; display: inline-block; }
.play .documentviewer .short .image .pdf { width: 100%; height: 100%; }
.play .documentviewer .short .arrow { cursor: pointer; opacity: 0.5; height: 100%; width: 30px; position: absolute; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .documentviewer .short .arrow:hover { opacity: 1; }
.play .documentviewer .short .arrow.left { left: -45px; background: url(/images/wmi/arrow-left.svg) no-repeat center center; }
.play .documentviewer .short .arrow.right { right: -45px; background: url(/images/wmi/arrow-right.svg) no-repeat center center; }
.play .documentviewer .short .imageslist { background-color: #ddd; padding: 8px; }
.play .documentviewer .short .imageslist::after { content: ""; clear: both; display: table; }
.play .documentviewer .short .imageslist .item { width: 40px; height: 40px; float: left; margin-left: 8px; background-position: center center; background-size: cover; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .documentviewer .short .imageslist .item:first-child { margin-left: 0px; }
.play .documentviewer .short .imageslist .item:hover { cursor: pointer; filter: brightness(1.2) contrast(1.3); }

.play .documentviewer .long { position: relative; background-color: #fff; width: calc(98vw - 160px); height: calc(98vh - 50px); }
.play .documentviewer .long::after { content: ""; clear: both; display: table; }
.play .documentviewer .long .info { width: 100%; height: 100%; }
.play .documentviewer .long .leftpart { position: absolute; left: 0; width: 35%; height: 100%; float: left; }
.play .documentviewer .long .leftpart .image { width: 100%; height: 100%; }
.play .documentviewer .long .leftpart .image .img { width: 100%; height: 100%; background-position: center center; background-size: cover; }
.play .documentviewer .long .leftpart .image .pdf { width: 100%; height: 100%; }
.play .documentviewer .long .description { padding: 15px 30px; width: 65%; float: right; overflow-y: auto; height: 100%; }
.play .documentviewer .long.width .leftpart { width: 55%; height: 100%; }
.play .documentviewer .long.width .description { width: 45%; }

.play .documentviewer .long .arrow { cursor: pointer; opacity: 0.5; height: 100%; width: 30px; position: absolute; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .documentviewer .long .arrow:hover { opacity: 1; }
.play .documentviewer .long .arrow.left { left: -45px; background: url(/images/wmi/arrow-left.svg) no-repeat center center; }
.play .documentviewer .long .arrow.right { right: -45px; background: url(/images/wmi/arrow-right.svg) no-repeat center center; }

.play .documentviewer .long .imageslist { background-color: rgba(221, 221, 221, 0.7); padding: 8px; position: absolute; width: 100%; margin-top: -56px; }
.play .documentviewer .long .imageslist::after { content: ""; clear: both; display: table; }
.play .documentviewer .long .imageslist .item { width: 40px; height: 40px; float: left; margin-left: 8px; background-position: center center; background-size: cover; transition: all 0.4s; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; }
.play .documentviewer .long .imageslist .item:first-child { margin-left: 0px; }
.play .documentviewer .long .imageslist .item:hover { cursor: pointer; filter: brightness(1.2) contrast(1.3); }

@media (min-width: 2300px) {
    .play .boxes .box .items { padding: 8px 16px; height: 400px; position: relative; }
}

@media (min-width: 2000px) {
    .play .boxes .box .items { padding: 8px 16px; height: 350px; position: relative; }
}

@media (min-width: 1700px) {
    .play .boxes .box .items { padding: 8px 16px; height: 300px; position: relative; }
    
    .play .boxes .box { margin-left: 45px; width: calc(25% - 33.75px); }
    .play .maininfo .description { width: calc(25% - 33.75px); }
    .play .maininfo .links { width: calc(25% - 33.75px); }
    .play .maininfo .object { margin-left: 45px; margin-right: 45px; width: calc(50% - 22.5px); }
    
    .play .maininfo .description, .play .maininfo .object, .play .maininfo .links { min-height: 40vh; }
    
    .play .maininfo .links .link { margin-top: 15px; }
}

@media (max-width: 1100px) {
    .play #content { padding-top: 144px; padding-left: 0px; padding-right: 0px; }
    .play .maininfo .links { float: none; clear: both; width: 100%; padding-top: 25px; min-height: 0; }
    .play .maininfo .description { width: 40%; min-height: 0; }
    .play .maininfo .object { width: calc(60% - 30px); margin-right: 0px; min-height: 0; }
}

@media (max-width: 870px) {
    .play #content { padding-top: 184px; }
    .play .maininfo .description { clear: none; width: 100%; height: auto !important; margin-bottom: 30px; }
    .play .maininfo .object { margin-left: 0px; float: none; width: 100%; }
    
    .play .boxes .box { width: calc(50% - 10px); margin-left: 20px; margin-bottom: 20px; }
    .play .boxes .box:nth-child(4n+1) { margin-left: 20px; clear: none; }
    .play .boxes .box:nth-child(2n+1) { margin-left: 0px; clear: both; }
    
    .play .documentviewer .long .leftpart { position: static; width: 100%; float: none; height: 50%; }
    .play .documentviewer .long .description { float: none; width: 100%; height: 50%; }
    .play .documentviewer .long .imageslist { display: none; }
    
    .play .documentviewer .long.width .leftpart { width: 100%; height: 50%; }
    .play .documentviewer .long.width .description { width: 100%; }
    
    .play .documentviewer .short .imageslist { display: none; }
}

@media (max-width: 500px) {
    .play .maininfo { padding-left: 15px; padding-right: 15px; }
    .play .boxes { padding-left: 15px; padding-right: 15px; }
    .play .boxes .box { width: 100%; margin-left: 0px; float: none; }
}

/* Search */
.search .content { min-height: calc(100vh - 130px); }
.search .content .title { font-weight: bold; font-size: 20px; line-height: 28px; margin-bottom: 3px; }
.search .search-results { }
.search .search-results .result { margin-bottom: 30px; padding-top: 40px; border-top: 1px dashed #ddd; }
.search .search-results .result:first-child { padding-top: 0px; border-top: 0; }
.search .search-results .result .main-image { display: block; width: 280px; height: 186.666px; float: left; margin-right: 20px; background-position: center center; background-size: cover; }
.search .search-results .result::after { content: ""; clear: both; display: table; }
.search .search-results .result .main-info { float: left; width: calc(100% - 300px); max-width: 500px; padding: 15px 0px; }
.search .search-results .result .date { color: #4A4069; font-weight: bold; }
.search .search-results .result .playtitle { margin-bottom: 10px; margin-top: 3px; }
.search .search-results .result .playtitle a { font-size: 34px; line-height: 44px; font-weight: bold; text-decoration: none; color: #666; }
.search .search-results .result .author { margin-bottom: 2px; }
.search .search-results .result .description { font-size: 14px; margin-top: 20px; color: #aaa; }
.search .search-results .result .highlight { background-color: #ffe25b; color: #333; font-weight: bolder; display: inline-block; padding: 0px 5px; }

@media (max-width: 1100px) {
    .search #content { padding-top: 144px; }
}

@media (max-width: 870px) {
    .search #content { padding-top: 184px; }
}

@media (max-width: 600px) {
    .search .search-results .result .main-image { float: none; width: 100%; height: 200px; }
    .search .search-results .result .main-info { float: none; width: 100%; margin-top: 5px; }
}