html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 90%;
	font: inherit;
	vertical-align: baseline;
}

html{
    height: 100%;    
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-family: 'Open Sans', sans-serif;
    height: 100%;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.container{
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    padding-top: 35px;
}

body{
    background-position: center center;
    //background-repeat: no-repeat;
    background-size: cover;
    background-image: url("/img/bg/bg.jpg");
    padding: 10px;
}

.margin-bottom-sm {
    margin-bottom: 5px !important;
}

.margin-bottom {
    margin-bottom: 10px !important;
}

h1{
    font-weight: 300;
    font-size: 48px;
    color: #FFF;
    margin-bottom: 45px;
}

h1 span{
    font-weight: 700;
}

.content p{
    font-weight: 300;
    font-size: 24px;
    color: #FFF;
    margin-bottom: 35px;
}

#result{
    //height: 50px;
    line-height: 48px;
    //width: 250px;
    //font-weight: 700;
    color: #FFF;
    display: none;
    opacity: 0;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #FFF;
    padding: 0 10px;
}

#warn{
    line-height: 48px;
    color: #FFF;
    display: inline-block;
    opacity: 1;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #FFF;
    padding: 0 10px;
}

#reqwrapper{
    padding: 10px;
    display: block;
    opacity: 1;
    max-width: 440px;
    border-radius: 5px;
    border: 1px solid #FFF;
    margin-bottom: 20px;
}

h2{
    font-size: 24px;
    color: #FFF;
    font-weight: 300;
    padding: 10px 10px 20px 10px;
}

#request:hover{
    color: #272731;
    background-color: #FFF;
}

form{
    display: block;
}

form input, form textarea, form button{
    //float: left;
    display: block;
    clear:both;
    font-size: 18px;
    width: 100%;
}

form input, form textarea{
    padding-right: 4px;
    box-sizing: border-box;

    border-radius: 4px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    font-size: 18px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    font-family: 'Open Sans', sans-serif;
    
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    display: table-cell;
    float: left;
    margin-bottom: 0;
    position: relative;
    width: 100%;
    z-index: 2;

}

form input{
    height: 36px;
}

form input::-moz-placeholder, form textarea::-moz-placeholder{
    color: #999;
    opacity: 1;
}

form button{
    height: 40px;
}

.input-group{
    border-collapse: separate;
    display: table;
    position: relative;
}

.input-group-addon{
    border-radius: 4px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    background-color: #eee;
    color: #555;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    width: 1%;
    display: table-cell;
    border: 1px solid #ccc;
}

.input-group-addon:first-child {
    border-right: 0 none;
}

#cntr{
    display: none;
}

#msg-r, #mail-r, #name-r, #phone-r{
    display: none;
}

.red{
    border: 2px solid red;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 940px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 740px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0;
    }
    
    h1, .content p{
        text-align: center;
    }
}

@media screen and (min-width:240px) and (max-width:720px) {
    .container{
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }

    h1{
        font-size: 40px;
    }

    .content p{
        font-size: 24px;
        padding: 10px;
    }

}