/* *********************************************************************************************************************
	One% CSS Grid - 12 Columns Fluid CSS Grid System

	Why One% ? Let’s count ...
		we have 12 columns (magic number divided by 2, 3, 4, 6)

		for 12 columns we need 11 margins

		so if we count margin 3%, then 3% * 11 margins = 33%

		and if we count width of 1 column 5.5%, than 5.5% * 12 columns = 66%

		in the end we have 33% + 66% = 99% aaand ???

		1% is still here so that's the name - One%

	2 starting options ? Let’s count a bit more ...
		1200px - perfectly fits 1280 screens
			12 columns
			margin 3% / 36px (full-width)
			col1 5.5% / 66px (full-width)

		1000px - perfectly fits 1024 screens
			12 columns
			margin 3% / 30px (full-width)
			col1 5.5% / 55px (full-width)
*/





/* *********************************************************************************************************************
 * Main container for all
 */
.onepcssgrid-1000, .onepcssgrid-1200 {
    margin: 0 auto;
    padding: 0 0 0 1%; /* THAT'S THE NAME ;) */
}

.onepcssgrid-1200 {
    max-width: 1220px;
}

.onepcssgrid-1000 {
    max-width: 1020px;
}

.onerow {
    clear: both;
    padding: 0 10px;
}

    .onerow img {
        max-width: 90%;
    }



/* *********************************************************************************************************************
 * Common columns definitions
 */
.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12 {
    float: left;
    margin: 0 3% 0 0;
}


    .col1.last, .col2.last, .col3.last, .col4.last, .col5.last, .col6.last, .col7.last, .col8.last, .col9.last, .col10.last, .col11.last, .col12 {
        margin: 0;
    }

.col1 {
    width: 5.5%;
}

.col2 {
    width: 14%;
}

.col3 {
    width: 22.5%;
}

.col4 {
    width: 31%;
}

.col5 {
    width: 39.5%;
}

.col6 {
    width: 48%;
}

.col7 {
    width: 56.5%;
}

.col8 {
    width: 65%;
}

.col9 {
    width: 73.5%;
}

.col10 {
    width: 82%;
}

.col11 {
    width: 90.5%;
}

.col12 {
    width: 99%;
    margin: 0;
}



/*.col1 img, .col2 img, .col3 img, .col4 img, .col5 img, .col6 img, .col7 img, .col8 img, .col9 img, .col10 img, .col11 img, .col12 img {
	width: 100%;
	height: auto;
	display: block;
}*/





/* *********************************************************************************************************************
 * Disable padding left/right 10px if I'm 1024 or gibber - correct percentage math
 */
@media all and (min-width: 1024px) {
    .onepcssgrid-1000 {
        max-width: 1020px;
    }

        .onepcssgrid-1000 .onerow {
            padding: 0;
        }

    .servicebox2 .text img {
        display: block;
    }
}

@media all and (max-width: 1024px) {
    .footresp {
        float: none;
        width: 100%;
    }

    footer li {
        font-size: 14px;
    }

    nav li a {
        padding: 8px 20px !important;
    }

    .loginbox input.login {
        margin-left: -45px !important;
    }

    .servicebox2 .text img {
        display: none;
    }
}


/* *********************************************************************************************************************
 * Small devices
 */
@media all and (max-width: 768px) {
    .onerow {
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

        .onerow li {
            text-align: left;
        }

    :not(.ignorerespond).col1, :not(.ignorerespond).col2, :not(.ignorerespond).col3, :not(.ignorerespond).col4, :not(.ignorerespond).col5,
    :not(.ignorerespond).col6, :not(.ignorerespond).col7, :not(.ignorerespond).col8, :not(.ignorerespond).col9, :not(.ignorerespond).col10, :not(.ignorerespond).col11 {
        float: none;
        width: 99%;
    }

    .ignorerespond50.col3 {
        float: left;
        width: 48%;
        margin-right: 0;
        margin-bottom: 3%;
    }

    nav {
        padding: 0 0 23px 0 !important;
    }

    nav, header .logo {
        float: none;
        width: 100%;
    }

        nav > ul {
            margin-bottom: 23px !important;
        }

        nav li {
            float: none;
            width: 100% !important;
            border-top-right-radius: 3px;
            border-bottom-right-radius: 3px;
            border-right: 1px solid #d2d2d2;
        }

        nav ul ul li a {
            width: auto !important;
        }

        nav ul li ul {
            position: relative !important;
            top: 0;
        }

        nav ul ul {
            display: block !important;
            position: relative !important;
        }

    footer li {
        text-align: center !important;
        font-size: 14px;
    }

    .footresp2 .footersep {
        height: 2px;
        min-height: 2px;
        width: 100%;
    }

    .story {
        width: 310px;
        margin: 10px auto 20px auto;
        border-bottom: 1px solid #cfcfcf;
        border-right: none !important;
    }

    .btn_green, .btn_blue {
        float: none !important;
        display: inline-block;
    }

        .btn_blue.mobile {
            display: inline-block !important;
        }

        .btn_blue.btnlogin {
            display: none;
        }

    .loginbox {
        display: none !important;
    }

    .greybg5 h2 {
        text-align: left !important;
    }

    .servicebox2 .text img {
        display: block;
    }
}


/* *********************************************************************************************************************
 * Additional Media Queries
 */
@media all and (max-width: 950px) {
    .btn_green, .btn_blue {
        padding: 11px 9px !important;
    }
}

@media all and (max-width: 600px) {
    .servicebox2 .text img {
        display: none;
    }

    h2.contact {
        font-size: 14px !important;
    }

    .btn_green img, .btn_blue img {
        margin-right: 10px !important;
    }
}
