/*! Remodal - v0.1.3 - 2014-03-31
 * https://github.com/VodkaBears/remodal
 * Copyright (c) 2014 VodkaBears; */

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

/* Hide scroll bar */

html.remodal_lock, body.remodal_lock {
    overflow: hidden;
}
/* Response */
#response {
    font-size: 13px;
    margin-bottom: 14px;
    padding: 7px 14px;
}
#response p {
	color: #FFFFFF;
}
.modal-wait {
	background-color: #32539A;
}
.modal-ok {
	background-color: #2BC132;
}
.modal-ko {
	background-color: #C4312B;
}
/* 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(33,36,46,.95);*/
	/*background: rgba(255,255,255,.5);*/
	/*background: rgba(37,88,165,.5);*/
	background: rgba(0,0,0,.6);
    -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: 23px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    font-size: 16px;
    /*background: #e6e7e6;*/
	background-color: rgba(0,0,0,0);/*E6E7E6*/
    background-clip: padding-box;
    color: #182a3c;
    -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;
}

/* Close button */

.remodal-close {
	background: url(../images/icons/close_x11.png) no-repeat scroll 0 0 transparent;
	display: block;
    position: absolute;
    top: 6px;
    right: 0;
	
	-webkit-border-radius: 4px;
     border-radius: 4px;
		
    width: 11px;
    height: 11px;
	padding: 0;
    text-decoration: none;
    /*-webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;*/
}
/*.remodal-close:hover {
	background: url(../images/icons/close_x11.png) no-repeat scroll 5px -13px #FFFFFF;
}*/
   /* -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;*/

/*.remodal-close:active {
    background: #17469e;
}*/

.remodal-close:hover.remodal-close:after, .remodal-close:active.remodal-close:after {
    color: #f4f4f4;
}

/* Dialog buttons */

.remodal-confirm, .remodal-cancel {
    display: inline-block;
    padding: 9px 16px;
    margin: 0 0 5px 0;
	font-family: Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

/*.remodal-confirm {
    border: 2px solid #17469e;
    background: #f4f4f4;
    color: #17469e;
}*/
.remodal-confirm, .remodal-cancel {
    border: 1px solid #17469e;
    background: #17469e;
    color: #f4f4f4;
}
.remodal-confirm:hover, .remodal-confirm:active,
.remodal-cancel:hover, .remodal-cancel:active {
    background: #042b73;
    color: #ffffff;
}

/*.remodal-cancel {
    border: 2px solid #c0392b;
    background: #f4f4f4;
    color: #c0392b;
}

.remodal-cancel:hover, .remodal-cancel:active {
    background: #042b73;
    color: #ffffff;
}*/

.contact-click {
	background-color: #E6E7E6;
    padding: 14px 7px 14px 9px;
}
.contact-click fieldset {
	display: block;
	float: left;
}
.contact-click label {
	color: #404D54;
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    text-align: left;
}
.contact-click input[type="text"], .contact-click select, .contact-click textarea {
	border: 1px solid #404D54;
	background-color: #FFFFFF;
	color: #404D54;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.contact-click input[type="text"], .contact-click textarea {
	padding: 5px;
}
.contact-click select {
	padding: 4px 5px;
}
.contact-click textarea {
	resize: vertical;
}
.contact-click input[type="submit"], .contact-click input[type="button"] {
	cursor: pointer;
	border: 1px solid #2558A5;
	border-radius: 4px;
    color: #FFFFFF;
    display: block;
	font-weight: 700;
    font-size: 12px;
    padding: 3px 20px;
    text-align: center;
}
.contact-click input[type="submit"]:hover, .contact-click input[type="button"]:hover {
	border: 1px solid #2558A5;
	background-color: #FFFFFF;
	color: #2558a5;
}

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

@media only screen and (min-width: 40.063em) /* min-width 641px */ {
    .remodal {
        max-width: 580px;
        margin: 20px auto;
        min-height: 0;
        /*-webkit-border-radius: 6px;
        border-radius: 6px;*/
    }
}