/*
You can add your own CSS here.

Click the help icon above to learn more.
*/

.adform-adbox { 
	/*width: auto !important; */
	/*height: auto !important; */
}

.ad-1-container {
		max-width: 1018px;
    margin: 0 auto;
}

.ad-1 {
    position: relative;
    width: 100%;
		max-width: 1018px;
    height: 0;
    padding-bottom: 35.36%; // 360px/1018px
}

.ad-1 div.sam-place {
	display: flex;
}

@media screen and (min-width: 1036px) {
	.ad-1 {
	  height: 360px;
		padding-bottom: 0;
	}
}

.ad-1 video {
  width: 100%;
  max-width: 1018px;
}

.ad-1018 {
	max-width: 1018px;
	margin: 0 auto;
	flex: 1 1 0;
}
/*
.ad-1 div[id*='_670_3'],
.ad-author-top-mini div[id*='_670_3'] 
*/
.ad-1 div.sam-place,
.ad-author-top-mini div.sam-place
{
		max-width: 1018px;
    margin: 0 auto;
    height: 100%;
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}
/* Landsliðið
.tn-rect-1
,.tn-rect-3 {
	fill: #276aa5;
}
.tn-rect-2 {
	fill: #d8212a;
}
*/

/* Gay Pride
.tn-rect-1 { fill:#E70000; }
.tn-rect-2 { fill:#FF8C00; }
.tn-rect-3 { fill:#FFEF00; }
.tn-rect-4 { fill:#00811F; }
.tn-rect-5 { fill:#0044FF; }
.tn-rect-6 { fill:#760089; }
*/

.ad-author-top-mini {
    flex: 1 1 100%;
    align-self: flex-end;
    order: 3;
	  max-width: 705px;
	  position: relative;
    height: 0;
    padding-bottom: 35.36%; // 360px/1018px
}

.ad-author-top-mini div.sam-place {
	display: flex;
}

.ad-author-top-mini .ad-1018 {
	max-width: 705px;
	flex: 1 1 0;
}

.nav-authors a.nav-trendnýtt span {
    background: url("http://trendnet.is/wp-content/themes/trendnet4/images/Trendnytt.png");
    background-size: 110px;
    background-repeat: no-repeat;
    color: transparent;
    padding: 0 20px;
}

@media screen and (max-width: 768px)
{
.nav-authors a.nav-trendnýtt span {
    background-size: 90px;
    background-position-x: 50%;
}
}


.trendnytt .author-name { display: none; }

.trendnytt #author-head img {    
    margin-top: -12%;
}

.nav-authors a.nav-trendnýtt span:before {
    height: 0px !important;
    background-color: transparent;
}

nav-authors a.nav-trendnýtt span {
    background: url("http://trendnet.is/wp-content/themes/trendnet4/images/Trendnytt.png");
    background-size: 110px;
    background-repeat: no-repeat;
    color: transparent;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
.nav-authors a.nav-trendnýtt span {
    background-size: 85px;
    background-position-x: 50%;
    padding: 0 5px 5px;
}
}

@media screen and (max-width: 370px) {
.nav-authors {
    columns: 2;
	}
}


.author-overview-box1 .author-second-post img {
    max-height: 340px;
}

.gudrun-sortveit .author-name { display: none; }

.svartahvitu .author-sub-menu-link
 {
    background: #f5f5f5;
    box-shadow: 0px 0px 7px 1px #858585;
    color: #8f8f8f;
    text-shadow: none;
  }

.helgiomars .author-sub-menu-link,
.marta-run .author-sub-menu-link,
.hildur-sif .author-sub-menu-link,
.beggiolafs .author-sub-menu-link,
.anna-bergmann .author-sub-menu-link
 {
    background: #f5f5f5;
    box-shadow: 0px 0px 0px 1px #e1e1e1;
    color: #b8b8b8;
    text-shadow: none;
  }

.sigridurr .author-sub-menu-link
 {
    background: #545454e3;
    box-shadow: 0px 0px 0px 1px #e1e1e1;
    color: #b8b8b8;
    text-shadow: none;
  }

.hibeauty .author-name {
	  text-shadow: none !important;
}

.hibeauty .author-name span { 
    text-indent: -0.3em !important;
    text-transform: none !important;
    top: 0 !important;
    text-shadow: none !important;
    font-style: normal !important;
	  color: #666 !important;
}