/* This file allows you to override default styles in one central location for easier upgrade and maintenance. */
@import "compass";

html, body, #map-canvas {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.clearfix{
    clear: both;
}

.map-portlet{
    min-height: 334px;
    min-width: 307px;

.portlet-body{
        position: relative;
    }

    .loader-bg{
        display: block;
        padding: 20% 36%;
        left: 0;
        position: absolute;
        width: 100%;
        top: 0;
        z-index: 400;
        background: rgba(0, 0, 0, 0.7);
        height: 100%;

        .loader-img{
            width: 150px;
            height: 150px;
            margin: 0 auto;
        }
    }
}

.guest-site .map-portlet{
    min-height: 265px;
}

.wall-portlet{
    font-size: 87%;

    *, *:before, *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .createDate{
        color:#a5a2a2;
        margin-bottom: 4px;
    }


}

.wall-portlet a{
	text-decoration: none;
	color: #000;
}

.wall-portlet .media-heading a:hover,
.wall-portlet a.user:hover {
	text-decoration: none;
}

.wall-portlet a.info-icon{
    color: #9a9a9a;
}
.wall-portlet a.info-icon:hover{
    color: #606060;
}

.org-list{
	width: 350px;
}
.org-list .thumbnail{
width: 49px;	
margin-bottom:0;
}
.org-list .org-name{
	padding-top:13px;
    padding-left: 0;
    margin-left: 25px;
}

.org-list .org-thumb{
    padding-left: 22px;
}

.pull-left .post-user {
  width: 40px;
  height: 40px;
  padding: 0;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

/*.post > .pull-left.user{*/
    /*height: auto;*/
    /*min-height: 60px;*/
    /*overflow: visible;*/
/*}*/

.pull-left .post-user img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  height: auto;
  width: auto;
}

.pull-left .post-user img.landscape {
  max-width: none;
  max-height: 100%;
}

/* Example styles */
.example .pull-left .post-user{
  overflow: visible;
  position: relative;
}
.example .pull-left .post-user:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: red;
  zoom: 1;
  filter: alpha(opacity=50);
  opacity: 0.5;
}


.media{
	margin-top: 12px;
	background: #FFF;
	padding: 0px;
    position: relative;
	border: 1px solid #eaeaea;
	border-radius: 3px;
	/*box-shadow: 1px 1px 1px rgba(0,0,0,0.1);*/

    .media-heading.user{
        font-weight: normal;
        letter-spacing: normal;
        font-size: 15px;
        text-transform: capitalize;
    }

    &.post .pull-left{
         padding-right: 0;
     }

    &.waitn-appr{
        background: rgba(255,235,59,0.4);
    }

     a{
         text-decoration: none;
         &:hover{text-decoration:none}
     }
    .approval-info{
        margin-bottom: 7px;
        border-bottom: 1px dashed #ddd;
        padding-bottom: 5px;
     }
	.media {
		background: none;
		box-shadow: none;
		border: 0;
		padding: 0;

        &.child-post{
            overflow: visible;

            .createDate {
                position: relative;
                top: -8px;
            }

            md-fab-speed-dial {visibility: hidden}
            &:hover md-fab-speed-dial{visibility: visible}
        }
	}

    .pray-item{
        a{
            text-decoration: none;
            cursor: pointer;
        }
    }

	.media.blog{
		/* tento kusok je pre blogy s obrazkom */
		background: rgba(0,0,0,0.03);
		border: 1px solid rgba(0,0,0,0.05);

		
		.blog-img {
			max-height: 250px;
			overflow: hidden;
			display: block;
			position: relative;
            margin-bottom:0px!important
		}
		
		img.blog-thumb {
			width: 100%;
			vertical-align: middle;
			display: block;
		}
		
		.media-body{
			margin: 10px 12px;
            padding:10px 7px 7px;
		}

	}
    .remove {
        top: 10px;
        position: absolute;
        right: 10px;
        cursor: pointer;
        color: #9E9E9E;

        &:hover{
            color: #F70A00;
        }

         &.child-post{
              top: -17px;
              right: 0;
              }
    }

    .profile-icon{
        font-size: 46px;
        color: rgba(0,0,0,0.1);

        &:hover{color: rgba(0,0,0,0.4);}
         a{
             color: #eaeaea;
             &:hover{
                 color:#ababab;
            }
         }
    }

    &.fb-post .media.blog{
        .blog-img {
            max-height: none;
            overflow: visible;
        }
    }

}

.ng-scope md-card{
    margin-left:0;
    margin-right:0;
}


md-card-content > .media-body {
    hyphens: auto;
    max-width: 470px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-left: 10px;
}

#sharing-opts{
    float: right;
}

.wall-portlet {
    .tab-content{
        clear: both;
    }
    .btn.save-post{
        display: block;
        margin-top: 5px;
    }
  .drop-box {
    background: #F8F8F8;
    border: 5px dashed #DDD;
    width: 170px;
    text-align: center;
    padding: 50px 10px;
    margin-left: 10px;

    &.dragover {
      border: 5px dashed blue;
    }
    &.dragover-err {
      border: 5px dashed red;
    }
  }
  .post-body {
    padding-bottom: 3px;

      a.link{
          text-decoration: underline;
      }

  }
  #add-item-form {
      button{
            float:right;
            margin: 0;
        }

        textarea{
            border-bottom: none;
        }
  }

    md-input-container.search-org{
        margin-bottom: 0;
        margin-top:18px;

            md-icon{
                font-size: 30px;
                color: #999;
            }
            .md-errors-spacer{
                display:none;
                min-height:0;
            }
    }

    #file-up-btn {
        font-size: 20px;
        line-height: 0;
        top: -2px;
    }

    .comment {
        font-size: 14px;
        margin-bottom: 10px;
        white-space: pre-line;
    }


  input[type="text"], input[type="submit"],
  input[type="button"], textarea, .textarea {
    padding: 5px;
  }
  .form-control {
    width: 98%;
  }

  input[type="submit"]:hover, input[type="button"]:hover,
  input[type="reset"]:hover, button:hover {
    background-image: none;
  }

  ul.nav-tabs {
      border-radius: 3px;
      background: #e7e8ec;
      margin: 0;
  }
  .portlet {
    margin: 0;
  }
  .portlet-content {
    padding: 0;
  }

  .vidThumb {

    width: 100%;
    min-height: 230px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: all 200ms ease-out;
    cursor: pointer;
  }
  .playBtn {
    background: url("../images/video-play-128.png") no-repeat center;
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: .8;
    filter: alpha(opacity=80);
    transition: all 0.2s ease-out;

    &:hover {
      opacity: 1;
      filter: alpha(opacity=100);
    }
  }
  .youTubeVid {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 60.25%;
    padding-top: 5px;
    height: 0;
    margin-bottom: 12px;
  }
  .youTubeVid iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .attachments {
    li {
      list-style-type: none;
      display: inline-block;
      margin-right: 5px;

      a {
        display: inline-block;
        text-decoration: none;
        color: #000;
        position: relative;
        /* max-width: 30%; */
        overflow: hidden;
        max-width: 208px;
        min-height: 175px;
        max-height: 200px;
        width: 200px;
        text-align: center;
        align-items: center;

        img{
            margin:3px;
        }

        .caption {
          width: 100%;
          position: absolute;
          bottom: 0;
            left:0;
          background: rgba(0, 0, 0, 0.3);
          display: inline-block;
          color: #FFF;
          padding: 5px;

          .download {
            display: block;
          }
        }

        &:hover{
            background: rgba(0,0,0,0.02);
         .download {
             color: #3d96ff;
         }

         }
      }

    }
  }
    .nav-tabs.nav-justified>li>a{
        color: #777;
        display: block;
        min-height: 66px;
        padding: 5px;
        border-bottom: none;
    }
    .nav-tabs.nav-justified>li.active>a{
        color: #333;
    }
    .info-box {
        margin: 10px 0 5px;
    }

    .fb-connect {
        /*max-width: 50%;*/
        width: 100%;
        float: right;
        margin-bottom: 5px;
    }

    .text-info{
        font-size: 11px;
        color: #777;
    }
    .href-info{
        font-size: 11px;
        color: #777;
        cursor: pointer;
        padding-right:15px;

        &.danger{margin-left: 20px; color: #fd7a7a; &:hover{color:darkred}}
        &.right{float: right}
        &:hover{
             color: #365899;
             text-decoration: underline;
         }

    }
    .full-width{width: 100%}
    .fb-button{
        -moz-user-select: none;
        background: #2A49A5;
        border: 1px solid #082783;
        box-shadow: 0 1px #4C6BC7 inset;
        color: white;
        text-decoration: none;
        text-shadow: 0 -1px 0 #082783;

        &:hover{
            background: #2d4679;
            color: white;
        }
    }
}

.signed-out md-input-container.search-org{
    margin-top: 15px;
}


#column-2.col-md-9 .wall-portlet .vidThumb{
    min-height: 346px;
}
#column-2.col-md-6 .wall-portlet .vidThumb{
    min-height: 216px;
}

/*file upoad*/
.wall-portlet #add-item-form  md-switch,
.wall-portlet #add-item-form  md-input-container{
    margin:0;
}
.wall-portlet #add-item-form  md-input-container{
    border: 1px solid #dadada;
    border-right: none;
    border-left: none;
    margin-bottom: 8px;
    font-size: 14px;
    padding: 0px 10px;
}

.wall-portlet md-input-container label:not(.md-no-float):not(._md-container-ignore){
    padding-left: 10px;
}

li.upl-file{
    list-style-type: none;
    width: 150px;
    display: inline-block;
    margin-right: 10px;
    position: relative;
}

li.upl-file .upl-thumb{
    width: 100%;
    display: inline-block;
}

li.upl-file .remove{
    position: absolute;
    color: #F00;
    top: 0;
    right: 0;
    z-index: 300;
    cursor: pointer;
}

.thumb {
    width: 24px;
    height: 24px;
    float: none;
    position: relative;
    top: 7px;
}

form .progress {
    line-height: 15px;
}

.progress {
    display: inline-block;
    width: 100%;
    border: 3px groove #CCC;
}

.progress div {
    font-size: smaller;
    background: orange;
    width: 0;
}

/* approval page */
.approval-user{
    margin-bottom:10px;

    img{
        width:70px;
        margin-right: 10px;
    }
    .user-name{
        display:inline-block;
        vertical-align: middle;
        font-size: 16px;
    }
}

/* dialogs (modals) */
md-dialog md-list-item .md-avatar{
    font-size: 30px;
    color: #a5a5a5;
}
md-dialog{
    .full-width{width: 100%}
    .fb-small{
        font-size: 12px;
        color: #aaa;
        background: none;
    }

    .md-toolbar-tools .fa{
        margin-right: 20px;
        font-size: 40px;
    }

    .md-actions, md-dialog-actions{
        justify-content: flex-start;
        -webkit-justify-content: flex-start;
        align-items: flex-start;
        -webkit-align-items: flex-start;
        margin-left: 48px;

        .md-raised.fb-button{
            -moz-user-select: none;
            background: #2A49A5;
            border: 1px solid #082783;
            box-shadow: 0 1px #4C6BC7 inset;
            color: white;
            text-decoration: none;
            text-shadow: 0 -1px 0 #082783;
            padding: 1px 15px;
            font-size: 1.4em;
            margin-top: 0;

            &:hover{
                 background-color: rgb(53, 61, 107);
                 color: white;
             }


            &.fb-small.md-focused{
                 background: none;
             }
        }

        .md-button.fb-small{
            margin-top: 57px;

            &.md-focused{
                background: none;
            }
        }
    }
}


.md-button.md-primary.md-raised:not([disabled]):hover{
    background-color: rgb(53, 61, 107);
}

.dialogdemoBasicUsage #popupContainer {
    position: relative; }

.dialogdemoBasicUsage .footer {
    width: 100%;
    text-align: center;
    margin-left: 20px; }

.dialogdemoBasicUsage .footer, .dialogdemoBasicUsage .footer > code {
    font-size: 0.8em;
    margin-top: 50px; }

.dialogdemoBasicUsage button {
    width: 200px; }

.dialogdemoBasicUsage div#status {
    color: #c60008; }

.dialogdemoBasicUsage .dialog-demo-prerendered .md-checkbox {
    margin-bottom: 0; }


.loader{
    margin: 15px 0;
    height: 75px;
    line-height: 75px;
    white-space: nowrap;


    img{ width:75px; float:left; margin-right:10px}
    span{
        height: 75px;
        line-height: 75px;
        white-space: nowrap;

    }
}

.media .media{
    margin-top: 4px;
}

/* -----  additional style for org-group: OrgTabs and search first  ---*/
.org-group{
    .ng-scope md-card {
        margin-top: 0px;
        margin-left: 1px;
        margin-right: 0;
        top: -5px;
        position: relative;
        box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12);
    }

    md-card md-card-content{
        padding: 11px 16px 16px 16px;
    }

    #add-item-form md-input-container{
        margin-top: 0;
        padding: 0px 0px;
        border-top: 0;
    }
}

.posts md-fab-actions[aria-hidden="true"]{
    visibility: hidden;
}


md-dialog.edit-post-modal{
    min-width: 50%;

    md-input-container{
        padding: 2px 20px;
        margin: 10px 0;
        margin-bottom: 0;

        md-switch{
            margin-top: 0;
        }
    }
    md-dialog-actions{
        justify-content: flex-end;
         -webkit-justify-content: flex-end;
         align-items: flex-end;
         -webkit-align-items: flex-end;
        margin-left: inherit;
    }
}
md-dialog-content{
    .md-list-item-text{
        margin-yop:4px;
    }
    .message-success{
        margin: 0 23px;
    }
    md-input-container.pm-area{
            margin: 0 23px;
    }
}

   /*---- JOIN FB PAGES ---*/

.join-fb-pages{
    .fb-pagelist{
        margin: 7px 0px;
        .fb-pagelist-item{
            list-style-type: none;
            a:hover{
                text-decoration:underline;
            }
        }
    }

    button.md-raised{
    margin-left: 0;
    }
    .ok-message{
        display: inline-flex;
        vertical-align: middle;
        position: relative;
        top: -14px;
        padding-left: 6px;
    }

    md-input-container.md-block{
        margin-bottom: -24px;
    }

    button.md-fab.md-raised.md-mini.md-warn.md-button.md-ink-ripple{
        font-size: 12px;
        min-height: 24px;
        width: 24px;
        margin: 0;
        height: 19px;
        line-height: 0px;
        padding: 0;
        min-width: 24px;
    }
}

.animate-show-hide.ng-hide {
    opacity: 0;
}

.animate-show-hide.ng-hide-add,
.animate-show-hide.ng-hide-remove {
    transition: all linear 0.5s;
}