/*general*/ 
html, body {margin:0; padding:0; position: relative;}
body {margin:0; width: 100%; /*height: 100vh; */overflow-x: hidden;}
ul, li {list-style: none; padding: 0; margin: 0; display: inline-block;}
input {padding: 0; margin: 0; font-family: Helvetica, Arial, sans-serif; margin: 0; border: 0;}
img {vertical-align: bottom; max-width: 100%;}

.click {cursor: pointer;}
.noselect {
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

*:fullscreen,
*:-ms-fullscreen,
*:-webkit-full-screen,
*:-moz-full-screen {
   overflow: auto !important;
}

.hide-scrollbar::-webkit-scrollbar {display: none;}
/*::-webkit-scrollbar {display: auto;}*/

body {font-family: 'Gotham', Arial, sans-serif;}
#outer {width: 100vw; /*height: 100%; */max-width: 1200px; margin: 0 auto;}
#header1 {border-bottom:4px solid gold; padding-bottom:10px;}
#logo{width:20%;margin-top:2vw;margin-left:4vw;}
#heading{float:right;/*display:inline-block;*/width:70%;/*width:50%;*/color:#306eb7;}
#headingTxt{font-size:2.4vw;text-align:center;margin-top:2vw;}
/*#languageSetting{display:inline-block;float:right;margin-top:90px;width:20%;}
.language{display:inline-block;margin-right:10px;height:34px;}
.langImg{height:100%;}*/
#matter{width:96%;margin-left:2%;}
#imagenarration{background-color:#306eb7;text-align:center;color:white;}
#insideimagenarration{padding:10px;}
#narration{background-color:#dadada;}
#insidenarration{padding:3%;font-size:15px;}

/*-- function --*/
#function {display: flex; align-items: center; justify-content: center; height: 60px; color: #fff; padding: 17px;}
#upload {flex: 2 2 20%}
#search {flex: 4.3 4.3 43%;}
#share {flex: 3.6 3.6 36%;}


/*upload*/
#upload {height: 85%;}
#uploadBtn {background-color: #306eb7; height: 100%; display: flex; justify-content: center; align-items: center;}
#uploadBtn:hover {background-color: #0062b3;}
#uploadBtn:active {background-color: #002a4d;}
#uploadTxt { color: #fff; font-size: 21px; text-align: center;}



/*search*/
#search {height: 50px; display: flex; justify-content: center; align-items: center;
margin: 0 -10px 0 -10px;}
#searchContent {
    width: 346px;
    height: 100%;
    position: relative;
    border: 1px solid black;
}

#search_part { display: flex; align-items: center; justify-content: center; height: 100%;}
#field_holder {flex: 7.5 7.5 75%; height: 100%; }
#searchBtn {flex: 2.5 2.5 25%; height: 100%; }

#field_holder { position: relative;  }
#keyword_input { height: 100%; width: 100%; padding-left: 2%; font-size: 18px; outline: none; font-weight: 300;}
#keyword_input::placeholder {color: #959595; font-size: 18px; font-family: 'Gotham'; font-weight: 300;}
#searchClear { width: 20px; position:absolute; right: 20px; top: 15px; display: none; }
#keyword_input::-ms-clear {display: none;}

#searchBtn {display: flex; align-items: center; justify-content: center; background-color: #306eb7;}
#searchBtn img {height: 42px;}

#result_part {position: absolute; width: 100%;}
#valid_search { text-align: left; margin-top: 5px; font-size: 12px;color:red;}
/*#englishLetters{display: inherit;width:0px;height:0px;background:url('/images/english_cards.png') no-repeat; position: absolute;right:0px;top:4.5%;background-size: contain;z-index:99;}*/

#searchTip {padding: 5px; font-size:12px !important; font-weight:normal !important; text-align: center;}
#mobileSearch {
    height: auto;
    max-height:255px;
    width: 100%;
    position:relative;
    overflow:scroll;
    background:#306eb7;
    z-index:9990;
    overflow-x: hidden;
    color:#fff;
    display: none;

    padding-bottom: 15px;

}

.searchResultTxt {color: #fff;}


#searchContent .scroll-wrapper {width: 347px; margin-top: -4px;}
/*************** SIMPLE INNER SCROLLBAR ***************/
.scrollbar-inner > .scroll-element,
.scrollbar-inner > .scroll-element div
{
    border: none;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 10;
}

.scrollbar-inner > .scroll-element div {
    display: block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}

.scrollbar-inner > .scroll-element.scroll-x {
    bottom: 2px;
    height: 8px;
    left: 0;
    width: 100%;
}

.scrollbar-inner > .scroll-element.scroll-y {
    height: 100%;
    right: 2px;
    top: 0;
    width: 12px;

    z-index: 10000;
}

.scrollbar-inner > .scroll-element .scroll-element_outer {
    overflow: hidden;
}

.scrollbar-inner > .scroll-element .scroll-element_outer,
.scrollbar-inner > .scroll-element .scroll-element_track,
.scrollbar-inner > .scroll-element .scroll-bar {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.scrollbar-inner > .scroll-element .scroll-element_track,
.scrollbar-inner > .scroll-element .scroll-bar {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: 0.4;
}

.scrollbar-inner > .scroll-element .scroll-element_track { background-color: #fff; }
.scrollbar-inner > .scroll-element .scroll-bar { background-color: #306eb7; }
.scrollbar-inner > .scroll-element:hover .scroll-bar { background-color: #0062b3; }
.scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar { background-color: #002a4d; }


/* update scrollbar offset if both scrolls are visible */

.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_track { left: -12px; }
.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_track { top: -12px; }


.scrollbar-inner > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -12px; }
.scrollbar-inner > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -12px; }

/*.scrollbar-inner > .scroll-element.scroll-x {display: none;}*/

/*share*/

#share {display: flex; flex-direction: column; justify-content: center; letter-spacing: -0.2px; font-size: 20px;}

#shareContent { display: flex; align-items: center; justify-content: center; }
#shareTxt {font-size: 21px; color:black;}
#shareTxt, #shareIcons, #fbShare, #twShare {display: inline-block;}
#shareIcons {margin-left: 15px;}
.shareIcon {height: 38px;}

#twShare {margin-left: 10px;}

/*-- mosaic --*/
#mosaic {max-width: 1200px; width: 100%; margin:0 auto; }

/*-- pm --*/
#pm {margin: 5px;}
#pm a {text-decoration: none; color: #000;}
#pmCredit {display: flex; align-items: center; justify-content: flex-end; margin-right: 5px;}
#pmLogo {height: 13px; display: flex; margin-right: 4px;}
#pmLogo img {height: 100%;}
#pmTxt {font-size: 11px; letter-spacing: -0.2px;}

/*-- footer --*/
#footer { padding: 20px 5px 10px;}
/*-- carousel --*/
#carousel {width: 100%; color: #306eb7;}

#carouselTitle { padding-left: 5%;}
#carouselTxt { font-size: 25px;  letter-spacing: 0.2px;}
#carouselRefresh {margin-left: 12px;}
#carouselRefresh img {height: 20px; vertical-align: baseline;}
#photoContainer {padding: 25px 0; overflow: hidden; height: 150px;}
#photoContainer ul {width: 100%; height: 100%;}
#carouselLeft, #carouselRight, #carouselMiddle {vertical-align: middle;}
#carouselLeft, #carouselRight {width: 5%; height: 100%; user-select: none; outline: none;}
#carouselRight {text-align: right;}
#carouselMiddle {width: 90%; height: 100%;}
#leftArrowPhotos, #rightArrowPhotos { height: 100%; display: flex; justify-content: center; align-items: center;}
#arrowLeft, #arrowRight {/*font-size: 54px;*/ height: 40px; width: 100%;}
#arrowLeft {background: url(../images/arrow_left1.png) no-repeat; background-size: contain; background-position: center;}
#arrowRight {background: url(../images/arrow_right1.png) no-repeat; background-size: contain; background-position: center;}

#displayContainer {height: 100%;}
#carouselLoading {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}
.carouselPhoto {width: 100%; height: 100%;}
.carouselLike {
    background-color:#FFF; 
    position:absolute; 
    bottom: 2px; 
    right: 2px; 
    font-weight: 600;
    border-radius: 60px; 
    padding: 1px;
}
.carouselItem {width: 150px; height:150px; position: relative;}
.carouselName { /*position: absolute; */ bottom: 0; left: 0; background-color: #306eb7; background-color:rgba(0, 70, 127, 0.7); width: 100%; height: 32px;  font-weight: 600; text-transform: uppercase; color: #fff;}
.nameTxt {line-height: 28px; margin-left: 10px; font-size: 12px; font-weight: 600;}

/*others*/
#animateOn, #animateOff { font-family: 'Myriad Pro', Helvetica, sans-serif; background-color: #306eb7;}

/*-- responsive --*/
@media (max-width: 1625px) {

#headingTxt{font-size:4.1vw;text-align:center;margin-top:2vw;}
/*#languageSetting{display:inline-block;float:right;margin-top:45px;width:20%;}*/
}
@media (max-width: 1375px) {

#headingTxt{font-size:4.6vw;text-align:center;margin-top:2vw;}
}

@media (max-width: 900px) {
    #function {flex-direction: column; height: auto; padding: 20px;}
    #upload, #search, #share {flex: auto; width: 95%;}
    #share {margin-top: 8px;}
    #upload {height: 60px; width: 80%;}
    #search {width: 80%; height: 60px; order:3; margin: 2px auto;}
    #searchContent {width: 100%;}
    #searchContent .scroll-wrapper {width: 75%;}
    /*#languageSetting{display:inline-block;float:right;margin-top:30px;width:20%;}*/
}


@media (max-width: 767px) {

    #carousel {flex-direction: column;}
    #carouselTitle {border: none;}
    #carouselTxt {font-size: 21px;}
    #photoContainer {padding: 15px 0; height: 110px;}
    #carouselLeft, #carouselRight {width: 6%;}
    #carouselMiddle {width: 88%;}
    #carouselBlock {height: 110px;}
    .carouselImage, .carouselItem {height: 110px !important; width: 110px !important; } 
    #arrowLeft, #arrowRight {height: 20px;}
    /*#languageSetting{display:inline-block;float:right;margin-top:25px;width:20%;}*/
}

@media (max-width: 420px) {
    #function {padding: 15px;}
    #upload, #search {width: 94%;}
    #uploadTxt, #shareTxt {font-size: 20px;}
    #keyword_input, #keyword_input::placeholder {font-size: 15px;}
    /*#languageSetting{display:inline-block;float:right;margin-top:10px;width:20%;}
    .language{display:inline-block;margin-right:10px;height:19px;}*/
}

/*custom css*/
@media (max-width: 360px){
    #uploadTxt, #shareTxt {font-size: 19px;}
}

@media (max-width: 320px){
    #uploadTxt, #shareTxt {font-size: 15px;}
}