.file-upload {
	position: relative;
	display:block;
	width: fit-content;
	/* height:50px; */
	border-radius: 3px;
	background-color: white;
	font-size: 14px;
	color: black;
	text-align: center;
	line-height: 50px;
	margin: 15px auto 15px auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border: 1px solid #be112a;
	font-size: 18px;
	font-weight: 500;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	transition: all .2s;
	text-transform: uppercase;
	padding-left: 10px;
	padding-right: 10px;
}

.competition_file_upload_text{
    line-height: 30px;
}

.file-upload input {
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	display: block;
	cursor: pointer;
}

.file-preview img{
	width:100%;
	height: auto;
}

.file-preview .competition_file_preview {
	position: absolute;
	width:100%;
	height:100%;
	overflow: hidden;
}

.competition_file_delete {
	position: absolute;
	width: 100%;
	top:98%;
	left:0;
	padding:0.5em;
	text-align: center;
	color:white;
	background-color:red;
}

.alert {
	display:block;
	width:100%;
	padding:.25em .5em;
	font-size:1.25em;
	text-align: center;
	color:white;
	border-radius: 3px;	
}

.alert-success {
	background-color:green;
}

.alert-danger {
	background-color:red;
}

.overlay{
	position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding-top: 25%;
    text-align: center;
    color: white;
    display: none;
}

.overlay.loading-icon:before{
      opacity: 1;
}

.loading-icon:before {
     position: absolute;
     left: 50%;
     width: 32px;
     height: 32px;
     margin: -16px 0 0 -16px;
     -webkit-border-radius: 32px;
     -moz-border-radius: 32px;
     border-radius: 32px;
     background: url("../images/preloader.gif") no-repeat;
     content: "";
     /*opacity: 0.5;*/
     top: 15%;
}

.loading-text-wrapper{
    padding-top: 50px;
}

.ie .loading-text-wrapper{
    padding-top: 0px !important;
}

.modal {
  text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.video-container{
    position: relative;
}

.competition-uploader-container/*, .video-preview, .remove-video*/{
	display: none;
}

.competition-uploader-container.active, .video-preview.active, .remove-video.active{
	display: block;
}

.remove-image, .remove-video{
	background: white;
	width: 24px;
	height: 24px;
	float: right;
	right: 5px;
	position: absolute;
	border: 1px solid rgba(0,0,0,.1);
	text-align: center;
	cursor: pointer;
	top: 0;
}

.remove-video{
   right: 0px;
   z-index: 10;
}

.remove-image .fa, .remove-video .fa{
	font-size: 16px;
	text-align: center;
	font-weight: normal;
    color: red;
    vertical-align: super;
}

.attachment.for-ie{
    border: 1px solid #bbb;
    margin-left: 10px;
    margin-bottom: 10px;
    width: auto;
}


/*.attachment.for-ie:first-child {
    margin-left: 0px;
}*/

.attachment.for-ie span.name{
    vertical-align: text-top;
}

.attachment {
    position: relative;
    /*float: left;*/
    display: inline-block;
    padding: 8px;
    margin: 0;
    color: #444;
    cursor: pointer;
    list-style: none;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 25%;
    box-sizing: border-box;
}

.attachment-preview {
    position: relative;
    box-shadow: inset 0 0 15px rgba(0,0,0,.1), inset 0 0 0 1px rgba(0,0,0,.05);
    background: rgba(0,0,0,.0001);
    cursor: pointer;
}

.attachment .attachment-thumbnail {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition: opacity .1s;
}

.attachment .attachment-thumbnail .centered {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(50%,50%);
    transform: translate(50%,50%);
}

.centered img {
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    position: absolute;
    top: 0;
    left: 0;
}

.image-preview-container{
    margin: auto;
    text-align: center;
}

.image-preview-container, .video-preview-container{
	padding: 0;
	display: block;
	bottom: 0;
	overflow: auto;
	outline: 0;
	position: static;
}
	
.attachment-preview:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.attachment .attachment-thumbnail:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.1);
    overflow: hidden
}


/*Form elements style*/
.form-input {
    -webkit-appearance: none;
    /* border-width: 1px; */
    border-color: #cccccc;
    color: #aaaaaa!important;
    background-color: #ffffff!important;
    border-style: solid;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-size: 14px;
    -webkit-appearance: none;
    width: 100%;
    padding: 16px !important;
}

.form-select-input{
    box-sizing: border-box;
    width: 100%;
    padding: 16px 20px 16px 10px;
    /* border: 0; */
    border-radius: 0;
    color: #999;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    font-size: 14px;
}

.select-wrapper{
    position: relative;
}

.select-wrapper[data-type=select]:after{
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    margin-top: 3px;
    border: 6px solid;
    border-color: #666 transparent transparent transparent;
    content: "";
    transform: translateY(-50%);
    pointer-events: none;
}


.form-button{
    display: inline-block;
    margin: 0 0 0 15px;
    cursor: pointer;
    position: relative;
    padding: .3em 1em;
    border: 2px solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 20px;
    line-height: 1.7em!important;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    color: #ffffff!important;
    border-color: #be112a;
    font-family: 'Arial',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 700!important;
    background-color: #be112a;
    text-transform: uppercase;
}

.form-button:hover {
    padding: .3em 2em .3em .7em;
    border: 2px solid transparent;
}

.form-button:after {
    text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
        font-size: 32px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
    position: absolute;
    margin-left: -1em;
    opacity: 0;
    content: "\35";
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

.form-button:hover:after {
    margin-left: 0;
    opacity: 1;
}

.button-white{
    display: inline-block;
    margin: 0 0 0 15px;
    cursor: pointer;
    position: relative;
    padding: 3px 1em;
    border: 1px solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 20px;
    line-height: 1.7em!important;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    color: #000!important;
    border-color: #be112a;
    font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 500!important;
    background-color: #fff;
    /* text-transform: uppercase; */
}

.button-white:hover {
    padding: 3px 2em 3px .7em;
    /* border: 2px solid transparent; */
}

.button-white:after {
    text-shadow: 0 0;
    font-family: ETmodules!important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
        font-size: 32px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
    position: absolute;
    margin-left: -1em;
    opacity: 0;
    content: "\35";
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

.button-white:hover:after {
    margin-left: 0;
    opacity: 1;
}

/*i:before{
	width: 17px;
	height: 17px;
	color: #2ea3f2;
	font-family: dashicons;
	font-size: 17px;
	line-height: 17px;
	content: "\f147";
	position: absolute;
	top: 50%;
	left: 50%;
	content: ""; 
	transform: translate(-50%,-50%);
}*/


.form-checkbox[type="checkbox"]:before{
    position: relative;
    display: block;
    width: 11px;
    height: 11px;
    border: 1px solid #808080;
    content: "";
    background: #FFF;
}
.form-checkbox[type="checkbox"]:after{
    position: relative;
    display: block;
    left: 2px;
    top: -11px;
    width: 7px;
    height: 7px;
    content: "";
    background-repeat: no-repeat;
    background-position:center;
}
.form-checkbox[type="checkbox"]:checked:after{
    color: #2ea3f2;
    font-family: dashicons;
    font-size: 20px;
    line-height: 20px;
    content: "\f147";
    text-align: center;
}
.form-checkbox[type="checkbox"]:disabled:after{
    -webkit-filter: opacity(0.4);
}
.form-checkbox[type="checkbox"]:not(:disabled):hover:before{
    border-color: #3D7591;
}

.form-checkbox.large{
    height:22px;
    width:22px;
}

.form-checkbox.large[type="checkbox"]:before{
    width: 20px;
    height: 20px;
}
.form-checkbox.large[type="checkbox"]:after{
    top: -20px;
    left: -1px;
}
.checkbox-text{
  vertical-align: super;
}

.margin-bottom-20{
    margin-bottom: 20px !important;
}


.margin-bottom-0{
    margin-bottom: 0px !important;
}

.upload-btn{
    color: #333333!important;
    border-width: 1px!important;
    border-color: #cccccc;
    border-radius: 0px !important;
    font-size: 15px;
    padding-left: 2em;
    padding-right: 0.7em;
    background-color: #ffffff;
    padding-top: 12px!important;
    padding-bottom: 12px!important;
    margin-left: 0px!important;
}

.upload-btn.active {
    color: #ffffff!important;
    background: #be112a!important;
}

/*.upload-btn:before{
    position: absolute;
    margin-left: -1em;
    opacity: 0;
    text-shadow: none;
    font-size: 32px;
    font-weight: 400;
    font-style: normal;
    font-variant: none;
    line-height: 1em;
    text-transform: none;
    content: "\35";
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

.upload-btn:hover:before {
    margin-left: .3em;
    right: auto;
    margin-left: -1.3em;
}

.upload-btn.upload-images-btn:before {
    content: attr(data-icon);
    font-family: "ETmodules"!important;
    color: #444444;
    line-height: 1.7em;
    font-size: 15px!important;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
}

.upload-btn.upload-video-btn:before {
    content: attr(data-icon);
    font-family: "ETmodules"!important;
    color: #444444;
    line-height: 1.7em;
    font-size: 15px!important;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
}*/

.upload-btn i{
    padding-right: 10px;
}

.no-padding{
    padding: 0 !important;
}

.padding-bottom-20{
    padding-bottom: 20px !important;
}

.padding-top-5{
    padding-top: 5px !important;
}

.padding-top-20{
    padding-top: 20px !important;
}

.competition-entry-form-elements .g-recaptcha{
	display: -webkit-inline-box;
}

.alert-danger {
    font-size: 14px;
}

.modal-wrapper  h3{
    color: #fff;
    display: block;
    background: transparent;
    margin-bottom: 10px;
}
.modal-wrapper  .btn-link.et_pb_button, .btn-link.btn-handimate.btn-red{
    border-color: #c4122f !important;
    background-color: #c4122f !important;
}

.modal-wrapper  .btn-link.et_pb_button, .btn-link.btn-handimate{
    color: #fff !important;
    /* padding: 12px 20px; */
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em!important;
    /* outline-color: #c4122f !important; */
    text-transform: uppercase;
}

.modal-wrapper .btn.btn-link.et_pb_button.active.focus, .btn.btn-link.btn-handimate.btn-red.active.focus{
	outline-color: #c4122f !important;
}

.btn-link.btn-handimate.btn-red:hover{
	border-color: #c4122f !important;
    background-color: #c4122f !important;
    color: #fff;
}

.btn-link.btn-handimate.btn-gray{
    border-color: #757575 !important;
    background-color: #757575 !important;
}

.btn.btn-link.btn-handimate.btn-gray.active.focus{
	outline-color: #757575 !important;
}

.btn-link.btn-handimate.btn-gray:hover{
	border-color: #757575 !important;
    background-color: #757575 !important;
    color: #fff;
}

.modal-wrapper  .btn-link.et_pb_button:after{
    content: "";
}

.modal-wrapper  .btn-link.et_pb_button:hover{
    padding: .3em 1em !important;
}

.modal-wrapper  .fa-thumbs-up, .voting-share-btn .fa-thumbs-up{
    vertical-align: middle;
    margin-bottom: 10px;
}

.competition-upload-form label.error{
    color: #c4122f;
    font-weight: normal;
}

.competition-vote-form label.error, .like-n-share-form label.error{
    color: white;
}

#c_entry_terms-error{
  vertical-align: super;
  padding-left: 5px;
}

.margin-top-20{
    margin-top: 20px !important;
}

.margin-top-40{
    margin-top: 40px !important;
}

.fb-link{
    color: #2ea3f2 !important;
}

.vote-now-btn{
    /*padding: .3em 2em .3em .7em !important;*/
    border: 2px solid transparent !important;
}

.vote-now-btn i, .like-share-btn i, .back-btn i{
    padding-left: 10px;
    vertical-align: middle;
    margin-bottom: 5px;
}