.clear {
    clear: both;
}

.delete {
    display: block;
    float: right;
    width: 16px;
    height: 16px;
    text-indent: -99999px;
    margin: 3px;
}

.contestImage {
	display: block;
	margin: 20px auto 40px auto;
}

.typesImage {
	display: block;
	margin: 10px auto 0 auto;

}

.delete:hover {

}

#latvija h1.bar {
    text-indent: -9999px;
}

#latvija .wrapper {
    background: #fafafa;
    padding: 10px;

	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
	border-top: 1px solid #e1e1e1;
}

#latvija .background {
    width: 700px;
    margin: 0 auto;
    background: url('img/background.png') no-repeat bottom #fafafa;
}

#latvija #registrationRules {
    display: block;
    margin-left: 320px;
}

#latvija a {
    color: #009ddc;
    font-size: 14px;
}

#latvija .wrapper .logos {
    margin: 25px 80px 30px 80px;
}

#latvija .wrapper .logos #tuesi{
    float: left;
    margin-top: 25px;
}

#latvija .wrapper .logos #latvijalogo{
    float: right;
}

#latvija .wrapper .about {
    text-align: center;
    margin-bottom: 10px;
	line-height: 20px;
}

#latvija .wrapper .about h3 {
    color: #000;
    font-size: 26px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#latvija .wrapper .about p {
    margin: 5px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
}

#latvija .wrapper .controls {
    text-align: center;
}

#latvija .wrapper .controls input[type="checkbox"] {
    width: 12px;
    height: 12px;
    display: block;
    float: left;
    margin-right: 3px;
	margin-top: 7px;
}

#latvija .wrapper .controls label {
    display: block;
    float: right;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    line-height: 25px;
}

#latvija .controls .control {
    display: inline-block;
    margin-right: 30px;
    margin-left: 30px;
}

#latvija .wrapper .controls button, .buttonUpload {
    display: block;
    margin: 15px auto 10px auto;
    width: 240px;
    height: 50px;
    border-radius: 5px;
    background: #8ac633;
    border: 0;
    font-size: 16px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    cursor: pointer;
}

#latvija .wrapper .controls button:hover, #latvija .wrapper #header button:hover {
    background: #669423;
}


/* feed */
#latvija .wrapper #header {
    margin-top: 0;
    margin-left: 20px;
	margin-bottom: -20px;
    z-index: 1;
}

#latvija .wrapper #header button {
    display: inline-block;
    height: 40px;
    border-radius: 5px;
    background: #8ac633;
    border: 0;
    font-size: 16px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    cursor: pointer;
    float: right;
    padding-left: 15px;
    padding-right: 15px;
}

#latvija .wrapper #header #rulesMain {
    margin-top: 13px;
    margin-right: 20px;
	position: absolute;
	top: -35px;
	right: 0;
}

#latvija .wrapper #header #headerControls {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
}

#latvija .wrapper h4 {
    margin: 40px auto;
    text-align: center;
    display: block;
    width: 690px;
    height: 24px;
    font-size: 24px;
	line-height: 26px;
    color: #242424;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

#latvija .wrapper #feed {
    width: 690px;
    margin: 0 auto;
}

#latvija .wrapper .feedLine {
    width: 333px;
}

#latvija .wrapper #feedLeft {
    float: left;
    margin-right: 20px;
}

#latvija .wrapper #feedRight {
    float: right;
}

#latvija .wrapper .item {
    width: 313px;
    padding: 10px;
    background: white;
    margin-bottom: 25px;
    border: 1px solid #e1e1e1;
	position: relative;
}

#latvija .wrapper .itemText h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 23px;
    margin-top: 15px;
}

#latvija .wrapper .itemText p {
    font-size: 15px;
    color: #2f2f2f;
    margin-bottom: 10px;
    max-width: 100%;
    /*word-break: break-all;*/
}

#latvija .wrapper .itemText img{
	width: 310px;
	margin-bottom: 10px;
}

#latvija .wrapper .itemImage img{
    width: 310px;
    margin-bottom: 10px;
}

#latvija .wrapper .itemVideo .play {
	width: 62px;
	height: 62px;
	background: url('img/play.png') no-repeat;
	position: absolute;
	top: 30%;
	left: 135px;
	z-index: 666;
	opacity: 0.75;
}

.formItemError {
	border: 1px solid #F68C00;
	-moz-box-shadow: 0 0 3px #ff6600;
	-webkit-box-shadow: 0 0 3px #ff6600;
	box-shadow: 0 0 3px #ff6600;
	margin-bottom: 1px;
}

#latvija .wrapper .item:nth-child(odd) {
    margin-right: 20px;
}

#latvija .wrapper .item .aboutUser img {
    width: 50px;
    height: 50px;
    border-radius: 3px;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

#latvija .wrapper .item .aboutUser .userPersonal {
    float: left;
    margin-top: 10px;
}

#latvija .wrapper .item .aboutUser .userPersonal span {
	color: #9f9f9f;
}

#latvija .wrapper .item .aboutUser .userPersonal h6 {
    display: block;
    font-size: 15px;
    font-weight: bold;
}

#latvija .wrapper .item .aboutUser .vote {
    padding: 10px 10px 0 10px;
    border-top: 1px solid #e1e1e1;
    width: 314px;
    margin-left: -10px;
}

#latvija .wrapper .item .aboutUser .vote .like {
    float: left;
    display: block;
    background: url('img/heart.png') no-repeat;
    text-indent: 20px;
    height: 13px;
    line-height: 12px;
    font-size: 13px;
    color: #435e98;
}



#latvija .wrapper .item .aboutUser .vote .like:hover,
#latvija .wrapper .item .aboutUser .vote .liked
{
    background: url('img/heart-red.png') no-repeat;
}

#latvija .wrapper .item .aboutUser .vote .share {
    float: right;
    display: block;
	font-size: 13px;
	color: #435e98;
	line-height: 12px;
}

/* ADD */
#latvijaAdd {
	position: relative;
}

#latvijaAdd h4 {
    margin: 25px auto;
    text-align: center;
    display: block;
    width: 580px;
    height: 24px;
    background: url('img/seperator.png') -60px center no-repeat;
    font-size: 24px;
    color: #242424;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    overflow: hidden;
}

.headerIcon {
	position: absolute;
	top: -15px;
	left: 130px;
	width: 50px;
}

.headerIconVideo {
	position: absolute;
	top: -4px;
	left: 135px;
	width: 50px;
}

#todo {
	width: 680px;
	margin-left: -15px;
	padding: 15px 30px 15px 30px;
	background: #dedede;
}

#todo p {
	display: block;
	color: #3a3a3a;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size: 16px;
	float: left;
	padding: 0 14px;
	width: 167px;
	max-width: 140px;
	line-height: 36px;
	margin: 0;
	border-right: 1px solid white;
	text-transform: uppercase;
}

#todo p.long {
	max-width: 140px;
	line-height: 19px;
	border: none;
	font-size: 14px;
}

#supporters {
	width: 728px;
	margin-left: -10px;
	margin-top: -10px;
	padding: 9px 0 9px 0;
	background: #fafafa;
    text-align: center;
}
#supporters img {
    vertical-align: middle;
}

.headerIconPhoto {
	position: absolute;
	top: -12px;
	left: 135px;
	width: 50px;
}

#addWrapper {
    width: 670px;
    background: #e2e2e2;
    margin-left: -35px;
    text-align: center;
}

#addWrapper.mfix {
    margin-left: -20px;
}

#addWrapper span {
    display: block;
}

#addWrapper a {
    display: inline-block;
    width: 160px;
    height: 200px;
    margin-right: 30px;
    background: #f9f9f9;
    position: relative;
    margin-bottom: 50px;
	text-transform: uppercase;
}

#addWrapper a:hover span {
    background: #D6D6D6;
}

#addWrapper p {
    padding: 30px 0;
    color: #242424;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

#addWrapper a span {
    background: #eeeeee;
    width: 100%;
    height: 75px;
    line-height: 75px;
    border-top: 1px solid #e1e1e1;
    position: absolute;
    bottom: 0;
    color: #242424;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

#addWrapper a.text {
    background: url('img/text.png') center 20px no-repeat #f9f9f9;
}

#addWrapper a.video {
    background: url('img/video.png') center 35px no-repeat #f9f9f9;
}

#addWrapper a.image {
    background: url('img/photo.png') center 30px no-repeat #f9f9f9;
}

.InfoBoxContentWrap {
    padding-bottom: 0;
}

#addWrapper input[type='text'] {
    width: 585px;
    height: 55px;
    margin-top: 25px;
    border: 1px solid #d7d7d7;
    text-indent: 20px;
    line-height: 55px;
    color: black;
    font-size: 16px;
}

#addWrapper textarea {
    width: 395px;
    height: 140px;
    resize: none;
    display: block;
    padding: 0;
    border: 1px solid #d7d7d7;
    color: black;
    font-size: 16px;
    padding: 20px;
	float: left;
}

.addTextImageUpload img {
	width: 100%;
}

#addWrapper .controls {
    width: 585px;
    margin: 0 auto;
    padding: 20px 0;
}

#addWrapper button.latviaButton {
    display: block;
    width: 150px;
    height: 50px;
    border: none;
    border-radius: 5px;
    background: #aab3b9;
    float: left;
    font-size: 16px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    cursor: pointer;
}

.galeryButton {
	width: 70%;
	margin: 20px auto;
}

.galeryButton span div {
	border-radius: 0;
}

.uploadButtonFix {
	width: 70%;
	height: 25px;
	margin: 0 auto;
}

#pc_upload .flashUploadLabel {
	color: white;
	line-height: 25px;
}

#addWrapper button.latviaButton:hover {
    background: #8A8E91;
}

#addWrapper button.submit {
    background: #8dc63f;
    float: right;
}

#addWrapper button.submit:hover {
    background: #669423;
}

#addWrapper #teirlv_image_upload, #addWrapper .formItemUpload {
    width: 550px;
    height: 210px;
    padding: 20px;
    background: #d7d7d7;
    margin: 0 auto;
    overflow: hidden;
}

#addWrapper .preview {
    max-width: 450px;
}

#addWrapper .break {
    display: block;
    padding-top: 20px;
}

#moreBottom div a{
    color: #393939;
    font-size: 12px;
}

/* MAP */
#map {
    position: relative;
    width: 590px;
    height: 390px;
    margin: 0 auto;
    overflow: hidden;
}

#map #pictureHolder, #map #overlay {
    width: 590px;
    height: 390px;
    overflow: hidden;
}

#map #pictureHolder, #map #pictureHolderWrapper {
    background: #d7d7d7;
    width: 900px;
}

#map #pictureHolder .frame {
    position: absolute;
    top: 15px;
    width: 900px;
}

#map #overlay {
    position: absolute;
    top: 0;
    background: url('img/map-overlay.png') no-repeat;
}

#map #pictureHolder .row {
    float: left;
    width: 90px;
    margin-left: -5px;
}

#map #pictureHolder .row img {
    width: 90px;
    margin: -5px 0 0 0;
    padding: 0;
}

.rulesL ul {
	list-style-type: circle;
	margin-bottom: 15px;
	margin-left: 15px;
}

.rules {
	width: 550px;
	margin: 0 auto;
	padding-top: 15px;
}

.rules ul  li{
	list-style-position: inside;
	list-style-image: url("img/bullet.png");
	text-align: left;
	float: left;
	width: 270px;
}

.rules ul li.long {
	width: 550px;
	margin-left: 15px;
}

.embedFooterFix {
	margin-bottom: 10px;
}

#letterCount {
	font-size: 12px;
	margin: 5px 5px -15px 45px;
	text-align: left;
	color: #A8A5A5;
	padding: 0;
}

#reason {
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size: 16px;
	margin-left: 50px;
}

#reasonL {
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size: 16px;
	margin-left: 50px;
	float:left;
}

#latvija .wrapper #header #voteOthers,
#latvija .wrapper #header #btn2014 {
	float: right;
	margin-left: 10px;
	height: 40px;
	border-radius: 5px;
	background: white;
	border: 3px solid #8ac633;
	font-size: 16px;
	color: #8ac633;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	cursor: pointer;
}

#latvija .wrapper #header #voteFinal {
	float: right;
	margin-left: 10px;
	display: block;
	width: 180px;
	height: 40px;
	border-radius: 5px;
	background: white;
	border: 3px solid #8ac633;
	font-size: 14px;
	color: #8ac633;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	cursor: pointer;
}

#floatingAdd {
	width: 728px;
	margin-left: -10px;
	padding: 9px 0 9px 0;
	background: #fefefe;
	z-index: 9999;
}

#floatingAdd img {
	margin-left: 20px;
}

#floatingAdd button {
	float: right;
	margin-right: 20px;
	display: block;
	width: 180px;
	height: 40px;
	border-radius: 5px;
	background: #8ac633;
	border: 3px solid #8ac633;
	font-size: 16px;
	color: white;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	cursor: pointer;
}