/*css-hack*/
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: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}
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;
}
/*css-hack end*/

@font-face {
	font-family: sanchez_font;
	src: url('../fonts/Sanchezregular.otf');
}

html {
    display: grid;
    margin: 0px auto;
    width: 1000px;
}

/*IE hack*/
html[data-useragent*='MSIE'] #sorry_div  {
    width: 560px;
}

html[data-useragent*='MSIE'] #desc_2 {
    top: -539px;
    left: 350px;
}

html[data-useragent*='MSIE'] #desc_3 {
    top: -1111px;
    left: 656px;
}

html[data-useragent*='MSIE'] #v_sep_right {
    top: -798px;
    left: 660px;
}

html[data-useragent*='MSIE'] #follow_msg > a  {
    padding-bottom: 13px;
}
/*IE hack end*/

body {
    margin: 0px;
    background: url('../images/background/bg_1.jpg') repeat-x;
    background-color: rgb(19,19,19);
}

#wrapper {
    font-family: sanchez_font;
    height: 925px;
    margin: 0px auto;
    width: 1000px;
}


#sorry_div {
    padding: 15px 40px 0 40px;
    width: 600px;
}

#sorry_msg {
    color: rgb(244,244,244);
    font-size: 2.5em;
}

#follow_div {
    padding: 0px 40px 0 40px;
    width: 400px;
}

#follow_msg > a {
    color: rgb(0,0,0);
    font-size: 2em;
    text-decoration:none;
    padding-bottom: 10px;
}



#follow_msg > a:hover {
    color: rgb(244,244,244);
}

#follow_msg  img  {
    vertical-align: middle;
}

#logo {
    position: relative;
    top: -210px;
    left: 425px;
}

#h_sep_top {
    width: 900px;
    height: 18px;
    background: url('../images/separators/vizszintes_felso_elvalaszto.png') no-repeat;
    top: -170px;
    position: relative;
}


#v_sep_left, #v_sep_right {
    background: url('../images/separators/fuggoleges_elvalaszto.png') no-repeat;
    width: 2px;
    height: 282px;
    position: relative;
}

#v_sep_left {
    left: 33%;
    /*top: -525px;*/
    top: -240px;
}
#v_sep_right {
    /*top: -1136px;*/
    top: -808px;
    left: 660px;
}

#h_sep_bottom {
    width: 900px;
    height: 18px;
    background: url('../images/separators/vizszintes_also_elvalaszto.png') no-repeat;
    /*top: -1456px;*/
    top: -205px;
    position: relative;
}
#descs {
    /*display: inline-table;*/
    position: relative;
    top: -188px;
    height: 345px;
}

#desc_1, #desc_2, #desc_3 {
    width: 300px;
    white-space: pre-line;
    color: #627E1E;
    font-size: .9em;
    text-align: center;
    position: relative;
}

#desc_1 > span, #desc_2 > span, #desc_3 > span {
    color: rgb(255,255,255);
    font-size: 2em;
}

#desc_2 {
    top: -555px;
    left: 350px;
}

#desc_3 {
    top: -1138px;
    left: 656px;
}

#footer {
    position: relative;
    top: -190px;
    color: rgb(255,255,255);
    
}
#footer_msg{
    color: rgb(133,174,35);
    font-size: 2em;
    float: left;
}

#footer_right{
    float: right;
}

#phone {
    vertical-align: text-bottom;
    line-height: 4em;
}

#address {
    float: right;
}

/*
#desc_1, #desc_2, #desc_3 {
    width: 300px;
    white-space: pre-line;
    color: #627E1E;
    font-size: .9em;
    text-align: center;
    position: relative;
}

#desc_1 > span, #desc_2 > span, #desc_3 > span {
    color: rgb(255,255,255);
    font-size: 2em;
}

#desc_1 {
    top: -253px;
}

#desc_2 {
    top: -849px; 
    left: 343px;
}

#desc_3 {
    top: -1463px;
    left: 656px;
}


#footer {
    position: relative;
    top: -1450px;
    color: rgb(255,255,255);
    
}
#footer_msg{
    color: rgb(133,174,35);
    font-size: 2em;
    float: left;
}

#footer_right{
    float: right;
}

#phone {
    vertical-align: text-bottom;
    line-height: 4em;
}

#address {
    float: right;
}
*/