div.gallery-flag {
    border: 0px solid #ccc;
}

div.gallery-flag:hover {
    border: 0px solid #777;
}

div.desc {
    padding: 15px;
    text-align: center;
}



.respons-flag {
    /**padding: 0 0px;
    float: left;
    width: 12.99999%;
    padding: 0 10px;**/
float: left;
width: 12.99999%;
height: 100px;
margin: 2px;

}

@media only screen and (max-width: 700px){
    .respons-flag {
        width: 24.5.99999%;
        margin: 6px 0;
    }
}

@media only screen and (max-width: 500px){
    .respons-flag {
        width: 100%;
    }
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
    }
    
    
/* registration button */

.reg_image{
    padding-left: 10px;
  
}
@media only screen and (max-width: 300px){
    .reg_image  {
         padding-left: 35px;
          width:225px;
          height:61px;
          
    }
}





/*flag gallery*/
.flag_gallery
{
	margin-left: auto;
	margin-right: auto;
}
.flag_gallery_box
{
	display: block;
	position: relative;
	cursor: pointer;
	margin-top: 30px;
	overflow: hidden;
	width: 150px;
    float: left;
    padding-top: 20px;

}
.accordion .flag_gallery_box
{
	margin-top: 0;
}
.flag_gallery_box img
{
	display: block;

	height: 60px;
	background: url('../images/preloader.gif') no-repeat center center;
}
.flag_gallery_2_columns .flag_gallery_box img
{
	width: 480px;
	height: 300px;
}
.flag_gallery_3_columns .flag_gallery_box img
{
	width: 310px;
	height: 200px;
}
.flag_gallery_2_columns_sidebar .flag_gallery_box img
{
	width: 300px;
	height: 190px;
}
.accordion.wide .flag_gallery_box img
{
	width: 300px;
	height: 190px;
}
.flag_gallery_box .description
{
	position: relative;
	z-index: 1;
	background-color: #F0F0F0;
	padding: 15px;
	background-position: 220px center;
	text-align: center;
	line-height: normal;
}
.flag_gallery .description h3,
.flag_gallery_box .description h3,
.flag_gallery_box .description h5
{
	font-family: 'arial';
	font-size: 13px;
}
.flag_gallery .description h3,
.flag_gallery_box .description h3
{
	font-weight: bold;
}
.flag_gallery_box .description h5
{
	margin-top: 5px;
	color: #666666;
}
.flag_gallery_box:hover .description
{
	background-color: #42B3E5;
}
.flag_gallery_box:hover h3,
.flag_gallery_box:hover h5
{
	color: #FFF;
}
.flag_gallery_box .controls
{
	display: none;
	position: absolute;
	padding: 10px;
	background: transparent;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3F000000,endColorstr=#3F000000)";/* IE8 */    
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#3F000000,endColorstr=#3F000000);/* IE6 & 7 */ 
	background: rgba(0, 0, 0, 0.25);
	zoom: 1;
}
.flag_gallery_box:hover .controls
{
	display: block;
}
.flag_gallery_box .item_details
{
	width: 225px;
	border-bottom: 1px solid #E0E0E0;
	color: #666666;
	text-align: center;
	line-height: 150%;
	padding: 20px 0;
}
.flag_gallery_box:hover .item_details
{
	border-color: #42B3E5;
	border-width: 2px;
	padding-bottom: 19px;
}
.flag_gallery_box .social_icons,
.flag_gallery_item_details_list .social_icons
{
	margin-top: 10px;
}
.flag_gallery_item_details_list
{
	padding-bottom: 30px;
	border-bottom: 1px solid #E0E0E0;
}
ul.flag_gallery_item_details_list
{
	/*height: 0;*/
	overflow: hidden;
	/*display: none;*/
}
.flag_gallery_item_details_list li.flag_gallery_item_details
{
/*	display: none;*/
	position: relative;
}
.flag_gallery_item_details_list .flag_gallery_box
{
	width: 480px;
	margin-right: 30px;
	margin-top: 0;
}
.flag_gallery_item_details_list .details_box
{
	width: 480px;
}
.flag_gallery_item_details_list .details_box .controls li
{
	margin-left: 2px;
}
.flag_gallery_item_details_list .details_box .controls li:first-child
{
	margin-left: 0;
}
.flag_gallery_item_details_list .flag_gallery_box img
{
	display: block;
	width: 480px;
	height: auto;
	background: url('../images/preloader.gif') no-repeat center center;
}
.flag_gallery_item_details_list .flag_gallery_box .slider_navigation,
.post_content .flag_gallery_box .slider_navigation
{
	width: 90%;
	margin-left: 5%;
	margin-right: 5%;
}
.flag_gallery_item_details_list .flag_gallery_box .slider_navigation .slider_control,
.post_content .flag_gallery_box .slider_navigation .slider_control,
.flag_gallery_item_details_list .flag_gallery_box .slider_control a,
.post_content .flag_gallery_box .slider_control a
{
	height: 30px;
}
.flag_gallery_item_details_list .details_box .subheader
{
	color: #59B42D;
	font-family: 'Droid Serif';
	font-style: italic;
	margin-top: 5px;
}
.flag_gallery_item_details_list .details_box p
{
	clear: both;
	color: #666666;
	line-height: 150%;
	padding: 20px 0;
}
.flag_gallery_item_details_list .details_box .columns
{
	clear: both;
}
.flag_gallery_item_details_list .details_box .column_left,
.flag_gallery_item_details_list .details_box .column_right
{
	width: 210px;
}
.flag_gallery_item_details_list .details_box .list
{
	line-height: 150%;
	color: #C5C5C5;
}
.page_left .flag_gallery_item_details_list .flag_gallery_box
{
	width: 630px;
	margin-right: 0;
}
.page_left .flag_gallery_item_details_list .column_right
{
	margin-top: 30px;
}
.page_left .flag_gallery_item_details_list .details_box
{
	width: 630px;
}
.page_left .flag_gallery_item_details_list .flag_gallery_box img
{
	width: 630px;
	height: auto;
}
/* --- photostream --- */
.photostream
{
	width: 340px;
	margin-top: 20px;
}
.photostream .flag_gallery_box
{
	float: left;
	margin-top: 10px;
	margin-right: 10px;
}
.photostream .flag_gallery_box img
{
	width: auto;
	height: 60px;
}
/* --- scrolling flag_gallery --- */
.flag_gallery.horizontal_carousel li.flag_gallery_box
{
	float: left;
	margin-right: 30px;
}
    