/*
 *  Remodal - v0.2.0
 *  Flat, responsive, lightweight, easy customizable modal window plugin with declarative state notation and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal_lock, body.remodal_lock {
    overflow: hidden;
}

/* Anti FOUC */

.remodal, [data-remodal-id] {
    visibility: hidden;
}

/* Overlay necessary styles */

.remodal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;

    display: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;

	text-align: center;
}

.remodal-overlay:after {
    display: inline-block;
    height: 100%;
    margin-left: -0.05em;

    content: '';
}

/* Fix iPad, iPhone glitches */

.remodal-overlay > * {
    -webkit-transform: translateZ(0px);
}

/* Modal dialog necessary styles */

.remodal {
    position: relative;

    display: inline-block;
}

/* ==========================================================================
   Remodal default theme
   ========================================================================== */

/* Default theme font */

@import url(http://fonts.googleapis.com/css?family=Exo+2:700,400&subset=latin,cyrillic);

.remodal, .remodal * {
    font-family: 'Exo 2', sans-serif;
}

/* Background for effects */

.remodal-bg {
    -webkit-transition: -webkit-filter 0.2s linear;
    -moz-transition: -moz-filter 0.2s linear;
    -o-transition: -o-filter 0.2s linear;
    transition: filter 0.2s linear;
}

body.remodal_active .remodal-bg {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
}

/* Overlay default theme styles */

.remodal-overlay {
    opacity: 0;
    background: rgba(0, 0, 0, 1);
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

body.remodal_active .remodal-overlay {
    opacity: 1;
}

/* Modal dialog default theme styles */

.remodal {
    width: 100%;
    min-height: 100%;
    padding:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    background:rbba(250,250,248,0.9);
    background-clip: padding-box;
    color: #FAFAF8;
    -webkit-box-shadow: 0px 0px 8px #000;
    box-shadow: 0px 0px 8px #000;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
    -webkit-transition: -webkit-transform 0.2s linear;
    -moz-transition: -moz-transform 0.2s linear;
    -o-transition: -o-transform 0.2s linear;
    transition: transform 0.2s linear;
}

body.remodal_active .remodal {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/* Modal dialog vertical align  */

.remodal, .remodal-overlay:after {
    vertical-align: middle;
}
.remodal p{
}
.remodal_bg-logo{
	position:relative;
	width:100%;
	height:100%;
}
.remodal_bg-logo .remodal_bg-logo_img{
	position:absolute;
	top:20%;
	left:0;
	right:0;
	margin:0 auto;
	width:94%;
	opacity:0.15;
	z-index: -1;
}
.remodal-list{
	padding:0;
	margin:0 auto;
	list-style-type:none;
	width:78%;
	padding-top:20px;
}
.remodal-list li{
	font-size:14px;
	line-height:1;
	margin:0 auto 4px auto;
}
.remodal-list li:nth-child(6){
	margin:0 auto 44px auto;
}
.remodal-list li:nth-child(7){
	margin:0 auto;
}
.remodal-list li a{
	text-decoration:none;
	margin:0;
	padding:0;
	width:100%;
	display:block;
}
.remodal-list li a:hover{
	background-color:#2D2D2D;
}
.remodal-list li a img{
	width:100%;
}


/* Close button */

/* Dialog buttons */


/* Media queries
   ========================================================================== */

@media only screen and (min-width: 40.063em) /* min-width 641px */ {
    .remodal {
        max-width: 400px;
        margin: 0 auto;
        min-height: 0;
    }
	.remodal-list{
		padding-top:0;
	}
}

/* IE8
   ========================================================================== */

html.lt-ie9,
html.lt-ie9 body{    
    min-height:100%;
    overflow: auto !important;
    margin: 0;
}


.lt-ie9 .remodal-overlay {
    background: url(img/overlay-ie8.png);
}

.lt-ie9 .remodal{
    width: 500px;
    min-height: auto;
}