@import url( 'page.css' );

a, a:visited {color:#000000; outline: none;}

.note {
    background-color: #FFFFFF; 
    border: 2px solid #b4c8d3;
    border-radius: 4px; 
    padding: 20px 30px; 
    margin-bottom: 10px;
}
.text_image {box-shadow: 1px 1px 8px 0px rgba(50, 50, 50, 0.5); margin: 0 20px 20px 0; max-width: 100%;}

/*table*/
.table-content {border-spacing: 0px; width:100%;
	margin: 10px auto;	
	border:#CEDAE0 1px solid;
	border-radius: 4px;
	box-shadow: 0 1px 2px #d1d1d1;
}
.table-content th:first-child {border-top-left-radius: 4px;}
.table-content th:last-child {border-top-right-radius: 4px;}
.table-content th {
	padding:18px;
	border-bottom:1px solid #CEDAE0;
	background: #f8f8f8;
	vertical-align: middle;
	color: #000000;
}
.table-content tr {text-align: center; padding-left:20px;}
.table-content tr td {background: #FFFFFF; vertical-align: middle; padding:18px; border-bottom: 1px solid #CEDAE0; border-left: 1px solid #CEDAE0; }
.table-content tr td:first-child {border-left: 0 none; padding-left: 20px; text-align: left;}
.table-content tr:last-child > td {border-bottom: 0 none;}
.table-content tr:last-child td:first-child {border-bottom-left-radius: 4px;}
.table-content tr:last-child td:last-child {border-bottom-right-radius: 4px;}
.table-content tr:nth-child(2n) {background: #f9f9f9;} 
.table-content.no_strip tr:nth-child(2n) {background: inherit!important;} 

.table-content.p-small tr td {padding: 10px;}
.table-content.p-small th {padding: 14px 10px;}


.mce-content-body .image_gallery_page {border: 1px dashed #CCCCCC; padding: 10px;}
.mce-content-body .image_gallery_page img {margin-right: 10px; height: 100px; float: left; display: inline-block;}
.mce-content-body .image_gallery_page:after {content: ''; display: block; clear: both;}


/*gallery*/
ul.image_gallery {margin:0; padding: 0;}
ul.image_gallery :after {content:""; display:table; width: 100%;}
ul.image_gallery {    
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    
    justify-content: left;
    -webkit-justify-content: left;
    -moz-justify-content: left;
    -ms-justify-content: left;
    
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}
.image_gallery li, .image_gallery_page.fix_gallery > img {
    width: 20%; background: none!important; list-style: none!important;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    margin: 5px;
    height: 300px!important;
    width: 300px!important;
    border: 1px solid #CCCCCC; 
}
.image_gallery li img {max-height: 100%;}
.image_gallery_page.fix_gallery li img {max-height: none;}
.image_gallery.auto_width li {width: auto!important;}

//.image_gallery_page {content:""; display:table; width: 100%;}
//.image_gallery_page > img {max-height: 200px;  border: 1px solid #CCCCCC; margin: 5px; float: left; display: inline-block;}


/*custom_form*/
.custom_form .place {width: 48%; margin-right: 2%; float: left; margin-bottom: 10px; height: 80px;}
.custom_form .important {color: #FF0202;}
.custom_form .date_calendar {width: 48%!important; }
.custom_form .date_calendar input {padding: 10.5px!important;}



a.filemanager {text-align: left !important; line-height: 20px; padding: 4px 0 8px 35px; display: block;}
a.filemanager[title*="file"]	{background: url('/pics/file/file.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".doc"]   	{background: url('/pics/file/doc.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".docx"]  	{background: url('/pics/file/doc.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".xls"]   	{background: url('/pics/file/xls.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".xlsx"]   	{background: url('/pics/file/xls.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".ppt"]   	{background: url('/pics/file/ppt.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".pptx"]   	{background: url('/pics/file/ppt.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".pdf"]   	{background: url('/pics/file/pdf.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".rar"]   	{background: url('/pics/file/archive.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".zip"]   	{background: url('/pics/file/archive.png') no-repeat scroll 0 30%;}
a.filemanager[href$=".7z"]   	{background: url('/pics/file/archive.png') no-repeat scroll 0 30%;}


/*ul*/
ul.styled {list-style: none; padding: 0; text-align: left;}
ul.styled, ol {margin: 0 0 10px 0;}
ul.styled li {position: relative; padding: 4px 0;}
ul.styled li {overflow: hidden;padding-top: 5px; line-height: 22px; background: url(/pics/ul.png) 0px 14px no-repeat;  padding-left: 15px; margin-left: 0px;}
ul.styled ul, ul.styled ol{margin: 0px 0px 0px 40px;}
ol.styled {margin: 0px 0px 0px 20px;}
ul.styled li a.active {text-decoration: none; font-weight: bold;}

 
/*checkbox*/
.styled_checkbox input[type=checkbox] { display:none;} 
.styled_checkbox input[type=checkbox] + label {
    -ms-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none;
    cursor: pointer; line-height: 24px; padding-left: 25px; position: relative; display: inline-block;
}
.styled_checkbox input[type=checkbox] + label:before {
  font-family: FontAwesome;
  display: inline-block;
  font-size: 22px;
  position: absolute;
  top: 1px; left: 0;
  color: var(--color1);
}

.styled_checkbox input[type=checkbox] + label:before { content: "\f096"; } /* unchecked icon */
.styled_checkbox input[type=checkbox] + label:before { } /* space between checkbox and label */

.styled_checkbox input[type=checkbox]:checked + label:before { content: "\f046"; } /* checked icon */
.styled_checkbox input[type=checkbox]:checked + label:before {} /* allow space for check mark */


img.styled {border: 1px solid #999999;    
	-webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow:    1px 1px 5px 0px rgba(50, 50, 50, 0.5);
	box-shadow:         1px 1px 5px 0px rgba(50, 50, 50, 0.5);
}
