@import url('reset.css');
@import url('static.css');
@import url('elements.css');
@import url('normalize.css');
@import url('basscss.css');


/* Thestandard */
.ep-primary {
	color: #ff9900;
}
.ep-primary:hover {
	color: #ffa217
}
.ep-top {
  padding: 5px 0;
  background-color: #ed1e24;
}

.ep-brand .logo {
  display: block;
  width: 270px;
  height: 72px;
  background-image: url(logo.gif);
  background-position: left center;
  background-repeat: no-repeat;
  text-indent: -9999px;
}
.ep-header {
    border-bottom: 4px solid #f67026;
}
.ep-navbar {
  background-color: #ed1e24;
}
.ep-ad {
    background-color: #ed1e24;
    width: 100%;
}
.ep-menu li {
  margin-left: .75rem;
}

.ep-menu li a {
  padding: 2px 15px;
  height: 26px;
  font-size: 15px;
  color: #ffffff;
  border-radius: 6px 6px 0 0;
  background-color: #ec1a23;
  background: linear-gradient(#ec1a23, #c7151b);
}

.ep-menu li a:hover {
    background-color: #f78b0b;
    background: linear-gradient(#fc9414, #e98205);
}

.ep-footer {
    height: 24px;
    color: #ffffff;
    border-top: 4px solid #ff9900;
    background-color: #ed1e24;
}

.ep-footer a {
    color: #ffffff;
    text-decoration: none;
}

.ep-footer a:hover {
    color: #ffff33;
    
}

.floatingad-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* z-index: 1200; */
    z-index: 10001;
}

.ad-container {
    position: absolute;
    /*top: -7rem;*/
}

.btn-close {
    position: absolute;
    z-index: 99999;
    padding: 10px;
    background: white;
    border-radius: 30px;
    margin: 10px;
    right: -20px;
    margin-top: -20px;
    cursor: pointer;
}

.btn-close img {
    width: 20px;
}

/* = General
-------------------------------------------------------------- */
.clear {
    clear: both;
    display: block;
}

a {
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

label,
input[type="submit"]
{
    cursor: pointer;
}

html {
    overflow: hidden;
}


/* = Structure
-------------------------------------------------------------- */
/* Change height from 100% to auto */

html, body { position:absolute; width:100%; height:100%; margin: 0; padding: 0; overflow: hidden; }

body {
	/*
	background: url(../img/background/bg.jpg) repeat center 0;
	background: url(../img/bg_new.jpg) repeat;
	background-size: 100px 50px;
	*/
}

#header {
	position:relative;
	width:100%;
	z-index:5;
}

#page {
    position: relative; z-index: 5;
    display: block;
	margin: 0 auto;
}

#page.mobile {
    width: 550px; height: 358px;
    margin: -210px 0 0 -275px;
}

#page .padding { /*padding: 0 34px;*/ }

#divider {
	position:relative;
	height:10px;
	width:100%;
}

#divider p {
	position:relative;
	top:10px;
	font-size:12px;
	text-align:right;
}

#centralContent{
	position:relative;
}

/* Causing display of the background inproperly
@media screen and (max-width: 1024px) {

    body {
        background-size: 200% 200%;
    }

}
*/

@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {

    body {
        background-size: 200% 200%;
	}


    #page {
       /* width: 540px; height: 351px;
        margin: -205px 0 0 -270px; */
	}

    #about { font-size: 90%; margin-top: -10%; }

}

@media screen and (max-width: 768px) {

    #page {
        /*width: 540px; height: 351px;
        margin: -205px 0 0 -270px;*/
		}

}

@media only screen and (max-device-width: 960px) {
    #page {
       /*width: 540px; height: 351px;
       margin: -205px 0 0 -270px;*/
    }

    #about {
        font-size: 80%;
    }

}


.cursor-grab {
    cursor: -webkit-grab;
    cursor: -moz-grab;
}

.overlay {
    position: absolute; left: -10000px; top: 0; z-index: 20;
    background: url(../img/bg-overlay.png);
    width: 100%; height: 100%;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay.active { left: 0;  }



/* = About
-------------------------------------------------------------- */

#about {
    position: absolute; z-index: 5;
    width: 45%; display: none;
}

#about h3 {
    background: url(../img/arrow-right.png) no-repeat 0 50%;
    margin: 0 0 .5em 0;
    padding: 0 0 0 25px;
    font-size: 1.375em;
    color: #64c8d3;
    -webkit-font-smoothing: antialiased;
}

#about ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#about li {
    padding: 5% 0;
}

#about li:first-child {
    padding-top: 15%;
}

#about p {
    font-size: 0.688em;
    color: #cfeaee;
}


/* = Book
-------------------------------------------------------------- */
#book {
    position:absolute;
	left:0;
	top:0;
    width: 100%;
	height:100%;
	z-index: 10;
}
#book img {
	position:absolute;
	width:100%;
	height:100%;
}

/*
        .double {
                background-size: 200% 100% !important;
        }

        .double.first {
                background-position: 0% 0%;
         }

        .double.second {
                background-position: -100% 0%;
        }

*/

/* = Nav Arrows
---------------------------------------- */

.nav_arrow {
    position: absolute; top: 50%; z-index: 15;
    background: #aaaaaa url(../img/arrow-navpage.png) center;
	background-repeat: no-repeat;
    width: 34px; height: 136px;
    transform: translateY(-50%);
}

.nav_arrow.next			{ right: -34px; background-position-x: -34px; border-radius: 0 4px 4px 0; display: none; }
.nav_arrow.prev			{ left: -34px; background-position-x: 0; border-radius: 4px 0 0 4px; display: none; }

.nav_arrow:hover	{ background-color: #b3b3b3; }

/*#page.mobile .nav_arrow.next { right: -24px; }*/



/* = Cover
---------------------------------------- */

#logo-cover {
    position: absolute; right: 40px; bottom: 25px; z-index: 5;
}

#cover ul {
    clear: both;
    width: 90%;
    margin: 48% auto 0 auto;
    list-style: none;
    padding: 20px 0;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2; }

#cover ul:after { clear: both; content: ''; display: block; }

#cover li {
    float: left;
    width: 28.3%;
    margin: 0 2.5%;
}

#cover li,
#cover img {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#cover li:last-child {
    margin-right: 0;
}

#cover li img {
    float: left;
    width: 100%;
}

#cover li a:hover img {
    opacity: .8;
}



/* = End
---------------------------------------- */

#end { text-align: center; }

#end p { padding-top: 60%; }



/* = Meta data
---------------------------------------- */

#book .meta {
    position: absolute; bottom: 1%;
}

.meta .num {
    font-weight: bold;
    font-size: 0.750em;
    color: #666;
}

.meta .description {
    font-size: 0.688em;
    color: #666; }

.meta.left {
    left: 12px;
}
.meta.left .num {
    padding-right: 10px;
}

.meta.right {
    right: 12px;
    text-align: right;
}

.meta.right .num {
    padding-left: 10px;
}

/* = Modal dialog
---------------------------------------- */

#popup {
    position: absolute;
    display: none;
    z-index: 98;
    margin: auto;
}

#largeText {
    position: absolute;
    z-index: 101;
}

#largeImg {
    position: absolute;
    z-index: 10;
}

#close {
    position: fixed;
    display: none;
    top: 50px;
    right: 25px;
    height: 65px;
	width: 65px;
    z-index: 104;
}

#zoomIn {
	position: fixed;
	display: none;
	right: 35px;
	top: 140px;
	z-index: 105;
}

#zoomOut {
	position: fixed;
	display: none;
	right: 35px;
	top: 330px;
	z-index: 105;
}

#view {
    position: absolute;
    display: none;
    width: 1247px;
    height: 1463px;
    z-index: 1;
	/*ie 8-9*/
	/*filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3f000000, endColorstr=#3f000000);*/
	/*ie 9-10*/
    /*background-color: rgba(0,0,0,0.5);*/
}

.icon {
    position: fixed;
    display: none;
    height: 86px;
	width: 86px;
	top:400px;
    z-index: 105;
}

#rightTurnPage{
	right: 15px;
}

#leftTurnPage{
	left:15px;
}

#slider {
    display:none;
    position:fixed;
    z-index:105;
    height:120px;
	width:22px;
    right:45px;
    top:198px;
    background:#ccc;
	z-index:105;
}

.ui-slider .ui-slider-handle {
    width: 30px;
}

/* = Advertistment
---------------------------------------- */

/*
#banner {
position: absolute;
right: 0;
bottom: 0;
width: 60%;
height: auto;
}
*/

#bannerIcon {
position: absolute;
left: 0;
bottom: 0;
width: 30%;
height: auto;
}

/*
#banner{
    position:absolute;
    right:0;
    top:4%;
	width:63%;
	height:auto;
}

#bannerIcon{
    position:absolute;
    left:0;
    top:4%;
	width:30%;
	height:auto;
}
*/

/* = Custom toolbar icons
---------------------------------------- */
#pastIssues,#print,#printL,#qq,#sina,#products,#email,#about {
	background-size:45px 45px;
}

#facebook {
	background-size: 75% 75% !important;
}

/* = Email form
---------------------------------------- */
#preview {
	display: flex;
	justify-content: center;
	padding-bottom:5%;
}

.previewImg {
	padding: 3px;
	width:135px;
	height:auto;
    background: black;
}


/* = Past Issues Dialog
---------------------------------------- */
.pastIssuesImg {
	position: relative;
	height:240px;
	width:190px;
}

.issues {
	position: relative;
	display: inline-block;
	height:270px;
	width:190px;
	padding: 2%;
	text-align :center;
	font-weight : bold;
}

#wrapper {
	position: absolute;
	top: 0;
	bottom: 0;
}

#issueBoxLeftPanel {
	float:left;
	width:40%;
	height:100%;
}

#issueBoxRightPanel {
	float:left;
	width:60%;
	height:100%;
}

#issuesList {
	margin:0 auto;
	width:100%;/*650px*/
}

.ui-dialog .ui-dialog-title {
  text-align: center;
  width: 100%;
}

/* = Product selection dialog
---------------------------------------- */
.productLogo {
	position: relative;
	display: inline-block;
	height:100px;
	width:270px;
	padding: 2%;
	text-align :center;
	font-weight : bold;
	vertical-align: top;
}

.productLogoImg {
	position: relative;
	height:100px;
	width:270px;
	vertical-align: top;
}


/* = Video player
---------------------------------------- */
#mediaplayer {
    position:absolute;
	width:90%;
	height:90%;
	top:0;
	bottom:0;
	left:0;
	right:0;
	margin:auto;
    z-index: 50;
}


@-moz-document url-prefix() {
	#mediaplayer_wrapper {
			position:absolute;
			bottom:5%;
			left:18%;
	}
}

.videoIcon {
    position:absolute;
	height:4%;
	height: auto;
	width:3%;
	display:none;
    z-index: 85;
    padding: 0.25%;
}

.webVideo{
    position:absolute;
    height:4%;
    height: auto;
    width:3%;
    display:none;
    z-index: 25;
    padding: 0.25%;
}

.mp4Video{
    position:absolute;
	height:4%;
	height: auto;
	width:3%;
	display:none;
    z-index: 25;
    padding: 0.25%;
}

.youtubePop{
    z-index: 150;
}

#loadingIcon{
	position:absolute;
	display:none;
	width: 110px;
	height: 110px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 10;
}

#loadingIcon2{
	position:absolute;
	display:block;
	width: 110px;
	height: 110px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 10;
}

/* = Advertisment on Pages
---------------------------------------- */
.adv,.openX {
    position:absolute;
	display:none;
    z-index: 96;
}

.adv.single{
	z-index: 97;
}

.adv.double{
	z-index: 98;
}

.adv_bg,.openX_bg {
	position:absolute;
	z-index:150;
	background-color:black;
	width:100%;
	height:100%;
}

.book_adv_bg {
	width: 3000px;
	height: 3000px;
	top: -1000px;
	left: -1000px;
	position: absolute;
	z-index: 90;
	background-color: black;
	opacity:0.5;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

.adv.advOnBody {
	display:block;
	width: auto;
	height: 80%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 98;
}

.openX.openXOnBody {
	display:block;
	z-index: 98;
}

/* For mobile platform*/
#adv_outter {
	position:absolute;
	height:auto;
	width:100%;
	top:20%;
	z-index: 96;
}

.advImg {
	width:100%;
	height:100%;
}

.adv_close.book {
	position:absolute;
	display:none;
	width:25px;
	top:0;
	right:0;
	z-index:97;
}

.openX_close.book {
	position:absolute;
	display:none;
	width:40px;
	height:40px;
	top:-40px;
	z-index:97;
}

.adv_close.body,.openX_close.body  {
	position:absolute;
	width:60px;
	height:auto;
	top:0;
	right:20px;
}

.advIcon {
    position:absolute;
	width:3%;
	height:4%;
	height: auto;
	display:none;
    z-index: 85;
    padding: 0.25%;
}

#closeAdv {
	position:absolute;
	color: white;
	top:70px;
	right:0;
	font-size: 25px;
	font-weight: bold;
}

/* = Photo album
---------------------------------------- */
.royalSlider{
	z-index:99;
}

.albumIcon{
    position:absolute;
	display:none;
    height: 4%;
    height: auto;
    width: 3%;
    z-index: 85;
    padding: 0.25%;
}

/* = tabs
---------------------------------------- */
#thumbsTabs {
position:absolute;
width:90%;
top:30%;
left:5%;
z-index:1;
}

/* = Print popup size page
---------------------------------------- */
.printPageLT ,.printPageLP,.printPageRT,.printPageRP {
	display:none;
}
.printPageLT ,.printPageLP {
	height:auto;
	width:50%;
	left:0;
}
.printPageRT,.printPageRP{
	height:auto;
	width:50%;
	right:0;
}

.printPageRP {
	z-index:3;
}

.printPageRT {
	z-index:4;
}

.printPageLP {
	z-index:1;
}

.printPageLT {
	z-index:2;
}
.ui-dialog-titlebar {
	background-color: #001c54;
	background-image: none;
	color: #FFFFFF;
}
#dialog {
	background-color: #999999;
	background-image: none;
	color: #FFFFFF;
}

.fancybox-video {
  display: none;
}

.fancybox-nav {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  height: 40%;
}

img{
	cursor:pointer;
}
.footer{background-color:#098a28;margin-left:auto ;margin-right:auto;text-align:center;clear:both;padding-top:3px;padding-bottom:3px;}

/* set footer to bottom */
html, body {height: 100%;}
.main {min-height: 100%;height: 100% !important;margin: 0 auto -72px; width:100%;}
.footer, .push {height: 16px;}

#topbar{
background: #098a28; /* Old browsers */
background: -moz-linear-gradient(top, #098a28 90%, #07761f 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(90%,#098a28), color-stop(100%,#07761f)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #098a28 90%,#07761f 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #098a28 90%,#07761f 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #098a28 90%,#07761f 100%); /* IE10+ */
background: linear-gradient(to bottom, #098a28 90%,#07761f 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#098a28', endColorstr='#07761f',GradientType=0 ); /* IE6-9 */
height : 52px;
}

#submenu_bar{
background: #748778; /* Old browsers */
background: -moz-linear-gradient(top, #748778 0%, #c1c1c1 3%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#748778), color-stop(3%,#c1c1c1)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #748778 0%,#c1c1c1 3%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #748778 0%,#c1c1c1 3%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #748778 0%,#c1c1c1 3%); /* IE10+ */
background: linear-gradient(to bottom, #748778 0%,#c1c1c1 3%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#748778', endColorstr='#c1c1c1',GradientType=0 ); /* IE6-9 */
height:32px;
}

.thebar{width:900px;margin-left: auto ;margin-right: auto;overflow:hidden;}
#pageleft{background-color: red; width:50%;margin-top: 10px;margin-left:auto ;margin-right:auto;}
#pageright{background-color: orange; width:50%;margin-left:auto ;margin-right:auto;}

#submenu_bar_view{
background: #748778; /* Old browsers */
background: -moz-linear-gradient(top, #748778 0%, #c1c1c1 3%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#748778), color-stop(3%,#c1c1c1)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #748778 0%,#c1c1c1 3%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #748778 0%,#c1c1c1 3%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #748778 0%,#c1c1c1 3%); /* IE10+ */
background: linear-gradient(to bottom, #748778 0%,#c1c1c1 3%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#748778', endColorstr='#c1c1c1',GradientType=0 ); /* IE6-9 */
height:32px;
}

/* Common use CSS */
.FL {float: left;}
.FR {float: right;}
.FC {clear:both;}

/* Font type and size */
.fs12 {font-size:12px;}
.fs18 {font-size:18px;}
.fscWhite {color : white;}
.fsf01 {font-family:Arial,Helvetica Neue,Helvetica,sans-serif;}

/* Position */
.pos01 {margin-top: 4px;}
.pos02 {margin-top: 26px;margin-left: 5px;}
.pos03 {margin-top: 26px;}
.pos04 {vertical-align:middle;}

/* List CSS */
submenuLeft ul {list-style-type:none;padding:0px;margin:0px;}
submenuLeft ul li{display : inline-block;}
submenuMiddle div{list-style-type:none;padding:0px;margin:0px;display : inline-block;vertical-align:middle;}
submenuRight ul {list-style-type:none;padding:0px;margin:0px;}
submenuRight ul li{display : inline-block;}

/* special width*/
.w_01 {width:300px;}
.w_02 {width:430px;margin-left: auto ;margin-right: auto;}
.w_03 {width:120px;}
.w_01_ie {width:330px;}
.w_03_ie {width:70px;}


* {
    box-sizing: border-box;
}

html, body, .wrapper {
    width: 100%;
    height: 100%;
}

body {
    font-size: 16px;
	background: none !important;
    font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, Georgia, "Xin Gothic", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei New", "Microsoft Yahei", "Microsoft JhengHei", "sans-serif" !important;
}

a {
    color: #191919;
    text-decoration: none;
}

a:hover,a:visited,a:link {
    color: #191919;
    text-decoration: none;
}

.container {
    position: relative;
    margin: 0 auto;
    padding: 0 40px;
    padding: 0;
    min-width: 1020px;
    width: 1020px;
}

/* .header {
    padding: 10px;
    background-color: aquamarine;
    font-size: 38px;
    font-weight: bold;
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
} */

#submenu_bar {
    height: 40px;
    background: linear-gradient(#fefefe, #f9f9f9);
    box-shadow: 0 3px 6px rgba(0,0,0,.1);
    position: relative;
    z-index: 2;
}
#submenu_bar .thebar {
    width: 1020px;
    height: 40px;
    color: #191919;
    overflow: inherit;
}
#submenu_bar .thebar .w_01 {
    flex: 1 1 50%;
}
#submenu_bar .thebar .w_02 {

    width: auto;
}
#submenu_bar .thebar .w_03 {
    flex: 1 1 50%;
}

#submenu_bar .thebar .input-group {
    display: flex;
    align-items: center;
}
#submenu_bar .thebar .input-group input {
    height: 26px;
    border: 1px solid #cccccc;

}
#submenu_bar .thebar .input-group .btn-prev {
    padding-right: 0;
}
#submenu_bar .thebar .input-group .btn-next {
    padding-left: 0;
}

#submenu_bar .thebar button:not(.hide)[style*="visibility: hidden"],
#submenu_bar .thebar button:not(.hide).disable {
    visibility: visible !important;
    opacity: .25;
    pointer-events: none;
    cursor: no-drop;
}

#submenu_bar .thebar .input-group .svg-icon {
    margin-right: 0;
}

#submenu_bar .dropdown-toggle > span:first-child {
    padding: 3px 6px;
    min-width: 125px;
    height: 26px;
    border: 1px solid #cccccc;
    border-right: none;
    border-radius: 2px 0 0 2px;
    text-align: left;
    white-space: nowrap;
}

#submenu_bar .dropdown-toggle .svg-icon {
    margin-right: 0;
}
#submenu_bar .dropdown-menu {
    display: none;
    padding-top: 6px;
    padding-bottom: 6px;
    left: 8px;
    right: 8px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    box-shadow: 0 3px 6px rgba(0,0,0,.1);
}
#submenu_bar .dropdown-menu a {
    padding: 3px 6px;
}
#submenu_bar .dropdown-menu a:hover {
    background: #f2f2f2;
}
#submenu_bar .dropdown:hover .dropdown-menu  {
    display: block;
	max-height: 330px;
    overflow-y: auto;
}


#enlarge #close,
#enlarge #zoomInSlider,
#enlarge #slider,
#enlarge #zoomOutSlider,
#enlarge #leftTurnPage,
#enlarge #rightTurnPage {
     display: none !important;
}

#enlarge.zoomin{
  position: relative;
  /* padding-right: 20px; */
  /* padding-bottom: 20px; */
}
.scroll-bar {
    position: absolute;
    z-index: 0;
    left:  0;
    top:  0;
    right: 0px;
    bottom:  0px;
    overflow: scroll;
    /* background-color: rgba(0,0,0,.2); */
    /*pointer-events:  none;*/
}
.copyright {
  z-index: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 30px;
  line-height: 30px;
  color: #999999;
  text-align: center;
  font-size: 13px;
}
.copyright p {
    margin: 0;
    padding: 0;
}
#tabsA a {
  line-height: 32px;
}
#calendarButton {
  position: relative;
}
#stDatepicker {
  position: absolute;
  z-index: 19;
  width: 100%;
  top: -9px;
  left: 0;
  bottom: 0;
  height: 50px;
  background: transparent;
  border: none;
  opacity: 0;
  cursor: pointer;
}
.ui-widget-content {
    border: none;
    /*background: #ffffff;
    color: #191919;*/
    box-shadow: 0 0 7px 1px rgba(0,0,0,.55);
}
.ui-datepicker th {
  color: #cccccc;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
 border:1px solid #5c9dd5;
 background:#337ab7;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
 border:1px solid #d74a4f;
 background:#c4161c;
 color: #fff;
}
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  border-color: #ffffff;
  background: #ffffff;
  color: #c4161c;
}


.resource-icon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}
 .fancybox-wrap {
    overflow: visible !important;
}

.btn-svg-icon {
    display: inline-flex;
    align-items: center;
    padding: 8px;
    background-color: transparent;
    outline: none;
}
.btn-svg-icon .svg-icon {
    margin-right: 8px;
    display: flex;
}
.page-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    padding-top: 10px;
}
.page-grid > * {
    width: 20%;
    min-width: 20%;
    padding-left: 20px;
    margin-bottom: 20px;
}
.page-grid .link-img {
    display: block;
    text-align: center;
}
.page-grid .link-img.has-pop-icon {
  position: relative;
}
.page-grid .link-img.has-pop-icon::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-image: url(../img/rsc_icons/pop-icon.svg);
    background-repeat: no-repeat;
    background-size: 32px 32px;
}
.page-grid .link-img > img {
    background-color: #ffffff;
    box-shadow: 0 3px 6px rgba(0,0,0,.1);
}
.page-grid .link-img span {
    display: block;
    padding: 3px;
    margin-bottom: 6px;
}
.page-grid .thumbnail {
    width: 100%;
    height: auto;
}
.main.flex {
    height: 87% !important;
}
.main.flex .scroll-wrpper {
    overflow: auto;
}
