/* CSS Document */

body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
background-color:#FFFFFF;
padding:0;
margin:0;
color:#666666;
text-align:justify;
}

a:link {
	color: #707070;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #707070;
}
a:hover {
	text-decoration: underline;
	color: #707070;
}
a:active {
	text-decoration: none;
	color: #707070;
}

#top_wrapper {
width:100%;
height:102px;
background-color:#2B2B2B;
}

#mid_div {
width:850px;
height:102px;
margin:0 auto;
}

#logo {
margin-top:20px;
width:auto;
height:auto;
float:left;
}

.logo1 {
color:#FFFFFF;
font-size:24px;
font-family:Arial, Helvetica, sans-serif;
}

.logo2 {
color:#CDCDCD;
font-size:14px;
font-family:Arial, Helvetica, sans-serif;
}


/*-------------------MENU---------------------*/

#foxmenucontainer{float:right; width:640px;height:34px;display:block;}

#foxmenu{position:relative;display:block;height:34px;font-size:12px;
font-family:Arial,Verdana,Helvitica,sans-serif; margin-top:3px;}

#foxmenu ul{ height:34px;margin:0;padding:0;list-style-type:none;width:auto;}

#foxmenu ul li{width:123px; height:34px;display:block;float:left;margin:0 0 0 4px;;}

#foxmenu ul li a{display:block;float:left;color:#fff;text-decoration:none;
padding:10px 20px 0 37px;height:24px;
background:transparent url(button.jpg) no-repeat; width:66px;}

#foxmenu ul li a:hover{color:#fff; width:66px; height:24px;
background:transparent url(button_over.jpg) no-repeat; color:#666666;}

#foxmenu ul li a.current,#foxmenu ul li a.current:hover{color:#000;background:#fff;}

/*-----------------BANNER----------------------*/

#banner_wrapper {
width:100%;
height:120px;
background-image:url(banner_bg.jpg);
background-repeat:repeat-x;
margin-bottom:15px;
}

#banner {
width:850px;
height:120px;
margin:0 auto;
background-image:url(banner.jpg);
background-repeat:no-repeat;
}

.bstylehome {
width:480px;
font-size:24px;
font-family:"Trebuchet MS";
color:#E8E8E8;
padding-top:15px;
padding-left:350px;
}

.bstyle {
width:480px;
font-size:24px;
font-family:"Trebuchet MS";
color:#E8E8E8;
padding-top:35px;
padding-left:350px;
}

#learn {
width:84px;
height:auto;
padding-top:30px;
padding-left:764px;
}

a.learn {
display:block;
width:84px;
height:29px;
background-image:url(learn.jpg);
background-repeat:no-repeat;
}

a.learn:hover {
display:block;
width:84px;
height:29px;
background-image:url(learn_over.jpg);
background-repeat:no-repeat;
}

/*--------------------------CONTENT----------------------*/

#content_wrapper {
width:850px;
height:auto;
margin:0 auto;
}

#top_cont {
width:850px;
height:auto;
}

#left_top {
width:260px;
height:auto;
float:left;
margin-right:30px;
display:inline;
padding-right:20px;
}

h1 {
color:#BB2B11;
font-size:24px;
font-family:"Trebuchet MS";
margin:0;
padding:0;
padding-bottom:15px;
}

#archive {
width:110px;
font-size:10px;
font-weight:bold;
text-align:right;
padding-right:10px;
margin-left:160px;
margin-bottom:0px;
}

#read {
background-image:url(arrow.jpg);
background-repeat:no-repeat;
width:110px;
font-size:14px;
font-weight:bold;
text-align:right;
padding-right:10px;
margin-left:160px;
margin-bottom:20px;
}

#login {
width:260px;
height:129px;
background-color:#B5B5B5;
margin-top:30px;
padding-left:10px;
}

h2 {
font-size:18px;
color:#242424;
margin:0;
padding:0;
padding-top:5px;
}

.user {
font-size:11px;
color:#242424;
}

#log {
padding-top:12px;
}

a.log {
display:block;
width:82px;
height:23px;
background-image: url(log_button.jpg);
background-repeat:no-repeat;
}

a.log:hover {
display:block;
width:82px;
height:23px;
background-image: url(log_button_over.jpg);
background-repeat:no-repeat;
}

.remember {
font-size:12px;
color:#242424;
}

.check_box {
padding:0;
margin:0;
}

#right_top {
width:520px;
height:auto;
float:left;
display:inline;
}

h3 {
color:#242424;
font-size:24px;
font-family:"Trebuchet MS";
margin:0;
padding:0;
padding-bottom:15px;
}

#r_box1 {
width:520px;
height:auto;
}

#foto {
margin-right:5px;
width:162px;
height:163px;
float:left;
}

#r_box2 {
padding-top:15px;
width:520px;
height:auto;
}

#read_more {
width:520px;
text-align:right;
margin-bottom:5px;
}

/*------------Services-----------------*/

#services_wrapper {
width:100%;
height:auto;
background-color:#E0E0E0;
margin-top:10px;
}

#serv_wrapper {
width:850px;
height:auto;
margin:0 auto;
}

#box1 {
width:260px;
height:80px;
padding-right:10px;
border-right:2px dotted #CFC7C7;
padding-bottom:30px;
padding-top:20px;
float:left;
margin-right:18px;
}

h4 {
font-size:14px;
margin:0;
padding:0;
}

#box2 {
width:260px;
height:80px;
padding-right:10px;
padding-bottom:30px;
padding-top:20px;
float:left;
}

h5 {
    font-size: 18px;
    color: white;
    margin: 0;
    padding: 0;
    padding-top: 5px;
}

/*-------------------FOOTER------------------*/

#footer_wrapper {
width:100%;
height:110px;;
background-color:#353535;
}

#footer {
width:850px;
height:auto;
margin:0 auto;
text-align:center;
padding-top:30px;
color:#E7E7E7;
font-size:14px;
}

#footer a {
color:#E7E7E7;
text-decoration:none;
}

#footer a:link {
text-decoration:none;
}

#footer a:hover {
text-decoration: underline;
}

.copyright {
font-size:11px;
}


/* The Modal (background) */
.modal {
    display: none;    /* Hidden by default */
    position: fixed;    /* Stay in place */
    z-index: 1;    /* Sit on top */
    padding-top: 100px;    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;    /* Full width */
    height: 90%;    /* Full height */
    overflow: auto;    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.modal-button {
    font-size: 14px;
    border: none;
    background-color: white;
    color: #707070;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top: -300px; opacity: 0    }
    to {top: 0; opacity: 1}
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #990000;
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #990000;
    color: white;
}

/* Popup container - can be anything you want */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The actual popup */
.popup .popuptext {
    visibility: hidden;
    width: 250px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}