﻿/*
 >  Modern Strategy ©
 >  https://modernstrategy.ir
 >  Software Engineering, Interactive Agency
 
 >> version 1.0
 >> date: 2015-09-05
*/

.definition {
    display: none;
}

.defineIt {
    position: relative;
    border-bottom: 1px dashed #999;
    padding: 0px 2px;
    cursor: pointer;
    display: inline-block;
    line-height: 17px;
}

    .defineIt:after {
        position: absolute;
        top: -35%;
        left: 85%;
        content: " ";
        background: url("/assetscms/image/Icons/info.png") scroll no-repeat center center;
        -webkit-background-size: 100%;
        -moz-background-size: 100%;
        -o-background-size: 100%;
        background-size: 100%;
        width: 12px;
        height: 12px;
    }

.definePopup {
    max-height: 600px;
    max-width: 600px;
    position: absolute;
    border-radius: 5px;
    border: 1px dashed #B4B4B4;
    background-color: #FFF;
    background-image: linear-gradient(#FFF,#CFDCE1);
    box-shadow: -3px 4px 8px -3px #393939;
    overflow: visible;
    display: none;
    z-index:100000;
}

.defineClose {
    height: 11px;
    width: 11px;
    position: absolute;
    top: 5px;
    right: 5px;
    background: url("/assetscms/image/Icons/close.png") no-repeat scroll 0px 1px transparent;
}

    .defineClose:hover {
        background: url("/assetscms/image/Icons/close.png") no-repeat scroll 0px -10px transparent;
    }

.defineBodyWrap {
    height: 100%;
    width: 100%;
    overflow: auto;
    max-height: 554px;
    margin: 15px;
    max-width: 568px;
}

.defineBody {
    margin: 5px 10px;
    display: inline-block;
}

.definePopup .defineArrowBorder,
.definePopup .defineArrow {
    top: -23px;
    border: 10px solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: relative;
    pointer-events: none;
    border-bottom-color: #ffffff;
    left: 50%;
}

.definePopup .defineArrowBorder {
    border-width: 7px;
    border-bottom-color: #B4B4B4;
    top: -24px;
}

@media(max-width:600px) {
    .definePopup {
        max-height: 90%;
        max-width: 90%;
    }

    .defineBodyWrap {
        height: calc(100% - 20px);
        width: calc(100% - 20px);
        margin: 10px;
    }
}
