/* =============================================================================
   Primary styles
   Author: Dimitar Christoff
   ========================================================================== */

.none {
    display: none;
}

.left {
    float: left;
}

.right {
    float: right;
}

.modal {
    z-index: 1000000;   
}

.overlay {
    background-repeat: repeat;
    background-scroll: scroll;
    background-position: 0 0;
    background-color: transparent;
    background-image: -moz-radial-gradient(circle , #FFFFFF, #291A49);
    background-image: -webkit-radial-gradient(circle , #FFFFFF, #291A49);
    background-image: -ms-radial-gradient(circle , #FFFFFF, #291A49);
    background-image: -o-radial-gradient(circle , #FFFFFF, #291A49);
}

.modal-box {
    width: 70%;
    max-width: 700px;
    min-width: 350px;
    border: 1px solid;
    border-color: #afafaf #a0a0a0 #909090;
    border-radius: 6px;
    margin-top: 30px;
    opacity: 0;
    left: 100%;
    height: 1px;
    z-index: -1000;
}

.modal-box-initial {
    margin-top: 30px !important;     
    display: none;
}

.modal-visible {
    opacity: 1 !important;
    margin-top: 0 !important;   
    display: block;      
}

span.modal-close {
    position: absolute;
    z-index: 1000001;
    right: 6px;
    top: 6px;
    background: url(../images/gtk-close.png) no-repeat right center;
    height: 20px;
    padding-right: 30px;
    padding-top: 4px;
    color: #333;
    font-size: 13px;
    cursor: pointer;
}
.simple-modal .modal-box {
    overflow: auto;
}


.modal-content {
    background:  #fff;
}
    .modal-header, .modal-footer {
        background-color: #fff;
        padding: 10px;
        text-shadow: 0 1px 0 #fff;
	 z-index: -1000;
    }

        .modal-header {
            border-radius: 6px 6px 0 0;
            height: 23px;
            color: #333;
            font-weight: bold;
            font-size: 18px;
            text-shadow: 1px 1px 1px rgba(255,255,255,.8);
            border-bottom: 1px solid #fff;
            background: #fff
        }

        .modal-header:hover {
            background-color: #f5f5f5;
        }

        .modal-footer {
            border-radius: 0 0 6px 6px;
            background-color: #f5f5f5;
            min-height: 2px;
            border-top: 1px solid #fff;
        }

    .modal-body {
        background: #fff;
        padding: 6px;
        border-bottom: 1px solid #F5F5F5;
        border-top: 1px solid #F5F5F5;
	 z-index: -1000;
    }


    .simple-modal .modal-box {
        overflow: auto;
    }

    .simple-modal .modal-content {
        max-height: none !important;
    }

    .simple-modal .modal-body {
        overflow: hidden;
    }

.modal p {
    margin:  0;
    margin-bottom: 12px;
}


.boxShadow {
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,.3);
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,.3);
    -ms-box-shadow: 0px 0px 3px rgba(0,0,0,.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,.3);
    -o-box-shadow: 0px 0px 3px rgba(0,0,0,.3);
}

.modal-footer button {
    background-color: #444;
    border: 1px solid transparent;
    padding: 4px 4px 4px 4px;
    font-weight: bold;
    font-size: 14px;
    height: 22px;
    text-transform: uppercase;
    color: #ccc;
    -webkit-background-clip: padding-box;
    -ms-border-radius: 3px 3px 3px 3px;
    -o-border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
    border-radius: 3px 3px 3px 3px;
    text-shadow: 1px 1px 1px rgba(0,0,0,.8);
    _cursor: hand;
    cursor: pointer;
}

.modal-footer button:hover {
    background: #000;
    color: #fff;
    -moz-box-shadow: inset 0px 0px 5px rgba(255,255,255,.5);
    -webkit-box-shadow: inset 0px 0px 10px rgba(0,0,0,.5);
    -ms-box-shadow: inset 0px 0px 10px #555;
    -o-box-shadow: inset 0px 0px 10px rgba(0,0,0,.5);
    box-shadow: inset 0px 0px 2px rgba(255,255,255,.7);
}

.transition {
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.main {
    margin:  20px;
}

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
