
/*AGBUTTON*/
[ag-button],[ag-icon-button],[ag-round-button]{
    border:none;
    outline:none;
    background-color: transparent;
    border-radius: 2px;
    color: #333;
    cursor:pointer;    
    transition: color 0.1s ease, background-color 0.1s ease;
    text-decoration: none;
    display: inline-flex;
    align-items:center;
    position:relative;
	font-size:1rem;
}
[ag-button]:hover, [ag-button]:focus,[ag-icon-button]:hover,[ag-icon-button]:focus,[ag-round-button]:hover,[ag-round-button]:focus{
    background-color: #dadada;
}
[ag-button]:active,[ag-icon-button]:active, [ag-menu-item]:active, [ag-round-button]:active{
    background-color: #cecece;
    color:#fff;
    fill: #fff;
}
[ag-button]{
    padding: 7px 20px;
}
[ag-icon-button]{
border-radius: 50%;
    width: 41px;
    height: 41px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.1em;
}
[ag-round-button]{
    padding: 10px 20px;
    border-radius: 30px;
}

/*PRIMARY COLOR SETTIGN FOR BUTTONS*/
[ag-button][ag-primary], [ag-icon-button][ag-primary],[ag-round-button][ag-primary], [ag-primary] {
    color:rgb(0, 94, 149);
    fill:rgb(0, 94, 149);
}

[ag-button][ag-primary]:hover, [ag-button][ag-primary]:focus,[ag-icon-button][ag-primary]:hover, [ag-icon-button][ag-primary]:focus,[ag-round-button][ag-primary]:hover,[ag-round-button][ag-primary]:focus{
    background-color: rgba(0, 94, 149,0.20);
}
[ag-button][ag-primary]:active,[ag-icon-button][ag-primary]:active, [ag-menu-item][ag-primary]:active, [ag-round-button][ag-primary]:active,[ag-button][ag-primary].active,[ag-icon-button][ag-primary].active, [ag-menu-item][ag-primary].active, [ag-round-button][ag-primary].active{
    background-color: rgb(0, 94, 149);
    color:#fff;
    fill: #fff;
}

/*ACCENT COLOR SETTIGN FOR BUTTONS*/
[ag-button][ag-accent], [ag-icon-button][ag-accent],[ag-round-button][ag-accent], [ag-accent] {
    color:#ea0f72;
    fill:#ea0f72;
}

[ag-button][ag-accent]:hover, [ag-button][ag-accent]:focus,[ag-icon-button][ag-accent]:hover, [ag-icon-button][ag-accent]:focus,[ag-round-button][ag-accent]:hover,[ag-round-button][ag-accent]:focus{
    background-color: rgba(234, 13, 113, 0.20);
}
[ag-button][ag-accent]:active,[ag-icon-button][ag-accent]:active, [ag-menu-item][ag-accent]:active, [ag-round-button][ag-accent]:active,[ag-button][ag-accent].active,[ag-icon-button][ag-accent].active, [ag-menu-item][ag-accent].active, [ag-round-button][ag-accent].active{
    background-color: #ea0f72;
    color:#fff;
    fill: #fff;
}

/*SUCCESS COLOR SETTIGN FOR BUTTONS*/
[ag-button][ag-success], [ag-icon-button][ag-success],[ag-round-button][ag-success] {
    color:#0bb568;
    fill:#0bb568;
}

[ag-button][ag-success]:hover, [ag-button][ag-success]:focus,[ag-icon-button][ag-success]:hover, [ag-icon-button][ag-success]:focus,[ag-round-button][ag-success]:hover,[ag-round-button][ag-success]:focus{
    background-color: rgba(11, 181, 104, 0.20);
}
[ag-button][ag-success]:active,[ag-icon-button][ag-success]:active, [ag-menu-item][ag-success]:active, [ag-round-button][ag-success]:active,[ag-button][ag-success].active,[ag-icon-button][ag-success].active, [ag-menu-item][ag-success].active, [ag-round-button][ag-success].active{
    background-color: #0bb568;
    color:#fff;
    fill: #fff;
}

/*warning COLOR SETTIGN FOR BUTTONS*/
[ag-button][ag-warning], [ag-icon-button][ag-warning],[ag-round-button][ag-warning] {
    color:#e60e0e;
    fill:#e60e0e;
}

[ag-button][ag-warning]:hover, [ag-button][ag-warning]:focus,[ag-icon-button][ag-warning]:hover, [ag-icon-button][ag-warning]:focus,[ag-round-button][ag-warning]:hover,[ag-round-button][ag-warning]:focus{
    background-color: rgba(230, 14, 14, 0.20)
}
[ag-button][ag-warning]:active,[ag-icon-button][ag-warning]:active, [ag-menu-item][ag-warning]:active, [ag-round-button][ag-warning]:active,[ag-button][ag-warning].active,[ag-icon-button][ag-warning].active, [ag-menu-item][ag-warning].active, [ag-round-button][ag-warning].active{
    background-color: #e60e0e;
    color:#fff;
    fill: #fff;
}

/*ELEVATION STYLE*/
[ag-elevate]{
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    background-color: #fff;
}
[ag-elevate]:hover,[ag-elevate]:focus{
    background-color: #efefef;
}
[ag-elevate]:active {
    box-shadow: 0px 0px 0px 0px;
    background-color: #cecece;
    color: #333;
}
[ag-elevate][ag-primary],[ag-elevate][ag-primary]:hover, [ag-elevate][ag-primary]:focus{
    background-color:rgb(0, 94, 149);
    color: #fff;
}

[ag-elevate][ag-primary]:active{
    background-color:rgba(0, 94, 149, 0.20);
    color: rgb(0, 94, 149);
}
[ag-elevate][ag-accent],[ag-elevate][ag-accent]:hover, [ag-elevate][ag-accent]:focus{
    background-color: #ea0f72;
    color: #fff;
}

[ag-elevate][ag-accent]:active{
    background-color: rgba(234, 13, 113, 0.20);
    color: #ea0f72;
}
[ag-elevate][ag-success],[ag-elevate][ag-success]:hover, [ag-elevate][ag-success]:focus{
    background-color: #0bb568;
    color: #fff;
}

[ag-elevate][ag-success]:active{
    background-color: rgba(11, 181, 104, 0.20);
    color: #0bb568;
}
[ag-elevate][ag-warning],[ag-elevate][ag-warning]:hover, [ag-elevate][ag-warning]:focus{
    background-color: #e60e0e;
    color: #fff;
}

[ag-elevate][ag-warning]:active{
    background-color: rgba(230, 14, 14, 0.20);
    color: #e60e0e;
}


/*ICON TOGGLE ANIMATION*/
[fa-icon-toggle] i{
    transition: transform 100ms cubic-bezier(.4,0,.2,1), opacity 100ms cubic-bezier(.4,0,.2,1);
    transform:scale(1) rotate(0deg);
    opacity: 1;
}
.fa-toggled i{
    transform:scale(0) rotate(180deg);
    opacity: 0;
}


/*AGFORMFIELD*/

[ag-form-field]{
    position: relative;
    margin-top: 16px;
    display: flex;
    z-index: 1;
}

[ag-form-field] input, [ag-form-field] select, [ag-form-field] textarea{
    box-sizing: border-box;
    font: 400 16px "Roboto", sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    border: none;
    outline: none;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 5px 0px;
    box-shadow: none;
    z-index: 1000;
    background-color: transparent;
    padding: 0px;
    line-height: 24px;
}

[ag-form-field] input, [ag-form-field] textarea{
    cursor: text;
}
[ag-form-field] select{
    cursor: pointer;
}
[ag-input-fx-wrap]{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    font: 400 16px "Roboto", sans-serif;
    z-index: -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dadada;
    box-sizing: border-box;
}

[ag-input-fx-wrap] [ag-label]{
    transition: transform 300ms cubic-bezier(.4,0,.2,1), font-size 300ms cubic-bezier(.4,0,.2,1);
    transform: translateY(0px);
    font-size: 16px;
    padding: 0px;
}

[ag-input-fx-wrap] [ag-underline]{
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    border-bottom: 2px solid rgb(0, 94, 149);
    transition: transform 300ms cubic-bezier(.4,0,.2,1);
    transform: scaleX(0);
    transform-origin: center;
}

[ag-form-field].focused [ag-input-fx-wrap] [ag-label], [ag-form-field].filled [ag-input-fx-wrap] [ag-label], [ag-form-field] input[type="date"] ~ [ag-input-fx-wrap] [ag-label], [ag-form-field] input[placeholder] ~ [ag-input-fx-wrap] [ag-label]{
    transform: translateY(-20px);
    font-size: 12px;
}

[ag-form-field].focused [ag-input-fx-wrap] [ag-underline]{
    transform: scaleX(1);
}

[ag-form-field] label{
    height: 34px;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    cursor: pointer;
    outline: none;
}

[ag-form-field] textarea ~ [ag-input-fx-wrap]{
    align-items: flex-start;
    padding-top: 10px;
}

/*TABS*/
/*Dependant on button CSS*/
.ag-tab-group{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.ag-tab-view.hidden {
    transform: scale(0);
}

.ag-tab-container {
    display:  flex;
    justify-content:  flex-start;
    align-items:  flex-start;
}

.ag-tab-view {
    width:  100%;
    min-width:  100%;
}


/*MODAL*/

[ag-modal-wrapper] {
    position:  relative;
    display:  inline-flex;
    flex-direction:  column;
    align-items:  flex-start;
    justify-content:  flex-start;
}

[ag-modal-background] {
    position:  fixed;
    top: 0;
    left:  0;
    right:  0;
    bottom: 0;
    z-index: 20000;
    background-color:  rgba(0,0,0,0.2);
    transition:  opacity 200ms cubic-bezier(.4,0,.2,1), transform 0ms ease 200ms;
    transform: scale(0);
    opacity: 0;
}

[ag-modal-wrapper].active [ag-modal-background]{
    transform: scale(1);
    opacity: 1;
    transition: opacity 200ms ease;
}

[ag-modal-container]{
    position:  fixed;
    top: 50%;
    left: 50%;
    min-width: 300px;
    z-index:  20000;
    opacity: 0;
    transform: scale(0) translate(-50%,-50%);
    transition: opacity 200ms ease, transform 0ms ease 200ms;
    perspective: 500px;
    backface-visibility: hidden;
}

[ag-modal-content] {
    display:  flex;
    flex-direction:  column;
    justify-content:  flex-start;
    align-items:  flex-start;
    padding:  10px 20px;
    box-sizing:  border-box;
    background-color:  #fff;
    box-shadow:  0px 2px 10px -5px;
    transition: transform 200ms ease;
    transform: translateY(50px) rotateX(-10deg) scale(0.9);

}

[ag-modal-wrapper].active [ag-modal-container]{
    opacity: 1;
    transform: scale(1) translate(-50%,-50%);
    transition: opacity 200ms ease, transform 0ms ease;
}

[ag-modal-wrapper].active [ag-modal-content] {
    transform: translateY(0px) rotateX(0deg) scale(1);
}


/*MESSENGER BOX*/
[ag-message-frame] {
    position:  fixed;
    bottom: 0;
    left:  50%;
    display:  flex;
    justify-content:  center;
    align-items:  center;
    transform: translate(-50%,100%);
    transition:transform 200ms ease;    
    z-index: 10000;
}

[ag-message-frame].active{
    transform: translate(-50%,0%);
}

[ag-message-container] {
    background-color: #333;
    color: #fff;
    padding: 5px 10px 5px 25px;
    font-family: "Roboto",sans-serif;
    border-radius: 4px;
    margin-bottom: 10px;
    position: relative;
    box-shadow:0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
white-space:nowrap;
}

[ag-message-container] [ag-button] {
    margin-left: 10px;
}

[ag-message-container] [durationprogressbar] {
    content:  '';
    position:  absolute;
    bottom: 0;
    left:  0;
    right:  0;
    border-bottom: 2px solid #0D87EA;
    border-radius:  2px;
    transform: scaleX(1);
    transform-origin: left;
}

@keyframes animationduration {
    0% {
        transform:scalex(1);
    }

    100%{
        transform:scalex(0);
    }
}

  /*MENU*/
  [ag-menu-wrapper] {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    align-items: flex-start;
}

[ag-menu-list] {
    flex-direction: column;
    display: flex;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
    padding: 10px 0px;
    transform: scaleY(0);
    opacity: 0;
    min-width: 140px;
    transform-origin: top left;
    transition: transform 0ms cubic-bezier(.4,0,.2,1),opacity 200ms cubic-bezier(.4,0,.2,1);    
    position: absolute;
    z-index: 10000;
    background-color: #fff;
    top: 0;
    left: 0;
}

[ag-menu-list][align="left-top"]{
    left:0;
    right: auto;
    top:40px;
    bottom:auto;
    transform-origin: left top;
}

[ag-menu-list][align="right-top"]{
    left:auto;
    right: 0;
    top:40px;
    bottom:auto;
    transform-origin: right top;
}

[ag-menu-list][align="right-bottom"]{
    left:auto;
    top:auto;
    right: 0;
    bottom:40px;
    transform-origin: right bottom;
}

[ag-menu-list][align="left-bottom"]{
    left:0px;
    right: auto;
    top:auto;
    bottom:40px;
    transform-origin: left bottom;
}

[ag-menu-bg]{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: scale(0);
    z-index: 10;
}

.expanded [ag-menu-bg]{
    transform: scale(1);
}

.expanded [ag-menu-list]{
    transform: scaleY(1);
    opacity: 1;
    transition: transform 300ms cubic-bezier(.4,0,.2,1),opacity .200ms cubic-bezier(.4,0,.2,1);

}

[ag-menu-item], [ag-menu-list] > * {
    padding: 1em;
    opacity: 0;
    border-radius: 0px;
    font-size: 1em;
    white-space: nowrap;
    transition:opacity 300ms cubic-bezier(.4,0,.2,1) 200ms;
}

.expanded [ag-menu-item], .expanded [ag-menu-list] > *{
    opacity: 1;
}

        [ag-datepicker] {
            display: inline-flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            font:400 14px sans-serif;
        }
        [date][selected="true"]{
            background-color: #0D87EA;
            color:#fff;
        }
        .ag-week-row {
            display:  flex;
        }

        .ag-week-row:first-child{
            justify-content:flex-end;
        }

        .ag-week-row:last-child{
            justify-content:flex-start;
        }
        [ag-datepicker-header] {
            padding-bottom: 1em;
            display: flex;
        }

        [ag-datepicker-header] > * {
            flex:1;
        }
        [ag-datepicker-day-slot]{
            display:flex;
            flex-direction: row;
        }
        [ag-datepicker-day-slot] .ag-date-slot {
            width: 36px;
            height: 36px;
            display:  flex;
            justify-content:  center;
            align-items:  center;
        }
        [ag-datepicker ][ag-menu-list] > div {
            padding: 0em 1em;
        }

	
	[ag-form-field-new] {
		position: relative;
		margin-top: 16px;
		width: 100%;
		max-width: 427px;
		z-index: 1;
	}

	[ag-form-field-new] input {
		position: static;
		width: 100%;
		height: 45px;
		left: 0px;
		top: 28px;
		max-width: 427px;
		background: #FFFFFF;
		/* Gray 85 */

		border: 1px solid #D9D9D9;
		box-sizing: border-box;
		box-shadow: 0px 2px 14px -4px rgba(0, 0, 0, 0.2);
		border-radius: 8px;

		/* Inside Auto Layout */

		flex: none;
		order: 1;
		flex-grow: 0;
		margin: 8px 0px;
		padding-left: 33px;
		font-family: 'Open Sans Condensed';
		font-weight: bold;
		font-size: 14px;
	}
	
	[ag-form-field-new] label {
		    position: static;
		    width: 100%;
		    height: 20px;
		    left: 0px;
		    top: 0px;
		    font-family: 'Open Sans Condensed';
		    font-style: normal;
		    font-weight: bold;
		    font-size: 14px;
		    line-height: 20px;
		    color: #000000;
		    flex: none;
		    order: 0;
		    flex-grow: 0;
			display: block;
	}

	[ag-form-field-new-dateframe] {

		display: flex;
		flex-direction: row;
		align-items: flex-start;
		padding: 0px;

		position: static;
		width: 100%;
		height: 73px;
		left: 0px;
		top: 105px;
		max-width: 427px;
		flex: none;
		order: 1;
		flex-grow: 0;
		margin-top: 32px;
		margin-bottom: 22px;
	}

	[ag-form-field-new-startdate] {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		padding: 0px;
		max-width: 191px;
		position: static;
		width: 100%;
		height: 73px;
		left: 0px;
		top: 0px;
		min-width: 80px;

		/* Inside Auto Layout */

		
		order: 0;
		flex-grow: 0;
		
	}

	[ag-form-field-new-enddate] {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		padding: 0px;
		
		position: static;
		width: 100%;
		height: 73px;
		max-width: 191px;
		min-width: 80px;
		/* Inside Auto Layout */

		order: 1;
		flex-grow: 0;
		margin-left: 45px;
	}

	.dot-sidenav-tier [ag-form-field-new-enddate] {
		margin-left: 15px;
	}

	[ag-form-field-new-dateframe] input {
		position: static;
		width: 100%;
		height: 45px;
		left: 0px;
		top: 28px;
		max-width: 191px;
		background: #FFFFFF;
		/* Gray 85 */
		-webkit-appearance: textfield;
		min-height: 1.2em;
		border: 1px solid #D9D9D9;
		box-sizing: border-box;
		box-shadow: 0px 2px 14px -4px rgba(0, 0, 0, 0.2);
		border-radius: 8px;
		font-family: 'Open Sans Condensed';
		font-size: 14px;
		/* Inside Auto Layout */
		
		flex: none;
		order: 1;
		flex-grow: 0;
		margin: 8px 0px;
		padding-left: 11px;
	}

	[ag-form-field-new-dateframe] label {
		position: static;
		width: 58px;
		height: 20px;
		left: 0px;
		top: 0px;

		font-family: 'Open Sans Condensed';
		font-style: normal;
		font-weight: bold;
		font-size: 14px;
		line-height: 20px;
		/* identical to box height, or 143% */


		color: #000000;


		/* Inside Auto Layout */

		flex: none;
		order: 0;
		flex-grow: 0;
		
	}

.mob-sok {  
	width: 41px;
	height: 41px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}	