/**
 * icons.css
 *
 * Take5 &samhoud &ranj
 *
 * Index
 * - Core
 * - Content
 * - Form sidebar
 * - Responsive
 */

/*-------------------------------------------*\
    Core
\*-------------------------------------------*/

/* Fonts */
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue/HelveticaNeue.ttf') format('truetype'),
    url('../fonts/HelveticaNeue/HelveticaNeue.otf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: 'Helvetica Neue Bold';
    src: url('../fonts/HelveticaNeue/HelveticaNeue-Bold.ttf') format('truetype'),
    url('../fonts/HelveticaNeue/HelveticaNeue-Bold.otf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: 'Helvetica Neue Medium';
    src: url('../fonts/HelveticaNeue/HelveticaNeue-Medium.ttf') format('truetype'),
    url('../fonts/HelveticaNeue/HelveticaNeue-Medium.otf') format('opentype');
    font-weight: bold;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Helvetica Neue Medium';
}

*, *:before, *:after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    overflow: hidden;
}


body {
    background: #fff;
    margin: 0;
    padding: 0;
}
h1, h2, h3{
    text-align:center;
}
h1{
    font-family: 'Helvetica Neue Bold';
    color:#5D136E;
    font-size:2.5em;
    text-align:center;
    margin-bottom:2em;
}
h2{
    font-size:1em;
    color:white;
    font-weight:bold
}

@media only screen and (min-width: 45em) {  /* 720px */
    .col-1 {
        width: 4.33%;
    }

    .col-2 {
        width: 12.66%;
    }

    .col-3 {
        width: 21%;
    }

    .col-4 {
        width: 29.33%;
    }

    .col-5 {
        width: 37.66%;
    }

    .col-6 {
        width: 46%;
    }

    .col-7 {
        width: 54.33%;
    }

    .col-8 {
        width: 62.66%;
    }

    .col-9 {
        width: 71%;
    }

    .col-10 {
        width: 79.33%;
    }

    .col-11 {
        width: 87.66%;
    }

    .col-12 {
        width: 96%;
    }

    .hidden-sm {
        display: block;
    }
}

/*-------------------------------------------*\
    Content
\*-------------------------------------------*/
.row {
    position: relative;
    width: 100%;
}

.row [class^="col"] {
    float: left;
    margin: 0.5rem 2%;
    min-height: 0.125rem;
}

.container {
    height: 95%;
}
.content{
    background:url('../img/bg.jpg') no-repeat  left;
    background-size:100% 100%;
    width:75%;
    height:95%;
    float:left;
}
.logo{
    display: block;
    margin: auto;
    margin-top:4em;
    max-width:50%
}
.phone img{
    height:100%;
    position:absolute;
    left:0;
    z-index:1;
    bottom:0;
    height:90%
}
.sidebar{
    width:25%;
    height:95%;
    display:grid;
    float:left;
    padding:20px 20px 0px 20px;
}
.sidebar .col-12{
    background:#D8D8D8;
    padding:20px;
    border-radius:12px;
}
.sidebar div.alert{
    background:#D8D8D8;
    border-radius:1rem;
    height:100%;
    padding:0px;
}
.alert-success{
    clear: both;
    float: left;
    width: 100%;
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
    padding: 10px;
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-danger{
    clear: both;
    float: left;
    width: 100%;
    font-size: 12px;
    line-height: 16px;
    color: #ff0000;
    font-weight: bold;
    padding: 10px;
    background-color: #f2dede;
    border-color: #ebccd1;
}
p.error{
    font-size:12px;
    color:red;
    margin:3px;
}
.hide {
    display: none;
}

footer{
    background:white;
    padding-left:10%;
}
div.description{
    font-family: 'Helvetica Neue Medium';
    max-width:320px;
    width:100%;
    background:#FFC400;
    padding:25px;
    border-radius:12px;
    color:white;
    line-height:28px;
    font-size:1em;
    margin:0px auto;
}


/*-------------------------------------------*\
    Form sidebar
\*-------------------------------------------*/


label{
    display:block;
    margin:1.5rem 0 0.5rem 0;
    color:white;
    font-size:0.8em;

}
input{
    width:100%;
    display:block;
    border:none;
    border-radius:8px;
    padding:20px;
}

input:focus{
    outline: none;
}
button.btn {
    font-family: 'Helvetica Neue Medium';
    background:#FFC400;
    border:none;
    font-size:1em;
    color:white;
    padding:20px;
    width:100%;
    display:block;
    margin-top:1rem;
    cursor: auto;
    border-radius: 12px;
}
button.btn:hover {
    background:#888;
}

button:focus {outline:0;}



/*-------------------------------------------*\
    Responsive
\*-------------------------------------------*/


@media screen and (max-width: 720px) {
    html {
        box-sizing: border-box;
        overflow: auto ;
    }
    .container { display: flex; flex-flow: column; width:100%; height:100%}
    .three { order: 2;}
    .two { order: 1; margin-bottom: 10%;}
    .one {
        order: 3;
        background:url('../img/bg-media__footer.jpg') no-repeat;
        margin-top: 10em;
        width:100%;
        background-size: 100% auto;
        background-position: left 44%;
    }

    .phone img{
        position:relative;
        max-width: 100%;
        height:auto;
        padding-top: 15%;
    }
    .content{
        background:url('../img/bg-media.jpg') no-repeat  left;
        background-size:100% 100%;
        width:75%;
        height:95%;
        float:left;
    }
    .content,.sidebar{
        width:100%;
    }
    .sidebar{
        height:100%;
        display:grid;
        float:left;
    }
    .sidebar .col-12{
        height:100%;
        padding:20px;
    }
    h1{
        font-size:2em;
    }
    .row [class^="col"] {
        float: inherit;
    }
    div.description{
        font-size:18px;

    }
    label{
        font-size:1rem;
    }
    footer{
        display:none;
    }
}
@media (min-width: 1650px) {
    .sidebar {
        width:20%;
    }
    .content{
        width:80%
    }
    div.description {
        font-family: 'Helvetica Neue Medium';
        max-width: 550px;
        width: 100%;
        background: #FFC400;
        padding: 25px;
        border-radius: 12px;
        color: white;
        line-height: 47px;
        font-size: 1.5em;
        margin: 0px auto;
        min-height: 246px;
    }
    h2, form label, fomr input{
        font-size:1.5em;
    }
    .phone img {
        height: 100%;
        position: absolute;
        left: 0;
        z-index: 1;
        bottom: 0;
        height: 70%;
    }
    .logo {

        width: 65%;
    }
    h1 {
        font-size: 3.5em;
    }
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1023px)  {
    html {
        box-sizing: border-box;
        overflow: auto ;
    }

    .phone img{
        position:absolute;
        max-width: 48%;
        height:auto;
        bottom:0;
    }
    .container {
        height: 100%;
        background: url(../img/bg.jpg) top;
    }
    .content{
        background:none;
        background-size:auto;
        width:75%;
        height: 62%;
        float:left;
    }
    .sidebar, .content{
        width:50%;
    }
    .sidebar{
        height: 100%;
    }
    .col-5{
        display:none;
    }
    .col-7{
        width:100%;
    }
    h1{
        font-size:2em;
    }
    .row [class^="col"] {
        float: inherit;
    }
    div.description{
        font-size:18px;

    }
    label{
        font-size:1rem;
    }
    footer{
        display:none;
    }


}


/* Portrait */
@media only screen
and (min-width: 1024px)
and (max-height: 1366px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1.5) {

    html {
        box-sizing: border-box;
        overflow: auto ;
    }

    .phone img{
        position:absolute;
        max-width: 58%;
        height:auto;
        bottom:0;
    }
    .container {
        height: 100%;
        background: url(../img/bg.jpg) top;
    }
    .content{
        background:none;
        background-size:auto;
        width:60%;
        height: 62%;
        float:left;
    }

    .sidebar{
        height: 60%;
        width:40%
    }
    .col-5{
        display:none;
    }
    .col-7{
        width:100%;
    }
    h1{
        font-size:2em;
    }
    .row [class^="col"] {
        float: inherit;
    }
    div.description{
        font-size:18px;

    }
    label{
        font-size:1rem;
    }
    footer{
        display:none;
    }

}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {

    .sidebar{
        width:30%;
        height:60%;
    }
    .content{
        width:70%;
    }
    .phone img{
        height:60%;
    }
    .col-5 {
        float:left;
        display:inline
    }
    .col-7{
        width:40%;
    }

}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
    .sidebar .col-12{
        height:70%;
    }
}
