
/****************************************
 **************** MOBILE ****************
 ****************************************/


@font-face {
    font-family: "Roboto-Light";
    src: url("../fonts/Roboto/Roboto-Light.ttf");
}
@font-face {
    font-family: "Roboto-Regular";
    src: url("../fonts/Roboto/Roboto-Regular.ttf");
}
@font-face {
    font-family: "Roboto-Medium";
    src: url("../fonts/Roboto/Roboto-Medium.ttf");
}
@font-face {
    font-family: "Roboto-Bold";
    src: url("../fonts/Roboto/Roboto-Bold.ttf");
}
@font-face {
    font-family: "Roboto-Light";
    src: url("../fonts/Roboto/Roboto-Light.ttf");
}


/***** GENERAL RULES *****/
body.page-body {
	background-color: #f6f9ff;
    margin: 0;
    padding: 0;
}

.page-container {
	max-width: 600px;
    margin: auto;
    background-color: #FFF;
	position: relative;
	min-height: 100vh;
	padding-top: 56px;
}
.page-bloc {
	margin-left: 4%;
	margin-right: 4%;
}
.page-bloc-pad {
	padding-left: 4%;
	padding-right: 4%;
}
.page-bloc-sm {
	margin-left: 8%;
	margin-right: 8%;
}
.bloc-bg {
	background-color: #FFF;
	padding: 10px 14px;
	border-radius: 10px;
}

body a {
	color: #6358EC;
    text-decoration: underline;
    font-weight: bolder;
}
body a:hover {
	color: #4c42c0;
}
.text-title {
	color: #6358EC
}
.text-title2 {
	color: #c0baff;
	font-size: 30px;
	text-decoration: underline;
}
.text-caption {
	color: #73767e;
	font-weight: 300;
}
.text-purple { color: #6358EC }
.text-medium-purple { color: #9582f8 }
.text-light-purple { color: #c0baff }
.text-grey { color: #9ba8b0 }
.text-justify { text-align: justify; }
.btn.btn-pct {
	color: #FFF;
	background-color: #6358EC;
	border-color: #6358EC;
    font-family: Roboto-Medium;
}
.btn.btn-outline-pct {
	color: #6358EC;
	background-color: #FFF;
	border-color: #6358EC;
    font-family: Roboto-Medium;
}

.btn-icon {
	color: #6358EC;
	background-color: #FFF;
	border-color: #6358EC;
    font-family: Roboto-Medium;
    cursor: pointer;
}
.btn-icon > i.material-icons {
	font-size: 30px;
	color: #6358EC;
    position: relative;
    top: -4px;
}
.btn-icon:hover > i.material-icons {
	color: #988fff;
}

.form-field-pct {
	border: solid 2px #6358EC;
    border-radius: 3px;
    height: 32px;
    padding-left: 5px;
	color: #424648;
	background-color: #fff;
}
.form-field-pct.field-grey {
	border-color: #bdc5cc;
	color: #424648;
}


/******** HEADER ********/

header {
	display: flex;
	justify-content: space-between;
	padding-top:  14px;
	padding-bottom: 10px;

	position: fixed;
	top: 0;
	left: 0;
	background-color: #FFF;
	z-index: 2000;
	width: 100%;
}

header h1 {
	color: #6358EC;
    font-weight: 300;
    font-size: 32px;
    text-align: center;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
    font-family: Roboto-Light;
}

header .header-space-holder {
	display: block;
	height: 22px;
	width: 25px;
}



/* menu burger */
#mbg-btn {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 25px;
	width: 30px;
	position: relative;
	margin: 3px 0 3px 0;
	cursor: pointer;
	z-index: 2500;
}
#mbg-btn span {
	display: inline-block;
	width: 100%;
	height: 3px;
	background-color: #6358EC;
	transition: all 0.36s ease;
}
#mbg-btn.mbg-btn-open span:nth-of-type(1) { -webkit-transform: rotate(45deg); transform: rotate(45deg); -webkit-transform-origin: left; transform-origin: left;}
#mbg-btn.mbg-btn-open span:nth-of-type(2) { opacity: 0;}
#mbg-btn.mbg-btn-open span:nth-of-type(3) { -webkit-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transform-origin: left; transform-origin: left;}

#mbg-btn.mbg-btn-open span {
	background-color: #c0baff;
}

#mbg-pannel {
	display: none;
    width: 92%;
    height: 100vh;
    background-color: #141e2a;
    box-shadow: 0 0 200px 100px #0006;
    position: absolute;
    left: 0;
    top: 0;
    max-width: 500px;
    z-index: 2000;
    padding: 12px 44px;
}
#mbg-pannel a.list-group-item {
	background: none;
	color: #FFF;
	font-size: 26px;
}
#mbg-pannel a.list-group-item:hover {
	color: #c0baff;
}
#mbg-pannel a.list-group-item.pg-link-active {
	color: #c0baff;
}

.pct-toast {
	z-index: 5000;
}


/*** TOP PAGE LINK ***/

.top-page-btn {
	text-align: center;
	padding-bottom: 26px;
}
i.material-icons.top-page-icon {
	color: #6358EC;
	cursor: pointer;
	font-size: 32px;
}



/************* FORM *************/

.block-take-pic {
	width: 100%;
	height: 40vh;
    margin-top: 4vh;
    margin-bottom: 4.5vh;
	position: relative;
	background-color: #ecf1f8;
	transition-duration: .2s;
	cursor: pointer;
}
.block-take-pic .no-img-caption {
	position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    cursor: pointer;
}
#take-pic-input {
	display: block;
	width: 100%;
	height: 40vh;
	opacity: 0;
	cursor: pointer;
}
#take-pic-img {
	width:  100%;
	height: 40vh;
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('../img/take_a_pic.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 34%;
	z-index: 2;
	pointer-events: none;
	cursor: pointer;
}

.block-take-pic:hover, .block-take-pic:focus {
	background-color: #e0ddff;
}

.story-tags-ctnr {
	border: dashed 2px #bdc5cc;
	padding: 2px 6px;
	border-radius:  4px;
}
.horizontal-form-bloc {
	display: flex;
	justify-content: space-between;
}

form hr.hr-page-sep {
	height: 2px;
	margin:  28px 0;
}

.story-tags-title {
	text-transform: capitalize;
	font-weight: 600;
}
.story-tags-bloc {
	margin-bottom: 5px;
}
.story-tags-bloc .badge {
	background-color: #6358EC;
}
.badge i.material-icons{
	font-size: 16px;
    line-height: 5px;
    position: relative;
    bottom: -4px;
}
.material-icons.icon-rem-tag {
    right: -4px;
	cursor: pointer;
}
.material-icons.icon-rem-tag:hover {
	color: #DDD;
}



/* POPUP ADD ELEMS */

#popup-choose-tag-ctnr{
	display: none;
	height: 100vh;
	width: 100vw;
	margin: 0;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #3338;
	z-index: 5000;
}

#popup-choose-tag {
	width: 86vw;
	max-width: 500px;
    margin-top: 50vh;
    margin-left: 50vw;
    transform: translate(-50%, -50%);
	padding: 15px 10px;
	background-color: #FFF;
	box-shadow: 0 0 100px 40px #0006;
    border-radius: 12px;
    border: dashed 2px #99a8b2;
    position: relative;
}

.btn-icon.close-popup {
	float: right;
}
.btn-icon.close-popup > i.material-icons {
}

.add-option-field-bloc label {
	margin-bottom: 2px;
}

.add-option-field-bloc .btn-icon {
	display: inline-block;
    height: 32px;
    width: 32px;
    vertical-align: middle;
    padding-top: 5px;
    float: right;
}





/** STORIES LIST **/


.story-card .card-title span {
	font-weight: 300;
    color: #a5b0b4;
    text-transform: lowercase;
    font-size: 0.84em;
    margin-left: 4px;
}
.story-card .card-text {
	margin-bottom: 14px;
}

.story-author {
	font-weight: 300;
    font-size: 14px;
    text-align: right;
    margin-bottom: 1px;
}


.story-card a.story-link-read-more {
	font-size: 14px;
	float: right;
	font-weight: 400;
	margin-right: 2px;
}
.story-card a.story-link-read-more i.material-icons {
	font-size: 20px;
    line-height: 12px;
    position: relative;
    top: 6px;
    left: 2px;
}




/** STORY PAGE **/

.story-page-bloc .story-pg-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
	margin-bottom: 35px;
    position: sticky;
    top: 50px;
    background-color: #FFF;
    padding: 9px 3% 0 3%;
    box-shadow: 0px 8px 24px 20px #fff;
}
.story-page-bloc .story-pg-title h1 {
	width: 76%;
	font-size: 28px;
}
.story-page-bloc .story-pg-image {
	height: 22vw;
    width: 22vw;
    max-height: 120px;
    max-width: 120px;
    background-position: center;
    background-size: cover;
    box-shadow: 0px 0px 0px 5px #ebebf1;;
    border-radius: 500px;
}


.story-page-bloc p.story-content {
	text-align: justify;
    color: #1d1c1e;
    text-indent: 12%;
    padding: 0 4%;
    font-size: 15.5px;
    font-weight: 300;
}

.story-page-bloc p.story-context-sentence {
    padding: 0px 4%;
    font-style: italic;
    font-weight: 300;
    text-indent: 30px;
    font-size: .96em;
    text-align: justify;
}

.story-page-bloc .story-pg-image-bottom {
	width: 70%;
    margin: 30px 15.5%;
    border: solid 10px #30364410;
    box-sizing: border-box;
}
.story-page-bloc .story-pg-caption {
	margin: 0 15%;
}
.story-page-bloc .story-pg-caption span {
	font-weight: 300;
    font-size: 15px;
    font-style: italic;
}






