/* Post slider */
body .swiper-container {
    max-height: 600px;
}
/* END of post slider */

/* Backstretch */
.backstretch img {
    
    width: 100% !important;
    left: 0 !important;
    height: unset !important;
    top: 0 !important;
}
/*  End of backstretch  */
/*Oflokkad*/
.instacontainer * {
  font-weight: 100 !important;
}
/*
.x-navbar-wrap .x-container.width, .x-logobar .x-container.max.width {
    width: 100%;
    margin: 0 !important;
}
*/
/*
a.x-brand.img img {
    max-width: 100% !important;
    width: 1200px !important;
}
*/
.x-navbar .desktop .x-nav li>a>span:after {
  display:none;
}
footer.x-colophon {
    background-color: #fac800 !important;
}
footer.x-colophon a, footer.x-colophon h4 {
    color: #fff !important;
}
footer.x-colophon ul li {
    list-style: none !important;
}
.widget {
    text-shadow: 0 0px 0 rgba(255,255,255,0) !important;
}
footer.x-colophon ul li a:before {
        display: inline-block;
    padding-top: 3px;
    padding-right: 8px;
    content: "\f054";
    font-family: FontAwesome;
    color: #ffffff !important;
    font-size: 12px;
    opacity: 1 !important;
}
.fp-timatoflur  ul {
    margin: .5em 0 .5em .5em !important;
}
.fp-timatoflur  ul li {
    list-style: none !important;
}
.fp-timatoflur ul li a:before {
        display: inline-block;
    padding-top: 3px;
    padding-right: 8px;
    content: "\f054";
    font-family: FontAwesome;
    font-size: 12px;
    opacity: 1 !important;
}
/* End of oflokkad */



.x-container.width {
    width: 97% !important;
}
.x-container.offset {
    margin: 15px auto !important;
}
/*
.x-navbar-wrap .x-container.width, .x-logobar .x-container.max.width {
    width: 100% !important;
}
*/
.x-main.left .entry-wrap {
    padding: 10px;
}
.x-navbar .desktop .x-nav > li > a:not(.x-btn-navbar-woocommerce) {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

table#leikmenn tr td {
    width: 50% !important;
}

.x-recent-posts .format-standard .x-recent-posts-img:before {
    content: " " !important;
    background-image: url(/wp-content/plugins/nv_knattspyrna/assets/logo/240.svg);
    background-repeat: no-repeat;
}
.minnifrettir .x-recent-posts .no-post-thumbnail .x-recent-posts-img:before {
    opacity: 0.65 !important;
    width: 50% !important;
    height: 50%;
    top: 46%;
    left: 50%;
}

/* LOGO BAR */
.owl-iml-stage-outer.owl-iml-height, .owl-iml-stage-outer.owl-iml-height, .owl-iml-stage, .owl-iml-item, .owl-iml-item ul, .owl-iml-item ul li {
    height: 70px !important;
}
.imc-logo-wrapper.tool_tip_set {
    padding-top: 40% !important;
}
.theme_1 .imc-logo-wrapper {
    position: unset !important;
}
.theme_1 .imc-logo-wrapper .imc-logo {
    width: 100% !important;
    height: 100% !important;
    left: 0% !important;
}
/*END OF LOGO BAR*/

/*Box Title
Rauði: #fac800
blái: #002576
*/
body .boxTitle:hover .skew .middle {
    background: #fac800;
}
body .boxTitle:hover .skew .front {
    border-right-color: #fac800;
    border-top-color: #2e3192;
}

body .boxTitle:hover {
    background: #2e3192;
}


.boxTitle:before {
  content: '';
  display: block;
  width: 0px;
  height: 86%;
  position: absolute;
  top: 7%;
  left: 0%;
  opacity: 0;
  background: white;
  box-shadow: 0 0 15px 3px white;
  -webkit-transform: skewX(-20deg);
  -moz-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  -o-transform: skewX(-20deg);
  transform: skewX(-20deg);
}
.boxTitle {
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.boxTitle:hover, body .boxTitle:hover .skew .front, body .boxTitle:hover .skew .middle {
  
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.boxTitle:hover:before {
  -webkit-animation: shine 0.5s 0s linear;
  -moz-animation: shine 0.5s 0s linear;
  animation: shine 0.5s 0s linear;
}
@-webkit-keyframes shine {
  from {
    opacity: 0;
    left: 0%;
  }
  50% {
    opacity: 1;
  }
  to {
    opacity: 0;
    left: 100%;
  }
}
@-moz-keyframes shine {
  from {
    opacity: 0;
    left: 0%;
  }
  50% {
    opacity: 1;
  }
  to {
    opacity: 0;
    left: 100%;
  }
}
@keyframes shine {
  from {
    opacity: 0;
    left: 0%;
  }
  50% {
    opacity: 1;
  }
  to {
    opacity: 0;
    left: 100%;
  }
}


.p-fix p{
  margin:0 !important;
  display:block;
  clear:both;
}
.boxTitle {
    background: #fac800;
    padding: 15px;
    position: relative;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.boxTitle h2 {
    text-align: left;
    font-size: 14px;
    line-height: 19px;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}
.skew {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
}
.skew .front {
    border-top: 49px solid #fac800;
    border-right: 23px solid #002576;
    background: #fac800;
    width: 20px;
    height: 49px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.skew>div {
    float: left !important;
}
.skew .line {
    width: 1px;
    background: #fff;
    -webkit-transform: skewX(-25deg);
    -moz-transform: skewX(-25deg);
    -ms-transform: skewX(-25deg);
    -o-transform: skewX(-25deg);
    transform: skewX(-25deg);
    height: 49px;
    position: absolute;
    right: 52px;
}
.skew .middle {
    height: 49px;
    width: 40px;
    background: #002576;
    text-align: center;
    margin-left: -1px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
/*
.skew .middle .viewAll {
    color: #fff;
    font-size: 24px;
    display: inline-block;
    padding: 7px 0;
    background: url(http://www.tindastoll.is/static/themes/2016/images/arrow.png) no-repeat 50%;
    width: 100%;
    height: 49px;
}
*/
.middle svg {
    height: 20px !important;
    width:20px !important;
}
.skew .middle .viewAll {
    color: #fff;
    display: inline-block;
    padding: 15px 0;
    width: 18px;
}
/*END OF BOX Title*/




/*  Afturelding TV   */
@media (min-width: 992px) {
body .tvcontainer .big {
    float: left;
    width: 58.33333333%;
}}
@media (min-width: 768px) {
.tvcontainer .big {
    float: left;
    width: 66.66666667%;
}}
.tvcontainer .big {
    position: relative;
    min-height: 1px;
    padding-left: 0px;
    padding-right: 15px;
}
.tvcontainer .big .item, .tvcontainer .big .item .thumb {
    position: relative;
}
.tvcontainer .big .item .thumb img {
    width: 100%;
}
.tvcontainer .big .item .thumb .icon {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.tvcontainer .big .item .thumb .icon:before {
    content: "\f144";
    color: rgba(255, 255, 255, 0.6);
    font-family: FontAwesome;
    font-size: 80px;
}
.tvcontainer .big .item .date {
    font-size: 14px;
    margin-top: 8px;
}
.tvcontainer .big .item .text {
    display: block;
    display: -webkit-box;
    height: 45.71428573px;
    font-size: 16px;
    line-height: 1.42857143;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    height: auto;
}
html body .tvcontainer.sida .big {
    width: 100% !important;
}
/*  small  */
@media (min-width: 992px) {
body .tvcontainer .small {
    float: left;
    width: 41.66666667%;
}}
@media (min-width: 768px) {
.tvcontainer .small {
    float: left;
    width: 33.33333333%;
}}
.tvcontainer .small {
    float: left;
    width: 100%;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    padding-left: 0;
}
.tvcontainer .small .item {
    position: relative;
    margin-bottom: 3px;
    padding-bottom: 3px;
    height: 73px;
    border-bottom: 1px solid #ccc;
}
.tvcontainer .small .item:after, .tvcontainer .small .item:before {
    content: " ";
    display: table;
}
.tvcontainer .small .item:after, .tvcontainer .small .item:before {
    content: " ";
    display: table;
}
.tvcontainer .small .item .image {
    position: relative;
    width: 25%;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    padding-left: 0;
}
.tvcontainer .small .item .image img {
    height: 70px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}
.tvcontainer .small .item .title {
    position: relative;
    float: left;
    width: 75%;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    padding-left: 0;
}
body .tvcontainer .small .item .title h3 {
    margin: 0;
    display: block;
    display: -webkit-box;
    height: 64.8px;
    font-size: 12px;
    line-height: 1.2;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}
.tvcontainer .small .item:after {
    clear: both;
}
.tvcontainer .small .item:after, .tvcontainer .small .item:before {
    content: " ";
    display: table;
}

.tvcontainer .small .item:after {
    clear: both;
}
.tvcontainer .small .item:after, .tvcontainer .small .item:before {
    content: " ";
    display: table;
}
.tubestastic p{
  margin:0;
}
@media (min-width: 768px) {
.tvcontainer .rest .item{width: 50%;float: left;padding:10px;}
}
.tvcontainer .item.odd{clear: left;}
.tvcontainer .item.even{clear: right;}

.tvcontainer .rest .item .thumb .icon:before {
    content: "\f144";
    color: rgba(255, 255, 255, 0.6);
    font-family: FontAwesome;
    font-size: 80px;
    -webkit-transition: font-size .3s, color .3s;
    transition: font-size .3s, color .3s;
}
.tvcontainer .rest .item, .tvcontainer .rest .item .thumb {
    position: relative;
}
.tvcontainer .rest .item .thumb .icon {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.tvcontainer .rest .item:hover .thumb .icon:before {
    color: rgba(15, 253, 0, 0.6);
    font-size: 100px;
    -webkit-transition: font-size .3s, color .3s;
    transition: font-size .3s, color .3s;
}
.rest .item:hover {
    background-color: rgba(212, 212, 226, 0.19);
    -webkit-transition: background-color .3s;
    transition: background-color .3s;
}

.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%;
}
.livestatus * {
    vertical-align: middle;
}
.livestatus svg {
    margin-right: .1em;
}
.livestatus {
    position: absolute;
    z-index: 9;
    left: 20px;
    top: 10px;
    background-color: red;
    color: #fff;
    padding: 4px;
    border-radius: 5px;
    animation: blinker .5s linear infinite;
}
@keyframes blinker {
  50% {
    background-color: white;
    color: #000;
  }
}





/*  EventON    */
body .eventon_events_list .eventon_list_event .evcal_desc span.evcal_desc2{
    font-size: 16px;
}
.evcal_month_line {
    display: none;
}
span.evcal_event_types.ett1 em:first-child {
    display: none;
}
.evo_cal_above {
    padding-bottom: 0px !important;
}
body.page-id-7 .evcal_desc3 span.evcal_event_types.ett1 {
    max-height: 23px;
}


/* POSTS  */
a.x-recent-post1 .frettaflokkurexcerpt {
    font-size: 23px;
}
.frettaflokkurexcerpt {
    position: absolute;
    z-index: 99999999;
    background-color: #fac800;
    color: #2a4d88;
    bottom: 2px;
    padding: 1px 10px 1px 10px;

}



/*  Footer  */
.x-colophon-content * {
    vertical-align: middle;
    display: inline-block;
}
.x-colophon-content .fblogo svg {
    width: 42px;height: 48px;float:right;
}
.x-colophon-content .fblogo a.fb-desktop {
    float:right;
    margin-left: 1em;
    margin-top: 1em;
}
body .x-colophon.bottom {
    font-size: 14px;
    text-align: left;
    color: #fff;
}
body .x-colophon.bottom .x-colophon-content {
    margin: 10px 0 10px;
}
img.footerlogo {
    width: 75px;
    height: 85px;
    margin-right: 1em;
}
@media(max-width:979px) {
    .x-colophon-content * {
        margin: auto !important;
        display: block !important;
        float: none !important;
        text-align: center;
    }
    .x-colophon-content .fblogo svg {
        margin-top:.5em !important;
        margin-bottom:.5em !important;
    }
    .footerlogo {
        margin-bottom:.5em !important;
    }
    body a.fb-desktop {
        display: none !important;
    }
    body a.fb-mobile {
        display: inline-block !important;
        margin-left: 1em !important;
        margin-right: 1em !important;
    }
    body footer.x-colophon.top {
        display: none !important;
    }
}

@media(min-width:979px) {
    body a.fb-mobile {
        display: none !important;
    }
    body a.fb-desktop {
        display: initial !important;
    }
}