/* systemove styly pro gallery (zacinaji rg_ */
.rg_gal_list {float:right;}
.rg_gal {background-color:#ffffff;color:#000000;display:table;text-align:left;padding:20px 10px 20px 15px;
margin-bottom:2px;width:100%;box-sizing:border-box;text-decoration:none;height: auto;overflow: hidden;}
.rg_gal:first-child {margin-bottom:0px;padding-bottom:5px;}
.rg_gal:hover,.rg_gal:active {background: #ffffff none;opacity: 0.8; filter: alpha(opacity=80);}
.rg_gal_img {width:202px;float:left;margin-right:20px;text-align:center;}
.rg_gal_img img {max-width:200px;max-height:200px;border: 1px solid silver;}
.rg_gal_text {float:none;}
.rg_gal_title {font-size:110%;font-weight:bold;margin:0px 20px 3px 0px;}
.rg_gal_info {margin-bottom:12px;display:table;}
.rg_gal_info div {white-space:nowrap;float:left;margin-right:9px;}
.rg_gal_info div:not(:last-of-type):after {content: "\00B7"; margin-left:9px;}
.rg_gal_info span {}
.rg_gal_desc {font-size:90%;color:#3e3e3e;display:table;}
.rg_gal_label {display:table;background-color:#ffc0cb;color:black;margin-top:12px;padding:3px 6px;}

.rg_gal_control {box-sizing:border-box;width:20%;float:right;}
.rg_gal_control_content {display:table;width:95%;margin-top:10px;box-sizing:border-box;background-color:#ffffff;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;}
.rg_gal_control .year {display:table;margin:10px auto 10px auto;}
.rg_gal_control .year span {float:left;font-size:200%;font-weight:bold;}
.rg_gal_control .rg_year_title {background-color:#878786;padding:10px 15px 10px 22px;width:100%;margin:0px;
color:#ececec;text-align:left;box-sizing:border-box;text-transform:none;font-size:130%;line-height:120%;}
.rg_gal a.control {margin:0px auto;width:120px;height:40px;display:block;background: #ffffff url(images/big-arrow-up.png) no-repeat center top;}
.rg_gal a.control.down {background: #ffffff url(images/big-arrow-down.png) no-repeat center top;}
.rg_gal .year .active {display:block;font-size:200%;font-weight:bold;text-align:center;color:#000000;text-decoration:none;}
.rg_gal .year a.inactive {display:block;font-size:120%;font-weight:bold;text-align:center;color:#797979;text-decoration:none;}

.rg_buttons {margin:25px auto;display:table;}
.rg_button {border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;box-sizing:border-box;display:table;
background-color:#d0d0d0;color:#000000;padding:10px 20px;text-decoration:none;line-height:25px;
margin:0px 5px;overflow:hidden;position:relative;float:left;width:110px;}
a.rg_button:hover {background-color:#878786;color:#ffffff;} 
a.rg_button.back {text-align:right;padding-left:40px;}
a.rg_button.back::before {content: "\2190";position:absolute;left:5px;bottom:14px;font-size:25px;padding-left:3px;}
a.rg_button.next::after {content: "\2192";position:absolute;right:5px;bottom:14px;font-size:25px;}
.rg_page {float:left;font-size:200%;margin:0px 20px;}
.rg_no_gallery {margin:80px 0px;font-size:125%;}

.rg_gal_list {position: relative;}

.rg_show {width: 100%;margin-top: 10px;box-sizing: border-box;}
.rg_show_h1 {position:relative;background-color: #878786;padding: 10px 35px 10px 22px;
width: 100%;margin: 0px 0px 0px 0px;box-sizing: border-box;}
.rg_show_close {position:absolute;right:15px;top:5px;color:#ffffff;display:table;
text-decoration:none;line-height:100%;font-size:26px;}
.rg_show_close:hover, .rg_show_close:active {background-color:transparent;color:#000000;}
/*.rg_show_close:before {content:'\00d7';font-size:28px;}*/
.rg_show h1 {text-transform:none;color:#ececec;text-align:left;box-sizing: border-box;font-size: 130%;line-height:120%;
padding:0px;margin:0px;}
.rg_show_title {}
.rg_show_value {font-weight:bold;}
.rg_show_content {}
.rg_show .rg_button.close {padding-left:40px;}
.rg_show .rg_button.close:before {content:'\00d7';position: absolute;left: 10px;top: 30%;line-height:16px;font-size: 20px;}

.rg_thumbs {display:table;width:100%;}
.rg_thumbs a, .picked {display:block;float:left;box-sizing: border-box;margin:0px 3px 3px 0px;text-decoration:none;
padding:0px;background-color:silver;}
.rg_thumbs a:hover,.rg_thumbs a:active {opacity: 0.8; filter: alpha(opacity=80);}

.rg_password {margin-top:36px;}
.rg_password p {font-weight:bold;}

.rg_admin_menu {margin:20px 0px;width:100%;box-sizing: border-box;}
.rg_admin_menu a {color:#e2001a;text-decoration:none;padding:0px 4px;}
.rg_admin_menu a:hover,.gal_menu a:active {color:#e2001a;text-decoration:underline;}
.rg_admin_menu a.active {background-color:#e2001a;color:#ffffff;}

.rg_admin .picked_images {width: 80%;margin: 5px auto 15px auto;display: table;border: 5px solid silver;
padding: 2px 10px 5px 10px;text-align: center;}
.rg_admin .picked_images p {margin:0;padding:0;}
.rg_admin .picked {opacity: 0.1; filter: alpha(opacity=10);}
.rg_admin form.orderby {margin:10px 0px 20px 0px;}
.rg_order {display:table;float:left;}
.rg_order a {font-size:100%;background-color:transparent;text-decoration:none;color:gray;padding:2px 5px;}	
.rg_arrows {display:table;clear:both;float:left;min-width:150px;}
.rg_arrows .active {background-color:yellow;display:table;}

.rg_order a:hover, .rg_order a:active {color:#e2001a;}
.rg_order a.inactive:hover, .rg_order a.inactive:active {color:gray;}
.rg_order.title_active {width:100%!important;display:table;clear:both;margin:30px auto;padding-top:60px;}
.rg_order.title_active form {margin:10px 0px;}
.rg_order.title_active .image_title {width:500px;}
.rg_order.title_active img {margin-left:18px;}

.rg_form {margin:20px auto;width:700px;}
.rg_form select {font-size:100%!important;}
.rg_form input {font-size:100%!important;}
.rg_new {position:absolute;top:15px;right:15px;background-color:#ececec;color:#000000;padding:4px;display:table;text-decoration:none;}
.rg_new:hover,.rg_new:active {text-decoration:underline;background-color:silver;color:#000000;}

/* formular pro upload */
.rg_upload {width:500px;margin:30px 20px;float:left;text-align:left;} 
.rg_upload .radek { padding: 4px 2px;  clear: both;display:table; }
.rg_upload fieldset{border: 1px solid #ccc;padding: 24px 8px 10px 10px;margin: 12px  0px 24px 0px;background: #f4f4f4;
_background:none;position:relative;_position:static;}
.rg_upload fieldset legend {border: 1px solid #ccc;background-color : White;padding:3px 10px; position: relative;
 _position:static; top: -8px;}
.rg_upload fieldset:hover { border: 1px solid #573F2D; background: #f0f0f0;}
.rg_upload fieldset:hover legend {border: 1px solid #573F2D;font-weight:bold;}
.rg_upload input { width: auto; color:#333;}
.rg_upload label { float:left; width: 130px}
.rg_upload .chyba {padding-left:130px;color:red;font-weight:bold;text-align:left;}
.rg_upload fieldset .line_submit {text-align:center;margin:24px auto 0px auto;}
.rg_upload fieldset .line_submit input {width:auto;}


	
/* mobile css */
@media screen and (max-width:50em)
	{
	.rg_show_content {padding:0px 10px;}	
	.rg_gal_img {clear:both;}
	.rg_gal_text {width:100%;float:left;}
	.rg_gal_title {margin:6px 20px 6px 0px;}	
 	.rg_gal_list,.rg_gal_control_content {width:100%;}
	.rg_gal_list .rg_gal {border-bottom:4px solid #ececec;}
	.rg_gal_control {float:none;width:98%;margin:30px auto;border-bottom:10px solid #ececec;}
	.year {	}
	.year a.control {float:right;margin:0px auto;width:40px;height:60px;background: #ffffff url(images/middle-arrow-right.png) no-repeat center top;}
	.year a.control.down {background: #ffffff url(images/middle-arrow-left.png) no-repeat center top;}
	.year .active {float:right;margin:0px 10px;display:block;font-size:200%;font-weight:bold;text-align:center;color:#000000;text-decoration:none;}
	.year a.inactive {float:right;display:block;margin:10px 10px;font-size:120%;font-weight:bold;text-align:center;color:#797979;text-decoration:none;}

	}	
	