@import "colors";

.m-camera-cover {
    padding: .5em;
    border-bottom-width: 1px;
    border-style: solid;
    @extend .m-border-color-gray-lighter;
    .m-camera-icon {
        position: absolute;
        right: .5em;
        margin-top: .25em;
    }
}

.m-camera-container {
	text-align:center; 
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;    
    top: 0;
    box-sizing: border-box;
    z-index: 101;
	
	.m-camera-img {
		width:46%;
		height:37%;
		margin-bottom:4%;
		float:left;
		margin-right:4%;
		overflow:hidden;

        img {
            width:100%;
            max-height: 100%;
            height: auto;
        }
	}
	
	.m-camera-message {
		margin-top:40%;
	}
    
    .m-img-container {
        width: 96%;
        height:70%;
        overflow:scroll;
        padding:4% 0 4% 4%;
    }
}

.m-camera-btns {	
	width: 100%;
	height: 50px;
    padding-top:10px;
    position: absolute;
    background: white;
    bottom:0px;
	
	.m-choose-image, .m-take-image {
		width:45%;
		float:left;
		text-align:center;
		color:#fff;
		@extend .m-bg-color-primary;
		padding:8px 0px;
	}

	.m-choose-image {
		border-right:1px solid #fff;
		margin-left:5%;
		border-radius:5px 0px 0px 5px;
	}

	.m-take-image {
		border-radius:0px 5px 5px 0px;
	}
}

