h1 {font-weight: normal; font-family: 'Open Sans', Georgia;}
body {
     /*border-top: 4px solid #00aff0;*/
     margin: 0; /* to avoid margins */
     padding: 0;
     /*text-align: center;  to correct the centering IE bug  for < IE6*/
     font-family: Arial, Helvetica, serif;
     font-size: 13px;
     background: #EEF0ED;
     height: 100%;
}
html {
     margin: 0; /* to avoid margins */
     padding: 0;
     height: 100%;
}

ul
{
  list-style-type: none;
  padding: 0; /* da sme sigurni,4e lista e prikrepen vazmojno nai-lqvo do konteinera,v koito se namira i v IE  i v FireFox. */
  margin: 0;
}

a {text-decoration: none;}
a:hover {text-decoration: underline;}

#container {
   min-height:100%;
   position:relative;
   /*height:100%;*/ /*if there is a problem with footer in IE6, TRY THIS*/
}

#wrapper {
     margin: 0px auto 0 auto;
     max-width: 944px; /* mandatory to be centered */
     /*padding: 30px 10px 0 0;*/
	 text-align: left;
	 background: #EEF0ED;
         padding-bottom: 160px; /** height of the */
}

#header_center {
     margin: 0px auto 0 auto;
     max-width: 944px; /* mandatory to be centered */
     background: white;
}

#body
{
   text-align: left;
   margin: 0 auto 0 auto;
   max-width: 944px; /* mandatory to be centered */
   padding-bottom: 160px; /** height of the */
   position: relative; /*for loading div in the ajax call*/
}

#all_offers {
    .display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

#site_title
{
   font-size: 23px;
   line-height: 46px;
   font-family: Georgia, Arial, Helvetica, serif;
   text-align: center;
   margin: 0;
}

#site_title a
{
 color: #00CCFF;
 text-decoration: none;
}

#below_site_title
{
   color: orange;
   font-weight: bold;
   margin: 3px 0 0 359px;
   font-family: Georgia, Arial, Helvetica, serif;
   font-style: italic;
}

#header
{
 background: white;
 width: 100%;
 /*height: 123px;*/
 text-align: left;
 margin-bottom: 30px;
}

#content
{
 width: 510px;
 float: left;
 padding: 13px 12px 20px 20px;
 background: white;
/* border-right: 1px solid #CCCCCC;*/
}

#hg
{
 font-size: 25px;
 text-align: center;
}

#sidebar
{
 width: 200px;
 float: right;
 padding: 13px 10px 0 0;
 /*background: #F57F0B; /*#FF8800;*/
}

#sidebar li
{
 margin-bottom: 10px;
 background: url(../images/arrow_silver.jpg) no-repeat 0 5px;
 padding-left: 16px;
 line-height: 16px;
}

#sidebar a
{
 color: white;
 font-weight: bold;
}

#sidebar h2
{
 color: white;
 font-size: 16px;
 text-align: center;
 margin: 0 0 20px 0;
}

#sidebar ul
{
 margin-left: 7px;
}

.float_right
{
  float: right;
}

.clear {clear: both;}

/*------------------------------------------------------------Contact form-------------------------------------------------------*/

.bold_text
{
 font-weight: bold;
 padding-right: 5px;
}

.red_color{color: red;}

#contact_form
{
 width: 500px;
 margin: 0 auto;
}

.form_container
{
 width: 600px;
 margin: 0 auto 0 auto;
 padding-bottom: 20px;
}

.form_style input, .form_style textarea
{
 width: 225px;
 border: 1px solid #CCCCCC;
}

.form_style td
{
 padding-top: 10px;
 vertical-align: top;
}

.cells_padding_left
{
 padding-left: 4px;
}

.errors
{
 color: red;
 font-weight: bold;
}

.align_left
{
 text-align: left;
 font-weight: bold;
 width: 120px;
}

#contact_us_button
{
 width: 312px;
 padding: 5px 0 5px 0;
 background: #00AFF0;
 color: white;
 border: none;
 font-weight: bold;
}

.main_head, .h2_style
{
 margin: 0 0 30px 0;
 font-size: 25px;
 font-family: "Droid Sans", Georgia, Trebuchet MS, Arial;
 font-weight: normal;
}

.h2_style {font-size: 18px;margin-bottom: 15px;}

.sitemap_pages h3 
{ 
 font-size: 13px; 
 margin: 0 0 5px 0;
}

.sitemap_pages {margin-left: 10px;}


/*#contact_us_button
{
 background: #ff9900;
 color: white;
 font-weight: bold;
}*/

/*-----------------------------END OF CONTACT FORM------------------------------------------------------------------------*/

/* ------------------------------------------------------------------------------ COMMENTS -------------------------------------------------------------------------------------------------*/
#comments, #leave_comment
{
 background: url(../images/comments_gradient.jpg) repeat-x;
 border-top: 1px solid #CCCCCC;
 border-bottom: 1px solid #CCCCCC;
 padding-left: 10px;
 height: 40px;
 line-height: 40px;
 font-size: 20px;
 margin-top: 10px;
}

#leave_comment {margin: 0;}

#post_comment_button
{
 background: #00AFF0;
 color: white;
 font-weight: bold;
 border: none;
 width: 284px;
 padding: 0;
 margin: 0;
}

.comment_time
{
 font-size: 13px;
 font-weight: normal;
 color: #999999;
}

.comments {
 border-bottom: 1px solid #DBDBDB;
 padding-bottom: 15px;
 margin-bottom: 15px;
 }
 
 .comment_author
{
  margin-bottom: 10px;  
  font-weight: bold;
  width: 100%;
}

.image_holder
{
  float: left;
  width: 20%;
  text-align: center;
  /*height: 150px;*/
 /* padding: 10px 0 10px 0;
  border: 1px solid #DBDBDB;
  display: table-cell;*/
}

.comment_content
{
 width: 80%;
 float: left;
}

/* ------------------------------------------------------------------------------ COMMENTS -------------------------------------------------------------------------------------------------*/



/* ------------------------------------------------------------------------------ UNACTIVE COMMENTS -------------------------------------------------------------------------------------------------*/
 .ucomments
{
 width: 600px;
 border: 1px solid #DBDBDB;
 margin: 0 auto 20px auto;
 padding-top: 15px;
}

.ucomments em
{
 color: red;
 font-weight: bold;
 
}

/* ------------------------------------------------------------------------------ UNACTIVE COMMENTS -------------------------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------PAGINATION STYLE---------------------------------------------------------------------------------------*/
#pagination
{
 color: #666666;
 font-weight: bold;
 /*background: #999999;*/
 margin-top: 40px;
 padding-top: 5px;
 padding-bottom: 5px;
 text-align: center;
 width: 100%;
}

#pagination ul
{
 display: inline-block;
 margin: 0;
 margin-left: 0px; /*For IE6*/
 zoom:1;
 *display: inline;
}

#pagination a
{
 color: #666666;
 /*display: block;*/
}

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

.selected
{
 background: url(../images/bg.jpg);
 color: white;
 float: left;
 border: 1px solid #CCCCCC;
 padding: 10px 20px;
 margin-left: 3px;
}

/*#pagination li
{
 float: left;
 background: white;
 border: 1px solid #CCCCCC;
 padding: 0px 5px;
 margin-left: 3px;
}*/

.pagination_li
{
 float: left;
 background: white;
 border: 1px solid #CCCCCC;
 padding: 10px 20px;
 /*padding: 10px 0 10px 0;*/
 /*width: 27px;*/
 margin-left: 3px;
 text-align: center;
}

#which_results
{
 float: right;
 width: 100px;
 background: yellow;
}

/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

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

#footer
{
 border-top: 4px solid #00aff0;
 background: white; 
 /*background: #00aff0;*/
 text-align: center;
 /*color: white;*/
 padding-bottom: 20px;
 padding: 20px 0 0 0;
 height: 100px;
 position: absolute;
 bottom: 0;
 width: 100%;
}

#footer p
{
 padding: 27px 10px 10px 10px;
 margin: 0;
 color: #00aff0;
 height: 38px;
}

#footer ul
{
 margin: 0;
 padding: 0;
 list-style-type: square;
}

#footer ul li
{
 background: url(../images/bullet.png) no-repeat left center;
 display: inline;
 margin-left: 10px;
 padding-left: 10px;
}

/*#footer a {color: white; font-weight: bold;}*/
#footer a {color: black; font-weight: bold;}

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

.list_look
{
 margin-left: 20px;
 list-style-type: disc;
}

#top_images
{
 text-align: center;
 margin-top: 0;
}

#top_images img
{
 margin-right: 50px;
}

#grabo_offers
{
 width: 492px;
 margin: 20px auto 0 auto;
}

/*---------------------------------------------- NEW CODE FROM THIS SITE HERE ----------------------------------------------*/

#logo {
    padding: 25px 0 0 10px;
    margin: 0;
    float: left;
}

.offer_wrapper {
    /*width: 211px;
    float: left;
    margin: 0 0 55px 15px;
    color: #666666;
    position: relative;*/
    
    /*with flex*/
    width: 211px;
    margin-bottom: 55px;
    color: #666666;
    position: relative;
 }

.offer_owner {margin-bottom: 5px;}
.offer_owner span {font-weight: bold; color: black;}
.offer {
    background: white;
    border: 1px solid silver;
    height: 341px;
}

.offer_text{
    margin: 10px 0 0 0;
    padding: 0 5px 0 5px;
    height: 63px;
    overflow: hidden;
    line-height: 13px;
}

.offer_text a {
  color: #666666; /*grey*/
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
}

.image_link {
    display: block;
    text-align: center;
    height: 132px;
}

.offer_price {
    text-align: center;
    background: #89c600;
    height: 35px;
    font-weight: bold;
    color: white;
    line-height: 35px;
    font-size: 15px;
    margin: 15px 0 15px 0;
}

.offer_price span {
    text-decoration:line-through;
}

.see_offer {
    position: absolute;
    bottom: -12px;
    left: 17px;
    display: block;
    margin: 10px 0 0 0;
    background: #00aff0;
    color: white;
    font-weight: bold;
    line-height: 27px;
    width: 179px;
    text-align: center;
}

img {border-style: none;}
#nav {width: 220px; float: right; margin: 50px 20px 0 0;}
#nav a{font-size: 14px; color: #00AFF0; font-weight: bold; margin-left: 10px;}
.loading {
  opacity: 0.5;
  background: black;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}

.offer_remaining_time {
   margin: 5px 5px 33px 29px;
   font-weight: bold;
   font-size: 14px;
}

.remaining_time_text {
    margin-left: 10px;
    font-size: 12px;
}

#show_all_destinations {
 margin-top: -5px;
 position: absolute;
 /*top: 50%;*/
 top: 17px;
 right: 10px;
}

#offers_by_cities {
    border: 1px solid #cccccc;
    /*width: 879px;
    margin-left: 15px;*/
    padding: 5px;
    background: white;
    height: 2em;
    overflow-y: hidden;
    position: relative;
    .display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}
#offers_by_cities p{
    padding: 5px;
    margin: 0;
    width: 32%;
    /*float: left;
    width: 283px;*/
}

#offers_by_cities a{
    color: #666666;
    font-weight: bold;
    /*display: inline-block;
    width: 210px;*/
}

#categories {
    position: fixed;
    right: 0;
    top: 153px;
    width: 160px;
	color: white;
}

#categories p{
 height: 40px;
 line-height: 40px;
 padding-left: 5px;
 -moz-border-radius: 4px 0 0 4px;
 border-radius: 4px 0 0 4px;
 margin: 0 0 10px 0;
 font-weight: bold;
 overflow: hidden;
}
#categories {font-size: 12px;}
#categories a {color: white;}

.cat_color1 {background: #89C600;}
.cat_color2 {background: #00AFF0;}
.cat_color3 {background: #FF6600;}
.cat_color4 {background: #993399;}

#offers_description {margin-left: 15px;}


/*---------------------------------------------- NEW CODE FROM THIS SITE HERE ----------------------------------------------*/

@media screen and (max-width: 600px) { /*640px*/
        .offer_wrapper {
            margin: 0 auto 40px auto;
            float: none;
        }
	
	#body {
		width: 300px;
	}
        
        #offers_by_cities p {
            width: 100%;
        }
        
        #categories {
            position: static;
            color: #666666;
            width: auto;
            padding-left: 2px;
        }
        
        #categories p {
            border-radius: 0;
            margin: 0;
            display: inline;
            line-height: 20px;
            height: 20px;
            padding: 0;
        }
        
        #categories a {
            color: #666666;
        }
        
        .cat_color1, .cat_color2, .cat_color3, .cat_color4  {background: none;}
}