body{
    font-family: arial;
}  

.clear{
    clear: both;   
}

.ngdialog *, .ngdialog :after, .ngdialog :before{
	text-align: left;
}

.heroCont {
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: 0.5%;
	width: 19%;
	height: 190px;
	overflow: hidden;
}

@media (max-width: 576px){
	.heroCont{
		width: 32%;
		width: calc((100% / 3) - 1%)
	}
}

.heroCont div[backimage]{
	background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0%;
    margin: -4px 0 0 -4px;
}

.heroCont div{
	width: 104%;
	height: 104%;

}

.heroEditLink{
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgba(0,0,0,0.75);
	margin: 0;	
	width: auto !important;
	height: auto !important;
}
.heroEditLink a{
	color: white;
	padding: 0.1em 0.5em;
}

.heroCont p {
    position: absolute;
    bottom: -100%;
    background-color: rgba(0,0,0,0.75);
    margin: 0;
    padding: 0.5em;
    width: 100%;
    color: white;
    text-align: center;
	
	-webkit-transition: bottom 25s; /* Safari */
    -moz-transition: bottom 0.25s;
    -o-transition: bottom 0.25s;
    transition: bottom 0.25s;
}

.heroCont:hover p {
    bottom: 0px;
	left: 0;
}

.heroCont img{
	width: 100%;
}

.heroImg {
    width: 30%;
    float: left;
}

.heroContent {
    width: 70%;
    float: left;
}

.detailCont {
	display: inline-block;
	width: 100%;
}

.full-screen-dialog .ngdialog-content{
    width: 65% !important;
}


@media (max-width: 768px){
	.full-screen-dialog .ngdialog-content{
		width: 90% !important;
	}
	.ngdialog.ngdialog-theme-default{
		padding-top: 2em;
		padding-bottom: 2em;
	}
}


.full-screen-dialog .ngdialog-content label{
    width: 6em;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.heroImage {
    float: left;
    margin: 0 15px 15px 15px;
    max-width: 25%;
}

#controlsContainer {
    width: 100%;
    margin: auto;     
}

.pagination{
	background-color: initial;
	border: none;
}

.pagination a, .pagination a:visited, .pagination span{
	text-decoration: none;
    border: 1px solid #d85c2e;
    padding: 5px 10px;
	background: white;
	color: black;
	border-color: black;
	height: auto;
	border-right-style: none;
}

.pagination a:hover, .pagination a:active, .pagination>.active>a{
	background-color: #337ab7 !important;
	border: 1px solid #337ab7 !important;
	padding: 6px 12px !important;
	color: white !important;
}

.pagination>.disabled>a{
	border: 1px solid black;
}

.pagination>li:first-child>a, .pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination>li:last-child>a, .pagination>li:last-child>span {
    border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-right-style: solid;
}

label{
 /* width: 110px; */
  text-align: left
}

.ngdialog.ngdialog-theme-default .ngdialog-close:before {
  right: -16px;
  top: -13px;
  font-size: 40px;
  background-color: white;
  border-radius: 30px;
  padding-top: 0px;
  padding-left: 1px;
  content: url('/images/cross.png');
}

.cke{
	margin-left: 6em;
}
div[recaptcha]{
	margin-left: 5.3em;
}
.formSubmit{
	margin-left: 5.3em;
	margin-top: 1em;
	padding: 0.25em 1em;
	border-radius: 5px;
}
.addLink input[type=button] {
	background-color: rgb(179, 59, 32);
	background-image: none;
	border-color: rgba(0, 0, 0, 0.0980392);
	border-bottom-color: rgba(0, 0, 0, 0.247059);
	border-radius: 4px;
	border-style: solid;
	border-width: 1px;
	box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
	box-sizing: border-box;
	color: rgb(255, 255, 255);
	cursor: pointer;
	display: inline-block;
	margin: 0px;
	padding: 5px 10px;
	font-size: 17px;
	text-align: center;
	text-shadow: rgba(255, 255, 255, 0.74902) 0px 1px 1px;
}