/*Bookmark container*/

#evernotePreviewContainer {
    box-shadow: rgba(0, 0, 0, 0.45098) 1px 2px 12px 1px;
    position: fixed;
    top: 50%;
    left: 50%;    
}
#evernotePreviewContainer *::selection {
    /*default colors to override html-highlighter styles*/
    background-color:#3399ff;
    color: white;
}

/*Content Veil Styles*/

.evernotePreviewContainer {
    padding: 10px !important;    
    direction: ltr !important;
}

.evernotePreviewUrlContainer {
    border: 1px solid #9E9E9E !important;
    box-sizing: content-box !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    max-width: 542px !important;
    max-height: 224px;
    direction: ltr !important;
    padding: 15px !important;
    background: white !important;
    box-shadow: 0 2px 12px 0px rgba(0, 0, 0, 0.45) !important;
}

#evernoteContentVeil {
    display: none;
    border-color: rgba(255, 255, 255, 0.75) !important;
    border-style: solid !important;
    box-sizing: border-box !important;
    left: 0 !important;
    pointer-events: none;
    position: absolute !important;
    top: 0 !important;    
}

#evernoteInnerBox {
    border: 4px solid #32E181 !important;
    box-sizing: border-box !important;
    height: 100% !important;
}
#evernoteInnerBox.evernoteShadowBox {
    border: 1px solid #9E9E9E !important;
    /*box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.45) !important;*/
}

#evernoteInnerBox.evernoteShadowBox:before,
#evernoteInnerBox.evernoteShadowBox:after {
    content: "";
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -4px;
    width: 5px;
    background-image: linear-gradient(to left, #CCC, transparent);
}

#evernoteInnerBox.evernoteShadowBox:after {
    left: auto;
    right: -5px;
    background-image: linear-gradient(to right, #CCC, transparent);
}

#evernoteContentVeil.evernoteShadowBox #topShadow {
    position: absolute;
    top: -4px;
    left: -1px;
    width:calc(100% + 2px);
    height: 4px;
    background-image: linear-gradient(to top, #DDD, transparent);
}
#evernoteContentVeil.evernoteShadowBox #bottomShadow {
    position: absolute;
    bottom: -4px;
    left: -1px;
    width:calc(100% + 2px);
    height: 4px;
    background-image: linear-gradient(to bottom, #BBB, transparent);
}

#evernotePageCounter {
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid #3D4A54;
    border-radius: 2px;
    color: #3D4A54;
    font-family: "GothamBold", Helvetica, Arial, sans-serif;
    font-size: 13px;
    height: 36px;
    line-height: 36px;
    padding: 0 20px;
    position: absolute;
    top: -48px;
}
#evernotePageCounter:empty {
    display: none;
}


/* expand/contract button container */
.evernoteExpandContract {
    display: none;
    left: calc(50% - 27px);
    position: absolute;
    bottom: -17px;
}
#bottomExpandContract {
    top: -12px;
    bottom: auto;
}
.evernoteExpandContract.evernoteUsingExpandContract {
    display: block;
}
/* individual buttons */
.evernoteArticleExpand, .evernoteArticleContract {
    background-color: #2F373D;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    cursor: pointer;
    display: inline-block;
    height: 24px;
    line-height: 20px;
    position: relative;
    width: 26px;
    color: rgb(250,250,250);
    font-size: 18px;
    font-family: Verdana, Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
    text-shadow: none;
    pointer-events: all;

}
.evernoteArticleExpand {
    border-radius: 4px 0 0 4px;
    border-right: none;
    margin-right: -1px;
    background-image: url('extension://images/article-expand.png');
}
.evernoteArticleContract {
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-image: url('extension://images/article-contract.png');
}

.evernoteArticleExpand:before, .evernoteArticleExpand:after,
.evernoteArticleContract:before, .evernoteArticleContract:after {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: right 100ms cubic-bezier(0.25, 0.5, 0.5, 0.9), opacity 100ms cubic-bezier(0.25, 0.5, 0.5, 0.9);
}
.evernoteArticleExpand:before, .evernoteArticleContract:before {
    background-color: #ECECEC;
    border: 1px solid #F4F4F4;
    border-radius: 2px;
    color: #707070;
    content: attr(tooltip);
    display: inline-block;
    font-family: "GothamMedium", Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    height: 26px;
    line-height: 26px;
    padding: 0 6px;
    right: 68px;
    text-shadow: 0 1px #FFFFFF;
    top: -2px;
    box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}
.evernoteArticleExpand:after, .evernoteArticleContract:after {
    background-image: url('extension://images/tooltip_arrow.png');
    background-repeat: no-repeat;
    background-size: 10px 18px;
    background-position: 0 0;
    height: 18px;
    right: 58px;
    top: 5px;
    width: 10px;
    content: "";
}
.evernoteArticleExpand.tooltipon:before, .evernoteArticleExpand.tooltipon:after,
.evernoteArticleContract.tooltipon:before, .evernoteArticleContract.tooltipon:after {
    opacity: 1;
}
.evernoteArticleExpand.tooltipon:before, .evernoteArticleContract.tooltipon:before {
    right: 28px;
}
.evernoteArticleExpand.tooltipon:after, .evernoteArticleContract.tooltipon:after {
    right: 18px;
}
/*
Styles below are commented, because it added as inline-style when bookmark content created.
It may be helpful for debugging or refactoring, so we'll keep it

#evernoteBookmarkContainer {
    padding: 5px 10px 15px ;
    font-size: 12px;
    font-family: Verdana;
    max-width: 550px;
    color: black;
    background-color: white;
    box-sizing: content-box;
    display: block;
    background-repeat: no-repeat;
}
#evernoteBookmarkTitle {
    white-space: nowrap;
    font-size: 14px;
    font-weight: bold;
    overflow-x: hidden;
    text-overflow: ellipsis;
    height: 24px;
}
#evernoteBookmarkDivider {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(216, 216, 216);
    height: 0;
    width: 100%;
}
#evernoteBookmarkImage {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    margin: 15px 15px 0 0;
    overflow: hidden;
}
#evernoteBookmarkContent {
    display: inline-block;
    vertical-align: top;
    margin: 15px 0 0;
    width: 364px;
}
#evernoteBookmarkLink {
    background-repeat: no-repeat;
    background-position: 5px 50%;
    background-size: 16px 16px;
    padding:5px 30px;
}
#evernoteBookmarkLink a{
    display: inline-block;
    text-decoration: none;
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgb(12, 12, 12);
    width: 345px;
}
#evernoteBookmarkSnippet {
    word-wrap: break-word;
    line-height: normal;
}*/


.EvConVeil {
    /*
	background: rgba(255,0,255,0.4);
	*/
    background: rgba(255,255,255,0.7);    
    box-sizing: border-box;
    position:absolute;
}

.EvConVeilCorn {
    /*
	background: rgba(255,255,0,0.4);
	*/
    background: rgba(255,255,255,0.7);    
    box-sizing: border-box;
    position:absolute;
}
#evernoteContentVeilLeft {
    border-right: 4px solid #32E181;    
    left:0;
}
#evernoteContentVeilLeft.evernoteShadowBoxActi {
    border-right:1px solid rgba(0,0,0,0.45);
    box-shadow: inset -10px 0 12px -11px rgba(0, 0, 0, 0.45);
}
#evernoteContentVeilTop {
    border-bottom: 4px solid #32E181;
    top:0;
}
#evernoteContentVeilTop.evernoteShadowBoxActi {
    border-bottom:1px solid rgba(0,0,0,0.45);
    box-shadow:	inset 0px -10px 12px -11px rgba(0, 0, 0, 0.45);
}
#evernoteContentVeilBottom {
    border-top: 4px solid #32E181;
}
#evernoteContentVeilBottom.evernoteShadowBoxActi {
    box-shadow:	inset 0px 10px 12px -10px rgba(0, 0, 0, 0.45);
    border-top:1px solid rgba(0,0,0,0.45);
}
#evernoteContentVeilRight {
    border-left: 4px solid #32E181;
    right:0;
}
#evernoteContentVeilRight.evernoteShadowBoxActi {
    border-left:1px solid rgba(0,0,0,0.45);
    box-shadow: inset 10px 0px 12px -10px rgba(0, 0, 0, 0.45);
}

/* little sleeves when green border*/
#evernoteContentVeilRight:before {
    content: "";
    top:-3px;
    position:absolute;
    background: #32E181;
    height: 3px;
    width: 4px;
    left: -4px;
}
#evernoteContentVeilRight:after {
    content: "";
    bottom:-3px;
    position:absolute;
    background: #32E181;
    height: 3px;
    width: 4px;
    left: -4px;
}

#evernoteContentVeilLeft:before {
    content: "";
    top:-3px;
    position:absolute;
    background: #32E181;
    height: 3px;
    width: 4px;
    right: -4px;
}

#evernoteContentVeilLeft:after {
    content: "";
    bottom:-3px;
    position:absolute;
    background: #32E181;
    height: 3px;
    width: 4px;
    right: -4px;
}

.EvConVeil.evernoteGrayFillingActi:before,
.EvConVeil.evernoteGrayFillingActi:after {
    display: none;
}

/*little sleeves when shadows*/
#evernoteContentVeilRight.evernoteShadowBoxActi:before {
    left: -1px;
    height: 5px;
    top: -5px;
    width: 6px;
    background: linear-gradient(to top right, rgba(100,100,100,0.2), rgba(255,255,255,0.1));
    box-shadow: 1px -1px 3px 0 rgba(215, 215, 215, 0.2);
}

#evernoteContentVeilRight.evernoteShadowBoxActi:after {
    bottom:-5px;
    left:-1px;
    height:5px;
    width:6px;
    background: linear-gradient(to bottom right, rgba(100,100,100,0.2), rgba(255,255,255,0.1));
    box-shadow: 0 1px 3px 0 rgba(215, 215, 215, 0.2);

}
#evernoteContentVeilLeft.evernoteShadowBoxActi:before {
    right:-1px;
    height: 5px;
    top: -5px;
    width: 6px;
    background: linear-gradient(to top left, rgba(100,100,100,0.2), rgba(255,255,255,0.1));
    box-shadow: 0 -1px 3px 0 rgba(215, 215,215,0.2);
}
#evernoteContentVeilLeft.evernoteShadowBoxActi:after {
    bottom:-5px;
    right:-1px;
    height:5px;
    width:6px;
    background: linear-gradient(to bottom left,rgba(100,100,100,0.2), rgba(255,255,255,0.1));
    box-shadow: 0 1px 3px 0 rgba(215, 215, 215, 0.2);

}

/*end of little sleeves*/

#evernoteContentVeilNW{
    top:0;
    left:0;
}
#evernoteContentVeilNE{
    top:0;
    right:0;
}
#evernoteContentVeilSE{
    right:0;
}
#evernoteContentVeilSW{
    left:0;
}

/* screenArea element*/
#evernoteScreenShotArea {
    display: none;
    cursor: crosshair;    
    position: fixed;
    overflow: hidden;
    top: 0;
    bottom:0;
    left: 0;
    right: 0;

    background-color: rgba(0,0,0,0.3);
}

#evernoteScreenShotArea.visible {
    display: block;
}

#evernoteScreenShotArea .screenAreaStartVertLine {
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    width: 1px;
    top: 0;
    bottom:0;
}

#evernoteScreenShotArea .screenAreaStartHorizLine {
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    height: 1px;
    left: 0;
    right: 0;
}

#evernoteScreenShotArea #screenAreaSelected {
    position: absolute;
    border: 2px solid white;
    /*background-color: rgba(255,255,255,0.5);*/
}